latent
advanced
Latent Subtract

Latent Subtract

comfyUI节点-LatentSubtract-Latent相减

Documentation

  • Class name: LatentSubtract
  • Category: latent/advanced
  • Output node: False

The LatentSubtract node is designed for subtracting one latent representation from another. This operation can be used to manipulate or modify the characteristics of generative models' outputs by effectively removing features or attributes represented in one latent space from another.

Input types

ParameterComfy dtypeDescription
samples1LATENTThe first set of latent samples to be subtracted from. It serves as the base for the subtraction operation.
samples2LATENTThe second set of latent samples that will be subtracted from the first set. This operation can alter the resulting generative model's output by removing attributes or features.

Output types

ParameterComfy dtypeDescription
latentLATENTThe result of subtracting the second set of latent samples from the first. This modified latent representation can be used for further generative tasks.