FLUX Schnell API
Generate images from text prompts for illustrations and visual drafts.
Black Forest Labs · flux-schnell
Text to image
Generate images from text prompts for illustrations and visual drafts.
Put a prompt and "model": "flux-schnell" on an image clip, and the render generates it and edits it into the video. To generate it on its own, send the same asset to the generate endpoint.
Built forQuick drafts · Illustrations · Testing prompts cheaply

Technical specifications
| Input | Text prompt |
|---|---|
| Output | Image |
{
"asset": {
"type": "image",
"prompt": "A pair of white canvas sneakers on a deep green backdrop",
"model": "flux-schnell"
},
"length": 5
}Pricing
Generation is paid in credits from the same balance as rendering, at what the model's provider charges plus a small margin. See AI generation pricing.
| Mode | Charged per | Price changes with | Length a quote assumes without one |
|---|---|---|---|
| Text to image | Image | Fixed price | — |
Get a quote
POST /generate/quote takes the same body as the generate endpoint and returns what that generation would cost. Nothing is generated, reserved or charged.
curl -X POST \
-H "Content-Type: application/json" \
-H "x-api-key: $SHOTSTACK_API_KEY" \
-d '{
"asset": {
"type": "image",
"prompt": "A pair of white canvas sneakers on a deep green backdrop",
"model": "flux-schnell"
},
"length": 5
}' \
https://api.shotstack.io/edit/stage/generate/quoteThe response gives credits, the price of that request, and ceiling, which is true when the request has no length for a model charged by length, so the price is an estimate. Prices follow the providers, so ask again rather than storing one.
How it compares
FLUX Schnell beside the other models in Shotstack that make the same thing.
| Model | Best for | Modes | Max resolution | Aspect ratios | Reference images | Seed | Charged per |
|---|---|---|---|---|---|---|---|
| FLUX Schnell | Quick, low-cost drafts and illustrations | Text to image | — | — | — | — | Image, fixed price |
| Nano Banana 2 | Fast iteration, accurate text, product and campaign visuals | Text to image, Image to image | 4K | 14 | Up to 14 | Yes | Image |
| Nano Banana Pro | Complex compositions and precise typography, over speed | Text to image | 4K | 10 | — | Yes | Image |
| GPT Image 2.5 Sunburst | Highly detailed images that follow complex prompts; slower | Text to image, Image to image | 4K | 10 | Up to 16 | — | Image |