Background Removal API

Remove image background with just a single API call

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 3 Easy Steps

Step 1

Get your API key

By default, you are offered 10 free preview credits per month. For more: Pricing

Step 2

Use the following code samples to get started quickly.

Step 3

Getting back to the parameters reference to adjust the request.

Integrate and Customize Easily

Source images

Direct uploads or URL reference

Result images

Reference URL of image file or Base64 encoded data Output

Resolution

up to 25 megapixels

High Suitability

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus ut lacus commodo, vehicula neque ut, ornare metus. Aliquam ornare eu lorem ac sollicitudin. In lobortis neque at arcu congue, sed egestas nunc vestibulum.

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.