sherpa-onnx-tts

Generate local offline speech from text using sherpa-onnx.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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

Core Features & Use Cases

  • Local TTS: Generate speech directly on your machine without relying on external APIs.
  • Offline Capability: Fully functional without an internet connection, ensuring privacy and availability.
  • Customizable Voices: Supports various voice models for different speech outputs.
  • Use Case: Generate audio prompts for a local application or create voiceovers for presentations without uploading sensitive content to the cloud.

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

Generate speech locally by using the offline text-to-speech engine to synthesize voice without an internet connection. This engine processes pre-downloaded voice models on your machine, outputting audio files like tts.wav directly to your local storage.

How do I configure the local TTS environment to find the runtime and voice models?

Configure the local TTS environment by setting the SHERPA_ONNX_RUNTIME_DIR and SHERPA_ONNX_MODEL_DIR environment variables. These variables point the engine to the pre-downloaded runtime and voice model assets required to initialize synthesis.

Does offline text-to-speech generation require uploading sensitive text to the cloud?

Offline text-to-speech generation does not require uploading sensitive text to the cloud. The synthesis process runs entirely on your local machine, ensuring privacy and zero cloud dependency for your voice generation applications.

What is the best way to create local voiceovers for presentations without cloud APIs?

The best way to create local voiceovers without cloud APIs is using a local offline text-to-speech solution. It directly converts your text scripts into audio files locally, reducing latency and keeping sensitive presentation content private.

Can I use different voice models for local speech synthesis?

You can use different voice models for local speech synthesis by loading various pre-downloaded voice assets. This customizable voice support allows you to generate different speech outputs from the same offline text-to-speech engine.

Why choose local TTS over cloud-based voice generation services?

Choose local TTS over cloud-based voice generation services when your application requires strict privacy, reduced audio latency, and no cloud dependency. It guarantees availability without an internet connection by processing voice models directly on your machine.