TokenFleet
AI 模型接口视频(Videos)Sora格式

获取视频内容

接口

GET /v1/videos/{task_id}/content

请求头

Header必填说明
AuthorizationBearer <token>
Acceptvideo/mp4

路径参数

字段必填类型说明
task_idstring视频任务 ID

响应参数

video/mp4

  • 成功时返回视频二进制流。

错误响应

404 Not Found

字段类型说明
error.messagestring错误信息
error.typestring错误类型
error.paramstring | null相关参数
error.codestring | null错误代码

说明

  • 该接口用于下载已经完成的任务视频文件。
GET
/v1/videos/{task_id}/content

Authorization

BearerAuth

AuthorizationBearer <token>

使用 Bearer Token 认证。 格式: Authorization: Bearer sk-xxxxxx

In: header

Path Parameters

task_id*string

视频任务 ID

Response Body

video/mp4

application/json

curl -X GET "https://tokenfleet.cn/v1/videos/string/content"
"string"
{
  "error": {
    "message": "string",
    "type": "string",
    "param": "string",
    "code": "string"
  }
}