sherpa-onnx-tts

Synthesize speech locally from text using sherpa-onnx.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/Sugamdeol/moltbot-with-pollinations.ai --skill sherpa-onnx-tts-sugamdeol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/Sugamdeol/moltbot-with-pollinations.ai/tree/main/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/Sugamdeol/moltbot-with-pollinations.ai --skill sherpa-onnx-tts-sugamdeol

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Local text-to-speech via sherpa-onnx (offline, no cloud).

Core Features & Use Cases

  • Offline TTS with on-device processing using sherpa-onnx.
  • Cross-platform support (macOS, Linux, Windows) via runtime and models.
  • Private-by-default: keep text and audio data on your device, no cloud required.
  • Use Case: Build a desktop assistant that can speak responses without sending data to the internet.

Quick Start

Download the sherpa-onnx runtime and a voice model, set SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables, and run the wrapper to synthesize speech from 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 offline text-to-speech synthesis locally without cloud dependencies?

Offline text-to-speech synthesis runs locally by processing text on-device using sherpa-onnx, ensuring private voice output without sending data to the internet.

What do I need to set up before using sherpa-onnx for local TTS?

Local TTS setup requires downloading the sherpa-onnx runtime and a voice model, then configuring SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables to their respective directories.

Does offline TTS work across macOS, Linux, and Windows environments?

Offline TTS works across macOS, Linux, and Windows environments through the cross-platform sherpa-onnx runtime, enabling consistent local voice synthesis on a single device.

How does private by default voice output help desktop assistants?

Private by default voice output keeps text and audio data entirely on your device, allowing desktop assistants to synthesize speech responses without transmitting user data to the cloud.

What is the best way to build a desktop assistant that can speak responses offline?

Building an offline desktop assistant requires executing a wrapper binary to synthesize speech from text via sherpa-onnx, utilizing configured runtime and model directories for local voice generation.