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

# 查询任务（Omni与Veo格式）

> 该系列支持OpenAI视频生成格式（详见链接 [视频生成Sora兼容格式](/api-reference/cn/视频生成sora兼容格式/创建视频)）。

该接口专题页用于说明 Omni 与 Veo 相关查询格式，以及 Veo 原生查询协议的预留状态。

当前 Veo 系列请改用 `/v1/videos` 统一接口进行创建与查询。

下述 `operation_name` 查询结构仅作为预留协议说明保留，暂不支持实际调用。

重点：`gemini-omni` 模型支持的端点是 Sora兼容格式 `POST /v1/videos` 或 Seedance格式 `POST /api/v3/contents/generations/tasks`；不支持本页 Google 原生 Veo `predictLongRunning` 端点。



## OpenAPI

````yaml api-reference/cn/openapi.json GET /v1beta/{operation_name}
openapi: 3.0.0
info:
  title: 出海营 API 参考文档
  version: 1.0.0
  description: Public AI Gateway API Reference
servers:
  - url: https://api.aiid.edu.kg
security:
  - BearerAuth: []
tags:
  - name: OpenAI格式(Chat)
  - name: OpenAI格式(Responses)
  - name: 图片生成Gemini格式
  - name: 图片生成OpenAI DALL-E格式
  - name: 获取模型列表
  - name: 视频生成HappyHorse与Wan
  - name: 视频生成Kling格式
  - name: 视频生成Omni与Veo格式
  - name: 视频生成Seedance格式
  - name: 视频生成Sora兼容格式
  - name: 视频生成Vidu格式
  - name: 音乐生成任务格式
paths:
  /v1beta/{operation_name}:
    get:
      tags:
        - 视频生成Omni与Veo格式
      summary: 查询任务（Omni与Veo格式）
      description: >-
        该系列支持OpenAI视频生成格式（详见链接
        [视频生成Sora兼容格式](/api-reference/cn/视频生成sora兼容格式/创建视频)）。


        该接口专题页用于说明 Omni 与 Veo 相关查询格式，以及 Veo 原生查询协议的预留状态。


        当前 Veo 系列请改用 `/v1/videos` 统一接口进行创建与查询。


        下述 `operation_name` 查询结构仅作为预留协议说明保留，暂不支持实际调用。


        重点：`gemini-omni` 模型支持的端点是 Sora兼容格式 `POST /v1/videos` 或 Seedance格式 `POST
        /api/v3/contents/generations/tasks`；不支持本页 Google 原生 Veo
        `predictLongRunning` 端点。
      operationId: query_veo3_google_native_task
      parameters:
        - name: operation_name
          in: path
          required: true
          schema:
            type: string
            example: models/veo3.1-fast/operations/abc123
          description: 创建接口返回的完整 operation name。调用时需对 `/` 做 URL 编码。
      responses:
        '200':
          description: 预留中的查询响应结构。当前仅作协议说明，不支持实际调用。
          content:
            application/json:
              schema:
                type: object
                required:
                  - name
                  - done
                properties:
                  name:
                    type: string
                    description: 操作名称，与创建接口返回的 `name` 一致。
                  done:
                    type: boolean
                    description: 任务是否完成。
                  response:
                    type: object
                    description: 成功完成后的结果对象。
                    properties:
                      generatedVideos:
                        type: array
                        items:
                          type: object
                          properties:
                            video:
                              type: object
                              properties:
                                uri:
                                  type: string
                                  format: uri
                                  description: 生成成功后的视频地址。
                  error:
                    type: object
                    description: 失败时的错误信息。
                    properties:
                      message:
                        type: string
                        description: 错误描述。
              example:
                name: models/veo3.1-fast/operations/abc123
                done: true
                response:
                  generatedVideos:
                    - video:
                        uri: https://example.com/generated-video.mp4
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: |-
        使用 Bearer Token 认证。
        格式: `Authorization: Bearer sk-xxxxxx`

````