Instructions to use BornSaint/minimax-music3-latent-refiner-v0.10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use BornSaint/minimax-music3-latent-refiner-v0.10 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("BornSaint/minimax-music3-latent-refiner-v0.10", 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
| { | |
| "id": "5bea4ab7-34cf-48dc-8709-227c66c47db5", | |
| "revision": 0, | |
| "last_node_id": 4, | |
| "last_link_id": 4, | |
| "nodes": [ | |
| { | |
| "id": 1, | |
| "type": "LoadAudio", | |
| "pos": [40, 300], | |
| "size": [340, 90], | |
| "flags": {}, | |
| "order": 0, | |
| "mode": 0, | |
| "inputs": [ | |
| {"name": "audio", "type": "COMBO", "widget": {"name": "audio"}} | |
| ], | |
| "outputs": [ | |
| {"name": "AUDIO", "type": "AUDIO", "links": [1]} | |
| ], | |
| "properties": {"Node name for S&R": "LoadAudio"}, | |
| "widgets_values": ["input.wav", null] | |
| }, | |
| { | |
| "id": 2, | |
| "type": "MiniMaxMusic3LatentRefinerLoader", | |
| "pos": [40, 80], | |
| "size": [430, 110], | |
| "flags": {}, | |
| "order": 1, | |
| "mode": 0, | |
| "inputs": [ | |
| {"name": "model_id", "type": "STRING", "widget": {"name": "model_id"}}, | |
| {"name": "precision", "type": "COMBO", "widget": {"name": "precision"}} | |
| ], | |
| "outputs": [ | |
| {"name": "refiner", "type": "MINIMAX_MUSIC3_REFINER", "links": [2]}, | |
| {"name": "bundled_audio_vae_encoder", "type": "AUDIO_VAE_ENCODER", "links": [3]} | |
| ], | |
| "properties": {"Node name for S&R": "MiniMaxMusic3LatentRefinerLoader"}, | |
| "widgets_values": ["terminusresearch/minimax-music3-latent-refiner-v0.10", "fp32"] | |
| }, | |
| { | |
| "id": 3, | |
| "type": "MiniMaxMusic3LatentRefine", | |
| "pos": [560, 150], | |
| "size": [430, 310], | |
| "flags": {}, | |
| "order": 2, | |
| "mode": 0, | |
| "inputs": [ | |
| {"name": "refiner", "type": "MINIMAX_MUSIC3_REFINER", "link": 2}, | |
| {"name": "audio", "type": "AUDIO", "link": 1}, | |
| {"name": "steps", "type": "INT", "widget": {"name": "steps"}}, | |
| {"name": "window_seconds", "type": "FLOAT", "widget": {"name": "window_seconds"}}, | |
| {"name": "overlap_seconds", "type": "FLOAT", "widget": {"name": "overlap_seconds"}}, | |
| {"name": "direct_sequence", "type": "BOOLEAN", "widget": {"name": "direct_sequence"}}, | |
| {"name": "audio_vae_encoder", "type": "AUDIO_VAE_ENCODER", "link": 3}, | |
| {"name": "audio_vae_decoder", "type": "VAE", "link": null} | |
| ], | |
| "outputs": [ | |
| {"name": "refined_latents", "type": "LATENT", "links": []}, | |
| {"name": "refined_audio", "type": "AUDIO", "links": [4]} | |
| ], | |
| "properties": {"Node name for S&R": "MiniMaxMusic3LatentRefine"}, | |
| "widgets_values": [32, 30.0, 2.0, false] | |
| }, | |
| { | |
| "id": 4, | |
| "type": "SaveAudio", | |
| "pos": [1080, 220], | |
| "size": [330, 90], | |
| "flags": {}, | |
| "order": 3, | |
| "mode": 0, | |
| "inputs": [ | |
| {"name": "audio", "type": "AUDIO", "link": 4}, | |
| {"name": "filename_prefix", "type": "STRING", "widget": {"name": "filename_prefix"}} | |
| ], | |
| "outputs": [ | |
| {"name": "AUDIO", "type": "AUDIO", "links": null} | |
| ], | |
| "properties": {"Node name for S&R": "SaveAudio"}, | |
| "widgets_values": ["audio/minimax_music3_refined"] | |
| } | |
| ], | |
| "links": [ | |
| [1, 1, 0, 3, 1, "AUDIO"], | |
| [2, 2, 0, 3, 0, "MINIMAX_MUSIC3_REFINER"], | |
| [3, 2, 1, 3, 6, "AUDIO_VAE_ENCODER"], | |
| [4, 3, 1, 4, 0, "AUDIO"] | |
| ], | |
| "groups": [], | |
| "config": {}, | |
| "extra": {"ds": {"scale": 1.0, "offset": [0, 0]}}, | |
| "version": 0.4 | |
| } | |