메인 콘텐츠로 건너뛰기
GET
/
v1
/
videos
/
{video_id}
/
content
Download Video Content
curl --request GET \
  --url https://aihubmix.com/v1/videos/{video_id}/content \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://aihubmix.com/v1/videos/{video_id}/content"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
"<string>"
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "param": "<string>",
    "code": "<unknown>"
  }
}
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "param": "<string>",
    "code": "<unknown>"
  }
}
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "param": "<string>",
    "code": "<unknown>"
  }
}
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "param": "<string>",
    "code": "<unknown>"
  }
}
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "param": "<string>",
    "code": "<unknown>"
  }
}
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "param": "<string>",
    "code": "<unknown>"
  }
}

인증

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.