sakutto
生成AI

MiniMax-Music3の使い方|ローカルで最大5分の楽曲を生成する

MiniMax音楽生成オープンウェイト
MiniMax-Music3の使い方|ローカルで最大5分の楽曲を生成する

MiniMax-Music3でできること

MiniMax-Music3の基本仕様

長さ
最大5分の完成した楽曲
入力
歌詞+音楽記述の2系統
出力
32kHz・16ビットのステレオWAV
構成
全体構造モデル8B+細部モデル0.6B+Flow Matching合成

MiniMax-Music3とは MiniMax が重みを公開した音楽生成モデルです。

最大5分の曲を丸ごと作る

歌詞と詳細な音楽記述を与えると、最大5分の完成した楽曲が出てきます。 短いループではなく、イントロからアウトロまでを備えた1曲です。長い尺でもテーマや声質、編曲の進み方が保たれるとされています。

公式情報を見る →
"MiniMax Music 3 is a high-performance music generation model for creating complete songs up to five minutes long. Conditioned on lyrics and a detailed music description, it generates structurally coherent songs with expressive vocals, evolving arrangements, and stable long-form audio quality."(冒頭)/"MiniMax Music 3 combines an 8B Global LLM for long-range musical structure, a 0.6B Local LLM for frame-level acoustic detail, and a continuous hidden-state synthesis system based on Flow Matching and Flow-VAE. The model produces 32 kHz, 16-bit stereo WAV audio."(冒頭)/"The model maintains musical themes, rhythm, vocal identity, and arrangement progression across long sequences, enabling complete structures such as intro, verse, pre-chorus, chorus, bridge, instrumental break, and outro."(Complete Songs with Long-Range Coherence の節)— MiniMax-Music3 モデルカードより

構成タグと音楽記述で指定する

歌詞には [Intro] [Verse] [Chorus] [Bridge] [Outro] などの構成タグを行頭に書いて、どこがサビかを明示できます。 もう一方の音楽記述では、ジャンル・BPM・キー・感情の展開・ボーカルの声質・楽器編成・空間処理までを言葉で指定します。公式は3節に分けた構造化キャプションを勧めています。

公式情報を見る →
"Lyrics define the words to be sung and may include explicit section tags such as `[Intro]`, `[Verse]`, `[Pre-Chorus]`, `[Chorus]`, `[Post-Chorus]`, `[Bridge]`, `[Instrumental]`, `[Solo]`, and `[Outro]`."/"Music description defines the musical style, emotional progression, vocal performance, instrumentation, arrangement, and production profile."/"For precise control, we recommend using a Structured Caption with three sections:"(いずれも Fine-Grained Music Control の節)— MiniMax-Music3 モデルカードより

MiniMax-Music3の使い方

必要なVRAMの目安

層ストリーミングなら8GBまで下がり、24GB級を用意できなくても動く。フル精度とCPUオフロードの差は2GB程度しかなく、実質の選択肢は「24GB前後」か「8GB」の二択。

24GB未満フル精度
約22GBCPUオフロード
8GB層ストリーミング

推論はSGLang-Omni・diffusers・ComfyUIに対応。ここではSGLang-Omniの手順です。

SGLang-Omniで動かす

まず重みを落として、サーバーとして起動します。 生成は音声APIと共通の口を使い、歌詞を input に、音楽記述を instructions に入れます。

hf download MiniMaxAI/MiniMax-Music3 --local-dir /path/to/minimax_ttm
sgl-omni serve --model-path MiniMaxAI/MiniMax-Music3 --port 8000

max_new_tokens は毎秒25フレーム換算の上限です。音声の終わりを示す印が出れば手前で止まります。

公式情報を見る →
"MiniMax Music 3 is supported by [SGLang-Omni]"/"The service uses the shared speech API. Put the lyrics in `input` and the music description in `instructions`."/"`max_new_tokens` sets the maximum number of audio frames at 25 frames per second. Generation may finish before this limit when the model emits an end-of-audio token."/"The response is a 32 kHz, 16-bit stereo WAV file."(いずれも How to Use の節)— MiniMax-Music3 モデルカードより

8GBのGPUでも動かす

フル精度なら24GB未満に収まり、自動CPUオフロードを入れると約22GB。さらに言語モデルを層ごとにストリーミングすれば8GBのビデオカードにも載ります。 ただしオフロードを使う構成では生成が遅くなります。ローカルでLLMを動かす勘所は ローカルLLMをコーディングで実用にする記事ローカルGLMの実測記事 も参考になります。

