remove-wirelineRemove wires, cables, and line objects from an image using a mask. input_mask can come from the Detect Wires API and may be manually modified before removal.
/v1/images/remove-wiresCredit cost: 4
Authorization — This endpoint requires an API key. Pass it in the api-key header on every request. See the quickstart
| Name | Type | Status | Description |
|---|---|---|---|
input_image | file | Required | Image file or URL to erase wires from. |
input_mask | file | Required | Wire mask image file or URL. Can be generated by the Detect Wires API and modified manually. |
Wires erased successfullySingleImageResponse
| Name | Type | Description |
|---|---|---|
created | integer | Unix timestamp of when the response was created |
data | object[] | |
url | string | URL to download the result image |
curl -X POST "https://api.snapapi.ai/v1/images/remove-wires" \
-H "api-key: YOUR_API_KEY" \
-F "input_image=@./image.jpg" \
-F "input_mask=@./image.png"{
"created": 1745827200,
"data": [
{
"url": "https://outputs.snapapi.ai/outputs/abc123.png"
}
]
}