Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add desirecore/market --skill minimax-music-gengit clone --depth 1 https://github.com/desirecore/marketWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/desirecore/market/minimax-music-gen)<a href="https://agentmods.dev/skills/desirecore/market/minimax-music-gen"><img src="https://agentmods.dev/badge/skills/desirecore/market/minimax-music-gen/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/desirecore/market/minimax-music-gen"><img src="https://agentmods.dev/badge/skills/desirecore/market/minimax-music-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00095 | $0.03085 |
| Opus 5 | $0.00048 | $0.01543 |
| Sonnet 5 | $0.00019 | $0.00617 |
| Haiku 4.5 | $0.00010 | $0.00309 |
Grade A, and why
minimax-music-gen scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
2. **Use Bash curl throughout** — do not use the HttpRequest tool or Python How it starts
The opening of the file, as written. The whole thing — 298 lines — stays where its author put it; the contents beside it link to each section on GitHub.
minimax-music-gen Skill
Mandatory Rules (violations will cause functionality to fail)
- Must access agent-service over HTTPS —
https://127.0.0.1:${PORT}with-kto skip certificate verification - Use Bash curl throughout — do not use the HttpRequest tool or Python
- Do not use
output_format: "url"— URL downloads will return empty files in scenarios such as Token Plan due to CDN authentication failures. Always use the default hex format; audio data is returned directly in the API response
Full Execution Flow
Prerequisites
- The user has configured the MiniMax Provider (regular API or Token Plan) in Resource Manager → Compute and filled in the API Key
- agent-service is running
Core Concepts
MiniMax Music Generation is a synchronous API (not an asynchronous task model); it returns audio data directly when called. Three modes are supported:
| Mode | model | Description |
|---|---|---|
| Song generation | music-2.6 |
Provide prompt + lyrics to generate a song with vocals |
| Pure instrumental | music-2.6 |
Set is_instrumental: true; only a prompt is needed |
| Cover | music-cover |
Provide a reference audio + prompt; rearrange based on the melodic skeleton |
Lyrics Structure Tags
The lyrics field supports the following structure tags to organize song sections:
| Tag | Meaning |
|---|---|
[verse] |
Verse |
[chorus] |
Chorus |
[bridge] |
Bridge |
[intro] |
Intro |
[outro] |
Outro |
[interlude] |
Interlude |
Example lyrics format:
[verse]
夜晚的城市灯火阑珊
我独自走在回家的路上
[chorus]
这一刻时间仿佛停止
所有的喧嚣都已远去
Generate a Song (with Vocals)
Note: Do not pass the output_format parameter; use the default hex format.
PORT=$(cat ${DESIRECORE_ROOT}/agent-service.port)
curl -sk -X POST "https://127.0.0.1:${PORT}/api/media-proxy" \
-H "Content-Type: application/json" \
-d '{
"provider": "minimax",
"serviceType": "music_gen",
"endpoint": "/music_generation",
"body": {
"model": "music-2.6",
"prompt": "独立民谣,温暖,治愈,吉他伴奏",
"lyrics": "[verse]\n歌词内容\n\n[chorus]\n副歌内容",
"audio_setting": {
"format": "mp3",
"sample_rate": 44100,
"bitrate": 256000
}
},
"responseType": "json"
}'
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 298 lines · 95 tokens per session scan A f8e810d1ad66
minimax-music-gen is a skill published in the GitHub repository desirecore/market (2 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 3,085 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
MiniMax Music Gen
Generate an original song, instrumental, or cover track when the ask is fundamentally "make music from this idea".
open-source-music-generation
Open-source AI music generation tools — HeartMuLa (lyrics+tags) and AudioCraft/MusicGen (text-to-music, text-to-sound). Covers installation, generation parameters, model variants, and pitfalls for both ecosystems.
Spotify Automation
Automate Spotify music playback, playlist management, and audio analysis workflows.
suno-music
Generate instrumental background music and songs via EvoLink Suno API, with special handling for voiceover-safe tracks.
minimax-cli
Nested swiss-knife reference for the MiniMax mmx CLI and the canonical MiniMax CLI procedure shipped with the TUI: install mmx-cli, discover the correct TUI-managed MiniMax preset/key slot without leaking secrets, match mainland vs international regions, and route image/video/music/TTS generation or one-shot shell…
videoagent-audio-studio
Tired of juggling multiple audio APIs? This skill gives you one-command access to TTS, music generation, sound effects, and voice cloning. Use when you want to generate any audio without managing multiple API keys.