Skip to content
Black Forest LabsChecking

FLUX.2 Klein 9B / Text to Image

flux-2-klein-9b-text-to-image

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

What it does

Generate an image from a text prompt.

Optional custom size · fixed price

Input parameters

Only the fields this model accepts. Required fields must be provided.

FieldTypeRequiredDefaultAllowed values and constraints
prompt
stringrequired—
aspectRatio
stringrequired"9:16"

One of: "1:1", "3:4", "4:3", "9:16", "16:9", "2:3", "3:2", "custom"

customWidth
integeroptional1024

256–1536

customHeight
integeroptional1024

customHight

256–1536

outputFormat
stringrequired"png"

One of: "png", "jpeg", "webp(lossless)", "webp(lossy)"

Limits and behaviour

  • Asynchronous only: submit a task, then poll for the result.
  • customWidth: 256–1536
  • customHeight: 256–1536