MiniMax H3: FLF2V
Generate a video from a first and last frame using MiniMax H3, producing a smooth animation between the two images. You provide 2 images, and the workflow outputs a single video clip. Ideal for creating seamless transitions in animation, visualizing before-and-after transformations, and generating consistent motion for character or scene sequences.
Try an example
About this workflow
This ComfyUI workflow turns two still images—a defined first frame and last frame—into a single, smoothly animated video using the MiniMax H3 (Hailuo-03) first–last frame API. Two LoadImage nodes feed your start and end images into the MinimaxHailuo03FirstLastFrameNode, which sends them to the MiniMax service to predict the in-between frames. The node returns the generated sequence back to ComfyUI, and SaveVideo encodes it as a video file at your chosen frame rate.
Technically, the MinimaxHailuo03FirstLastFrameNode performs an API call to MiniMax H3’s First–Last Frame to Video endpoint, conditioning motion on the content of both input images to synthesize temporally consistent intermediate frames. Because the motion is guided by your exact start and end frames, you get a coherent transition without training or manual keyframing. This makes the setup ideal for before/after reveals, scene transitions, and quick animatics where you want subject consistency and controlled start/end states.
Questions & answers
Yes. The MinimaxHailuo03FirstLastFrameNode calls the MiniMax H3 (Hailuo-03) API. Enter your API key in the node’s credential field and ensure your account has access to the First–Last Frame to Video feature.
Use images with matching resolution and aspect ratio, similar framing and scale of the subject, and consistent lighting and camera angle. Large viewpoint or style jumps are harder to bridge, so pick start and end frames that are visually related.
LoadImage supports common image formats like PNG and JPG. For best results, use the same dimensions for both inputs. Note that the MiniMax API may impose size limits; if the node or API errors at high resolutions, downscale both inputs equally and try again.
The SaveVideo node writes the final clip to the output folder shown in its settings. You can change the playback speed by adjusting the FPS field in SaveVideo before running the workflow.