APIMODELSAPIMODELS
All
Models/gemini-3.1-flash-image
Google

Gemini 3.1 Flash Image API

gemini-3.1-flash-image

gemini-3.1-flash-image is the GA release of Google's Gemini 3.1 Flash Image (Nano Banana 2): low-latency text-to-image and conversational editing at 512, 1K, 2K or 4K, with 1K and 2K priced the same. Its fidelity ceiling is below gemini-3-pro-image. Call it from $0.04 per image (1K/2K $0.06); failed requests are not charged.

2K $0.06 — 40% off official1K and 2K same price99.8% success rateText to Image + Editing
512$0.040/image
1K$0.060/image
2K$0.060/image
4K$0.100/image
99.8% success over the last 30 days
Content-policy refusals and malformed requests excluded. Failed calls are never billed.
API Docs

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

99.8% success rate

4,045 real calls over the last 30 days, 99.8% succeeded; median 38 seconds per image

Editing included

Conversational edits on the same endpoint and price

TL;DR gemini-3.1-flash-image is a Google image generation model, callable via APIMODELS' unified API (model name `gemini-3.1-flash-image`). Pricing: 512: $0.04, 1K: $0.06, 2K: $0.06, 4K: $0.1. One API key for all image / video / LLM / audio models.

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 over the last 30 days: a 99.8% success rate across 4,045 successful calls, with a median of 38 seconds per image. 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
  • 99.8% success rate -- 4,045 real calls over the last 30 days, 99.8% succeeded; median 38 seconds per image
  • 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 right after signup; pay by card, PayPal, Alipay or USDT
  • Full Documentation -- Detailed API docs with code examples in cURL, Python, and Node.js

Frequently Asked Questions

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 4,045 successful calls in the last 30 days: the median is 38 seconds, i.e. half of all requests return within 38s, at a 99.8% success rate. The mean is 45.5s — a minority of heavy requests pulls the average up, which is why the median is the honest number for typical experience. p90 is about 76 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) 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.

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, 99.8% success rate, Text to Image + Editing. See the APIMODELS docs for full parameters and call examples.

Can I use the gemini-3.1-flash-image API from any country, including mainland China?

Yes. APIMODELS does not restrict access by country: the site and the API answer requests from anywhere, and apimodels.app and api.apimodels.app are reachable directly from mainland China without a proxy. You call gemini-3.1-flash-image with one APIMODELS key, so you do not need a separate account with the model's developer.

What payment methods are supported? Can I pay with PayPal or crypto?

Yes to both. You can top up with a card (Visa, Mastercard and others, through Stripe), PayPal, Alipay, or USDT on TRON (TRC20) or BNB Smart Chain (BEP20). Card, PayPal and Alipay top-ups are credited immediately; USDT is credited once the transfer confirms on-chain. Auto top-up is optional, and a $50 top-up adds a $1 bonus ($3 on a $100 top-up). The balance is in USD and billed per use, with no subscription.

Related models

Need prompts?

We curate copy-ready prompt libraries — every entry shows its full text and a sample result, ready to adapt.