gemini-2.5-flash-image

by Google

Gemini 2.5 Flash Image (Nano-Banana) is a state-of-the-art image generation and editing model that enables seamless blending of multiple images into a single composition while maintaining character consistency for rich visual storytelling. It supports precise, targeted image transformations through natural language instructions and leverages built-in world knowledge for both image generation and editing, making it well suited for creative design, content production, advertising, and visual expression workflows.

API Pricing

Input$0.3 / 1M tokens
Output$2.5 / 1M tokens

Specifications

Context window32,800 tokens
Modalitiesimage, text

FAQ

What is gemini-2.5-flash-image?

Gemini 2.5 Flash Image (Nano-Banana) is a state-of-the-art image generation and editing model that enables seamless blending of multiple images into a single composition while maintaining character consistency for rich visual storytelling. It supports precise, targeted image transformations through natural language instructions and leverages built-in world knowledge for both image generation and editing, making it well suited for creative design, content production, advertising, and visual expression workflows.

What is the context length of gemini-2.5-flash-image?

gemini-2.5-flash-image has a 32,800 token context window.

How much does gemini-2.5-flash-image cost?

On AIHubMix, gemini-2.5-flash-image costs $0.3 per million input tokens and $2.5 per million output tokens.

What modalities does gemini-2.5-flash-image support?

gemini-2.5-flash-image accepts image and text input.

How do I call gemini-2.5-flash-image via API?

gemini-2.5-flash-image is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to gemini-2.5-flash-image — no other code changes needed.

Who develops gemini-2.5-flash-image?

gemini-2.5-flash-image is developed by Google. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More from Google

gemini-3.6-flash

by Google

Gemini 3.6 Flash provides sustained frontier-level intelligence optimized for real-world…

$1.5/1M in · $7.5/1M out
1,048,576 tokens context

gemini-3.1-flash-lite-image

by Google

Google's newest, most compact, and most cost-effective image generation and editing…

$0.25/1M in · $1.5/1M out

gemini-3.5-flash-lite

by Google

Gemini 3.5 Flash-Lite is a low-latency, cost-effective multimodal model optimized for…

$0.3/1M in · $2.5/1M out
1,048,576 tokens context

gemini-3.5-flash-lite-free

by Google

Gemini 3.5 Flash-Lite free version: Free model resources are limited and provided only…

1,048,576 tokens context

gemini-3.6-flash-free

by Google

Gemini 3.6 Flash free version: fFree model resources are limited and provided only for…

1,000,000 tokens context

gemini-3.5-flash

by Google

Gemini 3.5 Flash provides sustained frontier-level intelligence optimized for real-world…

$1.5/1M in · $9/1M out
1,000,000 tokens context

Use gemini-2.5-flash-image via the AIHubMix unified API — one interface for every major LLM.