Background Remover API Reference
Upload any image and the AI model removes the background, returning a transparent PNG. Processing runs in your browser — your image is never uploaded to our servers. Supports JPG, PNG, WebP, and more.
Endpoint
/api/background-removerFull URL: https://quickhelp.dev/api/background-remover
Request
Content-Type: application/json. No authentication required for the anonymous free tier (30 req/min per IP).
| Field | Type | Required | Description |
|---|---|---|---|
| image | string | Yes | Base64-encoded image data (no data-URL prefix) |
Response
Returns application/json. On error, returns a JSON object with an error string field and an appropriate HTTP status code.
| Field | Type | Description |
|---|---|---|
| image | string | Base64-encoded transparent PNG with background removed |
Example
Remove background from a photo
curl
curl -X POST https://quickhelp.dev/api/background-remover \
-H 'Content-Type: application/json' \
-d '{"image":"<base64-image>"}'Request body
{
"image": "<base64-image>"
}Response
{
"image": "<base64-transparent-png>"
}Error codes
| Status | Meaning |
|---|---|
| 200 | Success — result in response body |
| 400 | Bad request — invalid input; error field describes the problem |
| 404 | Tool not found |
| 429 | Rate limit exceeded (30 req/min anonymous, 300 req/min free key) |
| 500 | Internal server error — transient; retry with exponential back-off |
OpenAPI spec
The full OpenAPI 3.1 specification for all tools is available at /openapi.json. Import it into Postman, Insomnia, or any OpenAPI-compatible client to get all endpoints with schema validation automatically.