Speaker ID
Know who's speaking, by voice.
Enroll the people you expect to hear, then recognize them from a short clip. A compact model that stays accurate under loud noise and music, and puts real names on transcripts.
Similarity from −1 to 1, best first. You set the threshold.Margin 0.476
Voices, recognized.
Enroll once, then identify or verify speakers, and put their names on A5S Async transcripts.
Enroll once
Create a speaker and add clips of them talking alone. Up to 20 enrollments per speaker, 1,000 speakers per account.
Identify or verify
Rank a clip against everyone enrolled, or check it against the one person you expect.
You set the threshold
Scores are similarities from −1 to 1. Measured score ranges in the docs help you choose a cut-off.
Names on transcripts
Add speaker_identification to an A5S Async request and speakers come back with names.
Any language
It works from the voice, not the words, so there is no language to set.
Built for noise
3.53% EER under environmental noise and 4.03% under music, with the noise louder than the voice.
Accurate when it is loud.
equal error rate on VoxCeleb1-O, averaged over clean speech and four noisy conditions, from a 17M-parameter model. TitaNet Large: 5.06%.
Where it fits.
Notes with real names
Transcripts that say Ana and Ben instead of speaker 0 and speaker 1, across every meeting they join.
Assistants that know who is talking
Personalize answers for the person speaking on a shared device or call.
Archives by voice
Tag recurring hosts and guests across hours of recordings, without listening to them all.
Enroll, then identify.
- Create speakers with an optional name and metadata
- Enroll with raw audio, 1 s to 2 minutes
- Identify a 0.5 s to 2 minute clip, synchronously
- Pass
speaker_idsto verify one person
# 1. create a speaker
curl https://api.aircaps.com/v1/speakers \
-H "Authorization: Bearer $AIRCAPS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Ana García"}'
# 2. enroll a clip of them speaking alone (raw audio, 1 s to 2 min)
curl https://api.aircaps.com/v1/speakers/spk_01k73.../enrollments \
-H "Authorization: Bearer $AIRCAPS_API_KEY" \
-H "Content-Type: audio/wav" --data-binary @ana_intro.wav
# 3. identify who is speaking in a clip (0.5 s to 2 min)
curl https://api.aircaps.com/v1/speakers/identify \
-H "Authorization: Bearer $AIRCAPS_API_KEY" \
-H "Content-Type: audio/wav" --data-binary @clip.wav{
"object": "speaker_identification",
"model": "aircaps-speaker-id-v1",
"audio_duration": 4.21,
"speakers_compared": 3,
"margin": 0.476,
"results": [
{"speaker_id": "spk_01k73a9x...", "name": "Ana García", "score": 0.684},
{"speaker_id": "spk_01k73a7m...", "name": "Ben Ito", "score": 0.208},
{"speaker_id": "spk_01k73a5q...", "name": null, "score": 0.031}
]
}
Specifications.
Everything else is in the model reference and limits.
- Model ID
aircaps-speaker-id-v1- Interface
- REST, synchronous: the scores are the response
- Clips
- 0.5 s to 2 minutes to identify, from 1 s to enroll; up to 100 MB
- Speakers
- Up to 1,000 per account, 20 enrollments each
- Output
- A score from −1 to 1 for each enrolled speaker, best first
- Rate
- 600 requests per minute
- Language
- None to set: it works from the voice
- Price
- $0.02 per audio hour; on every account
Questions.
How do I get access?
Every account has Speaker ID. Create an API key in the console and start enrolling voices; the first 5 hours are free.
How long does a clip need to be?
From 0.5 seconds to 2 minutes to identify, and from 1 second to enroll. Crop clips to one person's speech: the whole clip is compared as sent.
Does it decide who is unknown?
No. It returns a score for each enrolled speaker, and your application chooses the threshold. The guide has measured starting points.
Can I get names in transcripts?
Yes. Add speaker_identification to an A5S Async transcript.
Do you store identification clips?
No. Each clip is discarded when the request finishes, and identification results are not stored. Enrollments stay until you delete them, as voice embeddings rather than audio.
More models.
Know who's speaking.
Speaker ID is on every account, and the first 5 hours are free.