Voice Cloning
Error Responses
Common errors returned when using voice cloning and how to resolve them.
Error Types
| ERROR | HTTP STATUS | DESCRIPTION |
|---|---|---|
reference_audio_too_short | 422 | Reference audio is shorter than the 1-second minimum. |
reference_audio_too_long | 422 | Reference audio exceeds the 6-second maximum. |
invalid_base64 | 400 | The reference_wav value is not valid base64. |
unsupported_audio_format | 400 | Audio is not WAV, FLAC, or OGG. |
file_too_large | 413 | Reference file exceeds the 10 MB size limit. |
transcript_mismatch | 422 | The reference_text does not match the audio content. |
no_speech_detected | 422 | No speech was detected in the reference audio. |