sherpa-onnx-tts

Synthesize speech offline using sherpa-onnx runtime and voice models.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/lemonlqf/openclaw-rtsp --skill sherpa-onnx-tts-lemonlqf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sherpa-onnx-tts
Source: https://github.com/lemonlqf/openclaw-rtsp/tree/main/skills/sherpa-onnx-tts
Command: npx skills add https://github.com/lemonlqf/openclaw-rtsp --skill sherpa-onnx-tts-lemonlqf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a completely offline, local text-to-speech (TTS) solution, eliminating the need for internet connectivity and cloud-based services for voice generation.

Core Features & Use Cases

  • Local TTS Engine: Utilizes the sherpa-onnx library for high-quality speech synthesis directly on your device.
  • Offline Operation: Functions without any internet connection, ensuring privacy and availability.
  • Customizable Voices: Supports downloading various voice models for different speech characteristics.
  • Use Case: Generate spoken audio for accessibility features, create voiceovers for local presentations, or integrate speech output into applications without relying on external APIs.

Quick Start

Use the sherpa-onnx-tts skill to convert the text "This is a test of local text to speech" into an audio file named output.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 from text completely offline?

You can generate speech from text completely offline by using the sherpa-onnx runtime to synthesize voice locally. This approach eliminates internet connectivity requirements, ensuring privacy and availability without relying on cloud-based services.

What do I need to set up local text-to-speech synthesis?

To set up local text-to-speech synthesis, you need to download specific sherpa-onnx runtime binaries and TTS voice models. These components are required for your operating system and language to enable high-quality speech synthesis directly on your device.

Can I use different voice models for local voice generation?

Yes, you can use different voice models for local voice generation. The sherpa-onnx runtime supports downloading various voice models, allowing you to customize speech characteristics for your specific text-to-speech application requirements.

Does offline text-to-speech work without external APIs or internet access?

Offline text-to-speech works entirely without internet access or external APIs. The sherpa-onnx library performs high-quality speech synthesis directly on your device, making it suitable for private applications and environments with no network connectivity.

How do I convert text into a WAV audio file using local TTS?

To convert text into a WAV audio file using local TTS, you execute a script utilizing the sherpa-onnx runtime to process the input text. The skill outputs the synthesized speech directly into a specified audio file, such as output.wav.

When should I choose offline TTS over cloud-based speech synthesis?

You should choose offline TTS over cloud-based speech synthesis when your application requires strict data privacy, guaranteed availability without internet connectivity, or accessible voice generation without external API dependencies.