Skip to content

Migrate from the remove.bg API without rewriting your code

Remove.bg stops accepting requests at 9:00 CET on the 1st December 2026, and background removal moves to Leonardo.ai. Photoroom's API takes the same parameters. Simply change the endpoint URL and your key, and your migration is complete.
A sequence of images showing a yellow armchair from a room setting to various isolated and styled backgrounds.

One line of code to switch

Photoroom's Remove Background API takes the same argument names as remove.bg and returns the same response format. Point your existing call at a new endpoint, swap the key, and your integration keeps working. Your image_file, crop, bg_color, format, and size parameters carry across unchanged.

A green and white sneaker with a gum sole displayed alongside a sales chart showing 12.7k units and a 14% increase.

What happens to your integration on 1 December

On 1 December 2026, remove.bg’s background removal moves to Leonardo.ai. That means a new account, a new API key, a new endpoint, and changes to parameters and responses.

Photoroom keeps your remove.bg parameters and response format. Change the endpoint and key, and your calls keep running.

Step by step, including which remove.bg arguments need changes: how to migrate from the remove.bg API before it shuts down.

Online store displaying a green sofa, a wooden shelf, and a green lamp, each with a 30% discount and original and sale prices shown.

Test free before you switch

A sandbox key gives you up to 1,000 test calls a month (100 a day) on your own images. Results are watermarked, so it’s for testing, not production.

Only pay for cutouts that pass

If a background isn’t removed accurately, send us the image and the API call, and we’ll credit the image back. This applies to monthly Remove Background API plans of 250 images or more.

More than a cutout

A cutout is the first step. The same integration also stages products in generated scenes, adds realistic shadows, creates on-model shots with Virtual Model, resizes to marketplace specs, and upscales. Teams moving off a single-purpose endpoint often retire two or three other services at the same time.

Yellow tote bag, burgundy ankle boot, and a beaded necklace displayed on a white background.

What it costs at your volume

Background removal starts at $20 a month for 1,000 images ($0.02 each). That’s the plan that replaces your remove.bg endpoint.

Plus is $100 a month ($0.10 each) and adds AI Backgrounds, Shadows, Ghost Mannequin, Product Staging and more. Enterprise pricing is annual with volume discounts. Need more than Ultra covers, or features like Visual Agents? Talk to sales.

Weighing Photoroom against Leonardo.ai on price? See what background removal costs after remove.bg closes.

Before December 1, 2026

How to migrate from Remove.bg to Photoroom

1

Swap the endpoint

Create a Photoroom API key and point a test environment at the new endpoint. Run your existing calls unchanged.

2

Check your hardest images

Compare the output on your own hardest images: fine hair, transparent products, fur, and anything with a complex edge.

3

Cut over and keep a fallback

Cut over, and keep the old path in place until you've watched a full cycle run clean. Download anything you still need from your Remove.bg account.

One image editing API to access multiple solutions

Connect to a single API and unlock best-in-class tools for every stage of product visual production: from cutout to product staging to ghost mannequin.

Photoroom MCP

Connect the Photoroom MCP to the LLM where you work and automate your product listing visuals.

Background Removal

The AI background removal API detects complex edges, handles transparency, and delivers clean cutouts at scale - ideal for product catalogs and marketplace listings.

Virtual Model

Place apparel and accessories on AI-generated models that match your brand aesthetic. On-model imagery via the Virtual Model API: no casting, no studio, no production timelines.

Flat Lay

Generate consistent, editorial-quality flat lay product photography at enterprise scale. Maintain visual identity across thousands of SKUs through the Flat Lay API.

Ghost Mannequin

Produce ghost mannequin apparel shots with perfect shape retention through an AI-powered Ghost Mannequin API endpoint. Scale invisible mannequin photography without a studio.

Product Staging

Place your product into realistic lifestyle scenes - held, worn, or displayed - with the natural lighting and composition of a high-end photoshoot.

Edit With AI

Describe any change in plain language and our AI makes it - swap colors, remove or add objects, restage the scene, or shift the camera angle.

Product Beautifier

Enhance low-quality product and food images automatically with the Beautifier API. No retouchers, no studios. Our AI restores detail, corrects color, and improves overall quality at scale.

Add Shadows

Add realistic shadows to the main subject of your image, with complete control over the softness, intensity and position of the shadow.

Generate Backgrounds

Dynamically create new backgrounds with our first-class generative AI, perfectly matching the subject of the original picture.

Relighting

Fix badly lit photos automatically. Our AI rebalances over- and under-exposed images, with modes that keep product colors accurate or optimize for portraits.

Text Removal

Remove watermarks, labels, and real-world signage from your images automatically - choose what goes and what stays.

Expand

Resize any image to any format without cropping. Our AI generates the extra background to match the original, filling every empty pixel seamlessly.

Uncrop

Recover subjects clipped by the frame. Our AI reconstructs the missing parts from the visible portion, automatically.

Ironing

Make every garment look freshly pressed. Our AI smooths creases and wrinkles out of clothing photos automatically - no steamer, no reshoot.

Create Any Image

Generate images from a text description alone - no source photo needed. Describe the scene, pick a format, and get original content back.

Uncertainty Score

Know when a cutout needs a second look. Every response returns a confidence score from 0 to 1, so you can auto-flag ambiguous images for review at scale.

Perspective Correction

Straighten angled shots of flat, rectangular products - cards, books, games - into clean, straight-on views. No generative AI, so hallucinations are impossible by design.

