API Reference
Erase logo from image
Remove logos from an image. This API supports automatic detection and removal, or manual removal within a selected region.
Model:
remove-logoCredit:5
post
/v1/images/remove-logoAuthorization — This endpoint requires an API key. Pass it in the api-key header on every request. Learn more
Parameters
| Name | Type | Status | Description |
|---|---|---|---|
input_image | file | Required | The image file (or URL) to remove logo from. |
input_mask | file | Optional | RGBG mask image (or URL) for manual logo selection. If not provided, the API will automatically detect and remove the logo. |
predict_mode | string | Optional | Predict mode for the logo removal. 3.0 is faster for small images (<= 1024). 4.0 gives the best quality for general cases.3.04.0 (default: 3.0) |
Responses
Logo erased successfullySingleImageResponse
| Field | 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-logo" \
-H "api-key: YOUR_API_KEY" \
-F "input_image=@./image.jpg" \
-F "input_mask=@./image.png" \
-F "predict_mode=3.0"Response
{
"created": 1745827200,
"data": [
{
"url": "https://outputs.snapapi.ai/outputs/abc123.png"
}
]
}
