> ## 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/zh-tw/%E5%BD%B1%E7%89%87%E7%94%9F%E6%88%90sora%E7%9B%B8%E5%AE%B9%E6%A0%BC%E5%BC%8F/%E5%BB%BA%E7%AB%8B%E5%BD%B1%E7%89%87)）。

此介面專題頁用於說明 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/zh-tw/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/zh-tw/%E5%BD%B1%E7%89%87%E7%94%9F%E6%88%90sora%E7%9B%B8%E5%AE%B9%E6%A0%BC%E5%BC%8F/%E5%BB%BA%E7%AB%8B%E5%BD%B1%E7%89%87)）。


        此介面專題頁用於說明 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`

````