edit_image
Modify an existing image file using a text prompt and optional reference images for style transfer or element addition.
Instructions
Edit a SPECIFIC existing image file, optionally using additional reference images. Use this when you have the exact file path of an image to modify.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
imagePath | Yes | Full file path to the main image file to edit | |
prompt | Yes | Text describing the modifications to make to the existing image | |
referenceImages | No | Optional array of file paths to additional reference images to use during editing (e.g., for style transfer, adding elements, etc.) |
Input Schema (JSON Schema)
{
"properties": {
"imagePath": {
"description": "Full file path to the main image file to edit",
"type": "string"
},
"prompt": {
"description": "Text describing the modifications to make to the existing image",
"type": "string"
},
"referenceImages": {
"description": "Optional array of file paths to additional reference images to use during editing (e.g., for style transfer, adding elements, etc.)",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"imagePath",
"prompt"
],
"type": "object"
}