> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omniall.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 下载视频成品

> 按任务 ID 下载视频成品，返回二进制流。

**路径：** `GET https://api.omniall.ai/v1/videos/{task_id}/content`



## OpenAPI

````yaml zh-CN/openapi/magi-video.yaml GET /v1/videos/{task_id}/content
openapi: 3.1.0
info:
  title: Omniall AI — MAGI-2 视频
  version: 1.0.0
  description: |-
    通过 OpenAI 兼容视频接口创建、查询并下载视频任务，支持文生视频、图生视频与多模态参考。

    **模型：** `magi-2`（以[模型广场](https://omniall.ai/pricing)为准）

    **鉴权方式：** `Authorization: Bearer sk-...`
servers:
  - url: https://api.omniall.ai
security: []
paths:
  /v1/videos/{task_id}/content:
    get:
      tags:
        - MAGI-2 视频
      summary: 下载视频成品
      description: |-
        按任务 ID 下载视频成品，返回二进制流。

        **路径：** `GET https://api.omniall.ai/v1/videos/{task_id}/content`
      operationId: magiDownloadVideo
      parameters:
        - name: task_id
          in: path
          required: true
          schema:
            type: string
            example: task_abc123
          description: 任务 ID，取创建接口返回的 id（形如 task_<uuid>）。
        - name: variant
          in: query
          required: false
          schema:
            type: string
            enum:
              - video
            default: video
          description: 成品变体，当前仅支持默认值 `video`。
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
            example: Bearer sk-...
          description: 鉴权头，例如 `Bearer sk-...`。
      responses:
        '200':
          description: 返回视频二进制流。
          content:
            video/*:
              schema:
                type: string
                format: binary
        '401':
          description: 未授权
        '404':
          description: 未找到

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.