Nano Banana Pro (Gemini 3 Pro Image)
Model Overview
Setup your API Key
API Schema
post
Body
modelstring · enumRequiredPossible values:
promptstringRequired
The text prompt describing the content, style, or composition of the image to be generated.
aspect_ratiostring · enumOptionalDefault:
The aspect ratio of the generated image.
1:1Possible values: resolutionstring · enumOptionalDefault:
The size of the generated image.
1KPossible values: num_imagesnumber · min: 1 · max: 4OptionalDefault:
The number of images to generate.
1Responses
200Success
application/json
post
/v1/images/generations200Success
Quick Example

"aspect_ratio": "1:1", "resolution": "1K"
"aspect_ratio": "16:9", "resolution": "2K"Last updated
Was this helpful?