Text-to-speech via Inworld.ai API. Use when generating voice audio from text, creating spoken responses, or converting text to MP3/audio files. Supports multiple voices, speaking rates, and streaming for long text.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install inworld-tts或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install inworld-tts⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/inworld-tts/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: inworld-tts description: Text-to-speech via Inworld.ai API. Use when generating voice audio from text, creating spoken responses, or converting text to MP3/audio files. Supports multiple voices, speaking rates, and streaming for long text. ---
Generate speech audio from text using Inworld.ai's TTS API.
export INWORLD_API_KEY="your-base64-key-here"
For persistence, add to ~/.bashrc or ~/.clawdbot/.env.
# Copy skill to your skills directory
cp -r inworld-tts /path/to/your/skills/
# Make script executable
chmod +x /path/to/your/skills/inworld-tts/scripts/tts.sh
# Optional: symlink for global access
ln -sf /path/to/your/skills/inworld-tts/scripts/tts.sh /usr/local/bin/inworld-tts
# Basic
./scripts/tts.sh "Hello world" output.mp3
# With options
./scripts/tts.sh "Hello world" output.mp3 --voice Dennis --rate 1.2
# Streaming (for text >4000 chars)
./scripts/tts.sh "Very long text..." output.mp3 --stream
| Option | Default | Description | |--------|---------|-------------| | --voice | Dennis | Voice ID | | --rate | 1.0 | Speaking rate (0.5-2.0) | | --temp | 1.1 | Temperature (0.1-2.0) | | --model | inworld-tts-1.5-max | Model ID | | --stream | false | Use streaming endpoint |
| Endpoint | Use | |----------|-----| | POST https://api.inworld.ai/tts/v1/voice | Standard synthesis | | POST https://api.inworld.ai/tts/v1/voice:stream | Streaming for long text |
curl - HTTP requestsjq - JSON processing base64 - Decode audio# Quick test
export INWORLD_API_KEY="aXM2..."
./scripts/tts.sh "Testing one two three" test.mp3
mpv test.mp3 # or any audio player
# Different voice and speed
./scripts/tts.sh "Slow and steady" slow.mp3 --rate 0.8
# Fast-paced narration
./scripts/tts.sh "Breaking news!" fast.mp3 --rate 1.5
"INWORLD_API_KEY not set" - Export the environment variable before running.
Empty output file - Check API key is valid and has "Voices: Read" permission.
Streaming issues - Ensure jq supports --unbuffered flag.
安装 Inworld TTS 后,可以对 AI 说这些话来触发它
Help me get started with Inworld TTS
Explains what Inworld TTS does, walks through the setup, and runs a quick demo based on your current project
Use Inworld TTS to text-to-speech via Inworld
Invokes Inworld TTS with the right parameters and returns the result directly in the conversation
What can I do with Inworld TTS in my design & creative workflow?
Lists the top use cases for Inworld TTS, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/inworld-tts/ 目录(个人级,所有项目可用),或 .claude/skills/inworld-tts/(项目级)。重启 AI 客户端后,用 /inworld-tts 主动调用,或让 AI 根据上下文自动发现并使用。
Inworld TTS 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Inworld TTS 可免费安装使用。请查阅仓库了解许可证信息。
Text-to-speech via Inworld.ai API. Use when generating voice audio from text, creating spoken responses, or converting text to MP3/audio files. Supports multiple voices, speaking rates, and streaming for long text.
Inworld TTS 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Inworld TTS
Identifies repetitive steps in your workflow and sets up Inworld TTS to handle them automatically