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

# Download video content

> Download completed video content as binary MP4 bytes. If the task is not completed yet, the endpoint returns an error.



## OpenAPI

````yaml GET /videos/{id}/content
openapi: 3.1.0
info:
  title: LLM7 API
  description: >-
    Discover models, generate and edit images, and create asynchronous video
    generation tasks through the LLM7 gateway.
  version: 1.0.0
servers:
  - url: https://api.llm7.io/v1
security:
  - bearerAuth: []
paths:
  /videos/{id}/content:
    get:
      summary: Download video content
      description: >-
        Download completed video content as binary MP4 bytes. If the task is not
        completed yet, the endpoint returns an error.
      operationId: downloadVideoContent
      parameters:
        - $ref: '#/components/parameters/VideoTaskId'
      responses:
        '200':
          description: Binary MP4 video content
          content:
            video/mp4:
              schema:
                type: string
                format: binary
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/UpstreamUnavailable'
components:
  parameters:
    VideoTaskId:
      name: id
      in: path
      required: true
      schema:
        type: string
      description: Video task ID returned by POST /videos.
  responses:
    BadRequest:
      description: Invalid gateway request or upstream rejected the request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing or invalid LLM7 token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: Gateway or upstream rate limit.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    UpstreamUnavailable:
      description: Upstream provider is temporarily unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorObject'
    ErrorObject:
      type: object
      required:
        - message
        - type
        - code
      properties:
        message:
          type: string
        type:
          type: string
        param:
          type:
            - string
            - 'null'
        code:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````