PREVIEW · CLOSED ACCESSAPI keys are issued under Studio contracts. Email the team

API REFERENCE · DUBBING

Transcript & review

With review=manual the dub pauses at in_review after translation. Edit any line, then render; credits only spend at render.

The review flow

Translation comes back first. A line that can land more than one way, a joke or a jab, comes back as three translations, each for a different intent and emotion; your creative directors pick one. A podcast, an episode, or a movie can carry quite a few such segments. These are the translation decisions, reviewed today; the full decision record, with the audio and visual decisions, is in the works.

  • Create the dub with review=manual -- Create a dub.
  • Wait for status: "in_review" -- the dub.ready_for_review webhook fires the moment it lands (Webhooks).
  • GET the transcript per language; PATCH the lines you want changed.
  • POST /render to approve -- the whole dub, or one language at a time.

Get the transcript

GET/v1/dubs/{dub_id}/transcript?lang=es
200 · OK
{
  "dub_id": "dub_31xk9m",
  "lang": "es",
  "segments": [
    {
      "id": "seg_004",
      "start": 12.48,
      "end": 15.91,
      "speaker": "spk_1",
      "source": "That's the whole trick.",
      "target": "Ese es todo el truco."
    }
  ]
}
TABLE 01 · SEGMENT FIELDS
FIELDTYPEDESCRIPTION
idstringStable per segment; PATCH keys on it.
startnumberSeconds into the source, word-timestamp precise.
endnumberSeconds into the source.
speakerstringWhich detected speaker says the line.
sourcestringThe transcribed source line.
targetstringThe translated line -- the editable field.
options[]object[]The renderings for a line that can land more than one way, each with intent, emotion and reasoning (Translation decisions) (in the works).

Omit lang to get the source-language transcript only (available from translating onward, on auto dubs too -- useful for your own moderation pass).

Edit lines

PATCH/v1/dubs/{dub_id}/transcript
REQUEST
curl -X PATCH https://api.thefamiliarlab.com/v1/dubs/dub_31xk9m/transcript \
  -H "Authorization: Bearer $FAMILIAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "lang": "es",
    "segments": [
      { "id": "seg_004", "target": "Ahí está todo el truco." }
    ]
  }'

Send only the segments you changed; target is the one writable field, and the response echoes the full transcript. PATCH is only valid at in_review; anything else returns 409.

Render

POST/v1/dubs/{dub_id}/render
REQUEST
curl -X POST https://api.thefamiliarlab.com/v1/dubs/dub_31xk9m/render \
  -H "Authorization: Bearer $FAMILIAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "langs": ["es"] }'
200 · OK
{
  "dub_id": "dub_31xk9m",
  "status": "rendering",
  "outputs": [
    { "lang": "es", "status": "rendering" },
    { "lang": "pt", "status": "in_review" },
    { "lang": "ja", "status": "in_review" }
  ]
}

Omit langs to approve the whole dub; pass it to release languages one at a time. Rendering a manual dub that isn't in_review returns 409.

When review is forced or skipped

Access

The API is enterprise-only: private access under a Studio contract, with volume pricing, raised limits, ProRes masters on request, and a named point of contact. Book a call and your key is issued with the contract.