Use the speaker diarization API
Set diarize to true in the request body. To transcribe audio with speakers from a file, send the same option as a form field. The diarize option documentation describes accepted combinations with source.
Choose diarization when your task depends on who is speaking: an interview, a panel discussion or a host-and-guest recording. A single-speaker voice memo often does not need it. The labels organize turns in the audio; they do not identify a person, recognize an account or authenticate a voice.
The option applies when you create the transcription. It changes how the recording is processed, unlike choosing an export format afterward. Requesting speakers with source=auto bypasses platform captions. Uploaded files always use speech-to-text. The upload example below avoids depending on a platform caption track.
curl -X POST "https://api.transcript1.com/v1/transcriptions?wait=60" \
-H "Authorization: Bearer $TRANSCRIPT1_API_KEY" \
-F [email protected] \
-F diarize=trueSpeakers on every segment
transcript.speakers lists the labels and each segment names its speaker. transcript_source is speech_to_text because captions carry no speaker information. Use the API response schema when mapping these fields into your application.
Map Speaker 1 and Speaker 2 to people only after reviewing the recording. Keep that mapping in your application or edited export. Do not assume that Speaker 1 in a second recording is the same person as Speaker 1 in the first: the labels belong to each transcription, not a cross-recording identity system.
Use segment speaker fields for a conversation view and include=words when you need finer timing. Preserve the underlying start and end seconds when formatting the text so reviewers can return to the relevant audio. The example below is illustrative output, not a claim about a particular uploaded panel.
{
"status": "completed",
"transcript_source": "speech_to_text",
"transcript": {
"speakers": ["Speaker 1", "Speaker 2"],
"segments": [
{ "start": 0, "end": 3.4, "speaker": "Speaker 1", "language": "en", "text": "Good morning." },
{ "start": 3.4, "end": 7.9, "speaker": "Speaker 2", "language": "en", "text": "Thanks for having me." }
]
}
}Speaker labels in SRT and WebVTT files
format=srt prefixes the cue text with Speaker 1:. format=vtt uses a voice tag. format=text gives one labeled line per segment. Compare the subtitle export formats before choosing one for your player.
Check how your target player displays voice tags and how your editor handles speaker prefixes. A label that is helpful in a research transcript may be distracting in every subtitle cue. Make any presentation edits in the caption file or application, while retaining a reviewed mapping back to the numbered labels.
Audio quality still matters. Two people speaking together, a distant microphone or music over a conversation can make both words and speaker boundaries uncertain. Review transitions where the label changes unexpectedly. For a future recording, separate microphones and clear turn-taking can make the source easier to interpret than trying to repair it after transcription.
WEBVTT
00:00:00.000 --> 00:00:03.400
<v Speaker 1>Good morning.
00:00:03.400 --> 00:00:07.900
<v Speaker 2>Thanks for having me.Review speaker attribution before using it as evidence
Begin with a clear exchange near the start of the recording, identify the voices and write down your mapping. Then sample later turns to check whether the labels still fit. If you cannot tell who spoke from the recording, preserve that uncertainty in your reviewed transcript rather than assigning a name from context alone.
For research interviews, apply the same review convention across sessions. The interview workflow keeps participant identifiers and annotations separate from source speech. For a public panel, confirm names from the recording and other context available to you before publishing a named quote.
Diarization is useful for organizing a conversation, but it is not biometric identification. It should not be used to authenticate a caller or infer that two recordings feature the same person. A single speaker can also sound different when switching microphones, and simultaneous speech may not produce a clean one-person-per-segment result.
| Review finding | Next step |
|---|---|
| A label changes during one person’s turn | Listen across the boundary and correct your working copy if needed. |
| Two people speak together | Review both words and attribution; retain uncertainty where audio is unclear. |
| The same label appears in another recording | Create a new participant mapping for that recording. |