Google
Nano Banana 2 (gemini-3.1-flash-image-preview) Image Generation
Next-generation AI image generation powered by Gemini 3.1 Flash Image Preview
POST
Documentation Index
Fetch the complete documentation index at: https://docs.vidgo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Nano Banana 2 (gemini-3.1-flash-image-preview) Image Generation
Next-generation AI image generation powered by Google’s Gemini 3.1 Flash Image Preview. Delivers native 2K / 4K resolution images with precise multilingual text rendering, chain-of-thought understanding of physical relationships, and support for up to 14 reference images.Available Models
- nano-banana-2-new - Text-to-image and image-to-image generation
- nano-banana-2-new-edit - Advanced image editing capabilities
Authorizations
All API endpoints require Bearer Token authentication
Get your API Key:
Visit the API Key Management Page to get your API Key
Add it to the request header:
Authorization: Bearer YOUR_API_KEYBody
application/json
Nano Banana 2 (gemini-3.1-flash-image-preview) model identifier
Available options:
nano-banana-2-new, nano-banana-2-new-edit Webhook callback URL for result notifications
Example:
"https://your-domain.com/callback"
Input parameters for generation