Basics
- Base URL
https://axiomlab.online- Authentication
- Most
/v1requests sendAuthorization: Bearer <API key>(public style routesGET /v1/styles*and signed download links need no key; an invalid key still returns401). Create a key in your account; the raw key is shown only once. - Projects
X-Project-IDselects a project; the default project is used when it is omitted.- Idempotency
- Send an
Idempotency-Keywith requests that create something and reuse it when retrying; the same value with a different request returns 409. - Asynchronous jobs
POST /v1/videosreturns 202 and a video id; pollGET /v1/videos/{job_id}or receive a webhook.needs_inputmeans something is missing, not that the video is done.- Pagination
- Lists return
data,next_cursorandhas_more; passnext_cursorascursorto get the next page. - Pricing
- Settled from prepaid HKD balance per successfully made film (nothing if a film isn't made or is cancelled); see Pricing or contact sales@axiomlab.online for enterprise volume.
Errors
Errors are JSON with the fields below; include the request_id when you report a problem.
| Name | Type | Description |
|---|---|---|
errorrequired | object | |
error.coderequired | string | Stable machine-readable code, e.g. unauthenticated, not_found, idempotency_conflict, validation_error, rate_limited, insufficient_balance, budget_exceeded, contact_sales, internal_error |
error.messagerequired | string | |
error.details | any | Structured context: validation errors, unmet workflow requirements, or null |
error.request_idrequired | string | nullable |
| Status | Meaning |
|---|---|
401 | Missing or invalid bearer key (`WWW-Authenticate: Bearer`) |
402 | Wallet balance or spending limit would be exceeded |
403 | Key role or project scope does not allow this; `contact_sales` for anything about pricing |
404 | Resource not found in this organization/project |
409 | State conflict, or Idempotency-Key reused with a different request |
422 | Validation error; `details` lists the failing fields or requirements |
429 | Hourly limit reached (`Retry-After` in seconds) |
500 | Unexpected failure; cite `request_id` when reporting it |
Endpoints
Account and capabilities (8)
Who the current key is, and which workflows, video types and visual styles are available.
Assets (5)
Upload PDFs, slides and pictures; reference the returned asset ids in a plan.
Drafts and plans (10)
Save editor drafts, prepare founder-card materials and scripts, and plan before producing: workflow, specs, assets and structure are frozen and anything missing is reported.
Videos (16)
Produce a video from a confirmed plan, follow its progress, download it, resume, revise or cancel it.
Batches (3)
Submit several videos at once.
Events and webhooks (8)
Instead of polling, receive status changes through signed webhooks or the event list.
Brands and templates (10)
Save brand kits and reusable templates, then reference them when producing.
Projects, keys and audit (8)
Manage projects and API keys, and read the change log.
Wallet and usage (7)
Balance, statement, usage and production billing terms, and online top-up.
Service health (2)
Health checks; no key needed.