modifyImage
Modify images using natural language instructions, with options to control strength and preserve original style.
Instructions
Modify existing images with text instructions
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": {
"imageBase64": "<imageBase64>",
"instructions": "<instructions>"
},
"name": "modifyImage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strength | No | Modification strength from 0 to 1 (optional) | |
| imageBase64 | Yes | Base64 encoded image data | |
| instructions | Yes | Instructions for modifying the image | |
| preserveStyle | No | Whether to preserve the original style (optional) |