Aller au contenu
Runstage

Google DeepMind

Nano Banana 2.1

Générez une image à partir d’une consigne textuelle. Décrivez le sujet, la composition, l’éclairage, le style et tout texte à faire apparaître, puis choisissez une taille. Le modèle renvoie une image en 1K, 2K ou 4K dans le format le plus proche parmi les 14 rapports largeur-hauteur disponibles.

Tarifs publiés de l’API
~$0.0845 / 1K (1024px)
Voir tous les tarifs
1K (1024px)~$0.0845
2K (2048px)~$0.1372
4K (4096px)~$0.2229
ID du modèle dans l’API
Interface API pour Imagenano-banana-2.1
Point de terminaison
POST /api/v2/run
Entrée
Text prompt · Reference images
Sortie
Image (PNG / WebP)
Tarif
~$0.0845 / 1K (1024px)
Exemple de prompt

“A high-speed wildlife photograph of a common kingfisher bursting out of a still river with a small silver fish in its beak, frozen at 1/8000 s. Wings swept back, every electric-blue and orange feather sharp, a crown of w…”

Usages recommandés

Référence de l’API

ID du modèle dans l’API
nano-banana-2.1
Développeur du modèle
Google DeepMind
Modalité
Génération et retouche d’images
Entrée
Text prompt · Reference images
Sortie
Image (PNG / WebP)
Points de terminaison
POST /api/v2/quotePOST /api/v2/runGET /api/v2/jobs/{request_id}GET /api/v2/jobs/{request_id}/outputMCP runstage_generate_media
Infrastructure
Capacité du cloud partenaire

Paramètres de la requête

  • modelstring · obligatoire

    Exact Runstage model slug (nano-banana-2.1).

  • promptstring · obligatoire

    Visual description of subject, composition, lighting, and medium.

  • width / heightinteger · facultatif

    Output pixel dimensions (e.g. 1024×1024 or 1536×1024).

Paramètres supplémentaires

  • quality
  • seed
  • enhance_prompt

Démarrage rapide

Copiez une requête fonctionnelle utilisant l’ID de modèle nano-banana-2.1. Consultez d’abord le devis gratuit (le coût final est arrêté à la fin de l’exécution), puis lancez la requête avec votre clé API Runstage.

Ouvrir Studio
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
  -H "Content-Type: application/json" \
  -d '{"model":"nano-banana-2.1","width":1024,"height":1024}'

# 2. Submit metered job
curl -X POST 'https://runstage.dev/api/v2/run' \
  -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{   "model": "nano-banana-2.1",   "prompt": "A high-speed wildlife photograph of a common kingfisher bursting out of a still river with a small silver fish in its beak, frozen at 1/8000 s. Wings swept back, every electric-blue and orange feather sharp, a crown of water droplets and a rising column of splash caught in mid-air, each droplet reflecting the sky. Low side light from the early morning sun, dark green out-of-focus reeds in the background, the bird'\''s reflection broken up in the rippled water below. Telephoto compression, shallow depth of field, natural colours.",   "width": 1024,   "height": 1024,   "seed": 42 }'

# Optional: switch to image editing (img2img) by uploading multipart -F "image=@input.png"
# curl -X POST 'https://runstage.dev/api/v2/run' -H "Authorization: Bearer $RUNSTAGE_API_KEY" --form-string 'model=nano-banana-2.1' --form-string 'prompt=A high-speed wildlife photograph of a common kingfisher bursting out of a still river with a small silver fish in its beak, frozen at 1/8000 s. Wings swept back, every electric-blue and orange feather sharp, a crown of water droplets and a rising column of splash caught in mid-air, each droplet reflecting the sky. Low side light from the early morning sun, dark green out-of-focus reeds in the background, the bird'\''s reflection broken up in the rippled water below. Telephoto compression, shallow depth of field, natural colours.' -F "image=@input.png"

# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  'https://runstage.dev/api/v2/jobs/<request_id>'

Tarifs

Unité facturée et optionsTarif (USD)
1K · 1024×1024Standard square or portrait output (estimated)~$0.0845
2K · 2048×2048High-resolution editorial artwork (estimated)~$0.1372
4K · 4096×4096Ultra-high-resolution print master (estimated)~$0.2229

Notes de facturation

  • Partner external model (Premium plan required). Quote via /api/v2/quote returns an estimate (is_estimated: true); settled on completion.
  • Avant d’engager vos crédits prépayés, obtenez une estimation gratuite via POST /api/v2/quote.
  • À la fin de la tâche ou en cas d’échec, la réservation est automatiquement ajustée au coût réel et les crédits inutilisés sont remboursés.
  • Le modèle utilise la capacité externe d’un partenaire. Le montant final est calculé d’après les métriques d’exécution communiquées.

Tarifs en vigueur du catalogue Runstage. Crédits prépayés en USD avec plafonds de dépenses par clé.

Comparer dans le catalogue complet