Nodes/Parametric Studio/PSN Latent Direction
ComfyUI Node

PSN Latent Direction

Move a latent along a direction learned from examples: direction = mean(positive batch) - mean(negative batch); result = target + strength * direction. Works for 'more of X' edits and for StyleGAN-style directions.

By parametricparadigm·Created 4 days ago·Updated about 3 hours ago· 1
PSN Latent Direction
  • target
  • positive
  • negative
  • latent
◄strength1.00►
CategoryParametric/Sampling

Inputs (4)

NameTypeDefaultDescription
targetLATENTTarget.
positiveLATENTPositive.
negativeLATENTWhat to steer away from.
strengthFLOAT1.00-10–10How strong the effect is. From -10 to 10. Default 1.0.

Outputs (1)

NameTypeDescription
latentLATENT—