sherpa-onnx-tts

Convert input text to speech offline using sherpa-onnx runtime.

2|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/AG064/argentum --skill sherpa-onnx-tts-ag064
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/AG064/argentum/tree/main/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/AG064/argentum --skill sherpa-onnx-tts-ag064

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Local text-to-speech generation without cloud dependencies, enabling privacy-preserving voice output.

Core Features & Use Cases

  • Offline TTS: Run text-to-speech locally using sherpa-onnx without internet access.
  • Cross-platform: Works on macOS, Linux, and Windows via a lightweight wrapper.
  • On-device deployment: Suitable for embedded apps, demos, and privacy-focused workflows.

Quick Start

Run the sherpa-onnx-tts wrapper with your text 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 generate speech from text locally without an internet connection?

Offline text-to-speech conversion can be achieved by running the sherpa-onnx runtime locally. This allows you to generate audio files from input text on-device without requiring cloud dependencies or internet access.

Can I run offline TTS on macOS, Linux, and Windows?

Yes, offline TTS is supported on macOS, Linux, and Windows. The wrapper operates cross-platform, enabling on-device voice generation workflows across these operating systems without cloud dependence.

Do I need to configure environment variables for local text-to-speech generation?

Yes, local text-to-speech generation requires configuring environment variables. Specifically, you need to set the sherpa-onnx runtime and model directory environment variables to execute the TTS process correctly.

What is the best way to ensure privacy during on-device voice generation?

To ensure privacy during on-device voice generation, use offline text-to-speech processing. By running the TTS task locally with sherpa-onnx, you eliminate cloud dependencies and keep all voice data private.

Is offline TTS suitable for embedded applications?

Yes, offline TTS is suitable for embedded applications. The lightweight wrapper and on-device deployment model make it ideal for embedded apps, demos, and privacy-focused workflows requiring local audio generation.