Models
Nano Banana API
Fast AI image generation and editing with Nano Banana
Nano Banana
Fast, efficient image generation from text prompts. Nano Banana also supports natural language image editing and upscaling. Powered by Google's Gemini 2.5 Flash.
Try it now: Use the Nano Banana Generator to create images without writing code.
Pricing
| Mode | Credits | Price (Pro Yearly) | Price (Pro Monthly) |
|---|---|---|---|
| Generate | 10 | $0.06 | $0.12 |
| Edit | 10 | $0.06 | $0.12 |
| Upscale | 5 | $0.03 | $0.06 |
Credits are deducted only on successful generation.
Endpoint
POST https://vicsee.com/api/v1/generateSee Authentication for API key setup.
Text to Image
Generate images from text descriptions.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | nano-banana |
| prompt | string | Yes | Description of the image to generate |
| options.aspectRatio | string | No | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 21:9 |
| options.outputFormat | string | No | png or jpeg (default: png) |
Example Request
curl -X POST https://vicsee.com/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana",
"prompt": "A serene mountain landscape at sunset, golden light reflecting on a calm lake, photorealistic",
"options": {
"aspectRatio": "16:9",
"outputFormat": "png"
}
}'Image Editing
Edit existing images using natural language instructions.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | nano-banana-edit |
| prompt | string | Yes | Description of the changes to make |
| options.image | string | Yes | URL of the image to edit |
| options.outputFormat | string | No | png or jpeg (default: png) |
Example Request
curl -X POST https://vicsee.com/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-edit",
"prompt": "Change the sky to a dramatic sunset with orange and purple clouds",
"options": {
"image": "https://example.com/landscape.jpg",
"outputFormat": "png"
}
}'Image Upscaling
Enhance image resolution with optional face enhancement.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | nano-banana-upscale |
| options.image | string | Yes | URL of the image to upscale |
| options.scale | number | No | 2 or 4 (default: 2) |
| options.enhanceFaces | boolean | No | Improve facial details (default: false) |
Example Request
curl -X POST https://vicsee.com/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-upscale",
"options": {
"image": "https://example.com/photo.jpg",
"scale": 4,
"enhanceFaces": true
}
}'Response
Success (200)
{
"taskId": "task_abc123xyz",
"status": "pending",
"model": "nano-banana",
"createdAt": "2025-12-29T12:00:00Z"
}Poll for completion using Tasks API.
Task Complete
{
"taskId": "task_abc123xyz",
"status": "completed",
"output": {
"url": "https://cdn.vicsee.com/outputs/image_xyz.png",
"width": 1024,
"height": 1024,
"format": "png"
}
}Related Models
- Nano Banana Pro - HD images up to 4K resolution