cURL
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>" }
Clone voice with reference audio and get back a voice ID for future requests.
Bearer token authentication. Use your API key as the bearer token. Format: Authorization: Bearer
a base 64 encoded audio reference sample
7500000
The name for the voice you create
Whether the voice is public or private
PUBLIC
PRIVATE
Successful Response
The created voice ID
Voice processing status: PENDING, PROCESSING, AVAILABLE, or FAILED