> ## 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 系列对外请使用 OpenAI Sora 兼容模式：`POST /v1/videos`。

Google 原生模式路径预留为：`POST /v1beta/models/{model}:predictLongRunning`。当前网关尚未接通 Veo 原生任务分发链路，因此按原生 `instances/parameters` 请求体调用暂不支持。

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



## OpenAPI

````yaml api-reference/cn/openapi.json POST /v1beta/models/{model}:predictLongRunning
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/models/{model}:predictLongRunning:
    post:
      tags:
        - 视频生成Omni与Veo格式
      summary: 创建视频（Omni与Veo格式）
      description: >-
        该系列支持OpenAI视频生成格式（详见链接
        [视频生成Sora兼容格式](/api-reference/cn/视频生成sora兼容格式/创建视频)）。


        该接口专题页用于说明 Omni 与 Veo 相关视频格式，以及当前网关对 Veo 原生格式的支持状态。


        当前 Veo 系列对外请使用 OpenAI Sora 兼容模式：`POST /v1/videos`。


        Google 原生模式路径预留为：`POST
        /v1beta/models/{model}:predictLongRunning`。当前网关尚未接通 Veo 原生任务分发链路，因此按原生
        `instances/parameters` 请求体调用暂不支持。


        重点：`gemini-omni` 模型支持的端点是 Sora兼容格式 `POST /v1/videos` 或 Seedance格式 `POST
        /api/v3/contents/generations/tasks`；不支持本页 Google 原生 Veo
        `predictLongRunning` 端点。
      operationId: create_veo3_google_native_task
      parameters:
        - name: model
          in: path
          required: true
          schema:
            type: string
            example: veo3.1-fast
            enum:
              - veo3
              - veo3-fast
              - veo3-fast-frames
              - veo3-frames
              - veo3-pro
              - veo3-pro-frames
              - veo3.1
              - veo3.1-4k
              - veo3.1-components
              - veo3.1-fast
              - veo3.1-pro
              - veo3.1-pro-4k
          description: Veo 模型名称。
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - instances
              properties:
                instances:
                  type: array
                  minItems: 1
                  items:
                    type: object
                    properties:
                      prompt:
                        type: string
                        example: A cinematic aerial shot of a modern city at sunrise
                        description: 生成提示词
                      referenceImages:
                        type: array
                        description: 可选。1~3 张参考图，使用 Google 原生 `inlineData` 或文件 URI 结构。
                        items:
                          type: object
                          properties:
                            image:
                              type: object
                              properties:
                                inlineData:
                                  type: object
                                  properties:
                                    mimeType:
                                      type: string
                                      example: image/png
                                    data:
                                      type: string
                                      example: BASE64_IMAGE_DATA
                            referenceType:
                              type: string
                              example: asset
                parameters:
                  type: object
                  properties:
                    aspectRatio:
                      type: string
                      enum:
                        - '16:9'
                        - '1:1'
                        - '9:16'
                      default: '16:9'
                    durationSeconds:
                      type: integer
                      enum:
                        - 5
                        - 6
                        - 8
                        - 10
                      default: 5
                    resolution:
                      type: string
                      example: 720p
            example:
              instances:
                - prompt: A cinematic aerial shot of a modern city at sunrise
                  referenceImages:
                    - image:
                        inlineData:
                          mimeType: image/png
                          data: BASE64_IMAGE_DATA
                      referenceType: asset
              parameters:
                aspectRatio: '16:9'
                durationSeconds: 5
                resolution: 720p
      responses:
        '200':
          description: 预留中的成功响应结构。当前仅作协议说明，不支持实际调用。
          content:
            application/json:
              schema:
                type: object
                required:
                  - name
                properties:
                  name:
                    type: string
                    example: models/veo3.1-fast/operations/abc123
                    description: operation name，用于后续状态查询。
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: |-
        使用 Bearer Token 认证。
        格式: `Authorization: Bearer sk-xxxxxx`

````