Caption your whole dataset in one click.
Pick a folder of images, press Run, and walk away. You get cropped images with matching text captions, ready for LoRA training.
What you get
Your folder gets a new "cropped" folder inside it, filled with pairs like these:
image1.png
image1.txt
Same names, so your trainer pairs them up automatically. Your original images are never touched.
How to use it
Put the custom node in ComfyUI/custom_nodes/ (link below, also in the zip) and restart ComfyUI
Download the model below into ComfyUI/models/text_encoders/
Load the workflow
Paste your image folder path into the first node
Press Run once
Captions show up when the run finishes, so don't worry if the text files don't appear right away.
What you need
Custom node: ComfyUI-DatasetCaptionTools (also in the download)
Model: Qwen3-VL 4B text encoder
A recent ComfyUI
Quick tips
Want different captions? Edit the prompt in the Generate Text node. Training a style LoRA? Delete "including the specific art style and line work" from the prompt.
Different output folder name? Change the subfolder field on the two save nodes.
Huge folder? Split it into smaller batches, since everything loads at once.

