A remove.bg API alternative that keeps your code
remove.bg's self-serve API closes on 1 December 2026. Cutmatte answers the same requests the same way, so switching is a change of base URL and key, not a rewrite.
What to look for in a replacement
- The same requests.
POST /v1.0/removebgwithX-Api-Key; files, base64 and URLs; multipart, JSON and form bodies. Anything else means changing every call site. - The same responses. Binary image by default, JSON with
result_b64onAccept: application/json(the npm wrapper depends on it), and theX-Width,X-Credits-ChargedandX-Foreground-*headers. - The same parameters.
size,formatincluding ZIP,channels=alpha,bg_color,bg_image_url,crop,scale,position,roi, shadows. A service that ignores a parameter returns something your code did not ask for. - The same errors.
402 insufficient_credits,403 auth_failed,429withRetry-After: retry and billing logic keeps working. - A clear list of differences. No replacement matches every detail. Ask for the list before you switch.
Cutmatte in short
| Cutmatte | |
|---|---|
| Endpoints | /v1.0/removebg, /v1.0/account, same request and response format |
| Sizes | preview to 50MP, auto |
| Formats | PNG, JPG, WebP, ZIP; alpha matte only |
| Editing | Background colour or image, crop with margin, scale, position, region of interest, drop shadow |
| Not available | 3D and car shadows, automatic type detection, car-window semi-transparency, /improve (details) |
| Tested with | npm remove.bg 1.3.0, PyPI removebg 0.4, remove.bg CLI, remove.bg's own samples: 34 of 34 checks pass |
| Price | 1,000 credits $9 · 10,000 $35 · 100,000 $299; credits do not expire |
| Free | 50 previews a month |
| remove.bg users | Free credits equal to the remaining remove.bg balance, up to 1,000, from a screenshot (until 31 December 2026) |
| Images | Processed in memory, not stored, never used for training |
| Model | BiRefNet, an open model under the MIT licence, on GPUs billed per second |
Switch in one line
# before
curl -H "X-Api-Key: $REMOVEBG_KEY" -F image_file=@photo.jpg https://api.remove.bg/v1.0/removebg -o out.png
# after
curl -H "X-Api-Key: $CUTMATTE_KEY" -F image_file=@photo.jpg https://api.cutmatte.com/v1.0/removebg -o out.png
Examples for Node.js, Python, PHP, Ruby and the wrappers are in the migration guide.
Cutmatte is not affiliated with remove.bg or Canva. "remove.bg" is used only to describe API compatibility.