Skip to content

Transform product images at scale with one image editing API

Photoroom API powers product visuals for the world's leading marketplaces and brands, processing over 3 million images daily - built for the speed, consistency, and scale commerce demands.
Trusted by leading companies

Transform your product catalog and ad creatives in seconds

A juicy cheeseburger with lettuce, tomato, and a beef patty on a wooden table, with a kitchen background and stacked white plates nearby.
A juicy cheeseburger with lettuce, tomato, and a beef patty topped with melted cheese, served in a soft, lightly toasted bun.
A cheeseburger with lettuce and tomato on a wooden table by a beach, with blue ocean and sky in the background, partially shaded by palm leaves.
Cheeseburger with lettuce, tomato, and a beef patty on a bun against a red background, with text: "$7.99 Burger Menu Offer."
A cheeseburger with lettuce, tomato, and a juicy beef patty inside a golden-brown bun on a marble surface.
A stainless steel electric kettle on a wooden countertop in a store with various kitchen appliances displayed on the walls and shelves.
Stainless steel electric kettle with a black handle and base.
A stainless steel electric kettle on a wooden counter with a soft background, including a potted plant and a blurred window.
Stainless steel electric kettle with black handle on a blue background. "Sale 20%" text in the corner.
A stainless steel electric kettle with a black handle on a wooden surface, against a blurred green background.
Dark blue pump bottle on a bathroom sink, surrounded by toiletries. A vase with white tulips and a woman in the mirror are in the background.
Dark blue pump bottle with a black dispenser top on a white background.
Blue pump bottle on a reflective surface with a 20% off label in the top right corner; blurred lights in the background.
A dark blue pump bottle on a white surface, surrounded by vibrant orange and red flowers, with the word "PURE" in large white letters at the top.
Blue pump bottle on a bathroom countertop with plants in the background.
Silver Mercedes SUV parked on gravel with a cityscape background; people and trees visible nearby.
White Mercedes-Benz SUV with black wheels, front and side view, isolated on a white background.
White Mercedes-Benz SUV parked on a road, surrounded by lush greenery and mountains at sunset.
White Mercedes SUV with a special deal price of $23,000, set against a blue background.
White Mercedes SUV on a road with overlaid text "New Offer" and "Get In Now," set against a forested mountainous background.
A young woman with curly hair smiles while standing on a city street. She is wearing a white shirt with green trim and jeans.
Smiling young woman with long curly hair wearing a white and green t-shirt and jeans, standing against a plain background.
A smiling young woman with curly hair, wearing a white shirt, framed by pink sparkle graphics, and the words "This Barbie is a mood. Own it now."
A smiling young woman with curly hair, wearing a white shirt with green trim, featured on a Netflix promotional poster for "Anna is Awful," coming soon.
Smiling person with long curly hair wearing a white t-shirt stands in a cobblestone street lined with trees, with the Eiffel Tower in the background.

One photo editing and image manipulation API, 20+ solutions

Connect once and get 20+ photo editing and image manipulation tools for every step of product visual production, from background removal and upscaling to product staging and ghost mannequin.

Photoroom MCP

Connect the Photoroom MCP to the LLM where you work an 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.

Chain edits into one product image workflow

Remove the background, stage the product, put it on a model and turn it into video. Every catalog asset from one product photo, through one API.
Photoroom API

See how Photoroom compares to Remove.bg, Clipdrop and Azure

We ran the same product photos through 5 background removal APIs, from furniture and apparel to food, cosmetics and jewelry. Photoroom returned results in about 450 ms, against 600 ms for Remove.bg and around 2 seconds for Clipdrop and Azure.

Two intricately designed earrings with blue center stones, displayed on a green surface and a darker surface.

The ROI teams using Photoroom already see

4x

faster market rollouts

89%

lower image processing costs

56%

higher conversion on listings

236%

increase in average order value

Exclusive to Enterprise plans

Guaranteed quality, Visual QA, video and Visual Agents

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 the outputs that pass. Set your product-fidelity criteria upfront. Every output is checked against your brief by our proprietary fidelity model. Anything that misses is credited back or regenerated for you.
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.
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.
Collage of a beige duffel bag with green straps, showing its exterior, spacious interior with pockets, and a hand holding it.
Visual Agents
Visual Agents execute the perfect workflow for your use case. They analyze every input, generate and edit, score the output, retry until it passes. Every visual runs the same loop and only the ones that pass reach your catalog.
Testimonials

Trusted by the brands selling at first sight

Three people hiking on a grassy hillside, wearing backpacks and sunglasses, smiling under a clear sky.

35,000 images processed across markets in a 3-month rollout

"We want to deploy Photoroom for all communication teams — to make marketing teams across all our sports brands autonomous in applying the packshot guidelines, with the same quality and consistency."

Thomas SchouteetenProduct Content Leader, Decathlon
Get started today

Get your API key in minutes, no credit card needed

  • Test free with 1,000 sandbox calls a month

  • Add 20+ edits with one integration, from background removal to virtual models

  • Scale to your whole catalog, with Enterprise plans for higher volume and guaranteed quality

Frequently asked questions

Which API should I use?

