YeeHooDevelopers
Developer Docs
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

ItemValue
Model IDnano-banana-2
TypeImage
RegionGlobal / CN
Best ForFaster image generation, rapid ideation
PriorityMedium, 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

FieldTypeRequiredDefaultDescription
modelstringYes-Must be nano-banana-2
promptstringYes-Image prompt
reference_imagesstring[]No-Reference image URL list
aspect_ratiostringNoautoOutput aspect ratio
resolutionstringNo2KOutput resolution
nintegerNo1Image count

Supported Enums

FieldValues
aspect_ratioauto 21:9 16:9 3:2 4:3 1:1 3:4 2:3 9:16
resolution2K 4K

nano-banana-2 Integration Notes

  • It does not support 1K; the lowest documented resolution is 2K.
  • 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"
}

Related Pages