ComfyUI Extension: ComfyUI_Textarea_Loaders

Authored by Sieyalixnet

Created

Updated

3 stars

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 https://github.com/Sieyalixnet/ComfyUI-Prompt-Formatter-Extension that makes the queue prompt easier when you dealing with massive loras and prompt.

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 https://github.com/Sieyalixnet/ComfyUI-Prompt-Formatter-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

nodes

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

with_extension

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.