Nodes/MD Nodes/MD: Image Guardian
ComfyUI Node

MD: Image Guardian

A ComfyUI node in MD_Nodes/Debugging with 4 inputs and 1 output.

By MDMAchine·Created about a year ago·Updated 2 months ago· 14
MD: Image Guardian
  • images
  • images
actionGraceful Interrupt
debug_mode0 - Silent
enable_profilingfalse
CategoryMD_Nodes/Debugging

Inputs (4)

NameTypeDefaultDescription
imagesIMAGEINPUT IMAGES • Purpose: The decoded image tensor from VAE or post-processing. • Range: [B, H, W, C] float32 tensor. • Trade-offs: Minimal overhead. ⭐ Recommended: Connect immediately after VAE Decode.
actionCOMBOGraceful InterruptDEFENSE ACTION • Purpose: Handle NaN, Inf, or Out-of-bounds (>1.0 or <0.0) RGB values. • Options: - Clamp to [0.0, 1.0]: Safely limits blown-out pixels. - Output Black Frame: Replaces entirely with black pixels. ⭐ Recommended: Clamp to [0.0, 1.0] to rescue slightly blown-out images.
debug_modeCOMBO0 - SilentLOGGING VERBOSITY • Purpose: Controls console output detail level. ⭐ Recommended: 0 - Silent.
enable_profilingBOOLEANfalsePERFORMANCE PROFILING • Enable detailed tensor scan timing.

Outputs (1)

NameTypeDescription
imagesIMAGE