gemini-3.1-flash-image
Provided by Google · Image model
Parameters
| Context window | 131K tokens |
|---|
| Max output | 33K tokens |
|---|
| Input modalities | image, text |
|---|
| Output modalities | image, text |
|---|
Capabilities
Vision inputReasoningStructured output
Official pricing
Tiers
| 0.5K | $0.045 |
|---|
| 1K | $0.067 |
|---|
| 2K | $0.101 |
|---|
| 4K | $0.151 |
|---|
Call example
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.1-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"}]}]}'