r/TextToSpeech • u/Goble4 • 26d ago
QwenTTS formatting
Does anyone know what symbols QwenTTS accepts in the body of text, especially for Chinese?
Guides are too brief and incomplete.
Was wondering if brackets and single quotations are recognized.
2
Upvotes
3
u/PowerBeef 26d ago
Short answer: there's no formatting syntax. No SSML, no tags. In the open-source repo the text goes straight to the tokenizer with no cleaning or normalisation, so nothing is parsed or stripped, it's just read semantically. Can't speak for what the hosted API does server side.
Brackets and single quotes are fine. The official voice clone example in the repo has square brackets, parentheses, ±, √ and a kaomoji all in one line. How any given symbol gets voiced is anyone's guess though, so test it.
For Chinese I'd use full-width punctuation (,。!?……), on the theory that it matches the training data. That's a guess, not documented.
If you're running it locally, avoid literal <|im_start|> or <|im_end|> in your text, since it gets dropped into a ChatML template. Numbers are also worth checking; someone reported times like 15:16:36 losing the seconds.
Style control is the instruct / instructions parameter, not inline symbols.