POST
/
v1
/
voices
curl --request POST \
  --url https://api.bland.ai/v1/voices \
  --header 'Content-Type: multipart/form-data' \
  --header 'authorization: <authorization>' \
  --form 'name=<string>' \
  --form 'audio_samples=[
  null
]'
{
  "voice_id": 12345,
  "name": "My Custom Voice"
}

Headers

authorization
string
required

Your API key for authentication.

Body

name
string
required

The name to identify your cloned voice.

audio_samples
file[]
required

One or more audio files to use as samples for voice cloning.

Response

voice_id
integer

The unique identifier for the cloned voice.

name
string

The name you provided for the voice.

{
  "voice_id": 12345,
  "name": "My Custom Voice"
}