Identify a speaker
Score one clip against your enrolled speakers: every speaker (or the ones in speaker_ids), best first, with a similarity score for each speaker's profile and for each enrollment. Synchronous: the result is the response. No threshold is applied; see Speaker ID.
Request
- Base URLhttps://api.aircaps.com
- URLhttps://api.aircaps.com/v1/speakers/identify
- AuthHTTP bearer
Query parameters
Only these speakers: comma-separated, or the parameter repeated. Default: every enrolled speaker of the account. Verification of one person is speaker_ids=<their id>.
Return only the best top_k results (all speakers are still scored; margin and speakers_compared are unchanged).
Optional: aircaps-speaker-id-v1. Any other value returns 400 unsupported_model.
Headers
The clip's media type, for example audio/wav. Informational: the format is detected from the bytes.
Request body application/octet-stream
Response
The scores.
Example response
{
"id": "sid_01k73c0q9w8e7r6t5y4u3i2o1p",
"audio_duration": 4.21,
"speakers_compared": 3,
"margin": 0.476,
"results": [
{
"speaker_id": "spk_01k73a9x8w7v6u5t4s3r2q1p0n",
"name": "Ana García",
"score": 0.684,
"enrollment_scores": [
{
"score": 0.661
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.