gemini-2.5-flash-image
Built for image generation and editing, with stronger multimodal understanding, conversational edits, and rapid visual prototyping than earlier Gemini image capabilities. Compared with GPT Image, Qwen Image, and Seedream, it is useful for combining documents, images, and prompts in one visual workflow.
- Structured output
- Multimodal output
Try this model
Choose an aspect ratio and resolution to generate an image.
gemini-2.5-flash-imageInput
Generated result
Enter a prompt, choose your settings, and generate.
API
Code examples
curl --location --request POST 'https://api.tokenhot.ai/v1beta/models/gemini-2.5-flash-image:generateContent' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"contents": [
{
"role": "user",
"parts": [
{
"text": "draw a baby"
}
]
}
],
"generationConfig": {
"responseModalities": [
"TEXT",
"IMAGE"
],
"imageConfig": {
"aspectRatio": "16:9",
"imageSize": "2k"
}
}
}'FAQ
Frequently asked questions
What is gemini-2.5-flash-image best suited for?
gemini-2.5-flash-image is suited to the input, output, and capability types listed on this page. Test production workloads before choosing it for a critical system.
How is gemini-2.5-flash-image priced?
Pricing is shown in the pricing section above. Actual cost depends on usage volume, account group, and the request payload.
How can I call gemini-2.5-flash-image?
Use the model ID shown above with one of the supported API protocols. Code examples are provided when usage data is available.
Get started
Build with gemini-2.5-flash-image
API