H3MD Director Renders 2-Minute H3 Video, Swaps 1-5 People

ComfyUI Wikinews

H3MD Director plans multi-shot MiniMax H3 video in ComfyUI and renders 2-3 minute 1080p takes in one run, with seamless chained windows, 1-5 person swap and per-second repair.

H3MD Director is a ComfyUI node pack that turns a shot list into long MiniMax H3 video: 2 to 3 minutes at 1080p in one run, with each shot keeping its own prompt, reference pictures, video and music. The 0.6 release adds multi-person swap; version 0.6.2 adds a reference-video editor. Install it with comfy node install comfyui-h3md-director or from ComfyUI-Manager.

3-minute single take rendered by H3MD Director

Long video without seams

ComfyUI's core context windows average the overlaps between windows. H3MD's Chained Context Windows (0.4.0) runs the windows in time order and lets each one take over the overlap from the previous window, so overlaps are not averaged and nothing doubles. Continued shots render on one timeline, hard cuts stay hard, and long plans split into groups of about 60 s only at a cut.

Measured on an RTX 5090: a 2 min 20 s music video at 1920x1088 and 48 fps took 2 h 18 min with a compute VRAM peak of 11.1 GB. A 21 s 2K shot at 2560x1408 took 41 min. Window mode costs about 25% more time than the older chained approach, and the switch turns it off again.

A 1080p long take, excerpt.

Swap 1-5 people, repair in seconds

Multi-person swap (0.6) replaces 1 to 5 people in a real clip while keeping motion, camera, lip movement and sound. You link pictures to people on the cast panel, an AI writes the keyframe prompts, H3 Image redraws the keyframes, and the Director runs the swap pass.

Left: source clip with three dancers. Right: the same clip after a three-person swap.

When one part goes wrong you do not re-render the whole video: H3MD Redraw / Preview regenerates a few seconds of a finished clip, rerun_segments re-renders whole segments locked to their neighbours, and every finished part stays in a disk cache. lowres_anchor holds colour and faces stable across a long single take.

0.6.2 adds H3MD Ref Splice: cut several moves out of one reference video, reorder or repeat them, add transitions, and let your own characters perform the result. Each run writes a plan package with ai/edit.json and transition stills, so an LLM can rewrite the prompts from what is actually on screen.

Requirements

16 GB of VRAM is the minimum, 24 GB or more recommended. You need ComfyUI 0.43 or newer, and 0.44 or newer for seamless long video. Example workflows ship in the pack and appear under ComfyUI Templates, and the automatic VRAM split, strip tiling and disk cache let 2K plans run on 64 GB of system RAM.

Availability

Repository and full notes | Changelog

The repo also includes a prompt skill for writing H3MD shot prompts in Claude Code, Codex or any agent that reads SKILL.md, plus a demo plan zip for a single 12 s shot.

Comments

Sign in with GitHub to join the discussion.

Loading comments…
H3MD Director Renders 2-Minute H3 Video, Swaps 1-5 People | ComfyUI Wiki