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 | Description | Data Type | Required | Range |
|---|---|---|---|---|
images | The input image sequence to be split into segments. | IMAGE | Yes | N/A |
segment_length | Length of each segment in frames (default: 149). | INT | Yes | 1 to 10000 |
num_segments | How many padded segments to emit as lists (default: 1). | INT | Yes | 1 to 100 |
audio | Audio to slice for each emitted segment. | AUDIO | No | N/A |
Outputs
| Output Name | Description | Data Type |
|---|---|---|
keyframes_sequence | A list of padded keyframe sequences, one for each segment. | IMAGE |
keyframes_mask | A list of masks indicating valid frames for each segment. | MASK |
audio_segment | A list of audio segments, one for each video segment. | AUDIO |
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
f9918166a75f688f1de6a09008780bc629bbdfb3b8d547de9ba8661ef07fc97e