ComfyUI Node
PSN StyleGAN Slerp
Performs spherical linear interpolation (slerp) between two latent vectors. Input latents are expected as JSON strings representing 1D vectors (lists of floats). Output is a JSON string representing a list of interpolated vectors.
PSN StyleGAN Slerp
- latents
◄latent_a[1.0, 0.0, 0.0]►
◄latent_b[0.0, 1.0, 0.0]►
◄num_frames10►
◄t_start0.00►
◄t_end1.00►
CategoryParametric/Models
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| latent_a | STRING | [1.0, 0.0, 0.0] | Latent a. Default [1.0, 0.0, 0.0]. |
| latent_b | STRING | [0.0, 1.0, 0.0] | Latent b. Default [0.0, 1.0, 0.0]. |
| num_frames | INT | 101–1000 | Num frames. From 1 to 1000. Default 10. |
| t_start | FLOAT | 0.000–1 | T start. From 0 to 1. Default 0.0. |
| t_end | FLOAT | 1.000–1 | T end. From 0 to 1. Default 1.0. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| latents | STRING | — |