Add source segment
Enterprise only. Add a new source segment to the transcript. Its span must lie within the source media, last between 0.1 and 25 seconds, and not overlap another segment by the same speaker. 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.
Headers
xi-api-key
Request
This endpoint expects an object.
text
The text of the new segment.
speaker_id
Identifier of the segment's speaker.
start_s
Start time of the segment, in seconds.
end_s
End time of the segment, 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