Introduction
Write the scene, any text it must contain and the colours as hex values, pick 1k or 2k and one of nine shapes. Black Forest Labs' content filter applies: Mild-level scenes render, stronger requests are usually toned down and Very strong requests are refused.
| Field | Value |
|---|---|
| Input | Text |
| Output | Image |
| Model | Black Forest Labs FLUX.2 [max] |
| Endpoints | FLUX.2 Max: Text to image; image editing with 1 to 3 sources |
| Size tiers | FLUX.2 Max: 1k (default, about one megapixel) and 2k (2048 pixels on the long side) |
| Aspect ratios | FLUX.2 Max: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 9:21; edits also accept auto |
| Prompt length | Up to 5,000 characters |
| Controls | Seed for comparisons; no negative prompt, steps or guidance |
| Output format | JPEG |
| Content policy | Black Forest Labs filter; Very strong requests are refused and edits are strict |
Key features & highlights
Fabric, skin and light, as briefed
A woman in a backless emerald silk gown at a rooftop bar at blue hour. The prompt gave the colour as a hex value and named the lens and the warm lamp on her shoulders; the silk sheen and the bokeh follow it.
A magazine cover with every line spelled right
Two men on a velvet sofa under the masthead AFTER HOURS, with cover lines and an issue line. All the quoted text came out as written, on an oxblood background set by a hex value.
A widescreen film still
A couple walking hand in hand down a 1970s hotel corridor in 21:9 at 2k, with brass sconces, patterned carpet, shallow depth of field and film grain.
Two portraits and a room, one photograph
Two separate portraits and a photo of an empty bookshop became one scene. Faces, hair and clothes stayed true to each portrait, and the bookshop lamp light fell on both women.
New backdrop, new light, same man
A studio portrait moved to a fishing harbour at golden hour with low side light. His face, beard, expression and sweater stayed as in the source.
Request parameters
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | Up to 5,000 characters. Describe subject, wardrobe, setting, lens and light in plain sentences. at least 1 characters · at most 5000 characters |
aspect_ratio | No | For FLUX.2 Max, 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) is about one megapixel; 2k reaches 2048 pixels on the long side. 2k costs more than 1k. |
seed | No | Use a seed from 0 to 2147483647 when comparing FLUX.2 Max settings, changing one input at a time; the shared random source does not guarantee identical pixels. |
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.07 / image |
| $0.0881 / image |
Use cases
Editorial and campaign portraits
Fashion and lifestyle portraits with real fabric sheen, skin texture and a named lens and light.
Covers, posters and labels
For FLUX.2 Max, magazine covers, event posters and packaging where several lines of type share the frame with a photograph.
Composites from separate photos
Place two people from separate portraits into a third photo of a room, with matching light.
Prompt guide & pro tips
Write it like a photo brief
Name the subject, wardrobe, setting, lens and light direction in plain sentences. Max follows camera and lighting language closely.
Quote text and write colours as hex
For FLUX.2 Max, put every word that must appear in quotes and say where it sits. Hex values such as #4A0E1A steer colours more reliably than colour names.
Number your references
In edits, refer to the sources as image 1, image 2 and image 3, say what each one contributes, and list what must stay unchanged.
FLUX.2 Max puts the emphasis on finished photographic compositions: the SpicyAPI magazine-cover test combined a masthead, cover line and issue line, while the bookshop edit brought two portrait subjects into a third reference scene. Here those editing requests accept up to three sources, not the larger reference count advertised for the direct BFL API.
Introduction
FLUX.2 [max] Text to image is the top-quality model of Black Forest Labs' FLUX.2 family, released on 16 December 2025, generating images from a written prompt. It is built for photoreal people and light, legible text inside the image and colours set with hex values, at 1k or 2k in nine aspect ratios.
Choose a mode by starting material
| What you have | Mode |
|---|---|
| a written brief | FLUX.2 Max Text to image |
| one to three photos to change or combine | FLUX.2 Max Edit |
Photoreal people and light
Fabric sheen, skin texture, shallow depth of field and a named lens and light direction come through clearly. In our tests a backless silk gown at blue hour and a 1970s hotel corridor both read as photographs.
Text and hex colours
Quote each line of type and say where it sits. Our magazine-cover example rendered a masthead, cover lines and an issue line exactly as written, on a background set by a hex value.
Two size tiers, nine shapes
1k is about one megapixel and 2k reaches 2048 pixels on the long side, from square to 21:9 and 9:21. The shape does not change the price.
Editorial and campaign portraits
Fashion, lifestyle and brand portraits for mood boards, pitch decks and campaign drafts.
Covers, posters and labels
Magazine covers, event posters and packaging where several pieces of text share the frame with an image.
Cinematic stills
Widescreen frames with a described lens, light and grade for storyboards and key art.
Write it like a photo brief
Subject, wardrobe, setting, lens, light direction and grade, as full sentences.
Give colours as hex values
#0F5C4A for a gown or #4A0E1A for a backdrop is followed more closely than a colour name.
Keep to Mild-level scenes
The content filter lets Mild-level scenes through, usually tones down anything stronger, and refuses Very strong requests. Refused requests are not charged.
Expect 20 to 90 seconds
Most of our requests finished in that range; 2k and a busy queue take longer.
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-max/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.




























