Nodes/KsamplerDF/KSampler DF (with Refiner & Upscale)
ComfyUI Node

KSampler DF (with Refiner & Upscale)

KSampler with Refiner and Upscale - Splits steps between main and refiner, with latent upscale and optional model upscale.

By DevDuckFace·Created 7 months ago·Updated 6 months ago· 0
KSampler DF (with Refiner & Upscale)
  • model
  • positive
  • negative
  • latent_image
  • vae
  • LATENT
  • IMAGE
seed0
steps20
cfg7.0
sampler_nameeuler
schedulernormal
denoise1.00
latent_upscale_enableddisable
latent_upscale_methodbislerp
latent_upscale_factor1.5
refiner_at_step10
sampler_refinereuler
scheduler_refinernormal
cfg_refiner7.0
denoise_refiner1.00
upscale_model_namenone
Categorysampling

Inputs (20)

NameTypeDefaultDescription
modelMODELThe model used for denoising the input latent.
positiveCONDITIONINGThe conditioning describing the attributes to include.
negativeCONDITIONINGThe conditioning describing the attributes to exclude.
latent_imageLATENTThe latent image to denoise.
seedINT00–18446744073709550000The random seed used for creating the noise.
stepsINT201–10000Total number of steps (main + refiner).
cfgFLOAT7.00–100The Classifier-Free Guidance scale for main phase.
sampler_nameCOMBOeulerThe algorithm used for the main sampling phase.
schedulerCOMBOnormalThe scheduler for the main sampling phase.
denoiseFLOAT1.000–1Main denoise amount.
latent_upscale_enabledCOMBOdisableEnable latent upscale between main and refiner phases.
latent_upscale_methodCOMBObislerpUpscale method for latent.
latent_upscale_factorFLOAT1.50.1–8Scale factor for latent upscale.
refiner_at_stepINT100–10000Step at which to switch to refiner sampler.
sampler_refinerCOMBOeulerThe algorithm used for the refiner phase.
scheduler_refinerCOMBOnormalThe scheduler for the refiner phase.
cfg_refinerFLOAT7.00–100The Classifier-Free Guidance scale for refiner phase.
denoise_refinerFLOAT1.000–1Refiner denoise - controls how much the refiner interferes (0.0 = no effect, 1.0 = full effect).
vaeVAEVAE for decoding latent to image output.
upscale_model_nameCOMBOnoneSelect upscale model (e.g., RealESRGAN, ESRGAN). Select 'none' to disable.

Outputs (2)

NameTypeDescription
LATENTLATENTThe denoised latent image.
IMAGEIMAGEThe decoded/upscaled image.