Next-generation AI image generation powered by Gemini 3.1 Flash Image Preview
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_KEYNano Banana 2 (gemini-3.1-flash-image-preview) model identifier
nano-banana-2-new, nano-banana-2-new-edit Webhook callback URL for result notifications
"https://your-domain.com/callback"
Input parameters for generation