In ComfyUI, using Stable Cascade is easy to set up. Here are the steps:
Update Comfy UI
Ensure ComfyUI is up to date. Open Comfy UI, click “Manager” then “Update ComfyUI”.
Download the Stable Cascade Models
You’ll need to download the models and place them in the correct ComfyUI folders.
Download the following models from this site https://huggingface.co/stabilityai/stable-cascade/tree/main
- Stage_A.safetensors
- Stage_B.safetensors
- Stage_C.safetensors
Alternatively, you may wish to download the _bf16 versions of the Stage B and Stage C files, which will be easier to run on some machines, while providing slightly degraded results.
Download this model from here: https://huggingface.co/stabilityai/stable-cascade/blob/main/text_encoder/model.safetensors
- model.safetensors
After the downloads are complete, we’ll move the files into the comfy UI folders as described below.
Place Stage A in the following folder:
- ComfyUI/models/vae
Place Stage B and Stage C in this folder:
- ComfyUI/models/unet
And then place the model.safetensors file here:
- ComfyUI/models/clip/
Start Generating Stable Cascade Images
You can download the image above and drag it into your ComfyUI workspace to setup all the required nodes and start generating Stable Cascade images right away.
Otherwise, here’s what you need to get started:
The general flow of Stable Cascade is Clip -> Stage C -> Stage B -> Stage A.
Setup the first KSampler, connect a UNETLoader with the Stage C model loaded. Add two CLIP text encoders for the positive and negative prompt, with the Model.safetensors connected to them. Then add a StableCascade Empty Latent Image, with dimensions set to 1024×1024.
Then add the second KSampler, connect another UNETLoader with the Stage B model loaded. Add a StableCascade Stage B conditioning node with a Conditioning Zero Out node connecting that, which is connected back to the positive Clip Text Encoder. Connect the Latent Image back to the Empty Latent image from before, on the Stage B node.
Finally, add a VAE Decode node, loading the Stage A model. Add a Save/Preview image node and you’re ready to go!