Developers & API

Is the bgclear API compatible with remove.bg?

Short answer

For the fields almost every integration uses — image_file, image_url, image_file_b64, size, format, bg_color, crop — yes: same names, same meaning. You change the base URL and the auth header (X-Api-Key becomes Authorization: Bearer). Not supported: zip output and the type, roi, scale, position and add_shadow parameters.

Responses are image bytes by default, as on remove.bg, with X-Credits-Charged and X-Credits-Remaining headers; send Accept: application/json for metadata and a hosted result URL. Errors are JSON with stable codes and the same important status codes (400, 402, 429).

Before/after code, the field table and a five-step checklist are on the migration page; the community SDKs for remove.bg hard-code its host, so replace the call with the plain HTTP snippet.

Try it on your own photo

Free, unlimited, no signup, no watermark. About five seconds per image.

Migration guide →

Related questions

Does bgclear have an API?

Yes. The bgclear REST API removes backgrounds with one HTTP call — multipart or JSON in, PNG/WebP/JPG out — plus async jobs up to 50 MP, batches of 50 images, callbacks and usage endpoints. Its request fields match remove.bg's. Preview-size results are free; full resolution is one credit.

Full answer →

How much does the bgclear API cost?

Credit packs, no subscription: $9 for 100 credits ($0.09 per image), $39 for 500 ($0.078) and $129 for 2,000 (about $0.065). One credit is one full-resolution image; preview-size results (up to 800 px) are free and unlimited. Credits never expire and failed requests are never charged.

Full answer →

Is there a free background removal API?

Free tiers rather than fully free APIs. bgclear gives unlimited free preview-size results (up to 800 px, no watermark) and 10 full-resolution credits with your first key, plus a free plan on RapidAPI. The open-source rembg is free to run on your own hardware.

Full answer →

All questions →