New image model APIs are live — view system announcements
Back to model catalog
ImageGoogleSave ≤47%

Gemini 3.1 Flash Image Preview 2K API

Gemini 3.1 Flash Image Preview is exposed through Pixapi with an OpenAI-compatible image API for developer products that need prompt-based generation and image editing.

2KEditingText to imageImage to image

Pricing details

Transparent usage pricing with no hidden fees. Pay only for successful outputs.

Gemini 3.1 Flash Image Preview · International API price comparison

Standard public rates, USD; 1 credit = $0.01. ≤ indicates the maximum saving among listed scenarios, not every request. Non-positive savings have no badge. International · Checked: 2026-09-06

RuleCreditsNotes
512px output4 / imageSave 20%Official: $0.05. Current official GA counterpart; confirm the channel preview version. Output fee only. https://ai.google.dev/gemini-api/docs/pricing
1K (1024px) output4 / imageSave 40%Official: $0.067. Current official GA counterpart; confirm the channel preview version. Output fee only. https://ai.google.dev/gemini-api/docs/pricing
2K (2048px) output6 / imageSave 40%Official: $0.1008. Current official GA counterpart; confirm the channel preview version. Output fee only. https://ai.google.dev/gemini-api/docs/pricing
4K (4096px) output8 / imageSave 47%Official: $0.151. Current official GA counterpart; confirm the channel preview version. Output fee only. https://ai.google.dev/gemini-api/docs/pricing

* Final billing follows the actual model output and dashboard records.

gemini-3.1-flash-image-preview-2k API facts

These fields are the citable integration facts for this model page.

Canonical model idgemini-3.1-flash-image-preview-2k
Provider shown on PixapiGoogle
Supported capabilitiesText to image, Image to image
API endpointsPOST /v1/images/generations, POST /v1/async/images/generations, POST /v1/images/edits, POST /v1/async/images/edits
Required request fieldsmodel, prompt
Returned output fieldscreated, data[].url
Starting credit cost6 Credits/image

gemini-3.1-flash-image-preview-2k professional API access

Gemini 3.1 Flash Image Preview 2K

Pixapi connects gemini-3.1-flash-image-preview-2k from Google behind one production-ready API contract, covering authentication, credit metering, response normalization, and dashboard visibility.

Get key

gemini-3.1-flash-image-preview-2k

Model ID

Google

Provider

6 Credits/image

Starting cost

2

Capabilities

Model features

Production capabilities for builders who need reliable creative model access.

Exact model id

Send gemini-3.1-flash-image-preview-2k in the model field.

Gemini 3.1 Flash Image Preview 2K pricing

Current catalog price for Gemini 3.1 Flash Image Preview 2K: 6 Credits/image.

Unified API contract

Use Gemini 3.1 Flash Image Preview 2K without provider-specific account setup, signatures, or response mapping.

Unified API contract

Use Gemini 3.1 Flash Image Preview 2K without provider-specific account setup, signatures, or response mapping.

Enterprise stability

Redundant infrastructure, request tracing, and a 99.9% availability target for production traffic.

Fast asset delivery

Generated media can be stored and distributed through Pixapi's global delivery layer.

Credit billing

Track usage and remaining credits from one dashboard across your connected models.

Use cases

Typical workflows where teams connect this model through Pixapi.

Product image generation

Create catalog images, ads, thumbnails, and concept art from prompts.

Reference-guided workflows

Use image editing inputs for product variants, style transfer, or controlled visual iterations.

Model comparison

Switch the model id to compare latency, cost, resolution, and prompt adherence across Gemini image models.

Application integration

Embed Gemini 3.1 Flash Image Preview 2K in SaaS products, internal tools, automations, and user-facing workflows.

Batch production

Run high-volume creative jobs with consistent costs, retries, and operational visibility.

Quick start

Connect the model in minutes with the same API key and billing account.

1

Create an account

Sign up for Pixapi and open your developer dashboard.

2

Add credits

Recharge once and use the balance across supported models.

3

Generate a key

Create an API key, choose the model id, and send your first request.

Frequently asked questions

What model id should I use for Gemini 3.1 Flash Image Preview 2K?

Use gemini-3.1-flash-image-preview-2k.

How is Gemini 3.1 Flash Image Preview 2K billed?

Current catalog price for Gemini 3.1 Flash Image Preview 2K: 6 Credits/image.

Which endpoint supports Gemini 3.1 Flash Image Preview 2K?

Use /v1/images/generations or /v1/images/edits, with async equivalents available.