Nodes/ComfyUI_SwiftCut/Select Images
ComfyUI Node

Select Images

Image Index Selection Node Supported Index Formats: - Single Index: "5" (Selects the 6th image, counting from 0) - Multiple Indexes: "1,3,5" (Selects the 2nd, 4th, and 6th images) - Range Selection: "3-10" (Selects the 4th to 11th images) - Range with Step: "0-10:2" (Selects the 1st, 3rd, 5th, 7th, 9th, and 11th images) - Mixed Format: "1,3-5,8,10-15" (Selects the 1st, 3rd, 4th, 5th, 8th, 10th, 11th, 12th, 13th, 14th, and 15th images) - Negative Index: "-1" (Selects the last image), "-3--1" (Selects the last 3 images) Parameter Description: - err_if_missing: Whether to report an error if the index is out of range - err_if_empty: Whether to report an error if no images are selected

By yichengup·Created 11 months ago·Updated 7 months ago· 10
Select Images
  • image
  • selected_images
indexes0
err_if_missingtrue
err_if_emptytrue
CategoryYC_VideoCutHelper/Image Tools

Inputs (4)

NameTypeDefaultDescription
imageIMAGE
indexesSTRING0
err_if_missingBOOLEANtrue
err_if_emptyBOOLEANtrue

Outputs (1)

NameTypeDescription
selected_imagesIMAGE