Nodes/Arctenoxs-Essentials_ComfyUI/Artifact Risk Predictor (Arctenox's Essentials)
ComfyUI Node

Artifact Risk Predictor (Arctenox's Essentials)

πŸ” Artifact Risk Predictor - Analyze Quality Before Decoding Analyzes latent space for signs of common generation artifacts: β€’ Overbaked faces (too many steps/high CFG) β€’ Melted hands (high-frequency noise patterns) β€’ Flat contrast (collapsed dynamic range) β€’ Noisy/grainy results (sampling artifacts) β€’ Oversaturated regions (CFG overshoot) ⚑ What This Node Does: Provides INFORMATIONAL risk assessment - does not stop or control workflow. Use the risk_score output with switches, routers, or conditional nodes to build self-correcting workflows that can retry or adjust parameters. 🎯 Risk Score Output: β€’ 0.0-0.2: βœ… Low risk - probably good β€’ 0.2-0.4: ⚠️ Mild risk - watch for issues β€’ 0.4-0.6: 🟑 Moderate risk - likely problems β€’ 0.6-0.8: 🟠 High risk - expect artifacts β€’ 0.8-1.0: πŸ”΄ Critical risk - probably unusable πŸ’‘ Example Use Cases: β€’ Pass risk_score to a switch node to conditionally decode β€’ Log warnings for quality monitoring in batch generation β€’ Use with retry nodes to regenerate high-risk latents β€’ Build adaptive workflows that adjust CFG based on risk πŸ”§ Detection Methods: β€’ Latent statistics (mean, std, range) β€’ Frequency analysis (detect noise patterns) β€’ Dynamic range checks (contrast collapse) β€’ Parameter correlation (overbaking detection) β€’ Channel balance analysis βš™οΈ Risk Thresholds: β€’ Conservative: Flag more potential issues (fewer false negatives) β€’ Balanced: Standard detection (good default) β€’ Permissive: Only flag obvious problems (fewer false positives) ℹ️ Note: This node analyzes and reports - it does not prevent decoding. Combine with other nodes to create conditional/adaptive workflows.

By ArctenoxΒ·Created 8 months agoΒ·Updated about a month agoΒ· 1
Artifact Risk Predictor (Arctenox's Essentials)
  • latent
  • latent_passthrough
  • risk_score
  • risk_report
  • warnings
β—„steps_taken25β–Ί
β—„cfg_used7.000β–Ί
β—„denoise_used1.000β–Ί
β—„risk_thresholdbalancedβ–Ί
CategoryArctenox Essentials/Utilities

Inputs (5)

NameTypeDefaultDescription
latentLATENTβ€”
steps_takenINT251–10000Number of sampling steps used
cfg_usedFLOAT7.0000–30CFG scale used during generation
denoise_usedFLOAT1.0000–1Denoise strength used
risk_thresholdCOMBObalancedSensitivity of risk detection

Outputs (4)

NameTypeDescription
latent_passthroughLATENTβ€”
risk_scoreFLOATβ€”
risk_reportSTRINGβ€”
warningsSTRINGβ€”