minimax
Skill4 starsChanged 8 months agoApache-2.0View on GitHub
MiniMax 语音合成与音乐生成 API 工具集。支持文本转语音(同步/异步)、音色管理(查询/复刻/设计)、音乐生成。当用户需要使用进行语音合成、音色复刻、音乐生成时使用此 skill。
- Reads credentials
2 other projects use a version of this.
Adopted by
Most recently taken up by
- JustinPerea/nebula-nodestheir own version, first seen Nov 5, 2026
- zhangdszq/vk-skillstheir own version, first seen Mar 10, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- JustinPerea/nebula-nodes★ 23same name
- zhangdszq/vk-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository47 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .claude/skills/f-fund-advisor/CLAUDE.mdCLAUDE.md
- .claude/skills/t-supabase/CLAUDE.mdCLAUDE.md
- agent-browserSkill
- find-skillsSkill
- skill-creatorSkill
- fund-advisorSkill
- fundamentalsSkill
- fund-assistantSkill
- fund-screenerSkill
- eastmoney_fin_dataSkill
- eastmoney_fin_searchSkill
- f-mx-select-stockSkill
- mx_self_selectSkill
- eastmoney_stock_simulatorSkill
- baoyu-article-illustratorSkill
- xhs-note-creatorSkill
- auto-wechatSkill
- auto-xSkill
- doubao-image-genSkill
- doubao-videoSkill
- nano-banana2Skill
- remotion-best-practicesSkill
- suno-musicSkill
- whisper-subtitleSkill
- arxivSkill
- bar-chart-race-generatorSkill
- perfect-PPTmakerSkill
- tech-news-dailySkill
- x-apiSkill
- yt-dlp-downloaderSkill
- brainstormingSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- frontend-designSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- subagent-driven-developmentSkill
- supabase-postgres-best-practicesSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-git-worktreesSkill
- using-superpowersSkill
- verification-before-completionSkill
- writing-plansSkill
- writing-skillsSkill
The file
Files
MiniMax 工具集
MiniMax 语音合成与音乐生成 API 的 Python 客户端工具集。
环境变量
⚠️ 重要:每次使用前必须先检查是否已设置 API Key 环境变量,否则先执行下面的配置再进行脚本调用。
export MINIMAX_API_KEY="your_api_key_here"默认输出目录: 所有生成的音频自动保存到 ./assets/audios/ 目录(自动创建)
脚本文件
| 脚本 | 功能 | API |
scripts/text_to_audio.py | 同步语音合成 | /v1/t2a_v2 |
scripts/text_to_audio_async.py | 异步语音合成 | /v1/t2a_async_v2 |
scripts/voice_manager.py | 音色管理 | /v1/get_voice, /v1/voice_clone, /v1/voice_design |
scripts/music_generation.py | 音乐生成 | /v1/music_generation |
语音合成字符限制
| 脚本 | 字符限制 | 适用场景 |
text_to_audio.py (同步) | ≤ 10,000 字符 | 短文本、实时合成 |
text_to_audio_async.py (异步) | 10,001 - 50,000 字符 | 长文本、有声书 |
注意: 超过 50,000 字符的文本需要拆分成多个请求处理。
使用示例
# 同步语音合成(≤ 10000 字符)
python3 scripts/text_to_audio.py -t "你好" -v male-qn-qingse -o output.mp3
# 异步语音合成(10001-50000 字符)
python3 scripts/text_to_audio_async.py -t "长文本..." -v audiobook_male_1 -w -o output.mp3
# 查询音色
python3 scripts/voice_manager.py list
# 音色复刻
python3 scripts/voice_manager.py clone --file voice.mp3 --voice-id MyVoice001
# 音色设计
python3 scripts/voice_manager.py design --prompt "温暖女声" --preview "试听文本" -o trial.mp3
# 音乐生成
python3 scripts/music_generation.py -l lyrics.txt -p "流行音乐,轻快" -o song.mp3支持的模型
语音合成
speech-2.8-hd- 最新高清模型,支持语气词标签speech-2.8-turbo- 最新高速模型
音乐生成
music-2.5- 最新音乐生成模型
常用音色 ID
male-qn-qingse- 男声-青年-青涩female-shaonv- 女声-少女tianxin_xiaoling- 女声-甜心小玲audiobook_male_1- 有声书男声Chinese (Mandarin)_News_Anchor- 新闻主播
完整列表使用 voice_manager.list_voices() 查询。
错误码
0- 成功1000- 未知错误1001- 超时1002- 触发限流1004- 鉴权失败1008- 余额不足2013- 参数错误2038- 无复刻权限
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

