Install
openclaw skills install kokoro-ttsGenerate 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.
openclaw skills install kokoro-ttsThis 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/speechKOKORO_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.