SkillsGrove
SkillsGrove/Видеопроизводство/x402agent/SolanaOS/sherpa-onnx-tts

sherpa-onnx-tts

Установка

$npx skills add https://github.com/x402agent/SolanaOS --skill sherpa-onnx-tts
$git clone --depth 1 https://github.com/x402agent/SolanaOS.git /tmp/SolanaOS && mkdir -p ~/.claude/skills && cp -r /tmp/SolanaOS/skills/sherpa-onnx-tts ~/.claude/skills/sherpa-onnx-tts
Пожалуйста, установи для меня этот Agent Skill: https://github.com/x402agent/SolanaOS/tree/37041b5d74e4da89b4f23b688588953911547651/skills/sherpa-onnx-tts — сначала прочитай его SKILL.md и скрипты и устанавливай в мою папку навыков только после того, как убедишься, что он безопасен.

Кратко

Исходное описание · MITLocal text-to-speech via sherpa-onnx (offline, no cloud)
Приведённый ниже SKILL.md воспроизведён из x402agent/SolanaOS (коммит 37041b5) под лицензией MIT. Текст не изменён; опущены только метаданные заголовка файла, изображения показаны как ссылки, а очень длинные файлы сокращены. Авторские права: 2026 8BIT Labs. Лицензия: LICENSE. Показан только файл с инструкциями; скрипты смотрите в исходном репозитории.

sherpa-onnx-tts

Local TTS using the sherpa-onnx offline CLI.

Install

  1. Download the runtime for your OS (extracts into ~/.solanaos/tools/sherpa-onnx-tts/runtime)
  2. Download a voice model (extracts into ~/.solanaos/tools/sherpa-onnx-tts/models)

Update ~/.solanaos/solanaos.json:

{
  skills: {
    entries: {
      "sherpa-onnx-tts": {
        env: {
          SHERPA_ONNX_RUNTIME_DIR: "~/.solanaos/tools/sherpa-onnx-tts/runtime",
          SHERPA_ONNX_MODEL_DIR: "~/.solanaos/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."
Полный текст лицензии (MIT)
MIT License

Copyright (c) 2026 8BIT Labs

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.