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

ComfyUI Node: WanVideo Add Extra Latent

Class Name

WanVideoAddExtraLatent

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 Extra Latent Description

Enhance video embeddings with additional latent information for AI artists to enrich video content creatively.

WanVideo Add Extra Latent:

The WanVideoAddExtraLatent node is designed to enhance video embeddings by incorporating additional latent information into the existing latent space. This node is particularly useful for AI artists who want to enrich their video content with extra layers of detail or complexity. By allowing the insertion of extra latents at specified indices, it provides flexibility in how these additional data points are integrated, enabling more nuanced and dynamic video outputs. The primary goal of this node is to offer a straightforward method for augmenting video embeddings, thereby expanding the creative possibilities for video generation and manipulation.

WanVideo Add Extra Latent Input Parameters:

embeds

The embeds parameter represents the initial set of video embeddings that you want to enhance. These embeddings serve as the foundation upon which extra latents will be added. The parameter is of type WANVIDIMAGE_EMBEDS, which is a specific format used within the WanVideo framework to handle video embeddings. This parameter is crucial as it determines the base content that will be modified by the addition of extra latents.

extra_latents

The extra_latents parameter is a collection of latent data that you wish to insert into the existing latent space. It is of type LATENT, indicating that it contains latent information that can be used to modify or enhance the video embeddings. This parameter is essential for adding new dimensions or features to the video content, allowing for more complex and detailed outputs.

latent_index

The latent_index parameter specifies the position within the latent space where the extra latents should be inserted. It is an integer value with a default of 0, and it can range from -1000 to 1000. This parameter allows you to control the exact placement of the extra latents, which can significantly impact the resulting video output. By adjusting this index, you can experiment with different configurations to achieve the desired effect in your video content.

WanVideo Add Extra Latent Output Parameters:

image_embeds

The image_embeds output parameter represents the updated set of video embeddings after the extra latents have been added. This output is of type WANVIDIMAGE_EMBEDS, maintaining consistency with the input format. The updated embeddings reflect the integration of the extra latents, resulting in a potentially richer and more dynamic video output. This parameter is crucial for understanding the impact of the added latents on the overall video content.

WanVideo Add Extra Latent Usage Tips:

  • Experiment with different latent_index values to see how the placement of extra latents affects the video output. This can help you achieve a variety of creative effects.
  • Use the extra_latents parameter to introduce new features or details into your video content, enhancing its complexity and depth.

WanVideo Add Extra Latent Common Errors and Solutions:

Missing extra_latents key in embeds

  • Explanation: This error occurs when the embeds dictionary does not contain the extra_latents key, which is necessary for the node to function correctly.
  • Solution: Ensure that the embeds input includes the extra_latents key, even if it is initially empty, to allow for the addition of new latents.

Invalid latent_index value

  • Explanation: This error arises when the latent_index value is outside the allowed range of -1000 to 1000.
  • Solution: Verify that the latent_index is within the specified range and adjust it accordingly to avoid this error.

WanVideo Add Extra 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 Extra Latent