Monitor asynchronous t2v/i2v generation tasks and download the produced video assets.
task_id. Use the video task status endpoint to poll the job until it finishes. The payload mirrors the async submission response and includes downloadable asset URLs when the task succeeds.
GET https://api.siray.ai/v1/video/generations/{task_id}Authorization: Bearer <SIRAY_API_TOKEN>| Name | Description |
|---|---|
task_id | ID returned when the video task was created. |
code / message: Service-level indicators for the polling request.data.task_id: Echo of the video task identifier.data.status: Lifecycle state — values listed below.data.progress: Human-readable progress string.data.outputs: URLs pointing to the generated video assets (present when status is SUCCESS).data.fail_reason: Explains why processing stopped when status is FAILURE.data.submit_time, data.start_time, data.finish_time: Unix timestamps that help track total latency.| Status | Meaning |
|---|---|
NOT_START | Task accepted but preprocessing has not started yet. |
SUBMITTED | Request stored and waiting to enter the queue. |
QUEUED | Task is scheduled and waiting for compute resources. |
IN_PROGRESS | Generation is currently running. |
SUCCESS | Outputs are ready; download the video via the provided URLs. |
FAILURE | Irrecoverable error; inspect fail_reason for remediation steps. |
WhenstatusreachesSUCCESS, stream or download the video from the URLs inoutputs. If the task fails, retry after resolving the underlying issue noted infail_reason.
Bearer authentication using API key
Identifier returned from the video generation task submission
Task status and (if available) generated outputs