Remove Background API

Fast, accurate background remover. Try it below
Or drop an image here
No picture on hand? Try with one of these

What our customers say

We create beautiful digital wardrobes for our clients and PhotoRoom has the best background removal API that delivers a clean image almost 100% of the time.  We’ve tried many other background removal tools and nothing comes close to the PhotoRoom quality.

Yidi CampbellCEO of Indyx, a digital wardrobe and marketplace
These brands rely on PhotoRoom’s API

What is the Remove Background API?

The Remove Background API enables image background removal in seconds. Integrate the #1 background removal functionality into websites and applications, automating the process of image background object isolation, saving time, effort and streamlining editing costs and workflows. No matter your industry from marketplaces, retail, luxury, consumer goods to automakers, the Background Remover API will optimise your photo editing workflows.

Easy to integrate

Implement our fast Remove Background API in your website or native app using your favorite language.
curl -H 'x-api-key: YOUR_API_KEY' \ -F 'image_file=@/absolute/path/to/image.jpg' \ -f 'https://sdk.photoroom.com/v1/segment' -o no-bg.png

Create ad image assets

Automatically generate images that fit the specifications of the major digital advertising platforms. Reduce ad disapprovals and time spent learning all the different image requirements.

The best background remover

Get stunning images every time, and effortlessly transform your visuals by removing and replacing backgrounds with 2x better accuracy than other background removers, while also enjoying a user-friendly interface.

Decrease your time to market

Upload and edit images in no time. No photo editing outsourcing required - allowing you to accelerate your product launches, marketing campaigns, and the creation of point of sale materials.

Sell more through a better experience

According to a study from HubSpot, 60% of shoppers said they needed to see an average of 3 or 4 images when shopping online. With the PhotoRoom background API, automatically edit numerous images to give them a consistent feel, creating an optimal buying experience for your customers.

Fast and reliable

Quickly and accurately edit photos – no manual effort required. Our API is built to handle the most demanding workloads with a median latency below 350 milliseconds worldwide. Count on our API to deliver stellar images, so you can focus on meeting your business goals.

How to integrate the Background Remover API in your app in minutes

Ready to get started?

Explore the PhotoRoom API documentation, or create an account instantly and enable your API key to send an API request.

Integrate the API

API Pricing

Get a monthly credit package

1 credit = 1 processed full image
0.25 credit = 1 processed preview image (<0.25 mega pixel)
Build for free
Free plan
$0
40 preview images/month
  • No credit card required (Requires signing in with Google)
  • Ideal for prototyping
Most popular
Monthly subscription
From $0.02*
Credits per monthPrice per image
  • 60 ($9)$5$0.08
  • 100 ($15)$8$0.08
  • 200 ($30)$15$0.08
  • 500 ($70)$35$0.07
  • 1,000 ($130)$65$0.07
  • 2,000 ($260)$130$0.07
  • Downgrade, upgrade or cancel any time
  • Unused credits roll over as long as you're subscribed (up to 6x your monthly budget)
Attribution
Partners plan
$0.01
From 100k images/month
  • For consumer-facing apps
  • Requires attribution

*Offer expires on 5th December, 2023 at 23:59 (Eastern time). Offer for 50% off the monthly PhotoRoom API subscription for first 3 months, for first time customers only. Each code is limited to one redemption per PhotoRoom API account. PhotoRoom reserves the right to modify, revoke or cancel the offer at any time. This offer cannot be combined with any other offer. Void where prohibited, not redeemable for cash and non-transferable.

You asked, we answered

  • What programming languages is the Remove Background API available?

  • Is the Remove Background API for free?

  • How do I integrate the Background Remove API?

  • What if I have problems with the API?