ComfyUI Node
MD: Image Guardian
A ComfyUI node in MD_Nodes/Debugging with 4 inputs and 1 output.
MD: Image Guardian
- images
- images
◄actionGraceful Interrupt►
◄debug_mode0 - Silent►
◄enable_profilingfalse►
CategoryMD_Nodes/Debugging
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | INPUT 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. | |
| action | COMBO | Graceful Interrupt | DEFENSE 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_mode | COMBO | 0 - Silent | LOGGING VERBOSITY • Purpose: Controls console output detail level. ⭐ Recommended: 0 - Silent. |
| enable_profiling | BOOLEAN | false | PERFORMANCE PROFILING • Enable detailed tensor scan timing. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |