跳转到主要内容
GET
/
v1
/
videos
/
{video_id}
/
content
Download finished Sora video content
curl --request GET \
  --url https://api.cometapi.com/v1/videos/{video_id}/content \
  --header 'Authorization: Bearer <token>'
"<string>"
使用此端点可在任务达到 completed 后下载最终的 Sora 输出。在此之前,它会返回错误,而不是视频文件。

下载前准备

  • 等待 获取视频 返回 status: completed
  • 传入创建或 remix 步骤中的 video_id
  • 如果你需要让文件在提供方的临时交付窗口之外继续可用,请将文件存储到你自己的 bucket 或 CDN 中

下载流程

1

创建或 remix 视频

创建视频Remix Video 开始。
2

轮询直到完成

使用 获取视频,直到任务达到 completed
3

获取二进制文件

调用此端点以下载 MP4 或其他受支持的资源变体。

临时交付窗口

OpenAI 的 Videos API 使用相同的最终下载步骤。在 2026-03-12 的实际验证中,在完成前调用此端点会返回 invalid_request_error JSON 响应,这也是在渲染仍在进行时你应预期的行为。

授权

Authorization
string
header
必填

Bearer token authentication. Use your CometAPI key.

路径参数

video_id
string
必填

Completed video id.

查询参数

variant
string

Optional content variant such as the main video, thumbnail, or spritesheet when supported by the provider.

响应

Binary video content.

The response is of type file.