Remove objects
erase_objectsRemove objects from a photo by describing them, for example "the cables on the desk" or "the person on the left". The rest of the image is kept pixel for pixel. Costs 25 credits (enhance 40, paid credits).
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>"
},
"name": "erase_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format. png keeps transparency everywhere; webp is smaller; jpg has no transparency. | |
| prompt | Yes | What to remove, in plain words. | |
| quality | No | fast (default) or enhance for harder scenes. | |
| image_url | No | Public http(s) URL of a JPG, PNG or WebP image (up to 25 MB). | |
| image_base64 | No | The image as base64 (or a data: URL), if there is no public URL. Prefer image_url for large files. |