gemini-2.5-flash-image
Provided by Google · Image model
Parameters
| Context window | 33K tokens |
|---|---|
| Max output | 8K tokens |
| Input modalities | image, text |
| Output modalities | image, text |
Capabilities
Official pricing
| Input | $0.3/M |
|---|
Tiers
| 1K | $0.039 |
|---|
Call example
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-image:generateContent" -H "x-goog-api-key: $GEMINI_API_KEY" -H "Content-Type: application/json" -d '{"contents":[{"parts":[{"text":"a red fox in a snowy forest"}]}]}'