Aller au contenu
Black Forest LabsVérification

FLUX.2 Dev / Text to Image

flux-2-dev-text-to-image

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

Ce qu’il fait

Generate an image from a text prompt.

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
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"

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