
Gemini 3.1 Flash Image API
gemini-3.1-flash-imagegemini-3.1-flash-image is Google's GA release of its efficient image model — high-quality generation and conversational editing at low latency, built for speed and high-throughput apps. Priced by resolution: $0.04 (512), $0.06 (1K and 2K alike), $0.10 (4K). Against Google's list price the 2K tier is the standout: $0.06 vs $0.101, 40% less. Because 1K and 2K cost the same here, moving up to 2K is free — at Google it is a 50% increase. Measured on our own traffic, half of all requests return in 14 seconds (median of 5,802 successful calls, 97.2% success rate). Text-to-image and reference-image editing across every tier. For maximum fidelity see gemini-3-pro-image; both share the same unified endpoint, so switching is a one-string change.
Generate Image
Result
Generated image will appear here
Enter a prompt and click Generate
2K for $0.06
Google lists $0.101 for the same tier — 40% less here
2K costs no more than 1K
Same $0.06 either way; at Google 2K is +50% over 1K
14s median
Half of 5,802 real calls returned inside 14s; 97.2% succeeded
Editing included
Conversational edits on the same endpoint and price
About gemini-3.1-flash-image
gemini-3.1-flash-image is an Image Generation API provided by Google. gemini-3.1-flash-image is Google's GA release of its efficient image model — high-quality generation and conversational editing at low latency, built for speed and high-throughput apps. Priced by resolution: $0.04 (512), $0.06 (1K and 2K alike), $0.10 (4K). Against Google's list price the 2K tier is the standout: $0.06 vs $0.101, 40% less. Because 1K and 2K cost the same here, moving up to 2K is free — at Google it is a 50% increase. Measured on our own traffic, half of all requests return in 14 seconds (median of 5,802 successful calls, 97.2% success rate). Text-to-image and reference-image editing across every tier. For maximum fidelity see gemini-3-pro-image; both share the same unified endpoint, so switching is a one-string change. Through APIMODELS platform, you can access this model via a unified API with transparent pay-as-you-go pricing. Current pricing: 512: $0.04, 1K: $0.06, 2K: $0.06, 4K: $0.1.
Related model: gpt-image-2 — the most reliable in-image text rendering here — 1K $0.025, 2K $0.03, 4K $0.05
Related model: nanobanana2 — the same Gemini 3.1 Flash on the preview channel — $0.05 at 1K/2K, $0.01 less than this GA page
Related model: nanobananapro — Gemini 3 Pro Image — the highest fidelity and text-rendering ceiling
Key Features
- 2K for $0.06 -- Google lists $0.101 for the same tier — 40% less here
- 2K costs no more than 1K -- Same $0.06 either way; at Google 2K is +50% over 1K
- 14s median -- Half of 5,802 real calls returned inside 14s; 97.2% succeeded
- Editing included -- Conversational edits on the same endpoint and price
Use Cases
E-commerce Product Images
Generate high-quality product visuals for online stores, ads, and marketing materials.
Social Media Content
Create eye-catching visual content for social platforms to boost engagement and brand visibility.
Game Asset Generation
Produce concept art for characters, scenes, and props to accelerate game development.
Marketing Materials
Design posters, banners, and promotional graphics at a fraction of traditional design costs.
Why APIMODELS
- Unified API -- One API key to access all models, no need to register on multiple platforms
- Transparent Pricing -- Pay-as-you-go with per-call pricing published on every model page, ideal for indie developers and startups
- Instant Access -- Start using immediately after signup, supports Stripe and Alipay payments
- Full Documentation -- Detailed API docs with code examples in cURL, Python, and Node.js
Frequently Asked Questions
How much does gemini-3.1-flash-image cost?
gemini-3.1-flash-image is available through APIMODELS at: 512: $0.04, 1K: $0.06, 2K: $0.06, 4K: $0.1. Billing is pay-as-you-go — you only pay for what you generate.
How to use gemini-3.1-flash-image API?
Sign up at APIMODELS, get your API key, and call our unified API endpoint. We provide detailed API documentation with code examples in cURL, Python, and Node.js.
What is the difference between APIMODELS and the official Google API?
APIMODELS offers the same gemini-3.1-flash-image model through our aggregation platform. We provide a unified API interface so you do not need separate accounts for each provider - one API key to access all models.
How much does gemini-3.1-flash-image cost, and how does that compare to Google?
On apimodels.app it is priced per image by resolution: $0.04 (512), $0.06 (1K), $0.06 (2K), $0.10 (4K) — flat per image, not per token. Google's list price is $0.067 (1K), $0.101 (2K), $0.151 (4K), so the 2K tier is 40% less here, 4K is 34% less, and 1K is 10% less. The 2K tier is the one worth knowing: 1K and 2K both cost $0.06 here, so moving up to 2K costs nothing, while at Google 2K is 50% more than 1K.
How fast is gemini-3.1-flash-image?
Measured on apimodels.app over 5,802 successful calls in the last 14 days: the median is 14 seconds, i.e. half of all requests return within 14s, at a 97.2% success rate. The mean is 24.8s — a minority of heavy requests pulls the average up, which is why the median is the honest number for typical experience. p90 is about 55 seconds.
How do I call gemini-3.1-flash-image? Do I need a Google Cloud account?
No Google Cloud account is needed. Sign up at apimodels.app for an API key and POST to /api/v1/images/generations with model="gemini-3.1-flash-image". There is no Google Cloud project to create, no billing account to attach to Google, and no region to configure; the endpoint is reachable from mainland China. The same key and endpoint also serve every other image, video and LLM model on the platform — switching models is a one-string change.
gemini-3.1-flash-image vs gemini-3-pro-image — which should I use?
gemini-3.1-flash-image is the fast, affordable option ($0.06 at 2K, 14s median) and suits batch generation, interactive apps and high-throughput workloads. gemini-3-pro-image has the higher ceiling on fidelity and text rendering, from $0.08. Use Flash for everyday volume and Pro for finished deliverables. Both sit on the same endpoint at apimodels.app, so moving between them changes one string, not your integration.
Does gemini-3.1-flash-image support image editing?
Yes — conversational editing runs on the same endpoint at the same price. Send a reference image plus a natural-language instruction ("change the background to an evening beach") and the model edits while preserving the subject. Text-to-image and reference-image editing are both available at 512, 1K, 2K and 4K with no surcharge.
Why use apimodels.app instead of calling Google directly?
Three reasons: (1) $0.06 at 2K against Google's $0.101 — 40% less — with 1K and 2K priced identically; (2) no Google Cloud project, billing account or region setup, and the endpoint works from mainland China; (3) one key covers every image, video, audio and LLM model on the platform rather than one integration per vendor. The honest trade-off: we are an aggregator, so in the worst case availability depends on upstream, and a direct Google integration gives you a firmer SLA.
How does gemini-3.1-flash-image compare to other Image Generation models?
On APIMODELS, gemini-3.1-flash-image runs alongside 60+ models on one API key and one balance, so choosing is about fit, not lock-in. It supports 2K $0.06 — 40% off official, 1K and 2K same price, 14s median, Text to Image + Editing, and you can weigh it on price and capability against other Image Generation models, then switch by changing a single model-name string — no new account or integration. Browse every Image Generation option with live pricing at apimodels.app/models.
What can gemini-3.1-flash-image do?
gemini-3.1-flash-image supports: 2K $0.06 — 40% off official, 1K and 2K same price, 14s median, Text to Image + Editing. See the APIMODELS docs for full parameters and call examples.
Can I access the gemini-3.1-flash-image API from anywhere (incl. China)?
Yes. APIMODELS exposes gemini-3.1-flash-image through a single unified API and one key — no separate provider accounts, and no need to handle each provider's regional network access yourself.
What payment methods are supported?
We support Stripe (Visa, Mastercard, and other international cards) and Alipay. Credits are available instantly after payment.
Related models
GPT Image 2.5 prompt examples
See all 238 →Prompts shared by their authors — copy and adapt them. Each one credits its author and links back to the original post.

Weathered sailor on a fishing boat
Create a photorealistic candid photograph of an elderly sailor standing on a small fishing boat. He has weathered skin with visible wrinkles…
by OpenAI

Automatic coffee machine workflow infographic
Create a detailed Infographic of the functioning and flow of an automatic coffee machine like a Jura. From bean basket, to grinding, to scal…
by OpenAI

Thread streetwear ad with exact typography
Give me a cool in culture ad / fashion shot for a brand called Thread. It's a hip young street brand. The ad shows a group of friends hangin…
by OpenAI
Need prompts?
We curate copy-ready prompt libraries — every entry shows its full text and a sample result, ready to adapt.
Related reading
How to get access, regional availability, and how this model compares with its alternatives.