Skip to content

AI Background Remover

This endpoint uses a Machine Learning engine to detect the primary subject of an image and strip away the background, returning a transparent, high-quality PNG.

POST /api/v1/remove-bg

The following parameters are accepted in the request body:

FieldTypeRequiredDescriptionExample
imageUrlstringYesA direct HTTP/HTTPS link to the image you want processed.https://example.com/photo.jpg
Terminal window
curl -X POST https://heavstal.com.ng/api/v1/remove-bg \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"imageUrl": "https://example.com/photo.jpg"}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"data": {
"original_url": "https://example.com/photo.jpg",
"url": "https://files.catbox.moe/transparent-bg.png"
}
}