kokoro-tts
Generate spoken audio from text using the local Kokoro TTS engine. Use when the user asks to "say" something, requests a voice message, or wants text converted to speech.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- kokoro-tts
- description
- Generate spoken audio from text using the local Kokoro TTS engine. Use when the user asks to "say" something, requests a voice message, or wants text converted to speech.
02 资源文件 3
- 参考文档_meta.json272 B
- 参考文档references/voices.md488 B
- 脚本scripts/tts.js1.6 KB
03 SKILL.md 正文
Kokoro TTS
This skill allows you to generate high-quality AI speech using a local or remote Kokoro-TTS instance.
Configuration
The skill uses the KOKORO_API_URL environment variable to locate the API.
- Default:
http://localhost:8880/v1/audio/speech - To Configure: Add
KOKORO_API_URL=http://your-server:port/v1/audio/speechto your.envfile or environment.
Usage
To generate speech, run the included Node.js script.
Command
node skills/kokoro-tts/scripts/tts.js "<text>" [voice] [speed]
- text: The text to speak. Wrap in quotes.
- voice: (Optional) The voice ID. Defaults to
af_heart. - speed: (Optional) Speech speed (0.25 to 4.0). Defaults to
1.0.
Example
node skills/kokoro-tts/scripts/tts.js "Hello Ed, this is Theosaurus speaking." af_nova
Output
The script will output a single line starting with MEDIA: followed by the path to the generated MP3 file. OpenClaw will automatically pick this up and send it as an audio attachment.
Example Output:
MEDIA: media/tts_1706745000000.mp3
Available Voices
Common choices:
af_heart(Default, Female, Warm)af_nova(Female, Professional)am_adam(Male, Deep)bf_alice(British Female)
For a full list, see references/voices.md or query the API.
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.