Fox train travelerExample 01flux-3-image-klein
AliasFlux 3 Image KleinFlux 3 Image Klein API by Black Forest Labs on TTAPI supports generation, reference editing, and composition, with exact width and height, seed, output format, and 1–16 sampling steps.
Last updated:
Fox train travelerExample 01
Moon-cat stampExample 02
Snow-leopard ledgeExample 03
Clay lunar gardenerExample 04Flux 3 official image examples
Adapted visual description; original generation prompt not published. Japanese woodblock-inspired coastal illustration with a lighthouse keeper and stormy weather.
Adapted visual description; original generation prompt not published. Underwater photography of a diver above a detailed coral landscape in blue water.
Adapted visual description; original generation prompt not published. A detailed wildlife portrait of a snow leopard relaxing on a rocky shelf.
Adapted visual description; original generation prompt not published. A contemporary denim portrait with warm orange studio color and natural facial detail.
Adapted visual description; original generation prompt not published. A documentary-style portrait with a golden eagle and warm evening light.
Adapted visual description; original generation prompt not published. An ornate navy-and-gold postage design featuring a white cat and a crescent moon.
Adapted visual description; original generation prompt not published. A graphic book cover combining bold red color and assertive editorial typography.
Adapted visual description; original generation prompt not published. Macro wildlife photography with a tiny jumping spider, fern textures, and water droplets.
Adapted visual description; original generation prompt not published. A whimsical travel scene with a sleeping fox curled into an old suitcase aboard a train.
What you can build with flux-3-image-klein
Text to image
Describe a scene and choose an explicit aspect ratio and resolution tier.
Reference editing
Pass images to edit details, restyle a scene, or combine up to 10 references.
Prompt layout boxes
Use a normalized 0–1000 coordinate grid inside the prompt to describe placement or edit regions.
Model-specific controls
Standard Image exposes grounding; Klein instead adds paired width and height, seed, jpeg/png output, and 1–16 steps.
Per-action, in quota
Usage is metered in quota by model, action, and output settings.
Headers and submit parameters
Use the endpoint below with your TTAPI key and the request fields shown.
/bfl/v1/flux-3-image-kleinCreate, edit, or combine images in an asynchronous Flux 3 task.
Official reference/flux/fetchRead task status and retrieve the generated image using jobId.
Official referenceHeaders
TT-API-KEYstringrequiredYour TTAPI API key.
Content-TypestringrequiredUse application/json.
Body
promptstringrequiredDescribe a new image or an edit. Refer to inputs in order as image 1, image 2, and so on. Optional layout boxes use a 0–1000 [top, left, bottom, right] grid in the prompt.
imagesstring | string[]optionalOmit for text-to-image; supply 1–10 HTTP(S) URLs or base64 images to edit, restyle, or combine them. The first image is the edited image and sets the default output size.
aspect_ratioenumoptionalThe same explicit ratios as FLUX 3 Image, or auto (default). Auto follows the first input's exact ratio or the prompt; text-only fallback is 16:9. Ignored when width and height are both set.
resolutionenumoptional768sq, 1k, 1.5k, 2k, or 4k. Omitted text-only requests use 1k; edits retain the first image's size or nearest tier if aspect_ratio is set. Ignored when width and height are both set.
safety_toleranceintegeroptional0–7, default 2; lower values are stricter. The approved maximum depends on the route and organization.
webhook_urlstringoptionalCallback URL for the asynchronous task. The submission returns jobId; use the callback or Flux Fetch to get the image.
widthintegerconditional64–6256 pixels, supplied with height. Together they override aspect_ratio and resolution; total area must not exceed 16,822,272 pixels.
heightintegerconditional64–6256 pixels, supplied with width. The width × height limit is 16,822,272 pixels.
seedintegeroptional0–4294967295; random when omitted.
output_formatenumoptionaljpeg (default) or png.
stepsintegeroptionalDenoising steps from 1 to 16; defaults to 16.
From key to first result
Copy the resolved endpoint, authentication headers, and request body for this model.
curl --request POST \
--url https://api.ttapi.io/bfl/v1/flux-3-image-klein \
--header "TT-API-KEY: $TTAPI_KEY" \
--header 'Content-Type: application/json' \
--data '{"prompt":"Editorial photograph of a ceramic tea set on a linen table, soft daylight and realistic textures.","aspect_ratio":"3:4","resolution":"1k","output_format":"jpeg","steps":16}'