- Image
- Generate
Latent Compose
Purpose
Section titled “Purpose”Latent Compose adds compatible latents together. Each input has a weight. Variance Preserving mode compensates for the combined weight magnitude; Linear leaves the weighted sum unnormalized.
Place Latent Compose under Generate in the Image view. Set Inputs to the number of latents you want to combine, then connect matching Latent Seed outputs.
Start with two different seeds and animate their weights. Send out to a generator configured for the same profile, or through Latent Transform for further shaping.
Inputs and outputs
Section titled “Inputs and outputs”latent1is always present. Selecting more Inputs addslatent2,latent3andlatent4.outcarries the combined latent with the same profile and dimensions.
The initial one-input declaration is shown below. Inputs changes both the ports and the weight controls.
Controls
Section titled “Controls”- Inputs selects one, two, three or four connections.
- Profile is StyleGAN2 Z with 512 components.
- Weight controls each input’s contribution. Negative weights subtract.
- Mix selects Variance Preserving or Linear.
Variance Preserving divides the weighted sum by the square root of the sum of squared weights when that value is nonzero. It keeps the scale steadier when combining independent seeds. It does not guarantee that every mixture will produce an equally useful image.
Inputs
-
latent1image required
Outputs
-
outimage