- Image
- Generate
Latent Transform
Purpose
Section titled “Purpose”Latent Transform changes a latent while keeping its profile and dimensions. It can standardize the input, adjust its range, or add a repeating pattern across its components.
Place Latent Transform under Generate in the Image view. Connect Latent Seed or Latent Compose to latent. Send out to a generator configured for StyleGAN2 Z with 512 components.
Begin with Gain at 1, Offset at 0 and Limit set to None. Change one control at a time while watching the generated image.
Inputs and outputs
Section titled “Inputs and outputs”latentcarries the incoming 512-component latent.outcarries the transformed latent in the same one-row image format.
Controls
Section titled “Controls”- Normalize standardizes the logical components before shaping.
- Gain scales every value. Offset adds the same value to each.
- Limit selects None, Soft or Hard. Limit Amount sets the magnitude for soft limiting or a hard clamp.
- Component Mod adds triangular modulation across the components.
- Mod Frequency sets its cycle count. Mod Phase shifts the pattern.
These controls change numerical model inputs. Gain is not image brightness, and Mod Phase is not an image translation. Judge them through the receiving generator’s output.
Inputs
-
latentimage required
Outputs
-
outimage
Parameters
Section titled “Parameters”Latent Transform
op('latent_transform').par.Normalize Standardizes the 512 logical components before shaping.
- Default:
Off- Options:
- Off, On
op('latent_transform').par.Gain Scales every logical latent component.
- Default:
1- Range:
- -4 to 4
op('latent_transform').par.Bias Offsets every logical latent component.
- Default:
0- Range:
- -4 to 4
op('latent_transform').par.Limit Magnitude used by Soft and Hard limiting.
- Default:
2.5- Range:
- 0.01 to 8
op('latent_transform').par.Modamount Adds a triangular per-component transform in latent space.
- Default:
0- Range:
- -2 to 2
op('latent_transform').par.Modfrequency Number of modulation cycles across the 512 components.
- Default:
1- Range:
- 0 to 32
op('latent_transform').par.Modphase Normalized phase offset for component modulation.
- Default:
0- Range:
- -1 to 1