Aller au contenu
Black Forest LabsVérification

FLUX.2 Klein 4B / Text to Image

flux-2-klein-4b-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—
customWidth
integerfacultatif1024

256–1536

customHeight
integerfacultatif1024

customHight

256–1536

aspectRatio
stringobligatoire"9:16"

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

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