Using Stable cascade in ComfyUI - ambiguous workflow layout - two versions
Models and software
I am using ComfyUI 0.3.43 with ComfyUI_frontend 1.23.4 and ComfyUI-Manager 3.33.3 and I downloaded these files:
https://huggingface.co/stabilityai/stable-cascade/tree/main/comfyui_checkpoints
I did not installed additional custom nodes in ComfyUI.
The problem
I found two contradictory versions of guides, how to create the workflow for Stable Cascade. Both versions are popular and descriped multiply, especially on Youtube movies. The only difference between versions is text usage in the Stage B. The final picture is subly different between versions, despite the same parameters such as prompt, seed, steps, cfg. The both versions are describeed below.
The first version - description and print screen
Uses the text prompt in the Stage B. The negative prompt is guided directly into KSamplerAdvanced, the positive prompt is guided into StableCascade_StageB_Conditioning node.
The second version - description and print screen
This versions suppresses the both text prompts using the ConditioningZeroOut node. The source of the conditioning does not matter and usually there is guided from the positive prompt.
The question
Which version is correct and recommended?
Below, there are the exported JSONs of the both versions
The first version - text is used in the Stage B
{
"id": "d0712d4d-64a3-4bb2-9393-a885b6a34217",
"revision": 0,
"last_node_id": 34,
"last_link_id": 65,
"nodes": [
{
"id": 11,
"type": "KSamplerAdvanced",
"pos": [
468.7357177734375,
181.6977081298828
],
"size": [
304.66668701171875,
334
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 49
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 12
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 13
},
{
"name": "latent_image",
"type": "LATENT",
"link": 42
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
30,
36
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "KSamplerAdvanced"
},
"widgets_values": [
"enable",
0,
"fixed",
20,
8,
"euler",
"normal",
0,
10000,
"disable"
]
},
{
"id": 21,
"type": "VAEDecode",
"pos": [
834.0272827148438,
261.97491455078125
],
"size": [
140,
46
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 36
},
{
"name": "vae",
"type": "VAE",
"link": 38
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
39
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
-164.78363037109375,
142.07696533203125
],
"size": [
422.84503173828125,
164.31304931640625
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
12,
64
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"colorful, Interior of the western saloon, 19 century, photograph, photorealistic"
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
-168.7836151123047,
365.78973388671875
],
"size": [
425.27801513671875,
180.6060791015625
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
13,
65
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
-491.9659118652344,
-144.46112060546875
],
"size": [
315,
98
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
49
]
},
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 1,
"links": [
3,
5
]
},
{
"name": "VAE",
"type": "VAE",
"slot_index": 2,
"links": [
38
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"stable_cascade_stage_c.safetensors"
]
},
{
"id": 18,
"type": "StableCascade_StageB_Conditioning",
"pos": [
858.5126953125,
33.57963943481445
],
"size": [
274.1333312988281,
46
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 64
},
{
"name": "stage_c",
"type": "LATENT",
"link": 30
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
29
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "StableCascade_StageB_Conditioning"
},
"widgets_values": []
},
{
"id": 12,
"type": "KSamplerAdvanced",
"pos": [
1193.6185302734375,
159.0417022705078
],
"size": [
304.66668701171875,
334
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 15
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 29
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 65
},
{
"name": "latent_image",
"type": "LATENT",
"link": 43
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
25
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "KSamplerAdvanced"
},
"widgets_values": [
"enable",
0,
"fixed",
10,
3,
"euler",
"normal",
0,
10000,
"disable"
]
},
{
"id": 22,
"type": "SaveImage",
"pos": [
849.4071044921875,
401.8776550292969
],
"size": [
270,
270
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 39
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 25,
"type": "StableCascade_EmptyLatentImage",
"pos": [
-52.426021575927734,
596.0787353515625
],
"size": [
320.0833435058594,
150
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "stage_c",
"type": "LATENT",
"links": [
42
]
},
{
"name": "stage_b",
"type": "LATENT",
"links": [
43
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "StableCascade_EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
42,
1
]
},
{
"id": 16,
"type": "VAEDecode",
"pos": [
1546.2769775390625,
33.77207946777344
],
"size": [
140,
46
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 25
},
{
"name": "vae",
"type": "VAE",
"link": 24
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
26
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 17,
"type": "SaveImage",
"pos": [
1552.9771728515625,
179.46412658691406
],
"size": [
270,
270
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 26
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 10,
"type": "CheckpointLoaderSimple",
"pos": [
-97.1946029663086,
-277.6678466796875
],
"size": [
270,
98
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
15
]
},
{
"name": "CLIP",
"type": "CLIP",
"links": []
},
{
"name": "VAE",
"type": "VAE",
"links": [
24
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"stable_cascade_stage_b.safetensors"
]
}
],
"links": [
[
3,
4,
1,
6,
0,
"CLIP"
],
[
5,
4,
1,
7,
0,
"CLIP"
],
[
12,
6,
0,
11,
1,
"CONDITIONING"
],
[
13,
7,
0,
11,
2,
"CONDITIONING"
],
[
15,
10,
0,
12,
0,
"MODEL"
],
[
24,
10,
2,
16,
1,
"VAE"
],
[
25,
12,
0,
16,
0,
"LATENT"
],
[
26,
16,
0,
17,
0,
"IMAGE"
],
[
29,
18,
0,
12,
1,
"CONDITIONING"
],
[
30,
11,
0,
18,
1,
"LATENT"
],
[
36,
11,
0,
21,
0,
"LATENT"
],
[
38,
4,
2,
21,
1,
"VAE"
],
[
39,
21,
0,
22,
0,
"IMAGE"
],
[
42,
25,
0,
11,
3,
"LATENT"
],
[
43,
25,
1,
12,
3,
"LATENT"
],
[
49,
4,
0,
11,
0,
"MODEL"
],
[
64,
6,
0,
18,
0,
"CONDITIONING"
],
[
65,
7,
0,
12,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6830134553650705,
"offset": [
518.4200909090924,
368.8896727272725
]
},
"frontendVersion": "1.23.4"
},
"version": 0.4
}
The second version - text is not used in the Stage B
{
"id": "d0712d4d-64a3-4bb2-9393-a885b6a34217",
"revision": 0,
"last_node_id": 35,
"last_link_id": 68,
"nodes": [
{
"id": 11,
"type": "KSamplerAdvanced",
"pos": [
468.7357177734375,
181.6977081298828
],
"size": [
304.66668701171875,
334
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 49
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 12
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 13
},
{
"name": "latent_image",
"type": "LATENT",
"link": 42
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
30,
36
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "KSamplerAdvanced"
},
"widgets_values": [
"enable",
0,
"fixed",
20,
8,
"euler",
"normal",
0,
10000,
"disable"
]
},
{
"id": 21,
"type": "VAEDecode",
"pos": [
834.0272827148438,
261.97491455078125
],
"size": [
140,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 36
},
{
"name": "vae",
"type": "VAE",
"link": 38
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
39
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
-168.7836151123047,
365.78973388671875
],
"size": [
425.27801513671875,
180.6060791015625
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
13
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
-491.9659118652344,
-144.46112060546875
],
"size": [
315,
98
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
49
]
},
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 1,
"links": [
3,
5
]
},
{
"name": "VAE",
"type": "VAE",
"slot_index": 2,
"links": [
38
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"stable_cascade_stage_c.safetensors"
]
},
{
"id": 18,
"type": "StableCascade_StageB_Conditioning",
"pos": [
858.5126953125,
33.57963943481445
],
"size": [
274.1333312988281,
46
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 67
},
{
"name": "stage_c",
"type": "LATENT",
"link": 30
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
29
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "StableCascade_StageB_Conditioning"
},
"widgets_values": []
},
{
"id": 12,
"type": "KSamplerAdvanced",
"pos": [
1193.6185302734375,
159.0417022705078
],
"size": [
304.66668701171875,
334
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 15
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 29
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 68
},
{
"name": "latent_image",
"type": "LATENT",
"link": 43
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
25
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "KSamplerAdvanced"
},
"widgets_values": [
"enable",
0,
"fixed",
10,
3,
"euler",
"normal",
0,
10000,
"disable"
]
},
{
"id": 22,
"type": "SaveImage",
"pos": [
849.4071044921875,
401.8776550292969
],
"size": [
270,
270
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 39
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 25,
"type": "StableCascade_EmptyLatentImage",
"pos": [
-52.426021575927734,
596.0787353515625
],
"size": [
320.0833435058594,
150
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "stage_c",
"type": "LATENT",
"links": [
42
]
},
{
"name": "stage_b",
"type": "LATENT",
"links": [
43
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "StableCascade_EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
42,
1
]
},
{
"id": 16,
"type": "VAEDecode",
"pos": [
1546.2769775390625,
33.77207946777344
],
"size": [
140,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 25
},
{
"name": "vae",
"type": "VAE",
"link": 24
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
26
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 17,
"type": "SaveImage",
"pos": [
1552.9771728515625,
179.46412658691406
],
"size": [
270,
270
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 26
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 10,
"type": "CheckpointLoaderSimple",
"pos": [
-97.1946029663086,
-277.6678466796875
],
"size": [
270,
98
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
15
]
},
{
"name": "CLIP",
"type": "CLIP",
"links": []
},
{
"name": "VAE",
"type": "VAE",
"links": [
24
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"stable_cascade_stage_b.safetensors"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
-164.78363037109375,
142.07696533203125
],
"size": [
422.84503173828125,
164.31304931640625
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
12,
66
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"colorful, Interior of the western saloon, 19 century, photograph, photorealistic"
]
},
{
"id": 35,
"type": "ConditioningZeroOut",
"pos": [
352.7194519042969,
1.5276304483413696
],
"size": [
197.66665649414062,
26
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 66
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
67,
68
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "ConditioningZeroOut"
}
}
],
"links": [
[
3,
4,
1,
6,
0,
"CLIP"
],
[
5,
4,
1,
7,
0,
"CLIP"
],
[
12,
6,
0,
11,
1,
"CONDITIONING"
],
[
13,
7,
0,
11,
2,
"CONDITIONING"
],
[
15,
10,
0,
12,
0,
"MODEL"
],
[
24,
10,
2,
16,
1,
"VAE"
],
[
25,
12,
0,
16,
0,
"LATENT"
],
[
26,
16,
0,
17,
0,
"IMAGE"
],
[
29,
18,
0,
12,
1,
"CONDITIONING"
],
[
30,
11,
0,
18,
1,
"LATENT"
],
[
36,
11,
0,
21,
0,
"LATENT"
],
[
38,
4,
2,
21,
1,
"VAE"
],
[
39,
21,
0,
22,
0,
"IMAGE"
],
[
42,
25,
0,
11,
3,
"LATENT"
],
[
43,
25,
1,
12,
3,
"LATENT"
],
[
49,
4,
0,
11,
0,
"MODEL"
],
[
66,
6,
0,
35,
0,
"CONDITIONING"
],
[
67,
35,
0,
18,
0,
"CONDITIONING"
],
[
68,
35,
0,
12,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6830134553650705,
"offset": [
518.4200909090924,
368.8896727272725
]
},
"frontendVersion": "1.23.4"
},
"version": 0.4
}