Voice Cloning

Error Responses

Common errors returned when using voice cloning and how to resolve them.


Error Types

ERRORHTTP STATUSDESCRIPTION
reference_audio_too_short422Reference audio is shorter than the 1-second minimum.
reference_audio_too_long422Reference audio exceeds the 6-second maximum.
invalid_base64400The reference_wav value is not valid base64.
unsupported_audio_format400Audio is not WAV, FLAC, or OGG.
file_too_large413Reference file exceeds the 10 MB size limit.
transcript_mismatch422The reference_text does not match the audio content.
no_speech_detected422No speech was detected in the reference audio.