Background Removal API

Remove the background
of any image*
with 1 API call

$ curl -H 'X-API-Key: YOUR_API_KEY'                      \
       -F '[email protected]/path/to/file.jpg'                \
       -f -o no-bg.png

$ curl -H 'X-API-Key: YOUR_API_KEY' \
  -F '[email protected]/path/to/file.jpg' \
  -f \
  -o no-bg.png

Get API Key

* Currently supported: Photos of persons. More coming soon.

Easy to integrate

Our API is a simple HTTP interface with various options:

  • Source images: Direct uploads or URL reference
  • Result images: Image file or JSON-encoded data
  • Output resolution: up to 10 megapixels
  • Requires images with persons in them (more coming soon)

Get started

  1. Get an API Key. Your first 50 API calls per month are on us (see Pricing).
  2. Use the following code samples to get started quickly
  3. Review the reference docs to adjust any parameters

Sample Code

Remove background from


API Reference