获取 Sora 视频生成任务的详细状态和元数据信息
/v1/video/{video_id} 端点允许您获取 Sora 视频生成任务的详细状态和元数据信息。这是跟踪视频生成进度和获取处理完成后视频详情的主要端点。
使用此端点监控视频生成状态、检查进度,并获取视频尺寸、时长、创建时间和过期时间等元数据。
status 字段表示视频生成的当前状态:
| 状态 | 描述 |
|---|---|
queued | 视频已排队等待处理 |
processing | 视频正在生成中 |
completed | 视频生成已成功完成 |
failed | 视频生成失败(查看 error 字段) |
id:视频的唯一标识符status:当前生成状态progress:生成进度百分比(0-100)created_at:请求创建的 Unix 时间戳completed_at:生成完成的 Unix 时间戳expires_at:视频过期的 Unix 时间戳(请及时下载!)error:生成失败时的错误信息model:用于生成的模型seconds:视频时长(秒)size:视频分辨率completed 后,您可以使用 内容端点 下载视频。
expires_at 字段了解视频过期时间。请在生成完成后及时下载视频。过期后无法检索视频。
Bearer token authentication. Include your API key in the Authorization header as 'Bearer YOUR_API_KEY'
The unique identifier of the video generation request
Video details retrieved successfully
Detailed status and metadata information for a Sora video generation task. Use this to monitor video generation progress and obtain video details once processing is complete.
The identifier of the video
"video_68f88d1e44988190b2614f6604afd3b80fb3f07d5e600d05"
Object type, always 'video'
"video"
Current status of the video generation. Use this to track progress.
queued, processing, completed, failed "processing"
Unix timestamp (in seconds) when the request was created
1759938772
Unix timestamp (in seconds) when the video generation completed. Null if not yet completed.
1759942372
Unix timestamp (in seconds) when the video will expire. Download promptly to avoid expiration.
1759945972
Error information if generation failed. Null if no error.
Model used for generation
Generation progress percentage (0-100)
0 <= x <= 100ID of the video this was remixed from, if applicable
Video duration in seconds
Video resolution (width x height)