v1.1.0 - Filtered Random LoRA Loader
v1.1.0 - Filtered Random LoRA Loader
🎉 Major Update
New Features
🆕 Filtered Random LoRA Loader
- New node with keyword filtering capabilities
- Space-separated keyword search with phrase support (
"anime style" character) - AND/OR filtering modes
- Metadata search with caching (instant after 1st time)
- Designed for chaining multiple instances
🖼️ Preview Image Output
- Both nodes now output preview images
- Long edge resized to 1240px (aspect ratio preserved)
- Batch output for multiple LoRAs
- Easily verify which LoRAs were selected
🔄 Duplicate Filename Handling
- New
unique_by_filenameparameter (default:True) - Prevents same LoRA from different subfolders being selected
- Logs duplicate detections
Improvements
- Both nodes: Split
additional_promptinto positive/negative - Both nodes: LoRA syntax removal from CONDITIONING generation
- Both nodes: Unified strength precision to 1 decimal place
- Filtered: Better handling when
num_loras> available files
Bug Fixes
- Fixed negative_text output in
json_sample_promptmode - Fixed LoRA syntax appearing in metadata trigger words
- Fixed parameter order consistency
Performance
Metadata search caching:
- 10,000 files: ~20s (1st time), <100ms (2nd+ times)
- Memory: ~150MB per 10,000 files
- Progress display for large collections
📦 Installation
cd ComfyUI/custom_nodes
git clone https://github.com/shin131002/RandomLoRALoader.gitRestart ComfyUI. No additional dependencies required.
⚠️ Disclaimer
This is a personal tool shared publicly.
- No technical support provided
- No warranty or guarantee
- Use at your own risk
📚 Full Documentation
See [README.md](https://github.com/shin131002/RandomLoRALoader/blob/main/README.md) for detailed usage instructions.