Skip to main content
POST
Propose translation

Authorizations

Authorization
string
header
required

A workspace API key.

Headers

idempotency-key
string
required

Required stable id for this request; reuse it after a timeout to receive the same answer.

Required string length: 1 - 255

Path Parameters

projectId
string
required

The project id.

Required string length: 1 - 200

Body

application/json
languages
enum<string>[]
required

Target languages by code (es, fr, pt-BR, ...); each becomes its own editable composition in the project.

Required array length: 1 - 10 elements
Available options:
af,
ak,
sq,
am,
ar,
ar-EG,
hy,
as,
az,
eu,
be,
bs,
bg,
my,
yue,
ca,
ceb,
zh,
zh-TW,
hr,
cs,
da,
dgo,
nl,
en,
en-AU,
en-CA,
en-GB,
en-US,
et,
fil,
fi,
fr,
fr-CA,
fr-FR,
gl,
ka,
de,
el,
gu,
ha,
he,
hi,
hu,
is,
id,
it,
ja,
jv,
kn,
kk,
ki,
rw,
rn,
ko,
ky,
lv,
lt,
lg,
mk,
ms,
ml,
cmn,
mr,
mn,
ne,
no,
fa,
pl,
pt,
pt-BR,
pt-PT,
pa,
ro,
ru,
nso,
st,
sd,
sk,
sl,
es,
es-AR,
es-CL,
es-ES,
es-MX,
su,
sw,
ss,
sv,
tg,
ta,
te,
th,
bo,
ts,
tn,
tr,
uk,
ur,
ug,
uz,
ve,
vi,
war,
cy,
wo,
yo,
zu
output
enum<string>

dub (default): a dubbed video. subtitles: translated captions over the original audio, the cheaper path.

Available options:
dub,
subtitles
timing
enum<string>

match (default): the dub keeps the original timing. direct: a literal translation spoken in a chosen voice (needs voiceIdentityId).

Available options:
match,
direct
lipSync
boolean

Dub only: re-sync the mouth to the new words (priced per minute on the quote).

voiceIdentityId
string

Dub only: speak it in this voice (a consented clone, a designed voice or a premade one). Omit to clone each speaker.

Required string length: 1 - 200
compositionId
string

The composition to translate; the project's first when omitted.

Required string length: 1 - 160
threadId
string

Continue this Sigma conversation instead of starting one.

Required string length: 1 - 200

Response

Success.

success
boolean
required
threadId
string
required

The Sigma conversation the proposal is recorded in.

messageId
string
required
projectId
string | null
required

Where it runs; null for a workspace conversation until it is approved.

approval
object
required
{key}
any