Comfy-Org / Comfy-Org/ComfyUI_frontend

[Feature Request]: Drag and Drop Embedding from Model Library

Open
#1,029 6 comments 0 reactions 1 assignee Claimed by @huchenlei View on GitHub
enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

I suggest a feature that would allow dragging a model from the Model Library menu onto a node containing a text box to add the path to the model in the text box.
Primarily for Embeddings to ease the adding of them to prompt for the user.

Additionally I suggest feature that if you drag a model onto a blank canvas, the search box opens and filters what nodes are able to load models from that models directory and final suggestion is if you drop a model onto an existing loader of appropriate type, it attempts to locate the model and set that to the appropriate INPUT_TYPES using folder_paths module. (checkpoints, loras, vae and vae_approx, controlnet, clip, diffusion_models, etc.)
I include image examples of the first suggestion.
![yMKRBJxru4](https://github.com/user-attachments/assets/55109c32-83e6-4c47-9745-39b6986761e1)

### Proposed workflow

Refer to feature description as it describes this.

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.