AI Image Editor
ai_image_editorEdit photos with a prompt. $0.03 per image. Runs asynchronously: returns a generation_id; call get_generation until status is "completed".
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": "<image>",
"prompt": "<prompt>"
},
"name": "ai_image_editor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Photo to edit: public https URL or base64 data URI (image). | |
| prompt | Yes | What should change? (max 1000 characters) |