MiniMax音樂模型開源

2026年8月15日 00:00
站內 AI 整理稿

MiniMax Music 3 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.Demo Explore music generation examples on the MiniMax Music 3 Demo.

Complete Songs with Long-Range Coherence MiniMax Music 3 natively supports full-song generation up to five minutes.

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.

Fine-Grained Music Control The model accepts two complementary inputs: 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: Global Metadata: genre, subgenre, BPM, key, scale, emotional progression, listening scenario, and production profile.Vocal Details: vocal gender, timbre, performance style, harmony, backing vocals, and vocal effects.

Arrangement: primary and secondary instruments, section-level instrument evolution, groove, bass, percussion, textures, and spatial effects.This representation allows the model to follow not only a global style, but also the musical development of the song over time.

Hybrid-LM MiniMax Music 3 uses a hierarchical autoregressive architecture that separates global musical modeling from local acoustic modeling.The Global LLM (8B) predicts the first RVQ codebook frame by frame and models the song's long-range semantic and structural progression.The Local LLM (0.

6B) predicts the remaining acoustic codebooks within each frame and restores fine-grained acoustic information.The Global LLM is initialized from Qwen3-8B.During training, its embedding and output layers are first adapted to semantic music tokens.

The Global and Local LLMs are then jointly trained to model all RVQ codebooks.Continuous Hidden-State Synthesis Instead of decoding only from discrete RVQ tokens, the synthesis module fuses the final hidden states of the Global and Local LLMs.

These continuous representations preserve richer acoustic information for vocal articulation, instrumental texture, and temporal continuity.The synthesis path is: Global and Local LLM hidden states ↓ Hidden-state fusion ↓ Flow Matching (2.

4B) ↓ Flow-VAE latent ↓ Flow-VAE Decoder (123M) ↓ 32 kHz stereo audio The Flow-VAE architecture is adapted from MiniMax Speech and retrained for the dynamic range and spectral characteristics of music.

Music Tokenizer The training tokenizer uses eight layers of Residual Vector Quantization (RVQ): The first semantic codebook contains 16,384 entries and captures the core musical semantics and structure.

The remaining seven acoustic codebooks contain 1,024 entries each and represent residual acoustic details.Training first optimizes the semantic codebook, then jointly trains all eight codebooks.

At inference time, waveform synthesis uses the fused LLM hidden states and does not require the discrete tokenizer decoder.How to Use MiniMax Music 3 is supported by SGLang-Omni.Follow the official installation guide to prepare the runtime environment.

Download the Model hf download MiniMaxAI/MiniMax-Music3 --local-dir /path/to/minimaxttm We recommend the following inference frameworks to serve the model: SGLang - see cookbook diffusers - see diffusers docs ComfyUI see comfyUI tutorials Serve with SGLang-Omni sgl-omni serve --model-path MiniMaxAI/MiniMax-Music3 --port 8000 Generate Music The service uses the shared speech API.

Put the lyrics in input and the music description in instructions.Put lyric structure tags such as [Verse] and [Chorus] on their own lines.curl http://127.0.0.

1:8000/v1/audio/speech \ -H 'Content-Type: application/json' \ -d '{ "model": "MiniMaxAI/MiniMax-Music3", "input": "[Verse]\nMorning light filtering through the pine\n[Chorus]\nSoftly the world begins to breathe", "instructions": "A warm acoustic pop song with intimate female vocals, fingerpicked guitar, soft piano, and a gradual emotional build into a wide final chorus.

", "responseformat": "wav", "seed": 7, "maxnewtokens": 750, "stream": false }' \ --output minimaxmusic3.wav maxnewtokens 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.Reproducible Example The following end-to-end example contains the complete lyrics, music description, and generation parameters used to produce the reference audio.Use case Request Result Text-to-music View script minimaxttm.

wav 🧨 Diffusers MiniMax Music 3 is available as a diffusers modular pipeline.Until huggingface/diffusers#14456 is merged, install diffusers from the PR commit: The snippet below fits 24GB+ VRAM GPUs pip install git+https://github.

com/huggingface/diffusers@dafe3733fcfdbf3c48915fe77be3aef65b5d6a2d transformers accelerate soundfile import soundfile as sf import torch from diffusers import ModularPipeline pipe = ModularPipeline.frompretrained("MiniMaxAI/MiniMax-Music3") pipe.loadcomponents(dtype=torch.bfloat16) pipe.

to("cuda") lyrics = """[verse] Morning light filtering through the pine Every quiet street is yours and mine [chorus] Softly the world begins to breathe""" prompt = ( "Genre: acoustic pop.BPM: 96.Key: C major.Warm and intimate, building gently into the chorus.

" "Vocals: soft female lead, close and breathy, light stacked harmonies in the chorus." "Arrangement: fingerpicked guitar and soft piano; brushed drums and upright bass enter in the chorus." ) audio = pipe( prompt=prompt, lyrics=lyrics, audioduration=60.0, generator=torch.Generator("cuda").

manualseed(7), output="audios", )[0] sf.write("song.wav", audio.T.float().cpu().numpy(), pipe.samplingrate) Low VRAM 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: import torch from diffusers import ComponentsManager, ModularPipeline from diffusers.

