PropertyPixel Photos API

Source photos in a project.

GitHub OpenAPI

Operations 2

POST /projects/{project_id}/photos Add photos to a project #
POST /projects/{project_id}/photos/delete Delete photos #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/propertypixel-app:propertypixel-app-photos-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

propertypixel-app-photos-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PropertyPixel Photos API
  version: 1.1.0
  summary: Enhance and stage real estate photos, and turn them into listing videos.
  description: 'The PropertyPixel REST API covers the photo workflow (create projects, add photos, enhance and stage them, and download the results) and listing videos made from those photos. The MCP server at `https://mcp.propertypixel.app` exposes these operations as tools.


    Authenticate with an API key (`Authorization: Bearer pp_live_…`) created in Settings → Developers, or with an OAuth access token. Each credential is bound to one workspace and spends that workspace''s credits.


    Operations that spend credits use a quote → confirm flow. Errors are `application/problem+json` with a stable `code`. Guides: https://docs.propertypixel.app.'
  termsOfService: https://propertypixel.app/terms
  contact:
    name: PropertyPixel support
    email: hello@propertypixel.app
    url: https://docs.propertypixel.app
  x-logo:
    url: https://propertypixel.app/branding/logo-full-teal.svg
    altText: PropertyPixel
    href: https://propertypixel.app
servers:
- url: https://api.propertypixel.app/v1
  description: This deployment
security:
- bearerAuth: []
- oauth2: []
tags:
- name: Photos
  description: Source photos in a project.
