技能 minimax-music-gen
🎵

minimax-music-gen

安全 ⚙️ 外部命令🌐 網路存取📁 檔案系統存取

使用 AI 生成音樂和歌曲

無需任何製作經驗即可創作原創音樂、歌曲和音軌。此技能使用 MiniMax AI 音樂 API,透過簡單的文字描述生成帶人聲的歌曲、伴奏和翻唱。

支援: Claude Codex Code(CC)
🥉 74 青銅
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「minimax-music-gen」。 為我做一首適合學習的悲傷鋼琴曲

預期結果:

  • 準備生成:
  • 類型:伴奏
  • 描述:憂鬱鋼琴、柔和節奏、輕柔動態、適合專注學習
  • 確認?(按 Enter 確認,或告訴我需要調整什麼)
  • 正在播放:20260416_143022_sad-piano-study.mp3
  • 已儲存至:~/Music/minimax-gen/20260416_143022_sad-piano-study.mp3

正在使用「minimax-music-gen」。 將此音訊檔案製作成雷鬼風格的翻唱版本

預期結果:

  • 請提供要翻唱的歌曲來源音訊檔案路徑或網址。
  • 您希望翻唱成什麼風格?(例如:原聲、雷鬼、電子)
  • 準備生成:
  • 類型:翻唱
  • 風格:雷鬼版本,帶有反拍吉他切分、溫暖貝斯線、輕鬆的人聲演繹
  • 正在播放:20260416_150145-reggae-cover.mp3
  • 已儲存至:~/Music/minimax-gen/20260416_150145-reggae-cover.mp3

安全審計

安全
v1 • 4/16/2026

All 165 static analysis findings are false positives caused by the scanner misinterpreting markdown documentation as executable code. Backtick detections are markdown fenced code blocks showing CLI usage examples. Cryptographic algorithm detections trigger on documentation words like 'API key', 'auth', and 'seed'. The skill is legitimate music generation documentation that instructs an AI assistant to use the mmx CLI tool for creating songs, covers, and instrumental tracks. No malicious patterns, data exfiltration, or security risks found.

2
已掃描檔案
539
分析行數
6
發現項
1
審計總數
中風險問題 (1)
External Command Execution via CLI Tool
The skill instructs the AI assistant to execute shell commands using the mmx CLI tool for music generation. Commands include mmx music generate, mmx music cover, mmx auth login, and mmx quota show. All command arguments are constructed from user input (prompts, lyrics, file paths) and passed through structured CLI flags. This is the intended functionality of the skill, not a security vulnerability. Users must install and authenticate the mmx CLI separately with their own API key.
低風險問題 (2)
Credential Storage on Filesystem
The mmx CLI stores API credentials in ~/.mmx/credentials.json as documented in SKILL.md line 41. This is standard behavior for CLI tools and is managed by the mmx tool itself, not by this skill. The skill documentation references this location so users know where credentials are stored. No credential access or manipulation is performed by the skill.
System Program Detection
The skill uses command -v to check for installed audio players (mpv, ffplay, afplay) at SKILL.md line 48 and line 245. This is standard practice for detecting available software and does not constitute system reconnaissance. The commands only check for the existence of specific media players needed for optional local playback.

風險因素

⚙️ 外部命令 (120)
references/prompt_guide.md:16-22 references/prompt_guide.md:22-25 references/prompt_guide.md:25-29 references/prompt_guide.md:29-32 references/prompt_guide.md:32-37 SKILL.md:24 SKILL.md:27-29 SKILL.md:29-32 SKILL.md:32-34 SKILL.md:34-37 SKILL.md:37-39 SKILL.md:39-41 SKILL.md:41-44 SKILL.md:44-46 SKILL.md:46-48 SKILL.md:48 SKILL.md:48 SKILL.md:48-49 SKILL.md:49-53 SKILL.md:53-55 SKILL.md:55 SKILL.md:55-56 SKILL.md:56-57 SKILL.md:57-58 SKILL.md:58-59 SKILL.md:59 SKILL.md:59 SKILL.md:59 SKILL.md:59 SKILL.md:59 SKILL.md:59 SKILL.md:59 SKILL.md:59 SKILL.md:59-61 SKILL.md:61 SKILL.md:61-62 SKILL.md:62 SKILL.md:62-63 SKILL.md:63-65 SKILL.md:65-68 SKILL.md:68-69 SKILL.md:69-70 SKILL.md:70-74 SKILL.md:74-76 SKILL.md:76-120 SKILL.md:120-129 SKILL.md:129-148 SKILL.md:148-151 SKILL.md:151-158 SKILL.md:158-165 SKILL.md:165-177 SKILL.md:177-178 SKILL.md:178-180 SKILL.md:180-202 SKILL.md:202-210 SKILL.md:210-213 SKILL.md:213-220 SKILL.md:220-223 SKILL.md:223-230 SKILL.md:230-232 SKILL.md:232 SKILL.md:232 SKILL.md:232 SKILL.md:232 SKILL.md:232 SKILL.md:232-233 SKILL.md:233 SKILL.md:233 SKILL.md:233 SKILL.md:233 SKILL.md:233-234 SKILL.md:234-245 SKILL.md:245-247 SKILL.md:247-253 SKILL.md:253 SKILL.md:253-254 SKILL.md:254 SKILL.md:254-255 SKILL.md:255 SKILL.md:255-260 SKILL.md:260-263 SKILL.md:263-270 SKILL.md:270-274 SKILL.md:274-282 SKILL.md:282-288 SKILL.md:288-293 SKILL.md:293-301 SKILL.md:301-316 SKILL.md:316-322 SKILL.md:322-325 SKILL.md:325-331 SKILL.md:331-334 SKILL.md:334-341 SKILL.md:341-344 SKILL.md:344-351 SKILL.md:351-357 SKILL.md:357-358 SKILL.md:358 SKILL.md:358 SKILL.md:358-359 SKILL.md:359 SKILL.md:359 SKILL.md:359 SKILL.md:359-360 SKILL.md:360-361 SKILL.md:361-372 SKILL.md:372-373 SKILL.md:373-389 SKILL.md:389 SKILL.md:389 SKILL.md:389-390 SKILL.md:390 SKILL.md:390 SKILL.md:390-391 SKILL.md:391-393 SKILL.md:393 SKILL.md:393 SKILL.md:393 SKILL.md:393-394 SKILL.md:394
🌐 網路存取 (1)
📁 檔案系統存取 (2)
審計者: claude

