Files
Amatsukast-ComfyUI-SBTools/examples/Variable Prompt Conditional_1.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

553 lines
9.5 KiB
JSON

{
"id": "d942b58a-6b3f-40cf-9d57-7f30c3806fc1",
"revision": 0,
"last_node_id": 42,
"last_link_id": 182,
"nodes": [
{
"id": 7,
"type": "PreviewAny",
"pos": [
2120,
380
],
"size": [
400,
120
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 182
}
],
"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": 6,
"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": 6,
"type": "PreviewAny",
"pos": [
2120,
560
],
"size": [
400,
240
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 181
}
],
"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": 4,
"mode": 0,
"inputs": [
{
"name": "var_list1",
"shape": 7,
"type": "VARIABLE_LIST",
"link": 175
},
{
"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,
180
]
}
],
"properties": {
"aux_id": "Amatsukast/ComfyUI-SBTools",
"ver": "a503865524260566660f89ee3bf4f58b3c6372e2",
"Node name for S&R": "SBTools_VariableCombiner"
},
"widgets_values": []
},
{
"id": 37,
"type": "SBTools_VariablePrompt",
"pos": [
520,
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": [
174
]
}
],
"properties": {
"aux_id": "Amatsukast/ComfyUI-SBTools",
"ver": "342b973252c1ed47186386392f6395bdb32aea49",
"Node name for S&R": "SBTools_VariablePrompt"
},
"widgets_values": [
"GENDER",
"man\nwoman",
false,
"",
""
]
},
{
"id": 38,
"type": "SBTools_VariablePrompt",
"pos": [
960,
200
],
"size": [
400,
280
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "var_list",
"shape": 7,
"type": "VARIABLE_LIST",
"link": 174
}
],
"outputs": [
{
"name": "var_list",
"type": "VARIABLE_LIST",
"links": [
175
]
}
],
"properties": {
"aux_id": "Amatsukast/ComfyUI-SBTools",
"ver": "342b973252c1ed47186386392f6395bdb32aea49",
"Node name for S&R": "SBTools_VariablePrompt"
},
"widgets_values": [
"CLOTHING",
"suit\ncasual wear\nsportswear\n\n[man]\ntuxedo\n\n[woman]\ndress\n",
false,
"",
""
]
},
{
"id": 41,
"type": "SBTools_VariableBuilder",
"pos": [
1680,
200
],
"size": [
400,
320
],
"flags": {},
"order": 5,
"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": [
"",
0,
3405149679,
"randomize",
", "
]
},
{
"id": 39,
"type": "SBTools_VariablePrompt",
"pos": [
960,
560
],
"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": [
"",
"watch\nglasses\n[NONE]",
true,
"",
""
]
},
{
"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": 42,
"type": "SBTools_VariableDebug",
"pos": [
1680,
580
],
"size": [
280,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "var_list",
"shape": 7,
"type": "VARIABLE_LIST",
"link": 180
}
],
"outputs": [
{
"name": "COMBINATIONS",
"type": "STRING",
"links": [
181
]
},
{
"name": "TOTAL",
"type": "INT",
"links": [
182
]
}
],
"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"
],
[
174,
37,
0,
38,
0,
"VARIABLE_LIST"
],
[
175,
38,
0,
28,
0,
"VARIABLE_LIST"
],
[
176,
39,
0,
28,
1,
"VARIABLE_LIST"
],
[
180,
28,
0,
42,
0,
"VARIABLE_LIST"
],
[
181,
42,
0,
6,
0,
"STRING"
],
[
182,
42,
1,
7,
0,
"INT"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.9124752475247522,
"offset": [
-173.33333333333326,
174.29513888888903
]
},
"frontendVersion": "1.41.21",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}