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

# Submit



## OpenAPI

````yaml openapi-translate.yaml post /translate/submit
openapi: 3.0.0
info:
  title: AI Translate API
  description: API for AI-powered video translation.
  version: 1.0.0
servers:
  - url: https://api.captions.ai/api
security: []
paths:
  /translate/submit:
    post:
      summary: Submit a video translation request
      description: Begins the video translation process.
      operationId: submitTranslation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - videoUrl
                - sourceLanguage
                - targetLanguage
              properties:
                videoUrl:
                  type: string
                  description: Public direct link to the video.
                sourceLanguage:
                  type: string
                  description: Language spoken in the original video.
                targetLanguage:
                  type: string
                  description: Desired translation language.
      responses:
        '200':
          description: Video translation process started.
          content:
            application/json:
              schema:
                type: object
                properties:
                  operationId:
                    type: string
        '400':
          description: Language not supported or invalid headers.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
        '401':
          description: Unauthorized API key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
        '429':
          description: Rate limit exceeded (5 QPM).
          content:
            text/html:
              schema:
                type: string
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````