Remove Background
Downloads a PNG, JPEG, WebP or BMP from a public URL and runs ISNet background removal on the media worker. Returns a transparent PNG as base64.
receipt_long
Why 25 credits?
Runs an ONNX segmentation model on the worker. That is GPU/CPU-heavy compared with hashing or DNS, so it sits well above the one-credit floor.
Any HTTP client works. Replace the key with one from your dashboard.
bash
curl -X POST https://toolkitbackend-j69m.onrender.com/api/v1/tools/remove-background \
-H "Authorization: Bearer tb_live_<your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"fileUrl": "https://example.com/product.jpg"
}'Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
fileUrl | string | required | - | Publicly reachable URL of the image. |
Output
| Field | Type | Description |
|---|---|---|
fileBase64 | string | Transparent PNG, base64-encoded, without a data URI prefix. |
mimeType | string | Always image/png. |
fileName | string | Suggested download name. |
sizeBytes | integer | Size of the decoded PNG. |
Try it
Sends a real POST /api/v1/tools/remove-background from your browser and charges 25 credits to your account.
Sign in to run this endpoint. New accounts start with free credits.