Agent skill · creative production · sundial-org

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.

Why this skill is useful

Adds a Node.js script for generating speech from text using the Kokoro TTS API, which is not commonly known.

What it needs

Requires node installed locally. About 1k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.

What this skill does

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 KOKOROAPIURL environment variable to locate the API. Default: http://localhost:8880/v1/audio/speech To Configure: Add KOKOROAPIURL=http://your-server:port/v1/audio/speech to your .env file or environment. Usage To generate speech, run the included Node.js script. Command text: The text to speak. Wrap in quotes. voice: (Optional) The voice ID. Defaults to afheart. speed: (Optional) Speech speed (0.25 to 4.0). Defaults to 1.0. Example 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/tts1706745000000.mp3 Available Voices Common choices: afheart (Default, Female, Warm) afnova (Female, Professional) amadam (Male, Deep) bfalice (British Female) For a full list, see references/voices.md or query the API.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sundial-org/kokoro-tts

View the source on GitHub

Browse the @skills marketplace