language:en comfyui template workflow region:us
---
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).

# ADDITIONAL INSTALLATION NOTES:

For **SDXL_tidy-workflow-template.json** (THE SIMPLE ONE, modified from ComfyUI official repo), you could use it as it is, it only needs Base and Refiner models of SDXL.

For other workflow template, it requires custom nodes and file requirements, it's easy:

1. "SDXL Prompt Sytler" dropdown menu (install sdxl prompt styler first, by open command prompt from this folder \ComfyUI\custom_nodes\ then use this command "git clone https://github.com/twri/sdxl_prompt_styler.git")
2. "Recommended SDXL Resolution Calculator" (install it first just like number 1, open command prompt from this folder \ComfyUI\custom_nodes\ then use this command "git clone https://github.com/marhensa/sdxl-recommended-res-calc.git")
3. LoRA selector, (needs a SDXL LoRA file, for example, download SDXL LoRA example from [StabilityAI](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_offset_example-lora_1.0.safetensors), put into ComfyUI\models\loras\ )
4. VAE selector, (needs a VAE file, download default VAE from [StabilityAI](https://huggingface.co/stabilityai/sdxl-vae/resolve/main/sdxl_vae.safetensors), put into \ComfyUI\models\vae\ ), just in case in the future there's better VAE or mandatory VAE for some models, use this selector
5. 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/wiki/Model_Database))
6. Single (Non Base+Refiner) SDXL Finetuned Checkpoints, (can be downloaded in CivitAI, my favorite is [Crystal Clear XL](https://civitai.com/models/122822), download Safetensors file and put into \ComfyUI\models\checkpoints\ )
7. Restart ComfyUI

.

> Custom Node "[SDXL Prompt Sytler](https://github.com/twri/sdxl_prompt_styler)", makes prompt minimalistic (both positive and negative), because art style and other enhancement is selected via SDXL Prompt Styler dropdown menu.

So you could create so many style easily, without need to remembering custom prompt for specific art style. There's 3 style you could combine. I usualy put the top one for "sai-enhance" as a replacement for "masterpiece, highest quality, etc", second one is the main style, third one is another, or leaving it as blank one "sai-base".

> Custom Node "[Recommended SDXL Resolution Calculator](https://github.com/marhensa/sdxl-recommended-res-calc)", makes targeting final resolution much easier, because it will calculates recommended SDXL initial size and its upscale (or reverse upscale) value.

You only need to input your FINAL target resolution with this custom node.

.

# WORKFLOW SELECTION:

## [MY RECOMMENDATION!] Single SDXL Checkpoint Workflow with Model Upscaler: [SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-ModelUpscale-workflow-template.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-ModelUpscale-workflow-template.png)
(click url above to download, drag and drop that PNG image file into ComfyUI interface, it will open up as workflow template)
![_preview_SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-ModelUpscale-workflow-template.jpg](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/_preview_SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-ModelUpscale-workflow-template.jpg)

## Same as Above with Additional Control-LoRA: [SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-ControlNet-ModelUpscale-workflow-template.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-ControlNet-ModelUpscale-workflow-template.png) and reference example: [smolcat (1).png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/smolcat%20(1).png)
![_preview_SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-ControlNet-ModelUpscale-workflow-template.jpg](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/_preview_SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-ControlNet-ModelUpscale-workflow-template.jpg)

## Single SDXL Checkpoint Latent Upscaler (it's fast but grainy): [SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-FastLatentUpscale-workflow-template.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-FastLatentUpscale-workflow-template.png)
![_preview_SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-FastLatentUpscale-workflow-template.jpg](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/_preview_SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-FastLatentUpscale-workflow-template.jpg)

## SDXL Base+Refiner Workflow with Model Upscaler on Both: [SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-KsamplerUpscaleBaseRefiner-workflow-template.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-KsamplerUpscaleBaseRefiner-workflow-template.png)
![_preview_SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-KsamplerUpscaleBaseRefiner-workflow-template.jpg](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/_preview_SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-KsamplerUpscaleBaseRefiner-workflow-template.jpg)

## Same as Above with Additional SDXL G-L Prompt: [SDXL_tidy-SAIstyle-GLpromptSDXL-LoRA-VAE-RecRes-KsamplerUpscaleBaseRefiner-workflow-template.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/SDXL_tidy-SAIstyle-GLpromptSDXL-LoRA-VAE-RecRes-KsamplerUpscaleBaseRefiner-workflow-template.png)
![_preview_SDXL_tidy-SAIstyle-GLpromptSDXL-LoRA-VAE-RecRes-KsamplerUpscaleBaseRefiner-workflow-template.jpg](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/_preview_SDXL_tidy-SAIstyle-GLpromptSDXL-LoRA-VAE-RecRes-KsamplerUpscaleBaseRefiner-workflow-template.jpg)

## [My Previous Recommendation] Simple Prompt SDXL: [SDXL_tidy-SAIstyle-LoRA-VAE-workflow-template_rev4b.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/SDXL_tidy-SAIstyle-LoRA-VAE-workflow-template_rev4b.png)
![_preview_SDXL_tidy-SAIstyle-LoRA-VAE-workflow-template_rev4b.jpg](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/_preview_SDXL_tidy-SAIstyle-LoRA-VAE-workflow-template_rev4b.jpg)

## Tidy SDXL: [SDXL_tidy-workflow-template.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/SDXL_tidy-workflow-template.png)
![_preview_SDXL_tidy-workflow-template.jpg](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/_preview_SDXL_tidy-workflow-template.jpg)

## Tidy Old Stable Diffusion 1.5 Based: [SD15_tidy-latent-hiresfix.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/SD15_tidy-latent-hiresfix.png)
![_preview_SD15_tidy-latent-hiresfix.jpg](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/_preview_SD15_tidy-latent-hiresfix.jpg)