跳到主要内容

下载阿里视频内容

下载阿里视频任务的结果文件。任务必须已经成功完成;任务未成功时接口会返回错误。

Try It

GET/aliyun/v1/videos/{task_id}/contenthttps://api-platform.ope.ai

认证

使用 Bearer Token 认证。

  • Header:Authorization: Bearer <api-key>
  • 示例:Authorization: Bearer sk-xxxxxx

Path 参数

参数类型必填说明
task_idstring阿里视频任务 ID

请求示例

curl -L "https://api-platform.ope.ai/aliyun/v1/videos/{task_id}/content" \
-H "Authorization: Bearer $OPEAI_API_KEY" \
-o output.mp4

响应示例

HTTP/1.1 200 OK
Content-Type: video/mp4

[二进制视频数据]