Current location: Home> Ai Course> AI Basics

ComfyUI workflow tutorial (literary pictures, picture pictures, ControlNet, Inpainting)

Author: LoRA Time: 10 Mar 2025 1032

Stable Cascade is a text-generated image (txt2img) model released by Stability AI in February 2024. The model adopts an innovative three-stage approach, setting new standards in quality, flexibility, fine-tuning and efficiency, while reducing hardware requirements. Stability AI also released training and inference code on its official GitHub to facilitate users to customize models and their output. Stable Cascade is compatible with the diffusers library and can be used for inference tasks.

This article will introduce how to use Stable Cascade in ComfyUI, covering text-generating images (txt2img), image-generating images (img2img), image variants (image variants), control networks (ControlNet), and internal drawing (Inpainting) workflows.

Stable Cascade Running Environment and File Download

Using Stable Cascade in ComfyUI requires downloading the following model files:

Stable Cascade adopts a three-stage process :

  1. Stage C : The diffusion model generates low-resolution latent images.

  2. Stage B : The diffusion model enlarges the latent image.

  3. Phase A : VAE converts the enlarged latent image into visible pixel space.

Stable Cascade Workflow Example

1. Wensheng Picture (txt2img)

This process can be used to generate completely new images from text prompt words.

Workflow

Download and load the HY_stable_cascade__text_to_image.json workflow.

image-39-1024x463 (1).png

Example Prompt

 Evening sunset scenery blue sky nature, glass bottle with a fizzy ice cold freezing rainbow liquid in it

Generate effect:

image-40.png

2. Pictures and pictures (img2img)

This process generates new variants based on the input image while referring to text prompt words.

Workflow

Download HY_stable_cascade__image_to_image.json and load it into ComfyUI.

image-41-1024x422.png

Example Prompt

 Evening sunset scenery blue sky nature, glass bottle with a fizzy ice cold freezing rainbow liquid in it

Generate effect:

image-42.png

3. Image variants

Stable Cascade supports the use of CLIP visual models to generate variants of input images.

Workflow

Download HY_stable_cascade__image_remixing.json and load it into ComfyUI.

image-43-1024x410.png

Example Prompt

 Evening sunset scene blue sky nature, glass bottle with a fizzy ice cold freezing liquid in it

Generate effect:

image-44.png

4. Image Mixing

Multiple images can be entered simultaneously and fused to generate new images.

Workflow

Download HY_stable_cascade__image_remixing_multiple.json .

image-45-1024x445.png

Example Prompt

 Evening sunset scene blue sky nature, glass bottle with a fizzy ice cold freezing liquid in it

Generate effect:

image-46.png

5. ControlNet

Use ControlNet to control the composition generated by the image, such as line drawing coloring, depth map control, etc.

Workflow

Download HY_stable_cascade__canny_controlnet.json and make sure the stable_cascade_canny.safetensors file is stored in the ComfyUI/models/controlnet folder.

image-47-1024x414.png

image-48-1024x302.png

Example Prompt

 Evening sunset scenery blue sky nature, glass bottle with a fizzy ice cold freezing rainbow liquid in it

Generate effect:

image-49.png

6. Inpainting

Used to repair or modify specific areas in the image.

Workflow

Download HY_stable_cascade__inpaint_controlnet.json and make sure that stable_cascade_inpainting.safetensors are stored in ComfyUI/models/controlnet .

The entered sample image can be downloaded from here: yosemite_inpaint_example.png   .

image-50-1024x345.png

image-52-1024x357.png

  1. Right-click the image of the LoadImage node

  2. Use the mask tool to select the area to modify

  3. Enter a new Prompt to fill

Example Prompt

 Evening sunset scenery blue sky nature, glass bottle with a fizzy ice cold freezing rainbow liquid in it

Generate effect:

image-53.png

Summarize

Stable Cascade is a new generation of text-generated image model launched by Stability AI, with the characteristics of being efficient, flexible and fine-tuning . Through ComfyUI, users can realize literary and artistic images, image variations, ControlNet constraint generation and Inpainting details repair , greatly improving the creative freedom of AI painting.

If you want to experience more powerful image generation, it is recommended to download ComfyUI and try the Stable Cascade workflow!