Gemini: gemini-2.5-flash-image
gemini-2.5-flash-image
Our best engine for high-velocity visual creation, offering state-of-the-art speed and efficiency.
text → image
Modalities
In / Out Price
40% off$0.18/ 1M
$0.3 Official price
$1.5/ 1M
$2.5 Official price
65.536K
Context
Oct 2, 2025
Released
Providers
This model is hosted by one provider. Requests are forwarded to it directly, with no routing decisions to make.
Call this model in three steps.
1
Get your API key
Create a key and set your API key and base URL as environment variables.
Create API KeyEnvironment
export UNIROUTER_API_KEY="<YOUR_API_KEY>"
export UNIROUTER_BASE_URL="https://api.tokatlas.com/v1"2
Choose a request format
Choose the format supported by your selected route.
3
Make your first request
Model ID: gemini-2.5-flash-image
from openai import OpenAI
client = OpenAI(
base_url="https://api.tokatlas.com/v1",
api_key="<YOUR_API_KEY>",
)
response = client.chat.completions.create(**{
"model": "gemini-2.5-flash-image",
"messages": [
{
"role": "user",
"content": "Explain quantum entanglement."
}
],
"temperature": 0.7
})
print(response)Endpoint
Creates a model response for the given chat conversation.
- POST
- https://api.tokatlas.com/v1/chat/completions
- Authorization
- Bearer $UNIROUTER_API_KEY
- Content-Type
- application/json