Files
guerreiro-comfyg-switch/ComfygSwitch-example.json

603 lines
10 KiB
JSON

{
"id": "8a6dcd48-2ede-4ad4-99d7-67d14b6e80a9",
"revision": 0,
"last_node_id": 22,
"last_link_id": 31,
"nodes": [
{
"id": 9,
"type": "SaveImage",
"pos": [
1451,
189
],
"size": [
537.75,
573.25
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "SaveImage",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.0.1"
}
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
824.74609375,
425.3902587890625
],
"size": [
315,
262
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 13
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 4
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 6
},
{
"name": "latent_image",
"type": "LATENT",
"link": 18
},
{
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": 28
},
{
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": 29
},
{
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": 31
},
{
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": 30
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
7
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "KSampler",
"ue_properties": {
"widget_ue_connectable": {
"steps": true,
"cfg": true,
"sampler_name": true,
"scheduler": true
},
"version": "7.0.1"
}
},
"widgets_values": [
583821482255772,
"randomize",
20,
8,
"dpmpp_2m",
"normal",
1
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
511.2629699707031,
184.53378295898438
],
"size": [
210.29940795898438,
129.9862518310547
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 15
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
6
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "CLIPTextEncode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.0.1"
}
},
"widgets_values": [
"watermark, text\n"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1175.942138671875,
287.1734924316406
],
"size": [
210,
46
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 17
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
9
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "VAEDecode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.0.1"
}
},
"widgets_values": []
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
479.0658264160156,
-10.242545127868652
],
"size": [
278.6888427734375,
133.94888305664062
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 14
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
4
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "CLIPTextEncode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.0.1"
}
},
"widgets_values": [
"1boy, Goku, DBZ"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 14,
"type": "CheckpointLoaderSimple",
"pos": [
242.60675048828125,
390.90185546875
],
"size": [
210,
98
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "ckpt_name",
"type": "COMBO",
"widget": {
"name": "ckpt_name"
},
"link": 26
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
13
]
},
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 1,
"links": [
14,
15
]
},
{
"name": "VAE",
"type": "VAE",
"slot_index": 2,
"links": [
17
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "CheckpointLoaderSimple",
"ue_properties": {
"widget_ue_connectable": {
"ckpt_name": true
},
"version": "7.0.1"
}
},
"widgets_values": [
"v1-5-pruned-emaonly.ckpt"
]
},
{
"id": 16,
"type": "EmptyLatentImage",
"pos": [
490.053955078125,
714.1536865234375
],
"size": [
210,
108.06611633300781
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
18
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "EmptyLatentImage",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.0.1"
}
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 22,
"type": "ComfygSwitch",
"pos": [
-275.2002258300781,
479.53363037109375
],
"size": [
411.47564697265625,
346
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL_NAME",
"type": "",
"links": [
26
]
},
{
"name": "CONFIG_SOURCE",
"type": "STRING",
"links": null
},
{
"name": "STEPS",
"type": "INT",
"links": [
28
]
},
{
"name": "REFINE_STEPS",
"type": "INT",
"links": null
},
{
"name": "CFG",
"type": "FLOAT",
"links": [
29
]
},
{
"name": "SAMPLER",
"type": "COMBO",
"links": [
31
]
},
{
"name": "SCHEDULER",
"type": "COMBO",
"links": [
30
]
}
],
"properties": {
"aux_id": "guerreiro/comfyg-switch",
"ver": "409e94be9f642a1fd1a44450a9bb9e58c48ec9aa",
"Node name for S&R": "ComfygSwitch"
},
"widgets_values": [
"juggernautXL_juggXIByRundiffusion.safetensors",
"juggernautXL_juggXIByRundiffusion",
30,
30,
4.5,
"dpmpp_2m_sde",
"normal",
null
]
}
],
"links": [
[
4,
6,
0,
3,
1,
"CONDITIONING"
],
[
6,
7,
0,
3,
2,
"CONDITIONING"
],
[
7,
3,
0,
8,
0,
"LATENT"
],
[
9,
8,
0,
9,
0,
"IMAGE"
],
[
13,
14,
0,
3,
0,
"MODEL"
],
[
14,
14,
1,
6,
0,
"CLIP"
],
[
15,
14,
1,
7,
0,
"CLIP"
],
[
17,
14,
2,
8,
1,
"VAE"
],
[
18,
16,
0,
3,
3,
"LATENT"
],
[
26,
22,
0,
14,
0,
"COMBO"
],
[
28,
22,
2,
3,
4,
"INT"
],
[
29,
22,
4,
3,
5,
"FLOAT"
],
[
30,
22,
6,
3,
7,
"COMBO"
],
[
31,
22,
5,
3,
6,
"COMBO"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
334.48855345434663,
-114.72941449709438
]
},
"node_versions": {
"comfy-core": "0.3.14",
"comfyg-switch": "3086300b434901832add5794ce277c583105190b"
},
"ue_links": [],
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"frontendVersion": "1.25.8"
},
"version": 0.4
}