ComfyUI_Comfyroll_CustomNodes icon indicating copy to clipboard operation
ComfyUI_Comfyroll_CustomNodes copied to clipboard

CR SDXL Base Prompt Encoder Presets?

Open Vigilence opened this issue 1 year ago • 1 comments

Hello! I am interested in finding out what the different presets do for this encoder. Checking the wiki and civitai provides nothing as the page has no notes on this.

Maybe a ? icon can be added to your nodes so we can find the info by clicking it similar to the provided example. Screenshot 2024-05-08 131911 Screenshot 2024-05-08 132033

Vigilence avatar May 08 '24 17:05 Vigilence

Checking the code for this node provided the answer:

if preset == "preset A": base_positive = res1 base_negative = res2 elif preset == "preset B": base_positive = res3 base_negative = res4 elif preset == "preset C": base_positive = res1 + res3 base_negative = res2 + res4

Leaving this open to bring notice to lack of wiki and civitai info, so it can be updated in the future.

I also wanted to clarify what res1, res2, res3, and res4 have in relation to the different prompt boxes pos_g, pos_l, neg_g, and neg_l, so its easier to understand what the presets actually do.

Vigilence avatar May 08 '24 17:05 Vigilence