comfyui-workflow / README.md
marhensa's picture
Update README.md
46f5e00
|
raw
history blame
5.07 kB
---
language:
- en
tags:
- comfyui
- template
- workflow
---
# Simple Usage
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).
# 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. 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 Preview
## My Recommendation: [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)
(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-KsamplerUpscaleBaseRefiner-workflow-template-preview.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/_preview_SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-KsamplerUpscaleBaseRefiner-workflow-template.png)
## 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)
![SDXL_tidy-SAIstyle-GLpromptSDXL-LoRA-VAE-RecRes-KsamplerUpscaleBaseRefiner-workflow-template-preview.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/_preview_SDXL_tidy-SAIstyle-GLpromptSDXL-LoRA-VAE-RecRes-KsamplerUpscaleBaseRefiner-workflow-template.png)
## My Previous Recommendation: [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)
![SDXL_tidy-SAIstyle-LoRA-VAE-workflow-template_rev4b-preview.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/_preview_SDXL_tidy-SAIstyle-LoRA-VAE-workflow-template_rev4b.png)
## Simple One: [SDXL_tidy-workflow-template.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/SDXL_tidy-workflow-template.png)
![SDXL_tidy-workflow-template-preview.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/_preview_SDXL_tidy-workflow-template.png)
## For 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)
![SD15_tidy-latent-hiresfix-preview.png](https://huggingface.co/datasets/marhensa/comfyui-workflow/resolve/main/_preview_SD15_tidy-latent-hiresfix.png)