Files
Amatsukast-ComfyUI-SBTools/examples/Variable Prompt Conditional_2.json
Amatsukast 2b4b6cb7a8 fix: rewire the remaining example workflows for the Debug node
Four of the six variable-system examples still fed the Builder's removed
MAX_COMBINATIONS / ALL_COMBINATIONS outputs into preview nodes, so they would
have loaded with those links dropped.

They were missed earlier because the two that had already been converted stored
the output names in upper case while these four used lower case, and the search
that found them was case-sensitive.
2026-07-30 22:14:12 +09:00

657 lines
12 KiB
JSON

{
"id": "679dc728-50ff-443c-9e37-0cca20ffdc94",
"revision": 0,
"last_node_id": 44,
"last_link_id": 188,
"nodes": [
{
"id": 7,
"type": "PreviewAny",
"pos": [
2120,
380
],
"size": [
400,
120
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 188
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.18.2",
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
null
]
},
{
"id": 5,
"type": "PreviewAny",
"pos": [
2120,
200
],
"size": [
400,
120
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 148
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.18.2",
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
null
]
},
{
"id": 28,
"type": "SBTools_VariableCombiner",
"pos": [
1400,
200
],
"size": [
240,
140
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "var_list1",
"shape": 7,
"type": "VARIABLE_LIST",
"link": 185
},
{
"name": "var_list2",
"shape": 7,
"type": "VARIABLE_LIST",
"link": 176
},
{
"name": "var_list3",
"shape": 7,
"type": "VARIABLE_LIST",
"link": null
},
{
"name": "var_list4",
"shape": 7,
"type": "VARIABLE_LIST",
"link": null
},
{
"name": "var_list5",
"shape": 7,
"type": "VARIABLE_LIST",
"link": null
},
{
"name": "var_list6",
"shape": 7,
"type": "VARIABLE_LIST",
"link": null
}
],
"outputs": [
{
"name": "var_list",
"type": "VARIABLE_LIST",
"links": [
147,
186
]
}
],
"properties": {
"aux_id": "Amatsukast/ComfyUI-SBTools",
"ver": "a503865524260566660f89ee3bf4f58b3c6372e2",
"Node name for S&R": "SBTools_VariableCombiner"
},
"widgets_values": []
},
{
"id": 37,
"type": "SBTools_VariablePrompt",
"pos": [
-360,
200
],
"size": [
400,
200
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "var_list",
"shape": 7,
"type": "VARIABLE_LIST",
"link": null
}
],
"outputs": [
{
"name": "var_list",
"type": "VARIABLE_LIST",
"links": [
182
]
}
],
"properties": {
"aux_id": "Amatsukast/ComfyUI-SBTools",
"ver": "342b973252c1ed47186386392f6395bdb32aea49",
"Node name for S&R": "SBTools_VariablePrompt"
},
"widgets_values": [
"GENDER",
"man\nwoman",
false,
"",
""
]
},
{
"id": 42,
"type": "SBTools_VariablePrompt",
"pos": [
80,
200
],
"size": [
400,
200
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "var_list",
"shape": 7,
"type": "VARIABLE_LIST",
"link": 182
}
],
"outputs": [
{
"name": "var_list",
"type": "VARIABLE_LIST",
"links": [
183
]
}
],
"properties": {
"aux_id": "Amatsukast/ComfyUI-SBTools",
"ver": "342b973252c1ed47186386392f6395bdb32aea49",
"Node name for S&R": "SBTools_VariablePrompt"
},
"widgets_values": [
"AGE",
"young\nold",
false,
"",
""
]
},
{
"id": 6,
"type": "PreviewAny",
"pos": [
2120,
560
],
"size": [
440,
620
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 187
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.18.2",
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
null
]
},
{
"id": 38,
"type": "SBTools_VariablePrompt",
"pos": [
520,
200
],
"size": [
400,
300
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "var_list",
"shape": 7,
"type": "VARIABLE_LIST",
"link": 183
}
],
"outputs": [
{
"name": "var_list",
"type": "VARIABLE_LIST",
"links": [
184
]
}
],
"properties": {
"aux_id": "Amatsukast/ComfyUI-SBTools",
"ver": "342b973252c1ed47186386392f6395bdb32aea49",
"Node name for S&R": "SBTools_VariablePrompt"
},
"widgets_values": [
"CLOTHING",
"casual wear\nformal\n\n[young]\nhoodie\n\n[man&&formal]\ntuxedo\n\n[woman&&formal]\nevening-dress\n\n[*]\nsportswear",
false,
"",
""
]
},
{
"id": 43,
"type": "SBTools_VariablePrompt",
"pos": [
960,
200
],
"size": [
400,
300
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "var_list",
"shape": 7,
"type": "VARIABLE_LIST",
"link": 184
}
],
"outputs": [
{
"name": "var_list",
"type": "VARIABLE_LIST",
"links": [
185
]
}
],
"properties": {
"aux_id": "Amatsukast/ComfyUI-SBTools",
"ver": "342b973252c1ed47186386392f6395bdb32aea49",
"Node name for S&R": "SBTools_VariablePrompt"
},
"widgets_values": [
"ACCESSORY",
"watch\nbracelet\n\n[young]\ncap\n\n[man&&formal]\ntie\n\n[woman&&formal]\nnecklace\n[NONE]",
false,
"with ",
""
]
},
{
"id": 41,
"type": "SBTools_VariableBuilder",
"pos": [
1680,
200
],
"size": [
400,
320
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "var_list",
"shape": 7,
"type": "VARIABLE_LIST",
"link": 147
},
{
"name": "index",
"type": "INT",
"widget": {
"name": "index"
},
"link": 151
}
],
"outputs": [
{
"name": "prompt",
"type": "STRING",
"links": [
148
]
},
{
"name": "image1",
"type": "IMAGE",
"links": null
},
{
"name": "image2",
"type": "IMAGE",
"links": null
},
{
"name": "image3",
"type": "IMAGE",
"links": null
},
{
"name": "image4",
"type": "IMAGE",
"links": null
}
],
"properties": {
"aux_id": "Amatsukast/ComfyUI-SBTools",
"ver": "342b973252c1ed47186386392f6395bdb32aea49",
"Node name for S&R": "SBTools_VariableBuilder"
},
"widgets_values": [
"A [AGE] [GENDER] in [CLOTHING] [ACCESSORY] [ITEM].",
0,
1044640172,
"randomize",
", "
]
},
{
"id": 39,
"type": "SBTools_VariablePrompt",
"pos": [
960,
580
],
"size": [
400,
280
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "var_list",
"shape": 7,
"type": "VARIABLE_LIST",
"link": null
}
],
"outputs": [
{
"name": "var_list",
"type": "VARIABLE_LIST",
"links": [
176
]
}
],
"properties": {
"aux_id": "Amatsukast/ComfyUI-SBTools",
"ver": "342b973252c1ed47186386392f6395bdb32aea49",
"Node name for S&R": "SBTools_VariablePrompt"
},
"widgets_values": [
"ITEM",
"bag\nbook\nphone\n[NONE]",
true,
", holding ",
""
]
},
{
"id": 25,
"type": "PrimitiveInt",
"pos": [
1680,
580
],
"size": [
280,
100
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
151
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.18.2",
"Node name for S&R": "PrimitiveInt"
},
"widgets_values": [
0,
"increment"
]
},
{
"id": 44,
"type": "SBTools_VariableDebug",
"pos": [
1680,
580
],
"size": [
280,
106
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "var_list",
"shape": 7,
"type": "VARIABLE_LIST",
"link": 186
}
],
"outputs": [
{
"name": "COMBINATIONS",
"type": "STRING",
"links": [
187
]
},
{
"name": "TOTAL",
"type": "INT",
"links": [
188
]
}
],
"properties": {
"cnr_id": "ComfyUI-SBTools",
"ver": "2.0.0",
"Node name for S&R": "SBTools_VariableDebug"
},
"widgets_values": [
100,
true
]
}
],
"links": [
[
147,
28,
0,
41,
0,
"VARIABLE_LIST"
],
[
148,
41,
0,
5,
0,
"STRING"
],
[
151,
25,
0,
41,
1,
"INT"
],
[
176,
39,
0,
28,
1,
"VARIABLE_LIST"
],
[
182,
37,
0,
42,
0,
"VARIABLE_LIST"
],
[
183,
42,
0,
38,
0,
"VARIABLE_LIST"
],
[
184,
38,
0,
43,
0,
"VARIABLE_LIST"
],
[
185,
43,
0,
28,
0,
"VARIABLE_LIST"
],
[
186,
28,
0,
44,
0,
"VARIABLE_LIST"
],
[
187,
44,
0,
6,
0,
"STRING"
],
[
188,
44,
1,
7,
0,
"INT"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.626938775510204,
"offset": [
860,
313.6770833333335
]
},
"frontendVersion": "1.41.21",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}