Local & Offline
~8 min readUpdated: December 2026

Libra-TTS 0.3B: 16-Language Voice Agent Synthesis at 72x Real Time

Libra-TTS 0.3B Multilingual Text-to-Speech Architecture with MLX, CUDA Graphs, and ONNX Runtime in Smoke Monkey

Ekam/Libra-TTS is a 0.3B-parameter Apache-2.0 multilingual text-to-speech model distilled from Qwen3-TTS-12Hz-1.7B-CustomVoice. Across 16 languages and 8 speakers, it reaches 1.64% English WER while synthesizing at 7.7x–44x real time on Apple Silicon MLX, 8.7x–72x real time on NVIDIA RTX 3090 with CUDA graphs, and 2.4x real time on CPU via ONNX Runtime.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

Libra-TTS 0.3B: 16-Language Voice Agent Synthesis at 72x Real Time: Ekam/Libra-TTS is a 0.3B-parameter Apache-2.0 multilingual text-to-speech model distilled from Qwen3-TTS-12Hz-1.7B-CustomVoice. Across 16 languages and 8 speakers, it reaches 1.64% English WER while synthesizing at 7.7x–44x real time on Apple Silicon MLX, 8.7x–72x real time on NVIDIA RTX 3090 with CUDA graphs, and 2.4x real time on CPU via ONNX Runtime. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.

Key Architectural Takeaways
Quick Implementation Examplelibra-tts-voice-agent.ts
libra-tts-voice-agent.tstypescript
import { createAgent } from '@smoke-monkey/harness';
import { execFile } from 'node:child_process';
import { promisify } from 'node:util';
const execFileAsync = promisify(execFile);
// Autonomous coding & voice-output agent backed by local Libra-TTS 0.3B
const agent = createAgent({
agentId: 'libra-tts-voice-responder',
provider: 'ollama',
model: 'qwen3:8b',
workspacePath: process.cwd(),
permissions: {
read_file: 'allow',
write_file: 'allow',
run_command: 'ask',
},
});
async function speakResponse(summaryText: string, voice = 'nina', style = 'calm') {
const pyCode = [
'from libra_tts import LibraTTS',
'import sys',
'tts = LibraTTS()',
`tts.save("agent_reply.wav", tts.synthesize(sys.argv[1], voice="${voice}", style="${style}"))`,
].join('; ');
await execFileAsync('python3', ['-c', pyCode, summaryText]);
console.log('Synthesized local audio to agent_reply.wav');
}
async function main() {
const result = await agent.run(
'Summarize git diff status in two concise spoken sentences without markdown symbols.'
);
await speakResponse(result.summary, 'sofia', 'documentary');
}
main().catch(console.error);
Video Guides

Watch: Related Video Guides

Libra TTS : This Tiny 300M AI Model Generates Shockingly Realistic Speech

This Tiny AI Generates Speech 72X Faster Than Real Time! (Libra-TTS Review)

What Is Libra-TTS 0.3B and How Does It Beat 1.9B Baselines?

Libra-TTS (Ekam/Libra-TTS, Apache-2.0) is a 0.3B-parameter multilingual text-to-speech backbone distilled from Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice. Paired with the shared Qwen3-TTS 12Hz audio codec decoder, it handles raw numbers, dates, times, and currencies inline and switches languages sentence-by-sentence across 16 locales.

For voice-enabled AI agents, first-sentence latency determines perceived responsiveness. Because Libra-TTS compacts the acoustic predictor down to 0.3B parameters while preserving style and prosody conditioning, a single turn synthesizes at 7.7x real time on Apple Silicon MLX and 8.7x real time on an NVIDIA RTX 3090, while CPU-only deployments still run faster than real time at 2.4x via ONNX Runtime.

ModelReleased ParamsEnglish WER (2,215 Sent.)10-Lang Avg WERSingle-Sent. Speed (RTX 3090)License
Libra-TTS0.3B1.64%1.77%8.7x RT (72x long)Apache-2.0
Qwen3-TTS 1.7B1.9B2.74%2.75%BaselineApache-2.0
Qwen3-TTS 0.6B0.9B3.21%2.62%BaselineApache-2.0

