SUPIR Sampler

SUPIR_sample

- **latent:** Latent to sample from, when using SUPIR latent this is just for the noise shape, it's actually not used otherwise here. Identical to feeding this comfy empty latent. If fed anything else it's used as it is, no noise is added. - **cfg:** Linearly scaled CFG is always used, first step will use the cfg_scale_start value, and that is interpolated to the cfg_scale_end value at last step. To disable scaling set these values to be the same. - **EDM_s_churn:** controls the rate of adaptation of the diffusion process to changes in noise levels over time. Has no effect with DPMPP samplers. - **s_noise:** This parameter directly controls the amount of noise added to the image at each step of the diffusion process. - **DPMPP_eta:** Scaling factor that influences the diffusion process by adjusting how the denoising process adapts to changes in noise levels over time. No effect with EDM samplers. - **control_scale:** The strenght of the SUPIR control model, scales linearly from start to end. Lower values allow more freedom from the input image. - **restore_cfg:** Controls the degree of restoration towards the original image during the diffusion process. It allows for dome fine-tuning of the process. - **samplers:** EDM samplers need lots of steps but generally have better quality. DPMPP samplers work well with lower steps, good for lightning models. Tiled samplers enable tiled diffusion process, this is very slow but allows higher resolutions to be used by saving VRAM. Tile size should be chosen so the image is evenly tiled. Tile stride affects the overlap of the tiles. Check the SUPIR Tiles -node for preview to understand how the image is tiled.

Pack: ComfyUI-SUPIR

custom_nodes.ComfyUI-SUPIR

Inputs (18)

NameTypeRequired
SUPIR_modelSUPIRMODELrequired
latentsLATENTrequired
positiveSUPIR_cond_posrequired
negativeSUPIR_cond_negrequired
seedINTrequired
stepsINTrequired
cfg_scale_startFLOATrequired
cfg_scale_endFLOATrequired
EDM_s_churnINTrequired
s_noiseFLOATrequired
DPMPP_etaFLOATrequired
control_scale_startFLOATrequired
control_scale_endFLOATrequired
restore_cfgFLOATrequired
keep_model_loadedBOOLEANrequired
samplerCOMBOrequired
sampler_tile_sizeINToptional
sampler_tile_strideINToptional

Outputs (1)

NameType
latentLATENT