edit_image
Edit images using natural language prompts, preserving the original style and lighting. Provide an image and describe the desired changes.
Instructions
Edit an image using a prompt. Provide one input image via base64 or file 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": "<image>"
},
"name": "edit_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Describe the edit; the model matches original style and lighting. | |
| image | Yes | One input image | |
| saveToFilePath | No | Optional path to save the edited image |