Image
Gemini 2.5 Flash Image
Edit supplied images with Gemini 2.5 Flash Image and a text instruction.
- Image editing
Sign in to create. Review the credit cost in the studio before running.
Catalog preview for Gemini 2.5 Flash Image. Review your own result before publishing.
A starting point.
Revise a background, combine references or change a subject’s appearance with explicit preservation instructions.
Before you publish.
Compare source identity, boundaries and any text that the edit should retain.
Review the quote before running. A failed generation releases its reserved credits. Download the results you want to keep; stored media is retained for 30 days.
Settings and model questionsCheck the available settings and guidance when preparing your input.
Inputs and settings
Provide image_urls and a prompt of at least three characters. Identify each reference’s role rather than giving conflicting directions.
Choose aspect_ratio and JPEG, PNG or WebP output. Start with one image; this Raywake operation offers no resolution or strength control.
Inputs, all modes and APIModel IDs, current input limits and the API generation workflow.
Supported inputs
These fields come from the current studio form for gemini-25-flash-image/edit. Other modes may require different inputs.
| Input | Type | Requirement | Options and limits |
|---|---|---|---|
image_urls | List | Required | — |
prompt | Text | Required | Min. characters: 3 · Max. characters: 50000 |
aspect_ratio | Text | Optional | auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16 |
limit_generations | On/off | Optional | — |
num_images | Whole number | Optional | ≥ 1 · ≤ 4 |
output_format | Text | Optional | jpeg, png, webp |
safety_tolerance | Text | Optional | — |
seed | Whole number | Optional | — |
Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.
Use Gemini 2.5 Flash Image through the API.
Start with this model ID for the endpoint featured on this page:
gemini-25-flash-image/edit
Input requirements belong to this model ID. Check a different mode’s schema separately when switching modes.
Check the current model schema for supported inputs and options. Other tasks may use different model IDs.
From quote to result.
Request a credit quote for your input and settings before submitting a generation. A sample output or the price of another model is not a quote for your request.
Follow the generation workflow, then poll the job for its status and result. The API and studio use the same balance.