# ClipCloud AI Image Generator (`cliplabs/clipcloud-image-generator`) Actor

Turn a text prompt into images in 35 styles: photo, anime, watercolor, pixel art, Full HD and 4K. From $0.0025 per image. You pay only for finished images.

- **URL**: https://apify.com/cliplabs/clipcloud-image-generator.md
- **Developed by:** [ClipLabs](https://apify.com/cliplabs) (community)
- **Categories:** AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 1,000 hd images

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## ClipCloud AI Image Generator

Turn a text prompt into images in 35 styles: photo, portrait, anime, watercolor, pixel art, graffiti, pop art, Full HD and 4K. Write what you want to see, pick a style and get the images back as WebP files. From $0.0025 per image, and you pay only for images you get.

![12 of the 35 styles](https://api.apify.com/v2/key-value-stores/1l6rIqHQbHdTTdcg6/records/styles-showcase-v2.webp?signature=6tBnNPpPPq9d56eKV87z)

### What does ClipCloud AI Image Generator do?

It makes images from a text description. You choose the style, and the style sets the look, the size and the price. There are no model or sampler settings to learn.

ClipCloud is our own text-to-image service. It runs on ClipLabs servers.

- **35 styles** from 512x512 drafts to 3840x2048 4K, square, wide and tall.
- **1 to 10 images** of the same prompt in one run.
- **Pay per image.** You pay only for images you get. Images blocked by the content filter and images that fail are free.
- **Files are saved for you.** Images are copied to the run storage, so you can open them after the run.
- **Prompts in any language.** English gives the best results.

### How much does it cost?

You pay for each finished image, after it is saved. The price depends on the style:

| Level | Styles | Price per image |
|---|---|---|
| Draft | `lowquality`, `standard-512` | $0.0025 |
| Basic | `standard`, `smallHQ`, `illustration`, `graffiti`, `neon-noir`, `HQ-768-512-h`, `HQ-832-448-h`, `HQ-832-640-h`, `HQ-1024-640-h`, `HQ-512-768-v`, `HQ-640-1024-v` | $0.006 |
| HD | `HD-HQ`, `anime`, `aquarelle`, `pop-art`, `pop-art-512`, `neon-lines`, `photo-portrait`, `baroque`, `standard-2`, `HQ-1200-640-h`, `HQ-1280-720-h` | $0.010 |
| HD+ | `photorealistic-1`, `pixel-art`, `tilt-shift`, `oldphoto` | $0.014 |
| Full HD | `FullHD-HQ-h`, `FullHD-HQ-v`, `standard-2-FullHD`, `photo-horizontal` | $0.020 |
| 4K | `HQ-4K-h`, `HQ-1920-1024-h`, `HQ-1024-1920-v` | $0.032 |

For example, 100 images in the default HD-HQ style cost $1. Images blocked by the content filter and images that fail are free. The style list in the input form shows the size and the level of every style.

### How to generate images

1. Click **Try for free** or **Start** to open the input form.
2. Write a **Prompt**: the subject, the setting, the light and the composition.
3. Pick a **Style**. HD-HQ (1024x1024) is a good default.
4. Set the **Number of images** (1 to 10) and, if you like, a **Negative prompt** with things to avoid, like `text, watermark`.
5. Click **Start**. Images are usually ready in 1 to 5 minutes. Full HD and 4K can take up to 30 minutes at busy times.
6. Open the **Output** tab to see and download the images.

### Input

```json
{
  "prompt": "A red fox in a snowy forest at dawn, soft light",
  "styleName": "HD-HQ",
  "count": 2,
  "negativePrompt": "text, watermark"
}
```

| Field | Required | Default | Description |
|---|---|---|---|
| `prompt` | yes | a sample prompt | What should be in the picture. Up to 2,000 characters. |
| `styleName` | no | `HD-HQ` | One of the 35 styles. |
| `count` | no | `1` | Number of images, 1 to 10. |
| `negativePrompt` | no | empty | Things to avoid. |

### Output

You get one row per requested image. You can download the rows as JSON, CSV, Excel or HTML.

The image links open without a token for anyone who has them. They work for your plan's data retention period (7 days on the free plan), so download the files you want to keep.

```json
{
  "status": "succeeded",
  "prompt": "A red fox in a snowy forest at dawn, soft light",
  "styleName": "HD-HQ",
  "image": {
    "url": "https://api.apify.com/v2/key-value-stores/STORE_ID/records/image-01.webp?signature=...",
    "width": 1024,
    "height": 1024,
    "format": "webp"
  }
}
```

If an image is not made, its row has `"status": "failed"` and an error. You are not charged for it.

```json
{
  "status": "failed",
  "prompt": "...",
  "styleName": "HD-HQ",
  "error": {
    "code": "censored",
    "message": "The content filter blocked this image. Try a different prompt. You were not charged."
  }
}
```

| Error code | Meaning |
|---|---|
| `censored` | The content filter blocked the image. Change the prompt a little and try again. |
| `timeout` | Not ready after 20 minutes, or 30 minutes for Full HD and 4K. The message has the generation ID. |
| `service_error`, `service_busy` | The service had a problem. Try again later. The run ends as failed. |
| `download_failed` | The finished image could not be saved. |
| `not_made` | The service made fewer images than asked. |
| `charge_limit` | The maximum cost you set for the run is too low for this many images. |
| `timeout_too_short` | The run timeout is too short: allow at least 5 minutes, or 15 for Full HD and 4K. |
| `too_many_aborted` | Many of your recent runs were stopped before the images were ready. Try again later. |
| `bad_request` | The input or the prompt was not accepted. The message says why. |

### All 35 styles

![All 35 styles with size and price level](https://api.apify.com/v2/key-value-stores/1l6rIqHQbHdTTdcg6/records/styles-all-v2.webp?signature=10jvtfCUVyteXoN4c4URw)

### Tips for good images

- Describe the scene, not just a topic. "A lighthouse on a cliff at sunset, waves, warm light" works better than "lighthouse".
- Avoid asking for text or letters in the image. The model often gets them wrong.
- Use `photorealistic-1` or `photo-portrait` for photos, `anime`, `aquarelle` or `pixel-art` for art.
- `tilt-shift` looks best on views from above: cities, beaches, ports.
- Start with `lowquality` to test a prompt for $0.0025, then switch to the style you need.

### Use it from your code

Call the Actor with the [Apify API](https://docs.apify.com/api/v2) or the Apify client for [Python](https://docs.apify.com/api/client/python) or [JavaScript](https://docs.apify.com/api/client/js). The **API** tab of this Actor has ready code.

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("cliplabs/clipcloud-image-generator").call(
    run_input={"prompt": "A red fox in a snowy forest at dawn", "styleName": "HD-HQ"}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["status"], item.get("image", {}).get("url"))
```

Download each `image.url` right after the run. The `run-sync-get-dataset-items` endpoint waits up to 5 minutes. For Full HD, 4K or several images, start the run and wait for it to finish, as the client above does.

You can also connect the Actor to Make, Zapier, n8n and other tools with Apify integrations, or let an AI agent use it through the Apify MCP server.

### FAQ

**How long does it take?** Most runs finish in 1 to 5 minutes. Full HD and 4K can take up to 30 minutes at busy times.

**Can I make images for many prompts?** Each run takes one prompt. For many prompts, start several runs. They can run at the same time.

**Can I stop a run early?** Yes, but the images of a stopped run are lost. If the runs you stopped before the images were ready add up to more than $1 of image cost in 24 hours, new runs are paused until that drops.

**Why was my image blocked?** The content filter blocks unsafe content, and sometimes harmless prompts too. Change a few words and try again. Blocked images are free.

**Can I choose the exact size?** Each style has a fixed size. Pick the style with the size you need: square, wide (`-h`) or tall (`-v`).

**Something went wrong?** Open an issue in the **Issues** tab.

Made by [ClipLabs](https://cliplabs.top). ClipCloud also has its own API, an n8n node, a WordPress plugin and an MCP server: [clipcloud.cliplabs.top](https://clipcloud.cliplabs.top).

# Actor input Schema

## `prompt` (type: `string`):

What should be in the picture: subject, setting, light, composition. English works best, other languages work too. Up to 2,000 characters.

## `styleName` (type: `string`):

Sets the look, the size and the price level. HD-HQ is a good default. Prices per level are in the README.

## `count` (type: `integer`):

1 to 10 images of the same prompt.

## `negativePrompt` (type: `string`):

Optional. Things to avoid, like: text, watermark, blurry.

## Actor input object example

```json
{
  "prompt": "A cozy wooden cabin in a snowy forest at dusk, warm light in the windows, soft snowfall",
  "styleName": "HD-HQ",
  "count": 1
}
```

# Actor output Schema

## `results` (type: `string`):

One row per image: status, image link, size and error if any.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "prompt": "A cozy wooden cabin in a snowy forest at dusk, warm light in the windows, soft snowfall",
    "styleName": "HD-HQ",
    "count": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("cliplabs/clipcloud-image-generator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "prompt": "A cozy wooden cabin in a snowy forest at dusk, warm light in the windows, soft snowfall",
    "styleName": "HD-HQ",
    "count": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("cliplabs/clipcloud-image-generator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "prompt": "A cozy wooden cabin in a snowy forest at dusk, warm light in the windows, soft snowfall",
  "styleName": "HD-HQ",
  "count": 1
}' |
apify call cliplabs/clipcloud-image-generator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cliplabs/clipcloud-image-generator"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/eikxZaWoraclQsuCT/builds/S8R9w92Jal0xNv8Zk/openapi.json
