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

# Video content (Beta)

> Download the rendered video content for a completed generation.

Returns the raw video binary from the upstream provider when the generation is ready.

Use this endpoint when you want authenticated byte access through the API itself.

* It is only available once the job is complete and output access allows direct bytes.
* For browser-friendly or temporary direct downloads, prefer `POST /videos/{video_id}/download_url`.
* For multi-output jobs, inspect `outputs` on the status response before requesting a signed download URL for a specific output index.


## OpenAPI

````yaml GET /videos/{video_id}/content
openapi: 3.0.3
info:
  title: AI Stats Gateway API
  description: >-
    A gateway API for accessing various AI models with OpenAI-compatible
    endpoints.
  version: 1.0.0
  contact:
    name: AI Stats
    url: https://docs.ai-stats.phaseo.app
    email: danielbutler500@gmail.com
servers:
  - url: https://api.phaseo.app/v1
security:
  - BearerAuth: []
tags:
  - name: Gateway
    description: Core AI Stats Gateway operations.
paths:
  /videos/{video_id}/content:
    get:
      tags:
        - Gateway
      summary: Get video content
      description: Downloads the rendered video content.
      operationId: getVideoContent
      parameters:
        - name: video_id
          in: path
          required: true
          description: The ID of the video generation request.
          schema:
            type: string
      responses:
        '200':
          description: Video content
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer token authentication

````