Install and run F5-TTS, the flow-matching zero-shot voice-cloning text-to-speech model (F5TTS_v1_Base, E2-TTS) with f5-tts_infer-cli, the Gradio app, the Python F5TTS API and the socket server, with reference audio and ref_text rules. Use for f5-tts, SWivid/F5-TTS, "clone a voice from a short clip", nfe_step, sway sampling, SHARED.md language checkpoints, or the CC-BY-NC weights licence. No OpenAI-style server is bundled. For fixed-voice TTS use kokoro-fastapi; for an alternative cloner use chatterbox.
Clone a voice from a few seconds of reference audio and synthesise speech with F5-TTS on the user's hardware, from the CLI, a Python call, the bundled Gradio app or the streaming socket server.
Scope: this one project: install, run, tune, update, troubleshoot, point to fine-tuning. It ships no OpenAI-compatible HTTP server. Choosing a TTS stack belongs to self-hosted-genmedia; fixed-voice TTS with an OpenAI API is kokoro-fastapi; another zero-shot cloner is chatterbox. Facts below were verified on f5-tts 1.1.22 (2026-07-23 release, repo active 2026-10-11).
Work through the steps in order. Load a reference only when a step names it.
Check the licence first (references/models-and-licences.md): the code is MIT but the pretrained models are CC-BY-NC. For commercial use you need other weights or your own training data.
Not installed: references/install.md (virtualenv or conda, PyTorch matched to the device, then pip install f5-tts).
One-off audio: references/inference.md (CLI with a .toml, reference audio rules, tuning knobs).
From Python or a service: the F5TTS class in references/inference.md; the Gradio app, socket server and TensorRT-LLM runtime are in references/serving.md.
Another language or a fine-tune: references/models-and-licences.md (community checkpoints in SHARED.md), training pointers in references/training.md.
Upgrade: references/updating.md. Bad audio, silence or errors: references/troubleshooting.md.
Rules
Ask before changing the system. Installs, large PyTorch wheels and Hugging Face downloads need approval; use a virtualenv.
Licence check before commercial use. Code MIT; pretrained checkpoints CC-BY-NC (Emilia training data). Say so to the user before recommending it for a product.
Consent for cloned voices. Only clone voices you have permission to use; do not impersonate. Mark generated audio as synthetic where required.
Reference audio under 12 s with trailing silence. Longer or hard-clipped clips truncate words. Give a correct ref_text, or leave it empty so the ASR model (openai/whisper-large-v3-turbo) transcribes it (extra GPU memory).
One generation covers 30 s total including the reference. The CLI and Gradio app chunk longer text; the raw API does not.
Never expose Gradio or the socket server publicly. No authentication. --share creates a public link; the socket server binds 0.0.0.0 by default. Use loopback and a gateway.
Verify upstream. Defaults and checkpoints move; read f5-tts_infer-cli --help on the installed version.
Workflows
Create the environment, install the right PyTorch, pip install f5-tts -> references/install.md
Prepare a clean reference clip (under 12 s, mono speech, 1 s trailing silence) and its transcript -> references/inference.md
Run f5-tts_infer-cli with --ref_audio, --ref_text, --gen_text and listen -> references/inference.md, scripts/clone.sh
Tune nfe_step, speed, cfg_strength, remove_silence for the use case -> references/inference.md
Optional: Gradio app on loopback, or the socket server for streaming -> references/serving.md
Optional: language checkpoint or fine-tune -> references/models-and-licences.md, references/training.md
Update -> references/updating.md
Verify: the output WAV plays, is not silent, matches the text, uses the intended voice, and any listener is on loopback.
Reference index
references/install.md: PyTorch per device, pip and editable installs, Docker, ffmpeg.
references/troubleshooting.md: symptom to fix table.
templates/f5-basic.toml: CLI config.
scripts/clone.sh: wrapper around f5-tts_infer-cli with guard rails (bash).
Companion skills
kokoro-fastapi: fixed-voice TTS with an OpenAI-compatible API. Install: npx skills add ScaleDockHQ/llm-skills --skill kokoro-fastapi.
chatterbox: another zero-shot voice-cloning TTS with a different licence. Install: npx skills add ScaleDockHQ/llm-skills --skill chatterbox.
self-hosted-genmedia: choose speech and image stacks and place them next to LLMs. Install: npx skills add ScaleDockHQ/llm-skills --skill self-hosted-genmedia.
hugging-face: model cache and tokens. Install: npx skills add ScaleDockHQ/llm-skills --skill hugging-face.
1---2name: f5-tts3description: Install and run F5-TTS, the flow-matching zero-shot voice-cloning text-to-speech model (F5TTS_v1_Base, E2-TTS) with f5-tts_infer-cli, the Gradio app, the Python F5TTS API and the socket server, with reference audio and ref_text rules. Use for f5-tts, SWivid/F5-TTS, "clone a voice from a short clip", nfe_step, sway sampling, SHARED.md language checkpoints, or the CC-BY-NC weights licence. No OpenAI-style server is bundled. For fixed-voice TTS use kokoro-fastapi; for an alternative cloner use chatterbox.4license: MIT5compatibility: Linux, Windows and macOS with Python 3.10+, PyTorch for CUDA, ROCm, Intel XPU, Apple MPS or CPU, and ffmpeg; Docker image for NVIDIA GPUs. Installs, model downloads and any listener beyond loopback need the user's explicit approval. The pretrained weights are CC-BY-NC.6metadata:7 source: https://skillmd.com/skills/scaledockhq/f5-tts8 author: ScaleDockHQ9 version: "0.1.0"10---1112# F5-TTS1314Clone a voice from a few seconds of reference audio and synthesise speech with F5-TTS on the user's hardware, from the CLI, a Python call, the bundled Gradio app or the streaming socket server.1516**Scope:** this one project: install, run, tune, update, troubleshoot, point to fine-tuning. It ships no OpenAI-compatible HTTP server. Choosing a TTS stack belongs to `self-hosted-genmedia`; fixed-voice TTS with an OpenAI API is `kokoro-fastapi`; another zero-shot cloner is `chatterbox`. Facts below were verified on f5-tts 1.1.22 (2026-07-23 release, repo active 2026-10-11).1718Work through the steps in order. Load a reference only when a step names it.1920## Discover first2122Read-only; nothing here prints secrets.2324```bash25python3 --version; command -v ffmpeg f5-tts_infer-cli f5-tts_infer-gradio26python3 -c 'import f5_tts, torch; print(torch.__version__, torch.cuda.is_available(), getattr(torch.backends,"mps",None) and torch.backends.mps.is_available())' 2>&1 | tail -227pip list 2>/dev/null | grep -iE '^(f5-tts|torch|torchaudio|gradio|transformers) '28nvidia-smi -L 2>/dev/null; uname -sm29ls ~/.cache/huggingface/hub 2>/dev/null | grep -iE 'F5|vocos|whisper'30```3132## Decision flow33341. Check the licence first (`references/models-and-licences.md`): the code is MIT but the pretrained models are CC-BY-NC. For commercial use you need other weights or your own training data.352. Not installed: `references/install.md` (virtualenv or conda, PyTorch matched to the device, then `pip install f5-tts`).363. One-off audio: `references/inference.md` (CLI with a `.toml`, reference audio rules, tuning knobs).374. From Python or a service: the `F5TTS` class in `references/inference.md`; the Gradio app, socket server and TensorRT-LLM runtime are in `references/serving.md`.385. Another language or a fine-tune: `references/models-and-licences.md` (community checkpoints in `SHARED.md`), training pointers in `references/training.md`.396. Upgrade: `references/updating.md`. Bad audio, silence or errors: `references/troubleshooting.md`.4041## Rules4243- **Ask before changing the system.** Installs, large PyTorch wheels and Hugging Face downloads need approval; use a virtualenv.44- **Licence check before commercial use.** Code MIT; pretrained checkpoints CC-BY-NC (Emilia training data). Say so to the user before recommending it for a product.45- **Consent for cloned voices.** Only clone voices you have permission to use; do not impersonate. Mark generated audio as synthetic where required.46- **Reference audio under 12 s with trailing silence.** Longer or hard-clipped clips truncate words. Give a correct `ref_text`, or leave it empty so the ASR model (`openai/whisper-large-v3-turbo`) transcribes it (extra GPU memory).47- **One generation covers 30 s total** including the reference. The CLI and Gradio app chunk longer text; the raw API does not.48- **Never expose Gradio or the socket server publicly.** No authentication. `--share` creates a public link; the socket server binds `0.0.0.0` by default. Use loopback and a gateway.49- **Verify upstream.** Defaults and checkpoints move; read `f5-tts_infer-cli --help` on the installed version.5051## Workflows5253- [ ] Create the environment, install the right PyTorch, `pip install f5-tts` -> `references/install.md`54- [ ] Prepare a clean reference clip (under 12 s, mono speech, 1 s trailing silence) and its transcript -> `references/inference.md`55- [ ] Run `f5-tts_infer-cli` with `--ref_audio`, `--ref_text`, `--gen_text` and listen -> `references/inference.md`, `scripts/clone.sh`56- [ ] Tune `nfe_step`, `speed`, `cfg_strength`, `remove_silence` for the use case -> `references/inference.md`57- [ ] Optional: Gradio app on loopback, or the socket server for streaming -> `references/serving.md`58- [ ] Optional: language checkpoint or fine-tune -> `references/models-and-licences.md`, `references/training.md`59- [ ] Update -> `references/updating.md`60- [ ] Verify: the output WAV plays, is not silent, matches the text, uses the intended voice, and any listener is on loopback.6162## Reference index6364- `references/install.md`: PyTorch per device, pip and editable installs, Docker, ffmpeg.65- `references/inference.md`: CLI flags, `.toml` config, multi-voice, Python API, tuning, text rules.66- `references/serving.md`: Gradio app, socket server protocol, TensorRT-LLM runtime, wrapping in an HTTP service.67- `references/models-and-licences.md`: model names, checkpoints on Hugging Face, community language models, licences.68- `references/training.md`: dataset prep and fine-tuning entry points from the repo.69- `references/updating.md`: releases, pinning, rollback.70- `references/troubleshooting.md`: symptom to fix table.71- `templates/f5-basic.toml`: CLI config.72- `scripts/clone.sh`: wrapper around `f5-tts_infer-cli` with guard rails (bash).7374## Companion skills7576- `kokoro-fastapi`: fixed-voice TTS with an OpenAI-compatible API. Install: `npx skills add ScaleDockHQ/llm-skills --skill kokoro-fastapi`.77- `chatterbox`: another zero-shot voice-cloning TTS with a different licence. Install: `npx skills add ScaleDockHQ/llm-skills --skill chatterbox`.78- `self-hosted-genmedia`: choose speech and image stacks and place them next to LLMs. Install: `npx skills add ScaleDockHQ/llm-skills --skill self-hosted-genmedia`.79- `faster-whisper`: transcribe reference clips accurately. Install: `npx skills add ScaleDockHQ/llm-skills --skill faster-whisper`.80- `hugging-face`: model cache and tokens. Install: `npx skills add ScaleDockHQ/llm-skills --skill hugging-face`.
Run npx get-skill add scaledockhq/f5-tts in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Install and run F5-TTS, the flow-matching zero-shot voice-cloning text-to-speech model (F5TTS_v1_Base, E2-TTS) with f5-tts_infer-cli, the Gradio app, the Python F5TTS API and the socket server, with reference audio and ref_text rules. Use for f5-tts, SWivid/F5-TTS, "clone a voice from a short clip", nfe_step, sway sampling, SHARED.md language checkpoints, or the CC-BY-NC weights licence. No OpenAI-style server is bundled. For fixed-voice TTS use kokoro-fastapi; for an alternative cloner use chatterbox. It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: executes scripts. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free. This skill is licensed under MIT.
ScaleDockHQ (@scaledockhq) published this skill. Their other Agent Skills are listed on their SkillMD profile.