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

ModeCreditsPrice (Pro Yearly)Price (Pro Monthly)
Generate10$0.06$0.12
Edit10$0.06$0.12
Upscale5$0.03$0.06

Credits are deducted only on successful generation.

Endpoint

POST https://vicsee.com/api/v1/generate

See Authentication for API key setup.


Text to Image

Generate images from text descriptions.

Request Parameters

ParameterTypeRequiredDescription
modelstringYesnano-banana
promptstringYesDescription of the image to generate
options.aspectRatiostringNo1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 21:9
options.outputFormatstringNopng 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

ParameterTypeRequiredDescription
modelstringYesnano-banana-edit
promptstringYesDescription of the changes to make
options.imagestringYesURL of the image to edit
options.outputFormatstringNopng 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

ParameterTypeRequiredDescription
modelstringYesnano-banana-upscale
options.imagestringYesURL of the image to upscale
options.scalenumberNo2 or 4 (default: 2)
options.enhanceFacesbooleanNoImprove 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"
  }
}