ComfyUI > Nodes > ComfyUI > WanDancerPadKeyframes

ComfyUI Node: WanDancerPadKeyframes

Class Name

WanDancerPadKeyframes

Category
image/video
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

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

WanDancerPadKeyframes Description

Facilitates video segment creation by padding and synchronizing keyframes with audio for precise editing and production tasks.

WanDancerPadKeyframes:

The WanDancerPadKeyframes node is designed to facilitate the creation of video segments by padding keyframes and synchronizing them with audio segments. This node is particularly useful for video editing and production tasks where precise synchronization between visual and audio elements is crucial. By dividing a sequence of images into segments and aligning them with corresponding audio clips, it ensures that each segment is consistent in length and timing. This capability is essential for creating seamless video transitions and maintaining the integrity of the audio-visual experience. The node's primary function is to manage the segmentation of both images and audio, providing a structured approach to video editing that enhances the overall quality and coherence of the final output.

WanDancerPadKeyframes Input Parameters:

images

This parameter accepts a sequence of images that will be divided into segments. The images serve as the visual content for each segment, and their quality and resolution will directly impact the final output. There are no specific minimum or maximum values for this parameter, but the images should be consistent in size and format to ensure smooth processing.

segment_length

This integer parameter defines the length of each segment in terms of the number of frames, with a default value of 149 frames. The minimum value is 1, and the maximum is 10,000. Adjusting this parameter affects the duration of each video segment, allowing you to tailor the segment length to fit specific project requirements.

segment_index

This integer parameter specifies which segment is being processed, starting from 0 for the first segment. It helps in organizing and managing multiple segments within a project. The minimum value is 0, and the maximum is 100, providing flexibility in handling numerous segments.

audio

This parameter takes an audio input that will be synchronized with the image segments. The audio is used to calculate the total number of output frames and to extract the corresponding audio segment for each video segment. The quality and length of the audio input will influence the synchronization and overall output quality.

WanDancerPadKeyframes Output Parameters:

keyframes_sequence

This output provides the padded keyframe sequence for each segment. It represents the visual content of the segment, ensuring that each segment is consistent in length and properly aligned with the audio. This output is crucial for maintaining the visual continuity of the video.

keyframes_mask

The keyframes mask output indicates which frames within the segment are valid. It helps in identifying the frames that contain meaningful content, as opposed to padded frames that may be used to fill the segment to the desired length. This mask is essential for post-processing and editing tasks.

audio_segment

This output delivers the audio segment corresponding to each video segment. It ensures that the audio is perfectly synchronized with the visual content, maintaining the integrity of the audio-visual experience. This output is vital for projects where precise audio synchronization is required.

WanDancerPadKeyframes Usage Tips:

  • Ensure that the images and audio inputs are of high quality and consistent format to achieve the best results in the final output.
  • Adjust the segment_length parameter to match the desired duration of each video segment, keeping in mind the project's requirements and constraints.
  • Use the segment_index parameter to manage and organize multiple segments within a project, especially when dealing with complex video editing tasks.

WanDancerPadKeyframes Common Errors and Solutions:

"Invalid segment length"

  • Explanation: The segment_length parameter is set to a value outside the allowed range.
  • Solution: Ensure that the segment_length is between 1 and 10,000 frames.

"Audio input missing"

  • Explanation: The node requires an audio input to calculate the total output frames and extract the segment audio.
  • Solution: Provide a valid audio input to the node to enable proper synchronization with the image segments.

WanDancerPadKeyframes Related Nodes

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

WanDancerPadKeyframes