Skip to content
Limited-time offerevery video just HK$1only 1,000, first come first servedGet it now
Axiom Lab
Developer docs

Reference

API reference · Account and capabilities

Who the current key is, and which workflows and video types are available.

View Markdown

Me

GET/v1/me

API key requiredSuccess 200

Parameters

NameTypeDescription
X-Project-IDheaderstringThe project to act on; the default project when omitted; nullable

Response 200 application/json

NameTypeDescription
idrequiredstring
key_idrequiredstringSame as id
organization_idrequiredstring
project_idrequiredstring
rolerequiredstringOne of: owner editor viewer
billing_moderequiredstringOne of: budget prepaid
walletrequiredobject
permissionsrequiredmap<string, boolean>

Example

curl "https://axiomlab.online/v1/me" \
  -H "Authorization: Bearer $AZIMO_API_KEY"

Workflows

GET/v1/workflows

API key requiredSuccess 200

Parameters

NameTypeDescription
X-Project-IDheaderstringThe project to act on; the default project when omitted; nullable

Response 200 application/json

NameTypeDescription
routerrequiredobject
workflowsrequiredmap<string, object>

Example

curl "https://axiomlab.online/v1/workflows" \
  -H "Authorization: Bearer $AZIMO_API_KEY"

Video Skills

GET/v1/workflows/creative_video/skills

API key requiredSuccess 200

Kept for client compatibility: the production service chooses its own techniques, so no skill catalogue is offered.

Parameters

NameTypeDescription
X-Project-IDheaderstringThe project to act on; the default project when omitted; nullable

Response 200 application/json

NameTypeDescription
datarequiredarray<any>

Example

curl "https://axiomlab.online/v1/workflows/creative_video/skills" \
  -H "Authorization: Bearer $AZIMO_API_KEY"

Video Types

GET/v1/video-types

API key requiredSuccess 200

Parameters

NameTypeDescription
langquerystringDisplay language, zh (default) or en; when absent the first zh/en entry of Accept-Language is used; length ≤ 16; nullable
X-Project-IDheaderstringThe project to act on; the default project when omitted; nullable
accept-languageheaderstringnullable

Response 200 application/json

NameTypeDescription
datarequiredarray<object>
data[].idrequiredstring
data[].versionrequiredany
data[].templateany
next_cursorstringOpaque; pass as cursor (or the after alias) for the next page; nullable
has_morebooleanDefault false

Example

curl "https://axiomlab.online/v1/video-types" \
  -H "Authorization: Bearer $AZIMO_API_KEY"

Playground

GET/v1/playground

API key requiredSuccess 200

The workflow gallery: eight fixed entries, each with routing values, whether this account can start it now, and a runnable example.

Parameters

NameTypeDescription
langquerystringDisplay language, zh (default) or en; when absent the first zh/en entry of Accept-Language is used; length ≤ 16; nullable
X-Project-IDheaderstringThe project to act on; the default project when omitted; nullable
accept-languageheaderstringnullable

Response 200 application/json

NameTypeDescription
datarequiredarray<object>
data[].idrequiredstringStable catalogue id
data[].namerequiredstring
data[].summaryrequiredstringOne benefit-oriented sentence
data[].workflowrequiredstringBackend routing value for options.workflow; null for an entry that has no workflow yet (custom); nullable
data[].video_typerequiredstringoptions.video_type for structured explainers, otherwise null; nullable
data[].aspectrequiredstringOne of: 16:9 9:16 1:1
data[].durationrequiredintegerDefault options.duration_max in seconds
data[].duration_rangerequiredarray<integer>[minimum, maximum] seconds the workflow accepts
data[].needs_assetsrequiredbooleanAt least one material file is required: a plan without one is needs_input with materials_required
data[].availablerequiredbooleanThe entry is open in this catalogue and its workflow is configured here. A display flag, not an API permission: plans and videos are checked by their own requirements
data[].reasonrequiredstringWhy available is false: coming_soon (not open in this catalogue) or not_configured (this environment); One of: coming_soon not_configured contact_sales; nullable
data[].coming_soonrequiredboolean
data[].examplerequiredobject
data[].example.promptrequiredstringA ready-to-run creative brief for POST /v1/videos or POST /v1/plans
data[].example.content_datarequiredmap<string, string>Sample value for every input of the workflow's video type (options.content_data); empty when the workflow has none

Example

curl "https://axiomlab.online/v1/playground" \
  -H "Authorization: Bearer $AZIMO_API_KEY"

← All endpoints