Pixly Uploads API

Only needed for local files with no URL

GitHub OpenAPI

Operations 1

POST /api/v1/uploads Import a photo from a URL, or get a presigned PUT ticket for a local file #

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/pixly-app:pixly-app-uploads-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

pixly-app-uploads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pixly Uploads API
  version: '1'
  summary: Real-estate photo and video tools over plain HTTP.
  description: 'Turn listing photos into staged photos and short videos. Typical flow: POST a tool with imageUrl → if the answer is 202, poll the job until status is "completed" → download resultUrls. Generation tools spend credits from the account''s Pixly balance. Full reference: https://pixly.app/docs.md'
  termsOfService: https://pixly.app/terms
  contact:
    name: Pixly support
    email: support@pixly.app
    url: https://pixly.app/docs
servers:
- url: https://pixly.app
security:
- apiKey: []
- oauth:
  - tools
tags:
- name: Uploads
  description: Only needed for local files with no URL
paths:
  /api/v1/uploads:
    post:
      operationId: create_upload
      summary: Import a photo from a URL, or get a presigned PUT ticket for a local file
      tags:
      - Uploads
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - type: object
                required:
                - url
                properties:
                  url:
                    type: string
                    format: uri
              - type: object
                required:
                - filename
                - contentType
                properties:
                  filename:
                    type: string
                    maxLength: 120
                  contentType:
                    type: string
                    enum:
                    - image/jpeg
                    - image/png
                    - image/webp
                    - image/heic
                    - image/heif
                    - image/tiff
                  sizeBytes:
                    type: integer
      responses:
        '201':
          description: r2Path always; a ticket also carries uploadUrl (PUT the bytes there) and imageUrl (pass to any tool)
          content:
            application/json:
              schema:
                type: object
                required:
                - r2Path
                properties:
                  r2Path:
                    type: string
                  uploadUrl:
                    type: string
                  imageUrl:
                    type: string
                  note:
                    type: string
        '401':
          description: Missing/invalid credential
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Out of credits, or no active subscription (error.required = credits needed) — POST /api/v1/checkout returns a payment link
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Invalid input — error.issues lists the offending fields
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — see Retry-After (120 req/min, 30/min for generations)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
            message:
              type: string
              description: Says what to do next
            issues:
              type: array
              items:
                type: object
                properties:
                  path:
                    type: string
                  message:
                    type: string
            required:
              type: number
              description: Credits the run needs (402)
            jobId:
              type: string
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: An API key (pixly_sk_…) created at https://pixly.app/app/settings.
    oauth:
      type: oauth2
      description: OAuth 2.1 with PKCE; public clients, dynamic registration or Client ID Metadata Documents.
      flows:
        authorizationCode:
          authorizationUrl: https://pixly.app/oauth/authorize
          tokenUrl: https://pixly.app/api/oauth/token
          refreshUrl: https://pixly.app/api/oauth/token
          scopes:
            tools: Run Pixly tools with the account's credits; read its jobs and balance