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

# Veo 3.1 T2V

> [Core Function] Veo 3.1 T2V is Google's state-of-the-art cinematic text-to-video engine. [Strengths] It natively generates 4K professional-grade video output with natively synchronized audio and supports complex camera movements. [Best For] Highly recommended for: high-end creative storytelling, cinematic short films, and experimental video production with sound. [Limitations] Do NOT use this model if you need instant/real-time generation, as 4K video rendering takes time. [Routing] Use this model by default for all high-quality text-to-video requests on the Google platform.



## OpenAPI

````yaml /model-api/google/google-t2v.json post /google/veo-3.1-t2v
openapi: 3.1.0
info:
  description: The text-to-video models API from Google (Veo series).
  version: 1.0.0
  contact:
    name: Modellix Support
    email: support@modellix.ai
  title: Google Text-to-Video Models API
servers:
  - url: https://api.modellix.ai/api/v1
    description: The text-to-video models API from Google.
security:
  - bearerAuth: []
paths:
  /google/veo-3.1-t2v:
    post:
      summary: Veo 3.1 T2V
      description: >-
        [Core Function] Veo 3.1 T2V is Google's state-of-the-art cinematic
        text-to-video engine. [Strengths] It natively generates 4K
        professional-grade video output with natively synchronized audio and
        supports complex camera movements. [Best For] Highly recommended for:
        high-end creative storytelling, cinematic short films, and experimental
        video production with sound. [Limitations] Do NOT use this model if you
        need instant/real-time generation, as 4K video rendering takes time.
        [Routing] Use this model by default for all high-quality text-to-video
        requests on the Google platform.
      operationId: veo31T2VAsync
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Veo31T2VRequest'
            examples:
              basic:
                summary: Basic video generation
                value:
                  prompt: >-
                    A majestic eagle soaring over snow-capped mountain peaks at
                    sunrise
              advanced:
                summary: With duration and resolution
                value:
                  prompt: >-
                    Cinematic slow-motion shot of ocean waves crashing on rocky
                    cliffs, golden hour
                  aspectRatio: '16:9'
                  duration: '8'
                  resolution: 1080p
                  personGeneration: allow_all
              with_negative_prompt:
                summary: With negative prompt
                value:
                  prompt: The character walks through a magical glowing forest
                  negativePrompt: blurry, low quality
                  aspectRatio: '16:9'
                  duration: '4'
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncTaskResponse'
              example:
                code: 0
                message: success
                data:
                  status: pending
                  task_id: task-t2v001
                  model_id: google/veo-3.1-t2v
                  get_result:
                    method: GET
                    url: https://api.modellix.ai/api/v1/tasks/task-t2v001
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    Veo31T2VRequest:
      type: object
      required:
        - prompt
      description: >-
        Veo 3.1 and Veo 3.1 Fast text-to-video request. Supports `prompt`,
        `negativePrompt`, `aspectRatio`, `duration`, `resolution` (up to 4k),
        and `personGeneration`.
      properties:
        prompt:
          type: string
          description: Video description text
          minLength: 1
          example: A majestic eagle soaring over snow-capped mountain peaks at sunrise
        negativePrompt:
          type: string
          description: Text describing what to avoid in the generated video.
          example: blurry, low quality, distorted
        aspectRatio:
          type: string
          description: Video aspect ratio
          default: '16:9'
          enum:
            - '16:9'
            - '9:16'
          example: '16:9'
        duration:
          type: string
          description: Video duration in seconds (string type)
          enum:
            - '4'
            - '6'
            - '8'
          example: '8'
        resolution:
          type: string
          description: >-
            Video resolution. Note: 1080p and 4k are only available for 8-second
            duration.
          enum:
            - 720p
            - 1080p
            - 4k
          example: 1080p
        personGeneration:
          type: string
          description: Person generation policy
          enum:
            - allow_all
          example: allow_all
    AsyncTaskResponse:
      type: object
      required:
        - code
        - message
        - data
      properties:
        code:
          type: integer
          description: Response code, 0 indicates success
          example: 0
        message:
          type: string
          description: Response message
          example: success
        data:
          type: object
          required:
            - status
            - task_id
            - model_id
          properties:
            status:
              type: string
              enum:
                - pending
                - processing
              description: Task status
              example: pending
            task_id:
              type: string
              description: Unique task identifier for polling
              example: task-abc123
            model_id:
              type: string
              description: Model ID in `provider/model` format
              example: google/veo-3.1-t2v
            get_result:
              type: object
              description: API information to query the task result
              properties:
                method:
                  type: string
                  description: HTTP method
                  example: GET
                url:
                  type: string
                  description: Full URL to query the task result
                  example: https://api.modellix.ai/api/v1/tasks/task-abc123
          description: Detailed data about the submitted asynchronous task.
    ErrorResponse:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          description: Error code (equals HTTP status code)
          example: 400
        message:
          type: string
          description: 'Error message in format ''Category: detail'''
          example: 'Invalid parameters: parameter ''prompt'' is required'
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 400
            message: 'Invalid parameters: parameter ''prompt'' is required'
    Unauthorized:
      description: Unauthorized - Invalid or missing API Key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 401
            message: 'Authentication failed: invalid API key'
    TooManyRequests:
      description: Too many requests - Rate limit exceeded
      headers:
        X-RateLimit-Limit:
          description: Maximum requests per minute
          schema:
            type: integer
            example: 100
        X-RateLimit-Remaining:
          description: Remaining quota in current window
          schema:
            type: integer
            example: 0
        X-RateLimit-Reset:
          description: Rate limit window reset time (Unix timestamp)
          schema:
            type: integer
            example: 1704067260
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 429
            message: >-
              Rate limit exceeded: 100 requests per minute, retry after 60
              seconds
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 500
            message: Internal server error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API Key authentication. Format: `Bearer YOUR_API_KEY`.'

````