ApiX Docs
Docs / Videos
·View as Markdown

Videos

EndpointWhat it does
POST /v1/videoscreates a job and returns {id, status}
GET /v1/videos/{id}status and progress
GET /v1/videos/{id}/statussame, explicit route
GET /v1/videos/{id}/contentthe video bytes when ready
POST /v1/videos/{id}/cancelcancels the job
bash
curl "$APIX_BASE/v1/videos" \
  -H "Authorization: Bearer $APIX_KEY" \
  -H "content-type: application/json" \
  -d '{"model": "<video model>", "prompt": "a drone shot over a black sand beach"}'

The model must declare operations.video_create.enabled. If no model in the catalog does, this endpoint answers 400 UNSUPPORTED_OPERATION. Keys can cap the duration (max_video_seconds_per_request); going over returns 400 VIDEO_SECONDS_EXCEEDED.