ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

[Feature Request] Information Loader Node

Open wyrde opened this issue 2 years ago • 2 comments

(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 file_name 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:

  • Bonus points if it doesn't have to be an exact name match, but will use a list the user can go through (arrows?). The user can have different notes for versions or workflow generations, etc
  • An option is to have a set of tabs/buttons on the node the user can use to select a file type, then search/select the file. This can be useful for things like embeddings, which don't have specific loaders, but still can have important information for the user.

wyrde avatar Apr 22 '23 20:04 wyrde

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 :)

Kinglord avatar Apr 22 '23 21:04 Kinglord

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.

wyrde avatar Apr 23 '23 15:04 wyrde