Aller au contenu
Black Forest LabsVérification

FLUX.2 Dev / Image to Image

flux-2-dev-image-to-image

image vers imageSortie: ImageEntrée: texte + image
Chargement du prix…
Prix catalogue officiel · Non vérifié

Ce qu’il fait

Edit an image from a text instruction.

Optional custom size · fixed price

Paramètres d’entrée

Uniquement les champs acceptés par ce modèle. Les champs obligatoires doivent être fournis.

ChampTypeObligatoirePar défautValeurs autorisées et contraintes
imageUrl
stringobligatoire—

Upload image

HTTPS image URL or media:<uuid>

prompt
stringobligatoire—
aspectRatio
stringobligatoire"9:16"

The size of the generated media in pixels

Parmi: "1:1", "3:4", "4:3", "9:16", "16:9", "2:3", "3:2", "custom", "auto"

customWidth
integerfacultatif1024

256–1536

customHeight
integerfacultatif1024

customHight

256–1536

outputFormat
stringobligatoire"png"

Parmi: "png", "jpeg", "webp(lossless)", "webp(lossy)"

Limites et comportement

  • Asynchrone uniquement : soumettez une tâche, puis interrogez le résultat.
  • customWidth: 256–1536
  • customHeight: 256–1536
  • Les entrées média acceptent des URL HTTPS publiques ou des références media:<uuid> issues de POST /api/v1/media.