Nodes/ComfyUi-MpiNodes/Mpi Step Windowed Sampler
ComfyUI Node

Mpi Step Windowed Sampler

Generates a clip in overlapping temporal windows, blending the windows after every sampling step so they settle on one video. Works from pure noise (first-pass generation), unlike Mpi Windowed Sampler, which is a refine. Video and audio are both windowed. Needs a stateless sampler (euler). A clip that fits one window samples in a single ordinary pass. Optional window_guider_N gives window N its own guider (its own slice of the prompt); an unwired one uses the main guider.

By MadPonyInteractive·Created about a year ago·Updated a day ago· 3
Mpi Step Windowed Sampler
  • noise
  • guider
  • sampler
  • sigmas
  • latent_image
  • window_guider_1
  • window_guider_2
  • window_guider_3
  • window_guider_4
  • window_guider_5
  • window_guider_6
  • window_guider_7
  • window_guider_8
  • output
  • denoised_output
  • info
◄window_frames0►
◄overlap_frames17►
◄frame_grid5►
◄commit_steps0►
CategoryMpiNodes/Sampling

Inputs (17)

NameTypeDefaultDescription
noiseNOISE—
guiderGUIDER—
samplerSAMPLER—
sigmasSIGMAS—
latent_imageLATENT—
window_framesINT00–100000CEILING on the VIDEO frames refined at once, not a target. 0 = AUTO: sized from the engine GPU's usable VRAM and picture size: the fastest window the card holds, from MiniMax H3 measurements. Otherwise this is the number you discover by hitting an OOM: if 124 frames dies and 90 survives, put 90 here. Windows are then shrunk to the smallest legal size that still covers the clip in the same number of passes, so a generous ceiling costs nothing and a low one costs passes. A clip at or under this length takes the plain single-pass path.
overlap_framesINT170–100000MINIMUM VIDEO frames neighbouring windows share and cross-fade. Costs compute on every seam. 17 is one whole block for H3. Snapping to the grid can only ever hand you more than you ask for, never less.
frame_gridINT51–64ADVANCED - the model's temporal quantum, in LATENT frames. Leave it at 5 for MiniMax H3, which packs time as a 2-frame causal head plus blocks of 5; a window off that grid ends in a padded part-block that decodes BLACK. Set 1 for a model with no such structure, which gives plain fixed-size windows and makes the two widgets above count latent frames instead.
window_guider_1optGUIDERGuider for window 1 only (counted from the start of the clip), so that window hears its own slice of the prompt. Unwired = the main guider. Must wrap the same model. Ignored on the single-pass path.
window_guider_2optGUIDERGuider for window 2 only (counted from the start of the clip), so that window hears its own slice of the prompt. Unwired = the main guider. Must wrap the same model. Ignored on the single-pass path.
window_guider_3optGUIDERGuider for window 3 only (counted from the start of the clip), so that window hears its own slice of the prompt. Unwired = the main guider. Must wrap the same model. Ignored on the single-pass path.
window_guider_4optGUIDERGuider for window 4 only (counted from the start of the clip), so that window hears its own slice of the prompt. Unwired = the main guider. Must wrap the same model. Ignored on the single-pass path.
window_guider_5optGUIDERGuider for window 5 only (counted from the start of the clip), so that window hears its own slice of the prompt. Unwired = the main guider. Must wrap the same model. Ignored on the single-pass path.
window_guider_6optGUIDERGuider for window 6 only (counted from the start of the clip), so that window hears its own slice of the prompt. Unwired = the main guider. Must wrap the same model. Ignored on the single-pass path.
window_guider_7optGUIDERGuider for window 7 only (counted from the start of the clip), so that window hears its own slice of the prompt. Unwired = the main guider. Must wrap the same model. Ignored on the single-pass path.
window_guider_8optGUIDERGuider for window 8 only (counted from the start of the clip), so that window hears its own slice of the prompt. Unwired = the main guider. Must wrap the same model. Ignored on the single-pass path.
commit_stepsoptINT00–1000For the first N steps each overlap takes the EARLIER window's prediction only (no cross-fade), so the layout is set by one window; the later window joins on the remaining detail steps. 0 = cross-fade on every step.

Outputs (3)

NameTypeDescription
outputLATENT—
denoised_outputLATENT—
infoSTRING—