Nano Banana Image Generation
Image Generation - Nano Banana
Nano Banana Text to Image
Generate images using Nano Banana model (async)
POST
Nano Banana Image Generation
Generate images from text using Google DeepMind’s Nano Banana (Gemini 2.5 Flash) model.
Key Features:
- Fast Generation - Built on Gemini 2.5 Flash for quick image generation
- Cost-Effective - Lower cost, suitable for batch generation scenarios
- 1K Resolution - Supports up to 1024x1024 pixel output
- Strong Understanding - Inherits Gemini’s semantic understanding and reasoning capabilities
Authorizations
Please use your API Token for authentication
Body
application/json
Task parameters
Prompt (required, max 5000 characters) - Text description for image generation
Required string length:
1 - 5000Example:
"A surreal painting of a giant banana floating in space, stars and galaxies in the background, vibrant colors, digital art"
Image size (optional, default 1:1) - Image aspect ratio
Available options:
1:1, 9:16, 16:9, 3:4, 4:3, 3:2, 2:3, 5:4, 4:5, 21:9, auto Example:
"1:1"
outputformat(optional)- imageoutputformat
Available options:
png, jpeg Example:
"png"
Response
OK
Task ID
Example:
"01234567-89ab-cdef-0123-456789abcdef"