Positioning

Control exactly where the subject sits in the result - scaling, alignment, padding, and margins - so every image in a catalog comes out consistently framed.

Smart Cropping

Reframe images around the subject automatically - prompt it to focus on a specific element, or crop faces out for marketplace compliance.

Upscale

Turn small, low-res images into sharp ones at 4× the size - with a fast mode for volume and a slow mode for maximum quality.

Switching, in numbers

Speed, throughput and price for the background removal call you’re replacing. All three apply from the first image, with no setup beyond a new endpoint and key.
<300 ms

median response time, published on our status page

60

images a minute by default, higher on Enterprise

$0.02

per image on the background removal plan

Photoroom API

How Photoroom compares to Remove.bg

We ran the same product photos through each background removal API. See the cutouts side by side: which kept fine edges, and which left the background behind.

For the comparison beyond the API, see Photoroom vs Remove.bg. Looking at other tools too? Seven remove.bg alternatives, compared.

Gold bee-shaped napkin ring on a folded white napkin, displayed from different angles.
Exclusive to Enterprise plans

When background removal is one step of many

Visual Agents, video and a contractual quality guarantee for enterprise catalogs that need more than a cutout.
Enterprise
Custom models, dedicated capacity, custom endpoints, and SLA-backed uptime. SOC 2 Type 2.
Three images of a woman in a yellow blazer, each with a completion score: 83%, 92%, and 100% labeled as "Best fidelity."
Visual QA
Even the best AI models get it wrong, so Visual QA scores every output for fidelity, catches the misses, and corrects the details before they reach your customers.
Collage of a woman in a white halter dress, a bowl of vibrant poke, and a woman holding a mustard handbag with hoop earrings.
Enterprise Guarantee
Pay only for outputs that pass. Every output is checked against your brief by our fidelity model, and anything that misses is regenerated before it reaches your team.
Four fashion items with play icons: a brown handbag, sage green mule, person in a gray shirt and cardigan, and white sneakers with orange accents.
Image to Video API
The Image to Video API turns static product photography into short-form video automatically. Submit a product image and receive a polished video with natural camera motion, animation, or configured effects.
Start building

Switch before the remove.bg API shuts down on December 1

Get an API key and test on your own images today. On a remove.bg enterprise contract? Leonardo.ai is asking enterprise customers to contact their account manager. Talk to us first and we’ll plan the move with you.

Frequently asked questions

Is the remove.bg API shutting down?

Yes. remove.bg's self-service API stops accepting requests on December 1, 2026, so calls made with a remove.bg API key stop working from that day. Unused pay-as-you-go credits expire the same day. Enterprise API contracts aren't affected, and remove.bg points self-service users to Leonardo.ai, also part of Canva.

To switch to Photoroom instead, change the endpoint to sdk.photoroom.com/v1/segment and use your Photoroom API key. The standard call's parameters stay the same.

For everything else that changes on the day, from credits to invoices, see what remove.bg's shutdown means for your pipeline.

Will my existing remove.bg code work with Photoroom?

For a standard background removal call, yes. The argument names and the response format are the same, so you only change the endpoint URL and your API key.

Before (remove.bg):

curl -H 'x-api-key: YOUR_REMOVE_BG_API_KEY' \
  -f https://api.remove.bg/v1.0/removebg \
  -F 'image_file=@/absolute/path/to/image.jpg' \
  -F 'crop=true' \
  -F 'bg_color=FFFFFF' \
  -F 'format=jpg' \
  -F 'size=hd' \
  -o result.jpg

After (Photoroom):

curl -H 'x-api-key: YOUR_PHOTOROOM_API_KEY' \
  -f https://sdk.photoroom.com/v1/segment \
  -F 'image_file=@/absolute/path/to/image.jpg' \
  -F 'crop=true' \
  -F 'bg_color=FFFFFF' \
  -F 'format=jpg' \
  -F 'size=hd' \
  -o result.jpg

If you pass less common parameters, test them on your own images first. See the compatibility guide.

What happens to my remove.bg account?

The standalone site closes on December 1, 2026 at 9am CET, and background removal moves to Leonardo.ai. Check your account before that date for anything you need to keep.

How long will it take to move to the Photoroom API?

You can integrate the Photoroom API in as little as an hour. Get started in 3 steps:

Does Photoroom offer a money-back guarantee on its background removal API?

Yes. If the Remove Background API doesn’t remove a background accurately, you don’t pay for that image. The same applies if you find an API that removes backgrounds more accurately than ours.

The guarantee covers customers on a monthly Remove Background API plan of at least 250 images. To claim, send us the images that weren’t removed correctly, along with the API calls you made. We’ll add those images back to your account. If you’re a new customer, they’re free.

See the full guarantee

How much does Photoroom cost?

We have a number of options starting from free to monthly subscriptions in addition to plans tailored for startups and businesses that process up to 100,000 images per month. Learn more about our pricing.

What images are supported in the Photoroom API?

The Remove Background API accepts PNG, JPEG, WEBP, HEIC, up to 50 MB and 6,000 px.

What is the latency to return the processed image with Photoroom API? Is there a rate limit?

The Photoroom Remove Background API's median response time is below 300 ms. We publish it on our status page.

The default rate limit is 60 images per minute. For special use cases, it can be updated.

I have another question

For any other questions, please have a look at our technical documentation.

Start selling at first sight

Get listing-ready product visuals in seconds.