New in 0.6: an upgraded keyframe method. FREE, open-source, runs locally. Multi-character swap (up to 5 people, 2–3 min videos) now holds on complex scenes that break other swap tools: crossing, overlapping, walking in and out of frame, look-alike outfits. The machine pre-checks, you confirm who is who, your AI writes the keyframes. Tutorial with English audio (EP09): https://youtu.be/ye7YbiWgzsg
Most video workflows stop at 10–15 seconds. H3MD Director is a free, open-source ComfyUI node pack that renders 2–3 minute videos with MiniMax H3 in one run – one continuous take, or a sequence of planned shots.
中文简介在下方 ↓
At a glance
• Two modes: 0.3.x renders segment by segment – each segment continues from the last 1.6 s of the one before. 0.4 adds Seamless long video (CCW, Chained Context Windows) – the whole take is rendered on one timeline. One tick box on the Director switches between them.
• Measured on one RTX 5090: a 2 min 20 s 1080p music video with Seamless long video in 2 h 18 min (10 shots, 3 groups, 48 fps), compute VRAM peak 11.1 GB. Full numbers in "About this version" on the right.
• VRAM: 16 GB minimum, 24 GB+ recommended; the 4B text encoder option saves 10+ GB.
• What you can make: music videos with lip-sync, motion copy, text-to-video. On the Director panel you plan every shot – length, prompt, reference pictures, locked audio.
• Examples: the gallery above; open the showcase post to see each clip's settings.
What's new in 0.4
CCW – Chained Context Windows: tick "Seamless long video" on the Director. Continued shots render together on one timeline – no continuation seams, no drift, no double images where windows overlap. Hard cuts stay clean. Needs ComfyUI 0.44+.
Redraw a few seconds: the H3MD Redraw / Preview node re-renders only the seconds you type (e.g. 1:12-1:15); you can change that shot's prompt or pictures first. Everything else stays frame-identical.
8-bit cache in the example workflows: about 9 GB per minute of 1080p instead of 18 GB, no visible difference.
Frame interpolation (48 / 60 fps) no longer blends two shots at a hard cut. 0.4.3: lighter Control Panel – each LoRA dropdown loads the full list only when you open it.
Earlier, in 0.3: the simple workflow (one Control Panel + the Director), the "Which segments" box to redo only some segments, plan export / import as one zip, and optional drift correction on save.
Install
ComfyUI 0.43+ (native MiniMax H3); 0.44+ for Seamless long video.
ComfyUI Manager → search "H3MD Director", or clone the GitHub repo into custom_nodes.
Drag H3MD Director simple.json from the zip onto the canvas.
GitHub (docs, model table, prompt guide): https://github.com/1113800942/comfy-h3md-director
Tutorials on YouTube: https://www.youtube.com/channel/UC1H4UDuSqD6M7BqLUlVy9lA
Install + first long video (EP02): https://youtu.be/zvPqr6ihZic
Seamless long video + redraw a few seconds (EP03): https://youtu.be/k0jZIbaH-aA
Previous version page (v0.1.1): https://civarchive.com/models/3032684
Full technical details (measured speed and memory, model files and where they go, optional parts): open "About this version" on the right, or see the GitHub README.
Run it online (no GPU needed)
RunningHub – cloud ComfyUI with ready-made workflows.
Three ready-to-run H3MD apps on RunningHub (referral links: the invite code gets you a discount, and it also supports this project):
• AI short drama, 6 shots, swap the images and the story: https://www.runninghub.ai/ai-detail/2120401708354838530?inviteCode=aolwbd1n
• Long music video, one photo + one song: https://www.runninghub.ai/ai-detail/2120407904939876354?inviteCode=aolwbd1n
• Motion copy, your photo follows any video: https://www.runninghub.ai/ai-detail/2120413562564083713?inviteCode=aolwbd1n
H3MD Director workflow on RunningHub: https://www.runninghub.ai/zh-cn/post/2117897074309345281
中文简介
0.6 主要升级:增强和改进了关键帧做法,现在能应对复杂的多人换位场景,换位、遮挡、进出镜头、衣服颜色接近都不换错。免费开源、本地运行,2–3 分钟视频,最多 5 个人。机器预检加人工复核,关键帧提示词交给你自己的 AI 写。教程(EP09,带英语配音):https://youtu.be/ye7YbiWgzsg
H3MD Director 是免费开源的 ComfyUI 节点包,用 MiniMax H3 一次生成 2–3 分钟的长视频:可以是一整个长镜头,也可以是按计划排好的一组镜头。
• 两种生成方式:0.3.x 是分段式,一段接一段生成,每段从上一段最后 1.6 秒接着往下走;0.4 增加了无接缝的窗口式(接续窗口 CCW),整条长镜头放在一条时间线上一起生成。导演台上勾一下就能切换。
• 0.4 无接缝长视频(接续窗口 CCW):在导演台顶部勾「Seamless long video」,接续的镜头放在同一条时间线上一起生成,段与段之间没有接缝、不漂移,窗口重叠的地方也不重影;硬切照样干净。需要 ComfyUI 0.44 以上。
• 局部重绘:「H3MD Redraw / Preview」节点只重跑你填的那几秒(如 1:12-1:15),可以先改这个镜头的提示词或参考图,其余画面逐帧不变。
• 缓存改 8 位:1080p 每分钟约 9 GB(原来约 18 GB),画质看不出差别。
• 实测 RTX 5090:2 分 20 秒的 MV(1920×1088,10 个镜头,3 组,48 fps)2 小时 18 分钟,计算显存峰值 11.1 GB;比分段式慢约 25%。
• 安装:ComfyUI Manager 搜「H3MD Director」,或把 GitHub 仓库克隆到 custom_nodes,再把压缩包里的工作流拖进画布。国内镜像:huggingface.co/yj0942/H3MD-Director(打不开可以把 huggingface.co 换成 hf-mirror.com)。
• 教程视频是中文讲解(带中英字幕),第三集:https://youtu.be/k0jZIbaH-aA
• 没有显卡也能跑:RunningHub 上三个现成应用(邀请链接,用邀请码有优惠):
– AI 短剧(6 镜头可换图换剧情):https://www.runninghub.ai/ai-detail/2120401708354838530?inviteCode=aolwbd1n
– MV(一张照片 + 一首歌):https://www.runninghub.ai/ai-detail/2120407904939876354?inviteCode=aolwbd1n
– 动作复刻(照片跟着视频动):https://www.runninghub.ai/ai-detail/2120413562564083713?inviteCode=aolwbd1n
License
• H3MD nodes: AGPL-3.0. MiniMax H3 weights are not included and have their own license.
• The RunningHub links are invite links (new sign-ups get a discount).
Sample videos are our own, made with H3MD: v0.4.3 – Peter, from the 0.4 seamless music-video test; v0.3.3 – Eve, "Above the Clouds" (song made with ACE-Step 1.5).
Built on ideas and work from Luna, Niko, Marker, LBH-123-AI, Kijai, T8 and others – thank you. License: AGPL-3.0 with attribution.
Description
0.6 is all about keyframes. We rebuilt and improved how H3MD makes keyframes, so multi-character swap now works on complex scenes: people crossing and changing places, blocking each other, walking in and out of frame, outfits that look alike.
What changed in the keyframe method:
• Pre-scan: face tracking + body masks follow every person and build a cast list automatically.
• One-pass human check: confirm who is who by dragging lines; one picture can link to several boxes for half-visible people.
• Your own AI writes the keyframe prompts with the included skill; H3 Image paints them.
• Keyframes only where the picture needs one (start, each cut, someone entering or coming back, people swapping places): a 38 s five-person clip went from 19 keyframes to 10.
• Redo rerolls a single keyframe; for big errors ask your AI for a new package (cached, only the wrong ones rerun).
Then export the plan and import it on the Director in multi-person swap mode. Full walkthrough with English audio (EP09): https://youtu.be/ye7YbiWgzsg