Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-MiniMaxH3-Contex-Loop > MiniMax H3 Reference Video Prep

ComfyUI Node: MiniMax H3 Reference Video Prep

Class Name

MiniMaxH3ReferenceVideoPrepare

Category
conditioning/minimax/contex_loop
Author
ethanfel (Account age: 3377days)
Extension
ComfyUI-MiniMaxH3-Contex-Loop
Latest Updated
2026-08-13
Github Stars
0.17K

How to Install ComfyUI-MiniMaxH3-Contex-Loop

Install this extension via the ComfyUI Manager by searching for ComfyUI-MiniMaxH3-Contex-Loop
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-MiniMaxH3-Contex-Loop in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

MiniMax H3 Reference Video Prep Description

Facilitates preparation of reference videos for MiniMax H3 model, ensuring correct formatting and alignment for seamless integration.

MiniMax H3 Reference Video Prep:

The MiniMaxH3ReferenceVideoPrepare node is designed to facilitate the preparation of reference videos for use with the MiniMax H3 model, which is a sophisticated tool for generating video content conditioned on various inputs such as images, videos, and audio. This node plays a crucial role in ensuring that the reference video data is correctly formatted and aligned with the model's requirements, allowing for seamless integration into the video generation process. By handling the intricacies of video frame alignment and audio synchronization, this node ensures that the input data is optimally prepared for the model's consumption, thereby enhancing the quality and coherence of the generated video outputs. The node's primary goal is to streamline the preparation process, making it accessible to users who may not have a deep technical background, while still providing the necessary precision and control required for high-quality video generation.

MiniMax H3 Reference Video Prep Input Parameters:

source_video

The source_video parameter is expected to be a tensor representing the video frames that will be used as a reference. This parameter is crucial as it provides the visual content that the MiniMax H3 model will use to condition its video generation process. The video frames must be in a specific format, typically a 4-dimensional tensor with dimensions corresponding to [frames, height, width, channels]. The minimum requirement is that the video must contain at least 5 frames to ensure sufficient context for the model. There are no explicit maximum values provided, but the video should be manageable within the computational limits of the system being used.

source_audio

The source_audio parameter is an optional input that allows you to provide an audio track to accompany the reference video. This audio input is used to synchronize the audio with the video frames, ensuring that the generated video maintains a coherent audiovisual experience. The audio should be in a format compatible with the model's requirements, typically as a tensor that can be processed alongside the video frames. The inclusion of audio can significantly enhance the realism and engagement of the generated video content.

source_fps

The source_fps parameter specifies the frames per second (FPS) of the source video. This parameter is essential for aligning the video frames correctly and ensuring that the temporal dynamics of the video are preserved during the preparation process. The default FPS is typically set to 24, which is a standard frame rate for video content, but it can be adjusted based on the specific requirements of the source video and the desired output characteristics.

input_route

The input_route parameter is used to specify the processing path for the video input, particularly when dealing with existing video adapters. This parameter helps in determining how the video frames are processed and integrated into the model's workflow. It ensures that the video data is correctly routed through the necessary processing stages, maintaining the integrity and quality of the input data.

MiniMax H3 Reference Video Prep Output Parameters:

prepared_video

The prepared_video output parameter represents the video data that has been processed and aligned according to the MiniMax H3 model's requirements. This output is crucial as it serves as the conditioned input for the model, ensuring that the video frames are correctly formatted and synchronized with any accompanying audio. The prepared video is ready for use in the subsequent stages of the video generation process, providing a solid foundation for high-quality output.

prepared_audio

The prepared_audio output parameter, if applicable, represents the audio data that has been synchronized and aligned with the prepared video frames. This output ensures that the audio is correctly integrated into the video generation process, maintaining a coherent and engaging audiovisual experience. The prepared audio is essential for scenarios where audio plays a significant role in the final video output.

MiniMax H3 Reference Video Prep Usage Tips:

  • Ensure that your source video contains at least 5 frames to meet the minimum requirements for the MiniMax H3 model. This will help avoid errors related to insufficient context frames.
  • When including audio, make sure it is in a compatible format and synchronized with the video frames to enhance the quality of the generated video content.
  • Adjust the source_fps parameter to match the frame rate of your source video for optimal alignment and temporal coherence.

MiniMax H3 Reference Video Prep Common Errors and Solutions:

"H3 existing-video source_frames must be an IMAGE tensor."

  • Explanation: This error occurs when the source video frames are not provided in the expected tensor format.
  • Solution: Ensure that the video frames are formatted as a 4-dimensional tensor with dimensions [frames, height, width, channels].

"H3 existing-video source_frames must be [frames,height,width,channels]; got %r."

  • Explanation: The source video frames do not match the required dimensions.
  • Solution: Verify that your video frames are structured correctly, with the appropriate number of dimensions and channels.

"H3 existing video becomes %d frames at 24 fps, but this plan needs at least %d context frames."

  • Explanation: The source video does not contain enough frames to meet the context length requirement.
  • Solution: Provide a longer video or reduce the context length requirement to match the available frames.

MiniMax H3 Reference Video Prep Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-MiniMaxH3-Contex-Loop
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

MiniMax H3 Reference Video Prep