comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
48.06k stars 5.06k forks source link

[Feature Request] Information Loader Node #550

Open wyrde opened 1 year ago

wyrde commented 1 year ago

(From a conversation in AI Revolution discord)

The concept is a general loader node that will have support for images/comment files. It will configure what kind of file it matches by the node it is connected to. Lora's for a lora loader node, ckpts for a ckpt loader node. (Said node requires its _filename to be converted to inputs)

The node either does a search like previous nodes or has a pane with file names in it to one side. When one is selected, it then searches in a user-specified folder for an image that matches the filename and/or a txt/md file and shows them in a couple panes.

The goal is to have a more visual representation of the various files used in a workflow. The nodes can be handy for things like weights, keywords, or other important information.

If the node is loaded from workflow/image and can't find something, it should default to a welcome message or blank.

I think a different folder for these files is a good idea to make them easy for users to share and it keeps the model/lora/etc folders tidy.

options:

Kinglord commented 1 year ago

Coming over to ComfyUI after being deep into a1111 I can say one of the only reasons I still load it up is to help me with my Lora management, keywords, etc. Any feature that would help me do that less often would be amazing :)

wyrde commented 1 year ago

In the case of embeddings, a field that populates with an @preset word (when the new preset-text is available) that is easy to copy/paste from will make embeddings easier to place in other text boxes.