Recolor the Past Jobs API

The Jobs API from Recolor the Past — 2 operation(s) for jobs.

GitHub OpenAPI

Operations 2

POST /api/v1/jobs Upload a photo and start a colorization or restoration #
GET /api/v1/jobs/{id} Check a job's status #

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/recolorthepast-com:recolorthepast-com-jobs-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

recolorthepast-com-jobs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Recolor the Past AI tools and developer Jobs API
  version: 1.2.0
  description: 'Public, read-only photo guidance and archive calculators, plus the authenticated API an AI assistant or developer uses on a user''s behalf. Delegated access uses a personal API key (Authorization: Bearer rtp_live_…) or OAuth 2.1; the MCP server is at https://api.recolorthepast.com/mcp. The ChatGPT app endpoint https://api.recolorthepast.com/mcp/chatgpt processes photos using existing credits and free allowance, without purchase or subscription tools. Every credential has a user-approved monthly credit cap, and agents can only create checkout links: the user completes every payment. Setup guide: https://recolorthepast.com/en/ai'
servers:
- url: https://recolorthepast.com
  description: Public, read-only agent tools
- url: https://api.recolorthepast.com
  description: Authenticated developer API (API key or OAuth 2.1)
tags:
- name: Jobs
paths:
  /api/v1/jobs:
    servers:
    - url: https://api.recolorthepast.com
      description: Authenticated developer API (API key or OAuth 2.1)
    post:
      operationId: createJob
      summary: Upload a photo and start a colorization or restoration
      description: mode=preview renders a free, watermarked preview; mode=paid renders the full-resolution result and spends credits (see creditsCost).
      security:
      - apiKey: []
      - oauth2:
        - photos
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              properties:
                file:
                  type: string
                  format: binary
                  description: JPEG, PNG, WebP, TIFF, BMP or GIF image
                mode:
                  type: string
                  enum:
                  - preview
                  - paid
                  default: preview
                settings:
                  type: string
                  description: JSON-encoded JobSettings object (see components.schemas.JobSettings), e.g. {"colorize":true}
      responses:
        '201':
          description: Job queued
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateJobResponse'
        '400':
          description: Invalid upload or settings (e.g. feature_disabled, image_too_large)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid or revoked credential
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: insufficient_credits, preview_limit or spend_limit_reached (the credential's monthly cap)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: delegated_forbidden or insufficient_scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: upload_too_large
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: rate_limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Jobs
  /api/v1/jobs/{id}:
    servers:
    - url: https://api.recolorthepast.com
      description: Authenticated developer API (API key or OAuth 2.1)
    get:
      operationId: getJob
      summary: Check a job's status
      security:
      - apiKey: []
      - oauth2:
        - photos
      parameters:
      - name: id
        in: path
        required: true
        description: Job ID
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Job status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Job'
        '401':
          description: Missing, invalid or revoked credential
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: delegated_forbidden or insufficient_scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Jobs
components:
  schemas:
    JobStatus:
      type: string
      enum:
      - queued
      - leased
      - processing
      - succeeded
      - failed
    CreateJobResponse:
      type: object
      required:
      - jobId
      - imageId
      - mode
      - status
      - creditsCost
      properties:
        jobId:
          type: string
          format: uuid
        imageId:
          type: string
          format: uuid
        mode:
          type: string
          enum:
          - preview
          - paid
        status:
          $ref: '#/components/schemas/JobStatus'
        creditsCost:
          type: integer
    Job:
      type: object
      required:
      - id
      - imageId
      - mode
      - status
      - ready
      properties:
        id:
          type: string
          format: uuid
        imageId:
          type: string
          format: uuid
        mode:
          type: string
          enum:
          - preview
          - paid
        status:
          $ref: '#/components/schemas/JobStatus'
        creditsCost:
          type: integer
        errorCode:
          type:
          - string
          - 'null'
        result:
          type:
          - object
          - 'null'
        ready:
          type: boolean
          description: True when the result can be downloaded
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
        code:
          type: string
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: rtp_live_…
      description: Personal API key created in Account → AI assistants & API. Carries its own monthly credit cap.
    oauth2:
      type: oauth2
      description: 'OAuth 2.1 with PKCE (S256). Discovery: https://api.recolorthepast.com/.well-known/oauth-authorization-server; dynamic client registration: https://api.recolorthepast.com/oauth/register.'
      flows:
        authorizationCode:
          authorizationUrl: https://recolorthepast.com/oauth/authorize
          tokenUrl: https://api.recolorthepast.com/oauth/token
          refreshUrl: https://api.recolorthepast.com/oauth/token
          scopes:
            photos: Create, read, reprocess, cancel and organize the user's photos and processing history
            billing: Read existing purchases and invoices; general MCP clients can create checkout and billing-portal links (the user completes payment)
externalDocs:
  description: Full service and citation guide
  url: https://recolorthepast.com/llms-full.txt