Dub

Regenerate selected passages as a new dub

Create a new asynchronous job using saved edits for 1–50 selected passages and the existing rendered audio for all other passages. The previous job is unchanged. If only a passage's source text changed, its translation is refreshed. A supplied pronunciation_text is the full spoken passage and does not appear in subtitles. Reuse the same Idempotency-Key and body after a lost response. A completed revision counts only the source time covered by selected passages, with overlapping time counted once. Exports carry no additional usage.

post/v1/dub/jobs/{job_id}/revisions

Request

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

Path parameters

job_idstring required

Headers

Idempotency-Keystring required

Request body

revisioninteger required
segment_idsstring[] required

Response

Revision accepted, or the same previously accepted revision on retry.

job_idstring required
parent_job_idstring required
status'queued' | 'running' | 'done' | 'error' required
status_urlstring required

Changes

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