← 返回
未分类 中文

Sherpa Onnx Tts Andy27725

Local text-to-speech via sherpa-onnx (offline, no cloud)
使用 sherpa-onnx 本地文字转语音(离线,无需云端)
andy27725 andy27725 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 567
下载
💾 3
安装
1
版本
#latest

概述

sherpa-onnx-tts

Local TTS using the sherpa-onnx offline CLI.

Install

  1. Download the runtime for your OS (extracts into ~/.openclaw/tools/sherpa-onnx-tts/runtime)
  2. 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-models release if you want another voice.
  • If the model dir has multiple .onnx files, set SHERPA_ONNX_MODEL_FILE or pass --model-file.
  • You can also pass --tokens-file or --data-dir to override the defaults.
  • Windows: run node {baseDir}\\bin\\sherpa-onnx-tts -o tts.wav "Hello from local TTS."

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 13:39 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Baidu Search 1.1.3

andy27725
使用百度AI搜索引擎(BDSE)搜索网页,获取实时信息、文档或研究资料。
★ 0 📥 988

Clawhub Local

andy27725
使用 ClawHub CLI 在 clawhub.com 上搜索、安装、更新和发布智能体技能。适用于需要即时获取新技能或同步已安装技能的场景。
★ 0 📥 2,558

Feishu Wiki Andy27725

andy27725
飞书知识库导航。当用户提及知识库、wiki或wiki链接时激活。
★ 0 📥 615