Multilingual Accuracy, 8 Voices, and 12 Expressive Styles

On the MiniMax 10-language evaluation suite (100 sentences per language scored with Whisper-large-v3 and Paraformer-zh), Libra-TTS reduces average error by 0.98 percentage points against Qwen3-TTS 1.7B and 0.85 points against Qwen3-TTS 0.6B (with 95% confidence intervals excluding zero). Beyond those 10 languages, it adds Arabic (2.34% WER), Indonesian (0.86% WER), Hindi, Punjabi, Bengali, and Urdu.

  1. 8 Built-In Voices: nina (default), sofia, aliya, maya, omar, jon, bob, and sam.
  2. 12 Speaking Styles & Pacing: Control conversational tone per agent turn with style (warm, cheerful, excited, sad, frightened, calm, serious, wry, tender, whispering, dramatic, documentary) and pace (slow or fast).
  3. Zero Preprocessing: Currency amounts, timestamps, and mixed-script sentences render without external phonemizer or G2P rules.

Auto-Selected Backend Priority in Python

Calling LibraTTS() automatically selects the fastest available backend in order: MLX on Apple Silicon, PyTorch with CUDA graphs on NVIDIA RTX 20-series+, and ONNX Runtime on CPU.

Reproducible Installation Across MLX, CUDA, and ONNX

Install the hardware-specific extras directly from the repository and run single-sentence or batch synthesis in CLI or Python.

bash
# 1. Download model weights via Hugging Face Xet
pip install "huggingface_hub[hf_xet]"
hf download Ekam/Libra-TTS --local-dir Libra-TTS

# 2. Apple Silicon (MLX) or CPU (ONNX Runtime)
pip install "libra-tts[ja] @ https://github.com/ekambrar100/Libra-TTS/archive/refs/heads/main.zip"
# For CPU ONNX fallback:
# pip install "libra-tts[onnx,ja] @ https://github.com/ekambrar100/Libra-TTS/archive/refs/heads/main.zip"

# 3. NVIDIA GPU (Linux / Windows with CUDA 12.6 + CUDA graphs)
pip install torch --index-url https://download.pytorch.org/whl/cu126
pip install "libra-tts[cuda,ja] @ https://github.com/ekambrar100/Libra-TTS/archive/refs/heads/main.zip"

# 4. Synthesize directly from CLI
libra-tts "Deployment passed 42 integration tests in 1.8 seconds." -o status.wav

Connect Libra-TTS as a local tool inside Smoke Monkey Canvas (npx @smoke-monkey/canvas start) so voice-first supervisor agents stream spoken incident summaries without sending private audio or transcripts to third-party APIs.

Google Search Questions & Answers

Frequently Asked Questions

Q:How fast does Libra-TTS 0.3B run on Apple Silicon and CPU hardware?

On a MacBook Pro using the MLX backend, Libra-TTS runs 7.7x faster than real time on single sentences and 44x faster on long-form text. On an x86 or ARM CPU via ONNX Runtime, it runs at 2.4x real time.

Q:What is the word error rate of Libra-TTS compared to Qwen3-TTS?

Libra-TTS achieves 1.64% English WER on 2,215 Seed-TTS-eval and LibriSpeech-PC sentences (versus 2.74% for Qwen3-TTS 1.7B and 3.21% for 0.6B) and 1.77% average WER across 10 languages.

Q:Which 16 languages and 8 voices are supported out of the box?

Libra-TTS supports en, zh, ja, ko, de, fr, es, it, pt, ru, ar, hi, pa, bn, ur, and id with 8 built-in voices: nina, sofia, aliya, maya, omar, jon, bob, and sam.

Q:Does Libra-TTS require an external text normalizer for numbers and dates?

No. Libra-TTS reads raw numbers, currencies, dates, and times directly without external regex normalization or separate G2P pipelines.

Q:Can I deploy Libra-TTS in commercial products?

Yes. Ekam/Libra-TTS is released under the permissive Apache-2.0 license with full weights on Hugging Face Hub.

Related Alternatives & Comparisons

Related Architecture Guides

View all guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness