PennyCompute Images API
Container images registered for instances. Not offered at present: a start answers 409 no_capacity.
Container images registered for instances. Not offered at present: a start answers 409 no_capacity.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/pennycompute-com:pennycompute-com-images-api"
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.
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: 3.2.0
info:
title: PennyCompute buyer Images API
version: 1.10.2
description: 'Media jobs over HTTP: video generation with MiniMax H3, FFmpeg work (transcode, stitch, sound mix, captions, timeline exports, frame images and sound files), media measurement and Remotion renders. Create a server API key in the dashboard at https://app.pennycompute.com and send it on every call as Authorization: Bearer . Submit a job to POST /v1/jobs with a service_id and its input, read GET /v1/jobs/{id} until its status is final or register a webhook endpoint, then fetch the file from the link GET /v1/jobs/{id}/output returns. Media goes in by public link; POST /v1/assets hosts one source file or a complete Remotion bundle. h3.video.v1 is text to video with optional first and last frames or reference files; h3.reference_480p.v1 is the earlier one-image preset, kept for existing integrations. Bodies are JSON, up to 2 MB. Amounts are strings in millionths of one US dollar. Each API key may send 600 requests a minute. A request over the limit receives HTTP 429 with the error rate_limited and a Retry-After header in seconds. Job submissions, estimates and capacity reads are each limited to 120 a minute for a key and answer 429 past that. Guides are at https://pennycompute.com/docs, the reference at https://pennycompute.com/docs/api and the dated list of changes at https://pennycompute.com/docs/changes.'
servers:
- url: https://api.pennycompute.com
security:
- buyerKey: []
tags:
- name: Images
description: 'Container images registered for instances. Not offered at present: a start answers 409 no_capacity.'
paths:
/v1/images:
post:
operationId: registerImage
tags:
- Images
summary: Register an image
description: Push the image to a registry of your own with ordinary tooling, then register its reference here. PennyCompute copies it once and serves it to the machines; your registry is not read again. Registering a digest that is already held returns it.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ImageSource'
responses:
'200':
description: Already registered
content:
application/json:
schema:
$ref: '#/components/schemas/Image'
'202':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Image'
default:
description: Request error
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
get:
operationId: listImages
tags:
- Images
summary: List your images
description: Every registered image with its state.
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
images:
type: array
items:
$ref: '#/components/schemas/Image'
required:
- images
default:
description: Request error
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
/v1/images/{digest}:
parameters:
- name: digest
in: path
required: true
schema:
type: string
pattern: ^sha256:[0-9a-f]{64}$
description: The image digest, as printed by the push to your registry.
get:
operationId: getImage
tags:
- Images
summary: Read whether the machines hold an image
description: An instance can be started once the state is held.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Image'
default:
description: Request error
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
/v1/images/{digest}/remove:
parameters:
- name: digest
in: path
required: true
schema:
type: string
pattern: ^sha256:[0-9a-f]{64}$
description: The image digest, as printed by the push to your registry.
post:
operationId: removeImage
tags:
- Images
summary: Remove an image
description: Deletes the stored copy. Running instances keep running.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties: {}
required: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
removed:
const: true
digest:
type: string
pattern: ^sha256:[0-9a-f]{64}$
description: The image digest, as printed by the push to your registry.
required:
- removed
default:
description: Request error
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
components:
schemas:
Image:
type: object
properties:
digest:
type: string
pattern: ^sha256:[0-9a-f]{64}$
description: The image digest, as printed by the push to your registry.
name:
type: string
source:
type: string
description: The registry and repository the image was copied from.
state:
type: string
enum:
- copying
- distributing
- held
- failed
description: 'copying: being fetched from your registry. distributing: stored, the machines are fetching it. held: at least one machine holds it and a start can be placed. failed: the copy stopped; see error.'
error:
type: string
enum:
- source_unauthorized
- source_not_found
- source_unavailable
- source_rate_limited
- digest_mismatch
- invalid_manifest
- unsupported_layer
- no_linux_platform
- layer_too_large
- image_too_large
- image_storage_full
size_bytes:
type: integer
description: Compressed size of every stored layer.
platforms:
type: array
items:
type: object
properties:
architecture:
type: string
enum:
- amd64
- arm64
size_bytes:
type: integer
required: []
machines_holding:
type: integer
description: Machines that hold the image now.
created_at:
type: string
format: date-time
required:
- digest
- name
- state
- machines_holding
ImageSource:
type: object
properties:
source:
type: string
description: An image reference in any registry that speaks the OCI distribution API, for example ghcr.io/acme/renderer@sha256:… . A tag is read once and held as its digest. Images for linux/amd64 and linux/arm64 are copied. Each layer up to 5 GB, one image up to 20 GiB.
username:
type: string
description: Username of a read credential, when your registry needs one.
password:
type: string
description: Password or access token for the read credential.
name:
type: string
pattern: ^[a-z0-9]+(?:[._-][a-z0-9]+)*$
description: A display name. Defaults to the last part of the repository.
required:
- source
securitySchemes:
buyerKey:
type: http
scheme: bearer
description: 'A server API key, created in the dashboard at https://app.pennycompute.com under Server API keys. It starts with pc_live_ and is shown once, when it is created. Send it as Authorization: Bearer <key>. A key carries the scopes jobs:read and jobs:write. Submitting and cancelling jobs, preparing uploads and changing webhook endpoints need jobs:write; listing and reading jobs, usage, invoices and webhook endpoints need jobs:read. A call with no key, or with an unknown or revoked one, answers 401 unauthorized. A key without the scope answers 403 missing_scope.'