nano-banana-2-lite
Provided by Google · Image model
Parameters
| Context window | 66K tokens |
|---|---|
| Max output | 4K tokens |
| Input modalities | text, image |
| Output modalities | image |
Official pricing
| Input | $0.25/M |
|---|
Tiers
| 1K | $0.0336 |
|---|---|
| 2K | $0.05 |
| 4K | $0.075 |
Call example
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.1-flash-lite-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"}]}]}'