curl --request POST \
--url https://app.dubly.ai/api/v1/dubs/{id}/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"target_languages": [
"de",
"fr"
],
"reset_lipsync": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({target_languages: ['de', 'fr'], reset_lipsync: true})
};
fetch('https://app.dubly.ai/api/v1/dubs/{id}/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.dubly.ai/api/v1/dubs/{id}/update"
payload = {
"target_languages": ["de", "fr"],
"reset_lipsync": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "success",
"response": {
"dub_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"reset_lipsync": true,
"languages": [
{
"target_language": "de",
"result": "started",
"api_update_rounds_remaining": 1
},
{
"target_language": "fr",
"result": "nothing_to_apply",
"api_update_rounds_remaining": 2
}
],
"retranslated_languages": []
}
}Apply pending edits and re-render
Applies the pending edits of the given languages. Engine v1 runs the editor’s “Update”: re-voices every waiting segment, merges the audio and renders the video. Engine v2 runs “Apply changes”, which also carries corrected source texts over to every other language of the dub that is not busy: those languages start as well, pass the same checks, cost one update round each and are listed in retranslated_languages.
Each language is reported as “started”, “nothing_to_apply” (no pending changes), “already_running” (v2: already being regenerated, e.g. through another language’s source correction; its remaining changes stay pending), “deferred” (v1: the dub’s voices are being restored for an earlier language; retry this one once that update has finished) or “failed” (with error). The response is 200 even when no language has anything to apply.
All languages are checked before the first one starts: while an update, a lip sync, a review or a single-segment re-voicing is running for any of them, the request returns 409 and nothing starts. If a language has a finished lip sync, the request returns 409 unless reset_lipsync is true, because the update replaces the audio the lip sync was made from.
Every language that actually starts costs one of its 2 API update rounds; nothing else counts. See Edit limits. No credits are charged. Poll GET /api/v1/dubs//update for progress.
curl --request POST \
--url https://app.dubly.ai/api/v1/dubs/{id}/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"target_languages": [
"de",
"fr"
],
"reset_lipsync": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({target_languages: ['de', 'fr'], reset_lipsync: true})
};
fetch('https://app.dubly.ai/api/v1/dubs/{id}/update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.dubly.ai/api/v1/dubs/{id}/update"
payload = {
"target_languages": ["de", "fr"],
"reset_lipsync": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "success",
"response": {
"dub_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"reset_lipsync": true,
"languages": [
{
"target_language": "de",
"result": "started",
"api_update_rounds_remaining": 1
},
{
"target_language": "fr",
"result": "nothing_to_apply",
"api_update_rounds_remaining": 2
}
],
"retranslated_languages": []
}
}Authorizations
Path Parameters
Body
BCP 47 codes of the languages to update (at least one). A language the dub does not have returns 404.
1af, ar, hy, as, az, be, bn, bs, bg, ca, ceb, ny, zh, hr, cs, da, nl, en, et, fil, fi, fr, gl, ka, de, el, gu, ha, he, hi, hu, is, id, ga, it, ja, jv, kn, kk, ko, ky, lv, ln, lt, lb, mk, ms, ml, mr, ne, no, ps, fa, pl, pt, pa, ro, ru, sr, sd, sk, sl, so, es, sw, sv, ta, te, th, tr, uk, ur, vi, cy, en-GB, en-US, es-419, es-ES 
