Skip to content
Back to skills

Minimax Tts

ASecurity

Text-to-speech synthesis via MiniMax WebSocket API

  • 92 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 22, 2026
ai-agentspythonapi

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned September 22, 2026

npx -y skills add aAAaqwq/AGI-Super-Team --skill minimax-tts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Minimax Tts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Minimax Tts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aaaaqwq-minimax-tts-agi-super-team/badge)](https://www.skillsdirectory.com/skills/aaaaqwq-minimax-tts-agi-super-team)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: minimax-tts
description: Text-to-speech synthesis via MiniMax WebSocket API
---

# MiniMax TTS (WebSocket)

## 触发条件
- "语音合成"、"TTS"、"文字转语音"、"语音生成"、"MiniMax TTS"

## 概述
通过 MiniMax WebSocket API (`wss://api.minimaxi.com/ws/v1/t2a_v2`) 进行语音合成。

## 支持模型
| 模型 | 特性 |
|------|------|
| speech-2.8-hd | 精准还原真实语气细节,全面提升音色相似度 |
| speech-2.6-hd | 超低延时,归一化升级,更高自然度 |
| speech-2.8-turbo | 精准还原真实语气细节,更快更优惠 |
| speech-2.6-turbo | 极速版,适用于语音聊天和数字人 |
| speech-02-hd | 出色韵律、稳定性和复刻相似度 |
| speech-02-turbo | 小语种能力加强 |

## 常用中文音色
| Voice ID | 名称 |
|----------|------|
| female-yujie | 御姐 |
| female-shaonv | 少女 |
| female-shaonv-jingpin | 少女-beta |
| female-tianmei | 甜美女性 |
| qiaopi_mengmei | 俏皮萌妹 |
| wumei_yujie | 妩媚御姐 |
| male-qn-qingse | 青涩青年 |
| male-qn-jingying | 精英青年 |
| Cantonese_CuteGirl | 可爱女孩(粤语) |
| Cantonese_GentleLady | 温柔女声(粤语) |

完整列表: https://platform.minimaxi.com/docs/faq/system-voice-id

## API 密钥
- Key 来源: `openclaw.json` → `env.vars` → `MINIMAX_API_KEY`
- 端点: `wss://api.minimaxi.com/ws/v1/t2a_v2`
- 认证: `Authorization: Bearer {api_key}`

## 使用方法
```python
from tts_ws import synthesize

await synthesize(
    model="speech-2.8-hd",
    voice_id="female-yujie",
    text="你好世界",
    api_key="...",
    output_path="/path/to/output.mp3"
)
```

## 注意事项
- 依赖: `websockets` (pip3 install websockets)
- SSL: 当前跳过证书验证 (ssl.CERT_NONE)
- Clash TUN: `api.minimaxi.com` 已配置 DIRECT 规则,WebSocket 可正常连接
- 单次最长 10,000 字符
- 输出格式: mp3 (32000Hz, 128kbps)

Files in this skill

  • SKILL.md1.9 KB
  • scripts/tts_ws.py4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.