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

# Submit video generation job

> Create an async video-generation job



## OpenAPI

````yaml /api-reference/openapi.json post /v1/videos/generations
openapi: 3.0.3
info:
  title: AI Reserve Gateway API
  description: >-
    The AI Reserve AI gateway REST surface — OpenAI-compatible chat completions,
    Anthropic-compatible messages, Bedrock Converse, images, video, and files
    behind one endpoint and one API key.
  version: 1.0.0
servers:
  - url: https://api.aireserve.com
security:
  - bearerAuth: []
paths:
  /v1/videos/generations:
    post:
      tags:
        - Videos
      summary: Submit video generation job
      description: Create an async video-generation job
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - model
                - prompt
              properties:
                model:
                  type: string
                prompt:
                  minLength: 1
                  maxLength: 32000
                  type: string
                duration_seconds:
                  minimum: 1
                  maximum: 60
                  type: integer
                size:
                  pattern: ^\d{3,4}x\d{3,4}$
                  type: string
                user:
                  type: string
      responses:
        '200':
          description: Default Response
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your AI Reserve API key (aireserve_api_…) from Profile → My API Keys in
        the portal.

````