File size: 5,394 Bytes
15b398d
 
 
 
 
 
 
 
7d8aa65
3b17f32
b2840c1
d2aa07e
23f6686
3b17f32
23f6686
3b17f32
ea5a0a7
80bc6f2
ea5a0a7
db9d9da
 
 
 
 
 
80bc6f2
3b17f32
b247c6d
 
ea5a0a7
b247c6d
 
3b17f32
b247c6d
3b17f32
7d8aa65
23f6686
2b481f3
80bc6f2
 
ea5a0a7
 
 
 
 
80bc6f2
 
ea5a0a7
 
 
 
15b398d
ea5a0a7
 
10de8d8
ea5a0a7
9546171
ea5a0a7
 
8df937a
ea5a0a7
18226da
ea5a0a7
 
db9d9da
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
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 Workflow :
![SDXL_Single_Tidy_Simple-LoRA-VAE.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/SDXL_Single_Tidy_Simple-LoRA-VAE.png)