Create a voice customization

Creates a named settings bundle for a voice.

Two mutually exclusive shapes, discriminated by customVoiceId:

  • standard voice — send language and locale, and no customVoiceId;
  • custom voice — send customVoiceId, and neither language nor locale.

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
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.

Body Params
const
enum
Defaults to elevenlabs
Allowed:
string
required
length ≥ 1
string
length ≥ 1
string
length ≥ 1
^[a-f0-9]{24}$
string
required
length between 1 and 20
settings
object
required
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json