Introduction
Upload a clip of 4 seconds to 6 minutes, up to 1080p, whose speakers talk in Chinese or English; the source language is detected for you. Choose the language to dub into and add a glossary for names and brands that must come out a certain way. Only the voices change: the picture stays frame for frame. You get the dubbed MP4, an SRT subtitle file in the new language and the dubbed voice track as an MP3. Billing follows the length of the video.
| Field | Value |
|---|---|
| Input | Video |
| Output | Video |
| Publisher | ByteDance |
| Tasks | Text to Audio, Video to Audio, Dub Video, Split Audio Tracks |
| Scene and scoring prompts | 1 to 5,000 characters |
| Text scene reference | One picture or voice clips |
| Voice reference limits | Up to 6 clips, 2 to 30 seconds each, 180 seconds combined |
| Video input | MP4 or MOV, 4 seconds to 6 minutes, up to 1080p |
| Dubbing languages | Chinese or English source speech, 30 target options |
| Dubbing glossary | Up to 100 entries |
| Separation input | WAV or MP3, 2 seconds to 6 minutes, up to 90 MB |
| Separation outputs | Speech, sound effects and background music |
| Audio format options | MP3, WAV, Ogg Opus or headerless 16-bit PCM |
| Audio sample rates | 8,000, 16,000, 24,000, 32,000, 44,100 or 48,000 Hz. Ogg Opus uses 48,000 Hz. |
Key features & highlights
Direct a new line in a familiar voice
The window-seat prompt named the reference and asked for a warm, slow delivery. The 7.4-second MP3 spoke the supplied line in a voice close to the 10-second source clip.
Build a soundtrack around the picture
We gave a silent four-second clip a prompt for rain, slow R&B and a whispered line, plus a voice reference. The returned four-second MP3 contained all three elements, and the voice sounded close to the reference.
Take the dub and captions into review
An English street clip came back as a 6.1-second Japanese-dubbed MP4. The run also delivered the dubbed audio and subtitles in both languages as SRT and JSONL files.
Get speech, effects and music on separate tracks
The ten-second input mix produced a ten-second MP3 for each of its three stem categories. Load the tracks at the same point on an editor timeline to compare them against the source mix.
Request parameters
| Parameter | Required | Description |
|---|---|---|
video_url | Yes | MP4 or MOV, 4 seconds to 6 minutes, up to 1080p and 200 MB, with speech in Chinese or English. The price follows its length. at least 1 characters |
target_language | No | One of 30 languages, English by default. Spanish and Portuguese each come in two regional variants. |
glossary | No | Up to 100 pairs of a term as spoken and the wording it must have in the dub. Repeat the term to leave it untranslated. at most 100 items |
Pricing
$0.016 / second
Billed per second of the source video, rounded up to whole seconds, for clips of 4 seconds to 6 minutes. The estimate uses the length of an uploaded clip, or six minutes for a video link, and releases the difference at settlement. The subtitle file and voice track are included; failed tasks are free.
Use cases
Prototype an audio spot before the shoot
Write the product line in full, then time the room tone and sound of the product being handled. The hotel bar run shows how a written scene with timestamps can combine a spoken line with several background sounds in a single mix.
Test a read with an approved voice
Attach a recording you are authorized to use and direct the delivery in the prompt. In the window-seat example, a 10-second reference guided the voice of a 7.4-second line.
Give a silent edit its sound
Supply the cut, the words to speak, and the effects and music to place under it. Both four-second scoring runs returned separate tracks that matched the duration of the silent clip.
Localize a product walkthrough
Send the video with its Chinese or English dialogue and select the destination language. Use the glossary to supply preferred translations for product names, then review the dubbed video and subtitles.
Rebalance a mixed recording
Send a WAV or MP3 within the upload limits to get separate speech, effects and music for your edit. The supplied ten-second sample returned three tracks with the same duration as its source.
Prompt guide & pro tips
Choose the starting material
Start with a script for Text to Audio or a cut and a new script for Video to Audio. Send a video with existing speech to Dub Video or a mixed recording to Split Audio Tracks.
Write the parts you want to hear
Quote each line in full and assign it to a speaker. Describe the room tone, add any music or effects, and give important cues a time range in your text scene.
Set the reference or dub language
For generation, choose clips of grown-ups whose voices you have the right to use and assign them to speakers by upload order, or use a rights-cleared picture of grown-ups in Text to Audio. For dubbing, select the target language, and never use likenesses or voices to impersonate someone.
Review the files against your edit
Listen to the generated track with the script or picture in front of you. Open the returned subtitles for a dub, or line up the three stems with the original mix to review what each contains.
Localize the dialogue in an existing video
Dub Video takes a clip with Chinese or English speech and renders the dialogue in the target language. It retains the source picture and delivers a dubbed MP4 with a separate dubbed voice track and subtitles. Use the video for a viewing pass and keep the separate files handy for speech and caption review.
Request parameters
The source video is required. Set the destination code before submitting, especially when the target language has a regional variant.
| Parameter | Required | What to send |
|---|---|---|
video_url | Yes | A nonempty URL for an MP4 or MOV with English or Chinese speech. Use a clip of 4 seconds to 6 minutes at up to 1080p. |
target_language | No | A destination language code. The default is en. See the full code list below. |
glossary | No | Up to 100 entries mapping source names or terms to their preferred wording in the dub. |
Target language codes
The 30 choices are en, zh, ja, ko, de, fr, es-ES, es-MX, pt-BR, pt-PT, it, ru, pl, nl, sv, da, no, fi, cs, hu, el, ro, tr, ar, hi, th, id, vi, ms and fil. For Spanish, choose between Spain and Mexico. For Portuguese, choose between Brazil and Portugal. This list specifies the languages you can dub into. Source speech for this endpoint is Chinese or English.
Prepare the source and the glossary
Choose the edit and target language together so the reviewer can check the dubbed lines against the correct picture version.
Pick a clip with the dialogue in place
Work from the cut you intend to localize, with its speech still in the source video. Confirm the container, duration and resolution before sending it. Use material of grown-ups whose likenesses and voices you have the right to use, and never impersonate anyone.
Give names and terms their approved wording
List the terms the team has already agreed to use, such as a product name with an approved local spelling or a speaker's name with a preferred transliteration. Put those pairs in the glossary. For a glossary review, select a representative sequence with the names and terms you care about, then check them against both the dub and the subtitles. The endpoint translates the dialogue from the source clip.
What the Japanese dub returned
We sent a six-second, 720p street clip with English speech and selected Japanese. The result was a 6.1-second MP4 with Japanese dialogue. The response also included the dubbed audio and subtitles in both languages, in SRT and JSONL. If you plan to import the returned audio or subtitles into an existing edit, compare the end time with the source before laying them onto the timeline.
Pricing
Refer to the Dub Video price on this page. Billing uses the source video's duration, rounded up to a whole second. The estimate uses the uploaded clip's duration or six minutes when you submit a link. Settlement releases the difference, with the subtitle file and voice track included in the rate for the dub.
When another workflow fits
If the clip needs words you have written yourself and a soundtrack built around those lines, use Video to Audio. ElevenLabs Dubbing is a related family to consider if you are evaluating another dubbing workflow. Compare the language direction and the assets your edit needs before choosing a dubbing endpoint.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "bytedance/seed-audio-1.5/video-translate",
"input": {
"target_language": "en",
"video_url": "https://example.com/reference.mp4"
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.

