Models / Gemini Nano Banana 2.1

Gemini Nano Banana 2.1

Proprietary

Gemini Nano Banana 2.1 — Google Gemini image generation, via the yylx gateway.

google/gemini-nano-banana-2.1
Context Window
0
Max Output
0
Released
2026-10

Capabilities

image_gen

Price

Prices shown are the official rate published by the model provider, before any platform discounts. Your actual rate may be lower based on your account's discount tier.

PriceLatency p50Latency p95Status
$7.50 /image5000ms20000ms

Quick Start

Python
import magicrouter

mr = magicrouter.Client(api_key="mr-your-key")

response = mr.chat(
    "google/gemini-nano-banana-2.1",
    "Your prompt here"
)
print(response.choices[0].message.content)
TypeScript
import { MagicRouter } from "magicrouter";

const mr = new MagicRouter({ apiKey: "mr-your-key" });

const response = await mr.chat({
  model: "google/gemini-nano-banana-2.1",
  messages: [{ role: "user", content: "Your prompt here" }]
});
console.log(response.choices[0].message.content);
cURL
curl https://api.magicrouter.ai/v1/chat/completions \
  -H "Authorization: Bearer mr-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-nano-banana-2.1",
    "messages": [{"role": "user", "content": "Your prompt here"}]
  }'

Use this model

Sign up for free and test Gemini Nano Banana 2.1 in the playground

Get Started