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

# Translate Video

> Translate video content to a different language

Translate a video's spoken content to a different language, generating a new video with translated audio.

<Note>
  * Translation is asynchronous; use `callback_url` for completion notification
  * `target_language` uses ISO 639-1 language codes (e.g., `es`, `fr`, `de`, `hi`)
  * The translated video maintains the original visual content
</Note>

<CardGroup cols={2}>
  <Card title="Dub Video" icon="headphones" href="/api-reference/generation/dub_video">
    Dub video with AI audio
  </Card>

  <Card title="Translation Guide" icon="globe" href="/pages/act/generative-media/translation-and-dubbing">
    Learn about dubbing and translation
  </Card>
</CardGroup>


## OpenAPI

````yaml POST /collection/{collection_id}/video/{video_id}/translate
openapi: 3.0.3
info:
  title: VideoDB Server API
  description: >
    VideoDB Server API for video, audio, and image processing with AI
    capabilities.

    This API provides comprehensive video management, search, indexing, and
    AI-powered features.
  version: 1.0.0
  contact:
    name: VideoDB Support
    url: https://videodb.io
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://api.videodb.io
    description: Production server
  - url: https://staging-api.videodb.io
    description: Staging server
security:
  - ApiKeyAuth: []
tags:
  - name: Authentication
    description: User authentication and API key management
  - name: Collections
    description: Collection management operations
  - name: Videos
    description: Video upload, processing, and management
  - name: Audio
    description: Audio management operations
  - name: Images
    description: Image management operations
  - name: Search
    description: Content search and indexing
  - name: AI Generation
    description: AI-powered content generation
  - name: Billing
    description: Billing and usage management
  - name: RTStream
    description: Real-time streaming operations
  - name: Utilities
    description: Utility endpoints
  - name: Meeting
    description: Meeting recording and management
  - name: Capture
    description: Capture session management for recording streams
  - name: Editor
    description: Timeline editor operations
  - name: Transcode
    description: Media transcoding operations
  - name: Assets
    description: Cross-collection asset listing
paths:
  /collection/{collection_id}/video/{video_id}/translate:
    post:
      tags:
        - AI Generation
      summary: Translate video content
      parameters:
        - name: collection_id
          in: path
          required: true
          schema:
            type: string
            example: default
        - name: video_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^m-
            example: m-12345
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                target_language:
                  type: string
                  example: es
                callback_url:
                  type: string
                  example: https://webhook.example.com/callback
                callback_data:
                  type: object
      responses:
        '200':
          description: Translation job started
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    AsyncResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        status:
          type: string
          enum:
            - processing
            - done
            - failed
          example: processing
        data:
          type: object
          properties:
            id:
              type: string
              example: job-123
            output_url:
              type: string
              example: https://api.videodb.io/async-response/job-123
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-access-token
      description: API key for authentication (sk-xxx format)

````