Suzie1 / ComfyUI_Comfyroll_CustomNodes

Custom nodes for SDXL and SD1.5 including Multi-ControlNet, LoRA, Aspect Ratio, Process Switches, and many more nodes.
https://civitai.com/models/183551/comfyui-comfyroll-custom-nodes
502 stars 68 forks source link

CR SDXL Base Prompt Encoder Presets? #163

Open Vigilence opened 2 months ago

Vigilence commented 2 months ago

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 commented 2 months ago

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.