sherpa-onnx-tts

Convert text to speech locally using sherpa-onnx runtime and voice models.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/Jnuso/OpenClaw --skill sherpa-onnx-tts-jnuso
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/Jnuso/OpenClaw/tree/main/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/Jnuso/OpenClaw --skill sherpa-onnx-tts-jnuso

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convert text to speech locally using sherpa-onnx, enabling offline voice output without cloud services.

Core Features & Use Cases

  • Offline, private TTS: No internet required; runs locally with a provided runtime and voice models.
  • Cross-platform support: Works on macOS, Linux, and Windows via the sherpa-onnx runtime.
  • Voice customization: Swap runtime models to change voices for OpenClaw interactions.

Quick Start

Run the sherpa-onnx-tts wrapper with your text input to generate an audio file.

Frequently Asked Questions about sherpa-onnx-tts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run text-to-speech offline locally without cloud services?

To run text-to-speech offline, you must download the sherpa-onnx runtime and voice models, then set the environment variables SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR to their respective directories.

Does offline text-to-speech work on macOS, Linux, and Windows?

Yes, offline TTS works on macOS, Linux, and Windows, because the underlying sherpa-onnx runtime provides cross-platform support for generating local voice output without requiring cloud connectivity.

Can I change voices for offline text-to-speech output?

Yes, you can change voices for offline text-to-speech by swapping the voice models configured in the SHERPA_ONNX_MODEL_DIR directory to customize your local audio output.

What environment variables do I need to configure for sherpa-onnx TTS?

You need to configure the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables, pointing them to the respective directories where your sherpa-onnx runtime and voice models are stored.

Is local text-to-speech suitable for offline personal assistants?

Yes, local text-to-speech is suitable for offline personal assistants, enabling voice responses and accessibility features on macOS, Linux, and Windows without requiring internet access.