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 > MiniMax H3 Context Loop > MiniMax H3 Frame Index Switch

ComfyUI Node: MiniMax H3 Frame Index Switch

Class Name

MiniMaxH3ChainFrameIndexSwitch

Category
conditioning/minimax/context_loop
Author
ethanfel (Account age: 3434days)
Extension
MiniMax H3 Context Loop
Latest Updated
2026-10-06
Github Stars
0.51K

How to Install MiniMax H3 Context Loop

Install this extension via the ComfyUI Manager by searching for MiniMax H3 Context Loop
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter MiniMax H3 Context 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 Frame Index Switch Description

Specialized node managing frame index switching in video processing chain for smooth transitions and narrative flow.

MiniMax H3 Frame Index Switch:

The MiniMaxH3ChainFrameIndexSwitch is a specialized node within the MiniMax H3 Context Loop framework, designed to manage and switch between different frame indices in a video processing chain. This node plays a crucial role in ensuring that the correct frames are selected and processed during the video generation or editing workflow. By efficiently managing frame indices, it helps maintain the continuity and coherence of video sequences, which is essential for creating smooth transitions and maintaining the narrative flow. The node's primary goal is to facilitate seamless frame index switching, thereby enhancing the overall video production process by allowing for precise control over which frames are utilized at any given point in the chain.

MiniMax H3 Frame Index Switch Input Parameters:

raw_frames

The raw_frames parameter represents the total number of frames initially available in the video segment. It is crucial for determining the scope of frames that can be processed or switched. This parameter ensures that the node operates within the bounds of the available data, preventing errors related to frame availability. The minimum value is 1, and there is no explicit maximum, but it should not exceed the total frames in the video. The default value is typically set to the total frames in the segment.

delivered_frames

The delivered_frames parameter specifies the number of frames that are intended to be delivered or processed after any trimming or adjustments. This parameter is essential for defining the output frame count and ensuring that the node delivers the expected number of frames. The minimum value is 1, and it should not exceed the raw_frames value. The default value is often set to match the desired output frame count.

trim_frames

The trim_frames parameter indicates the number of frames to be trimmed from the beginning of the video segment. This allows for precise control over the starting point of the frame sequence, enabling users to exclude unwanted frames from the final output. The minimum value is 0, and it should not exceed the difference between raw_frames and delivered_frames. The default value is typically 0, indicating no trimming.

requested

The requested parameter defines the number of context frames required for the next scene or processing step. It ensures that the node provides the necessary frames for subsequent operations, maintaining the continuity of the video chain. The minimum value is 1, and it should not exceed the delivered_frames value. The default value is set based on the requirements of the next processing step.

MiniMax H3 Frame Index Switch Output Parameters:

delivered

The delivered output parameter contains the final set of frames that have been processed and are ready for the next stage in the video chain. This output is crucial for ensuring that the correct frames are passed along, maintaining the integrity and flow of the video sequence. The delivered frames are typically a subset of the raw_frames, adjusted according to the trim_frames and delivered_frames parameters, ensuring that only the desired frames are included.

MiniMax H3 Frame Index Switch Usage Tips:

  • Ensure that the raw_frames and delivered_frames parameters are set correctly to avoid processing errors and to ensure that the node operates within the available frame data.
  • Use the trim_frames parameter to exclude any unnecessary frames from the beginning of the sequence, which can help in focusing on the relevant parts of the video.

MiniMax H3 Frame Index Switch Common Errors and Solutions:

"H3 chain cannot recover predecessor context: its latent decoded to %d frames but segment metadata declares %d raw / %d delivered frames."

  • Explanation: This error occurs when there is a mismatch between the number of frames decoded and the metadata declared for raw and delivered frames.
  • Solution: Verify that the raw_frames and delivered_frames parameters match the actual frame data available in the segment metadata.

"H3 chain next scene requests %d context frames, but predecessor clip %d delivers only %d."

  • Explanation: This error indicates that the number of requested context frames exceeds the number of frames delivered by the predecessor clip.
  • Solution: Adjust the requested parameter to ensure it does not exceed the available delivered frames from the predecessor clip.

MiniMax H3 Frame Index Switch Related Nodes

Go back to the extension to check out more related nodes.
MiniMax H3 Context 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 Frame Index Switch