Nano Banana 2.1 API
Nano Banana 2.1 API through UplinkSwitch: $0.025 to $0.0678 per image, prepaid, no subscription. Google's image model on one key with every other model; a generation that fails is not charged.
nano-banana-2.1Imagesper image
Price · per image, USD
| Settings | Google price | UplinkSwitch |
|---|---|---|
| resolution 1K | $0.0336 | $0.025 |
| resolution 2K | $0.0504 | $0.0375 |
| resolution 4K | $0.113 | $0.0678 |
Charged when the request is accepted; refunded in full if the generation fails.
Call it · POST /v1/images/generations or POST /v1/generations
Python, OpenAI SDK
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-2.1",
prompt="A red paper boat on a calm blue pond, morning light",
)
print(result.data[0].url)Settings · in input
| Name | Type | Values | Default |
|---|---|---|---|
| prompt required | string | — | — |
| image_urls | urls | — | — |
| size | string | auto, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 | — |
| resolution | string | 1K, 2K, 4K | 1K |
Questions
- How much does the Nano Banana 2.1 API cost?
- From $0.025 per image. The price depends on the settings in the table and is fixed when the request is accepted.
- Is there a subscription?
- No. You add credit and each request is paid from it. There is no monthly fee and no minimum per request.
- What happens if a generation fails?
- It is refunded in full, automatically. You pay only for files you receive.
- How long are the files kept?
- Thirty days, at a URL on api.uplinkswitch.com. Download what you want to keep.
- Can I use the same key for other models?
- Yes. The same key calls every image, video, speech and 3D model and every chat model in the catalog.