TXT2IMG Stable Cascade to SXDL with Refiners & Upscale v2
created 7 months ago
upscale
29 nodes

7.5k

1.7k

Outputs
example image output 0 for workflow.
example image output 1 for workflow.
example image output 2 for workflow.
example image output 3 for workflow.
example image output 4 for workflow.
example image output 5 for workflow.
example image output optimized_comfy_workflows_user_uploads/c9ff6e35-2e69-4613-ba0a-7ce7837cba55/assets/ComfyUI_00119_.webp for workflow.
Description

Stable Cascade to SXDL with Refiners & Upscale

-----------------

The workflow is very messy, but wanted to share. feel free to clean up after me.

SD Cascade produces the base image which is used for prompt comprehension and composition of the image. Then the first preview is displayed.

Then the Image runs through SDXL and a refiner, and it displays the second preview. (There will be increased fidelity, but should retain the main composition and style of the original image depending on the SDXL checkpoints you use.)

The last step runs the image through a 2x ESRGAN upscale which is not the most modern approach, but produces good results quickly, because the result of that is run through a second SDXL refiner, which fixes any artifacts from the upscale and adds detail.

Finally, the Final result is displayed.

Enjoy!

WARNING:

for those of you having an unexplained error associated with CLIP, it may be because the model.safetensors file that comfyworkflows links on this page is the incorrect file. It is likely for this to happen if you have not previously run Cascade before this workflow. You can find the correct one here: https://huggingface.co/stabilityai/stable-cascade/blob/main/text_encoder/model.safetensors

Built-in nodes
KSampler
UpscaleModelLoader
ImageUpscaleWithModel
VAEEncode
VAEDecode
CLIPTextEncode
CheckpointLoaderSimple
StableCascade_EmptyLatentImage
CLIPLoader
UNETLoader
ConditioningZeroOut
VAELoader
StableCascade_StageB_Conditioning
PreviewImage
SaveImage
Custom nodes
Models
4
0
5
0