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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.