curl --request POST \
--url https://api.ultravox.ai/api/voices \
--header 'Content-Type: multipart/form-data' \
--header 'X-API-Key: <your-api-key>' \
--form 'file=@/path/to/voice.mp3' \
--form 'name=My Custom Voice' \
--form 'description=Voice recorded on Jan 1, 2024'
{
  "voiceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "previewUrl": "<string>",
  "ownership": "public"
}

Any created voices are private to your account.

Uses multipart/form-data encoding to provide the name of the voice along with an audio file containing the voice to be used for cloning.

Currently, we support one cloned voice per account. If you need more cloned voices, please reach out.

Authorizations

X-API-Key
string
header
required

API key

Body

multipart/form-data

Response

200 - application/json

The response is of type object.