Google: Nano Banana
Nano Banana image model for fast generation, edits, and character-consistent assets
- Model lab
- Model family
- gemini-flash
Quickstart
Use your Moduck API Key, set the API base URL to https://api.moduck.ai/v1, and set the model parameter to moduck/google/gemini-2-5-flash-image.
import os
import requests
base_url = "https://api.moduck.ai/v1"
api_key = os.environ["MODUCK_API_KEY"]
model_id = "moduck/google/gemini-2-5-flash-image"
response = requests.post(
f"{base_url}/chat/completions",
headers={
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
},
json={
"model": model_id,
"messages": [{"role": "user", "content": "Hello!"}],
"stream": False,
},
timeout=60,
)
response.raise_for_status()
print(response.json())Use the familiar OpenAI-style chat request format to make model integration easier.
Nano Banana API Pricing
| Type | Price information |
|---|---|
| Input | USD 0.24 / 1M tokens |
| Output | USD 24 / 1M tokens |
Performance
Performance trends
Availability
Nano Banana Compare models
| Model | Input price | Output price | Context window | Capabilities |
|---|---|---|---|---|
| Nano BananaThis page | USD 0.24 / 1M tokens | USD 24 / 1M tokens | 32,768 | Image output · Reasoning |
| Nano Banana 2.1 | USD 1.2 / 1M tokens | USD 24 / 1M tokens | 131,072 | Image output · Reasoning |
| Nano Banana 2 | USD 0.4 / 1M tokens | USD 48 / 1M tokens | 131,072 | Image output · Reasoning |
| Nano Banana 2 Preview | USD 0.4 / 1M tokens | USD 2.4 / 1M tokens | 65,536 | Image output · Reasoning |
| Nano Banana 2 Lite | USD 0.2 / 1M tokens | USD 1.2 / 1M tokens | 65,536 | Image output · Reasoning · Tool calling |
Model specifications
- Input
- text, image
- Output
- text, image
- Context window
- 32,768
- Maximum output
- 32,768
- Release date
- 2025-08-26
- Attachments
- Yes
- Reasoning
- Yes
- Tool calling
- No
- Temperature setting
- Yes
- Open weights
- No
Frequently asked questions
What is Nano Banana for?
Nano Banana image model for fast generation, edits, and character-consistent assets
What inputs and outputs does Nano Banana support?
Recorded inputs: text, images; outputs: text, images.
How is Nano Banana priced?
The pricing table shows the current recorded Moduck price. For example: Input USD 0.24 / 1M tokens; Output USD 24 / 1M tokens. See the pricing table for all units, variants, and conditions.
What specifications are recorded for Nano Banana?
Current model records list Context window 32,768 tokens; Maximum output 32,768 tokens.
What model parameter does the Quickstart use?
The example uses moduck/google/gemini-2-5-flash-image. This is a cataloged Moduck public or reserved ID; check your account’s available models before calling it.
Can I call this model through the Moduck API now?
This page has no verified Moduck API call for this model. A Quickstart example or reserved ID does not establish access; check the models available to your account.
Related models
No related catalog models are recorded for this model family.