Edit Transcript
Read a clip’s word-level transcript and replace words or phrases (e.g. spelling and name fixes)
PATCH
Correct words in a clip’s transcript — typically misspellings or names the
speech-to-text got wrong (for example
Returns the word-level transcript. Use it to locate the words to fix and to read
their
Send one or more operations. Each operation targets a span of words and
replaces it with the
Kaz Schwarz → Cozz). Corrections flow
into the clip’s subtitles. Read the transcript first to find what you want to
change, then send a patch.
Transcript edits do not re-export the video. After patching, call
POST /render to produce a clip with the corrected
subtitles. The cached renderedUrl is cleared automatically on every patch.Authentication
Read the transcript
index and timestamps for precise targeting.
Query Parameters
Also available at
GET /companies/{companyId}/clips/{clipId}/transcript.Response
Patch the transcript
to phrase. There are three ways to target a span — pick
whichever is most convenient:
Operation fields
A span is collapsed into the replacement: the first word in the span becomes the
new text spanning the original span’s timing, and the rest of the span is removed
from captions. Timing stays aligned to the audio, so the corrected text shows at
the right moment.
Response
Visible region vs extended region
A clip is transcribed from the full extended source, so the transcript can include words in the padding that aren’t shown in the current cut. Thevisible
flag on each word tells you whether it currently renders:
- Editing a visible word changes the subtitles as expected.
- Editing a hidden word (outside the visible region) is saved, but it won’t
appear unless the clip is extended in the studio to include that word. These
show up as
appliedToHiddenWordsin the patch response.
from/to) replaces every matching word regardless of region, and
the timestamps returned by GET already account for it.
Errors
Render Clip
Export the clip with the corrected subtitles