sherpa-onnx-tts

Synthesize speech from text offline using sherpa-onnx CLI.

2.5k|423|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/Bitterbot-AI/bitterbot-desktop --skill sherpa-onnx-tts-bitterbot-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/Bitterbot-AI/bitterbot-desktop/tree/main/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/Bitterbot-AI/bitterbot-desktop --skill sherpa-onnx-tts-bitterbot-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides offline, private text-to-speech synthesis on local devices, removing reliance on cloud TTS services.

Core Features & Use Cases

  • Local TTS using sherpa-onnx offline CLI to generate speech from text.
  • Cross-platform support (macOS, Linux, Windows) with a downloadable runtime and models.
  • Use case: Private voice feedback for your AI assistant without sending audio data to external servers.

Quick Start

Install the sherpa-onnx runtime and a voice model, then 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 set up offline text-to-speech for a local AI agent?

Offline text-to-speech for local AI agents is set up by installing the sherpa-onnx runtime and voice models. You configure environment variables and specify explicit runtime and model directories to synthesize speech locally without cloud dependencies.

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

Yes, offline TTS works across macOS, Linux, and Windows. The cross-platform setup provides downloadable runtimes and models, ensuring private voice feedback on local devices regardless of your operating system.

What is needed to configure sherpa-onnx model files for speech synthesis?

Configuring sherpa-onnx requires specifying model-file, tokens-file, and data-dir directories. These explicit paths and environment variables are handled by wrapper scripts to properly load and run the offline text-to-speech synthesis locally.

Why should I use local text-to-speech instead of cloud TTS services?

Local text-to-speech removes reliance on cloud services, ensuring privacy by keeping audio data on your device. It provides private voice feedback for your AI assistant without sending text or synthesized audio to external servers.

Can I generate speech from text without an internet connection?

Yes, you can generate speech from text without an internet connection using the sherpa-onnx offline CLI. Once the runtime and models are downloaded, local synthesis operates independently without requiring external network access.