v1

latestOpenAPI 3.0.1MIT2026-07-2638658.5 KB
Video

Translate Video

Create a video translation task with specified parameters including target language, voice, and subtitle options.

post/v2/video_translate/

Request body

video_urlstring uri required

URL of the video to translate

output_languagestring required

Target language for translation

titlestring

Title for the translated video

translate_audio_onlyboolean

Translate audio only without lip sync

output_voicestring

Voice ID for dubbed audio

add_subtitlesboolean

Enable translated subtitles

enable_dynamic_durationboolean

Enable dynamic duration adjustment

callback_urlstring uri

Callback URL for status notifications

Example request

{
  "video_url": "https://res.jogg.ai/video.mp4",
  "output_language": "spanish",
  "title": "Translated Video Title",
  "output_voice": "es-ES-ElviraNeural",
  "add_subtitles": true,
  "callback_url": "https://example.com/callback"
}

Response

Success

codeinteger required

Business status code:

  • 0 - Success
  • 10104 - Record not found
  • 10105 - Invalid API key
  • 18020 - Insufficient credit
  • 18025 - No permission to call APIs
  • 40000 - Parameter error
  • 50000 - System error
msgstring required

Response message

Example response

{
  "msg": "Success",
  "data": {
    "video_translate_id": "vt_123456"
  }
}