sherpa-onnx-tts

Synthesize offline text-to-speech audio using the sherpa-onnx runtime.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/Dolonia333/dolo.ai --skill sherpa-onnx-tts-dolonia333
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/Dolonia333/dolo.ai/tree/main/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/Dolonia333/dolo.ai --skill sherpa-onnx-tts-dolonia333

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables local, offline text-to-speech synthesis using sherpa-onnx, eliminating cloud dependencies and protecting privacy.

Core Features & Use Cases

  • Offline TTS: run sherpa-onnx locally without internet access, ensuring privacy and lower latency.
  • Wrapper-based workflow: use the provided bin/sherpa-onnx-tts wrapper to generate audio from text efficiently.
  • Easy integration: configure SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR to plug into existing automation pipelines.

Quick Start

Download the sherpa-onnx runtime and a voice model, then run the bin/sherpa-onnx-tts wrapper with your text.

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 synthesis locally without an internet connection?

Local text-to-speech synthesis without internet access is achieved by running the sherpa-onnx runtime offline. This approach eliminates cloud dependencies, ensuring privacy and lower latency for private voice experiments.

What environment variables do I need to configure for offline TTS deployment?

Offline TTS deployment requires configuring the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables. The system verifies these paths and checks that the runtime binary, model, and data files exist before execution.

Can I use local text-to-speech for edge deployments and offline automation?

Local text-to-speech is applicable for edge deployments and offline automation where no internet is available. It synthesizes audio locally to protect privacy and avoid cloud processing limits.

How do I generate speech audio from text using a local wrapper?

Generate speech audio from text by executing the provided bin/sherpa-onnx-tts wrapper. You must first download the sherpa-onnx runtime and a voice model, then run the wrapper with your text input.

Why does my local TTS execution fail before synthesizing audio?

Local TTS execution fails if the required environment variables SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR are not set. It also validates that the runtime binary, model, and data files physically exist before execution.