TTS - Advanced Text-to-Speech for AI Agents for Openclaw

A robust Text-to-Speech skill that converts text into high-quality audio files with support for over 90 voices and various emotional styles.

yinsuso
v1.0.0
Apr 7, 2026
0
731
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install tts-wangwang

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install tts-wangwang using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is TTS - Advanced Text-to-Speech for AI Agents?

The TTS skill is a sophisticated extension for AI agents within the Openclaw Skills ecosystem, designed to bridge the gap between text and audio. It enables developers and users to transform written content into natural-sounding speech files (MP3) effortlessly. By utilizing a free, high-performance API, this skill allows for the creation of voice-enabled responses, making AI interactions more accessible and engaging.

This skill is built for flexibility, allowing agents to choose from a wide variety of voice profiles and adjust parameters such as speed, pitch, and emotional tone. Whether you are building an automated narrator, a voice assistant, or a messaging bot, the inclusion of this functionality via Openclaw Skills ensures a seamless integration process without the need for complex API key management.

TTS - Advanced Text-to-Speech for AI Agents Use Cases

  • Automating the creation of audiobooks or voiceovers for long-form text content.
  • Providing accessibility features by reading out chat responses or documentation.
  • Generating character-specific voices for interactive gaming or storytelling agents.
  • Batch converting notifications and alerts into audio format for hands-free monitoring.

How TTS - Advanced Text-to-Speech for AI Agents Works

  1. The AI agent identifies a user request involving voice generation, such as 'read this out' or 'convert to audio'.
  2. The skill constructs a POST request containing the input text and desired voice parameters (ID, speed, pitch).
  3. The request is sent to the high-speed TTS endpoint which processes the synthesis in real-time.
  4. The resulting audio stream is captured and saved as a local MP3 file in the system's temporary directory.
  5. The agent utilizes a messaging tool to deliver the absolute file path or the media file itself back to the user.

TTS - Advanced Text-to-Speech for AI Agents Setup

To deploy this skill, ensure your environment can execute HTTP POST requests. No authentication tokens are required for the primary endpoint. You can verify the installation using the following command:

curl -s -X POST 'https://tts.wangwangit.com/v1/audio/speech' \
  -H 'content-type: application/json' \
  -d '{"input":"Hello from Openclaw Skills","voice":"zh-CN-YunyangNeural","speed":1.0,"style":"general"}' \
  -o /tmp/test_voice.mp3

TTS - Advanced Text-to-Speech for AI Agents Data Schema & Taxonomy

The skill manages data through a structured JSON request body and outputs binary audio files. The following table describes the metadata schema for synthesis requests:

Field Type Required Description
input string Yes The text to be converted (max 10,000 characters)
voice string Yes The specific Voice ID (e.g., zh-CN-XiaoxiaoNeural)
speed float No Playback rate ranging from 0.25 to 3.0 (default 1.0)
pitch string No Tone adjustment from -50 to +50 (default 0)
style string No Emotional context like assistant, chat, or cheerful

Output files are typically generated as MP3 by default but support extensions like WAV, OGG, or AMR.

TTS - Advanced Text-to-Speech for AI Agents Advanced Features

  • Support for over 90 unique voice identities across different genders and tones.
  • Contextual style switching, allowing the agent to sound like a newscaster, a customer service representative, or a friendly assistant.
  • High-volume text handling with a single-request limit of 10,000 characters for long-form synthesis.
  • Seamless integration with Openclaw Skills message actions for direct media dispatch to end-user interfaces.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*