Text to Speech with Emotion: Emotional TTS with CosyVoice
Make your text sound human. Tag lines as happy, sad, angry, fearful, surprised or disgusted, add pauses, or describe your own emotion in plain words, then generate with CosyVoice.
Expressive, controllable speech
Six preset emotions
Highlight a line and tag it happy, sad, angry, fearful, surprised or disgusted.
Custom emotions in plain words
Describe the delivery you want, such as “speak slowly and gently” or “sound excited”, in up to 100 characters.
Pause markers
Insert a pause of 0.25 to 2 seconds before a reveal or after a line.
Works with your own voices
Voices you design or clone take emotion directions, so the same character can sound calm in one line and tense in the next.
What is emotional text to speech?
Emotional text to speech, also called text to speech with emotions or TTS with emotion, produces speech whose tone, pace and energy match what the text means. A sad line slows down and softens; a surprised one lifts. Without it, every sentence comes out in the same neutral voice.
CosyVoice is built for this. The CosyVoice 2 and 3 models accept natural-language instructions alongside the text, and CosyVoice.org turns that into controls you can use without writing code: emotion markers, custom emotions you describe in your own words, and pause markers.
What the CosyVoice models support
These are the instruction controls the official README and papers document for each open model.
| Control | CosyVoice 2 | CosyVoice 3 (Fun-CosyVoice 3.0) |
|---|---|---|
| Open model | CosyVoice2-0.5B | Fun-CosyVoice3-0.5B-2512 |
| Natural-language instructions | Emotion, speaking rate, role-play, dialect | Language, dialect, emotion, speed, volume |
| Tags and pronunciation | [laughter], [breath], <strong> for emphasis | Pinyin and CMU phoneme pronunciation fixes |
Sources:QwenAudio/CosyVoice READMECosyVoice 2 paper (arXiv 2412.10117)CosyVoice 3 paper (arXiv 2505.17589)
To hear official happy, sad, fearful, angry and surprised samples compared across CosyVoice 2.0 and 3.0, open the CosyVoice demo emotion samples. For what changed between versions, see CosyVoice 3.
Text to speech with emotion: how CosyVoice controls it
In the playground, highlight any part of your text and choose an emotion marker. Six presets are built in: happy, sad, angry, fearful, surprised and disgusted. Need something else? Write a custom emotion in plain words, up to 100 characters, for example “whispering, afraid of being overheard”.
Pause markers add 0.25, 0.5, 1, 1.5 or 2 seconds of silence wherever you place them. Markers apply to voices that follow them: voices you design or clone take emotion directions, and the playground suggests a switch when the voice you picked does not. To make a voice of your own first, see voice cloning.
Emotional TTS samples: happy, sad, angry, fearful, surprised
These five clips are the official CosyVoice 3.0-0.5B emotion samples from the CosyVoice 3 demo page, hosted here so you can play them without leaving the page. They were not generated on CosyVoice.org.
I actually managed to grab tickets to Eason Chan’s concert! It’s amazing! I can’t wait to hear his voice live!
CosyVoice 3.0-0.5B
The research institute won’t renew my contract, so I have to go back to my country. I don’t even have a job anymore.
CosyVoice 3.0-0.5B
I told you, stop nagging, alright? Haven’t you nagged enough in this lifetime?
CosyVoice 3.0-0.5B
I’m too scared to be here alone, can you stay with me?
CosyVoice 3.0-0.5B
What did you just say? Is this really true? I can’t believe it at all!
CosyVoice 3.0-0.5B
Each sample also has CosyVoice 2.0 and 3.0-1.5B versions; compare all three in the demo emotion section. Source: Official CosyVoice 3 demo page
Emotion and style instructions the CosyVoice repo lists
Besides the playground controls, the open model takes an instruction sentence as its own input, next to the text and a reference voice (the inference_instruct2 call in the repository’s example.py). The QwenAudio/CosyVoice repository ships a list of ready-made instruction sentences, shown here as written, with what each one asks for.
| Type | Instruction in the repo | What it asks for |
|---|---|---|
| Emotion | 请非常开心地说一句话。 | Say it very happily |
| Emotion | 请非常伤心地说一句话。 | Say it very sadly |
| Emotion | 请非常生气地说一句话。 | Say it very angrily |
| Volume | Please say a sentence as loudly as possible. | As loudly as possible |
| Volume | Please say a sentence in a very soft voice. | In a very soft voice |
| Speed | 请用尽可能慢地语速说一句话。 / 请用尽可能快地语速说一句话。 | As slowly, or as quickly, as possible |
| Role and style | 我想体验一下小猪佩奇风格,可以吗? / 你可以尝试用机器人的方式解答吗? | A Peppa Pig style; answering like a robot |
| Dialect | 请用广东话表达。 (16 more dialects follow the same pattern, such as 请用四川话表达。) | Speak in Cantonese; 17 dialects in total |
QwenAudio/CosyVoice common.py (instruct_list)
In the repository every entry starts with “You are a helpful assistant.” and ends with the <|endofprompt|> token; both are left out of the table. The list names three emotions. The demo page also has fearful and surprised samples, so the list is not the whole story, and we do not claim a complete set of supported emotions.
How to write emotion instructions
Five habits that make a marker easier to hear.
Describe the delivery, not only the label
“Quiet and trembling” tells the voice more than “sad”. Use the custom emotion field when a preset is too broad.
Mark one sentence at a time
A marker that covers a whole paragraph blurs it. Tag the lines that carry the feeling and leave the rest neutral.
Let pauses do part of the work
A short pause before a reveal, or after a heavy line, often lands better than a stronger emotion tag.
Keep custom emotions short
One clear phrase fits the 100-character limit and is easier for the voice to follow than a list of adjectives.
Change one marker, then listen again
Try the same line as Surprised, Angry and Sad and compare. Changing one thing at a time shows what each marker does.
Emotional TTS vs plain TTS
What changes when you can direct the delivery.
| Compare | Plain TTS | Emotional TTS with CosyVoice |
|---|---|---|
| Delivery | One default style for the whole text | Follows the emotion you tag, line by line |
| Controls | Voice choice | Emotion markers, custom emotions in plain words, pause markers |
| Voices | Any voice | Voices that follow emotion markers, including voices you design or clone |
| Best for | Notifications, neutral reading, quick drafts | Dialogue, characters, ads, narration, storytelling |
| Effort | Paste the text and generate | Paste the text, tag the lines that matter, generate |
Where expressive TTS shines
Games & characters
Voice NPCs and characters with emotion that matches the scene.
Video & social content
Add lively narration that holds viewer attention.
Conversational AI
Give assistants an empathetic, situation-aware tone.
Audiobooks & drama
Perform dialogue with believable emotional range.
Emotional TTS FAQ
What emotions does CosyVoice support?
On CosyVoice.org you can tag text as happy, sad, angry, fearful, surprised or disgusted, and add custom emotions described in your own words. The official CosyVoice demo page shows happy, sad, fearful, angry and surprised samples, and the models document emotion as one of their natural-language instructions.
How do I control emotion and style?
Highlight text in the playground and pick an emotion marker, or write a custom emotion in plain language, for example “whispering, afraid of being overheard”. Add a pause marker where the line needs room. Mark one sentence or phrase at a time.
Can I control speaking speed and emphasis?
The CosyVoice models document speaking-rate and volume instructions, and CosyVoice 2 also defines [breath] and <strong> tags. On CosyVoice.org, use pause markers and descriptive custom emotions such as “slow and gentle” to shape the pace.
Is emotional text to speech free to try?
Yes. Try expressive synthesis in the playground above. CosyVoice is open source under Apache-2.0 for self-hosting.
What is emotional text to speech?
Emotional text to speech, also called text to speech with emotions or TTS with emotion, produces speech whose tone, pace and energy match what the text means instead of reading every line in one neutral voice.
How is emotional TTS different from regular TTS?
Regular TTS reads the whole text in one default style. Emotional TTS lets you tag the lines that matter, so a warning sounds tense and a joke sounds light. The comparison table above sets the two side by side.
Can I add emotion to a cloned voice?
Yes. Voices you design or clone take emotion markers in the playground. If the voice you picked does not follow them, the playground suggests switching to one that does.