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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "kokoro-tts" with this command: npx skills add edkief/kokoro-tts

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

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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Ai Calls China Phone

可以拨打中国电话号码的机器人外呼, 专为openclaw(龙虾)用户打造的专业ai呼叫能力,只要一个prompt就可以帮你打电话干活了,支持查看电话对话记录,查看电话状态等。

Registry SourceRecently Updated
7914ustczz
General

AANA Purchase Booking Guardrail Skill

Ensures any purchase, booking, or financial commitment is verified for item, price, terms, authorization, payment privacy, and reversibility before proceeding.

Registry SourceRecently Updated
General

Skylv File History Tracker

Tracks file changes with git-like versioning for any project

Registry SourceRecently Updated
General

Skylv Feature Toggle Manager

Feature flag management. Creates and toggles feature flags for A/B testing. Triggers: feature flag, a b test, toggle feature, abtesting.

Registry SourceRecently Updated