Background Removal API

Explore how you can use a background remover through your application and in your workflow.

Remove the background of any image with 1 API call

$ curl -L -X POST "https://api.removal.ai/3.0/remove"

-H "Rm-Token: YOUR_API_KEY"

-F "image_file=@path/to/image.jpg"

-F "get_file=1" -o transparent_image.png

Get API key

Getting Started With These 3 Easy Steps

Step 1

Get your API key

You have 10 free preview credits per month by default. Check our pricing to get more.

Step 2

Copy the sample codes

Refer and use the following code samples for your programming language to get started.

Step 3

Review our documentation

Check and review our parameters reference to adjust the request.

Integrate and Customize Easily

Source images

Direct uploads or URL reference

Result images

Reference URL of the image file or Base64 encoded data output

Resolution

up to 25 megapixels

High Suitability

Our API is built for flexibility and ease of use. We support a wide range of programming languages to make the integration easy and hassle-free.

API Reference

Rate Limit

Theoretically, you can process up to 500 images per minute through the API. In reality, this number is heavily depending on your image resolution in megapixels as well as your internet speed.

Examples
Input image
Megapixels
Effective Rate Limit
625 x 400
1 MP
500 images per minute
1200 x 800
1 MP
500 images per minute
1600 x 1200
2 MP
500 / 2 = 250 images per minute
2500 x 1600
4 MP
500 / 4 = 125 images per minute
4000 x 2500
10 MP
500 / 10 = 50 images per minute
6250 x 4000
25 MP
5500 / 25 = 20 images per minute

Rare Cases

We actively keep an eye on different rare error cases reported by our great community. We will keep updating rare cases error here and possible fixes.