ImageGoogleNouveau

Nano Banana

Modèle d'image de base propulsé par Gemini

model: "nano-banana"

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": "nano-banana",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.040

Entrée

Obligatoire

Prompt

Facultatif
1

Count

Facultatif

Aspect Ratio

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

Nano BananaExemple 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": "nano-banana",
  "input": {
    "prompt": "Illustrated editorial portrait of a New Orleans brass band second-liner mid-strut, trombone slide fully extended at the moment of a low note, loose expressive gouache brushwork blending photorealistic brass instrument sheen with painterly crowd confetti dissolving behind, vertical composition, deep cobalt and warm gold palette, feathered hat casting a dramatic shadow across the musician'\''s face, music and dance fine-art fusion"
  }
}'
Nano Banana 1Nano Banana 2Nano Banana 3Nano Banana 4Nano Banana 5Nano Banana 6