Skip to main content
GET
/
v1
/
videos
/
{video_id}
/
content
下载视频内容
curl --request GET \
  --url https://models.rivus.cn/v1/videos/{video_id}/content \
  --header 'Authorization: Bearer <token>'
"<string>"
下载接口会将上游真实地址进行代理,返回标准的视频文件流。请在任务 completed 后再调用。

认证

  • Authorization: Bearer <Token>
export BASE_URL="https://models.rivus.cn/v1"
export TOKEN="oh-xxxxxxxxxxxxxxxx"
export VIDEO_ID="video_xxx"  # 已完成的任务 id

cURL 示例

curl -L "$BASE_URL/videos/$VIDEO_ID/content" \
  -H "Authorization: Bearer $TOKEN" \
  --output out.mp4
如果你在浏览器中请求该地址,将直接触发下载(或在内嵌播放器中播放)。

Authorizations

Authorization
string
header
required

使用 API Key 作为 Bearer Token

Path Parameters

video_id
string
required

视频任务的唯一标识符

Response

视频文件

The response is of type file.