Skip to main content
GET
Query a video task

Authorizations

Authorization
string
header
required

API Key created in the DreamTo console, sent as Authorization: Bearer <API Key>.

Path Parameters

task_id
string
required

The task_id returned when the task was created.

Example:

"job_02b88886c4fda5be35baff61"

Response

Task details.

Task details.

task_id
string
required

Task ID.

status
enum<string>
required

Task status.

Allowed values:

  • queued: Waiting in the queue.
  • in_progress: Being generated.
  • completed: Finished; download the video from video_url.
  • failed: Failed; see error for the reason. Not charged.
Available options:
queued,
in_progress,
completed,
failed
model
string
required

Model name.

created_at
integer<int64>
required

Task creation time, Unix timestamp in seconds.

request_id
string
required

ID of the request that created the task; include it when reporting issues.

completed_at
integer<int64>

Time the task finished (completed or failed), Unix timestamp in seconds; absent while the task is running.

video_url
string

Download URL of the generated video; only present when status is completed. The link is valid for 7 days, so download and store the video promptly.

error
object

Failure details; only present when status is failed.