ComfyUI_Textarea_Loaders
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.
Nodes (4)
A checkpoint loader with a text box instead of a dropdown — for when something else picks the model
Empty Latent Image, with only the batch size turned into a text field
A Load Image node that takes any path you type — and drops the mask output
The LoRA loader for 'one workflow, fifty characters' — swap LoRAs by editing a string
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

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.