H3MD Director 0.6.5 lets you check the current scene while generating video and cancel if it is heading in the wrong direction. ComfyUI users generating long videos can inspect motion and composition before completion. Completed steps remain cached so work can resume.
1. Check scenes during low-resolution generation
By default, the new H3MD Live Preview window loops the entire segment predicted by the model after each step, starting at the third low-resolution computation step. You can watch the current prediction at the actual segment length rather than waiting for completion.
The small taeh3 decoder, which converts prediction data into video, is built in.
Even if the Loop node is inside another group of nodes, the preview window can sit anywhere in the workspace without any connections.
The Loop node also shows 8 frames selected from the segment. These show the model's current prediction during generation. Users can check for unwanted motion or composition and cancel the run. The preview itself does not hold up or pause execution.
2. Configure when and at which stages previews appear
Choose the preview mode with live_preview at the end of H3MD Loop Options. It defaults to the low-resolution stage, but can show both low- and high-resolution stages or be turned off.
Change the starting step with live_preview_from_step, which defaults to 3.
The default settings in the source are as follows.
DECODER_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "h3md_preview", "taeh3.safetensors")
MODES = ("low-res", "low-res + high-res", "off")
DEFAULT_MODE = "low-res"
DEFAULT_FROM_STEP = 3
N_FRAMES = 8 # frames in the strip, spread over the segment
MAX_SIDE = 1536 # longest side of the strip image sent to the browser3. Reuse completed work even after cancellation
Cancellation stops execution, but completed steps remain in the disk cache, temporary storage for reusable computation results. Enable resume_from_cache on the Loop node to reuse them on the next run. It is enabled in the example workflow.
According to the README, rerunning after an interruption, error, or computer restart loads completed groups of jointly generated scenes from the cache. An interrupted group resumes from the computation step where it stopped. The project reports that the frames matched those from an uninterrupted run.
The cache stores video frames and the model's final internal computation results for each group. The progress folder also keeps pass1.pt, the low-resolution result, at about 130MB per 50-second group. This can avoid recomputing the low-resolution stage for previews, some rework, or changes limited to high-resolution settings.
4. Replace the old preview switch with a new window
The former H3MD Redraw / Preview node is now H3MD Redraw, focused solely on redrawing a few seconds from a completed run. The preview switch that stopped after low-resolution generation has been removed. The new live preview window handles viewing scenes during generation.
Saved workflows containing the old node still open and run. These files store node connections and settings. However, the old preview switch is ignored, and execution proceeds through the high-resolution stage. The example workflow includes the new preview window.
5. Extra time and memory for earlier decisions
The project changelog reports about 2 extra seconds per step displaying a preview when generating 481 frames at 960x1664 on an RTX 5090. Under the same conditions, one low-resolution computation step took 78 seconds. The maximum additional video memory used by previews was about 0.1GB.
RTX 5090, 481 frames at 960x1664
| Item | Value |
|---|---|
| Extra time per step displaying a preview (seconds, about) | 2 |
| Time per low-resolution computation step (seconds) | 78 |
| Maximum additional video memory (GB, about) | 0.1 |
In this measurement, preview overhead was shorter than one low-resolution computation step. Users can cancel unnecessary subsequent work during generation, at the cost of extra processing time and memory for steps with previews enabled.
Previews are display-only and excluded from cache keys, the identifiers that distinguish stored results. A preview error disables only the preview for that run and is logged, while rendering continues. The small decoder makes the preview video look softer than the final output.
The core of 0.6.5 is enabling decisions during generation to reduce waiting for rework, while preserving completed computation even after cancellation.
