> ## 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 video binary after `status` is `completed`.

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

Success returns `video/mp4` (or similar). Failure returns JSON error.



## OpenAPI

````yaml openapi/kling-video.yaml GET /v1/videos/{task_id}/content
openapi: 3.1.0
info:
  title: Omniall AI — Kling video
  version: 1.0.0
  description: >-
    Kling async video via OpenAI-style Video API.


    **Create:** `POST https://api.omniall.ai/v1/videos`


    **Poll:** `GET /v1/videos/{task_id}` · **Download:** `GET
    /v1/videos/{task_id}/content`


    Model aliases (case-insensitive). See [Model
    Square](https://omniall.ai/pricing).


    **Duration priority:** top-level `seconds` > top-level `duration` >
    `metadata.seconds` / `metadata.duration` / `metadata.video_duration` >
    default **5**.


    **Resolution priority:** `metadata.output_config.resolution` >
    `metadata.resolution` > top-level `size` > default **720P**.


    Auth: `Authorization: Bearer sk-...`
servers:
  - url: https://api.omniall.ai
security: []
paths:
  /v1/videos/{task_id}/content:
    get:
      tags:
        - Kling
      summary: Download video content
      description: |-
        Download video binary after `status` is `completed`.

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

        Success returns `video/mp4` (or similar). Failure returns JSON error.
      operationId: klingGetVideoContent
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
            example: Bearer sk-...
          description: Bearer API key, e.g. `Bearer sk-...`.
        - name: task_id
          in: path
          required: true
          schema:
            type: string
            example: task_xxxxxxxx
      responses:
        '200':
          description: Video binary
          content:
            video/mp4:
              schema:
                type: string
                format: binary
        '400':
          description: Not ready / failed
          content:
            application/json:
              schema:
                type: object

````

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