跳转到主要内容
GET
Download Video Content

授权

Authorization
string
header
必填

Gateway-issued API key, formatted as sk-gateway-xxxxxxxx. Used by OpenAI-shaped endpoints (/v1/chat/completions, etc.).

路径参数

video_id
string
必填

The identifier of the video whose media to download.

示例:

"video_123"

查询参数

variant
enum<string>

Which downloadable asset to return. Defaults to the MP4 video.

可用选项:
video,
thumbnail,
spritesheet

响应

The video bytes or preview asset that matches the requested variant.

The response is of type file.