Supported Models and ParametersImage Models
Nano Banana 2
Parameters, enums, examples, and integration notes for nano-banana-2.
nano-banana-2 is better suited to speed-first image generation. Its parameter shape is close to gpt-image-2, but with fewer enum options.
Quick Facts
| Item | Value |
|---|---|
| Model ID | nano-banana-2 |
| Type | Image |
| Region | Global / CN |
| Best For | Faster image generation, rapid ideation |
| Priority | Medium, use when speed matters more |
Recommended Request Shape
The endpoint remains POST /v1/generations; only the model changes to nano-banana-2.
{
"model": "nano-banana-2",
"prompt": "A clean sports shoe product shot, studio light, fast concept visual",
"aspect_ratio": "1:1",
"resolution": "2K",
"n": 1
}Field Reference
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Must be nano-banana-2 |
prompt | string | Yes | - | Image prompt |
reference_images | string[] | No | - | Reference image URL list |
aspect_ratio | string | No | auto | Output aspect ratio |
resolution | string | No | 2K | Output resolution |
n | integer | No | 1 | Image count |
Supported Enums
| Field | Values |
|---|---|
aspect_ratio | auto 21:9 16:9 3:2 4:3 1:1 3:4 2:3 9:16 |
resolution | 2K 4K |
nano-banana-2 Integration Notes
- It does not support
1K; the lowest documented resolution is2K. - Use it when you want faster visual iteration.
Fast Iteration Example
{
"model": "nano-banana-2",
"prompt": "A clean sports shoe product shot, studio light, fast concept visual",
"aspect_ratio": "1:1",
"resolution": "2K"
}