F5-TTS

Diffusion transformer text-to-speech model using flow matching for fluent, faithful speech.

Open SourceSelf HostedOffline CapableGPU Required
0.0 (0)

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!