MyClaw
HomeProductsUse CasesPricingSkillsResourcesCompany
HomeUse CasesPricingSkills
Sign In
Home
ProductsOpenClaw HostingHermes Agent Hosting
Use CasesPricingSkills
ResourcesCompareTutorialLearnBlogUpdatesResourcesCommunity
CompanyAboutSupport
Sign In
MyClaw.ai

Your AI agent, already running.

Product

OpenClaw HostingHermes Agent HostingUse CasesPricingCompareAlibaba Cloud

Resources

BlogUpdatesSkillsModelsSupportCommunityCapybara

Legal

TermsPrivacyCookieGDPRContact

© 2023 Cubo World Inc. All rights reserved.

← Back to Skills
Browser & Automation
🗣️

sherpa-onnx-tts

Run fully offline text-to-speech locally via sherpa-onnx — no cloud, no API keys, no internet required.

by OpenClawv1.0.0
ProductivityAI PoweredOpen SourceAutomationCLISelf-Hosted
Connecting to VM...
Connecting to VM...
npx clawhub@latest install sherpa-onnx-tts
15Current Installs
📦
v1.0.0Version

Requirements

sherpa-onnx Runtime DirectoryTTS Model DirectoryTTS Model File Override(optional)

sherpa-onnx-tts Skill Overview

sherpa-onnx-tts brings fully offline, on-device text-to-speech to your AI agent using the sherpa-onnx runtime. It bundles a CLI wrapper around the sherpa-onnx engine and ships with a high-quality Piper voice model (vits-piper-en_US-lessac-high) out of the box. Because everything runs locally, your text never leaves your machine — making it suitable for privacy-sensitive workflows and air-gapped environments.

How to Use It

Step 1: Run in your terminal or install this skill on MyClaw

npx clawhub@latest install sherpa-onnx-tts
or

Click the Install button at the top of this page for one-click setup

When to Use sherpa-onnx-tts

Best Fit

  • Privacy-first voice output — you need to synthesize speech without sending text to a cloud API (e.g. sensitive documents, personal data).
  • Offline or air-gapped environments — your agent runs without reliable internet access and still needs audio output.
  • Cost control — you want unlimited TTS calls with no per-character or per-request billing.
  • Scripted audio generation — you want to produce .wav files programmatically from a CLI command or agent tool.

When Not to Use

  • You need high-fidelity, expressive neural voices (e.g. ElevenLabs quality) — local Piper models produce good but not studio-grade results.
  • You require real-time streaming TTS with ultra-low latency for interactive voice applications.
  • Your platform is not x64 macOS, Linux, or Windows — no other architectures are currently bundled.

Key Features

Fully Offline — No Cloud or API Keys

The entire TTS pipeline runs on your local machine using the sherpa-onnx native runtime. No internet connection, no API keys, and no usage fees are required after the initial model download.

Cross-Platform Runtime Bundles

Pre-built sherpa-onnx runtimes are automatically downloaded for macOS (Universal 2), Linux x64, and Windows x64, so you get the correct native binary for your OS without manual compilation.

Swappable Voice Models

Ships with the high-quality vits-piper-en_US-lessac-high model by default. You can drop in any other voice model from the sherpa-onnx tts-models release and point SHERPA_ONNX_MODEL_DIR at it.

WAV File Output via Simple CLI

Synthesize speech to a .wav file with a single command: sherpa-onnx-tts -o output.wav "Your text here". Supports overrides for model file, tokens file, and data directory via flags or environment variables.

Configurable Model Selection

When a model directory contains multiple .onnx files, set SHERPA_ONNX_MODEL_FILE or pass --model-file to specify which model to use, enabling multi-model setups without reconfiguring the base directory.

Use Cases

Agent-generated audio narration

An AI agent summarizes a document and calls this skill to produce a spoken .wav file narration — entirely offline, with no cloud dependency in the pipeline.

Privacy-sensitive voice output

A legal or medical assistant agent needs to read back sensitive content aloud. Using sherpa-onnx-tts ensures that confidential text is never transmitted to a third-party TTS API.

Batch audio file generation

A developer scripts the CLI in a loop to convert dozens of text snippets into .wav files for a local application, with no per-call cost and no rate limits.

Air-gapped or restricted-network deployments

In environments where outbound internet access is blocked or restricted, this skill provides a self-contained TTS solution once the runtime and models are downloaded during setup.

Requirements

  • Runtime Directory (SHERPA_ONNX_RUNTIME_DIR) — path to the extracted sherpa-onnx native runtime for your OS. Downloaded automatically during install.
  • Model Directory (SHERPA_ONNX_MODEL_DIR) — path to the extracted voice model folder (e.g. vits-piper-en_US-lessac-high). Downloaded automatically during install.
  • Model File Override (SHERPA_ONNX_MODEL_FILE) (optional) — specify a particular .onnx file when multiple models exist in the model directory.
Connecting to VM...
npx clawhub@latest install sherpa-onnx-tts
15Current Installs
📦
v1.0.0Version

Requirements

sherpa-onnx Runtime DirectoryTTS Model DirectoryTTS Model File Override(optional)

FAQ

Reviews

0 reviews

Log in to write a review

No reviews yet. Be the first to share your experience!