品質評分

41
架構
100
可維護性
87
內容
50
社群
96
安全
91
規範符合性

你能建構什麼

為內容建立背景音樂

內容創作者可以為影片、播客或簡報生成自訂背景音樂,無需音樂製作技能或為現有曲目取得授權。

快速製作歌曲和音樂概念

詞曲作家和音樂家可以快速製作旋律、歌詞和編曲的原型,在投入完整製作前探索創意方向。

生成個人化禮物和配樂

個人可以創作個人化歌曲作為禮物,或為活動、遊戲或個人專案生成自訂背景配樂。

試試這些提示

快速歌曲生成
Generate a song: a melancholic piano ballad about rainy autumn evenings, with soft female vocals
伴奏音軌建立
Create an upbeat 120 BPM electronic dance track with synth leads and driving bass for a workout playlist
翻唱版本與風格轉換
Make an acoustic cover of this song in a stripped-down, intimate folk style with gentle guitar
進階多參數歌曲創作
I want a song with these lyrics:
[verse]
Walking through the city lights tonight
[chorus]
We are the dreamers of the neon glow

Style: 90 BPM neo-soul with warm Rhodes piano, brushed drums, and smooth emotional vocals. Make it feel like a late-night drive through the city.

最佳實務

  • 撰寫生動具體的描述,使用敘述句而非逗號分隔的標籤,以獲得更好的生成品質
  • 在開始生成前,務必讓使用者確認預覽提示,避免浪費 API 配額
  • 使用結構化參數如類型、情緒、人聲和樂器,而非將所有細節都嵌入提示字串中,以便更精細地控制

避免

  • 不要使用「悲傷歌曲」或「搖滾音樂」等缺乏描述細節或背景的模糊提示
  • 不要在呼叫生成 API 前跳過確認步驟,因為每次請求都會消耗配額
  • 不要嘗試複製或生成受版權保護的歌詞,請一律創作受主題啟發的原創內容

常見問題

開始使用此技能需要什麼?
您需要安裝 Node.js、透過 npm 安裝 mmx CLI 工具,以及從 MiniMax Platform 取得 MiniMax API 金鑰。在生成音樂前,請執行 mmx auth login 進行驗證。
此技能可以生成不同語言的音樂嗎?
可以。此技能會從您的第一則訊息偵測語言,並以該語言回應。歌詞預設以您的語言生成,您也可以在提示中指定其他語言來生成歌詞。
支援哪些音訊輸出格式?
預設輸出格式為 MP3。您也可以使用 --format 參數生成 WAV 或 PCM 檔案。預設位元率為 256000,取樣率為 44100。
如何翻唱現有歌曲?
使用 Cover 模式並提供參考音訊檔案或網址,以及目標風格的描述。您也可以加入自訂歌詞。模型會提取原始旋律並套用您要求的風格轉換。
可以在建立歌曲前編輯生成的歌詞嗎?
可以。在進階控制模式中,您可以逐段檢視、編輯或重寫歌詞。您也可以自行撰寫歌詞,並透過 --lyrics 參數直接傳入。
API 配額用完了會怎樣?
如果配額已超過上限,CLI 會回傳退出代碼 4。您需要等待配額重置或升級方案。可以使用 mmx quota show 查看目前配額。

開發者詳情

檔案結構