sherpa-onnx-tts

Generate speech from text offline using sherpa-onnx runtime and voice models.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/MaxSaiets/myOpenCL --skill sherpa-onnx-tts-maxsaiets
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/MaxSaiets/myOpenCL/tree/main/openclaw/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/MaxSaiets/myOpenCL --skill sherpa-onnx-tts-maxsaiets

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Local text-to-speech synthesis using sherpa-onnx offline, enabling TTS without cloud services.

Core Features & Use Cases

  • Offline TTS runtime with sherpa-onnx support for voice models
  • Cross-OS compatibility (macOS, Linux, Windows) with a simple wrapper
  • Lightweight setup: download runtime and models, then run the wrapper to generate speech

Quick Start

Download the sherpa-onnx runtime and a voice model, extract them into the runtime and models directories, and run the wrapper to synthesize speech.

Frequently Asked Questions about sherpa-onnx-tts

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

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

Offline text-to-speech synthesis generates speech locally without cloud services. The sherpa-onnx runtime synthesizes speech from text on-device across macOS, Linux, and Windows.

Can I run offline TTS on macOS, Linux, and Windows?

Yes, offline TTS works across macOS, Linux, and Windows. The wrapper provides cross-OS compatibility, requiring only the runtime and voice models to synthesize speech locally.

What do I need to set up offline TTS with sherpa-onnx?

Setup requires downloading the sherpa-onnx runtime and a voice model. You must extract them into the directories specified by the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables.

What is the best way to use local TTS for an on-device voice assistant?

Using an offline TTS runtime is the best way to build a local voice assistant. It synthesizes speech from text without cloud services, ensuring on-device voice generation remains private and self-contained.

Does offline text-to-speech require any cloud dependencies?

No, offline text-to-speech requires zero cloud dependencies. The sherpa-onnx runtime operates entirely locally, needing only the downloaded runtime and voice models to generate speech.

How do I download and configure voice models for local TTS?

To configure voice models for local TTS, download a compatible voice model and extract it into the SHERPA_ONNX_MODEL_DIR directory, then run the wrapper to synthesize speech.