ComfyUI Extension
comfyui-lostless-nodes
Pre-run random image selector and broadcast randomize button nodes for ComfyUI
lostlessvisuals/comfyui-lostless-nodes
Nodes5
On cloudLocal install
Categorylostless/nodes, lostless/mask
Stars0
Updated3 months ago
Nodes (5)
Readme
Lostless Nodes
Lostless custom nodes for ComfyUI focused on random image selection, sequence buffering, mask editing, and image-to-mask conversion.
Included Nodes
Lostless Random ImagePicks an image from a folder and outputsIMAGEplus the selected filename. Supports direct image picking, preview restore on reopen, and a per-nodeBroadcast Locktoggle for shared randomize pulses.Lostless Randomize ButtonBroadcast trigger for connectedLostless Random Imagenodes so one button can randomize every unlocked Lostless random-image node in the graph.Lostless BufferPads image sequences by duplicating the last frame to satisfyLTX (8n+1)orWAN (4n+1)batch requirements.Lostless Mask EditorInteractive mask editor for batched image and mask sequences with reusable in-memory sessions, clear-memory control, and frame-to-frame carry while painting.Lostless Image To MaskConverts black-and-white or RGB images intoMASKplus a previewIMAGE, with grayscale-preserving and thresholded conversion modes.
Installation
Manual install
- Clone this repository into
ComfyUI/custom_nodes/comfyui-lostless-nodes. - Install the node-pack dependencies using the same Python environment that runs ComfyUI.
- Restart ComfyUI.
python -m pip install -r ComfyUI/custom_nodes/comfyui-lostless-nodes/requirements.txt
ComfyUI-Manager / Registry
Once this pack is published to the Comfy Registry, install it through ComfyUI-Manager by searching for Lostless Nodes.
Notes
- The repo contains an embedded
Lostless-Mask-Editorpackage for compatibility, but this node pack intentionally exposes only the focused Lostless surface documented above. - If you modify deferred-carry behavior in
Lostless-Mask-Editor/nodes/mask_editor.py, rundocs/MASK_EDITOR_DEFERRED_CARRY_SMOKE.mdbefore shipping changes.
License
This repository is licensed under Apache License 2.0. Embedded upstream-derived files retain their own notices where applicable.