PhotoRoom
AI product photos and backgrounds: cutout, shadows and fill
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
Where to find them
- In the PhotoRoom API dashboard create a key (the test key “sandbox_…” uses no credits and marks the images).
- Copy it.
- Each processed image uses credits; the connection test does not.
Tools (1)
PhotoRoom API request
PHOTOROOM_SEND_REQUESTAuthenticated call to the PhotoRoom API (https://image-api.photoroom.com). Any endpoint of the API is allowed. Examples: GET /v2/edit?imageUrl=https://…&removeBackground=true&background.color=FFFFFF&outputSize=1000x1000, POST /v2/edit (multipart with imageFile), POST https://sdk.photoroom.com/v1/segment (multipart with image_file: cutout only), GET /v2/account.
Required scopes
No scopes required
Input
PhotoRoom API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

