Appearance
Gemini 3.1 Flash Lite Image
gemini-3.1-flash-lite-image is Google's Nano Banana 2 Lite image model. It is optimized for velocity, scale, and low cost when speed and price are the primary constraints.
Google notes that this Lite model is not optimized for multiple reference inputs or multi-turn sequential editing. Use it for fast 1K generation and simple edit workflows; use gemini-3.1-flash-image-preview when reference consistency or broader output tiers matter more.
API surface
| Operation | Endpoint | Mode |
|---|---|---|
| Image generation | POST /v1/images/generations | Sync |
| Image generation task | POST /v1/async/images/generations | Async |
| Image editing | POST /v1/images/edits | Sync |
| Image editing task | POST /v1/async/images/edits | Async |
Pricing
| Model id | Output tier | Credits / image |
|---|---|---|
gemini-3.1-flash-lite-image | 1K | 2 |
Request fields
This model uses the same OpenAI-compatible image fields as the rest of Pixapi.
| Field | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Use gemini-3.1-flash-lite-image. |
prompt | string | Yes | Describe the desired image or edit. |
image | string or string[] | Required for edits | Input image URL. Prefer a single reference image for this Lite model. |
n | number | No | Number of images to return. |
size | string | No | Output aspect ratio such as 1:1, 4:3, 3:4, 16:9, or 9:16. |
Example
json
{
"model": "gemini-3.1-flash-lite-image",
"prompt": "A fast product thumbnail for an API dashboard",
"n": 1,
"size": "1:1"
}For the shared response shape and edit upload example, see the API Reference.
