Update source segment
Enterprise only. Edit a source segment’s text, speaker, or timing. Omitted fields are left unchanged. Bumps the project’s revision, discards the affected translations in every language target, and marks any target that had already completed stale. No audio changes until you regenerate a target.
Path parameters
project_id
Identifier of the dubbing project.
segment_id
Identifier of the segment to edit.
Headers
xi-api-key
Request
This endpoint expects an object.
text
New text for the segment.
speaker_id
New speaker ID for the segment.
start_s
New start time, in seconds.
end_s
New end time, in seconds.
Response
Successful Response
segment
The segment in its updated state.
revision
The project’s source-transcript revision after this edit.
Errors
422
Unprocessable Entity Error