Zur Navigation springen

Analyze speakers

Matches each transcript speaker to the face that talks during their words. Read GET /v2/transcriptions/{id}/speaker-analysis first, and call this to start an analysis that wasn’t run or to retry one that ended unavailable. Pass the job’s revision and sourceVideoUrl. Supports up to 2 minutes of video and 8 speakers, and 3 requests per minute.

Authentifizierung

x-api-keystring
API-Key-Authentifizierung via Header

Pfadparameter

idstringErforderlich
Transcription job id.

Anfrage

This endpoint expects an object.
revisionstringErforderlich
The revision of the transcription job.
sourceVideoUrlstringErforderlich
The transcription's source video URL.
retrybooleanOptional
Set to true to rerun an analysis that ended unavailable. A completed or running analysis is returned as is.

Antwort

Speaker analysis started or returned
revisionstring
The transcription revision this analysis belongs to.
sourceStartMsinteger
Start of the analyzed window, in source milliseconds.
statusenum

Status of the speaker analysis. processing is not terminal; completed and unavailable are.

Erlaubte Werte:
speakerslist of objects
One entry per transcript speaker, up to 8.
sourceVideoUrlstringOptional
The analyzed source video. Null for jobs created from sourceAudioUrl.
sourcePlaybackUrlstringOptional
A temporary URL for playing the source video.
sourceEndMsintegerOptional
End of the analyzed window, in source milliseconds. Null when the window runs to the end of the source.
reasonstringOptional
Why the analysis is unavailable or wasn't run.
modelstringOptional
The model that ran the analysis.

Fehler

401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Speaker Analysis Too Many Requests Error
500
Internal Server Error