简介
超低延迟语音合成工具,~90ms首音响应,8种内置音色,适合需要即时音频反馈的实时交互场景。
原始描述
Give your agent the ability to speak to you real-time. Talk to your Claude! Ultra-fast TTS, text-to-speech, voice synthesis, audio output with ~90ms latency....
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
中文使用说明 来自收录源
核心功能与用法
speakturbo 是一款专为速度优化的文本转语音(TTS)工具,主打**~90毫秒超低延迟**的实时语音输出。它通过本地守护进程(daemon)架构实现流式音频生成,适合需要即时听觉反馈的AI代理交互场景。
基本使用流程:
- 首次运行时会自动启动 daemon(耗时2-5秒加载约100MB模型)
- 后续调用直接通过 HTTP 流式传输,首音响应约90ms
- 支持即时播放(默认)或保存为 WAV 文件
- 提供8种内置音色:alba(默认女声)、marius、javert、jean(男声)、fantine、cosette、eponine、azelma(女声)
技术架构: Rust CLI 客户端 → HTTP 流 → Python daemon(pocket-tts 引擎)→ rodio 音频播放。Daemon 空闲1小时后自动关闭以节省资源。
显著优点
- 极致速度:~90ms 首音延迟,实时因子约4倍(生成速度是播放速度的4倍),适合对话式实时交互
- 即开即用:8种预置音色无需额外配置,无需语音样本训练
- 轻量高效:CLI 仅2.2MB,本地运行无网络依赖
- 流式处理:长文本边生成边播放,无需等待完整文件
- 资源智能管理:自动启停 daemon,避免长期占用内存
潜在缺点与局限性
- 音色固定:不支持自定义语音克隆,无法模仿特定人物声音
- 无情感标记:不支持
[laugh]、[sigh]等情绪标签控制 - 首冷启动成本:首次使用需2-5秒模型加载,不适合极低频调用
- 平台依赖:需本地运行,依赖特定端口(7125)和系统音频
- 音质权衡:追求速度可能牺牲部分音质细腻度(对比
speak技能)
适合人群
- AI 代理开发者:需要为 Claude 等 LLM 添加实时语音输出能力
- 无障碍需求用户:快速屏幕阅读、即时通知播报
- 实时交互场景:语音助手、游戏 NPC、实时翻译反馈
- 对延迟敏感:无法忍受4-8秒等待的语音合成用户
常规风险
- 端口冲突:7125端口被占用会导致 daemon 启动失败
- 音频系统依赖:依赖 rodio 和系统音频驱动,无音频设备时静默失败
- 守护进程残留:异常退出可能导致僵尸进程,需手动清理
- 长文本边界:流式处理极端长文本时的内存占用未明确说明
- 模型来源:pocket-tts 引擎的具体许可协议未披露,商业使用需确认合规性
对比建议
与 speak 技能形成互补:追求速度选 speakturbo,需要克隆名人声音或情感表达选 speak。两者可共存,根据场景动态选择。
技能正文
name: speakturbo-tts description: Give your agent the ability to speak to you real-time. Talk to your Claude! Ultra-fast TTS, text-to-speech, voice synthesis, audio output with ~90ms latency. 8 built-in voices for instant voice responses. For voice cloning, use the speak skill.
speakturbo - Talk to your Claude!
Give your agent the ability to speak to you real-time. Ultra-fast text-to-speech with ~90ms latency and 8 built-in voices.
Quick Start
# Play immediately - you should hear "Hello world" through your speakers
speakturbo "Hello world"
# Output: ⚡ 92ms → ▶ 93ms → ✓ 1245ms
# Verify it's working by saving to file
speakturbo "Hello world" -o test.wav
ls -lh test.wav # Should show ~50-100KB file
Output explained: ⚡ = first audio received, ▶ = playback started, ✓ = done
First Run
The first execution takes 2-5 seconds while the daemon starts and loads the model into memory. Subsequent calls are ~90ms to first sound.
# First run (slow - daemon starting)
speakturbo "Starting up" # ~2-5 seconds
# Second run (fast - daemon already running)
speakturbo "Now I'm fast" # ~90ms
Usage
# Basic - plays immediately (default voice: alba)
speakturbo "Hello world"
# Save to file (no audio playback)
speakturbo "Hello" -o output.wav
# Save to specific file
speakturbo "Goodbye" -o goodbye.wav
# Quiet mode (suppress status messages, still plays audio)
speakturbo "Hello" -q
# List available voices
speakturbo --list-voices
Available Voices
| Voice | Type |
|---|---|
alba |
Female (default) |
marius |
Male |
javert |
Male |
jean |
Male |
fantine |
Female |
cosette |
Female |
eponine |
Female |
azelma |
Female |
Performance
| Metric | Value |
|---|---|
| Time to first sound | ~90ms (daemon warm) |
| First run | 2-5s (daemon startup) |
| Real-time factor | ~4x faster |
| Sample rate | 24kHz mono |
Architecture
speakturbo (Rust CLI, 2.2MB)
│
│ HTTP streaming (port 7125)
▼
speakturbo-daemon (Python + pocket-tts)
│
│ Model in memory, auto-shutdown after 1hr idle
▼
Audio playback (rodio)
Text Input
- Encoding: UTF-8
- Quotes in text: Use escaping:
speakturbo "She said \"hello\"" - Long text: Supported, streams as it generates
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success (audio played/saved) |
| 1 | Error (daemon connection failed, invalid args) |
When to Use
Use speakturbo when:
- You need instant audio feedback (~90ms)
- Speed matters more than voice variety
- Built-in voices are sufficient
Use speak instead when:
- You need custom voice cloning (Morgan Freeman, etc.)
→
speak "text" --voice ~/.chatter/voices/morgan_freeman.wav - You need emotion tags like
[laugh],[sigh] - Quality/variety matters more than speed
See the speak skill documentation for full usage.
Troubleshooting
No audio plays:
# Check daemon is running
curl http://127.0.0.1:7125/health
# Expected: {"status":"ready","voices":["alba","marius",...]}
# Verify by saving to file and playing manually
speakturbo "test" -o /tmp/test.wav
afplay /tmp/test.wav # macOS
aplay /tmp/test.wav # Linux
Daemon won't start:
# Check port availability
lsof -i :7125
# Manually kill and restart
pkill -f "daemon_streaming"
speakturbo "test" # Auto-restarts daemon
First run is slow: This is expected. The daemon needs to load the ~100MB model into memory. Subsequent calls will be fast (~90ms).
Daemon Management
The daemon auto-starts on first use and auto-shuts down after 1 hour idle.
# Check status
curl http://127.0.0.1:7125/health
# Manual stop
pkill -f "daemon_streaming"
# View logs
cat /tmp/speakturbo.log
Comparison with speak
| Feature | speakturbo | speak |
|---|---|---|
| Time to first sound | ~90ms | ~4-8s |
| Voice cloning | ❌ | ✅ |
| Emotion tags | ❌ | ✅ |
| Voices | 8 built-in | Custom wav files |
| Engine | pocket-tts | Chatterbox |
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。