Googlegemini-nano-banana-2.1
Gemini Nano Banana 2.1
Fast image generation and editing with sharper 4K output.
Nano Banana 2.1 is Google's fast image model for generating and editing from a conversation, with sharper 1K to 4K output, better text in images, and characters that stay consistent across turns.
- Image editing
- Text in images
- Consistent characters
Model details
- Context window
- 131K tokens
- Max output
- 33K tokens
- Input
- Text, images
- Output
- Text, images
- Capabilities
- Vision, Streaming
- Interfaces
- OpenAI-style Image Generation
Pricing
What each generation costs. The Inferray price is what you are charged — no gateway fee is added on top of it.
| Resolution | Price |
|---|---|
| 1K | $0.034 |
| 2K | $0.050 |
| 4K | $0.076 |
Why teams pick it
- Sharper output at 1K, 2K, and 4K
- Better text rendering inside images
- Keeps characters consistent across edits
Call Gemini Nano Banana 2.1
Gemini Nano Banana 2.1 answers on the API below — pick the one your code already speaks and just swap in your Inferray key.
/v1/images/generationsOpenAI-style Image Generation · openai SDK or plain HTTP
curl https://api.inferray.com/v1/images/generations \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-nano-banana-2.1",
"prompt": "a quartz crystal on a workbench",
"n": 1
}'