ComfyUI > Nodes > ComfyUI-WanVideoWrapper > WanVideo Pass Images From Samples

ComfyUI Node: WanVideo Pass Images From Samples

Class Name

WanVideoPassImagesFromSamples

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 Pass Images From Samples Description

Extract and transform image data from samples for video processing workflows, streamlining image retrieval and decoding.

WanVideo Pass Images From Samples:

The WanVideoPassImagesFromSamples node is designed to facilitate the extraction and transformation of image data from a given set of samples, specifically within the context of video processing workflows. This node is particularly useful when working with video data that has been processed through Multi/InfiniteTalk sampling methods. Its primary function is to retrieve and decode images that may already be present in the samples dictionary, ensuring that the images are in a usable format for further processing or analysis. By handling the conversion of latent data into image data, this node streamlines the workflow for users who need to work with video frames in a more accessible format. The node also provides the capability to return an output path if specified within the samples, adding an extra layer of utility for managing and organizing output data.

WanVideo Pass Images From Samples Input Parameters:

samples

The samples parameter is a required input that represents a dictionary containing latent data, typically labeled as "LATENT". This parameter is crucial as it holds the encoded video data that the node will process to extract images. The function of this parameter is to provide the node with the necessary data structure from which it can retrieve and decode images. The impact of this parameter on the node's execution is significant, as it directly influences the output by determining the source of the image data. There are no specific minimum, maximum, or default values for this parameter, as it is expected to be a dictionary containing the relevant latent data.

WanVideo Pass Images From Samples Output Parameters:

images

The images output parameter provides the decoded images extracted from the samples dictionary. This output is essential as it transforms the latent data into a format that can be easily visualized and further processed. The images are returned as a tensor, which has been normalized to a range suitable for image data, making them ready for use in various applications such as video editing or analysis.

output_path

The output_path output parameter returns a string that indicates the path where the output images are stored, if such a path is specified within the samples dictionary. This parameter is important for users who need to manage and organize their output data efficiently, as it provides a direct reference to the location of the processed images. If no output path is specified in the samples, this parameter will return an empty string.

WanVideo Pass Images From Samples Usage Tips:

  • Ensure that the samples dictionary contains the necessary latent data labeled as "video" to allow the node to function correctly.
  • Utilize the output_path to manage and organize your output data effectively, especially when dealing with large volumes of video frames.

WanVideo Pass Images From Samples Common Errors and Solutions:

Missing video key in samples

  • Explanation: The samples dictionary does not contain the expected "video" key, which is necessary for the node to retrieve and decode images.
  • Solution: Verify that the samples dictionary includes a "video" key with the appropriate latent data before passing it to the node.

Invalid data range in video

  • Explanation: The latent data in the "video" key is not within the expected range of -1.0 to 1.0, which can lead to incorrect image decoding.
  • Solution: Ensure that the latent data is properly normalized to the range of -1.0 to 1.0 before using the node to decode images.

WanVideo Pass Images From Samples 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 Pass Images From Samples