ComfyUI Node

List Slice

A ComfyUI node in utils/list with 3 inputs and 1 output.

By ttulttul·Created 8 months ago·Updated 2 months ago· 14
List Slice
  • list_items
  • list_items
start_index1
length1
Categoryutils/list

Inputs (3)

NameTypeDefaultDescription
list_items*List-valued input to slice. Non-list inputs are copied through unchanged.
start_indexINT11–21474836471-based starting item to include. Values past the list end clamp to the last item.
lengthINT11–2147483647Maximum number of items to include from the start index.

Outputs (1)

NameTypeDescription
list_items*