Gemini 3.1 Flash Lite Image API
Google's fastest Gemini image generation and editing model
About this model
Gemini 3.1 Flash-Lite Image, also called Nano Banana 2 Lite, is the lightest image model in Google’s Gemini image line. Google describes it as its fastest and most cost-efficient image generation and editing model, based on Gemini 3.1 Flash-Lite.
Google’s documentation lists support for interleaved generation and editing, multi-turn local edits, 14 aspect ratios, and output optimized for 1K resolution. Outputs carry an invisible SynthID watermark.
Choose it for speed and volume; Gemini 3.1 Flash Image and Gemini 3 Pro Image are the siblings to pick when you need more reference images, higher resolutions or higher fidelity.
Use cases
- Quick image drafts and variations
- Local edits such as color swaps and backgrounds
- Stickers and lightweight graphics
Input and output
- Input
- Text and images
- Output
- Images
Developer
- Developer
- Type
- Picture
Gemini 3.1 Flash Lite Image request example
Use https://gatelum.com/v1 as the base URL and pass google/gemini-3.1-flash-lite-image in the model field. You create the key in your account after signing up.
curl --silent --show-error --fail-with-body \
--header 'Authorization: Bearer glt_YOUR_KEY' \
'https://gatelum.com/v1/images/generations' \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "google/gemini-3.1-flash-lite-image",
"prompt": "A lighthouse on a rocky shore at sunset, watercolor",
"n": 1
}
JSON