Articles Getting Started

Our free Remove Background API is a fast and efficient API that allows you to remove backgrounds from your images. We offer white background, transparent background, and custom color backgrounds.

Quick start

Get your API Key

To get started you need first to activate the API for your account and get your API key by following this link.

Make your first HTTP Call

Remove the background of any image by running the following code in your terminal:

curl -H 'x-api-key: abc123def456' \
  -f https://sdk.photoroom.com/v1/segment \
  -F 'image_file=@/absolute/path/to/image.jpg' \
  -o photoroom-result.png

For more details, visit the API Reference playground to experiment with all the available parameters (format, channels, bg_color, size, crop).

Support and Help

Slack Community Support

Ask our engineers in our community forum about how to use the PhotoRoom API:

Join our Slack Community

Support for billing and payment issues

Contact us at api-help@photoroom.com to get help on billing or payments.