paths:
  /projects/{project_id}/photos:
    post:
      operationId: add_photos
      summary: Add photos to a project
      description: 'Add photos to a project from public https image URLs (`image_urls`) or from files the user attached in ChatGPT (`files`). Up to 25 photos per call; a project holds at most 100. Each file must be JPEG, PNG, WebP, HEIC or HEIF and at most 25 MB. Dropbox and Google Drive share links work if they are shared publicly. HEIC is converted to JPEG and large photos are downscaled to a 2048px long edge, like the web app. Returns the new photos (use their IDs with enhance_photos or stage_photos) and a `failed` list with a reason per source; report failures to the user rather than retrying blindly. If the user has photos on their phone or computer and no links, call create_upload_link instead.


        Requires a connection with edit access.'
      tags:
      - Photos
      x-required-scope: write
      parameters:
      - in: path
        name: project_id
        schema:
          type: string
          format: uuid
          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          description: The project to add photos to.
        required: true
        description: The project to add photos to.
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                image_urls:
                  description: Public https image URLs (max 25).
                  maxItems: 25
                  type: array
                  items:
                    type: string
                    format: uri
                    description: A public https:// image URL.
                files:
                  description: Files the user attached in ChatGPT.
                  maxItems: 25
                  type: array
                  items:
                    $ref: '#/components/schemas/ChatGptFile'
      responses:
        '201':
          description: Add photos to a project
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimitReset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhotoList'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/Unprocessable'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
  /projects/{project_id}/photos/delete:
    post:
      operationId: delete_photos
      summary: Delete photos
      description: 'Delete photos from a project, together with every edit and staging made from them. Only do this when the user explicitly asks to remove those photos; confirm which ones first. All IDs must belong to the project, otherwise nothing is deleted. Returns the deleted IDs; call get_project to see what remains.


        Requires a connection with edit access.'
      tags:
      - Photos
      x-required-scope: write
      parameters:
      - in: path
        name: project_id
        schema:
          type: string
          format: uuid
          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          description: The project the photos belong to.
        required: true
        description: The project the photos belong to.
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                photo_ids:
                  description: Photo IDs to delete (max 100).
                  minItems: 1
                  maxItems: 100
                  type: array
                  items:
                    type: string
                    format: uuid
                    pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
              required:
              - photo_ids
      responses:
        '200':
          description: Delete photos
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimitReset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhotoDeletion'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/Unprocessable'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  responses:
    Unprocessable:
      description: 'An Idempotency-Key was reused with a different body, or an upload was rejected. Codes: `idempotency_conflict`, `upload_rejected`.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    NotFound:
      description: 'The resource doesn''t exist in this workspace. Codes: `not_found`.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    RateLimited:
      description: 'Too many requests for this connection. Codes: `rate_limited`.'
      headers:
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Conflict:
      description: 'The request conflicts with the current state. Codes: `conflict`, `idempotency_in_progress`.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Forbidden:
      description: 'The credential can''t do this. View-only connections get forbidden_scope on writes. Codes: `forbidden_scope`, `forbidden`.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Unauthorized:
      description: 'Missing, invalid or revoked credential. Codes: `unauthorized`.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    InternalError:
      description: 'Something failed on our side. Retry later. Codes: `internal`.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    BadRequest:
      description: 'The request is invalid. Codes: `validation_failed`.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  schemas:
    ErrorCode:
      type: string
      enum:
      - unauthorized
      - forbidden_scope
      - forbidden
      - upgrade_required
      - not_found
      - validation_failed
      - insufficient_credits
      - quote_required
      - quote_expired
      - quote_mismatch
      - idempotency_conflict
      - idempotency_in_progress
      - conflict
      - video_not_ready
      - rate_limited
      - upload_rejected
      - internal
      description: Stable machine-readable error code.
    ChatGptFile:
      type: object
      properties:
        download_url:
          type: string
          description: Temporary download URL supplied by ChatGPT.
        file_id:
          type: string
          description: ChatGPT file ID.
        mime_type:
          type: string
        file_name:
          type: string
      required:
      - download_url
      - file_id
    PhotoDeletion:
      type: object
      properties:
        object:
          type: string
          const: deletion
        deleted_ids:
          type: array
          items:
            type: string
            format: uuid
            pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        project_id:
          type: string
          format: uuid
          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
      required:
      - object
      - deleted_ids
      - project_id
      additionalProperties: false
    PhotoList:
      type: object
      properties:
        object:
          type: string
          const: photo_list
        photos:
          type: array
          items:
            $ref: '#/components/schemas/Photo'
        failed:
          type: array
          items:
            type: object
            properties:
              source:
                type: string
                description: The URL or file name that failed.
              error:
                type: string
            required:
            - source
            - error
            additionalProperties: false
        project_photo_count:
          type: integer
          description: Photos now in the project (max 100).
      required:
      - object
      - photos
      - failed
      - project_photo_count
      additionalProperties: false
    Problem:
      type: object
      properties:
        type:
          type: string
          format: uri
          description: Link to the documentation for this error code.
        title:
          type: string
          description: Short summary of the error code.
        status:
          type: integer
          description: The HTTP status code.
        code:
          $ref: '#/components/schemas/ErrorCode'
        detail:
          type: string
          description: What went wrong, in plain language.
        errors:
          description: Per-field problems, for validation_failed.
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
              code:
                description: A stable code for this problem.
                type: string
              account_id:
                description: The account the problem is about, when it is about one.
                type: string
            required:
            - path
            - message
            additionalProperties: false
        retry_after:
          description: Seconds to wait before retrying, for rate_limited.
          type: integer
      required:
      - type
      - title
      - status
      - code
      - detail
      additionalProperties: false
      description: An RFC 9457 problem details object (`application/problem+json`).
    Photo:
      type: object
      properties:
        object:
          type: string
          const: photo
        id:
          type: string
          format: uuid
          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        project_id:
          anyOf:
          - type: string
            format: uuid
            pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          - type: 'null'
        filename:
          type:
          - string
          - 'null'
        room_type:
          type:
          - string
          - 'null'
        width:
          type:
          - integer
          - 'null'
        height:
          type:
          - integer
          - 'null'
        original:
          anyOf:
          - $ref: '#/components/schemas/MediaUrl'
          - type: 'null'
        thumbnail:
          anyOf:
          - $ref: '#/components/schemas/MediaUrl'
          - type: 'null'
        created_at:
          type: string
          format: date-time
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
      required:
      - object
      - id
      - project_id
      - filename
      - room_type
      - width
      - height
      - original
      - thumbnail
      - created_at
      additionalProperties: false
    MediaUrl:
      type: object
      properties:
        url:
          type: string
          format: uri
        expires_at:
          type: string
          format: date-time
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
          description: Signed URL expiry (about 1 hour). Re-fetch for a fresh URL.
      required:
      - url
      - expires_at
      additionalProperties: false
  headers:
    RetryAfter:
      required: true
      description: Seconds to wait before retrying.
      schema:
        type: integer
        description: Seconds to wait before retrying.
    RateLimitReset:
      required: true
      description: Seconds until the window resets.
      schema:
        type: integer
        description: Seconds until the window resets.
    RateLimitLimit:
      required: true
      description: Requests allowed per window.
      schema:
        type: integer
        description: Requests allowed per window.
    RateLimitRemaining:
      required: true
      description: Requests left in this window.
      schema:
        type: integer
        description: Requests left in this window.
  parameters:
    IdempotencyKey:
      in: header
      name: Idempotency-Key
      schema:
        description: A unique key (for example a UUID) that makes retries safe. A retry with the same key and body returns the stored response; the same key with a different body returns 422. Keys last 24 hours.
        type: string
        maxLength: 255
      description: A unique key (for example a UUID) that makes retries safe. A retry with the same key and body returns the stored response; the same key with a different body returns 422. Keys last 24 hours.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: pp_live_…
      description: An API key from Settings → Developers (`pp_live_…`), or an OAuth access token.
    oauth2:
      type: oauth2
      description: OAuth 2.1 with PKCE, for apps acting for a user. The user picks a workspace and access level on the consent screen.
      flows:
        authorizationCode:
          authorizationUrl: https://llflgtovnkrsjqydycyu.supabase.co/auth/v1/oauth/authorize
          tokenUrl: https://llflgtovnkrsjqydycyu.supabase.co/auth/v1/oauth/token
          scopes: {}
externalDocs:
  description: Guides and quickstarts
  url: https://docs.propertypixel.app
x-rate-limits:
  read: 120 requests per 60s per connection
  write: 20 requests per 60s per connection