Skip to content

The video job object

Structured information describing a generated video job.


completed_at integer
Unix timestamp (seconds) for when the job completed, if finished.


created_at integer
Unix timestamp (seconds) for when the job was created.


error object
Error payload that explains why generation failed, if applicable.


error object

code string


message string


expires_at integer
Unix timestamp (seconds) for when the downloadable assets expire, if set.


id string
Unique identifier for the video job.


model string
The video generation model that produced the job.


object string
The object type, which is always video.


progress integer
Approximate completion percentage for the generation task.


prompt string
The prompt that was used to generate the video.


remixed_from_video_id string
Identifier of the source video if this video is a remix.


seconds string
Duration of the generated clip in seconds.


size string
The resolution of the generated video.


status string
Current lifecycle status of the video job.


OBJECT The video job object
bash
{
  "id": "video_123",
  "object": "video",
  "model": "sora-2",
  "status": "completed",
  "progress": 100,
  "created_at": 1712697600,
  "completed_at": 1712697900,
  "size": "1024x1792",
  "seconds": "8",
  "prompt": "A calico cat playing a piano on stage"
}

那年我双手插兜, 让bug稳如老狗