SaafKit

Your remove.bg API calls stop on 1 December. Here is the migration checklist

The SaafKit team 4 minute read

On 1 December 2026 at 9:00 CET the remove.bg self service API stops accepting requests. Not deprecated, not rate limited. It stops. Anything in production that calls it begins failing at that moment, and how loudly it fails depends entirely on how you wrote your error handling.

The code change is small. Finding everything that needs changing is the actual job, and it is usually bigger than a team expects.

Find every place that calls it

Start with the obvious one and then keep going, because the calls that break production tend to be the ones nobody remembers writing.

git grep -rn "api.remove.bg" .
git grep -rni "removebg" .
git grep -rn "REMOVE_BG_API_KEY\|REMOVEBG_KEY" .

Then the places a code search cannot reach:

  • Zapier and Make scenarios. Someone in marketing built one in 2023. It has been running quietly ever since and its error route probably goes nowhere.
  • Shopify, Lightspeed or other storefront apps connected to the API through an app rather than your code.
  • Serverless functions in a different repository, or deployed by hand and never committed.
  • Cron jobs and batch scripts on a server nobody logs into.
  • The Photoshop plugin and the desktop apps, which individual designers installed themselves. These are discontinued on the same day.
  • Spreadsheets with scripts, which is more common than anyone admits.

For each one, write down where it runs, who owns it, and what happens when the call returns an error. That third column is the one that tells you how urgent each item is.

Worth checking

While you are in there: can you tell which request failed and which application sent it? If every call goes out under one shared key, you cannot. Splitting keys per application before you migrate makes the cutover far easier to monitor, and it means you can rotate one key later without taking everything down.

Price the replacements against your real volume

Remove.bg is pointing API traffic at Leonardo.Ai, which Canva also owns. It is the official path and the migration guide is published. Before you commit, do the arithmetic on your own numbers, because the shape of the pricing is different.

Remove.bg sold credits where the per image rate kept falling as volume rose, down to roughly twenty one cents an image in bulk, and well under that on the larger yearly plans. Leonardo prices closer to a flat rate per image. The practical effect is that the higher your volume, the more likely your bill goes up rather than down. Somewhere in the low hundreds of images a month, flat rate providers like Photoroom start to beat both.

So the comparison to run is not list price against list price. It is your actual monthly image count against each provider's curve at that point.

Make the swap small

If you are moving to a provider that kept remove.bg's parameter names, the change is a base URL and a key. Photoroom, for instance, accepts the same argument names and returns the same response shape, so image_file, crop, bg_color, format and size carry straight over.

Whatever you pick, put the call behind one function rather than scattering it. If you had done that originally this migration would already be finished, and the next one will be.

// one place to change, next time
async function removeBackground(file, opts = {}) {
  const body = new FormData();
  body.append('image_file', file);
  if (opts.bgColor) body.append('bg_color', opts.bgColor);
  const res = await fetch(PROVIDER_URL, {
    method: 'POST',
    headers: { 'x-api-key': process.env.CUTOUT_API_KEY },
    body
  });
  if (!res.ok) throw new Error('cutout failed: ' + res.status);
  return res.blob();
}

The option that removes the API from the problem

Worth considering if your cutouts are happening in a browser anyway: the model can run on the client. Modern segmentation models are small enough to download once and run in WebAssembly, which means no per image cost, no rate limit, no key to rotate and no vendor who can close the endpoint on you in five years.

It is not right for everything. A backend pipeline processing a nightly feed of ten thousand images still wants a server. But if the cutout happens at the moment a user uploads a photo to your product, moving it to the client deletes the entire category of problem you are currently dealing with. That is how this site works, and the architecture is the reason there is nothing to migrate.

Try it on your own photo

The cutout runs on your device, at full resolution, with no account and no counter. Nothing is uploaded.

Open the background remover

Test before, not on the day

  1. Build a fixture set of thirty real images from your own data. Include the ugly ones: hair against a busy background, glass, a white product on a white background, something with a hard shadow.
  2. Run both providers over the set and compare the alpha channel, not the thumbnail. A cutout that looks right at 200 pixels can have a two pixel halo that shows on a product page.
  3. Move traffic in stages. Ten percent, watch, then more. Keep the old path live until the last call is gone.
  4. Check every workflow runs clean with a few days to spare, not a few hours.

The deadline is fixed and it is close. The teams that will have a bad first of December are the ones that found the Zapier scenario on the thirtieth of November.

The SaafKit teamWe build SaafKit, a background remover that runs on your own device instead of on a server. We write these guides because we keep answering the same questions in email.

Keep reading