AGENT SKILL
sherpa-onnx-tts
Local text-to-speech via sherpa-onnx (offline, no cloud)
- License 许可
- MIT
- 最近更新
- 2026-02-15
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- sherpa-onnx-tts
- metadata
- { "openclaw": { "os": [ "darwin", "linux", "win32" ], "emoji": "?️", "install": [ { "id": "download-runtime-macos", "os": [ "darwin" ], "url": "https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.23/sherpa-onnx-v1.12.23-osx-universal2-shared.tar.bz2", "kind": "download", "label": "Download sherpa-onnx runtime (macOS)", "archive": "tar.bz2", "extract": true, "targetDir": "~/.openclaw/tools/sherpa-onnx-tts/runtime", "stripComponents": 1 }, { "id": "download-runtime-linux-x64", "os": [ "linux" ], "url": "https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.23/sherpa-onnx-v1.12.23-linux-x64-shared.tar.bz2", "kind": "download", "label": "Download sherpa-onnx runtime (Linux x64)", "archive": "tar.bz2", "extract": true, "targetDir": "~/.openclaw/tools/sherpa-onnx-tts/runtime", "stripComponents": 1 }, { "id": "download-runtime-win-x64", "os": [ "win32" ], "url": "https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.12.23/sherpa-onnx-v1.12.23-win-x64-shared.tar.bz2", "kind": "download", "label": "Download sherpa-onnx runtime (Windows x64)", "archive": "tar.bz2", "extract": true, "targetDir": "~/.openclaw/tools/sherpa-onnx-tts/runtime", "stripComponents": 1 }, { "id": "download-model-lessac", "url": "https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/vits-piper-en_US-lessac-high.tar.bz2", "kind": "download", "label": "Download Piper en_US lessac (high)", "archive": "tar.bz2", "extract": true, "targetDir": "~/.openclaw/tools/sherpa-onnx-tts/models" } ], "requires": { "env": [ "SHERPA_ONNX_RUNTIME_DIR", "SHERPA_ONNX_MODEL_DIR" ] } } }
- description
- Local text-to-speech via sherpa-onnx (offline, no cloud)
02 资源文件 1
- 其他bin/sherpa-onnx-tts4.7 KB
03 SKILL.md 正文
sherpa-onnx-tts
Local TTS using the sherpa-onnx offline CLI.
Install
- Download the runtime for your OS (extracts into
~/.openclaw/tools/sherpa-onnx-tts/runtime) - Download a voice model (extracts into
~/.openclaw/tools/sherpa-onnx-tts/models)
Update ~/.openclaw/openclaw.json:
{
skills: {
entries: {
"sherpa-onnx-tts": {
env: {
SHERPA_ONNX_RUNTIME_DIR: "~/.openclaw/tools/sherpa-onnx-tts/runtime",
SHERPA_ONNX_MODEL_DIR: "~/.openclaw/tools/sherpa-onnx-tts/models/vits-piper-en_US-lessac-high",
},
},
},
},
}
The wrapper lives in this skill folder. Run it directly, or add the wrapper to PATH:
export PATH="{baseDir}/bin:$PATH"
Usage
{baseDir}/bin/sherpa-onnx-tts -o ./tts.wav "Hello from local TTS."
Notes:
- Pick a different model from the sherpa-onnx
tts-modelsrelease if you want another voice. - If the model dir has multiple
.onnxfiles, setSHERPA_ONNX_MODEL_FILEor pass--model-file. - You can also pass
--tokens-fileor--data-dirto override the defaults. - Windows: run
node {baseDir}\\bin\\sherpa-onnx-tts -o tts.wav "Hello from local TTS."
04 同仓库更多 Skills
youtube-to-obsidian
暂无简介
★ 0
weather
Get current weather and forecasts (no API key required).
★ 0
wacli
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
★ 0
voice-call
Start voice calls via the OpenClaw voice-call plugin.
★ 0
video-frames
Extract frames or short clips from videos using ffmpeg.
★ 0
trello
Manage Trello boards, lists, and cards via the Trello REST API.
★ 0