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é

Paramètres

Obligatoire
imageUrl: stringobligatoire

Upload image HTTPS image URL or media:<uuid>

prompt: stringobligatoire
aspectRatio: stringobligatoire

The size of the generated media in pixels

outputFormat: stringobligatoire
Avancé (2)
customWidth: integer

256–1536

customHeight: integer

customHight 256–1536

Aperçu de la requête

{
  "model": "flux-2-dev-image-to-image",
  "input": {
    "aspectRatio": "9:16",
    "customWidth": 1024,
    "customHeight": 1024,
    "outputFormat": "png"
  }
}

Le playground web envoie ce corps avec votre session connectée. Depuis votre code, envoyez le même corps avec une clé d’API.

Montant estimé

Chargement du prix…

Les crédits sont réservés à l’acceptation d’une tâche et débités seulement en cas de succès. Une tâche échouée libère la réservation ; un résultat non confirmé reste réservé jusqu’à vérification.