v5

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-0112516159.5 KB
AI Generation

Translate video content

post/collection/{collection_id}/video/{video_id}/translate

Path parameters

collection_idstring required
Example:default
video_idstring required
Example:m-12345

Request body

target_languagestring
callback_urlstring
callback_dataobject

Example request

{
  "target_language": "es",
  "callback_url": "https://webhook.example.com/callback"
}

Response

Translation job started

successboolean
status'processing' | 'done' | 'failed'

Example response

{
  "success": true,
  "status": "processing",
  "data": {
    "id": "job-123",
    "output_url": "https://api.videodb.io/async-response/job-123"
  }
}