Download video
Download the MP4 of a completed job. The file is streamed through ApiLux, so your ApiLux API key is all you need.
Implemented
Request
GET
/videos/generations/{jobId}/contentRequires the Authorization: Bearer apl_... header
| Field | Type | Description |
|---|---|---|
jobIdrequired | string (path) | A job ID in the completed state. |
Response
| Field | Type | Description |
|---|---|---|
(binary)required | video/mp4 | The MP4 file contents. |
Billing
Free. You were charged at job creation.
Examples
curl https://apilux.net/api/v1/videos/generations/vidjob_YOUR_JOB_ID/content \
-H "Authorization: Bearer apl_YOUR_API_KEY" \
-o video.mp4Errors
| HTTP | Code | Meaning |
|---|---|---|
| 401 | auth_missing_or_malformed | Missing Authorization header, or it is not in the Bearer apl_... form. |
| 401 | auth_invalid | The API key does not exist. |
| 401 | auth_revoked | The API key has been revoked. |
| 401 | auth_expired | The API key has expired. |
| 400 | invalid_request | The job is not completed yet, so there is no file. |
| 404 | not_found | The job does not exist or is not yours. |
Notes
ApiLux does not promise permanent video storage. Download the file soon after the job completes.