sherpa-onnx-tts

Generate on-device speech from text using sherpa-onnx.

1|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/Zentin-L/Masterbot --skill sherpa-onnx-tts-zentin-l
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/Zentin-L/Masterbot/tree/main/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/Zentin-L/Masterbot --skill sherpa-onnx-tts-zentin-l

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Private, on-device text-to-speech that doesn't rely on cloud services, enabling offline voice generation.

Core Features & Use Cases

  • Local, offline TTS via sherpa-onnx on macOS, Linux, and Windows.
  • Easy setup for runtime and models with minimal dependencies.
  • Use cases include on-device accessibility, embedded assistants, and offline narration.

Quick Start

Run the sherpa-onnx-tts wrapper to synthesize speech from text on your machine.

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 offline text-to-speech generation locally without cloud services?

Offline text-to-speech generation can be run locally by using the sherpa-onnx runtime to synthesize speech from text on your machine. This private on-device approach completely replaces cloud-based TTS workflows.

Can I use on-device voice synthesis on macOS, Linux, and Windows?

Yes, on-device voice synthesis works across macOS, Linux, and Windows. The setup requires minimal dependencies and uses local TTS via the sherpa-onnx runtime to generate speech offline.

What environment variables do I need to configure for local TTS setup?

Local TTS setup requires configuring the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables. The SKILL.md file provides instructions for runtime and model downloads needed for on-device speech synthesis.

What are the best use cases for private on-device speech synthesis?

Private on-device speech synthesis is ideal for on-device accessibility, embedded assistants, and offline narration. It provides local voice generation for applications like accessible reading and demo voices without relying on cloud connectivity.

What is the difference between cloud-based TTS and on-device voice synthesis?

On-device voice synthesis generates speech locally using the sherpa-onnx runtime, ensuring privacy and offline capability. Cloud-based TTS workflows rely on remote servers, whereas this approach keeps all voice generation private on your machine.