Aller au contenu
Black Forest LabsVérification

FLUX 3 Klein / Image to Image

flux-3-klein-image-to-image

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

Paramètres

Obligatoire
imageUrls: string[]obligatoire

Reference images, 1-10. One for single-image edit; multiple are referenced as Image 1 / Image 2 in order. Each image must be at most 16,777,216 pixels (about 4096x4096; total pixels, not side length), otherwise it is rejected. ≤ 10 items · HTTPS image URL or media:<uuid>

prompt: stringobligatoire

Scene description or edit instruction. No negative prompt; a bbox JSON array may be appended for layout or local edits. 1–20000 chars

resolution: stringobligatoire

Resolution tier, decides the price. 768sq ~768x768, 1k ~1MP, 1.5k ~2MP, 2k ~4MP, 4k ~16MP.

Options courantes
aspectRatio: string

Output aspect ratio. auto follows the first reference image when editing, or the prompt for text-to-image.

outputFormat: string

Output image format.

Avancé (3)
seed: integer

Random seed. Leave empty for random. 0–2147483647

steps: integer

Sampling steps 1-16, default 16. Fewer is faster but may lower quality; price unchanged. 1–16

safetyTolerance: integer

Moderation tolerance, 0 strictest to 4, default 2. 0–4

Aperçu de la requête

{
  "model": "flux-3-klein-image-to-image",
  "input": {
    "aspectRatio": "auto",
    "resolution": "1k",
    "steps": 16,
    "outputFormat": "jpeg",
    "safetyTolerance": 2
  }
}

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.