█

AI/TLDR

Buy me a coffee
Buy me a coffee

EmotiVoice

Multi-voice, prompt-controlled text-to-speech with emotional synthesis

Audio, Music & VoiceOpen source
Language
Python
License
Apache-2.0
IN SHORT

What is EmotiVoice?

EmotiVoice is a free, open-source text-to-speech engine from NetEase Youdao. It speaks both English and Chinese and offers more than 2000 different voices, so you can pick a sound that fits your project. It sits in the Audio, Music & Voice category of the Multimodal Generation tools and is open-source, written in Python and licensed Apache-2.0.

Overview

EmotiVoice is a free, open-source text-to-speech engine from NetEase Youdao. It speaks both English and Chinese and offers more than 2000 different voices, so you can pick a sound that fits your project.

Its standout feature is emotional synthesis. By writing a short style prompt, you can make the same voice sound happy, excited, sad, angry, or many other moods. EmotiVoice ships with an easy web interface for trying voices and a scripting interface for generating speech in batches.

What it does

  • Over 2000 voices across English and Chinese
  • Emotional synthesis controlled by simple text prompts (happy, excited, sad, angry, and more)
  • Interactive Streamlit web demo page for quick experiments
  • Batch generation through a command-line scripting interface
  • An OpenAI-compatible TTS API for easy integration, including voice speed control
  • Voice cloning support using your own recorded data

Getting started

The quickest way to try EmotiVoice is the Docker image, which needs a machine with an NVIDIA GPU. You can also do a full local install with conda for more control.

Run the Docker image

Pull and start the official image, then open the web interface in your browser at http://localhost:8501. The OpenAI-compatible TTS API is available at http://localhost:8000/.

bashbash
docker run -dp 127.0.0.1:8501:8501 -p 127.0.0.1:8000:8000 syq163/emoti-voice:latest

Full installation with conda

Create a Python 3.8 environment and install the dependencies if you prefer a local setup instead of Docker.

bashbash
conda create -n EmotiVoice python=3.8 -y
conda activate EmotiVoice
pip install torch torchaudio
pip install numpy numba scipy transformers soundfile yacs g2p_en jieba pypinyin pypinyin_dict
python -m nltk.downloader "averaged_perceptron_tagger_eng"

Launch the interactive demo page

After installing the pretrained models, start the Streamlit demo to try voices and emotions in your browser.

bashbash
pip install streamlit
streamlit run demo_page.py

Start the OpenAI-compatible API

Install the API dependencies and run the server to call EmotiVoice from any OpenAI-style TTS client.

bashbash
pip install fastapi pydub uvicorn[standard] pyrubberband
uvicorn openaiapi:app --reload

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Adding expressive, emotion-aware narration to videos, games, or apps
  • Generating bilingual English and Chinese voiceovers at scale through batch scripts
  • Dropping a self-hosted TTS backend into existing tools via the OpenAI-compatible API
  • Cloning a personal voice from your own recordings for custom speech output

How EmotiVoice compares

EmotiVoice alongside other open-source audio, music & voice tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
VoiceStudio★ 121kA local-first desktop voice studio that clones and designs voices, dubs video, and handles dictation, running 16 text-to-speech and 11 speech-recognition engines on your own hardware.
Whisper★ 114kOpenAI's speech recognition model that transcribes and translates audio across many languages.
GPT-SoVITS★ 64.3kAn open-source WebUI that clones a voice from a short audio sample and turns text into speech, with zero-shot and few-shot fine-tuning.
Voicebox★ 61.6kLocal-first voice studio that clones a voice from a short sample, generates speech across seven TTS engines and 23 languages, handles system-wide dictation, and speaks for agents over MCP.
VibeVoice★ 57.6kMicrosoft's text-to-speech model for generating long, expressive multi-speaker audio like podcasts.
whisper.cpp★ 55.7kA dependency-free C/C++ port of Whisper built on ggml, running speech recognition on CPU, Metal, CUDA, Vulkan and NPUs from phones to servers.
Coqui TTS★ 46.3kA library of text-to-speech models including the multilingual XTTS voice-cloning model.
EmotiVoice★ 8.5kMulti-voice, prompt-controlled text-to-speech with emotional synthesis