SkillsGrove
SkillsGrove/Producción de vídeo/x402agent/SolanaOS/sherpa-onnx-tts

sherpa-onnx-tts

Instalación

$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
Instala por favor esta Agent Skill por mí: https://github.com/x402agent/SolanaOS/tree/37041b5d74e4da89b4f23b688588953911547651/skills/sherpa-onnx-tts. Lee primero su SKILL.md y sus scripts, y solo instálala en mi carpeta de skills cuando hayas confirmado que es segura.

Resumen

Descripción original · MITLocal text-to-speech via sherpa-onnx (offline, no cloud)
El SKILL.md siguiente se reproduce de x402agent/SolanaOS (commit 37041b5) bajo la licencia MIT. El texto no se ha modificado; solo se omiten los metadatos de cabecera del archivo, las imágenes se muestran como enlaces y los archivos muy largos se truncan. Copyright 2026 8BIT Labs. Licencia: LICENSE. Solo se muestra el archivo de instrucciones; consulta el repositorio original para ver los scripts.

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."
Ver el texto completo de la licencia (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.