Gemini 2.5 Flash Image API
Nano Banana: Google's original Gemini image model
About this model
Gemini 2.5 Flash Image, known as Nano Banana, was Google’s first Gemini model that natively generates and edits images. Google highlights conversational editing, character consistency and combining multiple images.
It is the earlier generation relative to Gemini 3.1 Flash Image (Nano Banana 2) and Gemini 3 Pro Image (Nano Banana Pro), which Google positions for higher resolutions and fidelity.
Choose it for simple generation and edits; newer siblings are the choice when you need more control.
Use cases
- Quick image generation from a prompt
- Conversational photo edits
- Blending several images
Input and output
- Input
- Text and images
- Output
- Images
Developer
- Developer
- Type
- Picture
Gemini 2.5 Flash Image request example
Use https://gatelum.com/v1 as the base URL and pass google/gemini-2.5-flash-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-2.5-flash-image",
"prompt": "A lighthouse on a rocky shore at sunset, watercolor",
"n": 1
}
JSON