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.
PSN Latent Direction
- target
- positive
- negative
- latent
◄strength1.00►
CategoryParametric/Sampling
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| target | LATENT | Target. | |
| positive | LATENT | Positive. | |
| negative | LATENT | What to steer away from. | |
| strength | FLOAT | 1.00-10–10 | How strong the effect is. From -10 to 10. Default 1.0. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| latent | LATENT | — |