Clone a voice
POST/voices/clone
Clone a voice from an audio recording. Send audio as a base64-encoded string. The cloned voice will be available in GET /voices.
Body ParametersJSON
audio: string
Base64-encoded audio data (max ~7.5MB decoded)
maxLength10000000
name: string
Name for the cloned voice
minLength1
Returns
id: string
cartesiaVoiceId: string
createdAt: string
language: string
name: string
Clone a voice
curl https://www.getrevox.com/api/voices/clone \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $REVOX_API_KEY" \
-d '{
"audio": "audio",
"contentType": "audio/webm",
"language": "en",
"name": "x"
}'{
"id": "id",
"cartesiaVoiceId": "cartesiaVoiceId",
"createdAt": "createdAt",
"language": "language",
"name": "name"
}Returns Examples
{
"id": "id",
"cartesiaVoiceId": "cartesiaVoiceId",
"createdAt": "createdAt",
"language": "language",
"name": "name"
}