OneUpAI API
On this page
Every endpoint of the OneUpAI API: what to send, what comes back, and every error. A job is charged once, when we accept it, and refunded if it fails.
Three copy-paste steps, in curl, TypeScript and Python, with every response shown: Quickstart
Authentication #
Send your API key as a Bearer token. Store it server-side — it is shown once and kept only as a hash.
Polling & idempotency #
Poll every 2s for the first 30s, then every 5s; UNCERTAIN → every 15s up to 25 min; stop on terminal states.
Send a unique Idempotency-Key on every submit. Retrying with the same key returns the same ticket and is never double-charged.
Endpoints #
Every public endpoint, generated from /openapi.json. Each row links to its section: a request to copy, the full response, and every error it can return. Replace $ONEUP_API_KEY with your key.
| Method | Path | Key | Credits | How it answers |
|---|---|---|---|---|
GET | / | API key | Free | Answers now |
GET | / | None | Free | Answers now |
GET | / | None | Free | Answers now |
POST | / | API key | 2 credits | Queued: poll for the result |
POST | / | API key | 22 credits | Queued: poll for the result |
POST | / | API key | 7 credits | Queued: poll for the result |
POST | / | API key | 10 credits | Queued: poll for the result |
POST | / | API key | 1 credit | Queued: poll for the result |
POST | / | API key | 13 credits (first megapixel) + 4 per additional | Queued: poll for the result |
POST | / | API key | 1 credit per megapixel | Queued: poll for the result |
POST | / | API key | 7 credits (first megapixel) + 4 per additional | Queued: poll for the result |
POST | / | API key | 4 credits | Queued: poll for the result |
POST | / | API key | 3 credits | Queued: poll for the result |
POST | / | API key | 22 credits | Queued: poll for the result |
POST | / | API key | 11 credits | Queued: poll for the result |
POST | / | API key | 2 credits per started minute of your media | Queued: poll for the result |
POST | / | API key | 24 credits per second of clip | Queued: poll for the result |
POST | / | API key | 145 credits per second of clip | Queued: poll for the result |
POST | / | API key | 331 credits per second of clip | Queued: poll for the result |
POST | / | API key | 65 credits per second of clip | Queued: poll for the result |
POST | / | API key | 36 credits per second of clip | Queued: poll for the result |
POST | / | API key | 85 credits | Queued: poll for the result |
POST | / | API key | 2 credits per started minute of your media | Queued: poll for the result |
POST | / | API key | 5 credits per started 30 frames of your video | Queued: poll for the result |
POST | / | API key | 9 credits per second of your media (rounded up) | Queued: poll for the result |
POST | / | API key | 18 credits per second of your media (rounded up) | Queued: poll for the result |
POST | / | API key | 11 credits per second of your media (rounded up) | Queued: poll for the result |
POST | / | API key | 34 credits per second of your media (rounded up) | Queued: poll for the result |
POST | / | API key | 3 credits | Answers now |
POST | / | API key | 7 credits | Answers now |
POST | / | API key | 80 credits | Answers now |
POST | / | API key | 30 credits | Answers now |
POST | / | API key | 6 credits | Answers now |
POST | / | API key | 2 credits | Answers now |
POST | / | API key | 2 credits | Answers now |
GET | / | API key | Free | Answers now |
GET | / | API key | Free | Answers now |
GET | / | API key | Free | Answers now |
GET | / | API key | Free | Answers now |
POST | / | API key | Free | Answers now |
DELETE | / | API key | Free | Answers now |
GET | / | API key | Free | Answers now |
GET | / | API key | Free | Answers now |
POST | / | API key | Free | Answers now |
POST | / | API key | Free | Answers now |
PUT | / | API key | Free | Answers now |
DELETE | / | API key | Free | Answers now |
POST | / | API key | Free | Answers now |
POST | / | API key | Free | Answers now |
DELETE | / | API key | Free | Answers now |
GET | / | API key | Free | Answers now |
GET | / | API key | Free | Answers now |
POST | / | API key | Free | Answers now |
GET | / | API key | Free | Answers now |
DELETE | / | API key | Free | Answers now |
GET | / | API key | Free | Answers now |
PUT | / | API key | Free | Answers now |
POST | / | API key | Free | Answers now |
GET | / | API key | Free | Answers now |
DELETE | / | API key | Free | Answers now |
POST | / | API key | Preview free; final: the render model's price | Queued: poll for the result |
GET | / | API key | Free | Answers now |
GET | / | API key | Free | Answers now |
POST | / | API key | Free | Answers now |
GET | / | API key | Free | Answers now |
PUT | / | API key | Free | Answers now |