Various nodes of the Level Pixel company. Includes convenient advanced nodes for working with images from folders; counting files in a folder; cleaning memory; tag filters. Model Unloader, LLM Unloader (GGUF unloaders), Free memory, Tag Filters, Tag Category Filters, Tag Choice Parser, File counter, Image Loader From Path (with counters), Image Remove Background based on RemBG.
The purpose of this package is to collect the most necessary and atomic nodes for working with any tasks, adapted for use in cycles and conditions. The package of nodes is aimed at those users who need all the basic things to create multitasking complex workflows using multimodal neural models and software solutions.
Our dream is to see object-oriented programming in ComfyUI. We will try to get closer to it.
In this Level Pixel node pack you will find: LLM nodes, LLaVa and other VLM nodes, Image Remove Background based on RemBG, Tag Category Filter nodes, Model Unloader nodes, Autotagger, File Counter, Image Loader From Path, Load Image, Fast Checker Pattern, Float Slider, Load LoRA Tag, Image Overlay, Conversion nodes.
For cooperation, suggestions and ideas you can write to email: [email protected]
Install ComfyUI Manager and do steps introduced there to install this repo 'ComfyUI-LevelPixel'. The nodes of the current package will be updated automatically when you click "Update ALL" in ComfyUI Manager.
Clone the repository:
git clone https://github.com/LevelPixel/ComfyUI-LevelPixel.git
to your ComfyUI custom_nodes
directory
The script will then automatically install all custom scripts and nodes. It will attempt to use symlinks and junctions to prevent having to copy files and keep them up to date.
custom_nodes
web/extensions/levelpixel
has also been removedcustom_nodes/ComfyUI-LevelPixel
git pull
All nodes Level Pixel:
<img width="1171" alt="level-pixel-nodes_2" src="https://github.com/user-attachments/assets/63b42605-1720-4a10-a54d-d2950d3d013f">A node that generates text using the LLM model with subsequent unloading of the model from memory. Useful in those workflows where there is constant switching between different models and technologies under conditions of insufficient RAM of the video processor.
Our LLM nodes support the latest LLM and CLIP models, and should support future ones (please let us know if any models stop working).
The core functionality is taken from ComfyUI_VLM_nodes and belongs to its authors.
A node that generates text using the LLM model and CLIP by image and prompt with subsequent unloading of the model from memory.
Our LLava nodes support the latest LLM models, and should support future ones (please let us know if any models stop working).
The core functionality is taken from ComfyUI_VLM_nodes and belongs to its authors.
A more improved version of rembg nodes for ComfyUI with an extended list of models.
To use on GPU, at least CUDA 12.4 (Pytorch cu124) is required, so I recommend upgrading to newer versions of ComfyUI and Pytorch. If GPU still doesn't work, use for your python:
pip uninstall rembg
pip install rembg[gpu]
The core functionality is taken from RemBG nodes for ComfyUI and belongs to its authors.
An image autotagger that creates highly relevant tags using fast and ultra-accurate, highly specialized models. More diverse models are planned to be added to the list of models in the future.
This node allows it to be used in cycles and conditions (in places where it is not necessary to execute this node according to the specified conditions), since it is not a node with mandatory execution.
The core functionality is taken from ComfyUI-WD14-Tagger and belongs to its authors.
A set of nodes that allow you to filter tags by category. There is an option to remove or leave certain categories of tags, there is a function for defining categories of all tags, there is a function for removing certain tags.
Nodes are very convenient because you can use them to remove unnecessary tags by certain categories, for example, to clean up tags and prepare them for use. You can use this to get certain prompts from an image (for example, if you need a description of only the background from an image - you can get this category of tags if you set the "background" category in Tag Category Keeper).
The core functionality is taken from comfyui_tag_fillter and belongs to its authors.
LoRA loader from text in the style of Automatic1111 and Forge WebUI. For this version of loader, text output for errors when loading LoRA has been added as widget on node.
The core functionality is taken from comfyui_lora_tag_loader and belongs to its authors.
A node that automatically unloads all checkpoints from memory. It must be added to a sequential chain of nodes in the workflow. There are three versions of this node: Hard (complete unloading of all checkpoints from memory, except for GGUF (not supported yet)), Middle (the same as Hard, but in the future I plan to add widgets with the ability to select a mode), Soft (without unloading checkpoints from memory, just soft cleaning of memory from garbage).
A simple counter of files in a given folder. Convenient when you need to count the number of files in a certain format (for example, for subsequent use in loops or conditions).
Loads images from a specific folder or path. It is convenient because you can specify both absolute paths and local paths (from the input folder), as well as the ability to sequentially receive images into the workflow at each step of the cycle by number. In addition, you can load images in batches with a certain number of loaded images in a batch. And the cherry on the cake - you can get a list of image file names at the output.
This is a new image loading node that can retrieve the name of the files you load into your workflow.
A node that allows you to overlay one image on another with the ability to specify a mask. In this package, Image Overlay has an extended range of specified sizes for the final image, and also has another standard image size.
The core functionality is taken from efficiency-nodes-comfyui and belongs to its authors.
Quickly creates a background image with a checkerboard pattern according to the specified parameters for subsequent testing of images with a transparent background. You need to combine the resulting background image with your image with a transparent background in other ComfyUI nodes (at the moment there is no universal node, but perhaps we will make one in the future).
Simple Float Slider is a handy slider from 0.0 to 1.0 to conveniently manage variables in your workflow. The min and max values cannot be changed on the interface (but you can change these values inside Python if you really need to). The pack contains two additional sliders - "Simple Float Slider - Tenths Step" and "Simple Float Slider - Hundredths Step" for working with more precisely defined values in tenths and hundredths (work correctly only if you have not changed the value of "Float widget rounding decimal places" in the ComfyUI settings. If you have changed it, then return the value to 0).
The core functionality is taken from comfyui-mixlab-nodes and belongs to its authors.
There are a few more nodes in this package that have some unusual uses:
ComfyUI/ComfyUI - A powerful and modular stable diffusion GUI.
VLM nodes for ComfyUI/ComfyUI_VLM_nodes - Best VLM nodes for ComfyUI.
Tag Filter nodes for ComfyUI/comfyui_tag_fillter - Best tag filter by category nodes for ComfyUI.
Load LoRA Tag node for ComfyUI/comfyui_lora_tag_loader - Thanks to the author for this great node for LoRAs!
Efficiency-nodes-comfyui/efficiency-nodes-comfyui - Thanks for Image Overlay!
RemBG nodes for ComfyUI/rembg-comfyui-node - RemBG nodes for ComfyUI.
RemBG software package/rembg - Best software to remove background for any object in the picture.
Copyright (c) 2024-present Level Pixel
Licensed under Apache License