Voices API
List voices
Query parameters
Case-insensitive substring match on name
Returns
200.
curl "https://api.dialgem.com/v1/voices" \
-H "X-API-Key: $DIALGEM_API_KEY"[
{
"id": "string",
"provider": "string",
"provider_voice_id": "provider_voice_123",
"is_custom": false,
"created_by": "string",
"name": "Example",
"gender": "string",
"accent": "string",
"age": "string",
"voice_type": "string",
"language": [
"string"
],
"preview_url": "https://example.com"
}
]Clone voice
Clone a voice from uploaded audio into this organization's catalog.
Request body multipart/form-data
Must be true. You are asserting that you hold the rights to this audio and the speaker's consent to clone their voice.
Default "elevenlabs"
Default "en"
Returns
201 with the fields below.
Dialgem's id for the voice. Use it to delete a cloned voice.
The speech engine that owns the voice, such as `elevenlabs` or `cartesia`.
The engine's own id. Put this in an agent's `voice_id`.
True for a voice your organization cloned. Platform voices are false.
Display name.
Language codes the voice can speak.
Who cloned the voice and confirmed consent. Null for platform voices.
Voice gender, when the engine reports one.
Accent, when the engine reports one.
Age range, when the engine reports one.
Show 5 more parameters
Engine category for the voice.
A short sample you can play.
What the engine returned about the voice, unmodified.
ISO 8601 creation time.
ISO 8601 time of the last change.
curl -X POST "https://api.dialgem.com/v1/voices/clone" \
-H "X-API-Key: $DIALGEM_API_KEY" \
-F "name=value" \
-F "files=value" \
-F "consent_confirmed=value"{
"id": "string",
"provider": "string",
"provider_voice_id": "provider_voice_123",
"is_custom": false,
"created_by": "string",
"name": "Example",
"gender": "string",
"accent": "string",
"age": "string",
"voice_type": "string",
"language": [
"string"
],
"preview_url": "https://example.com"
}Delete voice
Delete a voice this organization cloned, at the provider and here.
Path parameters
Returns
200 with the fields below.
Always true on success.
The id that was deleted.
curl -X DELETE "https://api.dialgem.com/v1/voices/VOICE_ID" \
-H "X-API-Key: $DIALGEM_API_KEY"{
"deleted": false,
"voice_id": "voice_123"
}