curl --request POST \
--url https://app.dubly.ai/api/v1/dubs/{id}/lipsync \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"target_language": "de"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({target_language: 'de'})
};
fetch('https://app.dubly.ai/api/v1/dubs/{id}/lipsync', 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}/lipsync"
payload = { "target_language": "de" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "success",
"response": {
"status": "Processing",
"step": "face_setup"
}
}Start lip-sync for a subdub
Starts the lip-sync pipeline for one target language of a dub. The dub must already be fully processed (status “Dubbed”) — this includes waiting for a re-render after an editor update (status “Updating”). Credits are charged at 1 credit per minute of video, rounded up (at least 1 credit). The job runs asynchronously — poll GET /api/v1/dubs//lipsync to retrieve the final URL once the status is “Synced”.
A language whose lip sync has finished (“Synced”) can be started again. The new run is charged again, and before it starts, the previous lip-synced video of that language and its lip-sync blocks — including blocks switched with PATCH /api/v1/dubs//lipsync/segments — are deleted; until the new run is “Synced”, the language has no lip-synced video.
A language whose lip sync is already running or whose last run failed, and a language whose audio for lip sync is not available yet, return 409; without enough credits the request returns 403. A start refused with 400, 403, 404 or 409 charges nothing. If the lip-sync pipeline cannot be started once the credits are charged, the request returns 500, the credits stay charged and the lip sync of the language is marked as failed (“Error”), so every further start returns 409. There is no API limit on lip-sync runs — every run is paid in credits.
curl --request POST \
--url https://app.dubly.ai/api/v1/dubs/{id}/lipsync \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"target_language": "de"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({target_language: 'de'})
};
fetch('https://app.dubly.ai/api/v1/dubs/{id}/lipsync', 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}/lipsync"
payload = { "target_language": "de" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "success",
"response": {
"status": "Processing",
"step": "face_setup"
}
}Authorizations
Path Parameters
The dub ID returned by the create endpoint (path parameter). The dub must have finished processing (status "Dubbed"); otherwise the request returns 400. An unknown dub and a dub of another account return 404.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Body
BCP 47 target language code of the subdub to lip-sync (must match one of the target_languages used when creating the dub; another language returns 404). A code the dub's engine does not offer (— in that engine's column of Supported target languages) is rejected with 400, and so is a missing or unsupported code.
af, 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 
