edit_image
Modify existing images using text instructions with Google Gemini AI. Add, remove, or alter elements by describing the changes you want to apply to your image file.
Instructions
Modify an existing image using Google Gemini AI based on a text instruction. Provide the path to the image you want to edit and describe the changes that should be applied.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | Yes | Describe the changes that should be applied to the provided image. Be specific about elements to add, remove, or modify. | |
image | Yes | Path to the image file that should be edited. Can be absolute or relative to the server. | |
outputPath | No | Optional path where the edited image should be saved. If omitted, saves in the current working directory using an auto-generated filename. |
Input Schema (JSON Schema)
{
"properties": {
"description": {
"description": "Describe the changes that should be applied to the provided image. Be specific about elements to add, remove, or modify.",
"type": "string"
},
"image": {
"description": "Path to the image file that should be edited. Can be absolute or relative to the server.",
"type": "string"
},
"outputPath": {
"description": "Optional path where the edited image should be saved. If omitted, saves in the current working directory using an auto-generated filename.",
"type": "string"
}
},
"required": [
"description",
"image"
],
"type": "object"
}