Enroll Voiceprint
voice_id_enrollEnroll a voiceprint for a speaker from ~2s of clear speech. Repeat with more clips to strengthen it.
Only an irreversible embedding is stored — never the raw audio.
Returns: dict with keys: speaker_id (str), n_samples (int), enrolled (bool).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"audio": "<audio>",
"speaker_id": "<speaker_id>",
"group_id": "<group_id>"
},
"name": "voice_id_enroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | Yes | Base64-encoded WAV with >= 2s of clear speech | |
| group_id | Yes | The group/namespace this speaker belongs to | |
| speaker_id | Yes | Your identifier for this speaker |