Nano Banana

Fast AI image generation with Google Gemini 2.5 Flash through VicSee API. Text-to-image, natural language editing, and upscaling. Multiple aspect ratios, 3-9 credits.

Try it now: Use the Nano Banana Generator to create images without writing code.

Pricing

ModeCreditsPrice (Pro Yearly)Price (Pro Monthly)
Generate9$0.054$0.108
Edit9$0.054$0.108
Upscale3$0.018$0.036

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-text-to-image
input.promptstringYesDescription of the image to generate
input.aspect_ratiostringNo1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 21:9
input.output_formatstringNopng 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-text-to-image",
    "input": {
      "prompt": "A serene mountain landscape at sunset, golden light reflecting on a calm lake, photorealistic",
      "aspect_ratio": "16:9",
      "output_format": "png"
    }
  }'

Image to Image

Edit existing images using natural language instructions.

Request Parameters

ParameterTypeRequiredDescription
modelstringYesnano-banana-image-to-image
input.promptstringYesDescription of the changes to make
input.image_urlsarrayYesArray with URL of the image to edit
input.output_formatstringNopng 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-image-to-image",
    "input": {
      "prompt": "Change the sky to a dramatic sunset with orange and purple clouds",
      "image_urls": ["https://example.com/landscape.jpg"],
      "output_format": "png"
    }
  }'

Image Upscaling

Enhance image resolution with optional face enhancement.

Request Parameters

ParameterTypeRequiredDescription
modelstringYesnano-banana-upscale
input.image_urlsarrayYesArray with URL of the image to upscale
input.scalenumberNo2 or 4 (default: 2)
input.face_enhancebooleanNoImprove 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",
    "input": {
      "image_urls": ["https://example.com/photo.jpg"],
      "scale": 4,
      "face_enhance": true
    }
  }'

Response

Success (200)

{
  "success": true,
  "data": {
    "id": "task_abc123xyz",
    "model": "nano-banana-text-to-image",
    "status": "pending",
    "creditsUsed": 9,
    "creditsRemaining": 991,
    "createdAt": "2026-02-11T12: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"
  }
}