Introduction
FLUX.2 [klein] 9B Text to image is Black Forest Labs' small, fast image model, released on 15 January 2026, generating pictures from a written prompt. It renders at 1k or 2k in nine aspect ratios, usually in 15 to 35 seconds, and it has no content filter.
Choose a mode by starting material
| What you have | Mode |
|---|---|
| a written brief | FLUX.2 Klein 9B Text to image |
| images to change | FLUX.2 Klein 9B Edit |
Key features & highlights
Fast enough to iterate
Most of our renders finished in 15 to 35 seconds, so trying five wordings or five seeds costs little time. It is the quick end of the FLUX.2 line.
Text and look sheets
Quote a header or a sign and it is usually rendered as written. One prompt can also lay out several looks of the same person in a grid. Neither is guaranteed on every seed.
No filter, honest limits
Nothing is refused. The limit is the model: it often adds garments on its own, and it does not deliver the Very strong level.
Request parameters
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | Required, up to 5,000 characters. Describe subject, clothing, setting, light and style in plain sentences; put words that must appear in the image in quotes. at least 1 characters · at most 5000 characters |
aspect_ratio | No | One of nine shapes from 21:9 to 9:21; 1:1 by default. The shape does not change the price. |
resolution | No | 1k (default, about one megapixel) or 2k (2048 pixels on the long side). 2k costs more than 1k. |
seed | No | Optional whole number from 0 to 2,147,483,647. Reuse it to compare prompt changes side by side; leave it empty for a random one. |
Pricing
Billed per image by size tier: 2k costs more than 1k, and the aspect ratio does not change the price. Failed or refused requests are not charged.
| Specification | Price |
|---|---|
| $0.011 / image |
| $0.0122 / image |
Use cases
Batches of variations
Many takes on one idea, to pick from or to feed into an edit.
Character look sheets
Several outfits of one character in a single frame.
Drafts for larger models
Settle on composition here before spending on a bigger model.
Prompt guide & pro tips
Say what the people wear
Garment, cut and how it sits. Without it the model fills in clothing by itself.
Quote text and keep it short
A few words per line render best. If a word is wrong, change the seed.
Do not rely on exact hex colours
A hex value gets you the right direction, not the exact shade.
Start at 1k
It is the cheaper tier; move to 2k for the frame you keep.
Try three seeds
Small models vary. Hands and fine text improve with a second or third try.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "black-forest-labs/flux-2-klein-9b/text-to-image",
"input": {
"prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
"resolution": "1k",
"aspect_ratio": "1:1"
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.
























