edit
Modify images by specifying a mask and a text prompt. Uses Ideogram AI's V_2 or V_2_TURBO models to apply edits to targeted areas.
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": {
"image_file": "<image_file>",
"mask": "<mask>",
"prompt": "<prompt>",
"model": "<model>"
},
"name": "edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_file | Yes | ||
| mask | Yes | ||
| prompt | Yes | ||
| model | Yes |