Nodes/ComfyUI-MiniMax-Music-Production-Toolkit/MiniMax Music 3 Generation Settings
ComfyUI Node

MiniMax Music 3 Generation Settings

One seed in, every reproducible MiniMax parameter out

By jplenio·Created about 16 hours ago·Updated about 15 hours ago· 0
MiniMax Music 3 Generation Settings
    • max_duration
    • text_seed
    • text_cfg_scale
    • text_top_k
    • ksampler_seed
    • ksampler_steps
    • ksampler_cfg
    • denoise
    generation_seed
    max_duration300
    text_cfg_scale1.70
    text_top_k50
    ksampler_seed_offset0
    ksampler_steps40
    ksampler_cfg1.70
    denoise1.00

    Reproducibility in a music-generation graph has a chicken-and-egg problem: you want the text stage and the audio sampler stage to each get their own seed, but if you hand-type them separately, the two seeds drift apart and "same song again" becomes "slightly different song every time." MiniMax Music 3 Generation Settings solves it the boring, correct way - you give it one generation_seed, and it derives both stage seeds from it. Change one number and the whole run changes deterministically; keep it and everything lines up.

    The derivation is dead simple: text_seed = generation_seed, and ksampler_seed = text_seed + ksampler_seed_offset (both modulo the seed range). Offset 0 keeps them aligned, which is the default and the right call for most people; a nonzero offset is for when you want to vary the audio sampler while keeping the same primary seed reference. This is the reproducibility anchor of the whole pack - the README calls generation_seed the seed you can also reuse for artwork generation.

    The inputs

    • generation_seed - the primary song seed. Force-input, so wire it from the parser or prompt source.
    • max_duration (default 300 s, cap 360) - an upper bound, not a promise. The model can still end early if the Lyrics/section structure encourages a shorter track, which is why the prompt library harps on long instrumental section maps.
    • text_cfg_scale (default 1.7) and text_top_k (default 50) - guidance and sampling breadth for the MiniMax text/autoregressive stage.
    • ksampler_seed_offset, ksampler_steps (default 40), ksampler_cfg (default 1.7), denoise (default 1) - the diffusion/audio sampler stage.

    Outputs

    Everything the MiniMax node and the metadata chain needs, as typed outputs: max_duration, text_seed, text_cfg_scale, text_top_k, ksampler_seed, ksampler_steps, ksampler_cfg, denoise. Wire the text values into the MiniMax text stage, the sampler values into the audio sampler, and all of them into MiniMax Song Metadata so the sidecar records exactly what ran. (There's a separate KSampler + Config Output node for the FLUX cover branch - this node is specifically the MiniMax Music 3 settings hub.)

    Installing it

    Pack install via ComfyUI Manager (search "MiniMax Music Production Toolkit") or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/jplenio/ComfyUI-MiniMax-Music-Production-Toolkit.git
    cd ComfyUI-MiniMax-Music-Production-Toolkit
    python -m pip install -r requirements.txt
    

    Dependencies: scipy, soundfile, imageio-ffmpeg, mutagen, Pillow. Restart ComfyUI and hard-refresh once.

    Gotchas

    The 360-second max_duration cap is the one hard limit that surprises people - MiniMax Music 3 won't be pushed past it from here, so if you genuinely need a six-minute track, this node isn't the place to ask for it. And note max_duration is a float on input but the audio sampler expects what it expects; the node passes it through as a FLOAT, so check your downstream node's accepted type if you hit a validation error. Otherwise there's not much to break here - which is the point. It's a deterministic settings hub, and it behaves like one.

    CategoryMiniMax Music Production Toolkit/config

    Inputs (8)

    NameTypeDefaultDescription
    generation_seedINTPrimary song seed. In this workflow it is the reproducibility anchor used to derive MiniMax text/sampler seeds and can also be reused for artwork generation.
    max_durationFLOAT3001–360Maximum MiniMax Music generation duration in seconds. This is an upper bound; the model can still end earlier if the musical/Lyrics structure encourages a shorter track.
    text_cfg_scaleFLOAT1.700–10Classifier-free guidance strength for the MiniMax text/autoregressive stage. Higher values generally enforce the prompt more strongly but can reduce naturalness or introduce artifacts when pushed too far.
    text_top_kINT501–1000Top-k sampling limit for the MiniMax text/autoregressive stage. Lower values make sampling more conservative/repetitive; higher values allow more alternatives and variability.
    ksampler_seed_offsetINT0-1000000–1000000Integer offset added to generation_seed to create the diffusion/audio sampler seed. 0 keeps text and sampler seeds aligned; changing it lets you vary the sampler while retaining the same primary generation seed reference.
    ksampler_stepsINT401–200Number of diffusion/sampling steps used by the MiniMax audio sampler. More steps cost more time and are not guaranteed to improve quality beyond the model's useful range.
    ksampler_cfgFLOAT1.700–20Guidance strength for the MiniMax diffusion/audio sampler. Higher values follow conditioning more aggressively but excessive values can sound strained or artificial.
    denoiseFLOAT1.000–1Sampling denoise strength. 1.0 performs the full denoising process; lower values retain more of an existing latent/input state where applicable.

    Outputs (8)

    NameTypeDescription
    max_durationFLOAT
    text_seedINT
    text_cfg_scaleFLOAT
    text_top_kINT
    ksampler_seedINT
    ksampler_stepsINT
    ksampler_cfgFLOAT
    denoiseFLOAT