ComfyUI Node
Custom Sampler Affine Advanced
A ComfyUI node in sampling/custom_sampling with 16 inputs and 2 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| noise | NOISE | Noise generator used at the first step to start from noise when needed. | |
| guider | GUIDER | CFG guider to use for denoising. | |
| sampler | SAMPLER | Base sampler (e.g., euler, dpmpp_2m). | |
| sigmas | SIGMAS | Sigma schedule defining the trajectory; length = steps+1. | |
| latent_image | LATENT | Initial latent input to denoise along the provided sigma schedule. | |
| affine_interval | INT | 11–100 | Apply affine every N steps (1 = every step). |
| max_scale | FLOAT | 1.2000–2 | Scale multiplier at schedule peak: 1 + (max_scale-1)*t. |
| max_bias | FLOAT | 0.000-2–2 | Bias added at schedule peak: max_bias*t. |
| pattern | COMBO | white_noise | Mask/noise pattern used by Affine. |
| affine_seed | INT | 00–2147483647 | Seed for affine mask generation (separate from sampler seed). |
| affine_seed_increment | BOOLEAN | false | If enabled, increment affine seed after each application (temporal masks). |
| affine_schedule | DICT | Use WASAffineScheduleOptions; interpreted over total steps (start/end/bias/exponent/curve/etc.). | |
| external_maskopt | IMAGE | Optional external mask image to gate affine application. | |
| optionsopt | DICT | Base options for Affine (common/full options). | |
| noise_optionsopt | DICT | Pattern-specific overrides layered onto 'options'. | |
| temporal_modeopt | COMBO | static | Temporal behavior of the affine mask when applicable. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| output | LATENT | — |
| denoised_output | LATENT | — |