minimax-music-gen
できること
このスキルは、MiniMaxの音楽サービスを使って、歌や背景音楽を生成します。短い説明、自分の歌詞、雰囲気から曲を作りたい人向けです。
使う場面
- ✓短いアイデアから、歌を作って歌わせたいとき。
- ✓歌詞があり、それを曲にしたいとき。
- ✓場面や雰囲気に合う、伴奏の背景音楽がほしいとき。
スキルのリンク
https://github.com/MiniMax-AI/skills/blob/main/skills/minimax-music-gen/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“料理動画に使う、明るく温かい雰囲気のインストゥルメンタル曲を作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、mmxツールを使って音楽を作ります。ジャンル、雰囲気、ボーカルの有無、テンポを指定できます。先に歌詞の下書きを手伝い、その後ローカルのプレーヤーで再生することもできます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
MiniMax Music Generation Skill
Generate songs (vocal or instrumental) using the MiniMax Music API. Supports two creation modes: Basic (one-sentence-in, song-out) and Advanced Control (edit lyrics, refine prompt, plan before generating).
Prerequisites
mmx CLI (required): Music generation uses the
mmxcommand-line tool.Check if installed:
command -v mmx && mmx --version || echo "mmx not found"Install (requires Node.js):
npm install -g mmx-cliAuthenticate (first time only):
mmx auth login --api-key <your-minimax-api-key>The API key can be obtained from MiniMax Platform. Credentials are saved to
~/.mmx/credentials.jsonand persist across sessions.Verify:
mmx quota showAudio player (recommended):
mpv,ffplay, orafplay(macOS built-in) for local playback.mpvis preferred for its interactive controls.
CLI Tool
This skill uses the mmx CLI for all music generation:
Music Generation:
mmx music generate— model:music-2.6-free- Supports
--lyrics-optimizerto auto-generate lyrics from prompt - Supports
--instrumentalfor instrumental tracks - Supports
--lyricsfor user-provided lyrics - Structured params:
--genre,--mood,--vocals,--instruments,--bpm,--key,--tempo,--structure,--references
- Supports
Cover:
mmx music cover— model:music-cover-free- Takes reference audio via
--audio-file <path>or--audio <url> --promptdescribes the target cover style
- Takes reference audio via
Agent flags: Always add --quiet --non-interactive when calling mmx from agents.
Pipeline:
- Vocal:
User description -> mmx music generate --lyrics-optimizer -> MP3 - Instrumental:
User description -> mmx music generate --instrumental -> MP3 - Cover:
Source audio + style -> mmx music cover -> MP3
Storage
All generated music is saved to ~/Music/minimax-gen/. Create the directory if it doesn't
exist. Files are named with a timestamp and a short slug derived from the prompt:
YYYYMMDD_HHMMSS_<slug>.mp3
Language & Interaction
Detect the user's language from their first message and respond in that language for the entire session. This applies to all interaction text, questions, confirmations, and feedback prompts.
User-facing text localization rule:
- ALL text shown to the user — including preview labels, field names, confirmations, status messages, playback info, feedback prompts, and the prompt/description preview — MUST be fully translated into the user's language.
- The API prompt sent to the model should always be written in English for best generation quality. However, when previewing the prompt to the user, show a localized description in the user's language instead of the raw English prompt. The English prompt is an internal implementation detail — the user does not need to see it.
- The templates below are written in English as reference. At runtime, translate every label and message into the user's detected language.
Lyrics language rule:
- Default lyrics language = the user's language. A Chinese-speaking user gets Chinese lyrics; an English-speaking user gets English lyrics.
- Only generate lyrics in a different language if the user explicitly requests it.
- When a different lyrics language is needed, embed it naturally into the vocal or genre description in the prompt. For example, instead of appending "with Korean lyrics", use "featuring a Korean female vocalist" or specify a genre that implies the language (e.g., "K-pop", "J-rock", "Mandopop", "Latin pop").
Workflow
Step 0: Detect Intent
Parse the user's message to determine:
- Song category: vocal (with lyrics), instrumental (no vocals), or cover
- Creation mode preference: did they provide detailed requirements (Advanced) or a casual one-liner (Basic)?
If ambiguous, ask using this decision tree:
Q1: What type of music?
- Vocal (with lyrics)
- Instrumental (no vocals)
- Cover
Q2: Creation mode?
- Basic — one-line description, auto-generate
- Advanced — edit lyrics, refine prompt, plan
If the user gives a clear one-liner like "make me a sad piano piece", skip the questions — infer instrumental + basic mode and proceed.
Step 1: Basic Mode
Goal: User provides a short description, the skill auto-generates everything, then calls t
よくある質問
セットアップには何が必要ですか?
Node.jsが必要なmmxコマンドラインツールと、MiniMaxのAPIキーです。
ボーカルのないインストゥルメンタル曲も作れますか?
はい。このスキルは、ボーカルなしの曲を作るオプションに対応しています。
自分の歌詞を使いたい場合はどうしますか?
歌詞を直接渡せます。生成の前に、歌詞を整えることもできます。
詳細
作者による元の説明
Use when user wants to generate music, songs, or audio tracks. Triggers on any request involving music creation, song writing, lyrics generation, audio production, or covers. Also triggers when user provides lyrics and wants them turned into a song, or describes a mood/scene and wants background music. Supports multilingual triggers — match equivalent phrases in any language. Do NOT use for music playback of existing files, music theory questions, or music recommendation without generation.
repo: MiniMax-AI/skills
人気
- GitHubのスター
- 14k
- ランキング
- #11294
- ライセンス
- MIT
- 更新日
- 2026/4/18
コメント
- …
このリポジトリの他のスキル
design-style-skill
14kエージェントが、スライドの見た目を一つの統一されたスタイルに決められるよう支援します。シャープで引き締まったものから、やわらかく丸みのあるもの、ゆったりしたものまで選べます。
ppt-editing-skill
14kエージェントが既存のPowerPointファイルやテンプレートを安全に編集できるよう支援します。文字の変更、スライドの並べ替えや削除を行い、有効な資料として組み直します。
ppt-orchestra-skill
14kエージェントが、PowerPointの資料全体を作る前に計画できるよう支援します。各スライドを標準的なページの種類に分け、種類のばらつきと文章の品質を確認します。
slide-making-skill
14kエージェントが、PptxGenJSを使ったJavaScriptで一枚のPowerPointスライドを作れるよう支援します。レイアウト、文字、画像、グラフ、フォントを扱い、ネイティブの.pptxファイルを作ります。