Nodes/AUN ComfyUI Nodes/AUN KSampler PlusV2 (Deprecated)
ComfyUI Node

AUN KSampler PlusV2 (Deprecated)

The deprecated two-pass sampler — fine to learn from, don't build on it

By loz2754·Created 8 months ago·Updated a day ago· 5
AUN KSampler PlusV2 (Deprecated)
  • vae
  • model
  • positive
  • negative
  • latent_image
  • Base image
  • Image upscaled
  • Latent upscaled
  • Both upscaled
  • Refined image
  • LATENT
  • Upscaled type
seed0
steps_total30
steps_first12
start_step_second0
cfg8.0
cfg_latent_upscale8.0
sampler_name
scheduler
denoise1.00
latent_upscaletrue
upscaling_denoise0.61
upscale_method
ratio1.50
image_upscalefalse
image_upscale_method
image_upscale_model
image_upscale_ratio1.50
image_upscale_refinefalse
img_refine_steps4
img_refine_denoise0.25
verbosefalse

Let's be straight about this one: AUNKSamplerPlusV2 is the older progressive two-pass sampler from the AUN pack, and the pack itself has moved on. It's superseded by KSampler Plus (AUNKSamplerPlusv3) and KSampler 2-Model (AUNKSamplerPlusv4), which are the same idea with the rough edges worked off. You'd only reach for V2 today if you're maintaining an old workflow that already uses it - and even then, the migration is worth it. The article you actually want is the v3 one; the mechanism here is the ancestor of it.

What it was

The pitch was the hi-res fix, packaged as one node. Instead of generating small, upscaling, and running a second KSampler with a low denoise - the classic two-pass dance that's still the correct answer for generating above native resolution - V2 tried to automate the whole chain: a base pass, a latent-space upscale, a second pass at the higher resolution, then an optional pixel-space upscale and an optional final refinement. That's why its outputs are Base image, Latent upscaled, Image upscaled, Both upscaled, Refined image, plus LATENT and an Upscaled type string you could drop into a filename to say which output you actually used.

The controls followed the same logic: steps_total / steps_first to split steps between passes, start_step_second to control the second pass start, latent_upscale + ratio + upscaling_denoise for the latent re-sample, and image_upscale / image_upscale_method / image_upscale_model / image_upscale_ratio for the pixel-space leg, with image_upscale_refine + img_refine_steps + img_refine_denoise for the optional final refinement. All of that survives, refined, in v3.

Why it's deprecated

Two reasons, essentially. It was the model-only sampler before the pack learned to do better, and the successor split the difference more cleanly - v3 cleans up the pass logic, and v4 adds the option to run the latent-upscale pass on a second model entirely. The pack labels it deprecated and says it'll be removed in a future release, which is the practical signal: keep it if a saved workflow needs it, don't start anything new on it.

Installing it

It ships in the AUN pack regardless, so if you load an old workflow you already have it:

  • ComfyUI Manager: search "AUN ComfyUI Nodes", install, restart.
  • Manual: cd custom_nodes && git clone https://github.com/loz2754/AUN-ComfyUI-Nodes, then restart. Manual installs hitting ModuleNotFoundError: cv2 need pip install -r custom_nodes/AUN-ComfyUI-Nodes/requirements.txt.

Common issues

The honest advice: don't troubleshoot V2 in depth - replace it with AUNKSamplerPlusv3, which accepts the same inputs in the same shape and is what the maintainer is actually supporting. When you swap, check the pass settings (start_step_second, upscaling_denoise) carry over, because the defaults differ slightly. And remember the second-pass denoise rule from the upscaling world: 0.3–0.5 keeps composition, 0.6+ starts changing the image.

CategoryAUN Nodes/Deprecated/KSampler

Inputs (26)

NameTypeDefaultDescription
vaeVAEVAE model for encoding/decoding between pixel and latent space.
modelMODELThe diffusion model to use for progressive sampling.
seedINT00–18446744073709550000Random seed for reproducible results. Use same seed for identical outputs.
steps_totalINT302–300Total sampling steps across both passes. Split between first and second pass.
steps_firstINT121–300Steps for first pass (base generation). If latent upscale is off, this is used for the single pass.
start_step_secondINT0-1–300Second pass control: -1 uses denoise-fraction (see 'upscaling denoise'), 0 starts at step 0, steps_first continues after pass 1. Both-upscaled mirrors this schedule to reduce drift.
cfgFLOAT8.00–100CFG scale for first pass. Controls prompt adherence in base generation.
cfg_latent_upscaleFLOAT8.00–100CFG scale for latent upscale pass. Can be different from base CFG.
sampler_nameCOMBOSampling algorithm for both passes. DPM++ 2M Karras recommended for progressive sampling.
schedulerCOMBONoise schedule. AYS schedulers work well with progressive sampling.
positiveCONDITIONINGPositive prompt conditioning (what you want in the image).
negativeCONDITIONINGNegative prompt conditioning (what you want to avoid).
latent_imageLATENTInput latent image. For txt2img, use Empty Latent Image.
denoiseFLOAT1.000–1Denoising strength for first pass. 1.0 = full generation, lower for img2img.
latent_upscaleBOOLEANtrueEnable latent space upscaling between passes. Core feature of progressive sampling. Disabling this will perform a single pass of sampling.
upscaling_denoiseFLOAT0.610.01–1Second pass denoise amount. Notes: • Used only when start_step_second = -1 (denoise-fraction mode). • Typical refinement: 0.5-0.7. • Ignored when continuing from a start step.
upscale_methodCOMBOAlgorithm for latent upscaling. Bicubic recommended for progressive workflows.
ratioFLOAT1.500.01–8Latent upscale ratio between passes. 1.5-2.0 typical for progressive generation.
image_upscaleBOOLEANfalseEnable pixel-space image upscaling. Used to construct 'Both upscaled' and as source for 'Refined image'.
image_upscale_methodCOMBOAlgorithm for final image upscaling. Lanczos for photos, nearest for pixel art.
image_upscale_modelCOMBOAI upscaling model for final enhancement. 'None' disables AI upscaling.
image_upscale_ratioFLOAT1.500.01–8Final image upscale ratio. Can be different from latent upscale ratio.
image_upscale_refineBOOLEANfalseOutput 'Refined image' by re-encoding and sampling the selected source (Both/Image/Base) with the settings below.
img_refine_stepsINT41–100Sampling steps for the final 'Refined image' pass.
img_refine_denoiseFLOAT0.250–1Denoising strength for the final 'Refined image' pass.
verboseBOOLEANfalsePrint detailed pass logs and timings to the console.

Outputs (7)

NameTypeDescription
Base imageIMAGE
Image upscaledIMAGE
Latent upscaledIMAGE
Both upscaledIMAGE
Refined imageIMAGE
LATENTLATENT
Upscaled typeSTRING