Scripts2026年4月1日·1 分钟阅读

Zonos — Multilingual TTS with Voice Cloning

Zonos is an open-weight TTS model trained on 200K+ hours of speech. 7.2K+ stars. Voice cloning, 5 languages, emotion control. Apache 2.0.

Agent 就绪

这个资产会安全暂存

这个资产会先安全暂存。复制的指令会要求 Agent 读取暂存文件,并在激活脚本、MCP 配置或全局配置前先确认。

Stage only · 17/100策略:需暂存
Agent 入口
任意 MCP/CLI Agent
类型
Script
安装
Stage only
信任
信任等级:Established
入口
zonos.md
安全暂存命令
npx -y tokrepo@latest install 9b6992d2-2369-45f0-9f8e-6c0c834c649b --target codex

先暂存文件;激活前需要读取暂存 README 和安装计划。

TL;DR
Zonos generates natural speech from text with zero-shot voice cloning across 5 languages and fine-grained emotion control.
§01

What it is

Zonos is an open-weight text-to-speech model by Zyphra, trained on more than 200,000 hours of multilingual speech data. It generates natural-sounding speech from text with zero-shot voice cloning from brief audio samples. Zonos supports English, Japanese, Chinese, French, and German, with controls for speaking rate, pitch, emotion, and audio quality.

Zonos targets developers building multilingual voice applications, accessibility tools, and content creation pipelines. It runs locally on GPUs with 6GB+ VRAM and includes both a Python API and a Gradio web interface.

§02

How it saves time or tokens

Zonos enables voice cloning from a single audio sample without fine-tuning, eliminating the hours of recording and training that traditional TTS customization requires. The model achieves approximately 2x real-time factor on an RTX 4090, meaning it generates speech faster than playback speed. The Gradio interface provides a visual way to adjust emotion, pitch, and rate without writing code.

§03

How to use

  1. Install Zonos: pip install -e . in the cloned repository (requires a GPU with 6GB+ VRAM).
  2. Load the model and generate speech using the Python API with Zonos.from_pretrained.
  3. Alternatively, launch the Gradio web interface with uv run gradio_interface.py for interactive control.
§04

Example

from zonos.model import Zonos
import torchaudio

# Load model
model = Zonos.from_pretrained('Zyphra/Zonos-v0.1-transformer')

# Load a speaker reference audio for voice cloning
ref_audio, sr = torchaudio.load('reference_speaker.wav')

# Generate speech with cloned voice
output = model.generate(
    text='Hello, this is a voice cloning demonstration.',
    speaker_audio=ref_audio,
    language='en'
)

torchaudio.save('output.wav', output, 24000)
§05

Related on TokRepo

§06

Common pitfalls

  • Zonos requires a CUDA-compatible GPU with at least 6GB VRAM; CPU inference is not practical for real-time use.
  • Voice cloning quality depends heavily on the reference audio; use clean, noise-free samples of at least 5 seconds for best results.
  • The model weights are large (several GB); ensure sufficient disk space and bandwidth for the initial download from Hugging Face.

常见问题

What languages does Zonos support?+

Zonos supports five languages: English, Japanese, Chinese, French, and German. Each language was trained on substantial speech data to ensure natural pronunciation and intonation.

How does zero-shot voice cloning work?+

You provide a brief audio sample of the target speaker. Zonos extracts speaker characteristics from this sample and applies them to the generated speech without any fine-tuning or training step.

What GPU is required to run Zonos?+

Zonos requires a CUDA-compatible GPU with at least 6GB VRAM. An RTX 4090 achieves approximately 2x real-time generation speed. Smaller GPUs work but produce speech more slowly.

Is Zonos free to use commercially?+

Yes. Zonos is released under the Apache 2.0 license, which permits commercial use, modification, and distribution without royalty fees.

Can I control emotions in the generated speech?+

Yes. Zonos provides fine-grained controls for emotion, speaking rate, pitch, and audio quality. These parameters can be adjusted via the Python API or the Gradio web interface.

引用来源 (3)
  • Zonos GitHub— Zonos is an open-weight TTS model trained on 200K+ hours of speech
  • Hugging Face— Zonos model weights on Hugging Face
  • Apache License— Apache 2.0 license for open-source software
🙏

来源与感谢

Zyphra/Zonos — 7,200+ GitHub stars

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产