ComfyUI > Nodes > ComfyUI_XISER_Nodes > Latent Blend Node

ComfyUI Node: Latent Blend Node

Class Name

XIS_LatentBlendNode

Category
XISER_Nodes/Sampling
Author
grinlau18 (Account age: 944days)
Extension
ComfyUI_XISER_Nodes
Latest Updated
2026-03-20
Github Stars
0.03K

How to Install ComfyUI_XISER_Nodes

Install this extension via the ComfyUI Manager by searching for ComfyUI_XISER_Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_XISER_Nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Latent Blend Node Description

Blends two latent representations with customizable transitions for creative outputs.

Latent Blend Node:

The XIS_LatentBlendNode is a powerful tool designed for blending two latent representations in a dynamic and customizable manner. This node is particularly useful for AI artists who wish to create smooth transitions or interpolations between different latent states, which can be crucial in generating creative and unique outputs. By leveraging various blending modes, such as linear, sigmoid, ease-in, ease-out, and ease-in-out, the node allows for nuanced control over the blending process, enabling artists to achieve the desired artistic effect. The node's primary function is to interpolate between two sets of latent samples, providing a seamless blend that can be adjusted in terms of strength and transition style. This capability is essential for tasks that require gradual changes in latent space, such as morphing one image into another or creating animations with subtle variations.

Latent Blend Node Input Parameters:

latent1

This parameter represents the first set of latent samples to be blended. It serves as one of the two primary inputs for the blending process. The latent1 input is crucial as it defines the starting point of the blend, and its characteristics will significantly influence the final output. The shape of latent1 must match that of latent2 to ensure a successful blend.

latent2

Latent2 is the second set of latent samples involved in the blending process. It acts as the endpoint of the blend, and its features will be gradually introduced into the output as the blend progresses. Like latent1, the shape of latent2 must match that of latent1 to avoid errors during execution.

start_strength

This parameter determines the initial strength of the blend, with a value range from 0.0 to 1.0. A start_strength of 0 means the blend begins fully with latent1, while a value of 1 means it starts fully with latent2. The default value is 0.0, allowing for a gradual introduction of latent2 into the blend.

end_strength

End_strength specifies the final strength of the blend, also ranging from 0.0 to 1.0. A value of 0 indicates the blend ends fully with latent1, whereas a value of 1 indicates it ends fully with latent2. The default value is 1.0, ensuring a complete transition to latent2 by the end of the blend.

batch_size

This parameter defines the number of output latent frames to be generated, with a default value of 16. The batch_size can range from 1 to 100, allowing users to control the granularity of the blend. A larger batch_size results in more intermediate frames, providing a smoother transition.

blend_mode

Blend_mode allows users to select the blending style for the strength transition. Options include "linear," "sigmoid," "ease_in," "ease_out," and "ease_in_out," with "linear" as the default. Each mode offers a different transition curve, enabling artists to tailor the blend to their specific creative needs.

Latent Blend Node Output Parameters:

latent_batch

The output parameter latent_batch contains the blended latent samples resulting from the node's execution. This output is a collection of latent frames that represent the transition from latent1 to latent2, according to the specified blend parameters. The latent_batch is crucial for further processing or visualization, as it encapsulates the dynamic blend created by the node.

Latent Blend Node Usage Tips:

  • Experiment with different blend_modes to achieve various artistic effects. For instance, use "ease_in_out" for a smooth start and end transition.
  • Adjust the start_strength and end_strength to control the dominance of each latent input in the final blend, allowing for creative flexibility.

Latent Blend Node Common Errors and Solutions:

Latent1 and Latent2 must have the same shape

  • Explanation: This error occurs when the input latent samples have mismatched shapes, preventing the blending process.
  • Solution: Ensure that both latent1 and latent2 have identical shapes before executing the node. You may need to resize or reshape one of the inputs to match the other.

Unsupported blend mode: <mode>

  • Explanation: This error is raised when an invalid blend_mode is specified.
  • Solution: Verify that the blend_mode parameter is set to one of the supported options: "linear," "sigmoid," "ease_in," "ease_out," or "ease_in_out."

Latent Blend Node Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_XISER_Nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Latent Blend Node