edit_image
Edit or combine images using natural-language instructions, then refine iteratively by reusing the result. Saves the final output to a specified path.
Instructions
Edit or combine one or more input images with a natural-language instruction (style transfer, inpainting, compositing). Pass a prior output back in to keep refining. Saves to output_path.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"image_paths": "<image_paths>",
"output_path": "<output_path>"
},
"name": "edit_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| prompt | Yes | ||
| image_paths | Yes | One or more input image paths. | |
| output_path | Yes |