local-llama-tts
由 wuxxin 提供
AI & LLMs简介
Local text-to-speech using llama-tts (llama.cpp) and OuteTTS-1.0-0.6B model.
描述
该技能的功能
Runs text-to-speech synthesis entirely on local hardware using llama.cpp and the OuteTTS-1.0-0.6B model. Produces WAV audio files from text input with optional speaker reference for voice cloning. No network calls or external APIs involved.
Runs fully offline with GPU acceleration, so there are no API costs, rate limits, or data privacy concerns compared to cloud TTS services.
何时使用
- Converting notes or documents to audio for offline listening
- Generating voiceovers for local video projects
- Testing TTS output with different speaker reference files
- Batch-producing spoken audio from script text
- Running speech synthesis on air-gapped machines
示例工作流
User asks: convert this paragraph to speech and save it as narration.wav
- 1
Receives the text and target filename
- 2
Calls scripts/tts-local.sh with the text and -o narration.wav
- 3
llama-tts loads OuteTTS-1.0-0.6B-Q4_K_M.gguf and WavTokenizer models from local paths
- 4
Synthesizes audio using configured sampling parameters (temp 0.4, top-p 0.9, rep penalty 1.1)
- 5
Writes the result to narration.wav
narration.wav file containing synthesized speech
前置要求
- llama-tts binary installed and available in PATH
- OuteTTS-1.0-0.6B-Q4_K_M.gguf model file downloaded from HuggingFace (OuteAI/OuteTTS-1.0-0.6B-GGUF)
- WavTokenizer GGUF vocoder model downloaded from HuggingFace (ggml-org/WavTokenizer)
安装
clawhub install wuxxin/local-llama-tts运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。