Nodes/DazzleNodes Collection/Preview Bridge Ext. Latent (DazzleNodes)
ComfyUI Node

Preview Bridge Ext. Latent (DazzleNodes)

Latent Preview Bridge for inpainting workflows. Decodes LATENT for preview, provides mask editing, and passes original LATENT through unmodified. Extracts noise_mask from LATENT as upstream mask.

By DazzleNodes·Created 9 months ago·Updated 4 months ago· 4
Preview Bridge Ext. Latent (DazzleNodes)
  • latent
  • vae
  • mask_opt
  • dazzle_signal
  • latent
  • mask
  • preview
  • info
image
mask_outputcombined
editor_targetcombined
restore_masknever
blocknever
inject_noise_maskno
CategoryDazzleNodes

Inputs (10)

NameTypeDefaultDescription
latentLATENT
vaeVAE
imageSTRING
mask_optoptMASK
mask_outputoptCOMBOcombinedControls what goes to the OUTPUT mask slot. combined: OR combine input_mask + mask_editor drawings mask_editor: Only output the editor mask layer input_mask: Only output the input mask layer Preview displays the selected output mode (WYSIWYG).
editor_targetoptCOMBOcombinedControls WHAT is editable in MaskEditor. Display always shows: red=input mask, orange=editor mask. combined: Edit both input + editor masks together (default) mask_editor: Only edit editor mask (input mask shown as red, locked) input_mask: Only edit input mask (editor mask shown as orange, locked)
restore_maskoptCOMBOneverif_same_size: Restore cached mask if new image has same dimensions always: Always restore cached mask (resized if needed) never: Do not restore cached masks Note: restore_mask has higher priority than block
blockoptCOMBOnevernever: Never block execution if_empty_mask: Block if the OUTPUT mask is empty if_empty_editor: Block if user hasn't drawn in MaskEditor always: Always block execution (debugging backstop)
inject_noise_maskoptCOMBOnoControls whether the edited mask is injected into the LATENT output as noise_mask. no: LATENT passes through unchanged. Use MASK output with SetLatentNoiseMask. yes: Edited mask is written into LATENT.noise_mask automatically.
dazzle_signaloptDAZZLE_SIGNALOrchestration signal from Dazzle Command node. Controls block behavior based on workflow state (playing/paused). Optional -- no effect without connection.

Outputs (4)

NameTypeDescription
latentLATENT
maskMASK
previewIMAGE
infoSTRING