Edit Image
edit_imageModify an existing image by describing desired changes in a text prompt, then save the result as PNG, JPEG, or WebP.
Instructions
Edit an existing image using a text prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model override. Default "gemini-nano-banana-2.1"; "gemini-3-pro-image" is best for complex multi-turn edits. | |
| prompt | Yes | Description of the desired changes | |
| temperature | No | Creativity level 0.0-2.0 | |
| output_format | No | File format: "png", "jpeg", or "webp" | png |
| output_filename | No | Custom filename for edited image (optional) | |
| input_image_path | Yes | Path to the image to edit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||