Skip to content
Black Forest LabsChecking

FLUX 3 Klein / Text to Image

flux-3-klein-text-to-image

text to imageOutput: ImageInput: text
Loading price…
Official list price · Not verified
Get API key

Parameters

Required
prompt: stringrequired

Scene description or edit instruction. No negative prompt; a bbox JSON array may be appended for layout or local edits. 1–20000 chars

resolution: stringrequired

Resolution tier, decides the price. 768sq ~768x768, 1k ~1MP, 1.5k ~2MP, 2k ~4MP, 4k ~16MP.

Common options
aspectRatio: string

Output aspect ratio. auto follows the first reference image when editing, or the prompt for text-to-image.

outputFormat: string

Output image format.

Advanced (3)
seed: integer

Random seed. Leave empty for random. 0–2147483647

steps: integer

Sampling steps 1-16, default 16. Fewer is faster but may lower quality; price unchanged. 1–16

safetyTolerance: integer

Moderation tolerance, 0 strictest to 4, default 2. 0–4

Request preview

{
  "model": "flux-3-klein-text-to-image",
  "input": {
    "aspectRatio": "1:1",
    "resolution": "1k",
    "steps": 16,
    "outputFormat": "jpeg",
    "safetyTolerance": 2
  }
}

The web playground sends this body with your signed-in session. From code, send the same body with an API key.

Estimated charge

Loading price…

Credits are reserved when a task is accepted and charged only on success. Failed tasks release the reservation; unconfirmed outcomes remain reserved until verified.