语音合成器

sag

by andy27725

ElevenLabs text-to-speech with mac-style say UX.

4.5k其他未扫描2026年4月6日

安装

claude skill add --url https://github.com/openclaw/skills

文档

sag

Use sag for ElevenLabs TTS with local playback.

API key (required)

  • ELEVENLABS_API_KEY (preferred)
  • SAG_API_KEY also supported by the CLI

Quick start

  • sag "Hello there"
  • sag speak -v "Roger" "Hello"
  • sag voices
  • sag prompting (model-specific tips)

Model notes

  • Default: eleven_v3 (expressive)
  • Stable: eleven_multilingual_v2
  • Fast: eleven_flash_v2_5

Pronunciation + delivery rules

  • First fix: respell (e.g. "key-note"), add hyphens, adjust casing.
  • Numbers/units/URLs: --normalize auto (or off if it harms names).
  • Language bias: --lang en|de|fr|... to guide normalization.
  • v3: SSML <break> not supported; use [pause], [short pause], [long pause].
  • v2/v2.5: SSML <break time="1.5s" /> supported; <phoneme> not exposed in sag.

v3 audio tags (put at the entrance of a line)

  • [whispers], [shouts], [sings]
  • [laughs], [starts laughing], [sighs], [exhales]
  • [sarcastic], [curious], [excited], [crying], [mischievously]
  • Example: sag "[whispers] keep this quiet. [short pause] ok?"

Voice defaults

  • ELEVENLABS_VOICE_ID or SAG_VOICE_ID

Confirm voice + speaker before long output.

Chat voice responses

When Peter asks for a "voice" reply (e.g., "crazy scientist voice", "explain in voice"), generate audio and send it:

bash
# Generate audio file
sag -v Clawd -o /tmp/voice-reply.mp3 "Your message here"

# Then include in reply:
# MEDIA:/tmp/voice-reply.mp3

Voice character tips:

  • Crazy scientist: Use [excited] tags, dramatic pauses [short pause], vary intensity
  • Calm: Use [whispers] or slower pacing
  • Dramatic: Use [sings] or [shouts] sparingly

Default voice for Clawd: lj2rcrvANS3gaWWnczSX (or just -v Clawd)

相关 Skills

Claude API

by anthropic

热门

Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`; user asks for the Claude API, Anthropic SDK, or Managed Agents; user adds/modifies/tunes a Claude feature (caching, thinking, compaction, tool use, batch, files, citations, memory) or model (Opus/Sonnet/Haiku) in a file; questions about prompt caching / cache hit rate in an Anthropic SDK project. SKIP: file imports `openai`/other-provider SDK, filename like `*-openai.py`/`*-generic.py`, provider-neutral code, general programming/ML.

其他
安全163.8k

并行代理

by axelhu

热门

Use when facing 2 or more independent tasks that can be worked on without shared state - dispatches parallel subagents using sessions_spawn for concurrent investigation and execution, adapted for OpenClaw

其他
未扫描4.5k

高光制作器

by bwbernardweston18

热门

>

其他
未扫描4.5k

相关资讯

本文从用户角色出发,将当前 AI 智能体分为知识工作者、自托管高级用户、开发者和企业工作流四类,分析各类型在运行时、状态、身份和策略控制权上的差异。核心发现:智能体市场胜负不在于开源或闭源,而在于客户能配置和导出的执行、状态、身份和策略有多少。

深度The New Stack·7月10日·8 分钟

AWS、微软、Google 和 Anthropic 的智能体运行时均转向会话感知执行,用会话级隔离取代请求级负载均衡。这一变化源于智能体的长运行、有状态、执行不可信代码的特性。四家厂商在架构上趋同,但实现载体各异:AWS 用 Firecracker 微VM,Azure 用 VM 隔离沙箱,Google 采用混合架构,Anthropic 则将执行环境解耦为可替换层。

深度The New Stack·6月26日·10 分钟

OpenClaw与Hermes Agent代表了两种智能体执行框架设计路线:OpenClaw以网关为中心,连接众多消息渠道,吸引平台厂商(Nvidia、Microsoft)为其添加治理和身份层;Hermes以内存为中心,实现跨会话的持久化学习,支持模型切换和技能进步。企业用户需权衡治理、身份和控制权,而平台厂商正围绕运行时层展开竞争。

深度The New Stack·6月23日·10 分钟

评论