Phoenix Labs Cloud Restore API

The Cloud Restore API from Phoenix Labs — 6 operation(s) for cloud restore.

GitHub OpenAPI

Operations 6

POST /cloud/quote Price a cloud restore #
POST /cloud/jobs Create a restore job and get an upload URL #
GET /cloud/jobs/{id} Restore status and download link #
POST /cloud/jobs/{id}/checkout Checkout link for a restore paid per job #
POST /cloud/jobs/{id}/start Start a balance-paid restore after its upload #
POST /cloud/jobs/{id}/cancel Cancel a balance-paid restore that was never uploaded #

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/phoenixlabs-space:phoenixlabs-space-cloud-restore-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

phoenixlabs-space-cloud-restore-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Phoenix Labs Cloud Restore API
  version: 1.0.0
  summary: Restore old video in the cloud, and turn still images into video clips with sound.
  description: 'Prices are real US dollars. Motion clips and balance-paid restores spend the Phoenix balance behind the key in `Authorization: Bearer`: the owner''s wallet key (pmk_…) or an agent key (pak_…) the owner made with a spending limit. Restores can instead be paid per job through a Lemon Squeezy checkout link, with no key. Files go straight to storage: create the job, PUT the file to `upload_url` with `upload_headers`, then start it. AI agents can use the same operations as MCP tools at https://api.phoenixlabs.space/mcp. Guide: https://phoenixlabs.space/developers'
  contact:
    email: support@phoenixlabs.space
    url: https://phoenixlabs.space/developers
  termsOfService: https://phoenixlabs.space/terms
servers:
- url: https://api.phoenixlabs.space
tags:
- name: Cloud Restore
paths:
  /cloud/quote:
    post:
      operationId: quoteRestore
      summary: Price a cloud restore
      tags:
      - Cloud Restore
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RestoreRequest'
      responses:
        '200':
          description: The price.
          content:
            application/json:
              schema:
                type: object
                properties:
                  amount_cents:
                    type: integer
                  display:
                    type: string
        '422':
          description: Over a limit.
  /cloud/jobs:
    post:
      operationId: createRestore
      summary: Create a restore job and get an upload URL
      tags:
      - Cloud Restore
      description: With a key (and pay_with not 'checkout') the price is taken from the balance now and the job waits for its upload; then call /start. Without a key, give an email, upload, then call /checkout.
      security:
      - {}
      - walletKey: []
      requestBody:
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/RestoreRequest'
              - type: object
                properties:
                  filename:
                    type: string
                  content_type:
                    type: string
                  size:
                    type: integer
                    description: Bytes, up to 2 GB.
                  email:
                    type: string
                    description: Required without a key.
                  pay_with:
                    type: string
                    enum:
                    - balance
                    - checkout
      responses:
        '200':
          description: The job, where to upload, and what to do next.
          content:
            application/json:
              schema:
                type: object
                properties:
                  job:
                    $ref: '#/components/schemas/RestoreJob'
                  upload_url:
                    type: string
                  upload_headers:
                    type: object
                  display_price:
                    type: string
                  paid_from_balance:
                    type: boolean
                  next:
                    type: string
                  wallet:
                    $ref: '#/components/schemas/Wallet'
        '400':
          description: Bad input. `detail` says what to fix.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or unrecognised key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: The balance, or the agent key's limit, doesn't cover the price. `needs_topup` or `over_limit` says which.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /cloud/jobs/{id}:
    get:
      operationId: getRestore
      summary: Restore status and download link
      tags:
      - Cloud Restore
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The job; download_url is set once status is done.
          content:
            application/json:
              schema:
                type: object
                properties:
                  job:
                    $ref: '#/components/schemas/RestoreJob'
  /cloud/jobs/{id}/checkout:
    post:
      operationId: checkoutRestore
      summary: Checkout link for a restore paid per job
      tags:
      - Cloud Restore
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: checkout_url for the customer; the job starts when they have paid.
          content:
            application/json:
              schema:
                type: object
                properties:
                  checkout_url:
                    type: string
                  job:
                    $ref: '#/components/schemas/RestoreJob'
  /cloud/jobs/{id}/start:
    post:
      operationId: startRestore
      summary: Start a balance-paid restore after its upload
      tags:
      - Cloud Restore
      security:
      - walletKey: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The job, now processing (or failed and refunded).
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad input. `detail` says what to fix.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or unrecognised key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: The balance, or the agent key's limit, doesn't cover the price. `needs_topup` or `over_limit` says which.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /cloud/jobs/{id}/cancel:
    post:
      operationId: cancelRestore
      summary: Cancel a balance-paid restore that was never uploaded
      tags:
      - Cloud Restore
      security:
      - walletKey: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The job, cancelled, with the price back on the balance.
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad input. `detail` says what to fix.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or unrecognised key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: The balance, or the agent key's limit, doesn't cover the price. `needs_topup` or `over_limit` says which.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    RestoreJob:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
          enum:
          - pending_payment
          - awaiting_upload
          - queued
          - processing
          - done
          - failed
          - refunded
          - cancelled
          - expired
        quality:
          type: string
          enum:
          - faithful
          - enhanced
          - enhanced_max
        amount_cents:
          type: integer
        duration_sec:
          type: number
        download_url:
          type:
          - string
          - 'null'
        error:
          type:
          - string
          - 'null'
    RestoreRequest:
      type: object
      required:
      - duration_sec
      properties:
        quality:
          type: string
          enum:
          - faithful
          - enhanced
          - enhanced_max
          default: enhanced
          description: faithful is shown as Standard, enhanced_max as Studio Max.
        duration_sec:
          type: number
        width:
          type: integer
        height:
          type: integer
    Error:
      type: object
      properties:
        detail:
          type: string
        needs_topup:
          type: boolean
        over_limit:
          type: boolean
        refused:
          type: string
          description: Content-rule refusal code.
    Wallet:
      type: object
      properties:
        wallet_id:
          type: string
        balance_cents:
          type: integer
        spendable_cents:
          type: integer
        paused:
          type: boolean
        email:
          type: string
          description: Only shown to the wallet key.
        agent_key:
          $ref: '#/components/schemas/AgentKey'
    AgentKey:
      type: object
      properties:
        id:
          type: string
        label:
          type: string
        limit_cents:
          type: integer
        spent_cents:
          type: integer
        remaining_cents:
          type: integer
        created_at:
          type: string
        last_used_at:
          type:
          - string
          - 'null'
        revoked:
          type: boolean
  securitySchemes:
    walletKey:
      type: http
      scheme: bearer
      description: A wallet key (pmk_…) or an agent key (pak_…).
externalDocs:
  url: https://phoenixlabs.space/developers