Google: gemini-2.5-flash-image
gemini-2.5-flash-image
Gemini 2.5 Flash Image (Nano-Banana) is an advanced image generation and editing model that can naturally merge multiple images into a single composition while keeping characters consistent across iterative creation. It supports precise local image edits through natural language and combines strong world knowledge with image generation and editing, making it a strong fit for creative design, content production, advertising, and visual storytelling.
Provider: Google|Input types
Output types|Publish Time: None
Group price
Price information for different user groups
Auto Group routing → default
| Group | Billing type | Input Price | Output Price |
|---|---|---|---|
| default | Pay as you go | $0.3000 / M tokens | $30.0000 / M tokens |
Provider
Pricing$0.3000 / M tokens
Input video-
Input audio-
Web Search-
Cache pricing-
Context window-
Max output-
Latency397 ms
Throughput170 TPS
Availability97.50%
Image output
API call example
Connect quickly using the standard OpenAI-compatible APIPython
1
import openai2
3
client = openai.OpenAI(4
api_key="<YOUR_API_KEY>",5
base_url="http://localhost:3000/v1"6
)7
8
response = client.chat.completions.create(9
model="gemini-2.5-flash-image",10
messages=[11
{"role": "user", "content": "What model are you?"}12
]13
)14
15
print(response.choices[0].message.content)