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

# Query tasks (Omni and Veo formats)

> This series supports OpenAI video generation formats (see the link [Video generation Sora compatible formats](/api-reference/en/video-generation-sora-compatible-format/create-video)).

This API topic page explains the query formats related to Omni and Veo, as well as the reserved status of the native query protocol for Veo.

For the current Veo series, please use the `/v1/videos` unified API for creation and queries.

The following `operation_name` query structure is retained for reserved protocol documentation only and does not currently support actual calls.

Note: The endpoints supported by the `gemini-omni` model are the Sora compatible format `POST /v1/videos` or the Seedance format `POST /api/v3/contents/generations/tasks`; this page does not support Google native Veo `predictLongRunning` endpoints.



## OpenAPI

````yaml api-reference/en/openapi.json GET /v1beta/{operation_name}
openapi: 3.0.0
info:
  title: Overseas Expansion Camp API Reference Documentation
  version: 1.0.0
  description: Public AI Gateway API Reference
servers:
  - url: https://api.aiid.edu.kg
security:
  - BearerAuth: []
tags:
  - name: OpenAI format (Chat)
  - name: OpenAI Format (Responses)
  - name: Gemini Format for Image Generation
  - name: Image generationOpenAI DALL-E format
  - name: List models
  - name: Video generationHappyHorse and Wan
  - name: Video generation Kling format
  - name: Video generation Omni and Veo formats
  - name: Video generation Seedance
  - name: Video generation Sora compatible formats
  - name: Video generation Vidu
  - name: Music generation task format
paths:
  /v1beta/{operation_name}:
    get:
      tags:
        - Video generation Omni and Veo formats
      summary: Query tasks (Omni and Veo formats)
      description: >-
        This series supports OpenAI video generation formats (see the link
        [Video generation Sora compatible
        formats](/api-reference/en/video-generation-sora-compatible-format/create-video)).


        This API topic page explains the query formats related to Omni and Veo,
        as well as the reserved status of the native query protocol for Veo.


        For the current Veo series, please use the `/v1/videos` unified API for
        creation and queries.


        The following `operation_name` query structure is retained for reserved
        protocol documentation only and does not currently support actual calls.


        Note: The endpoints supported by the `gemini-omni` model are the Sora
        compatible format `POST /v1/videos` or the Seedance format `POST
        /api/v3/contents/generations/tasks`; this page does not support Google
        native Veo `predictLongRunning` endpoints.
      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: >-
            The complete operation name returned by the creation interface. When
            calling, `/` must be URL-encoded.
      responses:
        '200':
          description: >-
            Reserved query response structure. This is currently for protocol
            specification only and does not support actual calls.
          content:
            application/json:
              schema:
                type: object
                required:
                  - name
                  - done
                properties:
                  name:
                    type: string
                    description: >-
                      The operation name, which is consistent with the `name`
                      returned by the creation API.
                  done:
                    type: boolean
                    description: Indicates whether the task is completed.
                  response:
                    type: object
                    description: Result object upon successful completion.
                    properties:
                      generatedVideos:
                        type: array
                        items:
                          type: object
                          properties:
                            video:
                              type: object
                              properties:
                                uri:
                                  type: string
                                  format: uri
                                  description: The URL of the generated video.
                  error:
                    type: object
                    description: Error message returned when the request fails.
                    properties:
                      message:
                        type: string
                        description: Error 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: |-
        Use Bearer Token authentication.
        Format: `Authorization: Bearer sk-xxxxxx`

````