Documentation Index
Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
Use this file to discover all available pages before exploring further.
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Overview
This node takes a sequence of images and an optional audio track, and splits them into a specified number of padded segments. It is designed to prepare keyframe sequences for video generation, where each segment is padded to a consistent length and a corresponding mask is created to indicate which frames are valid.Inputs
| Parameter | Data Type | Required | Range | Description |
|---|---|---|---|---|
images | IMAGE | Yes | N/A | The input image sequence to be split into segments. |
segment_length | INT | Yes | 1 to 10000 | Length of each segment in frames (default: 149). |
num_segments | INT | Yes | 1 to 100 | How many padded segments to emit as lists (default: 1). |
audio | AUDIO | No | N/A | Audio to slice for each emitted segment. |
Outputs
| Output Name | Data Type | Description |
|---|---|---|
keyframes_sequence | IMAGE | A list of padded keyframe sequences, one for each segment. |
keyframes_mask | MASK | A list of masks indicating valid frames for each segment. |
audio_segment | AUDIO | A list of audio segments, one for each video segment. |
Source fingerprint (SHA-256):
f9918166a75f688f1de6a09008780bc629bbdfb3b8d547de9ba8661ef07fc97e