ComfyUI_Textarea_Loaders

ComfyUI_Textarea_Loaders
★ 3

文本输入LoaderLoRA 批量处理Prompt 格式化
将部分 Loader 的文件选择输入替换为文本输入,便于批量指定 LoRA/文件与 prompt,配合扩展可加速批量生成。
💡 在大量 LoRA/角色时,通过文本快速指定加载项并生成图片。
🍴 2 Forks💻 Python🔄 2024-08-30
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/a1f1f564f19c
nodes
with_extension
📄 README

Introduction

Brief

An easy custom node that makes the some loaders’ input as Text instead of file selector.

For example, there are many characters in different loras respectively. If you want to generate different characters’ pictures, you have to select corresponding lora, and then edit the prompt. It may cost much time.

To solve this problem, You can use it with a chrome extension that makes the queue prompt easier when you dealing with massive loras and prompt.

In fact, you can edit the Comfy offical nodes or custom nodes by editing the nodes’ attributes instead of using this repository.

How to install?

  • download the codes and extract the zip in \ComfyUI\custom_nodes.
  • clone this repository in \ComfyUI\custom_nodes
  • Result

    The input of lora loader and Checkpoints loader become Textarea instead of a file selector.

    You can use the chrome extension the edit the input of the loader dynamically.

    Nodes List

  • TextFormatter/BasicNodes/LoRALoader_Text
  • TextFormatter/BasicNodes/CheckPointLoader_Text
  • TextFormatter/BasicNodes/EmptyLatentImage_Text
  • TextFormatter/BasicNodes/LoadImage_Text
  • Nodes extra information

    EmptyLatentImage_Text

    ONLY make the batch size as text area.

    LoadImage_Text

    mask is *invalid* for this node, you should load your mask in another way.