minimax-tts

Convert text to speech and play audio via MiniMax TTS.

1|2|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/zhangdszq/vk-skills --skill minimax-tts-zhangdszq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-tts
Source: https://github.com/zhangdszq/vk-skills/tree/main/minimax-tts
Command: npx skills add https://github.com/zhangdszq/vk-skills --skill minimax-tts-zhangdszq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

自动将文本转换为语音并自动播放,消除手动朗读与音频制作的繁琐。

Core Features & Use Cases

  • 自动将文本转为语音并能直接在 macOS 使用 afplay、在 Linux 使用 mpg123 播放
  • 可配置语音、语速、情绪、模型以及是否保存音频
  • 用例:为课程讲义、学习材料或演示生成可直接播放的有声内容

Quick Start

运行 tts.py 并传入要朗读的文本,即可即时听到朗读声音。

Frequently Asked Questions about minimax-tts

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

FAQPage Schema
How do I convert text to speech and auto-play the audio on macOS?

To convert text to speech on macOS, this tool uses the MiniMax TTS service and automatically plays the resulting audio using the built-in afplay command. You can run the script with your text to hear it instantly without manual playback.

Can I configure voice settings and emotion for text-to-speech generation?

Yes, you can configure voice settings for text-to-speech generation, including selecting specific voices, adjusting the speed, and setting the emotion. It also supports choosing different TTS models to customize the resulting audio output.

Does text-to-speech auto-play work on Linux environments?

Yes, text-to-speech auto-play works on Linux environments by utilizing the mpg123 command for audio playback. It fully supports both macOS and Linux, ensuring cross-platform accessibility for educational materials and presentations.

What do I need to generate speech from educational materials using this tool?

To generate speech from educational materials, you need MiniMax API keys and a group ID. Once configured, you pass your text to the script, and it handles the text-to-speech conversion and auto-playback automatically.

Can I save the audio generated from text-to-speech for later use?

Yes, you can save the audio generated from text-to-speech. The tool offers an optional setting to save the resulting audio files, allowing you to create accessible audio content from course notes or learning materials for later playback.