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

# 查询任务状态

> 查询 Veo 任务。

**路径：** `GET https://api.omniall.ai/v1/videos/{task_id}`



## OpenAPI

````yaml zh-CN/openapi/veo-video.yaml GET /v1/videos/{task_id}
openapi: 3.1.0
info:
  title: Omniall AI — Veo视频
  version: 1.0.0
  description: |-
    通过 OpenAI Video 风格协议调用 Google Veo 3.1。

    **创建：** `POST https://api.omniall.ai/v1/videos`

    **查询：** `GET /v1/videos/{task_id}` · 可选下载 `GET /v1/videos/{task_id}/content`

    模型： `veo-3.1-generate-preview`, `veo-3.1-fast-generate-preview`.

    鉴权：`Authorization: Bearer sk-...`
servers:
  - url: https://api.omniall.ai
security: []
paths:
  /v1/videos/{task_id}:
    get:
      tags:
        - Veo
      summary: 查询任务状态
      description: |-
        查询 Veo 任务。

        **路径：** `GET https://api.omniall.ai/v1/videos/{task_id}`
      operationId: veoGetVideo
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
            example: Bearer sk-...
        - name: task_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: 任务状态
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoTask'
components:
  schemas:
    VideoTask:
      type: object
      properties:
        id:
          type: string
        task_id:
          type: string
        object:
          type: string
        model:
          type: string
        status:
          type: string
        progress:
          type: integer
        created_at:
          type: integer
        completed_at:
          type: integer
        video_url:
          type: string

````

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