调用 MiniMax 语音合成 API 生成语音。支持系统音色、克隆音色、流式/非流式输出。使用场景:用户需要生成高质量中文语音、语音合成、文本转语音。
Scanned 9/7/2026
Install to Claude Code
npx -y skills add modbender/skill-library-mcp --skill minimax-tts-cn --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Minimax Tts Cn?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/modbender-minimax-tts-cn)More formats (shields.io, HTML) on the badges page.
---
name: MiniMax TTS
description: 调用 MiniMax 语音合成 API 生成语音。支持系统音色、克隆音色、流式/非流式输出。使用场景:用户需要生成高质量中文语音、语音合成、文本转语音。
---
# MiniMax TTS Skill
调用 MiniMax TTS API 生成语音。
## 配置
设置环境变量:
```bash
export MINIMAX_API_KEY="your-api-key"
```
## 使用方式
### 命令行
```bash
python3 ~/.openclaw/workspace/skills/minimax-tts/scripts/tts.py "要转语音的文本"
```
### 参数选项
| 参数 | 说明 | 默认值 |
|------|------|--------|
| `--text` | 要转语音的文本 | 必填 |
| `--model` | 模型 | speech-2.8-turbo |
| `--voice` | 音色ID | Chinese_Male_Adult |
| `--speed` | 语速 | 1.0 |
| `--format` | 音频格式 | mp3 |
| `--output` | 输出文件 | output.mp3 |
### 示例
```bash
# 基本用法
python3 ~/.openclaw/workspace/skills/minimax-tts/scripts/tts.py "你好世界"
# 指定音色和模型
python3 ~/.openclaw/workspace/skills/minimax-tts/scripts/tts.py "你好世界" --voice Chinese_Female_Adult --model speech-2.8-hd
# 保存到指定文件
python3 ~/.openclaw/workspace/skills/minimax-tts/scripts/tts.py "测试语音" --output test.mp3
```
## 可用音色
调用 `get_voice` API 获取当前账号下所有音色:
```bash
python3 ~/.openclaw/workspace/skills/minimax-tts/scripts/tts.py --list-voices
```
常见系统音色:
- `Chinese_Male_Adult` - 中文男声
- `Chinese_Female_Adult` - 中文女声
- `English_Male_Adult` - 英文男声
- `English_Female_Adult` - 英文女声
## 支持的模型
| 模型 | 特点 |
|------|------|
| speech-2.8-hd | 最高质量,40+语言 |
| speech-2.8-turbo | 低延迟 |
| speech-2.6-hd | 高相似度 |
| speech-2.6-turbo | 性价比高 |
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.
SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.
Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation
Python backend development expertise for FastAPI, security patterns, database operations, Upstash integrations, and code quality. Use when: (1) Building REST APIs with FastAPI, (2) Implementing JWT/OAuth2 authentication, (3) Setting up SQLAlchemy/async databases, (4) Integrating Redis/Upstash caching, (5) Refactoring AI-generated Python code (deslopification), (6) Designing API patterns, or (7) Optimizing backend performance.
Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...