ai_edit
Edit images using AI with natural language prompts. Supports single and multi-image editing for visual content modification.
Instructions
Edit images using AI with natural language prompts. Supports single and multi-image editing. Cost: $0.15. Requires Tier 1+.
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": {
"media_url": "<media_url>",
"prompt": "<prompt>"
},
"name": "ai_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_url | Yes | URL of the primary image to edit | |
| prompt | Yes | Natural language instruction for editing | |
| additional_images | No | Up to 2 additional reference image URLs | |
| aspect_ratio | No | Output aspect ratio (default: match input image) | match_input_image |
| seed | No | Random seed for reproducible results |