Back to Models
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.
Context Length
33K
Max Output
33K
Input Price
$0.360/ 1M tokens
Output Price
$36.00/ 1M tokens
Modalities
textimage→textimage
Pricing Breakdown
| Type | Rate |
|---|---|
| Input | $0.360 / 1M tokens |
| Output | $36.00 / 1M tokens |
Image output tokens are $30/MTok. Matches Vertex AI pricing.
Supported Parameters
temperaturemax_tokenstop_presponse_formatstop
API Usage Examples
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"
}'