This is a node based implementation of the cutoff extension for A1111. Cutoff is a method to limit the influence of specific tokens to certain regions of the prompt. This can be helpful if you want to e.g. specify exactly what colors certain things in the generated image should be.
For a detailed explanation of the method, the introduced nodes, or raise an issue, please see the github page for this project. You can take any of the example images listed in the gallery and load them into ComfyUI to have a closer look at an example node tree.
To install simply unzip into the custom_nodes folder.
Description
Now supports embeddings
Adds options for different kinds of prompt weighting interpretations
FAQ
Comments (3)
This is brilliant, and much needed. Thank you for writing this! I've been doing tests, and some things just aren't working. The documentation might need one more example for multiple adjectives, as well as verbs, and direct objects, or at least confirmation that they don't work. You say to look at your example images, but they're all the same setup with different seeds, so they don't actually teach different aspects of this.
Currently the readme has the simplest usage, but I think it may need an example for something slightly more complicated. For instance, if you want to have a "scrawny old man", it's unclear if we have to make two separate entries for "scrawny man" and "old man", or if it would even recognize "scrawny man" as connected as the exact phrase isn't located in the prompt. Currently, it's hard to tell if the cutoff method simply doesn't work for this situation, or if I'm doing it wrong.
Another example is also needed for verbs, and direct objects. For example: "The woman is jumping over the fence. The man is kicking the ball". Would it work if we simply paired "jumping" with "woman", and "kicking" with "man"? Or do the words need to be next to each other with the noun after the verb? Could we then pair "ball" with "kicking" to reduce bleed there too? The current example doesn't cover the most common situations in which I'd try using this node.
Thank you! Also, if anyone else has any info, please share!
Good day! Judging by the fact that the comment is quite old, it would be reasonable to ask you: did you figure out how to use it and do you have any tips?
Hello there! is this custom node work with efficient loader?



