Skip to main content
POST
Start lip-sync for a subdub

Authorizations

Authorization
string
header
required

An API token from Settings → API in the Dubly web app, sent as Authorization: Bearer <token>.

Path Parameters

id
string<uuid>
required

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.

Pattern: ^([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

application/json
target_language
enum<string>
required

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.

Available options:
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

Response

The lip-sync run was started; poll GET /api/v1/dubs/{id}/lipsync for its progress.

status
string
required
Allowed value: "success"
response
object
required