How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
from diffusers.utils import export_to_video

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("MiniMaxAI/MiniMax-H3", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("SimpleTuner/minimaxh3-suno-reggae-rank128")

prompt = "<STYLE> roots reggae, warm analog dub production, laid-back one-drop drum groove, deep round bassline, skanking guitar upstrokes, organ bubble, spacious mix with tape echo and spring reverb, soulful male lead vocal, mid-tempo\n<LYRICS> [verse] Morning sun a rise pon di mountain top River run easy and di worries stop We carry good vibes from di country road Every likkle burden turn a lighter load\n[chorus] Lift up yuh heart now, sing it loud and clear One love a di message and di roots right here Drum and di bass dem a guide di way Sweet reggae music till di break of day"

output = pipe(prompt=prompt).frames[0]
export_to_video(output, "output.mp4")

Not-For-All-Audiences

This repository has been marked as containing sensitive content and may contain potentially harmful and sensitive information.

View model card