ComfyUI Node
PSN Latent Math
a (op) b with a strength: add, subtract, multiply, lerp, maximum, minimum. b is resized to a when the shapes differ. result = a + strength * (op(a,b) - a).
PSN Latent Math
- latent_a
- latent_b
- latent
◄op▾►
◄strength1.00►
CategoryParametric/Sampling
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| latent_a | LATENT | Latent a. | |
| latent_b | LATENT | Latent b. | |
| op | COMBO | Op. One of 6 choices. | |
| 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 | — |