MLSuite
MLSuite: a growing collection of ComfyUI nodes. Starts with Image Loader — bring any image into your workflow from an upload, a URL, a built-in gallery browser, or automatic folder rotation.
ComfyUI_MLSuite
English | Español
MLSuite is a collection of custom nodes for ComfyUI, built for a smoother image workflow. It starts with a powerful Image Loader and will keep growing.
<!-- Add a screenshot/GIF of the node and uncomment the line below (save it as assets/screenshot.png):  -->Interface language: English (primary). Spanish translations are included via
locales/.
Image Loader
One node to bring any image into your workflow — from an upload, a direct URL, a visual gallery browser, or by automatically rotating through a folder (perfect for datasets). Every source shows a live in-node preview with the real dimensions.
Features
- 🖼️ Four sources in one node — upload, image URL, gallery pick, or automatic index rotation over a folder.
- 🗂️ Built-in gallery browser — navigate folders with cover thumbnails, sort by name/date, adjust thumbnail size, preview on a large panel and select with a click (or double-click).
- 👁️ Consistent in-node preview — the same native preview for every source.
- 🔁 Dataset rotation — leave it empty and it walks the folder recursively, returning the next image on each run.
- 🌐 Bilingual UI — English by default, Spanish via
locales/.
Inputs
| Input | Description |
|-------|-------------|
| image | An image uploaded to ComfyUI's input folder. (none) to skip. |
| folder | Base folder: one of ComfyUI's standard dirs — input, output, temp. |
| start_index | Starting index for the automatic rotation. |
| sort_method | Order used by the rotation (alphabetical / numerical / date / random). |
| image_url (optional) | A direct image URL. Takes priority over everything. |
| manual_path (optional) | Any absolute folder path. Takes priority over folder. |
| selected_image (optional) | Path of the image picked in the gallery. |
Output: IMAGE.
Base folder resolution
No hardcoded paths. The base folder is resolved as:
manual_pathif set — used as-is (paste any absolute folder path).folder— one of ComfyUI's standard directories (input,output,temp).- Fallback — ComfyUI's
inputdirectory.
[!NOTE]
manual_pathaccepts any absolute folder so you can load from your own directories. Files are always served through an internal allow-list.
Installation
ComfyUI Manager (recommended)
Search for MLSuite in the ComfyUI Manager and click install, then restart ComfyUI.
Manual
cd ComfyUI/custom_nodes
git clone https://github.com/marcolopezs/ComfyUI_MLSuite
pip install -r ComfyUI_MLSuite/requirements.txt
Then restart ComfyUI.
Usage
- Add the Image Loader node (category
MLSuite/image). - Choose a source:
- URL — paste a link into
image_url. - Upload — pick a file from the
imagedropdown. - Gallery — click Browse gallery, navigate, and select an image.
- Rotation — leave everything empty and run repeatedly to step through a folder.
- URL — paste a link into
- The chosen image previews inside the node and comes out of the
IMAGEoutput.
Extra buttons: Open folder (opens the base folder in your file explorer) and Clear selection.
License
MIT © MLSuite