Nano Banana Pro API

Price per image, and how to call it with the OpenAI SDK or one generations endpoint.

Checked 2026-10-12

·All guides·Models

Price per image

Model1K2K4K
Nano Banana Pronano-banana-pro$0.0804Google $0.134$0.0804Google $0.134$0.144Google $0.24
Nano Banana 2nano-banana-2$0.0402Google $0.067$0.0606Google $0.101$0.0906Google $0.151
Nano Banana 2.1nano-banana-2.1$0.025Google $0.0336$0.0375Google $0.0504$0.0678Google $0.113

Per 1,000 images, Nano Banana Pro is $80.4 at 1K, $80.4 at 2K and $144 at 4K. Editing costs the same as generating. A second line under a price is Google's own price for the same image.

Generate an image

Nano Banana Pro answers POST /v1/images/generations the way OpenAI does, so the OpenAI SDK works as it is. size picks the aspect ratio and resolution; the call waits for the image.

nano_banana.py
from openai import OpenAI

client = OpenAI(base_url="https://api.uplinkswitch.com/v1", api_key="sk-uplink-live-...")
result = client.images.generate(
    model="nano-banana-pro",
    prompt="A ceramic mug on a wooden table, soft morning light",
    size="1536x1024",  # 3:2 at 2K
)
print(result.data[0].url)

Edit an image

Send the source images in image_urls to nano-banana-pro-edit. The request comes back at once; poll GET /v1/generations/{id} until it is done.

shell
curl https://api.uplinkswitch.com/v1/generations \
  -H "Authorization: Bearer $UPLINK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "nano-banana-pro-edit",
    "input": {
      "prompt": "Put the mug on a marble counter",
      "image_urls": ["https://example.com/mug.png"],
      "resolution": "2K"
    }
  }'

Files and billing

The price is set and charged when the request is accepted, and a failed generation is refunded in full. Images are served from api.uplinkswitch.com for 30 days. Every setting and price is in the model page and at GET /v1/catalog/media.

Questions

What is the model id?
nano-banana-pro to generate, nano-banana-pro-edit to edit images you send.
What does a 4K image cost?
$0.144 an image. 1K and 2K are $0.0804.
Is there a subscription?
No. Prepaid credit from $10, with no subscription or monthly fee.
What if a generation fails?
It is refunded in full, automatically. You pay only for images you receive.
Nano Banana Pro API: price per image and setup | UplinkSwitch