ComfyUI Nodes
Latent Interpolate

Latent Interpolate



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

The LatentInterpolate node is designed to perform interpolation between two sets of latent samples based on a specified ratio, blending the characteristics of both sets to produce a new, intermediate set of latent samples.

Input types

ParameterComfy dtypeDescription
samples1LATENTThe first set of latent samples to be interpolated. It serves as the starting point for the interpolation process.
samples2LATENTThe second set of latent samples to be interpolated. It serves as the endpoint for the interpolation process.
ratioFLOATA floating-point value that determines the weight of each set of samples in the interpolated output. A ratio of 0 produces a copy of the first set, while a ratio of 1 produces a copy of the second set.

Output types

ParameterComfy dtypeDescription
latentLATENTThe output is a new set of latent samples that represent an interpolated state between the two input sets, based on the specified ratio.