Videos
Get Task Status
Retrieve the current status of a video generation task
GET
Retrieves the current status of a video generation task. Poll this endpoint to check when your video is ready.
See Error Handling for more details.
If you need the video after expiration:
Path Parameters
The unique identifier of the task, returned when creating a slideshow.Example:
task_abc123xyzResponse
The response varies based on the task status:Common Fields
Unique identifier for the task.
Current task status:
queued, processing, completed, or failed.Task creation timestamp (ISO 8601 format).
true for tasks created with a live (vpk_live_) key; false for test-mode (vpk_test_) sandbox tasks.Test and live tasks are isolated: a
vpk_test_ key can only read test tasks and a vpk_live_ key can only read live tasks. Reading a task created with the other key type returns the same 404 TASK_NOT_FOUND as a missing task. See Test Mode.Queued Status
Position in the processing queue.
Estimated completion time (ISO 8601 format).
Processing Status
When processing began (ISO 8601 format).
Completed Status
When processing finished (ISO 8601 format).
The video generation result.
Failed Status
Error details when the task failed.
Polling Best Practices
Here’s a recommended polling implementation:Error Codes
| Code | Status | Description |
|---|---|---|
TASK_NOT_FOUND | 404 | Task doesn’t exist or belongs to another user |
INVALID_API_KEY | 401 | Invalid or missing API key |
Video URL Expiration
Video URLs expire after 7 days. Download or store the video before the
expires_at timestamp.- Re-request the task status (if the video is still available in storage)
- Create a new slideshow with the same images

