ComfyUI > Nodes > ComfyUI-HunyuanVideoWrapper > HunyuanVideo ReSampler

ComfyUI Node: HunyuanVideo ReSampler

Class Name

HyVideoReSampler

Category
HunyuanVideoWrapper
Author
kijai (Account age: 2506days)
Extension
ComfyUI-HunyuanVideoWrapper
Latest Updated
2025-05-12
Github Stars
2.4K

How to Install ComfyUI-HunyuanVideoWrapper

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

HunyuanVideo ReSampler Description

Enhances video processing through advanced resampling for precise video transformations in editing and enhancement workflows.

HunyuanVideo ReSampler:

The HyVideoReSampler is a node designed to enhance video processing by resampling video data, allowing for refined control over video transformations. This node is particularly useful in video-to-video processes where initial latent representations of video frames are adjusted to achieve desired effects. By leveraging advanced resampling techniques, the HyVideoReSampler provides users with the ability to manipulate video content with precision, ensuring that the final output aligns closely with the intended artistic vision. Its primary goal is to offer a flexible and powerful tool for video artists to experiment with and refine their video projects, making it an essential component in the video editing and enhancement workflow.

HunyuanVideo ReSampler Input Parameters:

model

This parameter specifies the video model to be used for the resampling process. It is crucial as it determines the underlying framework and capabilities available for video manipulation.

hyvid_embeds

This parameter represents the embeddings used in the video processing. These embeddings guide the transformation process, ensuring that the resampling aligns with the desired video characteristics.

samples

This parameter refers to the initial latent representations of the video frames that are used as a starting point for the video-to-video process. It is essential for defining the baseline from which transformations will be applied.

inversed_latents

These are the latent representations obtained from the HyVideoInverseSampler. They play a critical role in reversing or adjusting the effects applied to the video, allowing for more nuanced control over the final output.

steps

This integer parameter defines the number of steps to be taken during the resampling process. It has a default value of 30, with a minimum of 1, and influences the granularity and detail of the transformations applied.

embedded_guidance_scale

A float parameter that controls the strength of the guidance provided by the embeddings during resampling. It ranges from 0.0 to 30.0, with a default of 6.0, and affects how closely the output adheres to the embedded characteristics.

flow_shift

This float parameter, with a default value of 1.0, adjusts the flow of transformations across video frames. It ranges from 1.0 to 30.0 and impacts the smoothness and continuity of the video effects.

force_offload

A boolean parameter that, when set to true (default), ensures that resources are efficiently managed by offloading unnecessary data during processing, optimizing performance.

start_step

An integer parameter indicating the step at which the effects of the inversed latents begin to take effect. It has a default value of 0 and is crucial for timing the application of transformations.

end_step

This integer parameter specifies the step at which the effects of the inversed latents cease. With a default of 18, it helps define the duration over which the transformations are applied.

eta_base

A float parameter that sets the base value of eta, which determines the overall strength of the effect from the inversed latents. It ranges from 0.0 to 1.0, with a default of 0.5, and influences the intensity of the transformations.

eta_trend

This parameter offers options such as constant, linear_increase, and linear_decrease to define how the eta value changes over the steps. It provides flexibility in controlling the progression of effects throughout the resampling process.

HunyuanVideo ReSampler Output Parameters:

resampled_video

The primary output of the HyVideoReSampler, this parameter represents the video after the resampling process has been applied. It reflects the transformations and adjustments made based on the input parameters, providing a refined version of the original video content.

HunyuanVideo ReSampler Usage Tips:

  • Experiment with the embedded_guidance_scale to find the right balance between adhering to the original video characteristics and introducing new effects.
  • Use the start_step and end_step parameters to precisely control when transformations begin and end, allowing for targeted adjustments within specific sections of the video.

HunyuanVideo ReSampler Common Errors and Solutions:

"Invalid model specified"

  • Explanation: This error occurs when the model parameter is not correctly set or is incompatible with the resampling process.
  • Solution: Ensure that the model parameter is correctly specified and compatible with the HyVideoReSampler node.

"Latent representations missing"

  • Explanation: This error indicates that the required latent representations for processing are not provided.
  • Solution: Verify that both samples and inversed_latents parameters are correctly set with valid latent data.

"Steps out of range"

  • Explanation: The number of steps specified is either too low or exceeds the allowed range.
  • Solution: Adjust the steps parameter to be within the valid range, ensuring it is at least 1 and not excessively high.

HunyuanVideo ReSampler Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-HunyuanVideoWrapper
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 Playground, enabling artists to harness the latest AI tools to create incredible art.