Retouch4me logo

HALLOWEEN SALE — 30% off all plugins

3
Days
19
Hours
32
Minutes
40
Secs
Get 30% off

API for automatic background removal from photos

Automatically remove the background from product photos and other objects. Get a finished PNG with a transparent background or an object mask through the REST API

What the API does

Remove backgrounds automatically and embed processing into your workflows

Retouch4me Background Removal API automatically detects the main subject in an image and separates it from the background. Send an image through the API and get a finished cutout or an object mask for further processing.

Ready result

A transparent PNG can go straight into product cards, catalogs, and ad creatives.

Two result formats

Get a transparent PNG or a black-and-white object mask, depending on your scenario.

Simple integration

A standard REST API with asynchronous processing and task status tracking.

Your productAppCMSBackground Removal APIPNGMaskYour workflow

Integration example

What you can cut out

One API for different kinds of images

The model automatically separates a clearly visible main subject from the background. The API works for photos of products, food, clothing, accessories, furniture, props, and other objects.

Products
Sneakers on a background
Food
A dish on a background
Clothing
Clothing on a background
Accessories
Glasses on a background
Furniture
A chair on a background
Props
A camera on a background
Two result formats

Choose the result format for your task

PNG with a transparent background

A finished cutout ready to publish

Get a PNG in RGBA with a transparent background. Place the object on white, a brand color, or any other background without extra masking.

PNG with a transparent background

PNG mask without RGB

For precise compositing and further processing

Get a separate PNG that contains only the object mask, without the color image. Each mask pixel stores a value from black to white: black is the background, white is the object, and shades of gray keep the soft edges. Use the mask for compositing, your own image processing, and automated workflows.

PNG mask without RGB
Use cases

Embed background removal into your products and workflows

Online stores and catalogs

Automatically remove the background from product photos for cards, catalogs, and promotional materials.

SKUBackground removalFinished card

Marketplaces

Prepare images for different marketplace requirements. Create a cutout once and reuse it with different backgrounds and templates.

One objectSeveral templates

Editors and SaaS products

Add a Remove background feature to your editor without building and maintaining your own machine-learning model.

Editors and SaaS products

DAM, PIM, and CMS

Automatically separate the subject from the background when an image is uploaded. Store the original and the mask separately, and build the versions you need when publishing.

UploadBackground removalStoragePublishing
High-volume processing

Automate processing of large image volumes

Background Removal API works asynchronously. Your application can manage queues, priorities, retries, and the processing schedule on its own.

One request, one image

Each image is sent as a separate task.

Processing by task id

After you start a task you receive its id and check the status until the result is ready.

Queues on your side

You decide the processing order, priorities, retries, and batch handling.

ImagesYour queuePOST/retoucher/startProcessingGET/retoucher/status/{id}GET/retoucher/getFile/{id}PNGMask
How integration works

Simple integration through the REST API

Start processing, check the status, and download the finished result.

1

Start processing

Your server sendsJPGorPNGviamultipart/form-datato:POST /retoucher/start

The request includes:

  • a token
  • the image
  • the result format you need
2

Check the status

Check the task stateviaGET /retoucher/status/{id}

While the image is processing, your application can show the status or the processing progress.

3

Get the result

After the task reachescompleteddownloadthe finished filevia:GET /retoucher/getFile/{id}

Ready to discuss integration?

Tell us about your project, and we will help you choose the best way to adopt the Retouch4me Cloud API.

API in the pipeline

Background Removal becomes part of your workflow

The API works as a separate processing step. You decide what happens to the image before and after the background is removed.

UploadBackground Removal APIPNGMaskYour processingDAMPIMCMSMarketplaceEditor

Integration example

Need further processing?

Background Removal runs as a separate task. If you need Heal, Crop, Color Correction, or another tool after the background is removed, the next step can be started with a separate API request.

Benefits

Why embed the Background Removal API into your product

Keep your current infrastructure

Add background removal to the site, editor, CMS, DAM, or internal system you already use.

Stay in control of processing

The async model lets you set up queues, priorities, and retries yourself.

Pick the result you need

Use a transparent PNG for publishing or a mask for your own processing and compositing.

Reuse cutouts

Once you have the subject without a background, reuse it on different backgrounds, templates, and ads.

Business value

Turn background removal into an automatic processing step

Instead of cutting out every image by hand, add background removal directly to your workflow. The team can focus on the images that really need manual work.

Your workflow

Before integration

Image→Manual cutout→Review→Publishing

With the Background Removal API

After integration

Image→API→Cutout→Your process→Publishing

Less manual work

Automate the repetitive cutout.

One consistent result

Use the same processing step for a large number of images.

Reuse

Keep cutouts and masks for future compositions and formats.

Questions and answers

Frequently asked questions

Add automatic background removal to your product

Integrate the API and receive transparent PNGs or masks inside your own system.