sherpa-onnx-tts

Convert text to speech locally on-device using sherpa-onnx.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Luzzer/Kraken --skill sherpa-onnx-tts-luzzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/Luzzer/Kraken/tree/main/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/Luzzer/Kraken --skill sherpa-onnx-tts-luzzer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Local text-to-speech via sherpa-onnx (offline, no cloud) to enable private, on-device voice synthesis.

Core Features & Use Cases

  • Local TTS: convert text to speech without needing an internet connection.
  • Cross-platform support: macOS, Linux, and Windows.
  • Easy integration: a wrapper lives in this skill folder to manage runtime and models, with clear environment variable requirements.
  • Use cases include accessibility tools, on-device assistants, and embedded systems.

Quick Start

Run the sherpa-onnx-tts wrapper with a text input to generate an audio file.

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 locally without an internet connection?

Offline text-to-speech locally is achieved by using sherpa-onnx to convert text to speech on-device. This avoids cloud processing and requires setting the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables.

Does sherpa-onnx TTS work on macOS, Linux, and Windows?

Yes, sherpa-onnx TTS works on macOS, Linux, and Windows. The cross-platform wrapper script manages the runtime and models to provide private, offline voice synthesis across these operating systems.

What environment variables do I need to set for on-device TTS with sherpa-onnx?

To run on-device TTS with sherpa-onnx, you need to set the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables. The wrapper script uses these variables to locate the required runtime and models.

Can I use offline TTS for embedded systems and on-device assistants?

Yes, you can use offline TTS for embedded systems and on-device assistants. Local text-to-speech with sherpa-onnx provides private, cloud-free voice synthesis suitable for these applications.

How does a wrapper script manage the sherpa-onnx runtime and models?

The wrapper script manages the sherpa-onnx runtime and models by using the defined environment variables to locate the directories. It executes the local text-to-speech conversion process without needing cloud APIs.