remove.bg API closes 1 December 2026
Moving off remove.bg? Change one line.
NoBG takes the same image_file upload and the same X-Api-Key header, and returns the PNG in the same response. Swap the URL and the key, and your code keeps working.
20 free credits when you sign up. No card needed.
- https://api.remove.bg/v1.0/removebg+ https://api.nobg.space/v1/remove -H "X-Api-Key: your_nobg_key" -F "[email protected]"
Your code,
two lines changed.
Lines starting with − are your remove.bg call. Lines starting with + are the NoBG version. Copy gives you the NoBG version only.
curl -X POST \ "https://api.remove.bg/v1.0/removebg" \ "https://api.nobg.space/v1/remove" \ -H "X-Api-Key: $REMOVE_BG_KEY" \ -H "X-Api-Key: $NOBG_API_KEY" \ -F "[email protected]" \ -o no-bg.png
What stays the same, and what doesn't.
The same
- image_file
- The same multipart upload field.
- X-Api-Key
- The same header name. Authorization: Bearer also works.
- PNG in the response
- One request returns the image. No job to poll, no webhook.
- 402 and 429
- Out of credits returns 402. Too many requests returns 429 with Retry-After.
Different
- Endpoint
- POST https://api.nobg.space/v1/remove
- Options are ignored
- size, format, type, crop, bg_color and the other options are not read. You always get a transparent PNG at the size you uploaded.
- Upload the file
- image_url and image_file_b64 are not supported. Download the image first and send it as image_file.
- Always binary
- Accept: application/json is ignored. The body is always the PNG.
- Error shape
- A wrong key returns 401, not 403. Errors look like {"error": "insufficient_credits"}, not an errors array.
- Credits header
- X-Credits-Remaining holds your balance after the request.
- Limits
- 20 MB and about 30 megapixels per image, 60 requests a minute per key.
Four steps to switch.
1
Create an account
You get 20 free credits. No card needed.
2
Copy your key
It is on the dashboard, ready when you sign in.
3
Change the URL and key
Run a few of your own images and compare.
4
Add credits or a plan
Pay as you go from $10, or $9 a month for 2,000 images.
Pay per image, or save with a plan.
Every account starts with free credits, and failed requests are refunded automatically. Monthly images reset each billing month. Cancel any time.
Questions
Is remove.bg's API shutting down?
remove.bg is moving its background removal into Canva, and its self-service API and website close on 1 December 2026. Enterprise customers should check their contract with remove.bg.
Do I have to rewrite my integration?
Not if you upload files with image_file. Change the URL and the key, and the request and the PNG response stay the same. If you send image_url or base64, you will need to download the image and upload the file instead.
Will the cutouts look the same as remove.bg?
No two models give identical results, so test before you switch. Your 20 free credits are enough to run a sample of your own images.
How much does it cost?
$0.02 an image on pay as you go, with credits that never expire. Monthly plans start at $9 for 2,000 images and go down to about $0.002 an image. Failed requests are refunded.
Can I move my remove.bg credits over?
No. NoBG is a separate service and cannot see your remove.bg account.
How fast is it?
Most images take 3 to 6 seconds. The largest files can take about 12 seconds.