À propos de Nano Banana 2
Nano Banana 2 (nano-banana-2) is a speed-first image model for fast generation and quick ideation. It is available in Global and CN regions and is submitted through POST /v1/generations.
Its parameters are close to gpt-image-2 but with fewer enum options. Pick it for fast visual iteration, and switch to Nano Banana Pro with nearly the same request when quality matters more.
Fonctionnalités clés
Generation and editing in one model
Send only a prompt to create an image, or add reference_images to edit existing pictures.
2K and 4K output
resolution accepts 2K (default) and 4K. 1K is not supported.
Common aspect ratios
aspect_ratio defaults to auto and also accepts 21:9, 16:9, 3:2, 4:3, 1:1, 3:4, 2:3 and 9:16.
Multiple images per request
Use n to set how many images to generate; the default is 1.
Cas d'usage
- Quick concept validation and draft directions
- Fast iteration on product shots
- Square and portrait social media images
- Generating several visual directions to choose from
Commencez en quatre étapes
- Créez une clé API dans la console.
- Choisissez le modèle et consultez ses paramètres dans l'onglet API.
- Renseignez les paramètres et vérifiez le coût via le point de terminaison de devis.
- Soumettez la requête, puis interrogez la tâche ou recevez un webhook pour le résultat.
Rédiger les prompts
[Subject] + [Composition] + [Lighting] + [Style or intended use]- Start with the subject, then add composition, lighting and style.
- When iterating, change one variable at a time so results are easy to compare.
- For edits, say what must stay unchanged before describing the change.
Exemples de prompts
- A clean sports shoe product shot, studio light, fast concept visual
- A wooden desk in morning sunlight with a cup of coffee and an open book, top-down view
- A cyberpunk city skyline with purple and teal neon lights
FAQ
Nano Banana 2 or Nano Banana Pro?⌄
Use nano-banana-2 when speed matters more, and nano-banana-pro for detail, reference-image editing and marketing quality. The request shape is almost identical, so switching mainly changes model.
Does it support 1K?⌄
No. The lowest documented resolution is 2K.
How is it billed?⌄
The Price tab lists every tier. Call POST /v1/quote with the same parameters to estimate credits before submitting. API calls only spend purchased permanent credit packs and admin-adjusted credits.
Is the request synchronous?⌄
No. Creating a task returns a task_id; poll GET /v1/tasks/{task_id} or wait for a webhook to get the result.


