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

# Get video

> Poll Muse video task status.

**Path:** `GET https://api.omniall.ai/v1/video/generations/{task_id}`

Poll every 10–15s until `completed` (video URL) or `failed`.

Auth: `Authorization: Bearer sk-...`



## OpenAPI

````yaml openapi/muse-video.yaml GET /v1/video/generations/{task_id}
openapi: 3.1.0
info:
  title: Omniall AI — Muse Video
  version: 1.0.0
  description: >-
    Muse async video generation (`muse-video` / `muse-video-60s`).


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


    **Get:** `GET https://api.omniall.ai/v1/video/generations/{task_id}`


    Auth: `Authorization: Bearer sk-...`


    | Model | Specs |

    |-------|-------|

    | `muse-video` | 720P; duration 5 / 10 / 15 / 20 / 25 / 30 s; 1 clip per
    request |

    | `muse-video-60s` | 720P; fixed 60 s; 1 clip per request |


    These are two different models — pick by scenario. Generation often takes a
    few minutes; poll the get endpoint.
servers:
  - url: https://api.omniall.ai
security: []
tags:
  - name: Muse
    description: Muse text-to-video / image-to-video / reference video
paths:
  /v1/video/generations/{task_id}:
    get:
      tags:
        - Muse
      summary: Get video
      description: |-
        Poll Muse video task status.

        **Path:** `GET https://api.omniall.ai/v1/video/generations/{task_id}`

        Poll every 10–15s until `completed` (video URL) or `failed`.

        Auth: `Authorization: Bearer sk-...`
      operationId: museGetVideo
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
            example: Bearer sk-...
          description: Bearer API key.
        - name: task_id
          in: path
          required: true
          schema:
            type: string
            example: task_xxxxxxxx
          description: Task id from create (`id` / `task_id`).
      responses:
        '200':
          description: Task status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MuseVideoTask'
              examples:
                processing:
                  summary: Processing
                  value:
                    id: task_xxxxxxxx
                    task_id: task_xxxxxxxx
                    object: video
                    model: muse-video
                    status: processing
                    progress: 40
                    seconds: '5'
                    size: '16:9'
                completed:
                  summary: Completed
                  value:
                    id: task_xxxxxxxx
                    task_id: task_xxxxxxxx
                    object: video
                    model: muse-video
                    status: completed
                    progress: 100
                    seconds: '5'
                    size: '16:9'
                    url: https://example.com/result.mp4
                    video_url: https://example.com/result.mp4
                failed:
                  summary: Failed
                  value:
                    id: task_xxxxxxxx
                    task_id: task_xxxxxxxx
                    object: video
                    model: muse-video
                    status: failed
                    error:
                      message: Generation failed
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenAIErrorResponse'
        '404':
          description: Task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenAIErrorResponse'
components:
  schemas:
    MuseVideoTask:
      type: object
      description: Muse video task object.
      properties:
        id:
          type: string
          description: Task id (usually same as `task_id`).
        task_id:
          type: string
          description: Task id.
        object:
          type: string
          description: Object type, usually `video`.
          example: video
        model:
          $ref: '#/components/schemas/MuseModel'
        status:
          type: string
          description: Status such as `processing` / `completed` / `failed`.
          example: processing
        progress:
          type: number
          description: Progress 0–100 when returned.
        seconds:
          oneOf:
            - type: string
            - type: integer
          description: Requested duration.
        size:
          type: string
          description: Aspect ratio.
        resolution:
          type: string
          description: Resolution.
        url:
          type: string
          description: Result video URL when completed (may also be `video_url`).
        video_url:
          type: string
          description: Result video URL (compat field).
        error:
          type: object
          description: Error payload when failed.
          properties:
            message:
              type: string
    OpenAIErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              description: |
                Example validation messages:
                - muse-video must send seconds (5/10/15/20/25/30)
                - invalid duration / size / resolution / count
                - too many reference images (>7) or videos (>3)
                - reference audio not supported
                - seconds and duration mismatch
            type:
              type: string
            code:
              type: string
    MuseModel:
      type: string
      description: Muse model id (same as Model Square).
      enum:
        - muse-video
        - muse-video-60s
      example: muse-video

````

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