ComfyUI Node
Clean Latent Slice (TJ 2.5)
Safely slices a video latent starting from an offset index for a specific length. Uses torch.narrow to bypass PyTorch NestedTensor slicing bugs.
Clean Latent Slice (TJ 2.5)
- latent
- latent
◄start0►
◄length1►
CategoryWhatDreamsCost CS 2.5
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| latent | LATENT | — | |
| start | INT | 00–100000 | The starting frame index to slice from (plug 'latent_start_index' here). |
| length | INT | 11–100000 | The number of frames to keep (plug 'clean_latent_frames' here). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| latent | LATENT | — |