gemini-3.1-flash-image-preview
Gemini 3.1 Flash Image Preview, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines...
Capabilities
Modalities
Quick stats
Performance
Supported parameters
| Parameter | Always | Default |
|---|---|---|
| frequency_penalty | - | (do not send) |
| include_reasoning | - | |
| max_tokens | - | |
| presence_penalty | - | (do not send) |
| reasoning | - | |
| repetition_penalty | - | (do not send) |
| response_format | - | |
| seed | - | |
| stop | - | - |
| structured_outputs | - | - |
| temperature | (do not send) | |
| top_k | - | (do not send) |
| top_p | (do not send) |
Pricing
| Price per request | $0.55 · request |
| Context window | 131.1K tokens |
| Compatible endpoints | openai, gemini |
| Vendor |
Call gemini-3.1-flash-image-preview from your code
Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.
curl https://api.unorouter.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-flash-image-preview",
"messages": [{"role": "user", "content": "Hello!"}]
}'Frequently asked questions
How much does gemini-3.1-flash-image-preview cost per request?
gemini-3.1-flash-image-preview is billed at a fixed $0.55 per request.
How do I access gemini-3.1-flash-image-preview via API?
Send requests to the UnoRouter /v1/chat/completions endpoint with model=gemini-3.1-flash-image-preview. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.
What is the context window of gemini-3.1-flash-image-preview?
gemini-3.1-flash-image-preview supports a context window of 131.1K tokens, shared between your prompt and the model's response.
Similar models
Try gemini-3.1-flash-image-preview now
Create an API key and start making requests in under a minute.