2.8 KiB
2.8 KiB
ComfyUI-Advanced-Latent-Control
This custom node helps to transform latent in different ways.
Custom Nodes
LatentMirror
This node can flip latent and merge original and flipped version
Input:
latent
Fields:
direction– can bevertically,horizontallyorbothmultiplier– multiply latent by specified number
Output:
latent
LatentShift
This node can shift latent along x and y axes
Input:
latent
Fields:
x_shift– a number between -1 and 1 that indicates how much the latent should be shiftedy_shift– a number between -1 and 1 that indicates how much the latent should be shifted
Output:
latent
KSampler (Latent Control)
This node can multiply, mirror and shift latent during generation
Input:
exactly matches the base KSampler
Fields:
- base KSampler fields
start_mirror_at– a number between 0 and 1 that indicates at what point the sampler will start mirroringstop_mirror_at– a number between 0 and 1 that indicates at what point the sampler will stop mirroringmirror_mode– can bereplaceorcombine.replacewill replace the latent with the transformed one,combinewill add the original and the transformed latent and divide by 2mirror_direction– can benone,vertically,horizontally,both,90 degree rotationor180 degree rotationstart_shift_at– a number between 0 and 1 that indicates at what point the sampler will start shiftingstop_shift_at– a number between 0 and 1 that indicates at what point the sampler will stop shiftingshift_mode– can bereplaceorcombine.replacewill replace the latent with the transformed one,combinewill add the original and the transformed latent and divide by 2x_shift– a number between -1 and 1 that indicates how much the latent should be shiftedy_shift– a number between -1 and 1 that indicates how much the latent should be shiftedstart_multiplier_at– a number between 0 and 1 that indicates at what point the sampler will start multiplyingstop_multiplier_at– a number between 0 and 1 that indicates at what point the sampler will stop multiplyingmultiplier_mode– can bereplaceorcombine.replacewill replace the latent with the transformed one,combinewill add the original and the transformed latentmultiplier– multiply latent by specified number
Output: exactly matches the base KSampler






