> ## 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.

# Download video

> Download the finished video as a binary stream.

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



## OpenAPI

````yaml openapi/magi-video.yaml GET /v1/videos/{task_id}/content
openapi: 3.1.0
info:
  title: Omniall AI — MAGI-2 video
  version: 1.0.0
  description: >-
    Create, poll, and download video tasks via OpenAI-compatible video APIs.
    Supports text-to-video, image-to-video, and multimodal reference.


    **Model:** `magi-2` (see [Model Square](https://omniall.ai/pricing))


    **Auth:** `Authorization: Bearer sk-...`
servers:
  - url: https://api.omniall.ai
security: []
paths:
  /v1/videos/{task_id}/content:
    get:
      tags:
        - MAGI-2 video
      summary: Download video
      description: |-
        Download the finished video as a binary stream.

        **Path:** `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: Task id from create response `id` (e.g. task_<uuid>).
        - name: variant
          in: query
          required: false
          schema:
            type: string
            enum:
              - video
            default: video
          description: Output variant; currently only default `video`.
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
            example: Bearer sk-...
          description: Bearer API key, e.g. `Bearer sk-...`.
      responses:
        '200':
          description: Video binary stream.
          content:
            video/*:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '404':
          description: Not found

````

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