Gemini

Gemini 2.5 Flash Image Preview

Google按量收費
Alias:gemini-2.5-flash-image-preview
起始價格
輸入 / 輸出 · 1M
上下文
—
最大輸入窗口
模態
→

Pricing by Supplier

Google AI Studio
省50%
谷歌官方接口
輸入$0.3$0.15/ 1M
輸出$30$15/ 1M
Google Vertex
省30%
谷歌官方接口
輸入$0.3$0.21/ 1M
輸出$30$21/ 1M

能力 / 支援的模態

該模型暫未報告任何能力。
輸入
輸出

廠商與數據私隱

供應商
Google文件
分詞器
SentencePiece (Gemini)
許可證
Proprietary (commercial)商業閉源
數據保留19 日預設不會用於上游訓練

效能

基準測試

標準化評測得分。百分比越高越好,並展示排名百分位。

指標來源:Artificial Analysis 2026-09-30·Gemini 2.5 Flash Image Preview

目前基準快照不包含此模型。

缺少模型或測量值不代表零分。

基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。

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 介面文件

gemini-2.5-flash-image-preview

請查看對應文件,了解此模型的請求參數與呼叫範例。

呼叫示例

請求POST/v1beta/models/gemini-2.5-flash-image-preview:generateContent
請求範例
參數
參數類型預設值 / 範圍說明資訊
prompt必填
string—想要生成圖像的文字描述
size
enum
=1024x1024
輸出圖像尺寸
quality
enum
=standard
生成品質預設
style
enum
=vivid
畫風
n
integer
=11 ~ 10
生成的圖像數量
response_format
enum
=url
圖像結果的返回方式

替換 <YOUR_API_KEY> 替換為令牌設定中的 API Key。

身份驗證

所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。

在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。

支援的參數

Generation parameters
參數類型預設值 / 範圍說明資訊
prompt必填
string—想要生成圖像的文字描述
size
enum
=1024x1024
輸出圖像尺寸
quality
enum
=standard
生成品質預設
style
enum
=vivid
畫風
n
integer
=11 ~ 10
生成的圖像數量
response_format
enum
=url
圖像結果的返回方式

速率限制

供應商RPMTPMRPD
Google AI Studio無限制無限制無限制
Google Vertex無限制無限制無限制

無限制

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.