公式情報を見る →
"The full precision fits under 24GB of VRAM. With automatic CPU offloading, generation takes in ~22 GB; additionally streaming the language model layer by layer makes it fit even 8 GB video cards"(Low VRAM の節)— MiniMax-Music3 モデルカードより

使う前に確認するライセンス

商用利用の条件

表示義務
UI上に「MiniMax-Music3」を目立つ形で表示
売上条件
年商2,000万ドル超は事前の書面許諾が必要

重みが公開されていても、ライセンスはMITではありません。

コミュニティライセンスの商用条件

ライセンスは独自の「MiniMax-Music3 COMMUNITY LICENSE」です。 商用の製品やサービスに組み込むなら、UI上に「MiniMax-Music3」を目立つ形で表示する義務があります。加えて、自社と関連会社の年間売上合計が2,000万ドルを超える場合は、MiniMaxへ連絡して事前の書面許諾を得る必要があります。第三者へ生成物を提供する形なら、権利侵害を防ぐ対策の実装と定期的な見直しも求められます。

公式情報を見る →
"You shall prominently display “MiniMax-Music3” on the user interface of commercial product or service that uses the Software."/"You shall obtain a separate, prior written authorization from MiniMax … if the aggregate yearly revenue generated from such products and services provided by you and/or any of your affiliates exceeds 20 million US dollars (or equivalent in other currencies)."(いずれも第3項 Commercial Terms)/"you must, before making that product or service available and throughout its operation, implement, maintain, test, and periodically review reasonable and proportionate technical and organizational safeguards designed to prevent and mitigate access, uses, and outputs that violate this License"(第4項)— MiniMax-Music3 COMMUNITY LICENSE より

試すときの現実的な進め方

個人の試作で音を確かめ、商用化の段でライセンスを読み直す。この順番が安全です。「重みが公開されている」ことと「自由に商用利用できる」ことは別だと押さえておけば、後からの作り直しを避けられます。

英語のモデルカードを構造ごとマークダウンに変換したいときは、次のツールが使えます。

無料ツールURLマークダウン変換URL(ウェブページ)を入力するだけでマークダウン(Markdown)に変換。見出し・表・リスト・リンクを保持したままmd化でき、LLMやRAGの前処理、調査資料の整形にも最適な無料オンラインツール。今すぐ使ってみる →

よくある質問

Q. MiniMax-Music3 で何ができますか?
歌詞と詳細な音楽記述を入力すると、最大5分の完成した楽曲を生成できます。イントロからアウトロまで構成が破綻せず、ボーカルの声質や編曲の展開も保たれます。出力は32kHz・16ビットのステレオWAVです。
MiniMax-Music3 公式モデルカード
MiniMax Music 3 is a high-performance music generation model for creating complete songs up to five minutes long. Conditioned on lyrics and a detailed music description, it generates structurally coherent songs with expressive vocals, evolving arrangements, and stable long-form audio quality. MiniMax-Music3 公式モデルカード
Q. MiniMax-Music3 を動かすにはどれくらいのGPUが必要ですか?
フル精度で24GB未満のVRAMに収まります。CPUオフロードを併用すると約22GB、さらに言語モデルを層ごとにストリーミングすれば8GBのGPUでも動作します。ただし処理は遅くなります。
MiniMax-Music3 公式モデルカード
The full precision fits under 24GB of VRAM. With automatic CPU offloading, generation takes in ~22 GB; additionally streaming the language model layer by layer makes it fit even 8 GB video cards: MiniMax-Music3 公式モデルカード
Q. MiniMax-Music3 は商用利用できますか?
できますが条件があります。商用の製品やサービスで使う場合はUI上に「MiniMax-Music3」を目立つ形で表示する必要があり、関連会社を含む年間売上が2,000万ドルを超える場合はMiniMaxからの事前の書面許諾が別途必要です。
MiniMax-Music3 COMMUNITY LICENSE
You shall prominently display “MiniMax-Music3” on the user interface of commercial product or service that uses the Software. / You shall obtain a separate, prior written authorization from MiniMax … if the aggregate yearly revenue generated from such products and services provided by you and/or any of your affiliates exceeds 20 million US dollars MiniMax-Music3 COMMUNITY LICENSE

関連ツール

関連ツールカテゴリ

記事