Photoroom API
by docs.photoroom.com
Speech, image and audio
Added on November 3rd, 2026
Visit docs.photoroom.com →
What it does
The Photoroom API removes backgrounds and edits product photos, for example to put web shop items on a white background. A GET request with an image URL, or a POST upload, returns the edited image; the key goes in the x-api-key header. Free with a free API key in sandbox mode (prefix the key with sandbox_), up to 1,000 calls per month and 100 per day, with a watermark on the result; paid plans for clean images. An official MCP server at https://mcp.photoroom.com/mcp lets AI agents edit images.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free with a free API key in sandbox mode (prefix the key with sandbox_), up to 1,000 calls per month and 100 per day, with a watermark on the result; paid plans for clean images.
- From the browser
- Yes (CORS)
- Interface
- REST, HTTP-GET, MCP
- Provider
- docs.photoroom.com
More information: https://docs.photoroom.com/image-editing-api-plus-plan/quickstart-guide
Compare: remove.bg API vs Photoroom API
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://image-api.photoroom.com/v2/edit?imageUrl=https://www.remove.bg/example.jpg&removeBackground=true&background.color=FFFFFF' \
-H 'x-api-key: YOUR_API_KEY'
JavaScript
const response = await fetch("https://image-api.photoroom.com/v2/edit?imageUrl=https://www.remove.bg/example.jpg&removeBackground=true&background.color=FFFFFF", {
headers: {
"x-api-key": "YOUR_API_KEY",
},
});
const text = await response.text();
console.log(text);
Python
import requests
response = requests.get(
"https://image-api.photoroom.com/v2/edit?imageUrl=https://www.remove.bg/example.jpg&removeBackground=true&background.color=FFFFFF",
headers={
"x-api-key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.text)
Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.