Skip to main content
GET
curl

Authorizations

Authorization
string
header
required

An account API key. Send it as Authorization: Bearer <key>.

Path Parameters

id
string
required

The job's id, as POST /v1/videos returned it.

Response

The job as it stands now.

A video job as the gateway reports it.

id
string
required

The job id; the polling and content URLs carry it.

object
string
required

Always video.generation.

Example:

"video.generation"

model
string
required

The model the job was submitted for, as the caller named it.

status
string
required

pending, in_progress, completed or failed.

polling_url
string
required

Where to poll this job.

created_at
integer<int64>
required

Unix seconds when the job was accepted.

duration
integer<int64>
required

The requested clip length in seconds.

resolution
string
required

The requested resolution.

aspect_ratio
string
required

The requested aspect ratio.

completed_at
integer<int64> | null

Unix seconds when the job reached completed or failed.

urls
string[] | null

Links to the finished file; present once the job is completed.

usage
object | null

What the job was charged; present once the job is completed.

error
object | null

Why the job failed; present only when it is failed. A failed job is not charged.