Skip to main content
POST
/
api
/
v1
/
tts
/
clone-voice
Clone Voice
curl --request POST \
  --url https://dev.voice.ai/api/v1/tts/clone-voice \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'name=<string>' \
  --form voice_visibility=PUBLIC \
  --form language=en
{
  "voice_id": "<string>",
  "status": "PENDING"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your API key as the bearer token. Format: Authorization: Bearer

Body

multipart/form-data
file
file
required

Audio file (MP3, WAV, or OGG format, max 7.5MB)

name
string

Name for the voice

voice_visibility
enum<string>
default:PUBLIC

PUBLIC or PRIVATE

Available options:
PUBLIC,
PRIVATE
language
enum<string>
default:en

Language code (ISO 639-1 format)

Available options:
en,
es,
fr,
de,
it,
pt,
pl,
ru,
nl,
sv,
ca

Response

Successful Response

voice_id
string
required

The created voice ID

status
enum<string>
required

Voice processing status

Available options:
PENDING,
PROCESSING,
AVAILABLE,
FAILED