Skip to content
Black Forest LabsChecking

FLUX.2 Klein 4B / Image to Image

flux-2-klein-4b-image-to-image

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

What it does

Edit an image from a text instruction.

Optional custom size · fixed price

Input parameters

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

FieldTypeRequiredDefaultAllowed values and constraints
imageUrl
stringrequired—

HTTPS image URL or media:<uuid>

prompt
stringrequired—
aspectRatio
stringrequired"9:16"

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

outputFormat
stringrequired"png"

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

Limits and behaviour

  • Asynchronous only: submit a task, then poll for the result.
  • Media inputs accept public HTTPS URLs or media:<uuid> references from POST /api/v1/media.