Chatterbox-TTS-Server icon indicating copy to clipboard operation
Chatterbox-TTS-Server copied to clipboard

API requests results are not split text and returns broken speech (Koboldcpp)

Open Battou2501 opened this issue 10 months ago • 1 comments

So I am trying to use OpenAI API mode in Koboldcpp to use Chatterbox server. It sends requests and I see chatterbox generating responses. BUT! There sre two issues.

  1. It does nut split text to chunks and always process text in one go. This may be causing second issue
  2. Returned audio contains broken speech. Like the person talkin have a stroke and speak random words with ocasional words from text.

Have someone encountered this? Is there any fix?

Battou2501 avatar Jan 25 '26 14:01 Battou2501

Fixed in b9862f0. The /v1/audio/speech endpoint now automatically splits long text into chunks and stitches them with crossfade, same as the /tts endpoint. This should resolve the garbled speech on longer inputs.

devnen avatar Mar 30 '26 13:03 devnen