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: application/json' \
  --data '
{
  "base64_audio": "<string>",
  "name": "<string>",
  "voice_visibility": "PUBLIC"
}
'
{
  "voice_id": "<string>",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
base64_audio
string
required

a base 64 encoded audio reference sample

Maximum string length: 7500000
name
string | null

The name for the voice you create

voice_visibility
enum<string> · null · null
default:PUBLIC

Whether the voice is public or private

Available options:
PUBLIC,
PRIVATE

Response

Successful Response

voice_id
string
required

The created voice ID

status
string
required

Voice processing status: PENDING, PROCESSING, AVAILABLE, or FAILED