H3 Last Frame
The tiny node that hands a take to the next stage
- images
- IMAGE
Takes a batch of images, returns the last one. That's the whole node - and in the H3 Multishot universe, "the last frame" is a concept with a job.
Here's the context. The two-stage episode workflow renders a long piece in two parts: stage A establishes the scene and the characters, then stage B continues it. The thing that makes stage B continuation instead of a fresh unrelated render is that it starts from where stage A ended. H3LastFrame pulls that exact pixel - the final frame of the stage A video - and hands it to stage B's start_image. Video diffusion models are trained to continue from a first frame; give them the true last frame of the previous take and the next take inherits the face, the room, the lighting and the camera position for free, the same way this pack's first_frame continuity mode carries state across shot boundaries.
How it works
One input, images (an IMAGE batch - wire the output of a VAE decode or a video-to-frames node), one output of the same type containing just the last frame. Implementation is literally images[-1:], preserving the batch dimension so it can feed an I2V start_image input directly.
The tooltip says it best: "Stage A frames; the final frame seeds stage B's start_image." That's the whole contract. You can reach for it anywhere you need "the last thing that happened" - a loop's final frame, the tail of a reference clip, the end state of a pre-pass - but in this pack it's the seam between the two stages of an episode.
One honest caveat: a single frame carries the look, not the motion. If stage B needs the velocity or gesture direction of stage A's ending to continue, one still won't carry that - that's what the memory sampler's context_pin mode and its 22-frame raw-latent pin are for. H3LastFrame is the lightweight path: cheap, obvious, and perfect when a still is enough.
Install
It's one node in the H3 Multishot pack:
cd ComfyUI/custom_nodes
git clone https://github.com/jlucasmcrell/ComfyUI-H3-Multishot
or ComfyUI-Manager → H3 Multishot (Registry: comfyui-h3-multishot). Restart; ComfyUI v0.30.0+ required for the H3 model nodes this feeds. No dependencies to install - the pack's requirements are deliberately empty.
If you're wondering whether it's worth installing a whole pack for one frame-grabber: it isn't, on its own. But if you're already here for the multishot samplers, this is the node that ties the two-stage workflows together, and you'll find it pre-wired in the shipped graphs.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | Stage A frames; the final frame seeds stage B's start_image. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |