tts

Convert input text to speech audio via the MiniMax TTS API.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/HuaiminHuang/personal-skills-for-openclaw --skill tts-huaiminhuang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tts
Source: https://github.com/HuaiminHuang/personal-skills-for-openclaw/tree/main/tts
Command: npx skills add https://github.com/HuaiminHuang/personal-skills-for-openclaw --skill tts-huaiminhuang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

文字内容的朗读需求在多场景中广泛存在,如无障碍、内容配音和对话式界面。将文本转化为自然语音的传统实现往往繁琐且依赖不稳定的服务,本技能提供一个简化、可自动化的 TTS 流程,提升工作效率与用户体验。

Core Features & Use Cases

  • 通过 MiniMax TTS API 输出高质量语音,支持内置音色、声音克隆、语速、音调和情感控制。
  • 提供可配置参数:音色、语速、音调、音量、情感等,适用于多样化语气与场景。
  • 处理文本长度的灵活策略(短文本直接音频、长文本分段并可用文字备份),便于集成到应用或服务中。
  • 以命令行脚本为核心的自动化工作流,便于批量处理与与其他系统的集成。

Quick Start

向 TTS 脚本提供文本即可生成音频并保存在默认输出目录。

Frequently Asked Questions about tts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert input text into speech audio using an API?

You can convert text to speech by providing text to the TTS script, which calls the MiniMax TTS API to generate audio files. It handles both short and long texts, saving the output in the default directory.

Do I need a MiniMax API key to generate voice from text?

Yes, a MiniMax API key and host are required to authenticate speech synthesis requests. The skill uses these credentials to connect to the MiniMax TTS API and generate audio outputs.

Can I control voice speed, pitch, and emotion for text-to-speech generation?

Yes, the skill provides configurable parameters for voice, speed, pitch, volume, and emotion. You can adjust these settings to generate speech that matches diverse tones and application scenarios.

How does text-to-speech handle long text inputs?

The skill handles long text by applying character segmentation rules to split input into manageable parts. It generates segmented audio files and can provide text backups, ensuring reliable processing for extended content.

What is the best way to automate batch text-to-speech conversion?

The best way to automate batch text-to-speech conversion is using the skill's command-line script workflow. This enables automated processing of multiple text inputs and seamless integration with other systems.