Dev.to WebDev πŸ›  Dev πŸ‘ 0 πŸ“– 1 min read

The remove.bg API shuts down on December 1: keep your code by changing one URL

remove.bg's standalone site and self-serve API close on 1 December 2026. Every call to https://api.remove.bg/v1.0/removebg stops working that day, including the npm and PyPI wrappers, remove.bg's CLI and the shop plugins

remove.bg's standalone site and self-serve API close on 1 December 2026. Every call to https://api.remove.bg/v1.0/removebg stops working that day, including the npm and PyPI wrappers, remove.bg's CLI and the shop plugins built on it.

I built Cutmatte, an API that takes the same requests. Migration is two changes:

- https://api.remove.bg/v1.0/removebg
+ https://api.cutmatte.com/v1.0/removebg
  X-Api-Key: your Cutmatte key

Try it with a free preview:

curl -H "X-Api-Key: $CUTMATTE_API_KEY" \
     -F "[email protected]" -F "size=preview" \
     -o result.png https://api.cutmatte.com/v1.0/removebg

What stays the same

Endpoints, parameters (size, type, format, crop, scale, position, bg_color, bg_image_url, roi, channels, shadow_type=drop), response formats (PNG, JPG, WebP, ZIP, JSON base64), headers and error codes. Tested with the npm remove.bg 1.3.0 package, PyPI removebg 0.4, remove.bg's CLI and the samples from its API page: 34 of 34 checks pass.

What is different

No 3D or car shadows (a documented 400), type=auto reports other, and the first request after a quiet period takes 15–35 s while a GPU starts, so use a 60 s timeout. Results differ from photo to photo: run your own typical images through the free previews (50 a month) before you switch production.

Checklist before 1 December

  1. Search code, env vars, CI secrets and no-code tools for api.remove.bg.
  2. Record your remaining remove.bg credits: a screenshot is enough for free Cutmatte credits, up to 1,000.
  3. Download invoices from your remove.bg account while you can.
  4. Point one environment at the new URL and run your usual images through it.

Guide with Node.js, Python, PHP and Ruby examples: https://cutmatte.com/migrate/

πŸ“° Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.