Dub

Export original or translated subtitles

Requires dub:render. Exports text matching the current rendered audio. Source subtitles use source timings; translated subtitles use actual dubbed passage placements and durations. Pending draft edits and pronunciation spellings are excluded. Regenerate edited passages first to export those changes. No delivery units are charged.

get/v1/dub/jobs/{job_id}/subtitles.{format}

Request

  • Base URL: https://api.pyai.com
  • URL: https://api.pyai.com/v1/dub/jobs/{job_id}/subtitles.{format}
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Path parameters

job_idstring required
format'srt' | 'vtt' required

Query parameters

track'source' | 'translation'

Response

UTF-8 subtitle file.

Changes

No recorded changes to this operation across all 2 revisions of this API.