gemini-2.5-flash-imageImageExamples verified 2026-09-25Gemini 2.5 Flash Image
The previous Flash Image at $0.0387 / image, 1K only.
- Official price
- $0.0387/ image
- Size tiers
- 1K
- Images per request
- 1–101K ≤ 10
- Reference images
- Up to 14Recommended ≤ 3 · ≤ 25 MiB each
- Aspect ratios
- 1:1 2:3 3:2 3:4 4:3 4:5 5:4 9:16 16:9 21:9
- Not supported (returns 400)
- mask、background=transparent
Notes
- Masks and transparent backgrounds aren't supported and return 400.
- The "Gemini Official Direct" group has no /v1/images/edits; pass reference images in image / images on generations.
- 1K only. Use up to 3 reference images (the gateway accepts up to 14).
Pricing
Official price in USD. Actual charge = official price × group multiplier.
- 1K
- $0.0387 / image
- Per token · Input
- $0.30 / 1M tokens
- Per token · Cached input
- $0.03 / 1M tokens
- Per token · Output (incl. images)
- $30 / 1M tokens
Endpoints
- POST
/v1/images/generations - POST
/v1/images/edits - GET
/v1/images/tasks?task_id={task_id}