The Local LoRA Gallery node replaces the standard dropdown LoRA loader with an intuitive, card-based visual interface. It allows you to see your LoRA previews, organize them with tags, and stack multiple LoRAs with adjustable strengths. This node is designed to streamline your workflow, especially when working with a large collection of LoRAs.
It also features optional integration with comfyui-nunchaku for significant performance acceleration on compatible models like FLUX.
- Visual LoRA Selection: Displays your LoRAs as cards with preview images.
- Multi-LoRA Stacking: Click to add or remove multiple LoRAs to a stack, which are then applied in sequence.
- Advanced Tag Management:
- Add or remove tags for each LoRA directly within the UI.
- Batch edit tags: Select multiple LoRAs (
Ctrl+Clickthe pencil icon) and edit their common tags simultaneously.
- Powerful Filtering:
- Filter LoRAs by name.
- Filter LoRAs by tags, with support for OR and AND logic.
- Intuitive Controls:
- Click the pencil icon (✏️) to enter editing mode. Click again to exit.
- Press the
ESCkey to exit tag editing mode at any time.
- Nunchaku Acceleration:
- Automatically detects if the
comfyui-nunchakuplugin is installed. - When a Nunchaku-compatible model (e.g., FLUX) is connected, it transparently uses the accelerated
NunchakuFluxLoraLoaderfor faster performance. - Falls back to the standard loader for non-Nunchaku models, ensuring full compatibility.
- Automatically detects if the
- User-Friendly Interface: Collapsible gallery view to save screen space.
- Improved Editing Interface: Features a UI similar to A1111, allowing users to save preset weights, positive/negative prompts, and more.
- A1111 Metadata Compatibility: Files created using A1111 are automatically detected and read, eliminating the need for manual imports.
- Navigate to your ComfyUI
custom_nodesdirectory.cd ComfyUI/custom_nodes/ - Clone this repository:
git clone https://github.com/Firetheft/ComfyUI_Local_Lora_Gallery.git
- Restart ComfyUI.
- In ComfyUI, add the Local Lora Gallery node (or Local Lora Gallery (Model Only)).
- Connect the
MODELandCLIPinputs to the node. - The gallery will display your installed LoRAs.
- To Apply LoRAs: Simply click on a LoRA card. It will be added to the list at the top. Click it again in the gallery to remove it.
- To Edit Tags:
- Click the pencil icon (✏️) on a card to select it for editing. The tag editor will appear.
- Multi-Select: Hold
Ctrlwhile clicking the pencil icon on multiple cards to select them all for batch editing. - Click a selected card's pencil icon again (without
Ctrl) to deselect it if it's the only one selected. - Press
ESCto deselect all cards and exit editing mode.
- Filtering:
- Use the "Filter by Name..." input to search for LoRAs by filename.
- Use the "Filter by Tag..." input and the
OR/ANDbutton to filter by your custom tags.
- Connect the
MODELandCLIPoutputs from the gallery node to the next node in your workflow (e.g., KSampler).
- comfyui-nunchaku (Optional): For GPU acceleration with compatible models. The plugin will function normally without it but will use the standard LoRA loader.
Local LoRA Gallery (本地LoRA画廊) 是一个ComfyUI自定义节点,它用一个直观的、基于卡片的视觉界面取代了标准的下拉式LoRA加载器。它允许您查看LoRA预览图、使用标签进行组织,并堆叠多个强度可调的LoRA。此节点旨在简化您的工作流程,尤其适合需要处理大量LoRA模型的使用者。
此外,本插件还集成了对 comfyui-nunchaku 的可选支持,可在兼容模型(如FLUX)上实现显著的性能加速。
- 可视化LoRA选择: 以带有预览图的卡片形式展示您的LoRA模型。
- 多LoRA堆叠: 通过点击来添加或移除多个LoRA到一个堆栈中,它们将按顺序被应用。
- 高级标签管理:
- 直接在界面中为每个LoRA添加或移除标签。
- 批量编辑标签: 按住
Ctrl并点击铅笔图标 (✏️) 来选择多个LoRA,并同时编辑它们的共同标签。
- 强大的筛选功能:
- 按名称筛选LoRA。
- 按标签筛选LoRA,支持 OR (或) 和 AND (与) 两种逻辑。
- 直观的交互控制:
- 点击铅笔图标 (✏️) 进入编辑模式,再次点击(或点击其他卡片)即可退出。
- 随时按
ESC键退出标签编辑模式。
- Nunchaku加速:
- 自动检测是否安装了
comfyui-nunchaku插件。 - 当连接了与Nunchaku兼容的模型(例如FLUX)时,它会自动使用加速的
NunchakuFluxLoraLoader以获得更快的性能。 - 对于非Nunchaku模型,它会回退到标准加载器,确保完全兼容。
- 自动检测是否安装了
- 友好的界面: 画廊视图可折叠,以节省屏幕空间。
- 更好的編輯介面: 使用與A1111相似的編輯介面,可儲存預設權重、正負提示詞等
- 兼容A1111 metadata: 使用A1111時建立的檔案可自動被讀取,不用手動匯入
- 进入您的 ComfyUI 安装目录下的
custom_nodes文件夹。cd ComfyUI/custom_nodes/ - 克隆此仓库:
git clone https://github.com/Firetheft/ComfyUI_Local_Lora_Gallery.git
- 重启 ComfyUI。
- 在 ComfyUI 中,添加 Local Lora Gallery 节点 (或 Local Lora Gallery (Model Only))。
- 将
MODEL和CLIP连接到该节点的输入端。 - 画廊将显示您已安装的LoRA。
- 应用LoRA: 只需单击LoRA卡片,它就会被添加到顶部的列表中。再次点击卡片可将其移除。
- 编辑标签:
- 点击卡片上的铅笔图标 (✏️) 以选择它进行编辑,标签编辑器将会出现。
- 多选: 按住
Ctrl键并点击多张卡片上的铅笔图标,以将它们全部选中进行批量编辑。 - 再次单击已选中卡片的铅笔图标(不按
Ctrl),如果它是唯一被选中的卡片,则会取消选择。 - 按
ESC键可取消所有卡片的选中状态并退出编辑模式。
- 筛选:
- 使用 "Filter by Name..." 输入框按文件名搜索LoRA。
- 使用 "Filter by Tag..." 输入框和
OR/AND按钮按您的自定义标签进行筛选。
- 将画廊节点的
MODEL和CLIP输出连接到工作流的下一个节点(例如 KSampler)。
- comfyui-nunchaku (可选): 用于在兼容模型上实现GPU加速。如果没有安装,此插件也能正常工作,但会使用标准的LoRA加载器。
