sherpa-onnx-tts

Synthesize speech locally from text using sherpa-onnx runtimes.

327|85|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/letta-ai/lettabot --skill sherpa-onnx-tts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/letta-ai/lettabot/tree/main/.skills/sherpa-onnx-tts
Command: npx skills add https://github.com/letta-ai/lettabot --skill sherpa-onnx-tts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Local text-to-speech synthesis without cloud services, enabling offline voice generation and privacy guarantees for on-device applications.

Core Features & Use Cases

  • Offline TTS: Generate speech locally using sherpa-onnx runtimes and a voice model, with no internet requirements.
  • Cross-Platform: Compatible with macOS, Linux, and Windows runtime binaries.
  • Use Case: Build on-device assistants or audio replies that respect user privacy and work offline.

Quick Start

  1. Download the sherpa-onnx runtime for your OS and extract it to the designated runtime directory.
  2. Download a voice model into the models directory.
  3. Export SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR, then run the provided 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 generate speech locally without cloud services for an offline application?

You can generate speech locally without cloud services by using offline text-to-speech synthesis. This approach processes text into voice data entirely on-device, ensuring privacy and functioning without internet access.

Can I build an on-device assistant with offline TTS on macOS, Linux, and Windows?

Yes, you can build on-device assistants with offline TTS across macOS, Linux, and Windows. Cross-platform runtime binaries enable local voice generation that respects user privacy and operates completely offline.

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

To set up offline text-to-speech, you must download the sherpa-onnx runtime and a voice model. You then export the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables before running the synthesis wrapper.

Does local TTS work completely without internet access?

Yes, local TTS works completely without internet access. It generates speech using prebuilt runtimes and pre-downloaded voice models, requiring no network connectivity during the actual voice synthesis process.

Why choose offline text-to-speech over cloud-based voice generation?

Choose offline text-to-speech over cloud-based voice generation to guarantee user privacy and enable on-device accessibility. Local synthesis processes voice generation directly on the hardware, removing network latency and cloud dependency.