Text generation / Google
gemini-3.1-flash-lite-image
API name: gemini-3.1-flash-lite-image_t
Overview
Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) is Google's fastest, most cost-efficient Gemini image model, built for high-velocity developer pipelines and rapid-fire visual exploration. It delivers text-to-image generation in roughly 4 seconds — about 2.7× faster than Gemini 3.1 Flash Image — while keeping the character consistency, precise editing, and real-world knowledge of the Nano Banana family.
- Model type: Text generation
- Input: Text / Image
- Output: Text / Image
- Endpoints: chat
Tiered billing details
| Tier | Input | Output |
|---|---|---|
| Fallback tier | $0.0003/1K | $0.0300/1K |
Billed bylen (input context token count). Coefficient is the $ / 1M tokens price. Default group price (other groups converted by discount).
Code example
Call with gemini-3.1-flash-lite-image_t :
curl https://www.starunion.net/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-flash-lite-image_t",
"messages": [{ "role": "user", "content": "Hello" }]
}'