Source JSON
Post #239774 · 1 source
inkbunny.net · 3807810:5897397 · selected
Downloader metadata · database Download
{
"_format": "download_manifest_v2",
"api_blob_sha512": "f0c7d0f494803751c4891617b782555494c8c0b106170eb29ac12b82894be40267b0ccd962af15d0bbe3270243f61811fa4996ef3dd308dc90f7d84661372b33",
"artifacts": [
{
"blob_sha512": "3520807a3602515f86c99f20505fa6974e2c94adcc607839b2054371fbac6af0d73c9c07fd1bbf7a548ca4430083fd607336de7c6462b8fed61c07e8462e60f3",
"path": "/home/rome/Desktop/Dev/img-downloader/export/inkbunny.net/Artists/soundslikethunder/3807810_5897397_soundslikethunder_comfyui_temp_mlaky_00032_.json"
},
{
"blob_sha512": "f0c7d0f494803751c4891617b782555494c8c0b106170eb29ac12b82894be40267b0ccd962af15d0bbe3270243f61811fa4996ef3dd308dc90f7d84661372b33",
"path": "/home/rome/Desktop/Dev/img-downloader/export/inkbunny.net/Artists/soundslikethunder/3807810_5897397_soundslikethunder_comfyui_temp_mlaky_00032_.api.json"
},
{
"blob_sha512": "6ad587e46049fd82bd4329af1cf45280ab3d3ff2b51a76dd730fa24bd4362d04d482ed0d149fa8598f2ed399937b29fdeaba9b22e008fa9b0019aeb264d22e85",
"path": "/home/rome/Desktop/Dev/img-downloader/export/inkbunny.net/Artists/soundslikethunder/profile.api.json"
}
]
}
3807810_5897397_soundslikethunder_comfyui_temp_mlaky_00032_.json · CAS artifact Download
{
"config": {},
"definitions": {
"subgraphs": [
{
"config": {},
"extra": {
"workflowRendererVersion": "LG"
},
"groups": [],
"id": "757e14aa-4f52-44a3-8192-44398488d941",
"inputNode": {
"bounding": [
-70,
-3140,
120,
180
],
"id": -10
},
"inputs": [
{
"id": "244c7a0a-ff73-4529-a102-bca09d36fbd2",
"linkIds": [
3358,
3481
],
"localized_name": "model",
"name": "model",
"pos": [
30,
-3120
],
"type": "MODEL"
},
{
"id": "a48416a5-38a5-4b6f-a50d-51a787f7028b",
"label": "clip",
"linkIds": [
3511,
3512,
3516,
3522,
3525
],
"name": "_5",
"pos": [
30,
-3100
],
"type": "*"
},
{
"id": "bc81e39e-a97e-4c05-b930-940c8c8480d1",
"label": "set mask",
"linkIds": [
3411
],
"name": "",
"pos": [
30,
-3080
],
"type": "*"
},
{
"id": "646f284e-5bc7-40b8-9602-5ad38f56d36d",
"label": "default text",
"linkIds": [
3382
],
"name": "_1",
"pos": [
30,
-3060
],
"type": "*"
},
{
"id": "22c354c5-2dd6-4bc2-8b1a-55b24ffecc93",
"label": "text A",
"linkIds": [
3383
],
"name": "_2",
"pos": [
30,
-3040
],
"type": "*"
},
{
"id": "38c59f03-8273-41e4-ad70-33f7bec6b66e",
"label": "text B",
"linkIds": [
3384
],
"name": "_3",
"pos": [
30,
-3020
],
"type": "*"
},
{
"id": "c2cba9f3-d4de-4e56-8d54-3a29b46225e8",
"label": "negative text",
"linkIds": [
3385
],
"name": "_4",
"pos": [
30,
-3000
],
"type": "*"
}
],
"links": [
{
"id": 3340,
"origin_id": 1511,
"origin_slot": 0,
"target_id": 1513,
"target_slot": 2,
"type": "MASK"
},
{
"id": 3345,
"origin_id": 1512,
"origin_slot": 0,
"target_id": 1515,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 3346,
"origin_id": 1512,
"origin_slot": 1,
"target_id": 1515,
"target_slot": 3,
"type": "CONDITIONING"
},
{
"id": 3347,
"origin_id": 1513,
"origin_slot": 0,
"target_id": 1515,
"target_slot": 6,
"type": "CONDITIONING"
},
{
"id": 3348,
"origin_id": 1513,
"origin_slot": 1,
"target_id": 1515,
"target_slot": 7,
"type": "CONDITIONING"
},
{
"id": 3354,
"origin_id": 1521,
"origin_slot": 0,
"target_id": 1518,
"target_slot": 0,
"type": "STRING"
},
{
"id": 3355,
"origin_id": 1523,
"origin_slot": 0,
"target_id": 1518,
"target_slot": 1,
"type": "STRING"
},
{
"id": 3356,
"origin_id": 1521,
"origin_slot": 0,
"target_id": 1519,
"target_slot": 0,
"type": "STRING"
},
{
"id": 3357,
"origin_id": 1520,
"origin_slot": 0,
"target_id": 1519,
"target_slot": 1,
"type": "STRING"
},
{
"id": 3358,
"origin_id": -10,
"origin_slot": 0,
"target_id": 1515,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 3382,
"origin_id": -10,
"origin_slot": 3,
"target_id": 1521,
"target_slot": 0,
"type": "*"
},
{
"id": 3383,
"origin_id": -10,
"origin_slot": 4,
"target_id": 1523,
"target_slot": 0,
"type": "*"
},
{
"id": 3384,
"origin_id": -10,
"origin_slot": 5,
"target_id": 1520,
"target_slot": 0,
"type": "*"
},
{
"id": 3385,
"origin_id": -10,
"origin_slot": 6,
"target_id": 1524,
"target_slot": 0,
"type": "*"
},
{
"id": 3390,
"origin_id": 1529,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "*"
},
{
"id": 3391,
"origin_id": 1528,
"origin_slot": 0,
"target_id": -20,
"target_slot": 1,
"type": "*"
},
{
"id": 3392,
"origin_id": 1530,
"origin_slot": 0,
"target_id": -20,
"target_slot": 2,
"type": "*"
},
{
"id": 3405,
"origin_id": 1532,
"origin_slot": 0,
"target_id": 1531,
"target_slot": 10,
"type": "STRING"
},
{
"id": 3411,
"origin_id": -10,
"origin_slot": 2,
"target_id": 1531,
"target_slot": 6,
"type": "*"
},
{
"id": 3436,
"origin_id": 1531,
"origin_slot": 5,
"target_id": 1537,
"target_slot": 0,
"type": "INT"
},
{
"id": 3475,
"origin_id": 1549,
"origin_slot": 0,
"target_id": 1530,
"target_slot": 2,
"type": "BOOLEAN"
},
{
"id": 3476,
"origin_id": 1549,
"origin_slot": 0,
"target_id": 1528,
"target_slot": 2,
"type": "BOOLEAN"
},
{
"id": 3477,
"origin_id": 1549,
"origin_slot": 0,
"target_id": 1529,
"target_slot": 2,
"type": "BOOLEAN"
},
{
"id": 3478,
"origin_id": 1515,
"origin_slot": 0,
"target_id": 1529,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 3479,
"origin_id": 1515,
"origin_slot": 1,
"target_id": 1528,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 3480,
"origin_id": 1515,
"origin_slot": 2,
"target_id": 1530,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 3481,
"origin_id": -10,
"origin_slot": 0,
"target_id": 1529,
"target_slot": 1,
"type": "*"
},
{
"id": 3499,
"origin_id": 1531,
"origin_slot": 2,
"target_id": 1549,
"target_slot": 0,
"type": "MASK"
},
{
"id": 3508,
"origin_id": 1531,
"origin_slot": 2,
"target_id": 1511,
"target_slot": 0,
"type": "MASK"
},
{
"id": 3509,
"origin_id": 1531,
"origin_slot": 2,
"target_id": 1512,
"target_slot": 2,
"type": "MASK"
},
{
"id": 3510,
"origin_id": 1531,
"origin_slot": 2,
"target_id": -20,
"target_slot": 3,
"type": "*"
},
{
"id": 3511,
"origin_id": -10,
"origin_slot": 1,
"target_id": 1515,
"target_slot": 1,
"type": "CLIP"
},
{
"id": 3512,
"origin_id": -10,
"origin_slot": 1,
"target_id": 1553,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 3513,
"origin_id": 1553,
"origin_slot": 0,
"target_id": 1515,
"target_slot": 4,
"type": "CONDITIONING"
},
{
"id": 3514,
"origin_id": 1553,
"origin_slot": 0,
"target_id": 1528,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 3515,
"origin_id": 1521,
"origin_slot": 0,
"target_id": 1553,
"target_slot": 1,
"type": "STRING"
},
{
"id": 3516,
"origin_id": -10,
"origin_slot": 1,
"target_id": 1554,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 3517,
"origin_id": 1554,
"origin_slot": 0,
"target_id": 1512,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 3518,
"origin_id": 1554,
"origin_slot": 0,
"target_id": 1513,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 3519,
"origin_id": 1554,
"origin_slot": 0,
"target_id": 1515,
"target_slot": 5,
"type": "CONDITIONING"
},
{
"id": 3520,
"origin_id": 1554,
"origin_slot": 0,
"target_id": 1530,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 3521,
"origin_id": 1524,
"origin_slot": 0,
"target_id": 1554,
"target_slot": 1,
"type": "STRING"
},
{
"id": 3522,
"origin_id": -10,
"origin_slot": 1,
"target_id": 1555,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 3523,
"origin_id": 1555,
"origin_slot": 0,
"target_id": 1512,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 3524,
"origin_id": 1518,
"origin_slot": 0,
"target_id": 1555,
"target_slot": 1,
"type": "STRING"
},
{
"id": 3525,
"origin_id": -10,
"origin_slot": 1,
"target_id": 1556,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 3526,
"origin_id": 1556,
"origin_slot": 0,
"target_id": 1513,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 3527,
"origin_id": 1519,
"origin_slot": 0,
"target_id": 1556,
"target_slot": 1,
"type": "STRING"
}
],
"name": "Area Conditioning",
"nodes": [
{
"flags": {},
"id": 1523,
"inputs": [
{
"link": 3383,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 9,
"outputs": [
{
"links": [
3355
],
"name": "STRING",
"type": "*"
}
],
"pos": [
190,
-3050
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
90.4,
26
],
"title": "Text A",
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1512,
"inputs": [
{
"link": 3523,
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 3517,
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 3509,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 2,
"outputs": [
{
"links": [
3345
],
"localized_name": "region_positive",
"name": "region_positive",
"type": "CONDITIONING"
},
{
"links": [
3346
],
"localized_name": "region_negative",
"name": "region_negative",
"type": "CONDITIONING"
}
],
"pos": [
1070,
-3250
],
"properties": {
"Node name for S&R": "MaskedRegionCond",
"aux_id": "tumbowungus/MultiMaskCouple",
"ver": "1d98d0b5a79665c47bc7fdb0a110c428fa668fc6"
},
"size": [
270,
122
],
"type": "MaskedRegionCond",
"widgets_values": [
1,
1
]
},
{
"flags": {
"collapsed": true
},
"id": 1549,
"inputs": [
{
"link": 3499,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 15,
"outputs": [
{
"links": [
3475,
3476,
3477
],
"localized_name": "boolean",
"name": "boolean",
"type": "BOOLEAN"
}
],
"pos": [
1330,
-2670
],
"properties": {
"Node name for S&R": "easy isMaskEmpty",
"cnr_id": "comfyui-easy-use",
"ver": "1.3.5"
},
"size": [
140,
26
],
"type": "easy isMaskEmpty",
"widgets_values": []
},
{
"flags": {},
"id": 1520,
"inputs": [
{
"link": 3384,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 7,
"outputs": [
{
"links": [
3357
],
"name": "STRING",
"type": "*"
}
],
"pos": [
190,
-3020
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
90.4,
26
],
"title": "Text B",
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1513,
"inputs": [
{
"link": 3526,
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 3518,
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 3340,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 3,
"outputs": [
{
"links": [
3347
],
"localized_name": "region_positive",
"name": "region_positive",
"type": "CONDITIONING"
},
{
"links": [
3348
],
"localized_name": "region_negative",
"name": "region_negative",
"type": "CONDITIONING"
}
],
"pos": [
1080,
-3160
],
"properties": {
"Node name for S&R": "MaskedRegionCond",
"aux_id": "tumbowungus/MultiMaskCouple",
"ver": "1d98d0b5a79665c47bc7fdb0a110c428fa668fc6"
},
"size": [
270,
114
],
"type": "MaskedRegionCond",
"widgets_values": [
1,
1
]
},
{
"flags": {
"collapsed": true
},
"id": 1529,
"inputs": [
{
"link": 3478,
"localized_name": "on_false",
"name": "on_false",
"type": "*"
},
{
"link": 3481,
"localized_name": "on_true",
"name": "on_true",
"type": "*"
},
{
"link": 3477,
"localized_name": "switch",
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
}
}
],
"mode": 0,
"order": 12,
"outputs": [
{
"links": [
3390
],
"localized_name": "*",
"name": "*",
"type": "*"
}
],
"pos": [
1610,
-3310
],
"properties": {
"Node name for S&R": "LazySwitchKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.6"
},
"size": [
270,
78
],
"type": "LazySwitchKJ",
"widgets_values": [
false
]
},
{
"flags": {
"collapsed": true
},
"id": 1528,
"inputs": [
{
"link": 3479,
"localized_name": "on_false",
"name": "on_false",
"type": "*"
},
{
"link": 3514,
"localized_name": "on_true",
"name": "on_true",
"type": "*"
},
{
"link": 3476,
"localized_name": "switch",
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
}
}
],
"mode": 0,
"order": 11,
"outputs": [
{
"links": [
3391
],
"localized_name": "*",
"name": "*",
"type": "*"
}
],
"pos": [
1610,
-3260
],
"properties": {
"Node name for S&R": "LazySwitchKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.6"
},
"size": [
270,
78
],
"type": "LazySwitchKJ",
"widgets_values": [
false
]
},
{
"flags": {
"collapsed": true
},
"id": 1530,
"inputs": [
{
"link": 3480,
"localized_name": "on_false",
"name": "on_false",
"type": "*"
},
{
"link": 3520,
"localized_name": "on_true",
"name": "on_true",
"type": "*"
},
{
"link": 3475,
"localized_name": "switch",
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
}
}
],
"mode": 0,
"order": 13,
"outputs": [
{
"links": [
3392
],
"localized_name": "*",
"name": "*",
"type": "*"
}
],
"pos": [
1610,
-3210
],
"properties": {
"Node name for S&R": "LazySwitchKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.6"
},
"size": [
270,
80
],
"type": "LazySwitchKJ",
"widgets_values": [
false
]
},
{
"flags": {
"collapsed": true
},
"id": 1511,
"inputs": [
{
"link": 3508,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 1,
"outputs": [
{
"links": [
3340
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
920,
-3110
],
"properties": {
"Node name for S&R": "InvertMask",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"size": [
140,
30
],
"type": "InvertMask",
"widgets_values": []
},
{
"flags": {
"collapsed": true
},
"id": 1531,
"inputs": [
{
"link": null,
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "mask1",
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "mask2",
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "list1",
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "dict1",
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": 3411,
"localized_name": "any1",
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any2",
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any3",
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any4",
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 3405,
"localized_name": "raw_code",
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
}
],
"mode": 0,
"order": 14,
"outputs": [
{
"links": null,
"localized_name": "image1",
"name": "image1",
"type": "*"
},
{
"links": null,
"localized_name": "image2",
"name": "image2",
"type": "*"
},
{
"links": [
3499,
3508,
3509,
3510
],
"localized_name": "mask1",
"name": "mask1",
"type": "*"
},
{
"links": null,
"localized_name": "mask2",
"name": "mask2",
"type": "*"
},
{
"links": [],
"localized_name": "number1",
"name": "number1",
"type": "*"
},
{
"links": [
3436
],
"localized_name": "number2",
"name": "number2",
"type": "*"
},
{
"links": [],
"localized_name": "text1",
"name": "text1",
"type": "*"
},
{
"links": [],
"localized_name": "text2",
"name": "text2",
"type": "*"
},
{
"links": null,
"localized_name": "list1",
"name": "list1",
"type": "*"
},
{
"links": null,
"localized_name": "dict1",
"name": "dict1",
"type": "*"
},
{
"links": [],
"localized_name": "any1",
"name": "any1",
"type": "*"
},
{
"links": [],
"localized_name": "any2",
"name": "any2",
"type": "*"
},
{
"links": null,
"localized_name": "any3",
"name": "any3",
"type": "*"
},
{
"links": null,
"localized_name": "any4",
"name": "any4",
"type": "*"
}
],
"pos": [
190,
-2750
],
"properties": {
"cnr_id": "python-interpreter-node",
"ver": "2.1.0"
},
"size": [
270,
546
],
"type": "Exec Python Code Script",
"widgets_values": [
"",
0,
0,
"hello",
"world",
true,
""
]
},
{
"flags": {
"collapsed": false
},
"id": 1532,
"inputs": [],
"mode": 0,
"order": 0,
"outputs": [
{
"links": [
3405
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-410,
-2760
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
490,
590
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"import torch\n\n# 1. Setup\nwidth, height = 512, 512\nres = torch.zeros((1, height, width), dtype=torch.float32)\n\n# Clean up input\nraw_input = any1.strip() if (any1 and any1.strip()) else \"\"\n\nif raw_input:\n try:\n # Check for global inversion (starting with -)\n is_globally_inverted = raw_input.startswith(\"-\")\n clean_input = raw_input.lstrip(\"-\").strip()\n \n # 2. Parse into a 2D Grid\n # Split by lines for rows, then by spaces for columns\n grid = []\n for line in clean_input.split('\\n'):\n if line.strip():\n row = [float(x) for x in line.split()]\n grid.append(row)\n \n if grid:\n num_rows = len(grid)\n current_y = 0\n \n for r_idx, row in enumerate(grid):\n num_cols = len(row)\n # Calculate height for this specific row\n seg_h = int(height / num_rows) if r_idx < num_rows - 1 else height - current_y\n \n current_x = 0\n for c_idx, val in enumerate(row):\n # Calculate width for this specific column\n seg_w = int(width / num_cols) if c_idx < num_cols - 1 else width - current_x\n \n # Fill the segment with the value (0 or 1)\n # We use abs(val) to handle negative numbers if they exist inside the grid\n res[:, current_y : current_y + seg_h, current_x : current_x + seg_w] = float(val)\n \n current_x += seg_w\n current_y += seg_h\n\n # 3. Final Inversion\n if is_globally_inverted:\n res = 1.0 - res\n \n except Exception:\n # Fallback to black mask on error\n res = torch.zeros((1, height, width), dtype=torch.float32)\n\n# 4. Output\nmask1.to(res)"
]
},
{
"flags": {
"collapsed": false
},
"id": 1515,
"inputs": [
{
"link": 3358,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": 3511,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 3345,
"localized_name": "region_1_positive",
"name": "region_1_positive",
"type": "CONDITIONING"
},
{
"link": 3346,
"localized_name": "region_1_negative",
"name": "region_1_negative",
"type": "CONDITIONING"
},
{
"link": 3513,
"localized_name": "default_positive",
"name": "default_positive",
"type": "CONDITIONING"
},
{
"link": 3519,
"localized_name": "default_negative",
"name": "default_negative",
"type": "CONDITIONING"
},
{
"link": 3347,
"name": "region_2_positive",
"type": "CONDITIONING"
},
{
"link": 3348,
"name": "region_2_negative",
"type": "CONDITIONING"
}
],
"mode": 0,
"order": 4,
"outputs": [
{
"links": [
3441,
3478
],
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"links": [
3479
],
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"links": [
3480
],
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
}
],
"pos": [
1290,
-3450
],
"properties": {
"Node name for S&R": "MultiMaskCouple",
"aux_id": "tumbowungus/MultiMaskCouple",
"ver": "1d98d0b5a79665c47bc7fdb0a110c428fa668fc6"
},
"size": [
250,
198
],
"type": "MultiMaskCouple",
"widgets_values": [
2
]
},
{
"flags": {},
"id": 1521,
"inputs": [
{
"link": 3382,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 8,
"outputs": [
{
"links": [
3354,
3356,
3515
],
"name": "STRING",
"type": "*"
}
],
"pos": [
190,
-2990
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
90.4,
26
],
"title": "Default Text",
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1553,
"inputs": [
{
"link": 3512,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 3515,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"mode": 0,
"order": 16,
"outputs": [
{
"links": [
3513,
3514
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
510,
-3630
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.12.0"
},
"size": [
400,
200
],
"type": "CLIPTextEncode",
"widgets_values": [
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1554,
"inputs": [
{
"link": 3516,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 3521,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"mode": 0,
"order": 17,
"outputs": [
{
"links": [
3517,
3518,
3519,
3520
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
510,
-3570
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.12.0"
},
"size": [
400,
200
],
"type": "CLIPTextEncode",
"widgets_values": [
""
]
},
{
"flags": {},
"id": 1524,
"inputs": [
{
"link": 3385,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 10,
"outputs": [
{
"links": [
3521
],
"name": "STRING",
"type": "*"
}
],
"pos": [
240,
-3580
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
90.4,
26
],
"title": "Text A",
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1518,
"inputs": [
{
"link": 3354,
"localized_name": "text_a",
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": 3355,
"localized_name": "text_b",
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
}
],
"mode": 0,
"order": 5,
"outputs": [
{
"links": [
3524
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
380,
-3020
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5"
},
"size": [
400,
224
],
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"yes",
"",
"",
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1555,
"inputs": [
{
"link": 3522,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 3524,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"mode": 0,
"order": 18,
"outputs": [
{
"links": [
3523
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
510,
-3520
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.12.0"
},
"size": [
400,
200
],
"type": "CLIPTextEncode",
"widgets_values": [
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1556,
"inputs": [
{
"link": 3525,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 3527,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"mode": 0,
"order": 19,
"outputs": [
{
"links": [
3526
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
520,
-3470
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.12.0"
},
"size": [
400,
200
],
"type": "CLIPTextEncode",
"widgets_values": [
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1519,
"inputs": [
{
"link": 3356,
"localized_name": "text_a",
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": 3357,
"localized_name": "text_b",
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
}
],
"mode": 0,
"order": 6,
"outputs": [
{
"links": [
3527
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
380,
-2960
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5"
},
"size": [
400,
224
],
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"yes",
"",
"",
""
]
}
],
"outputNode": {
"bounding": [
1970,
-3100,
120,
120
],
"id": -20
},
"outputs": [
{
"id": "9ea8ba71-7c41-477d-a5a8-38424adac1b7",
"linkIds": [
3390
],
"localized_name": "model",
"name": "model",
"pos": [
1990,
-3080
],
"type": "MODEL"
},
{
"id": "23287573-6e8e-4029-954d-4cbe200c93c2",
"linkIds": [
3391
],
"localized_name": "positive",
"name": "positive",
"pos": [
1990,
-3060
],
"type": "CONDITIONING"
},
{
"id": "fe5c76ab-06fd-4c19-8cce-3557fdb6b059",
"linkIds": [
3392
],
"localized_name": "negative",
"name": "negative",
"pos": [
1990,
-3040
],
"type": "CONDITIONING"
},
{
"id": "563fbec8-4b02-4d55-ad37-f6f6dc4a98a6",
"label": "mask",
"linkIds": [
3510
],
"name": "mask1",
"pos": [
1990,
-3020
],
"type": "*"
}
],
"revision": 0,
"state": {
"lastGroupId": 0,
"lastLinkId": 3527,
"lastNodeId": 1556,
"lastRerouteId": 0
},
"version": 1,
"widgets": []
},
{
"config": {},
"extra": {
"workflowRendererVersion": "LG"
},
"groups": [],
"id": "9952c8b4-3d8a-4d68-9645-f2aaba5a1a2a",
"inputNode": {
"bounding": [
-70,
-3140,
120,
180
],
"id": -10
},
"inputs": [
{
"id": "244c7a0a-ff73-4529-a102-bca09d36fbd2",
"linkIds": [
3358,
3481
],
"localized_name": "model",
"name": "model",
"pos": [
30,
-3120
],
"type": "MODEL"
},
{
"id": "a48416a5-38a5-4b6f-a50d-51a787f7028b",
"label": "clip",
"linkIds": [
3511,
3512,
3516,
3522,
3525
],
"name": "_5",
"pos": [
30,
-3100
],
"type": "*"
},
{
"id": "bc81e39e-a97e-4c05-b930-940c8c8480d1",
"label": "set mask",
"linkIds": [
3411
],
"name": "",
"pos": [
30,
-3080
],
"type": "*"
},
{
"id": "646f284e-5bc7-40b8-9602-5ad38f56d36d",
"label": "default text",
"linkIds": [
3382
],
"name": "_1",
"pos": [
30,
-3060
],
"type": "*"
},
{
"id": "22c354c5-2dd6-4bc2-8b1a-55b24ffecc93",
"label": "text A",
"linkIds": [
3383
],
"name": "_2",
"pos": [
30,
-3040
],
"type": "*"
},
{
"id": "38c59f03-8273-41e4-ad70-33f7bec6b66e",
"label": "text B",
"linkIds": [
3384
],
"name": "_3",
"pos": [
30,
-3020
],
"type": "*"
},
{
"id": "c2cba9f3-d4de-4e56-8d54-3a29b46225e8",
"label": "negative text",
"linkIds": [
3385
],
"name": "_4",
"pos": [
30,
-3000
],
"type": "*"
}
],
"links": [
{
"id": 3340,
"origin_id": 1511,
"origin_slot": 0,
"target_id": 1513,
"target_slot": 2,
"type": "MASK"
},
{
"id": 3345,
"origin_id": 1512,
"origin_slot": 0,
"target_id": 1515,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 3346,
"origin_id": 1512,
"origin_slot": 1,
"target_id": 1515,
"target_slot": 3,
"type": "CONDITIONING"
},
{
"id": 3347,
"origin_id": 1513,
"origin_slot": 0,
"target_id": 1515,
"target_slot": 6,
"type": "CONDITIONING"
},
{
"id": 3348,
"origin_id": 1513,
"origin_slot": 1,
"target_id": 1515,
"target_slot": 7,
"type": "CONDITIONING"
},
{
"id": 3354,
"origin_id": 1521,
"origin_slot": 0,
"target_id": 1518,
"target_slot": 0,
"type": "STRING"
},
{
"id": 3355,
"origin_id": 1523,
"origin_slot": 0,
"target_id": 1518,
"target_slot": 1,
"type": "STRING"
},
{
"id": 3356,
"origin_id": 1521,
"origin_slot": 0,
"target_id": 1519,
"target_slot": 0,
"type": "STRING"
},
{
"id": 3357,
"origin_id": 1520,
"origin_slot": 0,
"target_id": 1519,
"target_slot": 1,
"type": "STRING"
},
{
"id": 3358,
"origin_id": -10,
"origin_slot": 0,
"target_id": 1515,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 3382,
"origin_id": -10,
"origin_slot": 3,
"target_id": 1521,
"target_slot": 0,
"type": "*"
},
{
"id": 3383,
"origin_id": -10,
"origin_slot": 4,
"target_id": 1523,
"target_slot": 0,
"type": "*"
},
{
"id": 3384,
"origin_id": -10,
"origin_slot": 5,
"target_id": 1520,
"target_slot": 0,
"type": "*"
},
{
"id": 3385,
"origin_id": -10,
"origin_slot": 6,
"target_id": 1524,
"target_slot": 0,
"type": "*"
},
{
"id": 3390,
"origin_id": 1529,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "*"
},
{
"id": 3391,
"origin_id": 1528,
"origin_slot": 0,
"target_id": -20,
"target_slot": 1,
"type": "*"
},
{
"id": 3392,
"origin_id": 1530,
"origin_slot": 0,
"target_id": -20,
"target_slot": 2,
"type": "*"
},
{
"id": 3405,
"origin_id": 1532,
"origin_slot": 0,
"target_id": 1531,
"target_slot": 10,
"type": "STRING"
},
{
"id": 3411,
"origin_id": -10,
"origin_slot": 2,
"target_id": 1531,
"target_slot": 6,
"type": "*"
},
{
"id": 3436,
"origin_id": 1531,
"origin_slot": 5,
"target_id": 1537,
"target_slot": 0,
"type": "INT"
},
{
"id": 3475,
"origin_id": 1549,
"origin_slot": 0,
"target_id": 1530,
"target_slot": 2,
"type": "BOOLEAN"
},
{
"id": 3476,
"origin_id": 1549,
"origin_slot": 0,
"target_id": 1528,
"target_slot": 2,
"type": "BOOLEAN"
},
{
"id": 3477,
"origin_id": 1549,
"origin_slot": 0,
"target_id": 1529,
"target_slot": 2,
"type": "BOOLEAN"
},
{
"id": 3478,
"origin_id": 1515,
"origin_slot": 0,
"target_id": 1529,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 3479,
"origin_id": 1515,
"origin_slot": 1,
"target_id": 1528,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 3480,
"origin_id": 1515,
"origin_slot": 2,
"target_id": 1530,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 3481,
"origin_id": -10,
"origin_slot": 0,
"target_id": 1529,
"target_slot": 1,
"type": "*"
},
{
"id": 3499,
"origin_id": 1531,
"origin_slot": 2,
"target_id": 1549,
"target_slot": 0,
"type": "MASK"
},
{
"id": 3508,
"origin_id": 1531,
"origin_slot": 2,
"target_id": 1511,
"target_slot": 0,
"type": "MASK"
},
{
"id": 3509,
"origin_id": 1531,
"origin_slot": 2,
"target_id": 1512,
"target_slot": 2,
"type": "MASK"
},
{
"id": 3510,
"origin_id": 1531,
"origin_slot": 2,
"target_id": -20,
"target_slot": 3,
"type": "*"
},
{
"id": 3511,
"origin_id": -10,
"origin_slot": 1,
"target_id": 1515,
"target_slot": 1,
"type": "CLIP"
},
{
"id": 3512,
"origin_id": -10,
"origin_slot": 1,
"target_id": 1553,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 3513,
"origin_id": 1553,
"origin_slot": 0,
"target_id": 1515,
"target_slot": 4,
"type": "CONDITIONING"
},
{
"id": 3514,
"origin_id": 1553,
"origin_slot": 0,
"target_id": 1528,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 3515,
"origin_id": 1521,
"origin_slot": 0,
"target_id": 1553,
"target_slot": 1,
"type": "STRING"
},
{
"id": 3516,
"origin_id": -10,
"origin_slot": 1,
"target_id": 1554,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 3517,
"origin_id": 1554,
"origin_slot": 0,
"target_id": 1512,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 3518,
"origin_id": 1554,
"origin_slot": 0,
"target_id": 1513,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 3519,
"origin_id": 1554,
"origin_slot": 0,
"target_id": 1515,
"target_slot": 5,
"type": "CONDITIONING"
},
{
"id": 3520,
"origin_id": 1554,
"origin_slot": 0,
"target_id": 1530,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 3521,
"origin_id": 1524,
"origin_slot": 0,
"target_id": 1554,
"target_slot": 1,
"type": "STRING"
},
{
"id": 3522,
"origin_id": -10,
"origin_slot": 1,
"target_id": 1555,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 3523,
"origin_id": 1555,
"origin_slot": 0,
"target_id": 1512,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 3524,
"origin_id": 1518,
"origin_slot": 0,
"target_id": 1555,
"target_slot": 1,
"type": "STRING"
},
{
"id": 3525,
"origin_id": -10,
"origin_slot": 1,
"target_id": 1556,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 3526,
"origin_id": 1556,
"origin_slot": 0,
"target_id": 1513,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 3527,
"origin_id": 1519,
"origin_slot": 0,
"target_id": 1556,
"target_slot": 1,
"type": "STRING"
}
],
"name": "Area Conditioning",
"nodes": [
{
"flags": {},
"id": 1523,
"inputs": [
{
"link": 3383,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 9,
"outputs": [
{
"links": [
3355
],
"name": "STRING",
"type": "*"
}
],
"pos": [
190,
-3050
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
90.4,
26
],
"title": "Text A",
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1512,
"inputs": [
{
"link": 3523,
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 3517,
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 3509,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 2,
"outputs": [
{
"links": [
3345
],
"localized_name": "region_positive",
"name": "region_positive",
"type": "CONDITIONING"
},
{
"links": [
3346
],
"localized_name": "region_negative",
"name": "region_negative",
"type": "CONDITIONING"
}
],
"pos": [
1070,
-3250
],
"properties": {
"Node name for S&R": "MaskedRegionCond",
"aux_id": "tumbowungus/MultiMaskCouple",
"ver": "1d98d0b5a79665c47bc7fdb0a110c428fa668fc6"
},
"size": [
270,
122
],
"type": "MaskedRegionCond",
"widgets_values": [
1,
1
]
},
{
"flags": {
"collapsed": true
},
"id": 1549,
"inputs": [
{
"link": 3499,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 15,
"outputs": [
{
"links": [
3475,
3476,
3477
],
"localized_name": "boolean",
"name": "boolean",
"type": "BOOLEAN"
}
],
"pos": [
1330,
-2670
],
"properties": {
"Node name for S&R": "easy isMaskEmpty",
"cnr_id": "comfyui-easy-use",
"ver": "1.3.5"
},
"size": [
140,
26
],
"type": "easy isMaskEmpty",
"widgets_values": []
},
{
"flags": {},
"id": 1520,
"inputs": [
{
"link": 3384,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 7,
"outputs": [
{
"links": [
3357
],
"name": "STRING",
"type": "*"
}
],
"pos": [
190,
-3020
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
90.4,
26
],
"title": "Text B",
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1513,
"inputs": [
{
"link": 3526,
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 3518,
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 3340,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 3,
"outputs": [
{
"links": [
3347
],
"localized_name": "region_positive",
"name": "region_positive",
"type": "CONDITIONING"
},
{
"links": [
3348
],
"localized_name": "region_negative",
"name": "region_negative",
"type": "CONDITIONING"
}
],
"pos": [
1080,
-3160
],
"properties": {
"Node name for S&R": "MaskedRegionCond",
"aux_id": "tumbowungus/MultiMaskCouple",
"ver": "1d98d0b5a79665c47bc7fdb0a110c428fa668fc6"
},
"size": [
270,
114
],
"type": "MaskedRegionCond",
"widgets_values": [
1,
1
]
},
{
"flags": {
"collapsed": true
},
"id": 1529,
"inputs": [
{
"link": 3478,
"localized_name": "on_false",
"name": "on_false",
"type": "*"
},
{
"link": 3481,
"localized_name": "on_true",
"name": "on_true",
"type": "*"
},
{
"link": 3477,
"localized_name": "switch",
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
}
}
],
"mode": 0,
"order": 12,
"outputs": [
{
"links": [
3390
],
"localized_name": "*",
"name": "*",
"type": "*"
}
],
"pos": [
1610,
-3310
],
"properties": {
"Node name for S&R": "LazySwitchKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.6"
},
"size": [
270,
78
],
"type": "LazySwitchKJ",
"widgets_values": [
false
]
},
{
"flags": {
"collapsed": true
},
"id": 1528,
"inputs": [
{
"link": 3479,
"localized_name": "on_false",
"name": "on_false",
"type": "*"
},
{
"link": 3514,
"localized_name": "on_true",
"name": "on_true",
"type": "*"
},
{
"link": 3476,
"localized_name": "switch",
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
}
}
],
"mode": 0,
"order": 11,
"outputs": [
{
"links": [
3391
],
"localized_name": "*",
"name": "*",
"type": "*"
}
],
"pos": [
1610,
-3260
],
"properties": {
"Node name for S&R": "LazySwitchKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.6"
},
"size": [
270,
78
],
"type": "LazySwitchKJ",
"widgets_values": [
false
]
},
{
"flags": {
"collapsed": true
},
"id": 1530,
"inputs": [
{
"link": 3480,
"localized_name": "on_false",
"name": "on_false",
"type": "*"
},
{
"link": 3520,
"localized_name": "on_true",
"name": "on_true",
"type": "*"
},
{
"link": 3475,
"localized_name": "switch",
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
}
}
],
"mode": 0,
"order": 13,
"outputs": [
{
"links": [
3392
],
"localized_name": "*",
"name": "*",
"type": "*"
}
],
"pos": [
1610,
-3210
],
"properties": {
"Node name for S&R": "LazySwitchKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.6"
},
"size": [
270,
80
],
"type": "LazySwitchKJ",
"widgets_values": [
false
]
},
{
"flags": {
"collapsed": true
},
"id": 1511,
"inputs": [
{
"link": 3508,
"localized_name": "mask",
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 1,
"outputs": [
{
"links": [
3340
],
"localized_name": "MASK",
"name": "MASK",
"type": "MASK"
}
],
"pos": [
920,
-3110
],
"properties": {
"Node name for S&R": "InvertMask",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"size": [
140,
30
],
"type": "InvertMask",
"widgets_values": []
},
{
"flags": {
"collapsed": true
},
"id": 1531,
"inputs": [
{
"link": null,
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "mask1",
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "mask2",
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"localized_name": "list1",
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "dict1",
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": 3411,
"localized_name": "any1",
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any2",
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any3",
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"localized_name": "any4",
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 3405,
"localized_name": "raw_code",
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
}
],
"mode": 0,
"order": 14,
"outputs": [
{
"links": null,
"localized_name": "image1",
"name": "image1",
"type": "*"
},
{
"links": null,
"localized_name": "image2",
"name": "image2",
"type": "*"
},
{
"links": [
3499,
3508,
3509,
3510
],
"localized_name": "mask1",
"name": "mask1",
"type": "*"
},
{
"links": null,
"localized_name": "mask2",
"name": "mask2",
"type": "*"
},
{
"links": [],
"localized_name": "number1",
"name": "number1",
"type": "*"
},
{
"links": [
3436
],
"localized_name": "number2",
"name": "number2",
"type": "*"
},
{
"links": [],
"localized_name": "text1",
"name": "text1",
"type": "*"
},
{
"links": [],
"localized_name": "text2",
"name": "text2",
"type": "*"
},
{
"links": null,
"localized_name": "list1",
"name": "list1",
"type": "*"
},
{
"links": null,
"localized_name": "dict1",
"name": "dict1",
"type": "*"
},
{
"links": [],
"localized_name": "any1",
"name": "any1",
"type": "*"
},
{
"links": [],
"localized_name": "any2",
"name": "any2",
"type": "*"
},
{
"links": null,
"localized_name": "any3",
"name": "any3",
"type": "*"
},
{
"links": null,
"localized_name": "any4",
"name": "any4",
"type": "*"
}
],
"pos": [
190,
-2750
],
"properties": {
"cnr_id": "python-interpreter-node",
"ver": "2.1.0"
},
"size": [
270,
546
],
"type": "Exec Python Code Script",
"widgets_values": [
"",
0,
0,
"hello",
"world",
true,
""
]
},
{
"flags": {
"collapsed": false
},
"id": 1532,
"inputs": [],
"mode": 0,
"order": 0,
"outputs": [
{
"links": [
3405
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-410,
-2760
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
490,
590
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"import torch\n\n# 1. Setup\nwidth, height = 512, 512\nres = torch.zeros((1, height, width), dtype=torch.float32)\n\n# Clean up input\nraw_input = any1.strip() if (any1 and any1.strip()) else \"\"\n\nif raw_input:\n try:\n # Check for global inversion (starting with -)\n is_globally_inverted = raw_input.startswith(\"-\")\n clean_input = raw_input.lstrip(\"-\").strip()\n \n # 2. Parse into a 2D Grid\n # Split by lines for rows, then by spaces for columns\n grid = []\n for line in clean_input.split('\\n'):\n if line.strip():\n row = [float(x) for x in line.split()]\n grid.append(row)\n \n if grid:\n num_rows = len(grid)\n current_y = 0\n \n for r_idx, row in enumerate(grid):\n num_cols = len(row)\n # Calculate height for this specific row\n seg_h = int(height / num_rows) if r_idx < num_rows - 1 else height - current_y\n \n current_x = 0\n for c_idx, val in enumerate(row):\n # Calculate width for this specific column\n seg_w = int(width / num_cols) if c_idx < num_cols - 1 else width - current_x\n \n # Fill the segment with the value (0 or 1)\n # We use abs(val) to handle negative numbers if they exist inside the grid\n res[:, current_y : current_y + seg_h, current_x : current_x + seg_w] = float(val)\n \n current_x += seg_w\n current_y += seg_h\n\n # 3. Final Inversion\n if is_globally_inverted:\n res = 1.0 - res\n \n except Exception:\n # Fallback to black mask on error\n res = torch.zeros((1, height, width), dtype=torch.float32)\n\n# 4. Output\nmask1.to(res)"
]
},
{
"flags": {},
"id": 1521,
"inputs": [
{
"link": 3382,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 8,
"outputs": [
{
"links": [
3354,
3356,
3515
],
"name": "STRING",
"type": "*"
}
],
"pos": [
190,
-2990
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
90.4,
26
],
"title": "Default Text",
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1553,
"inputs": [
{
"link": 3512,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 3515,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"mode": 0,
"order": 16,
"outputs": [
{
"links": [
3513,
3514
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
510,
-3630
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.12.0"
},
"size": [
400,
200
],
"type": "CLIPTextEncode",
"widgets_values": [
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1554,
"inputs": [
{
"link": 3516,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 3521,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"mode": 0,
"order": 17,
"outputs": [
{
"links": [
3517,
3518,
3519,
3520
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
510,
-3570
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.12.0"
},
"size": [
400,
200
],
"type": "CLIPTextEncode",
"widgets_values": [
""
]
},
{
"flags": {},
"id": 1524,
"inputs": [
{
"link": 3385,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 10,
"outputs": [
{
"links": [
3521
],
"name": "STRING",
"type": "*"
}
],
"pos": [
240,
-3580
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
90.4,
26
],
"title": "Text A",
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1518,
"inputs": [
{
"link": 3354,
"localized_name": "text_a",
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": 3355,
"localized_name": "text_b",
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
}
],
"mode": 0,
"order": 5,
"outputs": [
{
"links": [
3524
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
380,
-3020
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5"
},
"size": [
400,
224
],
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"yes",
"",
"",
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1555,
"inputs": [
{
"link": 3522,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 3524,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"mode": 0,
"order": 18,
"outputs": [
{
"links": [
3523
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
510,
-3520
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.12.0"
},
"size": [
400,
200
],
"type": "CLIPTextEncode",
"widgets_values": [
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1556,
"inputs": [
{
"link": 3525,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 3527,
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"mode": 0,
"order": 19,
"outputs": [
{
"links": [
3526
],
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
520,
-3470
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.12.0"
},
"size": [
400,
200
],
"type": "CLIPTextEncode",
"widgets_values": [
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1519,
"inputs": [
{
"link": 3356,
"localized_name": "text_a",
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": 3357,
"localized_name": "text_b",
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
}
],
"mode": 0,
"order": 6,
"outputs": [
{
"links": [
3527
],
"localized_name": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"pos": [
380,
-2960
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5"
},
"size": [
400,
224
],
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"yes",
"",
"",
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1515,
"inputs": [
{
"link": 3358,
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"link": 3511,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 3345,
"localized_name": "region_1_positive",
"name": "region_1_positive",
"type": "CONDITIONING"
},
{
"link": 3346,
"localized_name": "region_1_negative",
"name": "region_1_negative",
"type": "CONDITIONING"
},
{
"link": 3513,
"localized_name": "default_positive",
"name": "default_positive",
"type": "CONDITIONING"
},
{
"link": 3519,
"localized_name": "default_negative",
"name": "default_negative",
"type": "CONDITIONING"
},
{
"link": 3347,
"name": "region_2_positive",
"type": "CONDITIONING"
},
{
"link": 3348,
"name": "region_2_negative",
"type": "CONDITIONING"
}
],
"mode": 0,
"order": 4,
"outputs": [
{
"links": [
3441,
3478
],
"localized_name": "model",
"name": "model",
"type": "MODEL"
},
{
"links": [
3479
],
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING"
},
{
"links": [
3480
],
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING"
}
],
"pos": [
1290,
-3460
],
"properties": {
"Node name for S&R": "MultiMaskCouple",
"aux_id": "tumbowungus/MultiMaskCouple",
"ver": "1d98d0b5a79665c47bc7fdb0a110c428fa668fc6"
},
"size": [
250,
198
],
"type": "MultiMaskCouple",
"widgets_values": [
2
]
}
],
"outputNode": {
"bounding": [
1970,
-3100,
120,
120
],
"id": -20
},
"outputs": [
{
"id": "9ea8ba71-7c41-477d-a5a8-38424adac1b7",
"linkIds": [
3390
],
"localized_name": "model",
"name": "model",
"pos": [
1990,
-3080
],
"type": "MODEL"
},
{
"id": "23287573-6e8e-4029-954d-4cbe200c93c2",
"linkIds": [
3391
],
"localized_name": "positive",
"name": "positive",
"pos": [
1990,
-3060
],
"type": "CONDITIONING"
},
{
"id": "fe5c76ab-06fd-4c19-8cce-3557fdb6b059",
"linkIds": [
3392
],
"localized_name": "negative",
"name": "negative",
"pos": [
1990,
-3040
],
"type": "CONDITIONING"
},
{
"id": "563fbec8-4b02-4d55-ad37-f6f6dc4a98a6",
"label": "mask",
"linkIds": [
3510
],
"name": "mask1",
"pos": [
1990,
-3020
],
"type": "*"
}
],
"revision": 0,
"state": {
"lastGroupId": 0,
"lastLinkId": 3527,
"lastNodeId": 1556,
"lastRerouteId": 0
},
"version": 1,
"widgets": []
}
]
},
"extra": {
"VHS_KeepIntermediate": true,
"VHS_MetadataImage": true,
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"ds": {
"offset": [
-2910.6386639388343,
-1020.4372728821045
],
"scale": 1.4864362802414381
},
"frontendVersion": "1.37.11",
"workflowRendererVersion": "LG"
},
"groups": [],
"id": "9599e818-92f1-4bab-adf1-d6582298555c",
"last_link_id": 3573,
"last_node_id": 1601,
"links": [
[
11,
7,
0,
8,
0,
"CONDITIONING"
],
[
12,
6,
0,
8,
1,
"CONDITIONING"
],
[
109,
33,
0,
78,
0,
"CONDITIONING"
],
[
110,
31,
0,
78,
1,
"CONDITIONING"
],
[
215,
48,
0,
157,
1,
"CLIP"
],
[
218,
157,
1,
122,
0,
"*"
],
[
234,
164,
0,
127,
0,
"STRING"
],
[
253,
157,
2,
170,
0,
"string"
],
[
254,
170,
0,
161,
1,
"STRING"
],
[
263,
163,
2,
174,
0,
"string"
],
[
264,
174,
0,
164,
1,
"STRING"
],
[
339,
163,
1,
207,
0,
"*"
],
[
796,
132,
0,
424,
0,
"*"
],
[
908,
482,
0,
479,
3,
"IMAGE"
],
[
910,
479,
0,
480,
1,
"CONDITIONING"
],
[
911,
479,
1,
480,
2,
"CONDITIONING"
],
[
912,
479,
2,
480,
3,
"LATENT"
],
[
972,
499,
0,
497,
0,
"IMAGE"
],
[
975,
501,
0,
502,
0,
"*"
],
[
987,
480,
0,
509,
0,
"*"
],
[
988,
510,
0,
499,
0,
"LATENT"
],
[
1027,
482,
1,
479,
4,
"MASK"
],
[
1089,
559,
4,
466,
1,
"INT"
],
[
1090,
559,
4,
464,
1,
"INT"
],
[
1309,
207,
0,
657,
0,
"*"
],
[
1423,
482,
2,
497,
1,
"IMAGE"
],
[
1424,
482,
3,
497,
2,
"CROP_REGION"
],
[
1428,
702,
0,
479,
2,
"VAE"
],
[
1898,
908,
0,
3,
0,
"MASK"
],
[
1904,
896,
0,
907,
0,
"MASK"
],
[
1946,
930,
0,
931,
0,
"*"
],
[
1957,
559,
4,
930,
1,
"INT"
],
[
2026,
504,
0,
967,
1,
"VAE"
],
[
2044,
964,
0,
970,
4,
"FLOAT"
],
[
2079,
964,
0,
139,
5,
"FLOAT"
],
[
2092,
40,
0,
128,
0,
"MODEL"
],
[
2152,
3,
0,
6,
1,
"MASK"
],
[
2153,
3,
0,
7,
1,
"MASK"
],
[
2160,
908,
0,
995,
0,
"*"
],
[
2161,
995,
0,
33,
1,
"MASK"
],
[
2162,
995,
0,
31,
1,
"MASK"
],
[
2168,
997,
0,
78,
3,
"IMAGE"
],
[
2170,
998,
0,
8,
3,
"IMAGE"
],
[
2228,
482,
4,
1008,
3,
"IMAGE"
],
[
2229,
1008,
0,
479,
0,
"CONDITIONING"
],
[
2230,
1008,
1,
479,
1,
"CONDITIONING"
],
[
2234,
1010,
0,
1020,
0,
"*"
],
[
2235,
1020,
0,
1008,
1,
"CONDITIONING"
],
[
2250,
139,
0,
977,
0,
"LATENT"
],
[
2295,
425,
0,
139,
3,
"LATENT"
],
[
2307,
1056,
0,
127,
1,
"STRING"
],
[
2446,
731,
0,
161,
2,
"STRING"
],
[
2453,
1167,
0,
1055,
0,
"STRING"
],
[
2466,
1174,
0,
164,
0,
"STRING"
],
[
2468,
1176,
0,
161,
0,
"STRING"
],
[
2474,
1184,
0,
127,
2,
"STRING"
],
[
2480,
1197,
0,
900,
0,
"IMAGE"
],
[
2483,
932,
0,
1197,
0,
"IMAGE"
],
[
2487,
1198,
0,
1199,
0,
"MASK"
],
[
2489,
1199,
0,
897,
0,
"MASK"
],
[
2490,
897,
0,
1200,
0,
"MASK"
],
[
2492,
1200,
0,
896,
0,
"MASK"
],
[
2493,
8,
0,
1201,
0,
"CONDITIONING"
],
[
2497,
8,
1,
1202,
0,
"CONDITIONING"
],
[
2586,
915,
0,
1216,
0,
"*"
],
[
2644,
1233,
0,
482,
2,
"IMAGE"
],
[
2646,
1011,
0,
1233,
0,
"IMAGE"
],
[
2647,
1234,
0,
466,
0,
"IMAGE"
],
[
2648,
1234,
0,
464,
0,
"IMAGE"
],
[
2651,
1234,
0,
930,
0,
"IMAGE"
],
[
2658,
978,
0,
1238,
0,
"LATENT"
],
[
2659,
1239,
0,
1238,
1,
"VAE"
],
[
2662,
1241,
0,
970,
3,
"LATENT"
],
[
2663,
1239,
0,
1241,
1,
"VAE"
],
[
2666,
1175,
0,
559,
10,
"STRING"
],
[
2675,
82,
1,
919,
0,
"SEGM_DETECTOR"
],
[
2680,
199,
0,
163,
1,
"CLIP"
],
[
2745,
1274,
1,
1275,
0,
"SEGM_DETECTOR"
],
[
2754,
1278,
0,
887,
1,
"MASK"
],
[
2759,
919,
0,
1283,
0,
"MASK"
],
[
2761,
1283,
0,
1198,
1,
"MASK"
],
[
2762,
1278,
0,
1198,
0,
"MASK"
],
[
2766,
1275,
0,
1278,
1,
"MASK"
],
[
2767,
900,
0,
1278,
0,
"MASK"
],
[
2768,
1289,
0,
1288,
10,
"STRING"
],
[
2770,
1291,
0,
1288,
6,
"*"
],
[
2771,
1238,
0,
1288,
0,
"IMAGE"
],
[
2772,
1288,
0,
1241,
0,
"IMAGE"
],
[
2773,
1292,
0,
1294,
6,
"*"
],
[
2774,
1293,
0,
1294,
10,
"STRING"
],
[
2776,
1294,
0,
5,
0,
"IMAGE"
],
[
2777,
1296,
0,
1295,
10,
"STRING"
],
[
2792,
702,
0,
9,
1,
"VAE"
],
[
2891,
967,
0,
1323,
0,
"IMAGE"
],
[
2892,
1300,
0,
1246,
0,
"IMAGE"
],
[
2893,
82,
1,
1323,
8,
"SEGM_DETECTOR"
],
[
2894,
82,
0,
1323,
6,
"BBOX_DETECTOR"
],
[
2895,
504,
0,
1323,
3,
"VAE"
],
[
2916,
50,
0,
1351,
0,
"CONTROL_NET"
],
[
2917,
1351,
0,
78,
2,
"CONTROL_NET"
],
[
2918,
50,
0,
1352,
0,
"CONTROL_NET"
],
[
2919,
1352,
0,
8,
2,
"CONTROL_NET"
],
[
2929,
1354,
0,
1008,
2,
"CONTROL_NET"
],
[
2930,
1328,
0,
1355,
0,
"MODEL"
],
[
2931,
1355,
0,
1323,
1,
"MODEL"
],
[
2933,
1356,
0,
1357,
0,
"CONDITIONING"
],
[
2934,
1357,
0,
1323,
4,
"CONDITIONING"
],
[
2936,
1358,
0,
1359,
0,
"CONDITIONING"
],
[
2937,
1359,
0,
1323,
5,
"CONDITIONING"
],
[
2942,
1361,
0,
1323,
2,
"CLIP"
],
[
2990,
466,
0,
1379,
0,
"IMAGE"
],
[
2991,
1379,
0,
998,
0,
"IMAGE"
],
[
2994,
464,
0,
1381,
0,
"IMAGE"
],
[
2995,
1381,
0,
997,
0,
"IMAGE"
],
[
2998,
1295,
6,
1382,
2,
"COMBO"
],
[
3000,
1382,
1,
1199,
1,
"MASK"
],
[
3004,
896,
0,
1384,
0,
"MASK"
],
[
3007,
410,
0,
1387,
0,
"IMAGE"
],
[
3008,
1042,
0,
1388,
0,
"IMAGE"
],
[
3009,
1389,
0,
482,
0,
"IMAGE"
],
[
3010,
1389,
1,
482,
1,
"MASK"
],
[
3011,
482,
2,
1390,
0,
"IMAGE"
],
[
3012,
482,
4,
1391,
0,
"IMAGE"
],
[
3013,
1383,
1,
1200,
1,
"MASK"
],
[
3028,
163,
0,
40,
0,
"MODEL"
],
[
3047,
78,
0,
1201,
1,
"CONDITIONING"
],
[
3048,
78,
1,
1202,
1,
"CONDITIONING"
],
[
3092,
50,
0,
1415,
0,
"CONTROL_NET"
],
[
3095,
1417,
0,
482,
3,
"BOOLEAN"
],
[
3105,
1250,
0,
163,
0,
"MODEL"
],
[
3106,
1250,
1,
199,
0,
"CLIP"
],
[
3114,
1295,
6,
1426,
0,
"*"
],
[
3115,
1426,
0,
1427,
0,
"*"
],
[
3116,
1427,
0,
1383,
2,
"COMBO"
],
[
3117,
887,
0,
1428,
0,
"IMAGE"
],
[
3118,
1428,
0,
1429,
0,
"IMAGE"
],
[
3119,
1429,
0,
1383,
0,
"IMAGE"
],
[
3123,
1430,
0,
887,
0,
"IMAGE"
],
[
3124,
1431,
0,
973,
0,
"IMAGE"
],
[
3125,
1323,
0,
1431,
1,
"IMAGE"
],
[
3126,
967,
0,
1431,
0,
"IMAGE"
],
[
3129,
970,
0,
1433,
1,
"LATENT"
],
[
3130,
139,
0,
1433,
0,
"LATENT"
],
[
3131,
1433,
0,
967,
0,
"LATENT"
],
[
3135,
1434,
0,
1378,
0,
"IMAGE"
],
[
3137,
916,
0,
1435,
2,
"BOOLEAN"
],
[
3139,
1009,
0,
1435,
0,
"CONDITIONING"
],
[
3140,
1435,
0,
1436,
0,
"*"
],
[
3141,
1436,
0,
1008,
0,
"CONDITIONING"
],
[
3142,
1430,
0,
1295,
0,
"IMAGE"
],
[
3143,
1023,
0,
1437,
0,
"BOOLEAN"
],
[
3144,
1437,
0,
1433,
2,
"BOOLEAN"
],
[
3149,
880,
0,
1246,
1,
"BOOLEAN"
],
[
3153,
1246,
0,
1442,
0,
"IMAGE"
],
[
3154,
1442,
1,
1197,
3,
"INT"
],
[
3155,
1442,
0,
1197,
2,
"INT"
],
[
3158,
1234,
0,
1294,
0,
"IMAGE"
],
[
3164,
1246,
0,
1444,
0,
"IMAGE"
],
[
3165,
1444,
0,
919,
1,
"IMAGE"
],
[
3166,
1444,
0,
1275,
1,
"IMAGE"
],
[
3167,
1444,
0,
1430,
0,
"IMAGE"
],
[
3168,
1444,
0,
559,
0,
"IMAGE"
],
[
3169,
1444,
0,
1234,
0,
"IMAGE"
],
[
3170,
1445,
0,
1382,
1,
"BOOLEAN"
],
[
3172,
1242,
0,
1383,
1,
"BOOLEAN"
],
[
3174,
887,
0,
1382,
0,
"IMAGE"
],
[
3175,
1337,
0,
1431,
2,
"BOOLEAN"
],
[
3181,
1448,
0,
1446,
0,
"IMAGE"
],
[
3182,
9,
0,
1446,
1,
"IMAGE"
],
[
3188,
1452,
0,
1451,
2,
"BOOLEAN"
],
[
3189,
9,
0,
1451,
0,
"IMAGE"
],
[
3190,
1446,
0,
1451,
1,
"IMAGE"
],
[
3191,
1451,
0,
1434,
0,
"*"
],
[
3192,
1400,
0,
1453,
0,
"MODEL"
],
[
3193,
5,
0,
1453,
3,
"LATENT"
],
[
3195,
1201,
0,
1453,
1,
"CONDITIONING"
],
[
3196,
1202,
0,
1453,
2,
"CONDITIONING"
],
[
3197,
1454,
0,
9,
0,
"LATENT"
],
[
3198,
1400,
0,
1454,
0,
"MODEL"
],
[
3199,
1201,
0,
1454,
1,
"CONDITIONING"
],
[
3200,
1202,
0,
1454,
2,
"CONDITIONING"
],
[
3201,
1453,
0,
1454,
3,
"LATENT"
],
[
3202,
1456,
0,
1453,
5,
"INT"
],
[
3203,
1456,
0,
1454,
6,
"INT"
],
[
3204,
1457,
0,
1454,
4,
"INT"
],
[
3205,
1457,
0,
1454,
7,
"INT"
],
[
3206,
1457,
0,
1453,
4,
"INT"
],
[
3207,
1458,
0,
1454,
5,
"FLOAT"
],
[
3208,
1458,
0,
1453,
6,
"FLOAT"
],
[
3380,
122,
0,
1527,
1,
"CLIP"
],
[
3381,
161,
0,
1527,
3,
"STRING"
],
[
3382,
1177,
0,
1527,
6,
"STRING"
],
[
3383,
1399,
0,
1527,
0,
"MODEL"
],
[
3387,
1527,
0,
139,
0,
"MODEL"
],
[
3388,
1527,
0,
1328,
0,
"MODEL"
],
[
3389,
1527,
1,
139,
1,
"CONDITIONING"
],
[
3390,
1527,
2,
139,
2,
"CONDITIONING"
],
[
3392,
1527,
1,
1356,
0,
"CONDITIONING"
],
[
3394,
1527,
2,
1358,
0,
"CONDITIONING"
],
[
3419,
1527,
1,
970,
1,
"CONDITIONING"
],
[
3420,
1527,
2,
970,
2,
"CONDITIONING"
],
[
3421,
1527,
0,
970,
0,
"MODEL"
],
[
3423,
157,
0,
1399,
0,
"MODEL"
],
[
3434,
423,
0,
139,
4,
"INT"
],
[
3435,
1540,
0,
422,
0,
"INT"
],
[
3437,
122,
0,
1361,
0,
"CLIP"
],
[
3451,
170,
0,
1554,
0,
"STRING"
],
[
3468,
1558,
0,
480,
0,
"MODEL"
],
[
3471,
1542,
0,
1559,
0,
"STRING"
],
[
3473,
1468,
0,
1561,
0,
"STRING"
],
[
3475,
1490,
0,
1563,
0,
"STRING"
],
[
3477,
1561,
0,
1527,
4,
"*"
],
[
3478,
1559,
0,
1527,
2,
"*"
],
[
3479,
1563,
0,
1527,
5,
"*"
],
[
3480,
497,
0,
1434,
1,
"IMAGE"
],
[
3481,
1216,
0,
1434,
2,
"BOOLEAN"
],
[
3482,
1415,
0,
1354,
0,
"CONTROL_NET"
],
[
3490,
1568,
0,
1558,
0,
"MODEL"
],
[
3491,
128,
0,
1568,
0,
"MODEL"
],
[
3496,
1574,
0,
5,
1,
"VAE"
],
[
3497,
1575,
0,
702,
0,
"VAE"
],
[
3498,
1575,
0,
499,
1,
"VAE"
],
[
3499,
1577,
1,
1579,
0,
"CLIP"
],
[
3500,
1578,
1,
1579,
1,
"CLIP"
],
[
3501,
1577,
0,
1580,
0,
"MODEL"
],
[
3502,
1578,
0,
1580,
1,
"MODEL"
],
[
3509,
1582,
0,
1583,
0,
"UPSCALE_MODEL"
],
[
3511,
1583,
0,
1584,
0,
"IMAGE"
],
[
3512,
1584,
0,
1585,
0,
"IMAGE"
],
[
3517,
1434,
0,
1591,
0,
"*"
],
[
3518,
1591,
0,
1583,
1,
"IMAGE"
],
[
3519,
1592,
0,
1591,
1,
"BOOLEAN"
],
[
3536,
1527,
3,
1596,
0,
"MASK"
],
[
3537,
1580,
0,
157,
0,
"MODEL"
],
[
3538,
1579,
0,
48,
0,
"CLIP"
],
[
3551,
1598,
0,
1400,
0,
"MODEL"
],
[
3552,
1598,
1,
7,
0,
"CONDITIONING"
],
[
3553,
1598,
1,
33,
0,
"CONDITIONING"
],
[
3554,
1598,
2,
6,
0,
"CONDITIONING"
],
[
3555,
1598,
2,
31,
0,
"CONDITIONING"
],
[
3556,
128,
0,
1598,
0,
"MODEL"
],
[
3557,
207,
0,
1598,
1,
"CLIP"
],
[
3558,
1560,
0,
1598,
2,
"STRING"
],
[
3559,
127,
0,
1598,
3,
"STRING"
],
[
3560,
1562,
0,
1598,
4,
"STRING"
],
[
3561,
1564,
0,
1598,
5,
"STRING"
],
[
3562,
1557,
0,
1598,
6,
"STRING"
],
[
3563,
207,
0,
1599,
0,
"CLIP"
],
[
3564,
1599,
0,
1009,
0,
"CONDITIONING"
],
[
3565,
127,
0,
1599,
1,
"STRING"
],
[
3566,
207,
0,
1600,
0,
"CLIP"
],
[
3567,
1557,
0,
1600,
1,
"STRING"
],
[
3568,
1600,
0,
1010,
0,
"CONDITIONING"
],
[
3569,
657,
0,
1601,
0,
"CLIP"
],
[
3570,
1185,
0,
1601,
1,
"STRING"
],
[
3571,
1601,
0,
1435,
1,
"CONDITIONING"
],
[
3573,
1250,
2,
1571,
0,
"VAE"
]
],
"nodes": [
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": true
},
"id": 7,
"inputs": [
{
"link": 3552,
"name": "conditioning",
"type": "CONDITIONING"
},
{
"link": 2153,
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 168,
"outputs": [
{
"links": [
11
],
"name": "CONDITIONING",
"slot_index": 0,
"type": "CONDITIONING"
}
],
"pos": [
1370,
260
],
"properties": {
"Node name for S&R": "ConditioningSetMask",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
290,
102
],
"title": "Set mask",
"type": "ConditioningSetMask",
"widgets_values": [
1,
"default"
]
},
{
"flags": {
"collapsed": true
},
"id": 1241,
"inputs": [
{
"link": 2772,
"name": "pixels",
"type": "IMAGE"
},
{
"link": 2663,
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"order": 110,
"outputs": [
{
"links": [
2662
],
"name": "LATENT",
"type": "LATENT"
}
],
"pos": [
-640,
-70
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.59"
},
"size": [
140,
46
],
"type": "VAEEncode",
"widgets_values": []
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": true
},
"id": 978,
"inputs": [],
"mode": 0,
"order": 0,
"outputs": [
{
"links": [
2658
],
"name": "LATENT",
"type": "LATENT"
}
],
"pos": [
-1150,
-30
],
"properties": {},
"size": [
210,
60
],
"title": "Get_latent_0",
"type": "GetNode",
"widgets_values": [
"latent_0"
]
},
{
"flags": {
"collapsed": true
},
"id": 1238,
"inputs": [
{
"link": 2658,
"name": "samples",
"type": "LATENT"
},
{
"link": 2659,
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"order": 84,
"outputs": [
{
"links": [
2771
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
-990,
-40
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.59"
},
"size": [
140,
46
],
"type": "VAEDecode",
"widgets_values": []
},
{
"flags": {
"collapsed": true
},
"id": 1288,
"inputs": [
{
"link": 2771,
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": 2770,
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 2768,
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
}
],
"mode": 0,
"order": 104,
"outputs": [
{
"links": [
2772
],
"name": "image1",
"type": "*"
},
{
"links": null,
"name": "image2",
"type": "*"
},
{
"links": null,
"name": "mask1",
"type": "*"
},
{
"links": null,
"name": "mask2",
"type": "*"
},
{
"links": [],
"name": "number1",
"type": "*"
},
{
"links": [],
"name": "number2",
"type": "*"
},
{
"links": [],
"name": "text1",
"type": "*"
},
{
"links": null,
"name": "text2",
"type": "*"
},
{
"links": null,
"name": "list1",
"type": "*"
},
{
"links": null,
"name": "dict1",
"type": "*"
},
{
"links": null,
"name": "any1",
"type": "*"
},
{
"links": null,
"name": "any2",
"type": "*"
},
{
"links": null,
"name": "any3",
"type": "*"
},
{
"links": null,
"name": "any4",
"type": "*"
}
],
"pos": [
-830,
-40
],
"properties": {
"Node name for S&R": "Exec Python Code Script",
"cnr_id": "python-interpreter-node",
"ver": "2.1.0"
},
"size": [
290,
790
],
"title": "Upscale to a bucket",
"type": "Exec Python Code Script",
"widgets_values": [
"import numpy as np # Extract image tensor, assuming it's a batched Torch tensor img = image1.data[0] # remove batch dimension # Get shape: height and width height, width = img.shape[:2] # Pick smaller side smaller = min(height, width) # Set output text1.to(str(smaller)) # For debugging print(f\"Fixed image shape: {img.shape}\") print(f\"Smaller side: {smaller}\")",
0,
0,
"hello",
"world",
true
]
},
{
"flags": {},
"id": 1291,
"inputs": [],
"mode": 0,
"order": 1,
"outputs": [
{
"links": [
2770
],
"name": "FLOAT",
"type": "FLOAT"
}
],
"pos": [
-1070,
40
],
"properties": {
"Node name for S&R": "PrimitiveFloat",
"cnr_id": "comfy-core",
"ver": "0.3.68"
},
"size": [
210,
58
],
"title": "Upscale by",
"type": "PrimitiveFloat",
"widgets_values": [
1.5
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1262,
"inputs": [],
"mode": 0,
"order": 2,
"outputs": [],
"pos": [
-1530,
-1270
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"anthro, snow_leopard, female, long grey hair, blue eyes, sitting on couch, messy stretched grey t-shirt, nipple outline, boxers, bulge, messy dorm room, smirk, pulls down the boxers, half erect, foreskin, upward view, (crotch focus:1.2), precum"
]
},
{
"bgcolor": "#1f401b",
"color": "#1c5715",
"flags": {
"collapsed": true
},
"id": 907,
"inputs": [
{
"link": 1904,
"name": "MASK",
"type": "MASK"
}
],
"mode": 0,
"order": 202,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
2140,
-890
],
"properties": {
"previousName": "Mask"
},
"size": [
210,
60
],
"title": "Set_Mask",
"type": "SetNode",
"widgets_values": [
"Mask"
]
},
{
"flags": {},
"id": 1379,
"inputs": [
{
"link": 2990,
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 147,
"outputs": [
{
"links": [
2991
],
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": null,
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1010,
-170
],
"properties": {
"Node name for S&R": "PreviewBridge",
"cnr_id": "comfyui-impact-pack",
"ver": "8.28.1"
},
"size": [
240,
350
],
"type": "PreviewBridge",
"widgets_values": [
"$1379-0",
false,
"never"
]
},
{
"flags": {
"pinned": true
},
"id": 1384,
"inputs": [
{
"link": 3004,
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 203,
"outputs": [],
"pos": [
2140,
-850
],
"properties": {
"Node name for S&R": "MaskPreview",
"cnr_id": "comfy-core",
"ver": "0.6.0"
},
"size": [
560,
560
],
"type": "MaskPreview",
"widgets_values": []
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1243,
"inputs": [],
"mode": 0,
"order": 3,
"outputs": [],
"pos": [
-1710,
-1270
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"solo, anthro, lynx, male, femboy, from behind, looking back, over-the-shoulder, lifting own clothes, flustered, embarrassed blush, (black fur, black body:1.4), very long hair, hair over one eye, yellow eyes, round glasses, collar, sheer white babydoll nightgown, white translucent thighhighs, bottomless, presenting hindquarters, detailed butt, cozy bedroom, soft morning light, sunbeam, detailed background"
]
},
{
"flags": {},
"id": 1361,
"inputs": [
{
"link": 3437,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 138,
"outputs": [
{
"links": [
2942
],
"name": "",
"type": "CLIP"
}
],
"pos": [
40,
-740
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 896,
"inputs": [
{
"link": 2492,
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 198,
"outputs": [
{
"links": [
1904,
3004
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1990,
-860
],
"properties": {
"Node name for S&R": "ImpactGaussianBlurMask",
"cnr_id": "comfyui-impact-pack",
"ver": "8.17.1"
},
"size": [
210,
82
],
"title": "Blur Mask",
"type": "ImpactGaussianBlurMask",
"widgets_values": [
5,
10
]
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {
"collapsed": true
},
"id": 6,
"inputs": [
{
"link": 3554,
"name": "conditioning",
"type": "CONDITIONING"
},
{
"link": 2152,
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 170,
"outputs": [
{
"links": [
12
],
"name": "CONDITIONING",
"slot_index": 0,
"type": "CONDITIONING"
}
],
"pos": [
1370,
300
],
"properties": {
"Node name for S&R": "ConditioningSetMask",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
290,
102
],
"title": "Set mask",
"type": "ConditioningSetMask",
"widgets_values": [
1,
"default"
]
},
{
"bgcolor": "#1f401b",
"color": "#1c5715",
"flags": {
"collapsed": true
},
"id": 908,
"inputs": [],
"mode": 0,
"order": 4,
"outputs": [
{
"links": [
1898,
2160
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1010,
300
],
"properties": {},
"size": [
210,
60
],
"title": "Get_Mask",
"type": "GetNode",
"widgets_values": [
"Mask"
]
},
{
"flags": {
"collapsed": true
},
"id": 1200,
"inputs": [
{
"link": 2490,
"name": "destination",
"type": "MASK"
},
{
"link": 3013,
"name": "source",
"type": "MASK"
}
],
"mode": 0,
"order": 194,
"outputs": [
{
"links": [
2492
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1810,
-860
],
"properties": {
"Node name for S&R": "MaskComposite",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
270,
126
],
"type": "MaskComposite",
"widgets_values": [
0,
0,
"add"
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 50,
"inputs": [],
"mode": 0,
"order": 5,
"outputs": [
{
"links": [
2916,
2918,
3092
],
"name": "CONTROL_NET",
"slot_index": 0,
"type": "CONTROL_NET"
}
],
"pos": [
1060,
220
],
"properties": {
"Node name for S&R": "ControlNetLoader",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
330,
60
],
"type": "ControlNetLoader",
"widgets_values": [
"xinsircontrolnet-union-sdxl-10_promax.safetensors"
]
},
{
"flags": {},
"id": 998,
"inputs": [
{
"link": 2991,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 159,
"outputs": [
{
"links": [
2170
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
1410,
-20
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
82,
26
],
"type": "Reroute"
},
{
"flags": {},
"id": 1355,
"inputs": [
{
"link": 2930,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 175,
"outputs": [
{
"links": [
2931
],
"name": "",
"type": "MODEL"
}
],
"pos": [
40,
-840
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {},
"id": 970,
"inputs": [
{
"link": 3421,
"name": "model",
"type": "MODEL"
},
{
"link": 3419,
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 3420,
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 2662,
"name": "latent_image",
"type": "LATENT"
},
{
"link": 2044,
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
}
}
],
"mode": 0,
"order": 165,
"outputs": [
{
"links": [
3129
],
"name": "LATENT",
"slot_index": 0,
"type": "LATENT"
}
],
"pos": [
-430,
-160
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
270,
486
],
"type": "KSampler",
"widgets_values": [
1,
"fixed",
10,
4,
"euler_ancestral",
"beta",
0.30000000000000004
]
},
{
"flags": {},
"id": 1359,
"inputs": [
{
"link": 2936,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 178,
"outputs": [
{
"links": [
2937
],
"name": "",
"type": "CONDITIONING"
}
],
"pos": [
40,
-770
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {},
"id": 1358,
"inputs": [
{
"link": 3394,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 164,
"outputs": [
{
"links": [
2936
],
"name": "",
"type": "CONDITIONING"
}
],
"pos": [
-430,
-770
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"collapsed": true
},
"id": 1328,
"inputs": [
{
"link": 3388,
"name": "model",
"type": "MODEL"
}
],
"mode": 0,
"order": 161,
"outputs": [
{
"links": [
2930
],
"name": "MODEL",
"type": "MODEL"
}
],
"pos": [
-430,
-810
],
"properties": {
"Node name for S&R": "DifferentialDiffusion",
"cnr_id": "comfy-core",
"ver": "0.3.40"
},
"size": [
210,
50
],
"type": "DifferentialDiffusion",
"widgets_values": [
1
]
},
{
"flags": {
"collapsed": true
},
"id": 559,
"inputs": [
{
"link": 3168,
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 2666,
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
}
],
"mode": 0,
"order": 122,
"outputs": [
{
"links": null,
"name": "image1",
"type": "*"
},
{
"links": null,
"name": "image2",
"type": "*"
},
{
"links": null,
"name": "mask1",
"type": "*"
},
{
"links": null,
"name": "mask2",
"type": "*"
},
{
"links": [
1089,
1090,
1957
],
"name": "number1",
"type": "*"
},
{
"links": [],
"name": "number2",
"type": "*"
},
{
"links": [],
"name": "text1",
"type": "*"
},
{
"links": null,
"name": "text2",
"type": "*"
},
{
"links": null,
"name": "list1",
"type": "*"
},
{
"links": null,
"name": "dict1",
"type": "*"
},
{
"links": null,
"name": "any1",
"type": "*"
},
{
"links": null,
"name": "any2",
"type": "*"
},
{
"links": null,
"name": "any3",
"type": "*"
},
{
"links": null,
"name": "any4",
"type": "*"
}
],
"pos": [
410,
-150
],
"properties": {
"Node name for S&R": "Exec Python Code Script",
"cnr_id": "python-interpreter-node",
"ver": "2.1.0"
},
"size": [
290,
790
],
"type": "Exec Python Code Script",
"widgets_values": [
"import numpy as np # Extract image tensor, assuming it's a batched Torch tensor img = image1.data[0] # remove batch dimension # Get shape: height and width height, width = img.shape[:2] # Pick smaller side smaller = min(height, width) # Set output text1.to(str(smaller)) # For debugging print(f\"Fixed image shape: {img.shape}\") print(f\"Smaller side: {smaller}\")",
0,
0,
"hello",
"world",
true,
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1234,
"inputs": [
{
"link": 3169,
"name": "anything",
"type": "*"
}
],
"mode": 4,
"order": 123,
"outputs": [
{
"links": [
2647,
2648,
2651,
3158
],
"name": "output",
"type": "*"
}
],
"pos": [
410,
-210
],
"properties": {
"Node name for S&R": "easy cleanGpuUsed",
"cnr_id": "comfyui-easy-use",
"ver": "1.3.3"
},
"size": [
161.3404296875,
30
],
"type": "easy cleanGpuUsed",
"widgets_values": []
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 931,
"inputs": [
{
"link": 1946,
"name": "IMAGE",
"type": "IMAGE"
}
],
"mode": 0,
"order": 149,
"outputs": [
{
"links": [],
"name": "*",
"type": "*"
}
],
"pos": [
1010,
260
],
"properties": {
"previousName": "lineart"
},
"size": [
210,
60
],
"title": "Set_lineart",
"type": "SetNode",
"widgets_values": [
"lineart"
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": false
},
"id": 930,
"inputs": [
{
"link": 2651,
"name": "image",
"type": "IMAGE"
},
{
"link": 1957,
"name": "resolution",
"shape": 7,
"type": "INT",
"widget": {
"name": "resolution"
}
}
],
"mode": 0,
"order": 136,
"outputs": [
{
"links": [
1946
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
650,
10
],
"properties": {
"Node name for S&R": "AIO_Preprocessor",
"cnr_id": "comfyui_controlnet_aux",
"ver": "1.0.7"
},
"size": [
320,
82
],
"type": "AIO_Preprocessor",
"widgets_values": [
"Manga2Anime_LineArt_Preprocessor",
1344
]
},
{
"flags": {
"collapsed": true
},
"id": 887,
"inputs": [
{
"link": 3123,
"name": "image",
"shape": 7,
"type": "IMAGE"
},
{
"link": 2754,
"name": "mask",
"shape": 7,
"type": "MASK"
}
],
"mode": 0,
"order": 156,
"outputs": [
{
"links": [
3117,
3174
],
"name": "composite",
"type": "IMAGE"
}
],
"pos": [
790,
-780
],
"properties": {
"Node name for S&R": "ImageAndMaskPreview",
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.2"
},
"size": [
270,
126
],
"title": "Preview",
"type": "ImageAndMaskPreview",
"widgets_values": [
0.8000000000000002,
"255, 0, 255",
true
]
},
{
"flags": {
"collapsed": true
},
"id": 1296,
"inputs": [],
"mode": 0,
"order": 6,
"outputs": [
{
"links": [
2777
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
520,
-680
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"import os\nfrom PIL import Image\nimport torch\nimport torchvision.transforms as T\nimport torch.nn.functional as F\n\n# --- Paths ---\ntemp_dir = os.path.join('.', 'ComfyUI', 'temp')\nos.makedirs(temp_dir, exist_ok=True)\nsave_path = os.path.join(temp_dir, 'imagebuffer.png') # persistent buffer\n\n# --- Extract input tensor ---\ntensor = getattr(image1, 'tensor', None) or getattr(image1, 'image', None) or image1.data\ntensor = tensor[0, :, :, :3].permute(2, 0, 1).float() # [C,H,W]\nif tensor.max() > 1.0:\n tensor = tensor / 255.0\n\n# --- Downscale for rough comparison ---\ntarget_size = (64, 64) # tiny image, enough to capture rough content\ntensor_small = F.interpolate(tensor.unsqueeze(0), size=target_size, mode='bilinear', align_corners=False).squeeze(0)\n\n# --- Compare with saved image ---\nmse = 1.0\nif os.path.exists(save_path):\n prev_img = Image.open(save_path).convert(\"RGB\")\n prev_tensor = T.ToTensor()(prev_img)\n prev_small = F.interpolate(prev_tensor.unsqueeze(0), size=target_size, mode='bilinear', align_corners=False).squeeze(0)\n mse = torch.mean((tensor_small - prev_small) ** 2).item()\n\n# --- Decide output with a higher threshold for rough similarity ---\nthreshold = 0.01 # bigger threshold = more tolerant\ntext1.data = \"always\" if mse < threshold else \"never\"\n\n# --- Save current image to cache ---\nT.ToPILImage()(tensor).save(save_path)\n"
]
},
{
"flags": {
"collapsed": true
},
"id": 1295,
"inputs": [
{
"link": 3142,
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 2777,
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
}
],
"mode": 0,
"order": 133,
"outputs": [
{
"links": [],
"name": "image1",
"type": "*"
},
{
"links": null,
"name": "image2",
"type": "*"
},
{
"links": null,
"name": "mask1",
"type": "*"
},
{
"links": null,
"name": "mask2",
"type": "*"
},
{
"links": [],
"name": "number1",
"type": "*"
},
{
"links": [],
"name": "number2",
"type": "*"
},
{
"links": [
2998,
3114
],
"name": "text1",
"type": "*"
},
{
"links": null,
"name": "text2",
"type": "*"
},
{
"links": null,
"name": "list1",
"type": "*"
},
{
"links": null,
"name": "dict1",
"type": "*"
},
{
"links": null,
"name": "any1",
"type": "*"
},
{
"links": null,
"name": "any2",
"type": "*"
},
{
"links": null,
"name": "any3",
"type": "*"
},
{
"links": null,
"name": "any4",
"type": "*"
}
],
"pos": [
760,
-680
],
"properties": {
"Node name for S&R": "Exec Python Code Script",
"cnr_id": "python-interpreter-node",
"ver": "2.1.0"
},
"size": [
290,
790
],
"title": "Check update",
"type": "Exec Python Code Script",
"widgets_values": [
"import numpy as np # Extract image tensor, assuming it's a batched Torch tensor img = image1.data[0] # remove batch dimension # Get shape: height and width height, width = img.shape[:2] # Pick smaller side smaller = min(height, width) # Set output text1.to(str(smaller)) # For debugging print(f\"Fixed image shape: {img.shape}\") print(f\"Smaller side: {smaller}\")",
0,
0,
"hello",
"world",
true
]
},
{
"flags": {
"collapsed": true
},
"id": 82,
"inputs": [],
"mode": 0,
"order": 7,
"outputs": [
{
"links": [
2894
],
"name": "BBOX_DETECTOR",
"type": "BBOX_DETECTOR"
},
{
"links": [
2675,
2893
],
"name": "SEGM_DETECTOR",
"slot_index": 1,
"type": "SEGM_DETECTOR"
}
],
"pos": [
-50,
-880
],
"properties": {
"Node name for S&R": "UltralyticsDetectorProvider",
"cnr_id": "comfyui-impact-subpack",
"ver": "1.2.9"
},
"size": [
370,
80
],
"title": "UltralyticsDetector",
"type": "UltralyticsDetectorProvider",
"widgets_values": [
"segm/fdetailerAdetailerFor_v11.pt"
]
},
{
"flags": {
"collapsed": true
},
"id": 973,
"inputs": [
{
"link": 3124,
"name": "*",
"type": "*"
}
],
"mode": 0,
"order": 199,
"outputs": [
{
"links": [],
"name": "*",
"type": "*"
}
],
"pos": [
570,
-830
],
"properties": {
"previousName": "image1"
},
"size": [
210,
60
],
"title": "Set_image1",
"type": "SetNode",
"widgets_values": [
"image1"
]
},
{
"flags": {
"collapsed": true
},
"id": 919,
"inputs": [
{
"link": 2675,
"name": "segm_detector",
"type": "SEGM_DETECTOR"
},
{
"link": 3165,
"name": "image",
"type": "IMAGE"
}
],
"mode": 0,
"order": 119,
"outputs": [
{
"links": [
2759
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
400,
-880
],
"properties": {
"Node name for S&R": "SegmDetectorCombined_v2",
"cnr_id": "comfyui-impact-pack",
"ver": "8.17.0"
},
"size": [
271.8443298339844,
102
],
"title": "SEGM Detector",
"type": "SegmDetectorCombined_v2",
"widgets_values": [
0.6000000000000001,
10
]
},
{
"flags": {
"collapsed": true
},
"id": 1283,
"inputs": [
{
"link": 2759,
"name": "mask",
"type": "MASK"
}
],
"mode": 4,
"order": 132,
"outputs": [
{
"links": [
2761
],
"name": "mask",
"type": "MASK"
}
],
"pos": [
570,
-880
],
"properties": {
"Node name for S&R": "RemapMaskRange",
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.8"
},
"size": [
210,
82
],
"type": "RemapMaskRange",
"widgets_values": [
0,
0.8
]
},
{
"flags": {},
"id": 1430,
"inputs": [
{
"link": 3167,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 121,
"outputs": [
{
"links": [
3123,
3142
],
"name": "",
"type": "IMAGE"
}
],
"pos": [
400,
-810
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1278,
"inputs": [
{
"link": 2767,
"name": "destination",
"type": "MASK"
},
{
"link": 2766,
"name": "source",
"type": "MASK"
}
],
"mode": 0,
"order": 145,
"outputs": [
{
"links": [
2754,
2762
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
590,
-960
],
"properties": {
"Node name for S&R": "MaskComposite",
"cnr_id": "comfy-core",
"ver": "0.3.67"
},
"size": [
270,
126
],
"type": "MaskComposite",
"widgets_values": [
0,
0,
"and"
]
},
{
"flags": {
"collapsed": true
},
"id": 1198,
"inputs": [
{
"link": 2762,
"name": "destination",
"type": "MASK"
},
{
"link": 2761,
"name": "source",
"type": "MASK"
}
],
"mode": 0,
"order": 157,
"outputs": [
{
"links": [
2487
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
780,
-880
],
"properties": {
"Node name for S&R": "MaskComposite",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
270,
126
],
"type": "MaskComposite",
"widgets_values": [
0,
0,
"add"
]
},
{
"flags": {
"collapsed": true
},
"id": 1199,
"inputs": [
{
"link": 2487,
"name": "destination",
"type": "MASK"
},
{
"link": 3000,
"name": "source",
"type": "MASK"
}
],
"mode": 0,
"order": 184,
"outputs": [
{
"links": [
2489
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1390,
-880
],
"properties": {
"Node name for S&R": "MaskComposite",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
270,
126
],
"type": "MaskComposite",
"widgets_values": [
0,
0,
"subtract"
]
},
{
"flags": {},
"id": 1429,
"inputs": [
{
"link": 3118,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 183,
"outputs": [
{
"links": [
3119
],
"name": "",
"type": "IMAGE"
}
],
"pos": [
1260,
-890
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {},
"id": 1428,
"inputs": [
{
"link": 3117,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 173,
"outputs": [
{
"links": [
3118
],
"name": "",
"type": "IMAGE"
}
],
"pos": [
960,
-890
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 897,
"inputs": [
{
"link": 2489,
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 190,
"outputs": [
{
"links": [
2490
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1650,
-880
],
"properties": {
"Node name for S&R": "GrowMask",
"cnr_id": "comfy-core",
"ver": "0.3.41"
},
"size": [
210,
82
],
"type": "GrowMask",
"widgets_values": [
1,
true
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1445,
"inputs": [],
"mode": 0,
"order": 8,
"outputs": [
{
"links": [
3170
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
760,
-740
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.44"
},
"size": [
210,
58
],
"title": "Do not touch",
"type": "PrimitiveBoolean",
"widgets_values": [
false
]
},
{
"flags": {},
"id": 1426,
"inputs": [
{
"link": 3114,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 146,
"outputs": [
{
"links": [
3115
],
"name": "",
"type": "*"
}
],
"pos": [
960,
-310
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {},
"id": 1427,
"inputs": [
{
"link": 3115,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 158,
"outputs": [
{
"links": [
3116
],
"name": "",
"type": "*"
}
],
"pos": [
1260,
-310
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1294,
"inputs": [
{
"link": 3158,
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"name": "mask1",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"name": "mask2",
"shape": 7,
"type": "MASK"
},
{
"link": null,
"name": "list1",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "dict1",
"shape": 7,
"type": "*"
},
{
"link": 2773,
"name": "any1",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any2",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any3",
"shape": 7,
"type": "*"
},
{
"link": null,
"name": "any4",
"shape": 7,
"type": "*"
},
{
"link": 2774,
"name": "raw_code",
"type": "STRING",
"widget": {
"name": "raw_code"
}
}
],
"mode": 0,
"order": 137,
"outputs": [
{
"links": [
2776
],
"name": "image1",
"type": "*"
},
{
"links": null,
"name": "image2",
"type": "*"
},
{
"links": null,
"name": "mask1",
"type": "*"
},
{
"links": null,
"name": "mask2",
"type": "*"
},
{
"links": [],
"name": "number1",
"type": "*"
},
{
"links": [],
"name": "number2",
"type": "*"
},
{
"links": [],
"name": "text1",
"type": "*"
},
{
"links": null,
"name": "text2",
"type": "*"
},
{
"links": null,
"name": "list1",
"type": "*"
},
{
"links": null,
"name": "dict1",
"type": "*"
},
{
"links": null,
"name": "any1",
"type": "*"
},
{
"links": null,
"name": "any2",
"type": "*"
},
{
"links": null,
"name": "any3",
"type": "*"
},
{
"links": null,
"name": "any4",
"type": "*"
}
],
"pos": [
1640,
-210
],
"properties": {
"Node name for S&R": "Exec Python Code Script",
"cnr_id": "python-interpreter-node",
"ver": "2.1.0"
},
"size": [
290,
790
],
"title": "Upscale to a bucket",
"type": "Exec Python Code Script",
"widgets_values": [
"import numpy as np # Extract image tensor, assuming it's a batched Torch tensor img = image1.data[0] # remove batch dimension # Get shape: height and width height, width = img.shape[:2] # Pick smaller side smaller = min(height, width) # Set output text1.to(str(smaller)) # For debugging print(f\"Fixed image shape: {img.shape}\") print(f\"Smaller side: {smaller}\")",
0,
0,
"hello",
"world",
true
]
},
{
"flags": {
"collapsed": true
},
"id": 1431,
"inputs": [
{
"link": 3126,
"name": "on_false",
"type": "*"
},
{
"link": 3125,
"name": "on_true",
"type": "*"
},
{
"link": 3175,
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
}
}
],
"mode": 0,
"order": 195,
"outputs": [
{
"links": [
3124
],
"name": "*",
"type": "*"
}
],
"pos": [
400,
-830
],
"properties": {
"Node name for S&R": "LazySwitchKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.3"
},
"size": [
270,
78
],
"title": "Switch",
"type": "LazySwitchKJ",
"widgets_values": [
false
]
},
{
"flags": {
"collapsed": true
},
"id": 1055,
"inputs": [
{
"link": 2453,
"name": "STRING",
"type": "STRING"
}
],
"mode": 0,
"order": 98,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-1510,
-1230
],
"properties": {
"previousName": "prompt"
},
"size": [
210,
60
],
"title": "Set_prompt",
"type": "SetNode",
"widgets_values": [
"prompt"
]
},
{
"flags": {
"collapsed": true
},
"id": 410,
"inputs": [],
"mode": 0,
"order": 9,
"outputs": [
{
"links": [
3007
],
"name": "*",
"type": "*"
}
],
"pos": [
-2370,
-1180
],
"properties": {},
"size": [
210,
60
],
"title": "Get_image1",
"type": "GetNode",
"widgets_values": [
"image1"
]
},
{
"flags": {
"collapsed": true
},
"id": 1399,
"inputs": [
{
"link": 3423,
"name": "model",
"type": "MODEL"
}
],
"mode": 0,
"order": 124,
"outputs": [
{
"links": [
3383
],
"name": "MODEL",
"type": "MODEL"
}
],
"pos": [
-1310,
-620
],
"properties": {
"Node name for S&R": "PathchSageAttentionKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.2"
},
"size": [
270,
82
],
"type": "PathchSageAttentionKJ",
"widgets_values": [
"sageattn_qk_int8_pv_fp16_cuda",
false
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 122,
"inputs": [
{
"link": 218,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 125,
"outputs": [
{
"links": [
3380,
3437
],
"name": "",
"type": "CLIP"
}
],
"pos": [
-1310,
-740
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {
"collapsed": true
},
"id": 1239,
"inputs": [],
"mode": 0,
"order": 10,
"outputs": [
{
"links": [
2659,
2663
],
"name": "VAE",
"type": "VAE"
}
],
"pos": [
-1130,
-70
],
"properties": {},
"size": [
210,
50.00000762939453
],
"title": "Get_VAE",
"type": "GetNode",
"widgets_values": [
"VAE"
]
},
{
"bgcolor": "#29699c",
"color": "#1b4669",
"flags": {
"collapsed": true
},
"id": 422,
"inputs": [
{
"link": 3435,
"name": "INT",
"type": "INT"
}
],
"mode": 0,
"order": 99,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-1280,
-960
],
"properties": {
"previousName": "seed"
},
"size": [
210,
60
],
"title": "Set_seed",
"type": "SetNode",
"widgets_values": [
"seed"
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": true
},
"id": 424,
"inputs": [
{
"link": 796,
"name": "LATENT",
"type": "LATENT"
}
],
"mode": 0,
"order": 94,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-1250,
-1100
],
"properties": {
"previousName": "latent"
},
"size": [
210,
60
],
"title": "Set_latent",
"type": "SetNode",
"widgets_values": [
"latent"
]
},
{
"bgcolor": "#29699c",
"color": "#1b4669",
"flags": {},
"id": 1457,
"inputs": [],
"mode": 0,
"order": 11,
"outputs": [
{
"links": [
3204,
3205,
3206
],
"name": "value",
"type": "INT"
}
],
"pos": [
1770,
-10
],
"properties": {
"Node name for S&R": "INTConstant",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.3"
},
"size": [
210,
58
],
"title": "Steps",
"type": "INTConstant",
"widgets_values": [
20
]
},
{
"bgcolor": "#29699c",
"color": "#1b4669",
"flags": {
"collapsed": true
},
"id": 423,
"inputs": [],
"mode": 0,
"order": 12,
"outputs": [
{
"links": [
3434
],
"name": "INT",
"type": "INT"
}
],
"pos": [
-690,
-580
],
"properties": {},
"size": [
210,
60
],
"title": "Get_seed",
"type": "GetNode",
"widgets_values": [
"seed"
]
},
{
"flags": {},
"id": 1444,
"inputs": [
{
"link": 3164,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 109,
"outputs": [
{
"links": [
3165,
3166,
3167,
3168,
3169
],
"name": "",
"type": "IMAGE"
}
],
"pos": [
200,
-960
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {},
"id": 1437,
"inputs": [
{
"link": 3143,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 100,
"outputs": [
{
"links": [
3144
],
"name": "",
"type": "BOOLEAN"
}
],
"pos": [
-220,
-1060
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1246,
"inputs": [
{
"link": 2892,
"name": "value",
"type": "IMAGE"
},
{
"link": 3149,
"name": "mode",
"type": "BOOLEAN",
"widget": {
"name": "mode"
}
}
],
"mode": 0,
"order": 101,
"outputs": [
{
"label": "IMAGE",
"links": [
3153,
3164
],
"name": "value",
"type": "IMAGE"
}
],
"pos": [
-290,
-930
],
"properties": {
"Node name for S&R": "ImpactControlBridge",
"cnr_id": "comfyui-impact-pack",
"ver": "8.25.1"
},
"size": [
270,
82
],
"type": "ImpactControlBridge",
"widgets_values": [
true,
"Stop"
]
},
{
"flags": {
"collapsed": true
},
"id": 1300,
"inputs": [],
"mode": 0,
"order": 13,
"outputs": [
{
"links": [
2892
],
"name": "*",
"type": "*"
}
],
"pos": [
-430,
-900
],
"properties": {},
"size": [
210,
60
],
"title": "Get_image1",
"type": "GetNode",
"widgets_values": [
"image1"
]
},
{
"flags": {
"collapsed": true
},
"id": 1197,
"inputs": [
{
"link": 2483,
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"name": "mask",
"shape": 7,
"type": "MASK"
},
{
"link": 3155,
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": 3154,
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
}
],
"mode": 0,
"order": 118,
"outputs": [
{
"links": [
2480
],
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": null,
"name": "width",
"type": "INT"
},
{
"links": null,
"name": "height",
"type": "INT"
},
{
"links": null,
"name": "mask",
"type": "MASK"
}
],
"pos": [
130,
-970
],
"properties": {
"Node name for S&R": "ImageResizeKJv2",
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.3"
},
"size": [
270,
336
],
"type": "ImageResizeKJv2",
"widgets_values": [
512,
512,
"nearest-exact",
"resize",
"0, 0, 0",
"center",
2,
"cpu"
]
},
{
"flags": {
"collapsed": true
},
"id": 1442,
"inputs": [
{
"link": 3153,
"name": "image",
"type": "IMAGE"
}
],
"mode": 0,
"order": 108,
"outputs": [
{
"links": [
3155
],
"name": "width",
"type": "INT"
},
{
"links": [
3154
],
"name": "height",
"type": "INT"
},
{
"links": null,
"name": "batch_size",
"type": "INT"
}
],
"pos": [
-100,
-970
],
"properties": {
"Node name for S&R": "GetImageSize",
"cnr_id": "comfy-core",
"enableTabs": false,
"hasSecondTab": false,
"secondTabOffset": 80,
"secondTabText": "Send Back",
"secondTabWidth": 65,
"tabWidth": 65,
"tabXOffset": 10,
"ver": "0.3.76"
},
"size": [
140,
66
],
"type": "GetImageSize",
"widgets_values": []
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 932,
"inputs": [],
"mode": 0,
"order": 14,
"outputs": [
{
"links": [
2483
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
-100,
-1010
],
"properties": {},
"size": [
210,
60
],
"title": "Get_lineart",
"type": "GetNode",
"widgets_values": [
"lineart"
]
},
{
"flags": {
"collapsed": true
},
"id": 1274,
"inputs": [],
"mode": 0,
"order": 15,
"outputs": [
{
"links": null,
"name": "BBOX_DETECTOR",
"type": "BBOX_DETECTOR"
},
{
"links": [
2745
],
"name": "SEGM_DETECTOR",
"slot_index": 1,
"type": "SEGM_DETECTOR"
}
],
"pos": [
130,
-1020
],
"properties": {
"Node name for S&R": "UltralyticsDetectorProvider",
"cnr_id": "comfyui-impact-subpack",
"ver": "1.2.9"
},
"size": [
370,
80
],
"title": "UltralyticsDetector",
"type": "UltralyticsDetectorProvider",
"widgets_values": [
"segm/person_yolov8m-seg.pt"
]
},
{
"flags": {
"collapsed": true
},
"id": 900,
"inputs": [
{
"link": 2480,
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 131,
"outputs": [
{
"links": [
2767
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
400,
-970
],
"properties": {
"Node name for S&R": "ColorToMask",
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.2"
},
"size": [
270,
178
],
"type": "ColorToMask",
"widgets_values": [
false,
255,
255,
255,
255,
1
]
},
{
"flags": {
"collapsed": true
},
"id": 1275,
"inputs": [
{
"link": 2745,
"name": "segm_detector",
"type": "SEGM_DETECTOR"
},
{
"link": 3166,
"name": "image",
"type": "IMAGE"
}
],
"mode": 0,
"order": 120,
"outputs": [
{
"links": [
2766
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
400,
-1020
],
"properties": {
"Node name for S&R": "SegmDetectorCombined_v2",
"cnr_id": "comfyui-impact-pack",
"ver": "8.17.0"
},
"size": [
271.8443298339844,
102
],
"title": "SEGM Detector",
"type": "SegmDetectorCombined_v2",
"widgets_values": [
0.3,
10
]
},
{
"flags": {
"collapsed": true
},
"id": 1289,
"inputs": [],
"mode": 0,
"order": 16,
"outputs": [
{
"links": [
2768
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-950,
0
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"import torch\nimport torch.nn.functional as F\n\nimg = image1.data # [B,H,W,C] NHWC\nscale = float(any1.data)\n\n# Convert to float if needed\nif not torch.is_floating_point(img):\n img = img.float() / 255.0\n\nB, H, W, C = img.shape\n\n# Determine smaller side\nif H < W:\n smaller, larger = H, W\n smaller_is_height = True\nelse:\n smaller, larger = W, H\n smaller_is_height = False\n\n# Scale smaller side and bucket to nearest multiple of 64\nsmaller_scaled = smaller * scale\nsmaller_bucket = max(64, round(smaller_scaled / 64) * 64)\n\n# Compute larger side to preserve aspect ratio\nlarger_scaled = larger * (smaller_bucket / smaller)\n# Bucket larger side to nearest multiple of 64\nlarger_bucket = max(64, round(larger_scaled / 64) * 64)\n\n# Assign final H and W preserving aspect ratio\nif smaller_is_height:\n new_H, new_W = smaller_bucket, larger_bucket\nelse:\n new_W, new_H = smaller_bucket, larger_bucket\n\n# Resize with interpolate\nupscaled = F.interpolate(img.permute(0,3,1,2), size=(new_H,new_W), mode='bilinear', align_corners=False)\nupscaled = upscaled.permute(0,2,3,1)\n\n# Output\nimage1.to(upscaled)\n"
]
},
{
"flags": {
"collapsed": true
},
"id": 1175,
"inputs": [],
"mode": 0,
"order": 17,
"outputs": [
{
"links": [
2666
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
250,
-150
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"# Extract image tensor, assuming it's a batched Torch tensor\nimg = image1.data[0] # remove batch dimension\n\n# Get shape: height and width\nheight, width = img.shape[:2]\n\n# Pick smaller side\nsmaller = min(height, width)\n\n# Bucket to nearest multiple of 64\nsmaller = round(smaller / 64) * 64\n\n# Set output\nnumber1.to(int(smaller))\n\n# For debugging\nprint(f\"Fixed image shape: {img.shape}\")\nprint(f\"Smaller side (bucketed to 64): {smaller}\")\n"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1201,
"inputs": [
{
"link": 2493,
"name": "conditioning_1",
"type": "CONDITIONING"
},
{
"link": 3047,
"name": "conditioning_2",
"type": "CONDITIONING"
}
],
"mode": 0,
"order": 186,
"outputs": [
{
"links": [
3195,
3199
],
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1780,
190
],
"properties": {
"Node name for S&R": "ConditioningCombine",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
216.92578125,
46
],
"type": "ConditioningCombine",
"widgets_values": []
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1202,
"inputs": [
{
"link": 2497,
"name": "conditioning_1",
"type": "CONDITIONING"
},
{
"link": 3048,
"name": "conditioning_2",
"type": "CONDITIONING"
}
],
"mode": 0,
"order": 187,
"outputs": [
{
"links": [
3196,
3200
],
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1780,
230
],
"properties": {
"Node name for S&R": "ConditioningCombine",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
216.92578125,
46
],
"type": "ConditioningCombine",
"widgets_values": []
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 3,
"inputs": [
{
"link": 1898,
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 78,
"outputs": [
{
"links": [
2152,
2153
],
"name": "MASK",
"slot_index": 0,
"type": "MASK"
}
],
"pos": [
1160,
260
],
"properties": {
"Node name for S&R": "InvertMask",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
26
],
"title": "Invert",
"type": "InvertMask",
"widgets_values": []
},
{
"flags": {},
"id": 995,
"inputs": [
{
"link": 2160,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 79,
"outputs": [
{
"links": [
2161,
2162
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1160,
270
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"collapsed": true
},
"id": 40,
"inputs": [
{
"link": 3028,
"name": "model",
"type": "MODEL"
}
],
"mode": 0,
"order": 115,
"outputs": [
{
"links": [
2092
],
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
}
],
"pos": [
200,
340
],
"properties": {
"Node name for S&R": "ApplyMSWMSAAttentionSimple",
"cnr_id": "comfyui_jankhidiffusion",
"ver": "54d60e0d187a391682633ab5b6211fd8fe4d73bb"
},
"size": [
237.52694702148438,
58
],
"title": "ApplyMSWMSAA",
"type": "ApplyMSWMSAAttentionSimple",
"widgets_values": [
"auto"
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": true
},
"id": 164,
"inputs": [
{
"link": 2466,
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": 264,
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
}
],
"mode": 0,
"order": 130,
"outputs": [
{
"links": [
234
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
540,
390
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.3"
},
"size": [
400,
274
],
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"yes",
"",
"",
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1174,
"inputs": [],
"mode": 0,
"order": 18,
"outputs": [
{
"links": [
2466
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
350,
390
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"type": "PrimitiveStringMultiline",
"widgets_values": [
"(real life, cinematic, stunningly beautiful, masterpiece, best quality:1.5), source_furry, \n\ncinematic, chromatic abberration, bokeh, vibrant colors, contrast\n\nreal, detailed, digital photography, professional photo, photorealism, sharp, exposure blend, volumetric, ray tracing, hdr, 4k, 8k, absurd res, realistic, (best quality, good quality:1.2)\nBREAK"
]
},
{
"bgcolor": "#616161",
"color": "#757575",
"flags": {
"collapsed": true
},
"id": 39,
"inputs": [],
"mode": 0,
"order": 19,
"outputs": [],
"pos": [
210,
390
],
"properties": {},
"size": [
210,
88
],
"type": "Note",
"widgets_values": [
"(real life, cinematic, stunningly beautiful, masterpiece, best quality:1.5), source_furry, \n\ncinematic, chromatic abberration, bokeh, vibrant colors\n\n(by kenket:0.2), (by zootopia:0.4), (by my_little_pony:0.2)\n\nreal, detailed, digital photography, professional photo, photorealism, sharp, exposure blend, volumetric, ray tracing, hdr, 4k, 8k, absurd res, realistic, (best quality, good quality:1.2)\nBREAK"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 207,
"inputs": [
{
"link": 339,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 116,
"outputs": [
{
"links": [
1309,
3557,
3563,
3566
],
"name": "CLIP",
"type": "CLIP"
}
],
"pos": [
850,
400
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1559,
"inputs": [
{
"link": 3471,
"name": "STRING",
"type": "STRING"
}
],
"mode": 0,
"order": 95,
"outputs": [
{
"links": [
3478
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-1070,
-760
],
"properties": {
"previousName": "setmask"
},
"size": [
210,
60
],
"title": "Set_setmask",
"type": "SetNode",
"widgets_values": [
"setmask"
]
},
{
"flags": {
"collapsed": true
},
"id": 1561,
"inputs": [
{
"link": 3473,
"name": "STRING",
"type": "STRING"
}
],
"mode": 0,
"order": 96,
"outputs": [
{
"links": [
3477
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-1310,
-750
],
"properties": {
"previousName": "textA"
},
"size": [
210,
60
],
"title": "Set_textA",
"type": "SetNode",
"widgets_values": [
"textA"
]
},
{
"flags": {
"collapsed": true
},
"id": 1563,
"inputs": [
{
"link": 3475,
"name": "STRING",
"type": "STRING"
}
],
"mode": 0,
"order": 97,
"outputs": [
{
"links": [
3479
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-1310,
-670
],
"properties": {
"previousName": "textB"
},
"size": [
210,
60
],
"title": "Set_textB",
"type": "SetNode",
"widgets_values": [
"textB"
]
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {},
"id": 702,
"inputs": [
{
"link": 3497,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 87,
"outputs": [
{
"links": [
1428,
2792
],
"name": "",
"type": "VAE"
}
],
"pos": [
2370,
510
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1451,
"inputs": [
{
"link": 3189,
"name": "on_false",
"type": "*"
},
{
"link": 3190,
"name": "on_true",
"type": "*"
},
{
"link": 3188,
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
}
}
],
"mode": 0,
"order": 206,
"outputs": [
{
"links": [
3191
],
"name": "*",
"type": "*"
}
],
"pos": [
2840,
440
],
"properties": {
"Node name for S&R": "LazySwitchKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.3"
},
"size": [
210,
78
],
"title": "Switch",
"type": "LazySwitchKJ",
"widgets_values": [
false
]
},
{
"flags": {
"collapsed": true
},
"id": 1448,
"inputs": [],
"mode": 0,
"order": 20,
"outputs": [
{
"links": [
3181
],
"name": "*",
"type": "*"
}
],
"pos": [
2510,
400
],
"properties": {},
"size": [
210,
50
],
"title": "Get_image1",
"type": "GetNode",
"widgets_values": [
"image1"
]
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {
"collapsed": true
},
"id": 9,
"inputs": [
{
"link": 3197,
"name": "samples",
"type": "LATENT"
},
{
"link": 2792,
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"order": 200,
"outputs": [
{
"links": [
3182,
3189
],
"name": "IMAGE",
"slot_index": 0,
"type": "IMAGE"
}
],
"pos": [
2510,
440
],
"properties": {
"Node name for S&R": "VAEDecodeTiled",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
150
],
"title": "VAE Decode",
"type": "VAEDecodeTiled",
"widgets_values": [
1024,
64,
64,
8
]
},
{
"flags": {
"collapsed": true
},
"id": 1433,
"inputs": [
{
"link": 3130,
"name": "on_false",
"type": "*"
},
{
"link": 3129,
"name": "on_true",
"type": "*"
},
{
"link": 3144,
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
}
}
],
"mode": 0,
"order": 179,
"outputs": [
{
"links": [
3131
],
"name": "*",
"type": "*"
}
],
"pos": [
-100,
-660
],
"properties": {
"Node name for S&R": "LazySwitchKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.3"
},
"size": [
270,
78
],
"title": "Switch",
"type": "LazySwitchKJ",
"widgets_values": [
false
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": true
},
"id": 977,
"inputs": [
{
"link": 2250,
"name": "LATENT",
"type": "LATENT"
}
],
"mode": 0,
"order": 177,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-100,
-580
],
"properties": {
"previousName": "latent_0"
},
"size": [
210,
60
],
"title": "Set_latent_0",
"type": "SetNode",
"widgets_values": [
"latent_0"
]
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {
"collapsed": true
},
"id": 504,
"inputs": [],
"mode": 0,
"order": 21,
"outputs": [
{
"links": [
2026,
2895
],
"name": "VAE",
"type": "VAE"
}
],
"pos": [
-100,
-620
],
"properties": {},
"size": [
210,
60
],
"title": "Get_VAE",
"type": "GetNode",
"widgets_values": [
"VAE"
]
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {
"collapsed": true
},
"id": 967,
"inputs": [
{
"link": 3131,
"name": "samples",
"type": "LATENT"
},
{
"link": 2026,
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"order": 185,
"outputs": [
{
"links": [
2891,
3126
],
"name": "IMAGE",
"slot_index": 0,
"type": "IMAGE"
}
],
"pos": [
40,
-660
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
140,
50
],
"title": "VAE",
"type": "VAEDecode",
"widgets_values": []
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 48,
"inputs": [
{
"link": 3538,
"name": "clip",
"type": "CLIP"
}
],
"mode": 0,
"order": 106,
"outputs": [
{
"links": [
202,
215
],
"name": "CLIP",
"slot_index": 0,
"type": "CLIP"
}
],
"pos": [
-1980,
-570
],
"properties": {
"Node name for S&R": "CLIPSetLastLayer",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
58
],
"type": "CLIPSetLastLayer",
"widgets_values": [
-2
]
},
{
"flags": {
"pinned": true
},
"id": 1387,
"inputs": [
{
"link": 3007,
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 83,
"outputs": [],
"pos": [
-2430,
-1230
],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.6.0"
},
"size": [
630,
560
],
"type": "PreviewImage",
"widgets_values": []
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {
"collapsed": true
},
"id": 502,
"inputs": [
{
"link": 975,
"name": "VAE",
"type": "VAE"
}
],
"mode": 0,
"order": 93,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-2280,
-310
],
"properties": {
"previousName": "VAE"
},
"size": [
210,
58
],
"title": "Set_VAE",
"type": "SetNode",
"widgets_values": [
"VAE"
]
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {
"collapsed": true
},
"id": 499,
"inputs": [
{
"link": 988,
"name": "samples",
"type": "LATENT"
},
{
"link": 3498,
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"order": 88,
"outputs": [
{
"links": [
972
],
"name": "IMAGE",
"slot_index": 0,
"type": "IMAGE"
}
],
"pos": [
2320,
480
],
"properties": {
"Node name for S&R": "VAEDecodeTiled",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
150
],
"title": "VAE Decode",
"type": "VAEDecodeTiled",
"widgets_values": [
1024,
64,
64,
8
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": false
},
"id": 174,
"inputs": [
{
"link": 263,
"name": "trigger_words",
"shape": 7,
"type": "string"
}
],
"mode": 0,
"order": 117,
"outputs": [
{
"links": [
264
],
"name": "filtered_trigger_words",
"type": "STRING"
}
],
"pos": [
190,
470
],
"properties": {
"Node name for S&R": "TriggerWord Toggle (LoraManager)",
"aux_id": "willmiao/ComfyUI-Lora-Manager",
"cnr_id": "comfyui-lora-manager",
"ver": "0.8.3"
},
"size": [
310,
392
],
"type": "TriggerWord Toggle (LoraManager)",
"widgets_values": [
false,
true,
[],
[],
""
]
},
{
"flags": {
"collapsed": false
},
"id": 1184,
"inputs": [],
"mode": 0,
"order": 22,
"outputs": [
{
"links": [
2474
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
530,
470
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
210,
88
],
"title": "Additional prompt",
"type": "PrimitiveStringMultiline",
"widgets_values": [
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1446,
"inputs": [
{
"link": 3181,
"name": "image_ref",
"type": "IMAGE"
},
{
"link": 3182,
"name": "image_target",
"type": "IMAGE"
}
],
"mode": 0,
"order": 204,
"outputs": [
{
"links": [
3190
],
"name": "image",
"type": "IMAGE"
}
],
"pos": [
2670,
420
],
"properties": {
"Node name for S&R": "ColorMatch",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.3"
},
"size": [
210,
126
],
"type": "ColorMatch",
"widgets_values": [
"hm-mvgd-hm",
0.5,
true
]
},
{
"flags": {},
"id": 1216,
"inputs": [
{
"link": 2586,
"name": "",
"type": "*",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"order": 102,
"outputs": [
{
"links": [
3481
],
"name": "",
"type": "BOOLEAN"
}
],
"pos": [
1980,
480
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1400,
"inputs": [
{
"link": 3551,
"name": "model",
"type": "MODEL"
}
],
"mode": 0,
"order": 167,
"outputs": [
{
"links": [
3192,
3198
],
"name": "MODEL",
"type": "MODEL"
}
],
"pos": [
1780,
340
],
"properties": {
"Node name for S&R": "PathchSageAttentionKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.2"
},
"size": [
380,
82
],
"type": "PathchSageAttentionKJ",
"widgets_values": [
"sageattn_qk_int8_pv_fp8_cuda++",
false
]
},
{
"flags": {},
"id": 1010,
"inputs": [
{
"link": 3568,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 143,
"outputs": [
{
"links": [
2234
],
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1340,
620
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
140.8,
26
],
"type": "Reroute"
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"collapsed": true
},
"id": 1558,
"inputs": [
{
"link": 3490,
"name": "model",
"type": "MODEL"
}
],
"mode": 0,
"order": 152,
"outputs": [
{
"links": [
3468
],
"name": "MODEL",
"type": "MODEL"
}
],
"pos": [
1340,
580
],
"properties": {
"Node name for S&R": "DifferentialDiffusion",
"cnr_id": "comfy-core",
"ver": "0.3.40"
},
"size": [
210,
50
],
"type": "DifferentialDiffusion",
"widgets_values": [
1
]
},
{
"flags": {},
"id": 1020,
"inputs": [
{
"link": 2234,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 153,
"outputs": [
{
"links": [
2235
],
"name": "",
"type": "CONDITIONING"
}
],
"pos": [
2170,
620
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {},
"id": 1436,
"inputs": [
{
"link": 3140,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 188,
"outputs": [
{
"links": [
3141
],
"name": "",
"type": "*"
}
],
"pos": [
2170,
590
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1435,
"inputs": [
{
"link": 3139,
"name": "on_false",
"type": "*"
},
{
"link": 3571,
"name": "on_true",
"type": "*"
},
{
"link": 3137,
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
}
}
],
"mode": 0,
"order": 182,
"outputs": [
{
"links": [
3140
],
"name": "*",
"type": "*"
}
],
"pos": [
1980,
620
],
"properties": {
"Node name for S&R": "LazySwitchKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.3"
},
"size": [
270,
78
],
"title": "Switch",
"type": "LazySwitchKJ",
"widgets_values": [
false
]
},
{
"flags": {},
"id": 1415,
"inputs": [
{
"link": 3092,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 82,
"outputs": [
{
"links": [
3482
],
"name": "",
"type": "CONTROL_NET"
}
],
"pos": [
1350,
980
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {},
"id": 1388,
"inputs": [
{
"link": 3008,
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 85,
"outputs": [],
"pos": [
980,
1040
],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.6.0"
},
"size": [
460,
480
],
"type": "PreviewImage",
"widgets_values": []
},
{
"flags": {
"collapsed": true
},
"id": 1042,
"inputs": [],
"mode": 0,
"order": 23,
"outputs": [
{
"links": [
3008
],
"name": "*",
"type": "*"
}
],
"pos": [
840,
1070
],
"properties": {},
"size": [
210,
34
],
"title": "Get_image1",
"type": "GetNode",
"widgets_values": [
"image1"
]
},
{
"flags": {},
"id": 1389,
"inputs": [],
"mode": 0,
"order": 24,
"outputs": [
{
"links": [
3009
],
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": [
3010
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1450,
1040
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"image": "clipspace/clipspace-painted-masked-1770314526901.png [input]",
"ver": "0.6.0"
},
"size": [
440,
490
],
"type": "LoadImage",
"widgets_values": [
"clipspace/clipspace-painted-masked-1770314526901.png [input]",
"image"
]
},
{
"flags": {
"collapsed": true
},
"id": 1011,
"inputs": [],
"mode": 0,
"order": 25,
"outputs": [
{
"links": [
2646
],
"name": "*",
"type": "*"
}
],
"pos": [
1430,
1610
],
"properties": {},
"size": [
210,
50
],
"title": "Get_image1",
"type": "GetNode",
"widgets_values": [
"image1"
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": true
},
"id": 510,
"inputs": [],
"mode": 0,
"order": 26,
"outputs": [
{
"links": [
988
],
"name": "LATENT",
"type": "LATENT"
}
],
"pos": [
2130,
480
],
"properties": {},
"size": [
210,
60
],
"title": "Get_InpaintLatent",
"type": "GetNode",
"widgets_values": [
"InpaintLatent"
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": true
},
"id": 509,
"inputs": [
{
"link": 987,
"name": "LATENT",
"type": "LATENT"
}
],
"mode": 0,
"order": 205,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
3090,
440
],
"properties": {
"previousName": "InpaintLatent"
},
"size": [
210,
60
],
"title": "Set_InpaintLatent",
"type": "SetNode",
"widgets_values": [
"InpaintLatent"
]
},
{
"flags": {
"pinned": true
},
"id": 1378,
"inputs": [
{
"link": 3135,
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 208,
"outputs": [],
"pos": [
3090,
480
],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.6.0"
},
"size": [
1250,
1240
],
"type": "PreviewImage",
"widgets_values": []
},
{
"flags": {},
"id": 1454,
"inputs": [
{
"link": 3198,
"name": "model",
"type": "MODEL"
},
{
"link": 3199,
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 3200,
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 3201,
"name": "latent_image",
"type": "LATENT"
},
{
"link": 3204,
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
}
},
{
"link": 3207,
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
}
},
{
"link": 3203,
"name": "start_at_step",
"type": "INT",
"widget": {
"name": "start_at_step"
}
},
{
"link": 3205,
"name": "end_at_step",
"type": "INT",
"widget": {
"name": "end_at_step"
}
}
],
"mode": 0,
"order": 196,
"outputs": [
{
"links": [
3197
],
"name": "LATENT",
"type": "LATENT"
}
],
"pos": [
2200,
-110
],
"properties": {
"Node name for S&R": "KSamplerAdvanced",
"cnr_id": "comfy-core",
"ver": "0.8.2"
},
"size": [
252.353515625,
546
],
"type": "KSamplerAdvanced",
"widgets_values": [
"disable",
0,
"fixed",
22,
2.5,
"euler_ancestral",
"beta",
0,
22,
"disable"
]
},
{
"flags": {},
"id": 997,
"inputs": [
{
"link": 2995,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 160,
"outputs": [
{
"links": [
2168
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
1340,
430
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
82,
26
],
"type": "Reroute"
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {
"collapsed": true
},
"id": 31,
"inputs": [
{
"link": 3555,
"name": "conditioning",
"type": "CONDITIONING"
},
{
"link": 2162,
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 171,
"outputs": [
{
"links": [
110
],
"name": "CONDITIONING",
"slot_index": 0,
"type": "CONDITIONING"
}
],
"pos": [
1340,
420
],
"properties": {
"Node name for S&R": "ConditioningSetMask",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
290,
102
],
"title": "Set mask",
"type": "ConditioningSetMask",
"widgets_values": [
1,
"default"
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": true
},
"id": 33,
"inputs": [
{
"link": 3553,
"name": "conditioning",
"type": "CONDITIONING"
},
{
"link": 2161,
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 169,
"outputs": [
{
"links": [
109
],
"name": "CONDITIONING",
"slot_index": 0,
"type": "CONDITIONING"
}
],
"pos": [
1340,
380
],
"properties": {
"Node name for S&R": "ConditioningSetMask",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
290,
102
],
"title": "Set mask",
"type": "ConditioningSetMask",
"widgets_values": [
1,
"default"
]
},
{
"flags": {
"pinned": true
},
"id": 1381,
"inputs": [
{
"link": 2994,
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 148,
"outputs": [
{
"links": [
2995
],
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": null,
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1000,
530
],
"properties": {
"Node name for S&R": "PreviewBridge",
"cnr_id": "comfyui-impact-pack",
"ver": "8.28.1"
},
"size": [
260,
400
],
"type": "PreviewBridge",
"widgets_values": [
"$1381-0",
false,
"never"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"collapsed": true
},
"id": 128,
"inputs": [
{
"link": 2092,
"name": "model",
"type": "MODEL"
}
],
"mode": 0,
"order": 127,
"outputs": [
{
"links": [
3491,
3556
],
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
}
],
"pos": [
750,
340
],
"properties": {
"Node name for S&R": "ApplyRAUNetSimple",
"cnr_id": "comfyui_jankhidiffusion",
"ver": "54d60e0d187a391682633ab5b6211fd8fe4d73bb"
},
"size": [
250,
130
],
"type": "ApplyRAUNetSimple",
"widgets_values": [
"auto",
"high (1536-2048)",
"bicubic",
"bicubic"
]
},
{
"flags": {
"collapsed": true
},
"id": 1056,
"inputs": [],
"mode": 0,
"order": 27,
"outputs": [
{
"links": [
2307
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
580,
320
],
"properties": {},
"size": [
210,
60
],
"title": "Get_prompt",
"type": "GetNode",
"widgets_values": [
"prompt"
]
},
{
"flags": {
"collapsed": true
},
"id": 497,
"inputs": [
{
"link": 972,
"name": "inpainted",
"type": "IMAGE"
},
{
"link": 1423,
"name": "overlay_image",
"type": "IMAGE"
},
{
"link": 1424,
"name": "crop_region",
"type": "CROP_REGION"
}
],
"mode": 0,
"order": 112,
"outputs": [
{
"links": [
3480
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
2600,
480
],
"properties": {
"Node name for S&R": "OverlayInpaintedImage",
"aux_id": "m0rtus59/comfyui-art-venture",
"cnr_id": "comfyui-art-venture",
"ver": "1.0.7"
},
"size": [
192.43026733398438,
66
],
"title": "Overlay Inpainted",
"type": "OverlayInpaintedImage",
"widgets_values": []
},
{
"flags": {},
"id": 1009,
"inputs": [
{
"link": 3564,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 172,
"outputs": [
{
"links": [
3139
],
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1340,
590
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
140.8,
26
],
"type": "Reroute"
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 479,
"inputs": [
{
"link": 2229,
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 2230,
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 1428,
"name": "vae",
"type": "VAE"
},
{
"link": 908,
"name": "pixels",
"type": "IMAGE"
},
{
"link": 1027,
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 197,
"outputs": [
{
"links": [
910
],
"name": "positive",
"type": "CONDITIONING"
},
{
"links": [
911
],
"name": "negative",
"type": "CONDITIONING"
},
{
"links": [
912
],
"name": "latent",
"type": "LATENT"
}
],
"pos": [
2570,
620
],
"properties": {
"Node name for S&R": "InpaintModelConditioning",
"cnr_id": "comfy-core",
"ver": "0.3.40"
},
"size": [
210,
138
],
"title": "Inpaint",
"type": "InpaintModelConditioning",
"widgets_values": [
true
]
},
{
"flags": {},
"id": 1390,
"inputs": [
{
"link": 3011,
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 111,
"outputs": [],
"pos": [
2570,
740
],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.6.0"
},
"size": [
260,
320
],
"type": "PreviewImage",
"widgets_values": []
},
{
"flags": {},
"id": 1356,
"inputs": [
{
"link": 3392,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 162,
"outputs": [
{
"links": [
2933
],
"name": "",
"type": "CONDITIONING"
}
],
"pos": [
-430,
-800
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {},
"id": 1357,
"inputs": [
{
"link": 2933,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 176,
"outputs": [
{
"links": [
2934
],
"name": "",
"type": "CONDITIONING"
}
],
"pos": [
40,
-800
],
"properties": {
"horizontal": false,
"showOutputText": false
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1244,
"inputs": [],
"mode": 0,
"order": 28,
"outputs": [],
"pos": [
-1440,
-1270
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"solo, anthro, lynx, male, femboy, very long hair, yellow eyes, (black fur, black body:1.4), collar, straight hair, low twintail, hairband, plain red loose t-shirt, shorts, coffee mug in hands, reclined on chair by the computer, dynamic angle, cozy room"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": false
},
"id": 1242,
"inputs": [],
"mode": 0,
"order": 29,
"outputs": [
{
"links": [
3172
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
1130,
-960
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.44"
},
"size": [
210,
58
],
"title": "Stop if mask empty",
"type": "PrimitiveBoolean",
"widgets_values": [
false
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 8,
"inputs": [
{
"link": 11,
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 12,
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 2919,
"name": "control_net",
"type": "CONTROL_NET"
},
{
"link": 2170,
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"name": "vae",
"shape": 7,
"type": "VAE"
}
],
"mode": 0,
"order": 180,
"outputs": [
{
"links": [
2493
],
"name": "positive",
"slot_index": 0,
"type": "CONDITIONING"
},
{
"links": [
2497
],
"name": "negative",
"slot_index": 1,
"type": "CONDITIONING"
}
],
"pos": [
1530,
120
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
186
],
"type": "ControlNetApplyAdvanced",
"widgets_values": [
0.6,
0,
1
]
},
{
"flags": {
"collapsed": true
},
"id": 1453,
"inputs": [
{
"link": 3192,
"name": "model",
"type": "MODEL"
},
{
"link": 3195,
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 3196,
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 3193,
"name": "latent_image",
"type": "LATENT"
},
{
"link": 3206,
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
}
},
{
"link": 3202,
"name": "end_at_step",
"type": "INT",
"widget": {
"name": "end_at_step"
}
},
{
"link": 3208,
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
}
}
],
"mode": 0,
"order": 192,
"outputs": [
{
"links": [
3201
],
"name": "LATENT",
"type": "LATENT"
}
],
"pos": [
2050,
-130
],
"properties": {
"Node name for S&R": "BNK_Unsampler",
"cnr_id": "comfy-noise",
"ver": "0c9ec19b16dc72334cb8ce82c3774aed183048e4"
},
"size": [
210,
238
],
"type": "BNK_Unsampler",
"widgets_values": [
22,
0,
2.5,
"euler",
"beta",
"disable"
]
},
{
"flags": {},
"id": 1351,
"inputs": [
{
"link": 2916,
"name": "control_net",
"type": "CONTROL_NET"
}
],
"mode": 0,
"order": 80,
"outputs": [
{
"links": [
2917
],
"name": "CONTROL_NET",
"type": "CONTROL_NET"
}
],
"pos": [
1280,
140
],
"properties": {
"Node name for S&R": "SetUnionControlNetType",
"cnr_id": "comfy-core",
"ver": "0.5.1"
},
"size": [
210,
58
],
"type": "SetUnionControlNetType",
"widgets_values": [
"canny/lineart/anime_lineart/mlsd"
]
},
{
"flags": {},
"id": 1458,
"inputs": [],
"mode": 0,
"order": 30,
"outputs": [
{
"links": [
3207,
3208
],
"name": "FLOAT",
"type": "FLOAT"
}
],
"pos": [
1770,
90
],
"properties": {
"Node name for S&R": "PrimitiveFloat",
"cnr_id": "comfy-core",
"ver": "0.8.2"
},
"size": [
210,
58
],
"title": "CFG",
"type": "PrimitiveFloat",
"widgets_values": [
2
]
},
{
"flags": {},
"id": 1292,
"inputs": [],
"mode": 0,
"order": 31,
"outputs": [
{
"links": [
2773
],
"name": "FLOAT",
"type": "FLOAT"
}
],
"pos": [
1390,
-190
],
"properties": {
"Node name for S&R": "PrimitiveFloat",
"cnr_id": "comfy-core",
"ver": "0.3.68"
},
"size": [
210,
58
],
"title": "Upscale by",
"type": "PrimitiveFloat",
"widgets_values": [
1.3
]
},
{
"flags": {
"collapsed": true
},
"id": 1293,
"inputs": [],
"mode": 0,
"order": 32,
"outputs": [
{
"links": [
2774
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
1510,
-90
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Code",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"import torch\nimport torch.nn.functional as F\n\nimg = image1.data # [B,H,W,C] NHWC\nscale = float(any1.data)\n\n# Convert to float if needed\nif not torch.is_floating_point(img):\n img = img.float() / 255.0\n\nB, H, W, C = img.shape\n\n# Determine smaller side\nif H < W:\n smaller, larger = H, W\n smaller_is_height = True\nelse:\n smaller, larger = W, H\n smaller_is_height = False\n\n# Scale smaller side and bucket to nearest multiple of 64\nsmaller_scaled = smaller * scale\nsmaller_bucket = max(64, round(smaller_scaled / 64) * 64)\n\n# Compute larger side to preserve aspect ratio\nlarger_scaled = larger * (smaller_bucket / smaller)\n# Bucket larger side to nearest multiple of 64\nlarger_bucket = max(64, round(larger_scaled / 64) * 64)\n\n# Assign final H and W preserving aspect ratio\nif smaller_is_height:\n new_H, new_W = smaller_bucket, larger_bucket\nelse:\n new_W, new_H = smaller_bucket, larger_bucket\n\n# Resize with interpolate\nupscaled = F.interpolate(img.permute(0,3,1,2), size=(new_H,new_W), mode='bilinear', align_corners=False)\nupscaled = upscaled.permute(0,2,3,1)\n\n# Output\nimage1.to(upscaled)\n"
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": true
},
"id": 5,
"inputs": [
{
"link": 2776,
"name": "pixels",
"type": "IMAGE"
},
{
"link": 3496,
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"order": 150,
"outputs": [
{
"links": [
3193
],
"name": "LATENT",
"slot_index": 0,
"type": "LATENT"
}
],
"pos": [
1850,
-170
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
46
],
"type": "VAEEncode",
"widgets_values": []
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {
"collapsed": true
},
"id": 1574,
"inputs": [],
"mode": 0,
"order": 33,
"outputs": [
{
"links": [
3496
],
"name": "VAE",
"type": "VAE"
}
],
"pos": [
1700,
-170
],
"properties": {},
"size": [
210,
50
],
"title": "Get_VAE2",
"type": "GetNode",
"widgets_values": [
"VAE2"
]
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {
"collapsed": true
},
"id": 1575,
"inputs": [],
"mode": 0,
"order": 34,
"outputs": [
{
"links": [
3497,
3498
],
"name": "VAE",
"type": "VAE"
}
],
"pos": [
2180,
540
],
"properties": {},
"size": [
210,
34
],
"title": "Get_VAE2",
"type": "GetNode",
"widgets_values": [
"VAE2"
]
},
{
"flags": {
"collapsed": true
},
"id": 731,
"inputs": [],
"mode": 0,
"order": 35,
"outputs": [
{
"links": [
2446
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-1310,
-580
],
"properties": {},
"size": [
210,
60
],
"title": "Get_prompt",
"type": "GetNode",
"widgets_values": [
"prompt"
]
},
{
"bgcolor": "#593930",
"color": "#332922",
"flags": {},
"id": 1177,
"inputs": [],
"mode": 0,
"order": 36,
"outputs": [
{
"links": [
3382
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-950,
-540
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
210,
90
],
"title": "Negative",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"(worst quality, bad quality:1.2), sketch, big eyes, wide shoulders, big eyes, cartoony, logo, print, text, watermark"
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": true
},
"id": 161,
"inputs": [
{
"link": 2468,
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": 254,
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
},
{
"link": 2446,
"name": "text_c",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_c"
}
}
],
"mode": 0,
"order": 139,
"outputs": [
{
"links": [
3381
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-950,
-580
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "9f7b3215e6af317603056a9a1666bf6e83e28835"
},
"size": [
210,
298.00000000000006
],
"title": "String Function",
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"yes",
"",
"",
""
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": false
},
"id": 100,
"inputs": [],
"mode": 0,
"order": 37,
"outputs": [],
"pos": [
-1310,
-1280
],
"properties": {},
"size": [
220,
100
],
"title": "Recommended Resolutions",
"type": "Note",
"widgets_values": [
"768×1344 (9:16)\n832×1216 (2:3)\n896×1152 (3:4)\n1024×1024 (1:1)\n1152×896 (4:3)\n1216×832 (3:2)\n1344×768 (16:9)"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 199,
"inputs": [
{
"link": 3106,
"name": "clip",
"type": "CLIP"
}
],
"mode": 0,
"order": 91,
"outputs": [
{
"links": [
2680
],
"name": "CLIP",
"slot_index": 0,
"type": "CLIP"
}
],
"pos": [
-480,
430
],
"properties": {
"Node name for S&R": "CLIPSetLastLayer",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
58
],
"type": "CLIPSetLastLayer",
"widgets_values": [
-2
]
},
{
"flags": {
"collapsed": true
},
"id": 1434,
"inputs": [
{
"link": 3191,
"name": "on_false",
"type": "*"
},
{
"link": 3480,
"name": "on_true",
"type": "*"
},
{
"link": 3481,
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
}
}
],
"mode": 0,
"order": 207,
"outputs": [
{
"links": [
3135,
3517
],
"name": "*",
"type": "*"
}
],
"pos": [
2960,
510
],
"properties": {
"Node name for S&R": "LazySwitchKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.3"
},
"size": [
270,
80
],
"title": "Switch",
"type": "LazySwitchKJ",
"widgets_values": [
false
]
},
{
"flags": {},
"id": 1585,
"inputs": [
{
"link": 3512,
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 212,
"outputs": [],
"pos": [
3860,
-30
],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.10.0"
},
"size": [
470,
460
],
"type": "PreviewImage",
"widgets_values": []
},
{
"flags": {
"collapsed": true
},
"id": 1584,
"inputs": [
{
"link": 3511,
"name": "image",
"type": "IMAGE"
}
],
"mode": 0,
"order": 211,
"outputs": [
{
"links": [
3512
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
3600,
0
],
"properties": {
"Node name for S&R": "ImageScaleBy",
"cnr_id": "comfy-core",
"ver": "0.10.0"
},
"size": [
270,
82
],
"type": "ImageScaleBy",
"widgets_values": [
"lanczos",
0.25
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 1452,
"inputs": [],
"mode": 0,
"order": 38,
"outputs": [
{
"links": [
3188
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
2580,
300
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"size": [
210,
60
],
"title": "Recolor",
"type": "PrimitiveBoolean",
"widgets_values": [
false
]
},
{
"flags": {
"collapsed": true
},
"id": 1591,
"inputs": [
{
"link": 3517,
"name": "value",
"type": "IMAGE"
},
{
"link": 3519,
"name": "mode",
"type": "BOOLEAN",
"widget": {
"name": "mode"
}
}
],
"mode": 0,
"order": 209,
"outputs": [
{
"label": "IMAGE",
"links": [
3518
],
"name": "value",
"type": "IMAGE"
}
],
"pos": [
3090,
400
],
"properties": {
"Node name for S&R": "ImpactControlBridge",
"cnr_id": "comfyui-impact-pack",
"ver": "8.28.2"
},
"size": [
210,
82
],
"type": "ImpactControlBridge",
"widgets_values": [
false,
"Stop"
]
},
{
"flags": {
"collapsed": true
},
"id": 1583,
"inputs": [
{
"link": 3509,
"name": "upscale_model",
"type": "UPSCALE_MODEL"
},
{
"link": 3518,
"name": "image",
"type": "IMAGE"
}
],
"mode": 0,
"order": 210,
"outputs": [
{
"links": [
3511
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
3330,
0
],
"properties": {
"Node name for S&R": "ImageUpscaleWithModel",
"cnr_id": "comfy-core",
"ver": "0.10.0"
},
"size": [
233.5689453125,
46
],
"type": "ImageUpscaleWithModel",
"widgets_values": []
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": false
},
"id": 1176,
"inputs": [],
"mode": 0,
"order": 39,
"outputs": [
{
"links": [
2468
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-1310,
-240
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
300,
100
],
"title": "Pretext",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"masterpiece, best quality, amazing quality, absurdres, 8k\n\nby zaush, by kenket, by braeburned, realistic, halfanthro"
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": false
},
"id": 170,
"inputs": [
{
"link": 253,
"name": "trigger_words",
"shape": 7,
"type": "string"
}
],
"mode": 0,
"order": 126,
"outputs": [
{
"links": [
254,
3451
],
"name": "filtered_trigger_words",
"type": "STRING"
}
],
"pos": [
-1310,
-540
],
"properties": {
"Node name for S&R": "TriggerWord Toggle (LoraManager)",
"aux_id": "willmiao/ComfyUI-Lora-Manager",
"cnr_id": "comfyui-lora-manager",
"ver": "0.8.3"
},
"size": [
300,
260
],
"type": "TriggerWord Toggle (LoraManager)",
"widgets_values": [
false,
[
{
"active": true,
"text": "self breast sucking"
}
],
[
{
"active": [
{
"active": true,
"text": "self breast sucking"
}
],
"text": "fur"
},
{
"active": [
{
"active": true,
"text": "self breast sucking"
}
],
"text": "detailed fur"
},
{
"active": [
{
"active": true,
"text": "self breast sucking"
}
],
"text": "body fur"
},
{
"active": [
{
"active": true,
"text": "self breast sucking"
}
],
"text": "tuft"
},
{
"active": [
{
"active": true,
"text": "self breast sucking"
}
],
"text": "fluffy"
}
],
[
{
"active": false,
"highlighted": false,
"strength": null,
"text": "flared_equine_penis"
},
{
"active": false,
"highlighted": false,
"strength": null,
"text": "fl4r3ed"
}
],
"flared_equine_penis,, fl4r3ed"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1340,
"inputs": [],
"mode": 0,
"order": 40,
"outputs": [],
"pos": [
-1620,
-1270
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"anthro, lynx, male, femboy, slender, (black fur. black body:1.4), yellow eyes, thin waist, flat chested, long hair, straight hair, hair over eye, black leather collar, adolescent, kemono, young,\n\n\nwhite shirt with sleeves rolled up, brown leather corset vest, presenting hindquarters, thigh high boots, steampunk, jeans, thigh gap, belt, outdoors, detailed background, town"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 1592,
"inputs": [],
"mode": 0,
"order": 41,
"outputs": [
{
"links": [
3519
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
2580,
200
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"size": [
210,
60
],
"title": "Sharpen",
"type": "PrimitiveBoolean",
"widgets_values": [
false
]
},
{
"flags": {},
"id": 1382,
"inputs": [
{
"link": 3174,
"name": "images",
"type": "IMAGE"
},
{
"link": 3170,
"name": "block",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "block"
}
},
{
"link": 2998,
"name": "restore_mask",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "restore_mask"
}
}
],
"mode": 0,
"order": 174,
"outputs": [
{
"links": [],
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": [
3000
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
960,
-810
],
"properties": {
"Node name for S&R": "PreviewBridge",
"cnr_id": "comfyui-impact-pack",
"image": "clipspace/clipspace-painted-masked-1767888820853.png [input]",
"ver": "8.28.1"
},
"size": [
380,
490
],
"type": "PreviewBridge",
"widgets_values": [
"$1382-0",
false,
"never"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 1577,
"inputs": [],
"mode": 0,
"order": 42,
"outputs": [
{
"links": [
3501
],
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
},
{
"links": [
3499
],
"name": "CLIP",
"slot_index": 1,
"type": "CLIP"
},
{
"links": [],
"name": "VAE",
"slot_index": 2,
"type": "VAE"
}
],
"pos": [
-2690,
-620
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple",
"cnr_id": "comfy-core",
"ver": "0.3.67"
},
"size": [
420,
98
],
"type": "CheckpointLoaderSimple",
"widgets_values": [
"ILL\\chromaxlMix_v4Sorbet.safetensors"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1265,
"inputs": [],
"mode": 0,
"order": 43,
"outputs": [],
"pos": [
-950,
-170
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"rick_griffin\ntwang\naseethe\nraaz\ndemicoeur"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1264,
"inputs": [],
"mode": 0,
"order": 44,
"outputs": [],
"pos": [
-950,
-210
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"masterpiece, best quality, amazing quality, absurdres, 8k\n\nby zaush, by kenket, by braeburned, realistic, halfanthro"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1594,
"inputs": [],
"mode": 0,
"order": 45,
"outputs": [],
"pos": [
-2430,
-1310
],
"properties": {},
"size": [
400,
170
],
"title": "2",
"type": "Note",
"widgets_values": [
"Anthro, lean, muscular, wolf, grey fur, mohawk, waistcoat, white shirt, unbuttoned, pierced ear, pierced eyebrow"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1260,
"inputs": [],
"mode": 0,
"order": 46,
"outputs": [],
"pos": [
-1980,
-1270
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"anthro, lynx, male, femboy, slender, (black fur. black body:1.4), yellow eyes, thin waist, flat chested, long hair, straight hair, hair over eye, black leather collar, adolescent, kemono, young,\n\nwhite thigh high socks, kitchen, bare shoulder, oversized sweater, from back, fridge, presenting hindquarters"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 780,
"inputs": [],
"mode": 0,
"order": 47,
"outputs": [],
"pos": [
-1890,
-1270
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"masterpiece, best quality, amazing quality, very aesthetic, high resolution, Dynamic Angle, ultra-detailed, absurdres, newest, puffy anus, crotchboobs, bnipples, equine, horse, skindentation, beach, sand, ocean, sunset, ray tracing, detailed fur, on towel, looking back, standing, close up, horse tail, froghoof, hooves, detailed eyes, long lashes, makeup, beautiful, female, 1girl, presenting hindquarters, ass focus, blue eyes, looking back, smug, bubble butt, round ass, (white fur), ((partially visible vulva, partially visible anus, pussy peek, anus peek, skindentation, string bikini, pussy floss, fit body, collar, black hair, sweating, sweaty, large crotchboobs, seductive look, eclit))"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1261,
"inputs": [],
"mode": 0,
"order": 48,
"outputs": [],
"pos": [
-1800,
-1270
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"anthro, snow_leopard, female, long grey hair, blue eyes, sitting on couch, messy stretched grey t-shirt, nipple outline, boxers, bulge, messy dorm room, smirk"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1263,
"inputs": [],
"mode": 0,
"order": 49,
"outputs": [],
"pos": [
-2160,
-1270
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"anthro, lynx, male, femboy, slender, (black fur. black body:1.4), yellow eyes, thin waist, flat chested, long hair, straight hair, hair over eye, black leather collar, adolescent, kemono, young,\n\nmessy bedroom, cum on nose, shy, awe, looking up, foreskin, open mouth, tongue, fellatio, side view, solo focus, cum on face, cum on tongue, cumshot, cum on hair, bukkake, cum in hands, cupping palms"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1245,
"inputs": [],
"mode": 0,
"order": 50,
"outputs": [],
"pos": [
-2070,
-1270
],
"properties": {},
"size": [
400,
170
],
"type": "Note",
"widgets_values": [
"explicit, size difference, duo, massive muscular anthro tiger male and a small anthro lynx male, in a steamy shower stall, water spraying down their bodies, the tiger is standing with a smug grin, one hand braced against the tiled wall, the lynx is on his knees, eagerly performing fellatio, deepthroating the tiger's huge, erect humanoid penis, tiger's hand on the back of the lynx's head, guiding him, the lynx's eyes are wide with adoration and effort, wet fur, glistening bodies, steam, low angle shot, deep throat, tears"
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": true
},
"id": 425,
"inputs": [],
"mode": 0,
"order": 51,
"outputs": [
{
"links": [
2295
],
"name": "LATENT",
"type": "LATENT"
}
],
"pos": [
-690,
-620
],
"properties": {},
"size": [
210,
60
],
"title": "Get_latent",
"type": "GetNode",
"widgets_values": [
"latent"
]
},
{
"bgcolor": "#355",
"color": "#233",
"flags": {},
"id": 964,
"inputs": [],
"mode": 0,
"order": 52,
"outputs": [
{
"links": [
2044,
2079
],
"name": "FLOAT",
"type": "FLOAT"
}
],
"pos": [
-690,
-540
],
"properties": {
"Node name for S&R": "PrimitiveFloat",
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"size": [
210,
58
],
"title": "CFG",
"type": "PrimitiveFloat",
"widgets_values": [
3
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1595,
"inputs": [],
"mode": 0,
"order": 53,
"outputs": [],
"pos": [
-2430,
-1270
],
"properties": {},
"size": [
400,
170
],
"title": "3",
"type": "Note",
"widgets_values": [
"solo, anthro, tiger, male, muscular, unamused, burly, (overweight, fat, chubby:1.1)"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 375,
"inputs": [],
"mode": 0,
"order": 54,
"outputs": [
{
"links": [],
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
},
{
"links": [],
"name": "CLIP",
"slot_index": 1,
"type": "CLIP"
},
{
"links": [],
"name": "VAE",
"slot_index": 2,
"type": "VAE"
}
],
"pos": [
-2410,
-110
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
400,
98
],
"type": "CheckpointLoaderSimple",
"widgets_values": [
"ILL\\novaFurryXL_ilV150.safetensors"
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 916,
"inputs": [],
"mode": 0,
"order": 55,
"outputs": [
{
"links": [
3137
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
1680,
780
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"size": [
210,
58
],
"title": "Replace prompt",
"type": "PrimitiveBoolean",
"widgets_values": [
true
]
},
{
"flags": {},
"id": 1596,
"inputs": [
{
"link": 3536,
"name": "mask",
"type": "MASK"
}
],
"mode": 0,
"order": 166,
"outputs": [],
"pos": [
-430,
-1320
],
"properties": {
"Node name for S&R": "MaskPreview",
"cnr_id": "comfy-core",
"ver": "0.10.0"
},
"size": [
210,
258
],
"type": "MaskPreview",
"widgets_values": []
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 1579,
"inputs": [
{
"link": 3499,
"name": "clip1",
"type": "CLIP"
},
{
"link": 3500,
"name": "clip2",
"type": "CLIP"
}
],
"mode": 0,
"order": 90,
"outputs": [
{
"links": [
3538
],
"name": "CLIP",
"slot_index": 0,
"type": "CLIP"
}
],
"pos": [
-2230,
-500
],
"properties": {
"Node name for S&R": "CLIPMergeSimple",
"cnr_id": "comfy-core",
"ver": "0.3.67"
},
"size": [
210,
78
],
"type": "CLIPMergeSimple",
"widgets_values": [
0.2
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {},
"id": 139,
"inputs": [
{
"link": 3387,
"name": "model",
"type": "MODEL"
},
{
"link": 3389,
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 3390,
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 2295,
"name": "latent_image",
"type": "LATENT"
},
{
"link": 3434,
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
}
},
{
"link": 2079,
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
}
}
],
"mode": 0,
"order": 163,
"outputs": [
{
"links": [
2250,
3130
],
"name": "LATENT",
"slot_index": 0,
"type": "LATENT"
}
],
"pos": [
-430,
-690
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
270,
486
],
"type": "KSampler",
"widgets_values": [
972130262925020,
"fixed",
24,
4,
"euler_ancestral",
"beta",
1
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": false
},
"id": 464,
"inputs": [
{
"link": 2648,
"name": "image",
"type": "IMAGE"
},
{
"link": 1090,
"name": "resolution",
"shape": 7,
"type": "INT",
"widget": {
"name": "resolution"
}
}
],
"mode": 0,
"order": 135,
"outputs": [
{
"links": [
2994
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
650,
200
],
"properties": {
"Node name for S&R": "AIO_Preprocessor",
"cnr_id": "comfyui_controlnet_aux",
"ver": "1.0.7"
},
"size": [
320,
82
],
"type": "AIO_Preprocessor",
"widgets_values": [
"LineArtPreprocessor",
1344
]
},
{
"flags": {
"collapsed": true
},
"id": 1527,
"inputs": [
{
"link": 3383,
"name": "model",
"type": "MODEL"
},
{
"label": "clip",
"link": 3380,
"name": "_5",
"type": "*"
},
{
"label": "set mask",
"link": 3478,
"name": "",
"type": "*"
},
{
"label": "default text",
"link": 3381,
"name": "_1",
"type": "*"
},
{
"label": "text A",
"link": 3477,
"name": "_2",
"type": "*"
},
{
"label": "text B",
"link": 3479,
"name": "_3",
"type": "*"
},
{
"label": "negative text",
"link": 3382,
"name": "_4",
"type": "*"
}
],
"mode": 0,
"order": 151,
"outputs": [
{
"links": [
3387,
3388,
3421
],
"name": "model",
"type": "MODEL"
},
{
"links": [
3389,
3392,
3419
],
"name": "positive",
"type": "CONDITIONING"
},
{
"links": [
3390,
3394,
3420
],
"name": "negative",
"type": "CONDITIONING"
},
{
"label": "mask",
"links": [
3536
],
"name": "mask1",
"type": "*"
}
],
"pos": [
-690,
-660
],
"properties": {
"cnr_id": "comfy-core",
"proxyWidgets": [],
"ver": "0.9.2"
},
"size": [
200,
150
],
"type": "757e14aa-4f52-44a3-8192-44398488d941",
"widgets_values": []
},
{
"flags": {
"collapsed": true
},
"id": 1568,
"inputs": [
{
"link": 3491,
"name": "model",
"type": "MODEL"
}
],
"mode": 0,
"order": 141,
"outputs": [
{
"links": [
3490
],
"name": "MODEL",
"type": "MODEL"
}
],
"pos": [
1060,
390
],
"properties": {
"Node name for S&R": "PathchSageAttentionKJ",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.2"
},
"size": [
380,
82
],
"type": "PathchSageAttentionKJ",
"widgets_values": [
"sageattn_qk_int8_pv_fp8_cuda++",
false
]
},
{
"flags": {
"collapsed": true
},
"id": 1600,
"inputs": [
{
"link": 3566,
"name": "clip",
"type": "CLIP"
},
{
"link": 3567,
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"mode": 0,
"order": 129,
"outputs": [
{
"links": [
3568
],
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1140,
470
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.12.0"
},
"size": [
400,
200
],
"title": "Negative",
"type": "CLIPTextEncode",
"widgets_values": [
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1599,
"inputs": [
{
"link": 3563,
"name": "clip",
"type": "CLIP"
},
{
"link": 3565,
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"mode": 0,
"order": 155,
"outputs": [
{
"links": [
3564
],
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1150,
430
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.12.0"
},
"size": [
400,
200
],
"title": "Positive",
"type": "CLIPTextEncode",
"widgets_values": [
""
]
},
{
"flags": {},
"id": 657,
"inputs": [
{
"link": 1309,
"name": "",
"type": "*"
}
],
"mode": 0,
"order": 128,
"outputs": [
{
"links": [
3569
],
"name": "CLIP",
"type": "CLIP"
}
],
"pos": [
1000,
950
],
"properties": {
"horizontal": false,
"showOutputText": true
},
"size": [
75,
26
],
"type": "Reroute"
},
{
"flags": {
"collapsed": true
},
"id": 1601,
"inputs": [
{
"link": 3569,
"name": "clip",
"type": "CLIP"
},
{
"link": 3570,
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"mode": 0,
"order": 142,
"outputs": [
{
"links": [
3571
],
"name": "CONDITIONING",
"type": "CONDITIONING"
}
],
"pos": [
1690,
980
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.12.0"
},
"size": [
400,
200
],
"title": "Conditioning positive",
"type": "CLIPTextEncode",
"widgets_values": [
""
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 1578,
"inputs": [],
"mode": 0,
"order": 56,
"outputs": [
{
"links": [
3502
],
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
},
{
"links": [
3500
],
"name": "CLIP",
"slot_index": 1,
"type": "CLIP"
},
{
"links": [],
"name": "VAE",
"slot_index": 2,
"type": "VAE"
}
],
"pos": [
-2700,
-480
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple",
"cnr_id": "comfy-core",
"ver": "0.3.67"
},
"size": [
430,
98
],
"type": "CheckpointLoaderSimple",
"widgets_values": [
"ILL\\novaFurryXL_ilV155.safetensors"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 163,
"inputs": [
{
"link": 3105,
"name": "model",
"type": "MODEL"
},
{
"link": 2680,
"name": "clip",
"shape": 7,
"type": "CLIP"
},
{
"link": null,
"name": "lora_stack",
"shape": 7,
"type": "LORA_STACK"
}
],
"mode": 0,
"order": 107,
"outputs": [
{
"links": [
3028
],
"name": "MODEL",
"type": "MODEL"
},
{
"links": [
339
],
"name": "CLIP",
"type": "CLIP"
},
{
"links": [
263
],
"name": "trigger_words",
"type": "STRING"
},
{
"links": [],
"name": "loaded_loras",
"type": "STRING"
}
],
"pos": [
-290,
380
],
"properties": {
"Node name for S&R": "Lora Loader (LoraManager)",
"aux_id": "willmiao/ComfyUI-Lora-Manager",
"cnr_id": "comfyui-lora-manager",
"ver": "0.8.3"
},
"size": [
460,
352
],
"type": "Lora Loader (LoraManager)",
"widgets_values": [
"<lora:KFT_Furropean_Extreme_IL_V2:0.60>",
[
{
"active": true,
"clipStrength": "0.60",
"expanded": false,
"locked": false,
"name": "KFT_Furropean_Extreme_IL_V2",
"strength": "0.60"
}
]
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {
"collapsed": true
},
"id": 1593,
"inputs": [],
"mode": 0,
"order": 57,
"outputs": [],
"pos": [
-2430,
-1350
],
"properties": {},
"size": [
400,
170
],
"title": "1",
"type": "Note",
"widgets_values": [
"solo, lynx, (black fur. black body:1.4), yellow eyes, flat chested, small breasts, long hair, straight hair, hair over eye, black collar"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 1250,
"inputs": [],
"mode": 0,
"order": 58,
"outputs": [
{
"links": [
3105
],
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
},
{
"links": [
3106
],
"name": "CLIP",
"slot_index": 1,
"type": "CLIP"
},
{
"links": [
3573
],
"name": "VAE",
"slot_index": 2,
"type": "VAE"
}
],
"pos": [
-900,
380
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
400,
98
],
"type": "CheckpointLoaderSimple",
"widgets_values": [
"furry-refiner-mix-11.safetensors"
]
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {
"collapsed": true
},
"id": 1571,
"inputs": [
{
"link": 3573,
"name": "VAE",
"type": "VAE"
}
],
"mode": 0,
"order": 92,
"outputs": [
{
"links": null,
"name": "*",
"type": "*"
}
],
"pos": [
-480,
470
],
"properties": {
"previousName": "VAE2"
},
"size": [
210,
50
],
"title": "Set_VAE2",
"type": "SetNode",
"widgets_values": [
"VAE2"
]
},
{
"bgcolor": "#533",
"color": "#322",
"flags": {
"collapsed": false
},
"id": 501,
"inputs": [],
"mode": 0,
"order": 59,
"outputs": [
{
"links": [
975
],
"name": "VAE",
"slot_index": 0,
"type": "VAE"
}
],
"pos": [
-2700,
-340
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
400,
58
],
"type": "VAELoader",
"widgets_values": [
"neptuniaXLILNAIVAE_contrastColors.safetensors"
]
},
{
"bgcolor": "#535",
"color": "#323",
"flags": {
"collapsed": false
},
"id": 132,
"inputs": [],
"mode": 0,
"order": 60,
"outputs": [
{
"links": [
796
],
"name": "LATENT",
"slot_index": 0,
"type": "LATENT"
}
],
"pos": [
-1310,
-1140
],
"properties": {
"Node name for S&R": "EmptyLatentImage",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
220,
106
],
"type": "EmptyLatentImage",
"widgets_values": [
1216,
832,
1
]
},
{
"bgcolor": "#353",
"color": "#232",
"flags": {
"collapsed": true
},
"id": 127,
"inputs": [
{
"link": 234,
"name": "text_a",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_a"
}
},
{
"link": 2307,
"name": "text_b",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_b"
}
},
{
"link": 2474,
"name": "text_c",
"shape": 7,
"type": "STRING",
"widget": {
"name": "text_c"
}
}
],
"mode": 0,
"order": 144,
"outputs": [
{
"links": [
3559,
3565
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
760,
390
],
"properties": {
"Node name for S&R": "StringFunction|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "9f7b3215e6af317603056a9a1666bf6e83e28835"
},
"size": [
400,
298.00000000000006
],
"type": "StringFunction|pysssss",
"widgets_values": [
"append",
"yes",
"",
"",
""
]
},
{
"flags": {
"collapsed": true
},
"id": 1562,
"inputs": [],
"mode": 0,
"order": 61,
"outputs": [
{
"links": [
3560
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
810,
550
],
"properties": {},
"size": [
210,
60
],
"title": "Get_textA",
"type": "GetNode",
"widgets_values": [
"textA"
]
},
{
"flags": {
"collapsed": true
},
"id": 1564,
"inputs": [],
"mode": 0,
"order": 62,
"outputs": [
{
"links": [
3561
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
810,
590
],
"properties": {},
"size": [
210,
60
],
"title": "Get_textB",
"type": "GetNode",
"widgets_values": [
"textB"
]
},
{
"flags": {
"collapsed": true
},
"id": 1560,
"inputs": [],
"mode": 0,
"order": 63,
"outputs": [
{
"links": [
3558
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
790,
510
],
"properties": {},
"size": [
210,
60
],
"title": "Get_setmask",
"type": "GetNode",
"widgets_values": [
"setmask"
]
},
{
"flags": {
"collapsed": true
},
"id": 1557,
"inputs": [],
"mode": 0,
"order": 64,
"outputs": [
{
"links": [
3562,
3567
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
810,
470
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
210,
300
],
"title": "Negative",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"worst quality, bad quality, grainy, noisy, render, filmgrain, logo, print, text, watermark\n\n(source_anime, source_cartoon, panels,score_1, daz_studio, blender, source_filmmaker, 3d, sfm:1.6)"
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": false
},
"id": 466,
"inputs": [
{
"link": 2647,
"name": "image",
"type": "IMAGE"
},
{
"link": 1089,
"name": "resolution",
"shape": 7,
"type": "INT",
"widget": {
"name": "resolution"
}
}
],
"mode": 4,
"order": 134,
"outputs": [
{
"links": [
2990
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
650,
-170
],
"properties": {
"Node name for S&R": "AIO_Preprocessor",
"cnr_id": "comfyui_controlnet_aux",
"ver": "1.0.7"
},
"size": [
320,
82
],
"type": "AIO_Preprocessor",
"widgets_values": [
"DepthAnythingV2Preprocessor",
1344
]
},
{
"flags": {
"collapsed": false
},
"id": 1352,
"inputs": [
{
"link": 2918,
"name": "control_net",
"type": "CONTROL_NET"
}
],
"mode": 0,
"order": 81,
"outputs": [
{
"links": [
2919
],
"name": "CONTROL_NET",
"type": "CONTROL_NET"
}
],
"pos": [
1280,
40
],
"properties": {
"Node name for S&R": "SetUnionControlNetType",
"cnr_id": "comfy-core",
"ver": "0.5.1"
},
"size": [
210,
58
],
"type": "SetUnionControlNetType",
"widgets_values": [
"segment"
]
},
{
"flags": {
"pinned": true
},
"id": 1383,
"inputs": [
{
"link": 3119,
"name": "images",
"type": "IMAGE"
},
{
"link": 3172,
"name": "block",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "block"
}
},
{
"link": 3116,
"name": "restore_mask",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "restore_mask"
}
}
],
"mode": 0,
"order": 189,
"outputs": [
{
"links": null,
"name": "IMAGE",
"type": "IMAGE"
},
{
"links": [
3013
],
"name": "MASK",
"type": "MASK"
}
],
"pos": [
1390,
-810
],
"properties": {
"Node name for S&R": "PreviewBridge",
"cnr_id": "comfyui-impact-pack",
"image": "clipspace/clipspace-painted-masked-1770302256926.png [input]",
"ver": "8.28.1"
},
"size": [
390,
490
],
"type": "PreviewBridge",
"widgets_values": [
"$1383-0",
{
"filename": "clipspace-paint-24067857.png",
"subfolder": "clipspace",
"type": "input"
},
"never"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"pinned": true
},
"id": 157,
"inputs": [
{
"link": 3537,
"name": "model",
"type": "MODEL"
},
{
"link": 215,
"name": "clip",
"shape": 7,
"type": "CLIP"
},
{
"link": null,
"name": "lora_stack",
"shape": 7,
"type": "LORA_STACK"
}
],
"mode": 0,
"order": 114,
"outputs": [
{
"links": [
3423
],
"name": "MODEL",
"type": "MODEL"
},
{
"links": [
218
],
"name": "CLIP",
"type": "CLIP"
},
{
"links": [
253
],
"name": "trigger_words",
"type": "STRING"
},
{
"links": [],
"name": "loaded_loras",
"type": "STRING"
}
],
"pos": [
-1790,
-620
],
"properties": {
"Node name for S&R": "Lora Loader (LoraManager)",
"aux_id": "willmiao/ComfyUI-Lora-Manager",
"cnr_id": "comfyui-lora-manager",
"ver": "0.8.3"
},
"size": [
440,
770
],
"type": "Lora Loader (LoraManager)",
"widgets_values": [
"<lora:Mustelid_Proportions_E21:1.00><lora:Flared_Equine_Penis_IL:0.60>",
[
{
"active": false,
"clipStrength": "1.00",
"expanded": false,
"locked": false,
"name": "Mustelid_Proportions_E21",
"strength": "1.00"
},
{
"active": true,
"clipStrength": "0.60",
"expanded": false,
"locked": false,
"name": "Flared_Equine_Penis_IL",
"strength": "0.60"
}
]
]
},
{
"flags": {},
"id": 1554,
"inputs": [
{
"link": 3451,
"name": "text",
"type": "STRING"
}
],
"mode": 0,
"order": 140,
"outputs": [
{
"links": null,
"name": "STRING",
"shape": 6,
"type": "STRING"
}
],
"pos": [
-950,
-400
],
"properties": {
"Node name for S&R": "ShowText|pysssss",
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5"
},
"size": [
210,
110
],
"type": "ShowText|pysssss",
"widgets_values": []
},
{
"flags": {},
"id": 1542,
"inputs": [],
"mode": 0,
"order": 65,
"outputs": [
{
"links": [
3471
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-1310,
-880
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
220,
88
],
"title": "Set mask",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"1 1 1 1\n1 0 0 1"
]
},
{
"bgcolor": "#575757",
"color": "#6b6b6b",
"flags": {
"pinned": true
},
"id": 1468,
"inputs": [],
"mode": 0,
"order": 66,
"outputs": [
{
"links": [
3473
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-1790,
-1030
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Text A (white)",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"horse, black body, flared_equine_penis, fl4r3ed, flaccid, stubby hooves"
]
},
{
"bgcolor": "#121212",
"color": "#262626",
"flags": {
"pinned": true
},
"id": 1490,
"inputs": [],
"mode": 0,
"order": 67,
"outputs": [
{
"links": [
3475
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-1790,
-830
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Text B (black)",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"anthro, rabbit, female, grey fur, kneeling, penis on face, wink, shy smile, flared_equine_penis, fl4r3ed, flaccid, precum"
]
},
{
"flags": {
"pinned": true
},
"id": 1167,
"inputs": [],
"mode": 0,
"order": 68,
"outputs": [
{
"links": [
2453
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
-1790,
-1230
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
440,
160
],
"title": "Default text",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"duo, outdoors, meadow, size difference, full length, rabbit"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"collapsed": false
},
"id": 1580,
"inputs": [
{
"link": 3501,
"name": "model1",
"type": "MODEL"
},
{
"link": 3502,
"name": "model2",
"type": "MODEL"
}
],
"mode": 0,
"order": 89,
"outputs": [
{
"links": [
3537
],
"name": "MODEL",
"slot_index": 0,
"type": "MODEL"
}
],
"pos": [
-2230,
-620
],
"properties": {
"Node name for S&R": "ModelMergeSimple",
"cnr_id": "comfy-core",
"ver": "0.3.67"
},
"size": [
210,
78
],
"type": "ModelMergeSimple",
"widgets_values": [
0.7
]
},
{
"flags": {
"collapsed": true
},
"id": 1323,
"inputs": [
{
"link": 2891,
"name": "image",
"type": "IMAGE"
},
{
"link": 2931,
"name": "model",
"type": "MODEL"
},
{
"link": 2942,
"name": "clip",
"type": "CLIP"
},
{
"link": 2895,
"name": "vae",
"type": "VAE"
},
{
"link": 2934,
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 2937,
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 2894,
"name": "bbox_detector",
"type": "BBOX_DETECTOR"
},
{
"link": null,
"name": "sam_model_opt",
"shape": 7,
"type": "SAM_MODEL"
},
{
"link": 2893,
"name": "segm_detector_opt",
"shape": 7,
"type": "SEGM_DETECTOR"
},
{
"link": null,
"name": "detailer_hook",
"shape": 7,
"type": "DETAILER_HOOK"
},
{
"link": null,
"name": "scheduler_func_opt",
"shape": 7,
"type": "SCHEDULER_FUNC"
}
],
"mode": 0,
"order": 191,
"outputs": [
{
"links": [
3125
],
"name": "image",
"type": "IMAGE"
},
{
"links": null,
"name": "cropped_refined",
"shape": 6,
"type": "IMAGE"
},
{
"links": null,
"name": "cropped_enhanced_alpha",
"shape": 6,
"type": "IMAGE"
},
{
"links": null,
"name": "mask",
"type": "MASK"
},
{
"links": null,
"name": "detailer_pipe",
"type": "DETAILER_PIPE"
},
{
"links": null,
"name": "cnet_images",
"shape": 6,
"type": "IMAGE"
}
],
"pos": [
190,
-620
],
"properties": {
"Node name for S&R": "FaceDetailer",
"cnr_id": "comfyui-impact-pack",
"ver": "8.28.0"
},
"size": [
320,
1168
],
"title": "Detailer",
"type": "FaceDetailer",
"widgets_values": [
512,
true,
1024,
0,
"fixed",
20,
2.3,
"euler_ancestral",
"normal",
0.5,
5,
true,
true,
0.5,
10,
3,
"center-1",
0,
0.93,
0,
0.7,
"False",
10,
"",
1,
false,
20,
false,
false
]
},
{
"flags": {
"collapsed": true
},
"id": 1582,
"inputs": [],
"mode": 0,
"order": 69,
"outputs": [
{
"links": [
3509
],
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL"
}
],
"pos": [
3080,
0
],
"properties": {
"Node name for S&R": "UpscaleModelLoader",
"cnr_id": "comfy-core",
"ver": "0.10.0"
},
"size": [
270,
60
],
"type": "UpscaleModelLoader",
"widgets_values": [
"4x_NMKD-Siax_200k.pth"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {
"collapsed": false
},
"id": 1337,
"inputs": [],
"mode": 0,
"order": 70,
"outputs": [
{
"links": [
3175
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
-1070,
-860
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.44"
},
"size": [
210,
58
],
"title": "Face detailer",
"type": "PrimitiveBoolean",
"widgets_values": [
false
]
},
{
"bgcolor": "#355",
"color": "#233",
"flags": {},
"id": 1540,
"inputs": [],
"mode": 0,
"order": 71,
"outputs": [
{
"links": [
3435
],
"name": "INT",
"type": "INT"
}
],
"pos": [
-1310,
-1000
],
"properties": {
"Node name for S&R": "PrimitiveInt",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"size": [
220,
82
],
"title": "Seed",
"type": "PrimitiveInt",
"widgets_values": [
62,
"fixed"
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 1023,
"inputs": [],
"mode": 0,
"order": 72,
"outputs": [
{
"links": [
3143
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
-1070,
-1060
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"size": [
210,
60
],
"title": "Hires Fix",
"type": "PrimitiveBoolean",
"widgets_values": [
true
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 880,
"inputs": [],
"mode": 0,
"order": 73,
"outputs": [
{
"links": [
3149
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
-1070,
-960
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.42"
},
"size": [
210,
60
],
"title": "Refine",
"type": "PrimitiveBoolean",
"widgets_values": [
true
]
},
{
"flags": {
"collapsed": true
},
"id": 1598,
"inputs": [
{
"link": 3556,
"name": "model",
"type": "MODEL"
},
{
"label": "clip",
"link": 3557,
"name": "_5",
"type": "*"
},
{
"label": "set mask",
"link": 3558,
"name": "",
"type": "*"
},
{
"label": "default text",
"link": 3559,
"name": "_1",
"type": "*"
},
{
"label": "text A",
"link": 3560,
"name": "_2",
"type": "*"
},
{
"label": "text B",
"link": 3561,
"name": "_3",
"type": "*"
},
{
"label": "negative text",
"link": 3562,
"name": "_4",
"type": "*"
}
],
"mode": 0,
"order": 154,
"outputs": [
{
"links": [
3551
],
"name": "model",
"type": "MODEL"
},
{
"links": [
3552,
3553
],
"name": "positive",
"type": "CONDITIONING"
},
{
"links": [
3554,
3555
],
"name": "negative",
"type": "CONDITIONING"
},
{
"label": "mask",
"links": [],
"name": "mask1",
"type": "*"
}
],
"pos": [
1090,
340
],
"properties": {
"cnr_id": "comfy-core",
"proxyWidgets": [],
"ver": "0.9.2"
},
"size": [
200,
150
],
"type": "9952c8b4-3d8a-4d68-9645-f2aaba5a1a2a",
"widgets_values": []
},
{
"bgcolor": "#29699c",
"color": "#1b4669",
"flags": {},
"id": 1456,
"inputs": [],
"mode": 0,
"order": 74,
"outputs": [
{
"links": [
3202,
3203
],
"name": "value",
"type": "INT"
}
],
"pos": [
1770,
-120
],
"properties": {
"Node name for S&R": "INTConstant",
"cnr_id": "comfyui-kjnodes",
"ver": "1.2.3"
},
"size": [
210,
58
],
"title": "Switch step",
"type": "INTConstant",
"widgets_values": [
2
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 78,
"inputs": [
{
"link": 109,
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 110,
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 2917,
"name": "control_net",
"type": "CONTROL_NET"
},
{
"link": 2168,
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"name": "vae",
"shape": 7,
"type": "VAE"
}
],
"mode": 0,
"order": 181,
"outputs": [
{
"links": [
3047
],
"name": "positive",
"slot_index": 0,
"type": "CONDITIONING"
},
{
"links": [
3048
],
"name": "negative",
"slot_index": 1,
"type": "CONDITIONING"
}
],
"pos": [
1530,
370
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
186
],
"type": "ControlNetApplyAdvanced",
"widgets_values": [
0.8,
0,
0.95
]
},
{
"bgcolor": "#335",
"color": "#223",
"flags": {},
"id": 915,
"inputs": [],
"mode": 0,
"order": 75,
"outputs": [
{
"links": [
2586
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
1680,
680
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"size": [
210,
60
],
"title": "Inpaint",
"type": "PrimitiveBoolean",
"widgets_values": [
true
]
},
{
"bgcolor": "#3f5159",
"color": "#2a363b",
"flags": {
"collapsed": false
},
"id": 1233,
"inputs": [
{
"link": 2646,
"name": "image",
"type": "IMAGE"
}
],
"mode": 0,
"order": 86,
"outputs": [
{
"links": [
2644
],
"name": "IMAGE",
"type": "IMAGE"
}
],
"pos": [
1570,
1580
],
"properties": {
"Node name for S&R": "AIO_Preprocessor",
"cnr_id": "comfyui_controlnet_aux",
"ver": "1.0.7"
},
"size": [
320,
82
],
"type": "AIO_Preprocessor",
"widgets_values": [
"LineArtPreprocessor",
1024
]
},
{
"flags": {},
"id": 1354,
"inputs": [
{
"link": 3482,
"name": "control_net",
"type": "CONTROL_NET"
}
],
"mode": 0,
"order": 103,
"outputs": [
{
"links": [
2929
],
"name": "CONTROL_NET",
"type": "CONTROL_NET"
}
],
"pos": [
1980,
980
],
"properties": {
"Node name for S&R": "SetUnionControlNetType",
"cnr_id": "comfy-core",
"ver": "0.5.1"
},
"size": [
260,
58
],
"type": "SetUnionControlNetType",
"widgets_values": [
"canny/lineart/anime_lineart/mlsd"
]
},
{
"flags": {},
"id": 1391,
"inputs": [
{
"link": 3012,
"name": "images",
"type": "IMAGE"
}
],
"mode": 0,
"order": 113,
"outputs": [],
"pos": [
2310,
1010
],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.6.0"
},
"size": [
210,
246.0000000000001
],
"type": "PreviewImage",
"widgets_values": []
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 1417,
"inputs": [],
"mode": 0,
"order": 76,
"outputs": [
{
"links": [
3095
],
"name": "BOOLEAN",
"type": "BOOLEAN"
}
],
"pos": [
1680,
880
],
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"size": [
210,
58
],
"title": "Masked only",
"type": "PrimitiveBoolean",
"widgets_values": [
true
]
},
{
"flags": {
"collapsed": false
},
"id": 1185,
"inputs": [],
"mode": 0,
"order": 77,
"outputs": [
{
"links": [
3570
],
"name": "STRING",
"type": "STRING"
}
],
"pos": [
1340,
680
],
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.3.48"
},
"size": [
310,
260
],
"title": "Inpaint prompt",
"type": "PrimitiveStringMultiline",
"widgets_values": [
"rabbit, white fur, white feet, white paws, fluffy paws"
]
},
{
"flags": {
"collapsed": false
},
"id": 482,
"inputs": [
{
"link": 3009,
"name": "image",
"type": "IMAGE"
},
{
"link": 3010,
"name": "mask",
"type": "MASK"
},
{
"link": 2644,
"name": "controlnet_image",
"shape": 7,
"type": "IMAGE"
},
{
"link": 3095,
"name": "inpaint_masked",
"type": "BOOLEAN",
"widget": {
"name": "inpaint_masked"
}
}
],
"mode": 0,
"order": 105,
"outputs": [
{
"links": [
908
],
"name": "inpaint_image",
"type": "IMAGE"
},
{
"links": [
1027
],
"name": "inpaint_mask",
"type": "MASK"
},
{
"links": [
1423,
3011
],
"name": "overlay_image",
"type": "IMAGE"
},
{
"links": [
1424
],
"name": "crop_region",
"type": "CROP_REGION"
},
{
"links": [
2228,
3012
],
"name": "controlnet_image",
"type": "IMAGE"
}
],
"pos": [
1980,
700
],
"properties": {
"Node name for S&R": "PrepareImageAndMaskForInpaint",
"aux_id": "m0rtus59/comfyui-art-venture",
"cnr_id": "comfyui-art-venture",
"ver": "1.0.7"
},
"size": [
260.0103515625,
234
],
"type": "PrepareImageAndMaskForInpaint",
"widgets_values": [
2,
false,
400,
1024,
1024
]
},
{
"bgcolor": "#653",
"color": "#432",
"flags": {},
"id": 1008,
"inputs": [
{
"link": 3141,
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 2235,
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 2929,
"name": "control_net",
"type": "CONTROL_NET"
},
{
"link": 2228,
"name": "image",
"type": "IMAGE"
},
{
"link": null,
"name": "vae",
"shape": 7,
"type": "VAE"
}
],
"mode": 0,
"order": 193,
"outputs": [
{
"links": [
2229
],
"name": "positive",
"slot_index": 0,
"type": "CONDITIONING"
},
{
"links": [
2230
],
"name": "negative",
"slot_index": 1,
"type": "CONDITIONING"
}
],
"pos": [
2310,
790
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"size": [
210,
186
],
"type": "ControlNetApplyAdvanced",
"widgets_values": [
0.8,
0,
1
]
},
{
"flags": {},
"id": 480,
"inputs": [
{
"link": 3468,
"name": "model",
"type": "MODEL"
},
{
"link": 910,
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 911,
"name": "negative",
"type": "CONDITIONING"
},
{
"link": 912,
"name": "latent_image",
"type": "LATENT"
}
],
"mode": 0,
"order": 201,
"outputs": [
{
"links": [
987
],
"name": "LATENT",
"type": "LATENT"
}
],
"pos": [
2840,
550
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.40"
},
"size": [
220,
510
],
"type": "KSampler",
"widgets_values": [
1239,
"fixed",
12,
3,
"euler_ancestral",
"beta",
1
]
}
],
"revision": 0,
"version": 0.4
}