5_classname/, as used by tools like kohya-ss/sd-scripts) are also supported.
Inputs
The selected folder must be a subfolder of the ComfyUI input directory; a folder name that resolves outside of that directory raises an error. If the selected folder contains no files with a supported video extension (MP4, AVI, MOV, WEBM, MKV, FLV), the node raises an error. For nested folders whose name starts with a number followed by an underscore (for example
5_classname), each video inside that folder is included in the dataset the number of times given by that prefix. Each video’s caption is read from a .txt file with the same base name; if no matching .txt file exists, the caption is an empty string.
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):
21ed21bc3189e96be5c7f0415c65e8749d6591cf19bddf4350a3b0af48b92841