Informazioni su 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.
Funzionalità principali
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.
Casi d'uso
- Quick concept validation and draft directions
- Fast iteration on product shots
- Square and portrait social media images
- Generating several visual directions to choose from
Inizia in quattro passaggi
- Crea una chiave API nella console.
- Scegli il modello e rivedi i relativi parametri nella scheda API.
- Compila i parametri e controlla il costo con l'endpoint di preventivo.
- Invia la richiesta, poi esegui il polling dell'attività o ricevi un webhook con il risultato.
Scrivere i prompt
[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.
Prompt di esempio
- 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.


