Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Photoroom Account API
version: 1.0.0
description: The Photoroom API takes an image as input, applies edits (background removal, AI backgrounds, shadows, relighting, text removal, flat lay, ghost mannequin, virtual model, and more), and returns the edited image.
contact:
name: Photoroom API Team
email: api-help@photorom.com
url: https://photoroom.com/api
termsOfService: https://www.photoroom.com/legal/terms-and-conditions
security:
- x-api-key: []
tags:
- name: Account
paths:
/v1/account:
get:
operationId: account-details-v1
summary: Account Details v1
description: Get current account details, including remaining credits balance and monthly quota
servers:
- url: https://image-api.photoroom.com
description: Production server (Plus plan)
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
credits:
type: object
properties:
available:
type: number
description: The number of credits available
title: Available
example: 100
subscription:
type: number
description: The number of credits available in the subscription
title: Subscription
example: 100
minimum: 0
required:
- available
- subscription
required:
- credits
'400':
description: Bad Request
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
message:
type: string
description: The message describing the error
title: Message
example: 'apiKey: Required'
required:
- message
required:
- error
title: Field Missing Error
'403':
description: Forbidden
tags:
- Account
/v2/account:
get:
operationId: account-details-v2
summary: Account Details v2
description: Get current account details, including remaining image edits and monthly quota
servers:
- url: https://image-api.photoroom.com
description: Production server (Plus plan)
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
images:
type: object
properties:
available:
type: number
description: The number of images available
title: Available
example: 100
subscription:
type: number
description: The total number of image available in the subscription
title: Subscription
example: 100
minimum: 0
required:
- available
- subscription
plan:
type: string
description: The name of the pricing plan
title: Plan
example: basic
required:
- images
- plan
'400':
description: Bad Request
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
message:
type: string
description: The message describing the error
title: Message
example: 'apiKey: Required'
required:
- message
required:
- error
title: Field Missing Error
'403':
description: Forbidden
tags:
- Account
components:
securitySchemes:
x-api-key:
type: apiKey
name: x-api-key
in: header
description: Get you API Key [here](https://app.photoroom.com/api-dashboard)