Google: Gemini 3.1 Flash Image
One API key. Live prices. Ready-to-run code.
Gemini 3.1 Flash Image, also known as Nano Banana 2, is Google's high-efficiency native image generation and conversational editing model.
Served on OneInfer by Google, fal and DeepInfra. Use it with the same API key and pay-as-you-go wallet as every other model in the catalog.
google/gemini-3.1-flash-imageTry Gemini 3.1 Flash Image in OneInfer Studio
Describe a picture and get images to download. No code or API key; sign in with your OneInfer account.
Call Gemini 3.1 Flash Image in 5 steps
Google, fal and DeepInfra serve this model. The pricing table below lists each provider’s rate.
- Image generation
- $0.060 / image
- Context
- 128K
- Input
- text, image
- Output
- text, image
- Tool calling
- Supported
About this model
Gemini 3.1 Flash Image, also known as Nano Banana 2, is Google's high-efficiency native image generation and conversational editing model. It is optimized for low-latency, high-volume image workloads and supports high-quality image generation, editing, improved text rendering, multiple aspect ratios, search-informed generation, and resolutions up to 4K.
Input modalities
text
Accepted as model input
image
Accepted as model input
Providers
Available routing options for this model through OneInfer.
- Available
- Image generation
- $0.067 / image
- Routing
- OneInfer optimized
- Available
- Image generation
- $0.060 / image
- Routing
- OneInfer optimized
- Available
- Image generation
- $0.075 / image
- Input image
- $0.0011 / image
- Routing
- OneInfer optimized
Pricing
Current OneInfer pricing for this model.
| Usage | Price |
|---|---|
| Image generationstandard, auto | $0.060 / image |
Performance and benchmarks
Independent evaluations and live cluster operational metrics
We haven’t measured this model yet.
API guide
Generate your access token
Use your API key to generate the JWT access token required by the Models API.
Add the JWT token
Copy the generated JWT token and replace
JWT_TOKENin the example below.Check your credits
If your balance is too low, before calling the model.
Run the API example
Choose your preferred language, copy the example, and send your first model request.
curl -X POST https://api.oneinfer.ai/v1/ula/generate-image \ -H "Authorization: Bearer YOUR_JWT_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "model": "google/gemini-3.1-flash-image", "messages": [ { "role": "user", "content": "A futuristic city skyline at dusk" } ], "number": 1, "size": "auto", "quality": "standard" }'
Community reviews and ratings
Visitor and developer evaluations of Google: Gemini 3.1 Flash Image's real-world intelligence, code accuracy, and speed
Top community tags
No community reviews yet
Be the first to share developer feedback on Google: Gemini 3.1 Flash Image's latency, code accuracy, and reliability in production.