# Generate YouTube thumbnails with AI (FLUX, 16:9)

**Use case:** 

Write one prompt per video and get a 16:9 thumbnail image for each, generated with FLUX.2 Klein in a single run. Each thumbnail returns its URL, width, height and seed, so a whole content calendar becomes a thumbnail set in one call, at $0.01 per image.

## Input

```json
{
  "prompts": [
    "YouTube thumbnail for a video titled 'I tested 5 budget drones', excited person pointing at a drone, bold colors, high contrast, wide 16:9 composition",
    "YouTube thumbnail for a video titled 'Stop losing your sourdough starter', dramatic close-up of bread dough, warm kitchen light, bold text space on the left"
  ],
  "imageSize": "landscape_16_9",
  "quality": "standard",
  "imagesPerPrompt": 1,
  "outputFormat": "png",
  "maxPrompts": 100
}
```

## Output

```json
{
  "outputUrl": {
    "label": "Image",
    "format": "string"
  },
  "prompt": {
    "label": "Prompt",
    "format": "string"
  },
  "width": {
    "label": "W",
    "format": "integer"
  },
  "height": {
    "label": "H",
    "format": "integer"
  },
  "seed": {
    "label": "Seed",
    "format": "integer"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Bulk AI Image Generator — FLUX.2 Klein & Schnell, No API Key Actor is ready to run with the inputs already set for "Generate YouTube thumbnails with AI (FLUX, 16:9)". [Sign up or log in](https://console.apify.com/create-task-from-example/bSJ7N92t4UxTdcUOf) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Generate YouTube thumbnails with AI (FLUX, 16:9)" task

The Bulk AI Image Generator — FLUX.2 Klein & Schnell, No API Key Actor will start running based on the input automatically. You can also change all the input fields, like prompts, image size, and more, to match your specific use case.

### 3. Receive the "Generate YouTube thumbnails with AI (FLUX, 16:9)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as image, prompt, w, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Generate YouTube thumbnails with AI (FLUX, 16:9)" task via API](https://apify.com/sherwood/image-generator-batch.md).

## FAQ

### Which resolution do these YouTube thumbnails come out at?

This YouTube thumbnail task uses landscape_16_9, 1024×576. For 1280×720, set width 1280 and height 720: that is 0.92 MP, inside the 1.1 MP included in the $0.01 image price on the free plan.

### Can the thumbnail generator write the video title on the image?

This thumbnail task runs FLUX.2 Klein 9B, which rendered short texts correctly in 9 of 10 test prompts. Keep the text short and in quotes in the prompt, or leave text space and add the title in an editor.

### How fast is a batch of thumbnails for a content calendar?

This YouTube thumbnail task typically takes 4 to 10 seconds per image, with 4 prompts processed in parallel. One run handles up to maxPrompts, 100 by default and up to 1,000.

### What happens when a thumbnail prompt is refused?

This thumbnail task keeps the model's safety checker on: a prompt producing unsafe content returns an error item with the reason instead of an image, and is never charged.

## About this Actor

This example demonstrates how to use [Bulk AI Image Generator — FLUX.2 Klein & Schnell, No API Key](https://apify.com/sherwood/image-generator-batch.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sherwood/image-generator-batch.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/sherwood/image-generator-batch.md

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`).
