Remove or Fill Masked Area
sirv_remove_objectRemove logos, people, reflections, or dust from an image by masking the area, or fill that masked region using a text prompt. Returns a new result URL without altering the source.
Instructions
Remove what a mask covers in one image, or fill that area from prompt. White areas in the mask image at mask_url mark what to change.
Use it to remove a logo, a person, a reflection or dust. For an edit without a mask, use sirv_edit_image.
The source image does not change. Returns the result URL.
Credits: spends workspace credits. The cost depends on the model and options.
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_url": "<image_url>",
"mask_url": "<mask_url>"
},
"name": "sirv_remove_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | What fills the masked area, up to 1000 characters. Without it, the tool removes what the mask covers | |
| mask_url | Yes | Public URL of a black and white mask image, the same size as the image. White marks the area to change | |
| image_url | Yes | Public URL of the image to edit |