edit_image
Edit existing local images by describing the desired change. Supply image paths and a prompt to get edited images saved to your disk.
Instructions
Edit one or more existing local image files using a text instruction.
image_paths must be paths to existing image files on disk (e.g. a photo or a
previously generated image) describing what to edit; prompt describes the desired
change. The edited image(s) Gemini returns are saved to disk and appended to the
cumulative HTML gallery; this tool returns the absolute paths of the new images plus
the gallery path so the result can be viewed.
Parameters
prompt: str
Instructions describing the desired edit.
image_paths: list[str]
Paths to existing local image files to edit.
model: str | None, optional
Model name/alias/id to use (see list_models). Defaults to the server's
configured default model, or the account's own default if unset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| prompt | Yes | ||
| image_paths | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |