← Back to Leaderboard
Enetease-youdao

netease-youdao/EmotiVoice

Self-hosted PyTorch TTS for prompt-controlled Chinese and English speech

View on GitHub ↗
Engineering Health (Methodology)
B · 58/100
Maintenance Activity
● Updated 3mo ago
Latest Release
Rolling commits (main)
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance12/35
Fork Adoption20/25
Release Cadence6/20
License Clarity20/20
DockerSelf-HostedGPUAPICLI
Total Stars
★ 8,544
24h Growth
+0
7d Growth
+0
Forks
761

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

netease-youdao/EmotiVoice Star History (2023-11-07 - 2026-12-03) ALL-TIME STAR HISTORY (2023-11 – 2026-12) +8.5k in 1122d · avg +8/day 9k 4.5k 0 2023-11-07: ★ 12024-01-20: ★ 5,4142024-03-30: ★ 5,8912024-06-08: ★ 6,2772024-08-17: ★ 6,7972024-10-26: ★ 7,1122025-01-04: ★ 7,3192025-03-15: ★ 7,5002025-05-24: ★ 7,7702025-08-02: ★ 7,9172025-10-11: ★ 8,1632025-12-20: ★ 8,2312026-02-28: ★ 8,3132026-05-09: ★ 8,3852026-07-18: ★ 8,4382026-09-26: ★ 8,5002026-12-03: ★ 8,544 ★ 8.5k 2023-11 2025-05 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

EmotiVoice is a Python/PyTorch TTS stack built on PromptTTS. In the batch path, frontend.py turns text into phoneme input; frontend_cn.py and frontend_en.py provide language-specific processing backed by jieba, pypinyin, and g2p_en. inference_am_vocoder_joint.py takes the prepared input, a configuration directory, and a checkpoint, then runs the joint acoustic-model and vocoder path to produce audio. Speaker selection and style prompts are separate synthesis controls.

The install stack includes torch, torchaudio, transformers, and soundfile. Model preparation calls for simbert-base-chinese and the separate synthesis checkpoints. The same project exposes a Streamlit UI through demo_page.py, a file-based batch CLI, and an OpenAI-compatible TTS endpoint through the FastAPI app in openaiapi.py. These are distinct integration surfaces; the Zhiyun HTTP API is a separately hosted option.

Key Capabilities & Differentiators

The built-in catalog has more than 2,000 voices. English and Chinese synthesis can be combined in the same input, with digit handling added alongside mixed-language support in v0.2. Voice selection determines who speaks; a text prompt controls delivery, with happy, excited, sad, and angry among the available styles. For evaluation, listen to the same script across several speaker and prompt combinations rather than treating catalog size as a measure of consistency.

The batch path uses a phoneme-preprocessing step before synthesis and writes the results to outputs/prompt_tts_open_source_joint/test_audio in the supplied example. The OpenAI-compatible TTS endpoint adds speed adjustment for API clients. Personal-data voice cloning is a separate training workflow with DataBaker and LJSpeech recipes, not a feature to assume is available as a single API request. No streaming protocol or first-audio latency is specified, so HTTP compatibility alone does not establish suitability for real-time dialogue.

Trade-offs & Limitations

Compared with a managed service such as ElevenLabs, EmotiVoice gives teams control over where inference runs and supports local batch processing without routing every request through a hosted provider. In exchange, the team owns model downloads, dependency compatibility, GPU capacity, service exposure, and upgrades. The OpenAI-compatible interface is a useful starting point for clients that expect it, not a promise of full client compatibility: verify request fields, supported responses, speed behavior, and any streaming requirements before switching.

There are no published latency, throughput, or VRAM figures in the supplied material. Measure cold start, synthesis time, and peak memory for the selected checkpoint, representative input lengths, and target concurrency; do not budget for real-time performance on the strength of the API alone. The repository license is Apache-2.0, but commercial deployment also requires a separate review of checkpoint and voice rights, training-data and recording permissions, and the included user agreement.

Hardware & Deployment Guide

The source setup uses a Python 3.8 Conda environment, PyTorch and TorchAudio, and an NLTK English tagger resource. Stage both simbert-base-chinese and the pretrained outputs artifacts before attempting an offline rollout. The packaged Docker path targets NVIDIA GPUs with NVIDIA Container Toolkit. The published syq163/emoti-voice:latest image updated on January 4, 2024 exposes Streamlit on 8501 and the OpenAI-compatible API on 8000 when those ports are mapped.

Do not assume a source build behaves identically: the root Dockerfile uses Ubuntu 22.04, pins torch==1.11.0 and transformers==4.26.1, and only starts Streamlit on 8501. To run the API from source, install the separate API dependencies and run openaiapi:app with Uvicorn; the example’s --reload flag is for development. Validate TorchAudio and GPU-runtime compatibility with the Torch pin before standardizing on the image. The v0.3 release highlighted both the separate Zhiyun HTTP API and the personal-data cloning workflow.

Text processing: Separate Chinese and English frontends use jieba/pypinyin and g2p_en; v0.2 added mixed-language text and digits.
Voice and style controls: Select from more than 2,000 listed voices and use text prompts for delivery such as happy, excited, sad, or angry.
Batch inference: frontend.py prepares phoneme input, and inference_am_vocoder_joint.py runs the joint acoustic-model and vocoder path.
Serving interfaces: Streamlit provides the interactive UI, while openaiapi.py provides OpenAI-compatible TTS with speed adjustment.
Deployment distinction: The published image offers ports 8501 and 8000; the root Dockerfile explicitly starts only Streamlit on 8501.
Customization path: Personal-data voice cloning has a separate training workflow with DataBaker and LJSpeech recipes.
Best For

Teams producing Chinese and English narration, training content, or audio assets in batches, with control over speaker, delivery style, and where inference runs.

Skip If

You need a managed service, a verified real-time streaming latency target, or a CPU-only rollout without first validating the runtime and performance.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedGPUAPI
docker run -dp 127.0.0.1:8501:8501 syq163/emoti-voice:latest

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
EmotiVoice ★8.5k—PythonApache-2.0Self-hosted PyTorch TTS for prompt-controlled Chinese and English speech
voice-pro13.5k+34PythonGPL-3.0Self-hosted Gradio studio for transcription, translation, and dubbing
voicebox61.8k+437PythonMITLocal-first voice studio with multi-engine speech synthesis, dictation and MCP.
mlx-audio8.4k+32PythonMITMLX inference SDK for local speech and audio pipelines on Apple Silicon

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/netease-youdao/EmotiVoice.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

netease-youdao/EmotiVoice Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about EmotiVoice

Which entrypoint should I use for a demo, a batch job, or an application?

For interactive evaluation, use demo_page.py in Streamlit. For batch jobs, use frontend.py to produce phoneme input, then run inference_am_vocoder_joint.py with the joint configuration and checkpoint. For an application integration, run openaiapi:app under Uvicorn and test the requests and responses your client actually uses. Zhiyun’s hosted HTTP API is a separate service, not another name for the local endpoint.

How much GPU capacity should I budget?

Use an NVIDIA GPU host with NVIDIA Container Toolkit for the packaged Docker path. No minimum VRAM, CPU-only performance figures, or concurrency limits are specified. Benchmark the selected checkpoint with representative Chinese, English, and mixed-language inputs, measuring cold start, synthesis time, and peak VRAM at one request and at your expected concurrency before sizing replicas.

Does Apache-2.0 cover a commercial self-hosted deployment?

The repository is Apache-2.0, which permits commercial use of the code subject to its terms. That does not automatically clear the separately downloaded weights, voice assets, datasets, generated audio, or hosted API terms. Review those rights and the included EmotiVoice user agreement for the intended deployment, and obtain permission for any personal recordings used in voice cloning.

When should I choose EmotiVoice over ElevenLabs?

Choose EmotiVoice when running inference on your own infrastructure, processing batches locally, or controlling Mandarin and English delivery with text prompts matters more than minimizing operations. Evaluate ElevenLabs when a managed integration is the priority. Compare both on your actual scripts and deployment requirements; the OpenAI-compatible interface does not establish ElevenLabs API compatibility or equivalent output quality.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining netease-youdao/EmotiVoice? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature netease-youdao/EmotiVoice on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare