Gemini Premium Image Operational

Nano Banana 2 API: pricing, code samples & live stats

Google Nano Banana 2. Images from text or edits from a reference image. Best at keeping faces and products consistent and at writing clean text. Good for product photos, banners, and mockups. 1 image = 3M tokens.

Model ID

nano-banana-2

Sign up with Google, no payment. API key ready instantly.

Price per image

$0.068

Based on the Saver package; $0.041 per image on Raja.

Packages from $0.55. Pay with QRIS, Indonesian bank transfer, or crypto (USDT). Tokens never expire.

API

Use Nano Banana 2 in one minute

Base URL https://router.bangunweb.com/v1, an API key from your dashboard, and model ID nano-banana-2. Copy, swap the key, run.

curl
curl https://router.bangunweb.com/v1/images/generations \
  -H "Authorization: Bearer bwr_live_..." \
  -H "Content-Type: application/json" \
  -d '{"model": "nano-banana-2", "prompt": "Minimalist coffee shop banner, cream background", "size": "1024x1024"}'
Python
import base64, requests

r = requests.post(
    "https://router.bangunweb.com/v1/images/generations",
    headers={"Authorization": "Bearer bwr_live_..."},
    json={"model": "nano-banana-2", "prompt": "Minimalist coffee shop banner, cream background", "size": "1024x1024"},
    timeout=300,
)
r.raise_for_status()
img = r.json()["data"][0]
if img.get("b64_json"):
    open("hasil.png", "wb").write(base64.b64decode(img["b64_json"]))
else:
    print(img["url"])

API docs →Beginner guide →

Similar models

One API key for all of them. Just change the model ID.

See all 65 models →

Questions about the Nano Banana 2 API

How much does the Nano Banana 2 API cost?

About $0.068 per image (Saver package). Bigger packages are cheaper per token.

How do I pay?

Buy a token package in the dashboard, from $0.55. Pay with QRIS, Indonesian bank transfer, or crypto (USDT).

Which endpoint do I use?

POST https://router.bangunweb.com/v1/images/generations with model="nano-banana-2" and a text prompt. Same format as OpenAI Images.

Try it free today

2M free tokens for new Google accounts. Start telling an AI to build your app right away.