<aside> 💡 This page is deprecated. The official documentation is now hosted here https://docs.photoroom.com/docs/api


👋 Welcome to the PhotoRoom API documentation.

The PhotoRoom API allows you to automatically remove backgrounds on any images.

While used by millions via the PhotoRoom mobile app, our API is still in its early days. If you have any questions on how it works, how to use it, and our pricing, please reach out to [email protected] so we can help you out.

🔑 Get an API key

First, you need an API key to use this API. To do so:

🙌 The generic way to call the API

Our background removal API is a web endpoint you can call from any programming language as long as it can send images as form data (just like with a regular form). The exact way to do so depends on the programming language of your choice.

🏄‍♂️ Performance recommendations