ComfyUI Node
Latent Affine Super Options
A ComfyUI node in latent/adjust with 42 inputs and 1 output.
Latent Affine Super Options
- options
◄mask_strength1.000►
◄threshold0.000►
◄invert_maskfalse►
◄perlin_scale64►
◄perlin_octaves3►
◄perlin_persistence0.50►
◄perlin_lacunarity2.0►
◄checker_size8►
◄bayer_size8►
◄velvet_taps_per_kpx10►
◄green_center_frac0.35►
◄green_bandwidth_frac0.15►
◄black_bins_per_kpx512►
◄hatch_freq_cyc_px0.45►
◄hatch_angle1_deg0►
◄hatch_angle2_deg90►
◄hatch_squarefalse►
◄hatch_phase_jitter0.00►
◄hatch_supersample1►
◄highpass_cutoff_frac0.70►
◄highpass_order2►
◄ring_center_frac0.90►
◄ring_bandwidth_frac0.050►
◄poisson_radius_px8.0►
◄poisson_softness6.0►
◄worley_points_per_kpx2.0►
◄worley_metricL2►
◄worley_edge_sharpness1.0►
◄tile_line_tile_size32►
◄tile_line_freq_cyc_px0.40►
◄tile_line_jitter0.25►
◄dot_cell_size12►
◄dot_jitter_px1.5►
◄dot_fill_ratio0.30►
◄content_window7►
◄solid_alpha1.000►
◄blur_ksize0►
◄blur_sigma0.0►
◄clampfalse►
◄clamp_min-10.0►
◄clamp_max10.0►
◄frame_seed_stride1►
Categorylatent/adjust
Inputs (42)
| Name | Type | Default | Description |
|---|---|---|---|
| mask_strength | FLOAT | 1.0000–2 | Scales mask intensity before applying scale/bias. Examples: 0.5 = weaker effect, 1.0 = normal, 2.0 = strong. Influence: higher values increase the contribution of the mask to scaling and bias. |
| threshold | FLOAT | 0.0000–1 | Binarize mask if > 0. Converts mask to 0/1 using this threshold. Examples: 0.5 creates hard separation. Influence: higher threshold produces larger black areas; lower produces larger white areas. |
| invert_mask | BOOLEAN | false | Invert the mask after threshold/blur. Examples: True flips dark/bright regions. Influence: swaps where scale/bias are applied. |
| perlin_scale | FLOAT | 644–1024 | Controls Perlin noise frequency. Examples: 32 = coarse blobs, 128 = fine details. Influence: larger scale gives smaller features (higher frequency). |
| perlin_octaves | INT | 31–8 | Number of Perlin octaves. Examples: 1 = simple, 4 = richer. Influence: more octaves add multi-scale detail. |
| perlin_persistence | FLOAT | 0.500.1–1 | Amplitude multiplier between octaves. Examples: 0.3 = smoother, 0.8 = higher contrast. Influence: higher increases contribution of finer octaves. |
| perlin_lacunarity | FLOAT | 2.01–4 | Frequency multiplier between octaves. Examples: 2.0 (default), 3.0 = more fine detail. Influence: higher values add finer features faster. |
| checker_size | INT | 82–256 | Checkerboard cell size in pixels. Examples: 8 = small squares, 64 = large squares. Influence: sets tiling size for 'checker' pattern. |
| bayer_size | INT | 82–64 | Bayer matrix base size. Examples: 4, 8, 16. Influence: controls dithering pattern scale for 'bayer'. |
| velvet_taps_per_kpx | INT | 101–10000 | Velvet noise density in taps per kilo-pixel (per 1000 pixels). Higher = more impulses (denser). |
| green_center_frac | FLOAT | 0.350–1 | Green noise band center as a fraction of Nyquist radius (0..1). |
| green_bandwidth_frac | FLOAT | 0.150.01–1 | Green noise Gaussian band width as a fraction of Nyquist radius (0..1). |
| black_bins_per_kpx | INT | 5121–500000 | Black noise density as active frequency bins per 1000 pixels (rFFT domain). Higher = more narrowbands. |
| hatch_freq_cyc_px | FLOAT | 0.450.01–2 | Cross-hatch frequency in cycles/pixel. >0.5 allows intentional aliasing. |
| hatch_angle1_deg | INT | 00–179 | First hatch angle (degrees). |
| hatch_angle2_deg | INT | 900–179 | Second hatch angle (degrees). |
| hatch_square | BOOLEAN | false | Use square-wave (adds harmonics). |
| hatch_phase_jitter | FLOAT | 0.000–1 | Random phase jitter multiplier per seed/frame. |
| hatch_supersample | INT | 11–8 | Supersampling factor for anti-aliased subpixel hatch. |
| highpass_cutoff_frac | FLOAT | 0.700.01–1 | Butterworth HPF cutoff as fraction of Nyquist radius. |
| highpass_order | INT | 21–10 | Butterworth HPF order. |
| ring_center_frac | FLOAT | 0.900–1 | Ring center as fraction of Nyquist radius. |
| ring_bandwidth_frac | FLOAT | 0.0500.005–1 | Ring Gaussian bandwidth as fraction of Nyquist radius. |
| poisson_radius_px | FLOAT | 8.01–256 | Poisson-disk minimum spacing in pixels. |
| poisson_softness | FLOAT | 6.00.1–256 | Distance mapping softness. Larger = smoother mask. |
| worley_points_per_kpx | FLOAT | 2.00.1–200 | Feature points per 1000 pixels. |
| worley_metric | COMBO | L2 | Distance metric for Worley. |
| worley_edge_sharpness | FLOAT | 1.00.1–8 | Exponent to sharpen edges. |
| tile_line_tile_size | INT | 324–512 | Tile size in pixels. |
| tile_line_freq_cyc_px | FLOAT | 0.400.01–2 | Line frequency in cycles/pixel per tile. |
| tile_line_jitter | FLOAT | 0.250–1 | Phase jitter per tile (0..1). |
| dot_cell_size | INT | 122–256 | Halftone cell size in pixels. |
| dot_jitter_px | FLOAT | 1.50–10 | Dot center jitter in pixels. |
| dot_fill_ratio | FLOAT | 0.300.01–0.95 | Approximate fill area per cell (0..1). |
| content_window | INT | 73–63 | Odd kernel size for content-aware local variance (detail/smooth patterns). Typical: 5-11. |
| solid_alpha | FLOAT | 1.0000–1 | Solid mask constant alpha (0..1). 0 disables; 1 full mask. |
| blur_ksize | INT | 00–51 | Gaussian blur kernel size (odd). Examples: 0/1 = no blur, 9 = soft edges. Influence: larger values smooth mask transitions. |
| blur_sigma | FLOAT | 0.00–16 | Gaussian blur sigma. Examples: 0 = no blur, 1.5 = moderate. Influence: controls blur strength; used only if > 0 and ksize > 1. |
| clamp | BOOLEAN | false | Clamp output latent values to [min,max]. Examples: True to avoid extreme values. Influence: prevents overflows after scaling/bias. |
| clamp_min | FLOAT | -10.0-100–0 | Lower clamp bound if clamping is enabled. Examples: -5.0. |
| clamp_max | FLOAT | 10.00–100 | Upper clamp bound if clamping is enabled. Examples: 5.0. |
| frame_seed_stride | INT | 11–100000 | Seed increment per frame when 'per_frame' temporal mode is used. Examples: 1, 9973 (prime). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| options | DICT | — |