Gemini

Gemini 2.5 Flash Image Preview

GoogleToken-based
Alias:gemini-2.5-flash-image-preview
Create API Key
Starting price
Input / Output · 1M
Context
—
Maximum input window
Modalities
→

Pricing by Supplier

Google AI Studio
-50%
谷歌官方接口
Input$0.3$0.15/ 1M
Output$30$15/ 1M
Google Vertex
-30%
谷歌官方接口
Input$0.3$0.21/ 1M
Output$30$21/ 1M

Capabilities / Supported modalities

No capabilities reported for this model.
Input
Output

Provider & data privacy

Provider
GoogleDocs
Tokenizer
SentencePiece (Gemini)
License
Proprietary (commercial)Proprietary
Data retention19 daysNot used for upstream training by default

Performance

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows

Metrics sourced fromArtificial Analysis 2026-09-30·Gemini 2.5 Flash Image Preview

This model is not included in the current benchmark snapshot.

Missing models or measurements are not zero scores.

Benchmark charts preserve the source model selection and reasoning settings. Missing models or measurements are not zero scores, and benchmark cost or speed is not this site’s service commitment.

About Gemini 2.5 Flash Image Preview

Use Gemini 2.5 Flash Image Preview through the API endpoints listed on this page. Compare its configured capabilities and supplier prices before choosing an integration.

Use cases and prompting

Starting points for evaluation; supported inputs and options are listed in API access.

Use cases to explore

  • Evaluate this model with a small sample from your actual workflow.

Practical tips

Start with the documented input format and compare the output against your acceptance criteria before scaling up.

API access

API documentation

gemini-2.5-flash-image-preview

Use the linked documentation for model-specific request parameters and examples.

Code samples

RequestPOST/v1beta/models/gemini-2.5-flash-image-preview:generateContent
Example request
Parameters
ParameterTypeDefault / rangeDescription
promptrequired
string—Text description of the desired image
size
enum
=1024x1024
Output image size
quality
enum
=standard
Generation quality preset
style
enum
=vivid
Aesthetic style
n
integer
=11 ~ 10
Number of images to generate
response_format
enum
=url
How to deliver the resulting image

Replace <YOUR_API_KEY> with the API key from your token settings.

Authentication

All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.

Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.

Supported parameters

Generation parameters
ParameterTypeDefault / rangeDescription
promptrequired
string—Text description of the desired image
size
enum
=1024x1024
Output image size
quality
enum
=standard
Generation quality preset
style
enum
=vivid
Aesthetic style
n
integer
=11 ~ 10
Number of images to generate
response_format
enum
=url
How to deliver the resulting image

Rate limits

SupplierRPMTPMRPD
Google AI StudioUnlimitedUnlimitedUnlimited
Google VertexUnlimitedUnlimitedUnlimited

No restriction

Frequently asked questions about gemini-2.5-flash-image-preview

What is gemini-2.5-flash-image-preview?

Use gemini-2.5-flash-image-preview through the API endpoints listed on this page. Compare its configured capabilities and supplier prices before choosing an integration.

How do I call gemini-2.5-flash-image-preview?

Create an API key with access to gemini-2.5-flash-image-preview, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is gemini-2.5-flash-image-preview priced?

Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.

How should I evaluate gemini-2.5-flash-image-preview for my project?

Start with the documented input format and compare the output against your acceptance criteria before scaling up.