/dw:minimax-music3from dw
Generates music via MiniMax Music 3 on a dw server: songs with lyrics, instrumentals, film scores, or music videos. Selects the correct template, enforces memory limits, and handles post-processing like trimming and stem separation.
Ships in dw. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Music 3 writes a whole track from two strings: a caption that says how it sounds and a lyrics body that says what happens section by section. It runs on a dw server as one modular pipeline step, and the catalog already holds the shapes; do not author a new workflow until the shape decision below fails.
This skill is written for dw 0.23.1; get_server_info's plugin says whether that is current.
get_server_info: the device. On mps the music template runs, slower
than the CUDA cost says; music-video (it also runs H3) hasn't been
run there. On cpu stop and say so.list_workflows(shape="audio"), and shape="sequence" for the music video.
Trust the names below only after the listing confirms them.get_workflow on the one chosen, for its variables and defaults.references/memory.md:
which get_memory reading to trust, when clear_memory first, and why
never to retry into a failed attempt without it.templates/minimax/music. Lyrics with section tags plus a caption
that names the vocal gender and timbre. This is the default shape.[intro], [instrumental], [solo], [outro], one per line) and a caption
that says instrumental and names the instrument carrying the lead. The
diffusers pipeline has no instrumental flag and rejects empty lyrics, so
tags are how it's requested. It can still grow a voice (1 run in 4 probed):
check the vocals stem of separate_stems with analyze_audio against
the mix, never a transcript of the mix - Whisper invents words on music.music-long sections, as long-form says), trimmed and faded with
templates/audio-trim-fade, then mixed under the picture as
templates/assemble-and-score does with pair_audio. Each H3 shot should
have written non_diegetic_music: N/A so the two scores don't fight. A
score that buries a shot's voice-over is not a world_gain fix - see the
minimax-h3 skill's ducking recipe: gain_audio regions on the score
itself, one per voice-over shot, applied before it's passed as score.templates/minimax/music-video. The song is written
first, slice_audio deals frame-exact pieces to lip-synced H3 shots (each
rendered with a short run-up that trim_video drops), and pair_audio
lays the unbroken track back over the edit. song overrides the written
song with an asset:. The ceiling must
exceed the total sliced length by a real margin, not a fraction of a
second, since the model may stop early.If none fits, compose from list_tasks (slice_audio, fade_audio,
pair_audio, mix_audio, concat_videos) before authoring; read the
workflows guide's authoring section first.
audio_duration is a ceiling, not a target: the language model stops when
the song ends, and generation is cut at the ceiling if it hasn't. The
pipeline's default is 60 seconds; the templates set 120 s (music),
30 s (music-video) and 45 s a section (music-long). Ask for more than the piece needs and trim; the run's time
follows the length generated; the quote assumes the whole ceiling.
The consequence to size by: the arc the caption describes stretches to fill
its given budget, so a ceiling set at the intended length isn't a
piece that ends early with room to spare - it's the same piece stretched
to the ceiling and cut off there. A caption written for about 20
seconds under a 22-second ceiling comes back stretched and truncated. Set
the ceiling to at least 1.5x the length wanted and trim with
templates/audio-trim-fade. This is why a track whose
duration_seconds lands within 0.2 s of its ceiling reads as cut
off rather than finished.templates/minimax/music-long, per long-form/references/audio.md.music-long section is cut at
its seconds: size it per long-form/references/audio.md.[Intro], [Verse], [Pre-Chorus], [Chorus],
[Post-Chorus], [Bridge], [Instrumental], [Solo], [Outro]. A tag can
carry a local direction for its section, spelled out in the caption's
arrangement text.sample_rate: 44100 because the modular output carries no rate
itself.num_inference_steps.release_pipeline first, as music-video does.attribute_voices with a reference
span per singer and cast each shot from its answer. Never infer the singer
from pitch: a tenor and a mezzo share the range.The caption format is MiniMax's own. Don't invent or paraphrase it from the templates' examples:
music-caption-rewriter skill is installed (MiniMax ships it in
https://github.com/MiniMax-AI/MiniMax-Music3 under skills/, with a genre
router, 18 family indexes and 1,000 example captions), use it. If it is
not, tell the user once that
npx skills add MiniMax-AI/MiniMax-Music3 --skill music-caption-rewriter
installs it; this is the family where the local skill pays off, since a
fetch of SKILL.md alone doesn't reach the templates.skills/music-caption-rewriter/SKILL.md and
skills/music-caption-rewriter/references/genre-router.md in that repo. The
contract is three headings in order - Global Metadata, Vocal Details,
Arrangement - in 250-450 English words, with no title, no reasoning, and
no lyric line copied into the caption. The pipeline strips markdown
headings and emphasis on input, so the vendor's caption pastes
straight into prompt. This is the recommended route: a 24-shot field
report's three-heading caption produced a correct, complete song on its
first seed (#484).list_prompts(intended_model="minimax-music3") names them and
get_prompt reads one. Read the exemplar before writing a caption - it's
what the format looks like when right, not a source to paraphrase the
rules from.Lyrics carry the structure: tags for the sections, the words to sing under them, and nothing else. The tag list is the model card's "Fine-Grained Music Control" section.
validate_workflow first - free, and it catches arguments the pipeline
does not accept.plan.estimate from the validate answer (warm minutes on the card it
was measured on; a first load is longer). When basis is unknown, say so and give
the shape of the spend: the autoregressive stage runs at 25 frames per
second of audio and dominates, so time scales with the length the model
sings, not the ceiling. Get the user's go-ahead before
run_workflow with acknowledged_cost set to the plan's
{fingerprint, minutes, downloads}.wait_for_job with timeout_seconds = the estimate plus a margin
(timeout_capped says the server's cap cut it; call again while
still_running). If the call dies client-side ("timed out") first, call again with timeout_seconds 60 and loop; a running job lists finished_steps. Then get_job for the manifest. Each manifest entry
carries subfolder: templates/minimax/music-video puts the cut in
final and the song, the singer's portrait and each shot in
intermediate, and list_gallery(subfolder="final") lists only
deliverables. Keep the convention in anything you compose from a template:
the step whose output the user will be shown is final, every other
saving step intermediate.get_gallery_metadata for duration and sample rate:
media.duration_seconds within 0.2 s of audio_duration means the
ceiling cut the track (raise it and rerun); well short of it means the
song finished on its own. For loudness (peak_dbfs, integrated_lufs,
matching a mix) read references/loudness.md. Then listen with
get_output_audio (start/duration excerpts) for the family's failure modes. A text-only
client can't hear: take level and structure from get_gallery_metadata
(envelope=true) and assess_output, sung lines from attribute_voices
(Whisper invents words on music). The modes: a
song gone instrumental (name the vocals in the caption), an ending
cut mid-note (raise the ceiling, then trim), a structure ignoring the
tags (fewer sections, plainer directions). Hand the user the gallery
url.keep_output makes it an asset:;
to trim it in the same run, chain templates/audio-trim-fade on the output.
To cut picture to the song, analyze_beats on it returns its bpm and beat
times; with the tempo known, tempo_bpm plus one anchor lays an exact grid.
templates/minimax/music-video-cuts plans the cuts from its lyrics (the
minimax-h3 skill: plan, read, prompt, render).references/keeping-a-run.md saves it by name
and exports it.MiniMax-Music3 model card (https://huggingface.co/MiniMaxAI/MiniMax-Music3,
2026-08): the tag vocabulary, the Structured Caption headings, the five-minute
range, the VRAM tiers. The music-caption-rewriter skill in
https://github.com/MiniMax-AI/MiniMax-Music3 (2026-09-08): the caption
contract. The diffusers minimax_music3 modular pipeline and its docs page
(diffusers 0.41, 2026-09-08): the ceiling semantics, the 9000-frame and
5,000-token caps, the 200-frame window, the guider, the 44.1 kHz output, the
drift-instrumental tip.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
music-generation, ai-music, audio-production, dw-server, minimax
12 skills in this plugin
/choosing-a-modelUse when a dw MCP server is connected and the user asks for a picture without naming a model family, workflow or model ("draw a lighthouse", "make me an image of...", "the best you can do"). Routes the request to the server's preferred model through templates/preferred/text-to-image and its tier, keeps SD 1.5 for "does it work" smoke tests, lets a named family or workflow win, and reads the plan's preference line before spending./cinematographyUse when a dw MCP server is connected and the user directs the camera or the look - a shot size, a camera move (dolly, crane, orbit, whip pan, crash zoom), a lens, lighting, a film era, a pace, or a named colour grade (noir, teal-orange, 70s stock, VHS, bleach bypass) - for an H3, LTX-2.5, Kandinsky 6, FLUX 3 Klein or MiniMax-H3-Image generation. Gives a closed vocabulary and the one sentence each value becomes in that family's own caption format, and the grades as apply_lut palettes plus film_grain./flux3-kleinUse when a dw MCP server is connected and the user wants an image from FLUX 3 Image Klein - a picture from a short request or a full caption, an edit of their photo, several reference pictures combined into one, or a layout with elements placed by box. Picks the template, states the distilled schedule, the size grid and the reference rules the pipeline does not check for you, quotes cost, and points at Black Forest Labs' upsampler and prompting guide./kandinsky-6Use when a dw MCP server is connected and the user wants Kandinsky 6.0 video - a five-second clip with its own soundtrack from text, or from a picture that becomes the first frame. Picks the template, states the distilled schedule and the size and frame rules the pipeline does not enforce for you, quotes cost, and points at Kandinsky Lab's own prompt format./long-formUse when a dw MCP server is connected and the request is longer than one clip - a scene to block, a long take, a series, a music video, or music or narration longer than one generation. Splits the piece into scenes, picks per scene a single clip, cuts or a chain, sets the chain's shot preset and per-segment check, repairs one bad segment in place, joins long narration and music, and exports the cut for an editor. Every rule cites the bench record it came from./ltx-2.5Use when a dw MCP server is connected and the user wants LTX-2.5 video - a short clip with its own soundtrack, a clip from one picture or between two, a sharper full-size render, a 2x upscale of its own or the user's clip, a subject held across a clip from a reference sheet, a blurry or compressed clip restored, a black-and-white clip colourised, an alpha matte pulled from a clip, or a clip extended or chained longer. Picks the template, states schedule and size rules, quotes cost, and carries the trained caption spec the prompt must follow.npx claudepluginhub dkackman/diffusers-workflow --plugin dwOther plugins' skills for the same job