Nodes/ComfyUi-MpiNodes/Mpi Stage Latents
ComfyUI Node

Mpi Stage Latents

The two-stage latent handshake in one node: saves stage 1, gates the preview, and loads the latent back on a continue. is_continue/is_preview are widgets, so a host app can drive both stages of ONE workflow file instead of shipping a separate _stage2 twin. Handles packed audio+video latents (MiniMax H3) that crash the core Save/Load Latent nodes.

By MadPonyInteractive·Created 10 months ago·Updated 3 days ago· 2
Mpi Stage Latents
  • latent
  • denoised
  • latent
  • denoised
is_continuefalse
is_previewfalse
save_pathmpi_stage1
load_pathmpi_stage1
CategoryMpiNodes/Latent

Inputs (6)

NameTypeDefaultDescription
is_continueBOOLEANfalseStage 2. Loads `load_path` and returns it as `latent`; nothing is saved and — because the latent inputs are lazy — the stage-1 sampler upstream never runs at all.
is_previewBOOLEANfalseStop after stage 1. Saves the latent and releases `denoised` for the preview decode, blocking `latent` so stage 2 does not run. Ignored when is_continue is on.
save_pathSTRINGmpi_stage1Where stage 1 writes. Absolute path used as-is; a bare name goes to <output>/latents/<name>.latent, overwriting.
load_pathSTRINGmpi_stage1What a continue reads. Absolute path used as-is; a bare name is looked up in the engine <input>/ folder first (where a host app stages it), then <output>/latents/.
latentoptLATENT
denoisedoptLATENT

Outputs (2)

NameTypeDescription
latentLATENT
denoisedLATENT