> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# LatentInterpolate - ComfyUI Built-in Node Documentation

> 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

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.

## Inputs

| Parameter  | Description                                                                                                                                                                                               | Data Type |
| ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `samples1` | The first set of latent samples to be interpolated. It serves as the starting point for the interpolation process.                                                                                        | `LATENT`  |
| `samples2` | The second set of latent samples to be interpolated. It serves as the endpoint for the interpolation process.                                                                                             | `LATENT`  |
| `ratio`    | A 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. | `FLOAT`   |

## Outputs

| Parameter | Description                                                                                                                              | Data Type |
| --------- | ---------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `latent`  | The output is a new set of latent samples that represent an interpolated state between the two input sets, based on the specified ratio. | `LATENT`  |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/LatentInterpolate/en.md)
