AI-QR-code-generator / custom_nodes /ComfyQR /examples /module-driven-control-net.json
Oysiyl's picture
Upload 31 files
3491fee verified
{
"last_node_id": 19,
"last_link_id": 27,
"nodes": [
{
"id": 13,
"type": "VAEDecode",
"pos": [
1195,
696
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 10
},
{
"name": "vae",
"type": "VAE",
"link": 11
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
12
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 12,
"type": "SaveImage",
"pos": [
1493,
677
],
"size": {
"0": 315,
"1": 270
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 12
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 6,
"type": "CheckpointLoaderSimple",
"pos": [
220,
182
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
9
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
2,
3
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
11
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"1.5/v1-5-pruned-emaonly.safetensors"
]
},
{
"id": 15,
"type": "EmptyLatentImage",
"pos": [
678,
604
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"link": 26,
"widget": {
"name": "width",
"config": [
"INT",
{
"default": 512,
"min": 64,
"max": 8192,
"step": 8
}
]
}
},
{
"name": "height",
"type": "INT",
"link": 27,
"widget": {
"name": "height",
"config": [
"INT",
{
"default": 512,
"min": 64,
"max": 8192,
"step": 8
}
]
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
16
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
643,
101
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 2
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
17
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"Adorable puppies"
]
},
{
"id": 18,
"type": "ControlNetLoader",
"pos": [
227,
366
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
19
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control_v1p_sd15_qrcode_monster_v2.safetensors"
]
},
{
"id": 11,
"type": "KSampler",
"pos": [
1213,
124
],
"size": {
"0": 315,
"1": 474
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 9
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 24
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 22
},
{
"name": "latent_image",
"type": "LATENT",
"link": 16
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
123662286732457,
"randomize",
20,
8,
"euler",
"normal",
1
]
},
{
"id": 8,
"type": "CLIPTextEncode",
"pos": [
656,
351
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
23
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"worst quality"
]
},
{
"id": 17,
"type": "ControlNetApplyAdvanced",
"pos": [
804,
796
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 17
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 23
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 19
},
{
"name": "image",
"type": "IMAGE",
"link": 25
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
24
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
22
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
1.6,
0,
1
]
},
{
"id": 19,
"type": "comfy-qr-by-module-size",
"pos": [
191,
629
],
"size": {
"0": 400,
"1": 284
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "QR_CODE",
"type": "IMAGE",
"links": [
25
],
"shape": 3,
"slot_index": 0
},
{
"name": "QR_VERSION",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "IMAGE_SIZE",
"type": "INT",
"links": [
26,
27
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "comfy-qr-by-module-size"
},
"widgets_values": [
"Https",
"gitlab.com/sofuego-comfy-nodes",
16,
512,
"#000000",
"#FFFFFF",
"Medium",
1,
"Square"
]
}
],
"links": [
[
2,
6,
1,
7,
0,
"CLIP"
],
[
3,
6,
1,
8,
0,
"CLIP"
],
[
9,
6,
0,
11,
0,
"MODEL"
],
[
10,
11,
0,
13,
0,
"LATENT"
],
[
11,
6,
2,
13,
1,
"VAE"
],
[
12,
13,
0,
12,
0,
"IMAGE"
],
[
16,
15,
0,
11,
3,
"LATENT"
],
[
17,
7,
0,
17,
0,
"CONDITIONING"
],
[
19,
18,
0,
17,
2,
"CONTROL_NET"
],
[
22,
17,
1,
11,
2,
"CONDITIONING"
],
[
23,
8,
0,
17,
1,
"CONDITIONING"
],
[
24,
17,
0,
11,
1,
"CONDITIONING"
],
[
25,
19,
0,
17,
3,
"IMAGE"
],
[
26,
19,
2,
15,
0,
"INT"
],
[
27,
19,
2,
15,
1,
"INT"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}