Voices
Clone a voice
post
https://www.getrevox.com/api/voices/cloneClone a voice from an audio recording. Send audio as a base64-encoded string. The cloned voice will be available in GET /voices.
Request body
audiostringrequiredBase64-encoded audio data (max ~7.5MB decoded)
max length 10000000
contentTypeenum (string)requiredMIME type of the audio
One of
audio/webmaudio/wavaudio/mpegaudio/oggaudio/mp4video/webmnamestringrequiredName for the cloned voice
min length 1
languageenum (string)requiredLanguage of the voice
One of
enfresdeitptruzh
Responses
201Created
idstringrequiredcartesiaVoiceIdstringrequirednamestringrequiredlanguagestringrequiredcreatedAtstringrequired
400Invalid request: the body or a parameter failed validation
messagestringerrorstringbodyErrorsobjectThe validation errors returned from the API.
Show 1 fieldHide 1 field
issuesarray of objectrequiredShow 3 fieldsHide 3 fields
patharray of one ofrequiredShow 2 variantsHide 2 variants
One ofstringstring
One ofnumbernumber
messagestringrequiredcodestring
401Missing or invalid API key
messagestringerrorstringbodyErrorsobjectThe validation errors returned from the API.
Show 1 fieldHide 1 field
issuesarray of objectrequiredShow 3 fieldsHide 3 fields
patharray of one ofrequiredShow 2 variantsHide 2 variants
One ofstringstring
One ofnumbernumber
messagestringrequiredcodestring
502HTTP 502
messagestringerrorstringbodyErrorsobjectThe validation errors returned from the API.
Show 1 fieldHide 1 field
issuesarray of objectrequiredShow 3 fieldsHide 3 fields
patharray of one ofrequiredShow 2 variantsHide 2 variants
One ofstringstring
One ofnumbernumber
messagestringrequiredcodestring