The Photoroom API consists of two API endpoints, which are available in two different plans:

  • Use our Remove Background API if you only need to remove the background. (Basic API plan)

  • Use our Image Editing API to resize, replace backgrounds, adjust lighting, or add shadows (Plus API plan)

How can I get my API key?

In order to use the Photoroom API, you'll first need to activate the API for your account and obtain your unique API key. Here's how to do it:

  • Activate the API for your account: This can be done by visiting your account settings on the Photoroom website. Make sure that you're logged into your account.

  • Copy your API key: Once you've activated the API for your account, you'll be provided with a unique API key. This key is essentially your password to make API calls, so it's important to keep it safe and secure. You can retrieve your API key by following the same link used for the activation.

  • Use your API key: The key must be passed in the x-api-key HTTP header on every request.

  • You can find more information in our API documentation.

Can I switch easily from Remove.bg to Photoroom?

Yes. Photoroom’s Remove Background API accepts the same argument names as remove.bg and returns the same response format. To switch, change the endpoint URL to https://sdk.photoroom.com/v1/segment and use a Photoroom API key. The rest of your code stays the same.

remove.bg’s standalone service closes on 1 December 2026, and its background removal moves to Leonardo.ai. See how to migrate from the remove.bg API.

Which image formats, sizes, and resolutions are supported?

For the input and result images, the Image Editing API (Plus API plan) supports four formats: PNG, JPEG, WEBP and AVIF. We recommend limiting images to 25 megapixels for optimal performance. Maximum File Size: 30MB. Maximum Resolution: 5,000 pixels on the widest side. Images with a larger resolution are supported (if they stay below 30MB), but will be resized down to 5,000 pixels on the widest side.

The Remove Background API (Basic API plan) supports four formats for the input image: PNG, JPEG, WEBP and HEIC. For the result image, it supports three formats: PNG, JPEG and WEBP. Maximum File Size: 50MB. Maximum Resolution: 6,000 pixels on the widest side.

How does the Photoroom API integrate with enterprise workflows (PIM/DAM, CMS, e‑commerce)?

Photoroom works with the tools you already use. When a new product photo comes in, it cleans the background, applies your brand look, and puts the finished image back where your team needs it, ready for your site, ads, or marketplaces. Result: less manual editing, faster launches, and a more consistent catalog.

How do I integrate the API into my project?

The Photoroom API uses standard HTTP calls, so it works with any programming language or framework. Get your API key from the dashboard, then send your image to the edit endpoint. This example call gives a clean white background, a soft AI shadow, 9% padding and corrected lighting, and returns a WebP image:

curl --request POST \
  --url https://image-api.photoroom.com/v2/edit \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'pr-ai-shadows-model-version: 2026-04-15' \
  --form imageFile=@/path/to/product.jpg \
  --form background.color=white \
  --form shadow.mode=ai.preset-soft \
  --form padding=0.09 \
  --form lighting.mode=ai.preserve-hue-and-saturation \
  --form export.format=webp \
  --output result.webp

See the quickstart guide for every setting.

How are API calls billed?

API usage is billed by the amount of images processed. Images are bought through a monthly subscription and consumed on each successful API call. Pricing details are available here. Need more than Ultra covers, or features like Visual Agents? Talk to sales. Note that 1 call to the Image Editing API is worth 5 calls to the Remove Background API. This means that:

Can I get free API calls?

For testing and prototyping, you can use Sandbox mode on both the Image Editing API and the Remove Background API, which allows you to make free API calls (but will produce a result with a watermark).

How can I get support?

Having trouble with the API? Join our API community to get help from our engineers, or check the troubleshooting page for common issues.

For anything billing-related or with sensitive information, please DM Photoroom directly in the community. We're always happy to help.

Is there an API to remove the background of my images?

Yes, our Background Remover API lets you automatically remove or replace image backgrounds at scale — perfect for integrating clean, ready-to-publish product photos into your workflow. You can upload images, process them in bulk, and get studio-quality results in seconds.

How does Flat Lay maintain consistency across large-scale catalogue shoots?

Photoroom's Flat Lay API processes every image through the same AI pipeline, ensuring uniform composition, spacing, and styling across your entire catalogue, no matter the volume. Teams can define their layout parameters once and apply them at scale via API, eliminating the manual variation that comes with traditional studio shoots. The result is a consistent, on-brand look across thousands of SKUs, delivered in a fraction of the time.

How is an image editing API used?

An image editing API, also called an image manipulation API, lets software edit images automatically: removing backgrounds, resizing, cropping, adding shadows or generating new scenes. Businesses integrate it into their product, PIM, DAM, or e‑commerce platform to process thousands or millions of images via API calls instead of editing them manually. Modern APIs like Photoroom's combine traditional processing with AI for advanced use cases: virtual models, ghost mannequin, flat lay generation, and automated QA.

Is Photoroom only for small sellers?

No. Small sellers are one of the two audiences Photoroom is built for. The other is enterprise: marketplaces, retailers, and brands processing hundreds of thousands of product images a year. Photoroom's API handles over 3 million images a day for companies including Decathlon, Depop, Wolt, and Mercari. It is SOC 2 Type 2 certified, GDPR compliant, and carries a 99.9% uptime target on Enterprise accounts.

Start selling at first sight

Get listing-ready product visuals in seconds.