Developers & API

Is there a free background removal API?

Short answer

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.

Preview size covers a lot: avatars, thumbnails, docs, chat bots, demo apps and test fixtures. Full resolution is one credit — $9 for 100 — and previews let you check quality on your own images before paying anything.

The GitHub projects guide shows how to keep the key out of a public repo and includes a GitHub Actions workflow that runs free in pull requests.

Try it on your own photo

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

Get a free API key →

Related questions

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 →

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 →

Is the bgclear API compatible with remove.bg?

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.

Full answer →

All questions →