F
SWivid/F5-TTS★ 15,717 · Python
Flow-matching Diffusion Transformer for local, reference-conditioned speech synthesis
MIT · Commercial Friendly1.2.0
Side-by-side 2026 comparison in Voice, Vision & Video: SWivid/F5-TTS leads both total GitHub adoption (★ 15.7k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs GPL-3.0 · Copyleft Warning.
Flow-matching Diffusion Transformer for local, reference-conditioned speech synthesis
Local faster-whisper web app and API for audio and video transcription
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | SWivid/F5-TTS | jianchang512/stt |
|---|---|---|
| Total GitHub Stars | ★ 15,717 | ★ 4,869 |
| 24h / 7d Velocity | +5 / +45 | +2 / +7 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 99/100 | C · 47/100 |
| Deployment Signals | Docker · Local AI · GPU | Self-Hosted · Local AI · GPU · API |
| Primary Language | Python | Python |
| Commercial License | MIT · Commercial Friendly | GPL-3.0 · Copyleft Warning |
| Activity | Updated 7d ago | Updated 10mo ago |
| Latest Release | 1.2.0 | 20250805 |
| Best For | Teams building local narration or multi-speaker synthesis from authorized reference audio, with the capacity to profile GPU inference and operate the chosen runtime | Individuals and teams transcribing recorded audio or video on their own machines, generating SRT subtitles, or moving a file-based transcription integration off a hosted API |
# Build from Dockerfile docker build -t f5tts:v1 . # Run from GitHub Container Registry docker container run --rm -it --gpus=all --mount 'type=volume,source=f5-tts,target=/root/.cache/huggingface/hub/' -p 7860:7860 ghcr.io/swivid/f5-tts:main # Quickstart if you want to just run the web interface (not CLI) docker container run --rm -it --gpus=all --mount 'type=volume,source=f5-tts,target=/root/.cache/huggingface/hub/' -p 7860:7860 ghcr.io/swivid/f5-tts:main f5-tts_infer-gradio --host 0.0.0.0
start.py launches the local Python application; faster-whisper handles inference and FFmpeg is a source-install prerequisite.POST /api accepts multipart audio or video and wraps results in code, msg, and data./v1 base URL supports OpenAI-style transcription calls; JSON output represents parsed SRT subtitles.tiny through large-v3; v0.94 updated large-v3-turbo support and added custom Hugging Face models.import requests # 请求地址 url = "http://127.0.0.1:9977/api" # 请求参数 file:音视频文件,language:语言代码,model:模型,response_format:text|json|srt # 返回 code==0 成功,其他失败,msg==成功为ok,其他失败原因,data=识别后返回文字 files = {"file": open("C:/Users/c1/Videos/2.wav", "rb")} data={"language":"zh","model":"base","response_format":"json"} response = requests.request("POST", url, timeout=600, data=data,files=files) print(response.json())
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy