Google: google/gemini-3.1-flash-image
gemini-3.1-flash-image
Hot
google/gemini-3.1-flash-imageCapabilities
2
Output resolution
4K
0.5K1K2K4K
Output aspect ratio
15
1:12:33:2
Release date
2026-05-28
Google
Playground
Output
Ready to generate
Configure the options and submit a prompt. Generated images will appear here.
Pricing
Pricing breakdown
Usage-based pricing, broken down by billing item at your current rates.
20% off
Input tokens
Standard rate
0.5 credits / 1M0.4 credits / 1M
Input image tokens
Standard rate
0.3 credits / 1M
Output tokens
Standard rate
3 credits / 1M2.4 credits / 1M
Output image tokens
Standard rate
60 credits / 1M48 credits / 1M
Billing items are additive. Only one matching price tier applies to each item. Each request is calculated exactly from actual usage, and the total is rounded up once to the nearest 0.000001 credits.
Rate limits
Rate limits
Per-account quota for this model. Account-level limits in the console apply on top and the stricter one wins.
| Limit | Per account | Notes |
|---|---|---|
| Requests per minute | Unlimited | Refill is continuous; an idle account can send a full minute's quota at once. |
| Concurrent requests | Unlimited | Counts requests in flight at the same moment, per account. |
| Requests per day | Unlimited | Not enforced on this model. |
These are the platform defaults per customer. Limits you configure for an API key or wallet also apply, and the strictest one takes effect. Exceeding a limit returns 429 with a Retry-After header; when every channel for the model is at capacity the request returns 503 instead.
API
cURL example
request.sh
POST
/v1beta/models/google/gemini-3.1-flash-image:generateContentSynchronousGemini
curl "https://api.modelrover.ai/v1beta/models/google/gemini-3.1-flash-image:generateContent" \ -X POST \ -H "x-goog-api-key: $API_KEY" \ -H "Content-Type: application/json" \ -d '{ "contents": [ { "role": "user", "parts": [ { "text": "A quiet mountain lake." } ] } ], "generationConfig": { "responseModalities": [ "IMAGE" ] }}'Set your API_KEY environment variable before running. Keep your key server-side.