Nano Banana 2 API
Google's image generation and editing model. Price is for a 1K image; 2K costs 1.5x and 4K costs 2x.
Pricing
| Usage | USD | PKR |
|---|---|---|
| Image per image | $0.104 | Rs 29.1 |
PKR prices are approximate and depend on the exchange rate on the day you top up.
Quick start
Create an API key in your dashboard, then call nano-banana-2:
Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(base_url="https://api.appsgrid.co/v1", api_key="ag_sk_...")
image = client.images.generate(
model="nano-banana-2",
prompt="A cozy cafe in Lahore at golden hour, photorealistic",
)
print(image.data[0].url)cURL
curl https://api.appsgrid.co/v1/images/generations \
-H "Authorization: Bearer $APPSGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "nano-banana-2", "prompt": "A cozy cafe at golden hour"}'FAQ
- How much does the Nano Banana 2 API cost?
- Image: $0.104 (Rs 29.1) per image. You are only charged for what you use.
- Can I pay for Nano Banana 2 in Pakistani rupees?
- Yes. Top up your AppsGrid balance in PKR with a local card or bank account, or in USD with an international card. The same balance works for every model.
- Do I need a separate Google account?
- No. Your AppsGrid API key gives you access to Nano Banana 2 and every other model in the catalog.