ImageGoogleNouveau

Nano Banana Lite

Génération et édition d'images Google Gemini en moins de 2 secondes

model: "nano-banana-lite"

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-lite",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.042
Édition d'imageimage_url
Exemple de requête
{
  "model": "nano-banana-lite",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.043

Entrée

Obligatoire

Describe the subject, style, and composition

Facultatif
1

Count

Facultatif

Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.

Facultatif

More source images (https URLs), for edits that combine several images. image_url, if sent, is the first.

Facultatif

Aspect Ratio

Facultatif

Output Format

Facultatif

Seed

Résultat

Nano Banana LiteExemple 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-lite",
  "input": {
    "prompt": "gitl and boy meeting for the first time in the coffee shop in 9:16 model, highly detailed, sharp focus, professional photography, beautiful lighting, vivid colors, stunning composition, 8k quality"
  }
}'
Nano Banana Lite 1Nano Banana Lite 2Nano Banana Lite 3Nano Banana Lite 4Nano Banana Lite 5Nano Banana Lite 6