ImageBlack Forest LabsNouveau

FLUX.2 Max

FLUX.2 de fidélité maximale

model: "flux-2-max"

Modes de génération

Un seul ID de modèle, tous les modes ci-dessous. Les champs que vous envoyez déterminent le mode, et le prix dépend du mode.

Mode de générationSélectionné parPrix typique
Texte vers imageprompt
Exemple de requête
{
  "model": "flux-2-max",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.070

Entrée

Obligatoire

Prompt

Facultatif

Size

Options avancées (2)

Paramètres du fournisseur au-delà des contrôles principaux. Laissez-les vides pour utiliser les valeurs par défaut du modèle.

Facultatif

File format of the result.

Facultatif

Random seed. The same seed and input reproduce the same result.

Résultat

FLUX.2 MaxExemple de résultat

Un vrai résultat de ce modèle. Lancez-le pour voir le vôtre ici.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-2-max",
  "input": {
    "prompt": "Master indigo dyer lifting a length of resist-bound cotton from a fermentation vat, fabric cascading in deep midnight blue with pale shibori resist patterns blooming as it meets the air, portrait orientation, cool cobalt and ivory palette, fine dye droplets arcing from the trailing hem, weathered clay vat rim and timber workshop interior visible in warm ambient light, craft and materials documentary"
  }
}'
FLUX.2 Max 1FLUX.2 Max 2FLUX.2 Max 3FLUX.2 Max 4FLUX.2 Max 5FLUX.2 Max 6