Skip to content

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

OperationEndpointMode
Image generationPOST /v1/images/generationsSync
Image generation taskPOST /v1/async/images/generationsAsync
Image editingPOST /v1/images/editsSync
Image editing taskPOST /v1/async/images/editsAsync

Pricing

Model idOutput tierCredits / image
gemini-3.1-flash-lite-image1K2

Request fields

This model uses the same OpenAI-compatible image fields as the rest of Pixapi.

FieldTypeRequiredDescription
modelstringYesUse gemini-3.1-flash-lite-image.
promptstringYesDescribe the desired image or edit.
imagestring or string[]Required for editsInput image URL. Prefer a single reference image for this Lite model.
nnumberNoNumber of images to return.
sizestringNoOutput 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.