sherpa-onnx-tts

Generate speech audio files locally using sherpa-onnx and Piper TTS models.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/sentientsprite/nemo-agent --skill sherpa-onnx-tts-sentientsprite
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/sentientsprite/nemo-agent/tree/main/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/sentientsprite/nemo-agent --skill sherpa-onnx-tts-sentientsprite

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables local, offline text-to-speech conversion, eliminating the need for internet connectivity and cloud-based services.

Core Features & Use Cases

  • Local TTS: Generates speech audio files directly on your machine.
  • Offline Operation: Works without an internet connection, ensuring privacy and availability.
  • Use Case: Convert important reports or messages into audio files for listening on the go, without relying on external APIs.

Quick Start

Use the sherpa-onnx-tts skill to convert the text "Hello from local TTS." into an audio file named tts.wav.

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 audio offline without relying on cloud-based APIs?

To generate speech audio offline, you can use local text-to-speech synthesis with the sherpa-onnx runtime and Piper TTS models. This approach facilitates offline audio generation directly on your machine, eliminating external dependencies and internet connectivity requirements.

What environment variables need to be set for local text-to-speech synthesis?

Local text-to-speech synthesis requires the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables to be set. These variables point the sherpa-onnx runtime to the necessary execution environment and Piper TTS models for offline operation.

Does offline text-to-speech work with Piper TTS models?

Yes, offline text-to-speech works with Piper TTS models by utilizing the sherpa-onnx runtime. This combination allows you to perform local audio generation without an internet connection, ensuring privacy and continuous availability.

What is the best way to convert text reports into audio files locally?

The best way to convert text reports into local audio files is using offline text-to-speech synthesis with sherpa-onnx. It directly generates speech audio files on your machine, allowing you to listen to important reports on the go without external APIs.

Why use offline TTS instead of cloud-based text-to-speech services?

Use offline TTS to ensure complete privacy and guaranteed availability without internet connectivity. Local text-to-speech with sherpa-onnx eliminates external dependencies and cloud-based services, allowing secure audio generation directly on your machine.