Background removal API
Automate cut-outs from your stack — sync calls, batches and signed webhooks.
Before and after
Examples from our own demo images — original on the left, cut-out on the right.
Teams that already manage media in code need a background removal API — not only a browser editor. bgready exposes HTTP endpoints so your backend can upload a product image, receive a cut-out and continue into resize, CDN upload or marketplace export.
What you can automate
- Synchronous remove calls for interactive tools
- Batch-oriented jobs for catalogue drops
- Signed webhooks when asynchronous work finishes
- The same credit ledger as the website and plugins
Authentication uses API keys created in your account. Send the key on each request as described in the API documentation. Rotate keys if they leak; never embed them in public mobile apps without a backend proxy.
Designing a reliable pipeline
- Validate content type and size before upload.
- Call remove (or enqueue a job) and handle documented error codes.
- Store the result URL or bytes in your own storage promptly — bgready retention is short.
- Derive channel-specific outputs (white Amazon square, transparent master, WebP for web).
Idempotency matters: if your importer retries, avoid double-charging by tracking prediction or job IDs on your side. Respect rate limits; back off on 429 responses.
Compatibility and migration
Some environments expect remove.bg-style parameters. Depending on configuration, a compatibility path may be available — check the current docs and any migration notes on the site. Prefer the native /api/v1/ routes for new builds so you get full feature coverage (modes, backgrounds, webhooks).
Editor, plugins and API together
The API does not replace the editor. Use the editor for prompt design and QA; lock parameters into your API client once approved. Shopify and WooCommerce plugins wrap the same processing stack for merchants who will not write HTTP clients — Shopify, WooCommerce.
Security notes
Upload only images you have rights to process. Strip customer PII from filenames if your compliance policy requires it. Use HTTPS endpoints exclusively. Webhook receivers should verify signatures before trusting callbacks.
Pricing model
Free preview quotas and HD credit costs are listed on pricing and in the docs. AI scene generation, when enabled through the product UI, follows separate credit rules — keep API remove separate from creative generation unless you intentionally combine them.
Getting started
Create an account, generate a key, and run the curl example from the docs against a sample product photo. Then wire the same call into your importer. For volume planning, read bulk background removal.
Related pages
Remove background from product photos covers the human workflow; transparent PNG maker explains alpha exports your API consumers may expect.
Open the API docs to create a key and send your first remove request.
Client libraries and testing
Start with curl or a minimal HTTP client in your language, then wrap retries and metrics. Log latency and credit outcomes without logging raw image bytes. In CI, hit a staging key with a tiny fixture image so deploys prove authentication still works. Document whether your app expects transparent PNG or white JPEG so frontends do not guess.
When webhooks are unavailable in a network, poll job status with backoff instead of tight loops. Combine API remove with your own resize service rather than bloating responses with every derivative at once.
Ready to try it?
Upload a product photo and get a free preview cut-out.
Read the API docsFAQ
How do I authenticate?
Create an API key in your account and send it with each request as documented in the API reference.
Is there a remove.bg-compatible endpoint?
A compatibility path may be available depending on configuration. See the API docs and migration notes for current endpoints.
Do previews cost credits?
Free preview quotas and HD credit costs are listed in pricing and the docs. Design your pipeline around those rules.
Can I get notified when a job finishes?
Yes. Configure webhooks for asynchronous jobs so your system receives signed callbacks.