TTS ONNX

Linux-first offline text-to-speech powered by Sherpa-ONNX.

TTS GPL-3.0 Linux First

Support Open Source

Why TTS ONNX?

High-quality offline text-to-speech options for Korean, Chinese, and Japanese on Linux are still limited. TTS ONNX focuses on local, fast synthesis with practical multilingual workflows.

Local | Fast | Korean | Chinese | Japanese | English

$ ./bin/tts --lang en "Hello world" [OK] model: kitten-nano-en-v0_1-fp16 [OK] wrote: ./out.wav $ ./bin/tts --service --config ./config/config.sherpa.yaml

What It Is

💻

Offline by design

Generate speech locally without requiring cloud inference.

📦

Model lifecycle tools

Install, list, and manage Korean, Chinese, Japanese, and English model packages.

🔄

Two runtime styles

Use one binary for command-line synthesis or service APIs.

TTS ONNX is a Linux-first text-to-speech runtime based on Sherpa-ONNX. It supports local/offline synthesis, multilingual voice workflows, direct CLI usage, and HTTP service mode.

Sherpa-ONNX Project URLs

How To Use It In CLI

Install models

./bin/tts --install-remote-id vits-mimic3-ko_KO-kss_low
./bin/tts --lang zh --install-remote-id vits-piper-zh_CN-huayan-medium
./bin/tts --lang ja --install-remote-id kokoro-int8-multi-lang-v1_0
./bin/tts --install-remote-id kitten-nano-en-v0_1-fp16

Synthesize speech

./bin/tts --lang ko "μ•ˆλ…•ν•˜μ„Έμš”. μ˜€ν”„λΌμΈ ν…ŒμŠ€νŠΈμž…λ‹ˆλ‹€."
./bin/tts --lang zh "θΏ™ζ˜―δΈ­ζ–‡θ―­ιŸ³εˆζˆζ΅‹θ―•γ€‚"
./bin/tts --lang ja "こんにけは。γ‚ͺγƒ•γƒ©γ‚€γƒ³γƒ†γ‚Ήγƒˆγ§γ™γ€‚"
./bin/tts --lang en "Hello, this is an offline test."
./bin/tts --out ./out.wav "save this audio"

How To Use It As A Service

./bin/tts --service --config ./config/config.sherpa.yaml
bash ./scripts/install-user-unit.sh
bash ./scripts/enable-user-service.sh
curl -fsS http://127.0.0.1:18741/v1/health
curl -X POST http://127.0.0.1:18741/v1/speak \
  -H 'content-type: application/json' \
  -d '{"text":"hello world","lang":"en","format":"wav"}' \
  --output out.wav

Base service URL: http://127.0.0.1:18741/v1 | Endpoints: /health, /models, /models/install, /speak, /stop, /metrics

Download & Source