Skip to main content
POST
Translate Video
Translate an existing video into another language with voiceover and subtitles.
Video Duration Limit: Videos must be between 0-3 minutes in length.

Example Usage

Video Translation Guide

Learn about video translation workflow

Get Target Languages

See supported languages

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain your key from the JoggAI dashboard.

Body

application/json
video_url
string<uri>
required

URL of the video to translate

Example:

"https://res.jogg.ai/video.mp4"

output_language
string
required

Target language for translation

Example:

"spanish"

title
string

Title for the translated video

Example:

"Translated Video Title"

translate_audio_only
boolean

Translate audio only without lip sync

Example:

false

output_voice
string

Voice ID for dubbed audio

Example:

"es-ES-ElviraNeural"

add_subtitles
boolean

Enable translated subtitles

Example:

true

enable_dynamic_duration
boolean

Enable dynamic duration adjustment

Example:

false

callback_url
string<uri>

Callback URL for status notifications

Example:

"https://example.com/callback"

Response

200 - application/json

Success

code
integer
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
Example:

0

msg
string
required

Response message

Example:

"Success"

data
object