B

Background Remover API

Freemium

Remove image backgrounds in one call — transparent PNG/WebP cut-outs or a solid-colour background, from a file, URL or base64.

5.0 (1)
2.9Popularity100%Service Level3,386msLatency
Imageremove backgroundimage background removalproduct photostransparent png

Documentation

Remove the background from any photo with a single API call — people, products, animals, cars and more.

What you get

  • Transparent PNG or WebP cut-outs, or a JPG on any solid colour
  • Send a file upload, an image URL, or base64
  • Optional crop to subject, custom background colour, and mask-only output
  • Fast: typically 2–5 seconds per image, up to 10 MB / 4096 px

Great for e-commerce product photos, profile pictures, marketplaces, design tools and print-on-demand.

Quick start

POST /v1/remove-background with the image as multipart/form-data in the field image:

curl -X POST "https://background-remover.p.apihiver.com/v1/remove-background" \
  -H "x-api-key: YOUR_API_KEY" \
  -F image=@photo.jpg -o result.png

Or send JSON with image_url or image_base64:

{ "image_url": "https://example.com/photo.jpg", "output_format": "webp", "crop": true }

Options

OptionValuesDefault
output_formatpng, webp, jpgpng
bg_colorHex colour, e.g. #FFFFFF or #FFFFFF80transparent (white for jpg)
croptrue / false — trim to the subjectfalse
only_masktrue / false — return the black & white maskfalse
responseimage (raw bytes) or json (base64 + metadata)image

Response

By default the processed image is returned directly (image/png, image/webp or image/jpeg), with headers
X-Processing-Time-Ms, X-Image-Width and X-Image-Height. With response=json you get
{ image_base64, content_type, width, height, processing_time_ms }.

Limits & errors

Max upload 10 MB; images larger than 4096 px on the long side are scaled down. Supported inputs: JPG, PNG, WebP, GIF, BMP, TIFF.

Errors are JSON: {"error": {"code": "...", "message": "..."}} — MISSING_IMAGE, INVALID_IMAGE, INVALID_PARAMETER,
INVALID_IMAGE_URL, IMAGE_URL_UNREACHABLE (400), IMAGE_TOO_LARGE (413), UNSUPPORTED_CONTENT_TYPE (415), SERVER_BUSY (503).

Background Remover API FAQ

Is the Background Remover API free?
Yes. The Basic plan is free and includes 50 requests per month — no card needed. Paid plans start at ₹499 per month for 2,000 requests.
How much does the Background Remover API cost?
Basic: free for 50 requests; Pro: ₹499/month for 2,000 requests; Ultra: ₹1,999/month for 10,000 requests; Mega: ₹4,999/month for 30,000 requests. Billing is monthly and you can cancel any time.
How do I use the Background Remover API?
Subscribe to a plan on APIHiver, create an API key in the Console, then send requests to https://background-remover.p.apihiver.com with your key in the X-API-Key header. You can also try every endpoint in the browser playground first.
What endpoints does the Background Remover API have?
It has 1 endpoint: Remove Background (POST /v1/remove-background).
What are the Background Remover API rate limits?
Basic: 1 request per second; Pro: 2 requests per second; Ultra: 4 requests per second; Mega: 8 requests per second. Monthly quotas depend on the plan; every response includes X-RateLimit headers showing what's left.
Can I use one API key for the Background Remover API and other APIs?
Yes. One APIHiver key works for every API you subscribe to, so you don't need a separate account or key per provider.

Reviews

Loading reviews…

Log in to write a review.

Endpoints

1 endpoint — full list is in the sidebar on larger screens.