Comfy-Org / Comfy-Org/ComfyUI

[enhancement] String Concat Node, String List Node

Open
#133 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 10h
Merged PRs (30d)
153

Description

It would be extremely helpful to have a node that can concatenate input strings, and also a way to load strings from text files.
![image](https://user-images.githubusercontent.com/8904620/225935378-5bdb5af1-6714-405f-af57-6708420c802c.png)
This is not the same as putting both of the strings into one conditioning input, so proper string concatenation is something I really seek in stable diffusion GUIs, because it would allow parts of the positive/negative prompts to be stored and re-used easily while editing through various prompts.

Currently, it's always a hodgepodge that encourages endless addendums.

Instead of a comma-separated fluid prompt, splitting this up into a list of strings and then concatenating them in a way that the CLIP conditioning understands it later, would also help remove duplicates, iterate on orders and weights, etc.

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.