Google: google/gemini-3.1-flash-lite-image
Nano Banana 2 Lite
google/gemini-3.1-flash-lite-imageCapabilities
1
1K
Context length
—
Tokens
Max output tokens
—
Tokens
Type
Image
Google
Playground
Output
Ready to generate
Configure the options and submit a prompt. Generated images will appear here.
Pricing
Pricing breakdown
Usage-based pricing, broken down by billing item at your current rates.
40% off
Input tokens
Standard rate
0.15 credits / 1M
Output tokens
Standard rate
0.9 credits / 1M
Output image tokens
Standard rate
18 credits / 1M
Billing items are additive. Only one matching price tier applies to each item. Charges are calculated from actual usage per request, with each item rounded up.
API
cURL example
request.sh
POST
/v1beta/models/google/gemini-3.1-flash-lite-image:generateContentSynchronousGemini
curl "http://127.0.0.1:11113/v1beta/models/google/gemini-3.1-flash-lite-image:generateContent" \ -X POST \ -H "x-goog-api-key: $API_KEY" \ -H "Content-Type: application/json" \ -d '{ "contents": [ { "role": "user", "parts": [ { "text": "A quiet mountain lake." } ] } ], "generationConfig": { "responseModalities": [ "IMAGE" ] }}'Set your API_KEY environment variable before running. Keep your key server-side.