2026-07-05 11:30:57 +08:00
2026-07-04 13:17:38 +08:00
2026-07-05 11:30:57 +08:00
2026-06-26 01:10:18 +08:00
2026-07-05 11:30:57 +08:00
2026-07-05 11:30:57 +08:00
2026-07-05 11:30:57 +08:00
2026-07-04 13:37:54 +08:00
2026-07-05 11:30:57 +08:00
2026-07-05 11:30:57 +08:00

ComfyUI-Workflow-Tools

A collection of custom nodes for ComfyUI.

Installation

Clone into your ComfyUI custom_nodes folder:

cd ComfyUI/custom_nodes
git clone [https://github.com/Danchi93/ComfyUI-Workflow-Tools](https://github.com/Danchi93/ComfyUI-Workflow-Tools)

Restart ComfyUI.


Multi LoRA Loader

Manage multiple LoRAs in a single node.

preview

Features

  • Enable/disable each LoRA with a toggle switch
  • Adjust weight per LoRA
  • Add notes to each LoRA
  • Add/remove LoRAs dynamically

Usage

Add the Multi LoRA Loader node in your workflow. Connect the model input, then use the output as you would a standard LoRA Loader.

Language

The UI defaults to English. To switch to Chinese, open multi_lora_loader.js and change line 4:

const LANG = "zh";  // "en" for English, "zh" for Chinese

Prompt Segments

Combine multiple prompt segments into one node and output them in order — no manual concatenation needed.

preview2

Features

  • Add/remove prompt segments dynamically
  • Enable/disable each segment individually
  • Add a label to each segment for organization
  • Outputs all enabled segments merged in order

Usage

Add the Prompt Segments node in your workflow. Connect the prompt output to a CLIP Text Encoder or any node that accepts text input.

Language

The UI defaults to English. To switch to Chinese, open prompt_segments.js and change line 4:

const LANG = "zh";  // "en" for English, "zh" for Chinese

Resolution Switcher

Quickly switch between pre-configured resolutions without manually re-typing dimensions every time. It outputs a blank latent image with the selected size.

preview3

Features

  • Pre-define multiple resolution presets (Width, Height, and Batch Size)
  • Switch between resolutions instantly using toggle switches
  • Dynamically add or remove resolution presets
  • Eliminates the need to repeatedly input dimensions when testing different aspect ratios

Usage

Add the Resolution Switcher node in your workflow. Pre-set your frequently used dimensions, toggle the one you want to use, and connect the Latent output to your KSampler or any node that accepts latent input.

Language

The UI defaults to English. To switch to Chinese, open resolution_switcher.js and change line 4:

const LANG = "zh";  // "en" for English, "zh" for Chinese

中文介绍

本仓库包含多个 ComfyUI 自定义节点。

安装方法

将仓库克隆到 ComfyUI 的 custom_nodes 目录:

cd ComfyUI/custom_nodes
git clone [https://github.com/Danchi93/ComfyUI-Workflow-Tools](https://github.com/Danchi93/ComfyUI-Workflow-Tools)

重启 ComfyUI 即可。


Multi LoRA Loader

在单个节点中管理多个 LoRA。

功能特性

  • 每个 LoRA 可单独开关
  • 可单独调整每个 LoRA 的权重
  • 支持为每个 LoRA 添加备注
  • 动态增删 LoRA 条目

使用方法

在工作流中添加 Multi LoRA Loader 节点,连接模型输入,输出用法与标准 LoRA Loader 相同。

语言切换

界面默认显示英文。如需切换中文,打开 multi_lora_loader.js,修改第 4 行:

const LANG = "zh";  // "en" 为英文,"zh" 为中文

Prompt Segments

将多段提示词合并到一个节点中,按顺序输出,无需手动拼接。

功能特性

  • 动态增删提示词段落
  • 每段可单独开关
  • 支持为每段添加标签便于管理
  • 按顺序合并所有启用的段落后输出

使用方法

在工作流中添加 Prompt Segments 节点,将 prompt 输出连接到 CLIP 文本编码器或任何接受文本输入的节点。

语言切换

界面默认显示英文。如需切换中文,打开 prompt_segments.js,修改第 4 行:

const LANG = "zh";  // "en" 为英文,"zh" 为中文

Resolution Switcher

快速在预设的分辨率之间进行切换,解决原版在切换画幅时需要反复手动输入数值的问题。该节点直接输出对应尺寸的空 Latent(潜空间)。

功能特性

  • 提前预设多组常用分辨率组合(包含宽度 W、高度 H 及 批处理 数量)
  • 通过开关一键快速切换当前生效的分辨率
  • 支持动态添加或删除分辨率预设(点击 + Add Resolution 增加,点击 X 删除)
  • 告别在测试不同横竖屏比例时频繁修改分辨率的繁琐操作

使用方法

在工作流中添加 Resolution Switcher 节点,输入你常用的几种分辨率组合,开启你需要使用的那一行,然后将 Latent 输出连接到 KSampler(K采样器)或其他接受 Latent 输入的节点即可。

语言切换

界面默认显示英文。如需切换中文,打开 resolution_switcher.js,修改第 4 行:

const LANG = "zh";  // "en" 为英文,"zh" 为中文
S
Description
No description provided
Readme MIT
558 KiB
Languages
JavaScript 81%
Python 19%