comfyui-workflow / README.md
marhensa's picture
Update README.md
c0660a0
|
raw
history blame
No virus
5.59 kB
metadata
language:
  - en
tags:
  - comfyui
  - template
  - workflow

Simple Usage

Drag and Drop Template.JSON / Template.PNG into ComfyUI in browser 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, put into ComfyUI\models\loras)
  4. VAE selector, (needs a VAE file, download default VAE from StabilityAI, 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. All the list of Upscale model is here)
  6. Restart ComfyUI

.

Custom Node "SDXL Prompt Sytler", 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", 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

(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

With Additional SDXL G-L Prompt: SDXL_tidy-SAIstyle-GLpromptSDXL-LoRA-VAE-RecRes-KsamplerUpscaleBaseRefiner-workflow-template.png

SDXL_tidy-SAIstyle-GLpromptSDXL-LoRA-VAE-RecRes-KsamplerUpscaleBaseRefiner-workflow-template-preview.png

Single SDXL Checkpoint: SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-ModelUpscale-workflow-template.png

SDXL_tidy-SAIstyle-LoRA-VAE-RecRes-SingleSDXL-ModelUpscale-workflow-template-preview.png

My Previous Recommendation: SDXL_tidy-SAIstyle-LoRA-VAE-workflow-template_rev4b.png

SDXL_tidy-SAIstyle-LoRA-VAE-workflow-template_rev4b-preview.png

Simple One: SDXL_tidy-workflow-template.png

SDXL_tidy-workflow-template-preview.png

For Old Stable Diffusion 1.5 Based: SD15_tidy-latent-hiresfix.png

SD15_tidy-latent-hiresfix-preview.png