Skip to content
Black Forest LabsChecking

FLUX.2 Dev / Image to Image

flux-2-dev-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—

Upload image

HTTPS image URL or media:<uuid>

prompt
stringrequired—
aspectRatio
stringrequired"9:16"

The size of the generated media in pixels

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

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
  • Media inputs accept public HTTPS URLs or media:<uuid> references from POST /api/v1/media.