Remove Background API
Use the fastest and most accurate background removal API on the market.
PhotoRoom, the groundbreaking technology powering BarbieSelfie.ai, shattered all expectations by seamlessly integrating user photos into captivating Barbie movie posters. PhotoRoom's unparalleled ease of use became the catalyst for a viral sensation, propelling the Barbie Selfie Generator into the digital spotlight and captivating audiences worldwide.
PhotoRoom helped us create high quality images at scale. As a result, we reduced time to market and cost per image while maintaining branding for each individual merchant. The PhotoRoom imaging workflow using AI backgrounds and automation is a great benefit to any business.
Using PhotoRoom API, we decreased by 15% our Cost-Per-Click on Google Shopping. With the accuracy of the Photoroom API, and the quality of the white background photos, we managed to automate the cropping of our ads and avoid quality problems.
PhotoRoom API made images go from 24/48h of editing through a studio to be listed near to real time.
The background removal drives more trust in our marketplaces, leading to more sales!
PhotoRoom has massively improved the experience for buyers and sellers.
We accelerated our item approval process cutting 1 day for a more efficient service to sellers and, subsequently, got an inventory growth of +127% between 2021 and 2022.
PhotoRoom’s uptime and reliability is not something we have ever had to think about. With PhotoRoom, response times for a high-res photo are measured in milliseconds, while with other solutions they can be measured in seconds or even minutes.
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.
Use the fastest and most accurate background removal API on the market.
Deliver visual and brand consistency by combining background removal with resizing, centering and much more.
Generate hundreds of on-brand visuals that distinguish your products.
Our API is so easy integrate - with our clear API documentation and instructions, you can upgrade your background remover and overall photo editing workflow in minutes.
85% of shoppers prioritise product images and information during their purchase decision. PhotoRoom’s API can deliver consistent product centring and padding, white or custom backgrounds and no max resolution limits - no photographer costs or manual effort required.
Integrate the PhotoRoom API to reduce the costs, back-and-forth communication, time delays, and quality concerns associated with photo editing outsourcing. With the API, you gain more control over your photo editing workflows, which in turn reduces your costs and speeds up your time to market.
With over 3 million images processed per day, our API is built to handle the most demanding workloads across the world. You can count on it to deliver results quickly and reliably so you can focus on what matters.
We want to mitigate your risk by letting you only pay for images that satisfy your chosen quality standards with the PhotoRoom API Guarantee. Our guarantee also covers cases when you find a photo editing API that's better than ours.
Explore the Photoroom API case studies to learn how our API has transformed the marketing campaigns for industry giants like Warner Bros and Netflix and optimised image workflows for online marketplaces. Discover the scale, automation, and business impact our platform delivers. Learn how we're becoming the go-to image workflow solution.
We can show you a preview of how your website would look with its product images processed by PhotoRoom's API!
Explore the PhotoRoom API documentation, or create an account instantly and enable your API key to send an API request.
What does the PhotoRoom API do?
The PhotoRoom API allows you to automatically remove and replace image backgrounds and batch edit images, accelerating your image processing workflows.
What images are supported in the API?
PhotoRoom API supports JPG and PNG images.
In terms of image resolution, we recommend limiting to 25MP, although there is no specific limitation. If the file is too large and your connection too slow, it might timeout.
What are API credits?
Credits enable you to use PhotoRoom API for full-resolution cutouts in high quality.
Removing the background from 1 image requires 1 credit. Preview images (<0.25 megapixels) require 0.25 credits.
Subscriptions include a monthly budget of credits, that you can use within that month (or roll over to the next month as long as you stay subscribed). Pay-as-you-go credits are valid for up to 2 years after the purchase.
More information about preview images:
Preview images are small resolution images, up to 0.25 megapixels (e.g 625 × 400 pixels). They require 0.25 credit to be processed through PhotoRoom API instead of 1 credit for higher resolution.
In terms of implementation the API "size" parameter should be set to preview to be charged 0.25 credit.
How can I check my remaining credits?
You can check your remaining credits on the PhotoRoom dashboard.
What if I run out of credits?
If you run out of credit, the services stops. You can buy more credits via your PhotoRoom dashboard.
When moving to a larger plan, you immediately get the credits from the larger plan and your renewal date gets updated to the current date. For instance when upgrading from 100 credits / month to 500 credits / month, you immediately get 500 credits and your plan will renew in exactly one month (unless you cancel).
Can I cancel/upgrade/downgrade my API subscription with PhotoRoom?
Yes, you can cancel, upgrade or downgrade your subscription at any time.
Cancel
If you cancel, your subscription will stop at the end of your current billing period. Your remaining credits will be preserved for 6 months. You can use them if you subscribe again.
Upgrade
Upgrading your plan takes effect immediately: after confirmation, your payment method is charged, you immediately get the credits from the larger plan, and your renewal date gets updated to the current date. For instance, when upgrading from 1000 credits/month to 5000 credits/month, you immediately get 5000 credits and your plan will renew in exactly one month (unless you cancel).
Downgrade
If you're downgrading your plan you will not be billed immediately. Instead, your current plan stays active until the end of the current billing period, and only then does the new plan takes effect. For example, when you downgrade your 10000 credits per month plan to the 5000 credits per month on June 10, and your next billing date is July 5, then you will be billed for it on July 5. This is also when the new rollover limit applies, so make sure you use the remaining credits until then.
What happens if I have unused API credits at the end of the month?
In the Free Plan, credits are renewed every first day of the month, unused credits are not rolled over.
In all other plans, if at the end of the month you have not used all of your subscription credits, the remaining credits roll over to the next month, and you can still use them. Rollover is up to 6x your monthly credit budget month to month. Credits are not refundable.
Are the images sent to the API subject to any PhotoRoom copyright?
No, no copyright is applied to images processed through PhotoRoom API.
What is the API Partner Plan? Who is eligible?
PhotoRoom Partner Plan is proposed to customer facing apps with high volumes that are willing to share the PhotoRoom logo on their public user interface in exchange for an exceptional $0.01 per image pricing.
You qualify for PhotoRoom Partner Plan if all of the following criteria are covered:
- you agree to let PhotoRoom display your logo on our website, or your client logo if you're developing an application for a client. This is a way for us to highlight our valuable partnerships, and it allows your brand to gain more exposure within our community.
- you process more than 100,000 images per month, meaning benefiting from the Partner Plan would cost you a minimum cost of $1000 per month. This offer doesn’t cumulate with other discounts.
- your app is a user-facing app. Your users see PhotoRoom logo for every single background removal, tapping the logo links to https://photoroom.com on the web, to PhotoRoom mobile app on mobile. The logo doesn’t need to be added to the edited image. Failure to apply leads to the immediate removal of the API access.
- your app doesn’t provide a similar or competing service with the PhotoRoom mobile or web app.
- your website has a link to https://photoroom.com saying "Backgrounds removed with PhotoRoom" on its home page.
- if after 6 month of subscription to the Partner Plan you still want to benefit from the Partner Plan, you authorize PhotoRoom to publish a case study and a quote about your use case and observed KPIs. It concretely takes the form of a 30-minute interview and final review.
You don't qualify for PhotoRoom Partner Plan if one of the above criteria is missing. If you do not qualify for the Partner Plan, you can still subscribe to our standard Monthly Subscription plan.
Check out for implementation details here.
How to subscribe to the API Partner Plan and unlock the $0.01/credit pricing?
To unlock the $0.01/credit pricing:
Make sure that you qualify for all the criteria of PhotoRoom Partner Plan. (See "What is the API Partner Plan? Who is eligible?" above section)
Start a Free Plan, get an API key, and start your implementation.
Once you start using the PhotoRoom API, email api-help@photoroom.com with the following information:
– Name of your company
– Where can we access the app of your company?
– The type of service you provide to customers
– The function the PhotoRoom API will have in your app
– The number images per month you will process through the PhotoRoom API
– The email address you used to subscribe to PhotoRoom
– A video of the PhotoRoom logo displayed and linking to the PhotoRoom app or website,
– Steps PhotoRoom should follow to validate your implementation of the PhotoRoom logo on your app or website. To verify and maintain the $0.01/credit pricing, PhotoRoom must be able to verify that the logo is displayed and clickable at any point in time. Please share with us the instructions to do this.
Do you have any programmes or plans for startups?
We have the PhotoRoom API Startup plan for marketplace, eCommerce, creativity app or software startups to join our programme.
What if the images processed by the PhotoRoom Background Remover API don't meet my quality criteria?
We have one of the best image background remover APIs in the market and offer the PhotoRoom API Guarantee to show our dedication to delivering the highest accuracy. If you're not satisfied with the images you've processed through the Background Remover API and you process at least 250 images per month, follow these steps to avail of our guarantee.
I have another question
For any other questions, please check our technical FAQ or join our Slack community.