--- language: - en tags: - comfyui - template - workflow --- # HOW TO USE: Drag and Drop Template.JSON / Template.PNG into [ComfyUI in browser](https://github.com/comfyanonymous/ComfyUI) to load the template! (Yes even output PNG file works as workflow template). # PREQUISITE INSTALLATION NOTES: It requires custom nodes and file requirements, it's easy: 1. ["ComfyUI Manager"](https://github.com/ltdrdata/ComfyUI-Manager#installation) (install it first). 2. Open ComfyUI WebUI > Manager > Install Custom Nodes, search "ComfyUI-Impact-Pack", "SDXL Prompt Sytler", and "Recommended SDXL Resolution Calculator", Install ALL, close the ComfyUI console command prompt. 3. "Recommended SD 1.5 Resolution Calculator", open command prompt from this folder \ComfyUI\custom_nodes\ then use this command "git clone https://github.com/marhensa/sd15-recommended-res-calc.git") 4. "ComfyUI ControlNet Aux" custom node can be installed with [this instruction](https://github.com/Fannovel16/comfyui_controlnet_aux#installation), and the models can be downloaded [from here](https://huggingface.co/lllyasviel/sd_control_collection/tree/main), put into \ComfyUI\models\controlnet\ 5. LCM LoRA, (needs a LCM LoRA, download it from here for [LCM-SDXL](https://huggingface.co/latent-consistency/lcm-lora-sdxl/resolve/main/pytorch_lora_weights.safetensors?download=true), for [LCM-SDXL-SSD1B](https://huggingface.co/latent-consistency/lcm-lora-ssd-1b/resolve/main/pytorch_lora_weights.safetensors?download=true), and here for [LCM-SD1.5](https://huggingface.co/latent-consistency/lcm-lora-sdv1-5/resolve/main/pytorch_lora_weights.safetensors?download=true)), for LCM-SDXL put into \ComfyUI\models\loras\LCM\SDXL\, LCM-SDXL-SSD1B put into \ComfyUI\models\loras\LCM\SDXL-SSD1B\, LCM-SD1.5 put into \ComfyUI\models\loras\LCM\SD15\ . 6. Another LoRA, download additionals LoRA from CivitAI or select "None" to not use it. 7. VAE selector, (needs a VAE file, download SDXL BF16 VAE from [here](https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/resolve/main/sdxl_vae.safetensors), and VAE file for SD 1.5 from [here](https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors?download=true). Put into \ComfyUI\models\vae\SDXL\ and \ComfyUI\models\vae\SD15\). 8. Upscale model, (needs to be downloaded into \ComfyUI\models\upscale_models\ Recommended one is 4x-UltraSharp, download [from here](https://mega.nz/folder/qZRBmaIY#nIG8KyWFcGNTuMX_XNbJ_g). All the list of Upscale model is [here](https://upscale.wiki/w/index.php?title=Model_Database&oldid=1571)) 9. Finetuned Checkpoints, (can be downloaded in CivitAI, my favorite for SDXL is [Crystal Clear XL](https://civitai.com/models/122822), and for SD1.5 is [Haveall](https://civitai.com/api/download/models/128928?type=Model&format=SafeTensor&size=pruned&fp=fp16), download Safetensors file and put into \ComfyUI\models\checkpoints\SDXL\ and \ComfyUI\models\checkpoints\SD15\ ) 10. Note: When loading a PNG Workflow from here, first click Refresh on ComfyUI menu, it will refresh models that you have on your PC, then choose it (Checkpoints, VAE, LoRA, Upscale Model, ControlNet models etc) accordingly. . > Custom Node "[Recommended Resolution Calculator](https://github.com/marhensa/sdxl-recommended-res-calc)", makes targeting final resolution much easier, because it will calculates recommended SD initial size and its upscale (or reverse upscale) value. You only need to input your FINAL target resolution with this custom node. . # WORKFLOW SELECTION: (drag and drop that PNG image file into ComfyUI interface, it will open up as workflow template) ## TIDY - Single SDXL Checkpoint Workflow (LCM, PromptStyler, Upscale Model Switch, ControlNet, FaceDetailer) : ![SDXL-Tidy-LCM-PromptStyler-UpscaleModelSwitch-ControlNet-FaceDetailer.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/SDXL-Tidy-LCM-PromptStyler-UpscaleModelSwitch-ControlNet-FaceDetailer.png) (ControlNet image reference example: [halo.jpg](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/halo.jpg)) . ## TIDY - Single SD 1.5 Checkpoint Workflow (LCM, PromptStyler, Upscale Model Switch, ControlNet, FaceDetailer) : ![SD15-Tidy-LCM-PromptStyler-UpscaleModelSwitch-ControlNet-FaceDetailer.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/SD15-Tidy-LCM-PromptStyler-UpscaleModelSwitch-ControlNet-FaceDetailer.png) (ControlNet image reference example: [halo.jpg](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/halo.jpg)) . ## Breakdown - SDXL Workflow (LCM, PromptStyler, Upscale Model Switch) : ![sdxl-lcm-workflow.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/sdxl-lcm-workflow.png) . ## Breakdown - SDXL-SSD1B Workflow (LCM, PromptStyler, Upscale Model Switch) : ![sdxl-lcm-workflow.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/sdxlssd1b-lcm-workflow.png) . ## Breakdown - SD1.5 Workflow (LCM, PromptStyler, Upscale Model Switch) : ![sdxl-lcm-workflow.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/sd15-lcm-workflow.png) . ## Simple without install anything - SDXL / SD15 LCM Workflow : ![SDXL_Single_Tidy_Simple-LCM-LoRA-VAE.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/SDXL_Single_Tidy_Simple-LCM-LoRA-VAE.png)