asagi4 / comfyui-prompt-control

ComfyUI nodes for prompt editing and LoRA control
GNU General Public License v3.0
165 stars 14 forks source link

Example SDXL workflow #23

Closed ghostsquad closed 5 months ago

ghostsquad commented 6 months ago

Please provide an example SDXL workflow. I'm trying to integrate SDXL, and I'm having some trouble understanding what changes I need to use these nodes. Thanks!

asagi4 commented 6 months ago

You don't really need anything; just load an SDXL model and use it as you wold an SD1.5 one.

You can use the SDXL and CLIP_G functions in the prompt to set some settings like crop and target resolution values, but those are optional.

ghostsquad commented 6 months ago

Cool. So the node has some way to detect if the model is an SDXL model?

asagi4 commented 6 months ago

ComfyUI does the model loading. My nodes don't care at all about what the model is, but it does have some SDXL-specific logic in the conditioning encoder since SDXL conds have some extra features that don't exist in SD 1.5

ghostsquad commented 6 months ago

thanks for the explanation