Nodes/ComfyUI Latent Transform Sampler/Latent Transform Sampler πŸ”„
ComfyUI Node

Latent Transform Sampler πŸ”„

Applies N transformations at distributed intervals during sampling

By pizurnyΒ·Created 10 months agoΒ·Updated 10 months agoΒ· 3
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)

NameTypeDefaultDescription
modelMODELβ€”
positiveCONDITIONINGβ€”
negativeCONDITIONINGβ€”
latent_imageLATENTβ€”
seedINT00–18446744073709550000β€”
stepsINT201–10000β€”
cfgFLOAT8.00–100β€”
sampler_nameCOMBO44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
schedulerCOMBO9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3
denoiseFLOAT1.000–1β€”
transform_countINT30–20Number of transformations to apply (0 = disabled)
transform_typeCOMBOshiftType of transformation to apply
distributionCOMBOmanualHow to distribute transforms across steps
shift_pixels_xINT128-512–512Horizontal shift in pixels (for shift transform)
shift_pixels_yINT0-512–512Vertical shift in pixels (for shift transform)
min_spacingINT21–10Minimum steps between transforms
transform_strengthFLOAT1.00–1Strength of transformation (for gradual effects)
accumulate_shiftsBOOLEANfalseWhether shifts should accumulate or reset each time
reverse_on_second_halfBOOLEANfalseReverse transformations in the second half
transform_sequenceoptSTRINGshift,mirror_h,rotate_90_cwComma-separated sequence (if type='sequence')
manual_stepsoptSTRING3,6,9Comma-separated step numbers (if distribution='manual')
debug_modeoptBOOLEANtruePrint debug information to console

Outputs (1)

NameTypeDescription
samplesLATENTβ€”