ComfyUI Node
Latent Transform Sampler π
Applies N transformations at distributed intervals during sampling
Latent Transform Sampler π
- model
- positive
- negative
- latent_image
- samples
βseed0βΊ
βsteps20βΊ
βcfg8.0βΊ
βsampler_nameβΎβΊ
βschedulerβΎβΊ
βdenoise1.00βΊ
βtransform_count3βΊ
βtransform_typeshiftβΊ
βdistributionmanualβΊ
βshift_pixels_x128βΊ
βshift_pixels_y0βΊ
βmin_spacing2βΊ
βtransform_strength1.0βΊ
βaccumulate_shiftsfalseβΊ
βreverse_on_second_halffalseβΊ
βtransform_sequenceshift,mirror_h,rotate_90_cwβΊ
βmanual_steps3,6,9βΊ
βdebug_modetrueβΊ
Categorysampling/transform
Inputs (22)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | β | |
| positive | CONDITIONING | β | |
| negative | CONDITIONING | β | |
| latent_image | LATENT | β | |
| seed | INT | 00β18446744073709550000 | β |
| steps | INT | 201β10000 | β |
| cfg | FLOAT | 8.00β100 | β |
| sampler_name | COMBO | 44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38 | |
| scheduler | COMBO | 9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3 | |
| denoise | FLOAT | 1.000β1 | β |
| transform_count | INT | 30β20 | Number of transformations to apply (0 = disabled) |
| transform_type | COMBO | shift | Type of transformation to apply |
| distribution | COMBO | manual | How to distribute transforms across steps |
| shift_pixels_x | INT | 128-512β512 | Horizontal shift in pixels (for shift transform) |
| shift_pixels_y | INT | 0-512β512 | Vertical shift in pixels (for shift transform) |
| min_spacing | INT | 21β10 | Minimum steps between transforms |
| transform_strength | FLOAT | 1.00β1 | Strength of transformation (for gradual effects) |
| accumulate_shifts | BOOLEAN | false | Whether shifts should accumulate or reset each time |
| reverse_on_second_half | BOOLEAN | false | Reverse transformations in the second half |
| transform_sequenceopt | STRING | shift,mirror_h,rotate_90_cw | Comma-separated sequence (if type='sequence') |
| manual_stepsopt | STRING | 3,6,9 | Comma-separated step numbers (if distribution='manual') |
| debug_modeopt | BOOLEAN | true | Print debug information to console |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| samples | LATENT | β |