Public APIs
Remove.bg favicon

Remove.bg

Photography

Image Background removal.

Remove.bg's website screenshot

About Remove.bg

Remove.bg provides an HTTP API that automatically removes the background from images in a single call. It accepts source images either as direct file uploads or via a URL reference, requires the input image to contain a foreground subject (such as a person, product, animal, or car), and returns the result as an image file or JSON-encoded data, with output resolution up to 50 megapixels.

Client libraries and sample code are provided for Bash/cURL, Node.js, Python, Ruby, PHP, Java, .NET, Swift, and Objective-C. Authentication uses an API key passed via the X-Api-Key header.

The service is aimed at developers integrating background removal into applications or workflows. An API key is required to use the service, and the first 50 API calls per month are free.

Key features

  • Automatic background removal via a single HTTP API call
  • Accepts direct image file uploads or image URL references
  • Returns results as an image file or JSON-encoded data
  • Output resolution up to 50 megapixels
  • Official libraries/sample code for cURL, Node.js, Python, Ruby, PHP, Java, .NET, Swift, and Objective-C

Frequently asked questions

Is there a free tier?

Yes, the first 50 API calls per month are free.

What kind of images does the API support?

It requires images that have a foreground subject, such as people, products, animals, or cars.

How do I authenticate requests?

Requests are authenticated using an API key passed in the X-Api-Key header.

What programming languages have sample code or libraries?

Sample code and libraries are provided for cURL, Node.js, Python, Ruby, PHP, Java, .NET, Swift, and Objective-C.

What output formats does the API support?

Results can be returned as an image file or as JSON-encoded data.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product