返回模型列表

Gemini 3.1 Flash Image Preview

googlegoogle/gemini-3.1-flash-image-preview

Google's latest image generation model with text and image input/output. Supports up to 14 input images combined into 1 output image, with conversational multi-turn editing capabilities.

上下文长度
131K
最大输出
33K
输入价格
$0.600每百万 Tokens
输出价格
$72.00每百万 Tokens

模态能力

文本图像文本图像

价格明细

类型费率
输入$0.600 每百万 Tokens
输出$72.00 每百万 Tokens

Image output tokens are $60/MTok. 1K image = ~1,120 tokens = ~$0.067/image.

支持参数

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-3.1-flash-image-preview",
    "prompt": "A cinematic product render with soft studio lighting"
  }'