Lily Cut: Open-Source Pipeline Turns Local MiniMax H3 Into Beat-Synced Music Videos
ImpactDismal · reddit · 2026-11-28
The author built Lily Cut, an open-source tool around ComfyUI for making music videos with local MiniMax H3, automating the tedious parts.
ComfyUI integration
- Export the H3 workflow as API JSON; Lily Cut patches prompt, references, audio trim (start/duration), Duration, seed and output name per clip, then queues it
- Music sync relies on the H3 Native Audio Lock node (song locked into the audio latent); an example workflow is included
- Works with the Deno Multi Reference Image Loader or plain LoadImage nodes
- Optional Demucs workflow extracts the vocal stem for lip-sync
Planning
- Song analysis → bar-aligned clips (2–5 bars, snapped to valid H3 lengths of 17k+5 frames)
- 55 shot templates: cuts inside a clip land on beats, drops/breakdowns land on bar lines
- Vocal stem → per-beat vocal activity → prompt states who sings in which seconds
Rendering & output
- Several takes per clip, resumable queue, Telegram/Discord notifications
- Frame-accurate stitching on the song timeline, soft cuts, full original song
- Optional credits: MP4 metadata, corner card, invisible VideoSeal watermark (no personal data, can be disabled)
Python stdlib + ffmpeg (librosa for analysis), local browser UI, 7 languages, MIT.
More from coding & agent
- Dev shows fully autonomous agent pipeline: auto-filing and merging SDK updates with no human in the loop — samgoodwin89 · 2026-11-28
- App Store Connect CLI 7.7.0 ships JSON errors and command discovery for agents — rudrank · 2026-11-28
- Google Antigravity update cuts unnecessary approvals 15%, adds native GitHub integration — rseroter · 2026-11-28
- Open-source Docker guide tailored for AI model development and deployment — adnan_hashmi · 2026-11-28
- Founder's AI infra engineer now runs meetings and mentors juniors like an orchestrator agent — DanielLockyer · 2026-11-28
- Ex-Google engineer open-sources white-collar-bench to test agents on real knowledge work — vivekhaldar · 2026-11-28