read which face belongs to each speaker
transcriptions_get-speaker-analysisRead which face in a video belongs to each transcript speaker by transcription ID, returning matched or uncertain speakers and the revision needed to slice face tracks for lipsync timelines.
Instructions
Read which face in the video belongs to each transcript speaker of a COMPLETED video transcription, by transcription id. Read-only: video transcriptions of your own media are usually analysed automatically, and transcriptions_analyze-speakers starts or retries an analysis only when this returns unavailable with reason not_requested, analysis_failed or analysis_timeout. Returns status (processing, completed or unavailable), the revision that transcriptions_slice-speaker-face-track needs, and speakers: each matched (with an avatar, the evidence and a faceTrack whose url is a public JSON file with one box per frame of the source file where that face is visible) or uncertain (with a reason). Other unavailable reasons do not call for analyze-speakers: retry_limit means the attempts are used up, and reasons such as source_binding_unavailable (an audio-only source or one outside your organization's storage), source_too_long or too_many_speakers rule the source out. wait: true waits for the analysis, not the transcription; jobs_wait with kind speaker_analysis, when available, waits on the same analysis. Next step for lipsync_create-timeline: cut each matched speaker's track per clip with transcriptions_slice-speaker-face-track. Clips of an uncertain speaker use speaker detect instead, or lipsync: false where the timeline tool offers that field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Transcription id from transcriptions_create. | |
| wait | No | Wait on the server while the analysis status is processing, for up to about 50 seconds, then return its latest state; if still processing, call again with wait: true instead of sleeping. Does not wait for an unfinished transcription, which returns 409. |