# ComfyUI MiniMax H3 Timeline Director

Creator WeCom contact card

Creator: Xiao Huanggua
Bilibili · YouTube

[简体中文](README_CN.md) · English An editable reference-media timeline for ComfyUI's native **MiniMax H3 Reference to Video** pipeline. Instead of preparing every reference video, soundtrack, boundary frame, image, and audio clip in separate nodes, the Timeline Director brings them into one visual editing surface. Place and trim video clips, scrub a low-resolution preview, define the cyan generation range, and let the node assemble the exact H3 references at queue time. > This project is designed for a recent ComfyUI build that includes the native `MiniMaxH3ReferenceToVideo` implementation. ![MiniMax H3 Timeline Director workflow overview](docs/images/workflow-overview.webp) ## Why this node exists Reference-to-video workflows become difficult to manage when they contain several source clips, cropped time ranges, paired soundtracks, standalone references, and first/last-frame context. The Timeline Director turns that graph-level preparation into a familiar timeline: - video clips live on an editable video track; - each video's original soundtrack stays bound to the clip; - the cyan region defines the generation/reference interval; - the red playhead drives a low-resolution preview; - reference images and standalone audio live in separate bins; - H3 tags and media inputs are assembled automatically; - two merged audio tracks are exposed as regular ComfyUI `AUDIO` outputs. ## Highlights - **Editable multi-clip timeline** — move, trim, split, delete, and precisely position video clips. - **Bound video soundtracks** — original audio follows every move, trim, and split operation. - **Range-aware reference extraction** — only the part of a video overlapping the cyan range is decoded and sent to H3. - **Automatic boundary frames** — extracts visual context immediately outside the selected range. - **Gap bridging** — a range placed between two clips uses the left clip's final frame and the right clip's first frame. - **One-click gap matching** — fit the cyan range exactly to the nearest gap. - **Edge snapping** — clips, trim handles, the cyan range, and the red playhead snap to nearby edges. - **Low-resolution monitoring** — cached, silent proxies up to `480×270` at `12 fps` make scrubbing responsive even with large sources. - **Resolution protection** — reference frames are resized during decoding to the node's `width × height` before they can accumulate as full-resolution tensors. - **Stable independent numbering** — standalone images always begin at `` and standalone audio always begins at `