返回模型列表
Gemini 2.5 Flash Image Preview
googlegoogle/gemini-2.5-flash-image-preview
Image generation model built on Gemini 2.5 Flash with conversational, multi-turn editing capabilities. Supports text and image input/output for creative workflows.
上下文长度
33K
最大输出
33K
输入价格
$0.360每百万 Tokens
输出价格
$36.00每百万 Tokens
模态能力
文本图像→文本图像
价格明细
| 类型 | 费率 |
|---|---|
| 输入 | $0.360 每百万 Tokens |
| 输出 | $36.00 每百万 Tokens |
Image output tokens are $30/MTok. Matches Vertex AI pricing.
支持参数
temperaturemax_tokenstop_presponse_formatstop
API 使用示例
cURL
curl https://api.therouter.ai/v1/images/generations -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "google/gemini-2.5-flash-image-preview",
"prompt": "A cinematic product render with soft studio lighting"
}'