Text-to-Audio
Diffusers
Safetensors
PyTorch
minimax_music3
music-generation
text-to-music
sglang-omni
Run this model with HF Jobs
Run MiniMaxAI/MiniMax-Music3 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/MiniMaxAI/MiniMax-Music3. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/MiniMaxAI/MiniMax-Music3 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use MiniMaxAI/MiniMax-Music3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use MiniMaxAI/MiniMax-Music3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("MiniMaxAI/MiniMax-Music3", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files105 unmodified lines10610710810911011197 unmodified lines209210211212213214215105 unmodified lineshf download MiniMaxAI/MiniMax-Music3 --local-dir /path/to/minimax_ttm```### Serve with SGLang-Omni```bash97 unmodified lines## Prompt EnhancementA concise natural-language description can be used directly. For richer prompts and more precise control, use the provided [`music-caption-rewriter`](skills/music-caption-rewriter/SKILL.md) 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.```bashnpx skills add MiniMax-AI/MiniMax-Music3 --skill music-caption-rewriter105 unmodified lines10610710810911011111211311411511611711811912097 unmodified lines218219220221222223224105 unmodified lineshf download MiniMaxAI/MiniMax-Music3 --local-dir /path/to/minimax_ttm```We recommend the following inference frameworks to serve the model:- [SGLang](https://docs.sglang.io/) \- see [cookbook](https://sgl-project.github.io/sglang-omni/cookbook/minimax_music3.html)- [diffusers](https://github.com/huggingface/diffusers) \- see [diffusers docs](https://huggingface.co/docs/diffusers/main/en/api/pipelines/minimax_h3)- [ComfyUI](https://github.com/Comfy-Org/ComfyUI) \- see [Comfy tutorial](https://docs.comfy.org/tutorials/video/minimax/minimax-h3);-### Serve with SGLang-Omni```bash97 unmodified lines## Prompt EnhancementA concise natural-language description can be used directly. For richer prompts and more precise control, use the provided [`music-caption-rewriter`](https://github.com/MiniMax-AI/MiniMax-Music3/tree/main/skills/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.```bashnpx skills add MiniMax-AI/MiniMax-Music3 --skill music-caption-rewriter
README.md+10-1