hooks import applygroupoffloading manager = ComponentsManager() manager.enableautocpuoffload(device="cuda") pipe = ModularPipeline.frompretrained("MiniMaxAI/MiniMax-Music3", componentsmanager=manager) pipe.loadcomponents(dtype=torch.

bfloat16) # Only needed below ~22 GB of VRAM — slower, but fits in 8 GB.applygroupoffloading( pipe.languagemodel, onloaddevice=torch.device("cuda"), offloadtype="leaflevel", usestream=True ) Prompt Enhancement A concise natural-language description can be used directly.

For richer prompts and more precise control, use the provided music-caption-rewriter skill to expand it into a Structured Caption containing Global Metadata, Vocal Details, and Arrangement.

The skill preserves musical instructions attached to lyric section tags in the arrangement description while keeping the lyric text in the lyrics input.npx skills add MiniMax-AI/MiniMax-Music3 --skill music-caption-rewriter Limitations Inference requires CUDA.

Only non-streaming generation is currently supported.The tokenized text prompt is limited to 5,000 tokens.Audio generation is limited to 9,000 acoustic frames.Section tags and music descriptions provide generative control rather than strict symbolic guarantees.

The generated tempo, key, instrumentation, lyrics, and song structure may not always match every requested detail exactly.Contact Us Contact us at [email protected].

Downloads last month 63 Safetensors Model size 2B params Tensor type F32 · Files info Model tree for MiniMaxAI/MiniMax-Music3 Finetunes 7 models Quantizations 12 models Spaces using MiniMaxAI/MiniMax-Music3 7

Related

相關文章

鈦媒體生成式AI

王興興“錯配”梁文鋒?

王興興“錯配”梁文鋒?字母榜2026.08.24 17:44 · 來自河北全文4818字00:00 / 13:21關於世界模型,宇樹和DeepSeek理念分歧明顯。文 | 字母榜宇樹科技的股價還在持續下跌。市值從上市首日的4449億元高點,跌至2400億元,截至8月24日收盤,市值較最高點蒸發了2000億元。然而比股價更值得關注的是,宇樹接下來要怎麼走。8月20日,也就是宇樹上市第二天,王興興出現在北京世界機器人大會論壇。十多分鐘的分享裡,AI成為了高頻詞彙。他談到AI實時生成、實時識別,也談到AI模型投入,更透露了宇樹正在預研的一件事:讓物理AI機器人實現“自進化”。王興興講的每一件事,最後都指向一個關鍵要素:AI大模型。特別是最後一點,王興興說,要實現“物理AI自進化”,要用目前最前沿、最頂尖的AI大模型來驅動。而這恰恰是宇樹目前不太擅長的部分。不過,宇樹找到了DeepSeek。今年8月,兩家公司已經達成合作,圍繞AI大模型與具身智能相關技術展開合作。說到具身智能公司和AI大模型公司的合作,就不得不提當年Figure AI和OpenAI的合作。2024年,OpenAI在投資Figure AI後,雙方簽署了三年合作協議,合作開發人形機器人AI模型。但是僅一年後,FigureAI終止合作,轉向自研。於是問題來了:王興興和梁文鋒,會不會重走Figure AI和OpenAI的老路?01為什麼宇樹需要DeepSeek?對於宇樹來說,過去幾年,模型研發已經有了一些積累,但顯然投入不足,進展緩慢,所以找到一個頂尖的AI大模型公司合作,是一個比較自然的選擇。先來看宇樹目前的模型研發進展。當前,具身智能大模型沒有一個統一的技術路線,但VLA和世界模型,是行業重點探索的兩個方向。行業甚至也在探索兩者融合的技術路線。宇樹也在摸索,採取了“兩條腿走路”的策略,並行研發兩種模型。所謂VLA(視覺

剛剛
量子位生成式AI

阿里視頻大模型Wan3.0正式上線,行業評價“穩定、真實、有質感”

阿里巴巴影片生成大模型Wan3.0正式上線,單次可生成30秒影片,並首次支援doc、xls、ppt、pdf、md等文檔輸入。企業用戶普遍評價其「穩定、真實、有質感」,能穩定保持角色與場景一致性,並已進入短劇、影視、廣告等生產流程。即日起可於阿里雲百鍊、千問等平台體驗,標準版並推出限時7折優惠。

剛剛
IT之家生成式AI

阿里雲視頻生成模型 Wan3.0 正式上線,支持單次生成 30 秒視頻、文檔輸入

作者:遠洋 責編:遠洋 評論: 8 月 24 日消息,阿里雲消息,今天,視頻生成模型 Wan3.0 正式上線。官方稱,Wan3.0 在生成時長、萬能創作、全能參考以及真實世界還原等維度全面升級,單次可生成 30 秒視頻,並首次支持 doc、xls、ppt、pdf、md 等文檔格式輸入,力求準確還原真實世界。

剛剛