Skip to main content
This node loads a dataset of video files and their corresponding text captions from a specified subfolder inside the ComfyUI input directory. It returns two lists: lazy video references (frames are decoded only when needed downstream) and their associated captions. The node supports common video formats such as MP4, AVI, MOV, WEBM, MKV, and FLV, and can also handle nested folder structures with repeat‑count prefixes (e.g. 5_classname/) used by tools like kohya‑ss/sd‑scripts.

Inputs

Outputs

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): 91236fcb1e42b8de1a1100b0aecaad49bd49c159d7d8f502032cd7f5b2b54845