ComfyUI > Nodes > ComfyUI-WanVideoWrapper > WanVideo Add StandIn Latent

ComfyUI Node: WanVideo Add StandIn Latent

Class Name

WanVideoAddStandInLatent

Category
WanVideoWrapper
Author
kijai (Account age: 2871days)
Extension
ComfyUI-WanVideoWrapper
Latest Updated
2026-05-05
Github Stars
6.41K

How to Install ComfyUI-WanVideoWrapper

Install this extension via the ComfyUI Manager by searching for ComfyUI-WanVideoWrapper
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-WanVideoWrapper 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

WanVideo Add StandIn Latent Description

Enhances video processing by integrating latent image features for dynamic video outputs with adjustable RoPE frequency.

WanVideo Add StandIn Latent:

The WanVideoAddStandInLatent node is designed to enhance video processing workflows by integrating a reference image's latent representation into a sequence of video embeddings. This node is particularly useful for scenarios where a specific image needs to be encoded and its features incorporated into a video sequence, allowing for more dynamic and contextually rich video outputs. By leveraging a frequency offset, this node provides an experimental feature that adjusts the RoPE (Rotary Position Embedding) frequency between the reference image and the rest of the sequence, potentially leading to innovative visual effects. The primary goal of this node is to offer a flexible and powerful tool for AI artists to manipulate video embeddings with precision and creativity.

WanVideo Add StandIn Latent Input Parameters:

embeds

The embeds parameter represents the video embeddings that will be modified by adding the latent representation of a reference image. This parameter is crucial as it serves as the base data structure that the node will enhance. It is of type WANVIDIMAGE_EMBEDS, which is a specialized format for handling video embeddings in this context.

ip_image_latent

The ip_image_latent parameter is the latent representation of the reference image that you wish to encode into the video sequence. This parameter is of type LATENT and includes a tooltip indicating its role as a reference image. It is essential for defining the visual characteristics that will be integrated into the video embeddings.

freq_offset

The freq_offset parameter is an integer that specifies the RoPE frequency offset between the reference image and the rest of the sequence. This experimental feature allows for fine-tuning the integration of the reference image's latent features into the video sequence. The parameter has a default value of 1, with a minimum of 0 and a maximum of 100, and it can be adjusted in steps of 1. This flexibility enables you to experiment with different frequency offsets to achieve the desired visual effect.

WanVideo Add StandIn Latent Output Parameters:

image_embeds

The image_embeds output parameter is the modified set of video embeddings that now include the latent representation of the reference image. This output is of type WANVIDIMAGE_EMBEDS, and it reflects the updated state of the video embeddings after the integration process. The inclusion of the reference image's features can lead to more contextually rich and visually appealing video outputs, making this parameter crucial for evaluating the node's effectiveness.

WanVideo Add StandIn Latent Usage Tips:

  • Experiment with different freq_offset values to see how they affect the integration of the reference image into the video sequence. This can lead to unique visual effects that enhance the overall video output.
  • Use high-quality reference images for the ip_image_latent parameter to ensure that the latent features being integrated are of sufficient detail and quality, which can significantly impact the final video output.

WanVideo Add StandIn Latent Common Errors and Solutions:

Missing ip_image_latent key in input

  • Explanation: This error occurs when the ip_image_latent parameter is not provided or is incorrectly formatted.
  • Solution: Ensure that the ip_image_latent parameter is correctly specified and that it contains a valid latent representation of the reference image.

Invalid freq_offset value

  • Explanation: This error arises when the freq_offset parameter is set to a value outside the allowed range (0 to 100).
  • Solution: Adjust the freq_offset value to be within the specified range, ensuring it is an integer between 0 and 100.

WanVideo Add StandIn Latent Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-WanVideoWrapper
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.

WanVideo Add StandIn Latent