Nodes/WAS Affine/Custom Sampler Affine Advanced
ComfyUI Node

Custom Sampler Affine Advanced

A ComfyUI node in sampling/custom_sampling with 16 inputs and 2 outputs.

By WASasquatch·Created 12 months ago·Updated 4 months ago· 5
Custom Sampler Affine Advanced
  • noise
  • guider
  • sampler
  • sigmas
  • latent_image
  • affine_schedule
  • external_mask
  • options
  • noise_options
  • output
  • denoised_output
affine_interval1
max_scale1.200
max_bias0.000
patternwhite_noise
affine_seed0
affine_seed_incrementfalse
temporal_modestatic
Categorysampling/custom_sampling

Inputs (16)

NameTypeDefaultDescription
noiseNOISENoise generator used at the first step to start from noise when needed.
guiderGUIDERCFG guider to use for denoising.
samplerSAMPLERBase sampler (e.g., euler, dpmpp_2m).
sigmasSIGMASSigma schedule defining the trajectory; length = steps+1.
latent_imageLATENTInitial latent input to denoise along the provided sigma schedule.
affine_intervalINT11–100Apply affine every N steps (1 = every step).
max_scaleFLOAT1.2000–2Scale multiplier at schedule peak: 1 + (max_scale-1)*t.
max_biasFLOAT0.000-2–2Bias added at schedule peak: max_bias*t.
patternCOMBOwhite_noiseMask/noise pattern used by Affine.
affine_seedINT00–2147483647Seed for affine mask generation (separate from sampler seed).
affine_seed_incrementBOOLEANfalseIf enabled, increment affine seed after each application (temporal masks).
affine_scheduleDICTUse WASAffineScheduleOptions; interpreted over total steps (start/end/bias/exponent/curve/etc.).
external_maskoptIMAGEOptional external mask image to gate affine application.
optionsoptDICTBase options for Affine (common/full options).
noise_optionsoptDICTPattern-specific overrides layered onto 'options'.
temporal_modeoptCOMBOstaticTemporal behavior of the affine mask when applicable.

Outputs (2)

NameTypeDescription
outputLATENT
denoised_outputLATENT