F5-TTS
Diffusion transformer text-to-speech model using flow matching for fluent, faithful speech.
About
F5-TTS is a non-autoregressive text-to-speech system that pairs flow matching with a Diffusion Transformer, using ConvNeXt V2 blocks for faster training and inference. Zero-shot voice cloning works from a short reference clip, with optional ASR transcription when the reference audio is unlabeled, and the repository bundles E2 TTS, a Flat-UNet Transformer variant, for comparison. Sway Sampling, an inference-time strategy introduced by the project, improves output quality without retraining. Trained on datasets including Emilia, WenetSpeech4TTS, LibriTTS, and LJSpeech, the models reach a real-time factor of about 0.04 on an L20 GPU. Inference options span a Gradio web UI with multi-style and multi-speaker support plus a voice chat mode driven by Qwen2.5-3B-Instruct, a command-line interface, Docker, and a TensorRT-LLM runtime. The code is MIT licensed while the pretrained checkpoints carry a CC-BY-NC license, a distinction that matters for commercial use.
Should you use F5-TTS?
Pick it when
Pick F5-TTS for research or personal projects that need zero-shot cloning from a short clip with fast inference, a Gradio UI with multi-speaker and voice chat modes, and a TensorRT-LLM path for serving experiments.
Look elsewhere when
Skip it for commercial products: the code is MIT but the pretrained checkpoints are CC-BY-NC. Chatterbox or OpenVoice offer cloning under commercial-friendly terms, and CPU-only users should look at Kokoro.
Alternatives to F5-TTS
- Chatterbox TTS
Zero-shot cloning with emotion control under a permissive license that allows commercial use, though without F5's E2 TTS comparison and voice chat mode.
- OpenVoice
MIT licensed for commercial use with cross-lingual cloning and control over emotion, accent, and rhythm, but native support covers six languages.
- MaskGCT
Also non-autoregressive zero-shot cloning with controllable duration, but equally non-commercial and with a heavier multi-stage setup in Amphion.
- Matcha-TTS
MIT flow-matching model you train on your own data and export to ONNX, so it can ship commercially, but there is no zero-shot cloning.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- Text-to-Speech (TTS)
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Intermediate (3/5)
- License
- MIT
- Added
- May 7, 2026
Tags
Related Tools
Browse all Text-to-Speech (TTS) toolsMentioned in
Open Source AI License Commercial Use: What You Can Ship in 2026
MIT, Apache, AGPL, OpenRAIL, Llama and Hunyuan community terms, and non-commercial weights explained for...
BuilderAI Editorial Team
How to Evaluate Open Source AI Tools: The Checklist We Use
How BuilderAI.tools vets and maintains its 787 listings, plus a reusable checklist for maintenance, licenses,...
BuilderAI Editorial Team
Open-Weight Text to Speech Models in 2026: The XTTS Successors
A working developer's comparison of Kokoro, Zonos, Kyutai TTS, F5-TTS, Piper, Chatterbox and the rest:...
Billy C