post
https://apis.elai.io/api/v1/voice-customizations
Creates a named settings bundle for a voice.
Two mutually exclusive shapes, discriminated by customVoiceId:
- standard voice — send
languageandlocale, and nocustomVoiceId; - custom voice — send
customVoiceId, and neitherlanguagenorlocale.
Sending both forms, or neither, is rejected with 400. Only the elevenlabs provider is supported today.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
curl -X POST 'https://apis.elai.io/api/v1/voice-customizations' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"provider": "elevenlabs",
"voiceId": "21m00Tcm4TlvDq8ikWAM",
"language": "English",
"locale": "en-US",
"name": "Calm narrator",
"settings": {
"stability": 0.5,
"speed": 1,
"similarity": 0.75,
"style": 0.3
}
}'
Next: synthesize-speech — pass the new id as voiceVariantId.
