Task Router Skill
Task Router
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.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install edkief/kokoro-tts打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
This skill allows you to generate high-quality AI speech using a local or remote Kokoro-TTS instance.
The skill uses the KOKORO_API_URL environment variable to locate the API.
http://localhost:8880/v1/audio/speech
KOKORO_API_URL=http://your-server:port/v1/audio/speech to your .env file or environment.To generate speech, run the included Node.js script.
node skills/kokoro-tts/scripts/tts.js "<text>" [voice] [speed]
af_heart.1.0.node skills/kokoro-tts/scripts/tts.js "Hello Ed, this is Theosaurus speaking." af_nova
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
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.
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# 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/speech` to your `.env` file or environment. ## Usage To generate speech, run the included Node.js script. ### Command ```bash 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 ```bash 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](references/voices.md) or query the API.
Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.