Overview
nanobanana-pro is a professional-grade image generation model with enhanced detail.- Type: Image Generation
- Processing: Asynchronous
- Aspect ratio: 16:9 or 9:16
- Resolution: 1K / 2K / 4K (optional)
- Price: 0.032)
Parameters
nanobanana-proDescription of the image to generate (max 2000 characters)
What to avoid in the image (max 1000 characters)
Aspect ratio:
16:9, 9:16 (default: 16:9)Number of images to generate (1-4, default: 1)
Image resolution:
1k, 2k, 4k. 4K resolution costs double ($0.032). If not provided, default resolution is used.Image URLs for image-to-image editing (supports up to 9 images)
Webhook callback URL for task completion or failure notifications
Example
Response
Image generation is asynchronous. Use the Tasks API to poll for results.
Failure Response
Image Editing Mode
nanobanana-pro also supports image editing, allowing you to modify existing images using natural language prompts with professional-grade quality. Simply provide theimage_urls parameter in your request.
- Endpoint:
POST /v1/generate(same as image generation) - Content Type:
application/json - Max Images: 9 images per request
- Processing: Asynchronous
Image Editing Parameters
nanobanana-proDescription of how to edit the image (max 2000 characters)
URLs of images to edit (supports up to 9 URLs)
Webhook callback URL for task completion or failure notifications
Image Editing Example
Image Editing Response
Image editing is asynchronous. Use the Tasks API to poll for results.