diff --git a/public/workflows/defaultWorkflow.json b/public/workflows/defaultWorkflow.json index 1e89326..db0fd84 100644 --- a/public/workflows/defaultWorkflow.json +++ b/public/workflows/defaultWorkflow.json @@ -1,11 +1,8 @@ { + "comfyBoxWorkflow": true, "createdBy": "ComfyBox", "version": 1, - "attrs": { - "title": "Default", - "queuePromptButtonName": "Queue txt2img", - "queuePromptButtonRunWorkflow": false - }, + "commitHash": "test", "workflow": { "last_node_id": 0, "last_link_id": 0, @@ -57,7 +54,7 @@ 126 ], "flags": {}, - "order": 46, + "order": 52, "mode": 0, "inputs": [ { @@ -101,8 +98,9 @@ "properties": { "tags": [], "defaultValue": null, - "index": null, - "updateMode": "append" + "index": 8, + "updateMode": "append", + "autoSelectOnUpdate": true }, "widgets_values": [], "color": "#223", @@ -159,7 +157,7 @@ "flags": { "collapsed": false }, - "order": 17, + "order": 20, "mode": 0, "inputs": [ { @@ -369,7 +367,7 @@ "flags": { "collapsed": true }, - "order": 19, + "order": 22, "mode": 0, "inputs": [ { @@ -466,7 +464,9 @@ "properties": { "tags": [], "defaultValue": "ComfyUI", - "multiline": false + "multiline": false, + "lines": 5, + "maxLines": 5 }, "widgets_values": [ "ComfyUI" @@ -489,7 +489,7 @@ 150 ], "flags": {}, - "order": 22, + "order": 27, "mode": 0, "inputs": [ { @@ -551,7 +551,7 @@ "flags": { "collapsed": false }, - "order": 37, + "order": 43, "mode": 0, "inputs": [ { @@ -676,7 +676,7 @@ "flags": { "collapsed": true }, - "order": 32, + "order": 38, "mode": 0, "inputs": [ { @@ -739,7 +739,7 @@ "flags": { "collapsed": false }, - "order": 27, + "order": 33, "mode": 0, "inputs": [ { @@ -850,7 +850,7 @@ 150 ], "flags": {}, - "order": 28, + "order": 34, "mode": 0, "inputs": [ { @@ -909,7 +909,7 @@ "flags": { "collapsed": false }, - "order": 42, + "order": 48, "mode": 0, "inputs": [ { @@ -944,66 +944,6 @@ "tags": [] } }, - { - "id": "1ea393e8-e55a-4492-93fd-ce65a0b63084", - "type": "ui/gallery", - "pos": [ - 3559, - 327 - ], - "size": [ - 210, - 126 - ], - "flags": {}, - "order": 54, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "OUTPUT", - "link": null, - "properties": {} - }, - { - "name": "store", - "type": -1, - "link": "7568e1d6-8f0c-491e-91a0-fc0b933ea0b0", - "properties": {}, - "color_off": "rebeccapurple", - "color_on": "rebeccapurple", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "images", - "type": "COMFYBOX_IMAGES", - "links": [], - "properties": {} - }, - { - "name": "selected_index", - "type": "number", - "links": [], - "properties": {} - } - ], - "title": "UI.Gallery", - "properties": { - "tags": [], - "defaultValue": null, - "index": null, - "updateMode": "append" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": [], - "shownOutputProperties": {}, - "saveUserState": false - }, { "id": "0b071e6c-f765-4e31-8125-8c057cddc865", "type": "events/sequence", @@ -1018,7 +958,7 @@ "flags": { "collapsed": true }, - "order": 51, + "order": 58, "mode": 0, "inputs": [ { @@ -1124,7 +1064,7 @@ 46 ], "flags": {}, - "order": 50, + "order": 57, "mode": 0, "inputs": [ { @@ -1179,11 +1119,11 @@ 200 ], "size": [ - 40, + 60, 30 ], "flags": {}, - "order": 39, + "order": 45, "mode": 0, "inputs": [ { @@ -1219,11 +1159,11 @@ 544 ], "size": [ - 40, + 60, 30 ], "flags": {}, - "order": 23, + "order": 28, "mode": 0, "inputs": [ { @@ -1260,11 +1200,11 @@ 544 ], "size": [ - 40, + 60, 30 ], "flags": {}, - "order": 29, + "order": 35, "mode": 0, "inputs": [ { @@ -1371,11 +1311,11 @@ "precision": 0 }, "widgets_values": [ - "8.000" + "7.000" ], "color": "#223", "bgColor": "#335", - "comfyValue": 8, + "comfyValue": 7, "shownOutputProperties": { "min": { "type": "number", @@ -1520,11 +1460,11 @@ 230 ], "size": [ - 40, + 60, 30 ], "flags": {}, - "order": 41, + "order": 47, "mode": 0, "inputs": [ { @@ -1564,7 +1504,7 @@ 46 ], "flags": {}, - "order": 33, + "order": 39, "mode": 0, "inputs": [ { @@ -1621,7 +1561,7 @@ "flags": { "collapsed": true }, - "order": 38, + "order": 44, "mode": 0, "inputs": [ { @@ -1678,11 +1618,11 @@ 108 ], "size": [ - 40, + 60, 30 ], "flags": {}, - "order": 30, + "order": 36, "mode": 0, "inputs": [ { @@ -1711,80 +1651,6 @@ ] } }, - { - "id": "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", - "type": "image/pick_image", - "pos": [ - 2485, - 323 - ], - "size": [ - 210, - 190 - ], - "flags": {}, - "order": 47, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "COMFYBOX_IMAGES,COMFYBOX_IMAGE", - "link": "c4ff06f7-3f0a-475b-9d14-48d639bdfdda", - "properties": {} - }, - { - "name": "index", - "type": "number", - "link": "ca9c18cc-dfe1-4b64-bbaa-9666f11d6e6d", - "properties": {} - } - ], - "outputs": [ - { - "name": "image", - "type": "COMFYBOX_IMAGE", - "links": [ - "ba66d9be-19c3-4da8-84e0-823ef35f7f32" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "filename", - "type": "string", - "links": [ - "02e201d5-1d1e-4340-abd9-85c512cd03e7" - ], - "properties": {}, - "slot_index": 1 - }, - { - "name": "width", - "type": "number", - "links": [ - "9eed80a4-a47d-48c6-9c8a-63b5fb8026f8" - ], - "properties": {}, - "slot_index": 2 - }, - { - "name": "height", - "type": "number", - "links": [ - "3f5990c7-4b08-4d41-9a46-9a44073eb5e6" - ], - "properties": {}, - "slot_index": 3 - } - ], - "title": "Comfy.PickImage", - "properties": { - "tags": [ - "hr" - ] - }, - "saveUserState": true - }, { "id": "bbf920e2-f9ee-4778-aa0f-78eb203737e6", "type": "actions/set_prompt_thumbnails", @@ -1799,7 +1665,7 @@ "flags": { "collapsed": true }, - "order": 48, + "order": 54, "mode": 0, "inputs": [ { @@ -1828,11 +1694,11 @@ 576 ], "size": [ - 40, + 60, 30 ], "flags": {}, - "order": 26, + "order": 32, "mode": 0, "inputs": [ { @@ -1869,11 +1735,11 @@ 576 ], "size": [ - 40, + 60, 30 ], "flags": {}, - "order": 21, + "order": 26, "mode": 0, "inputs": [ { @@ -1916,7 +1782,7 @@ "flags": { "collapsed": false }, - "order": 20, + "order": 25, "mode": 0, "inputs": [ { @@ -6056,49 +5922,6 @@ "last_node_id": 0, "last_link_id": 0, "nodes": [ - { - "id": "7c62e438-5ffa-4d31-b482-5c1ac9222ca7", - "type": "ui/button", - "pos": [ - -79, - 33 - ], - "size": [ - 210, - 58 - ], - "flags": { - "collapsed": true - }, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "82ea60e9-cbdf-4709-b180-737a6ccdb27d" - ], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.Button", - "properties": { - "tags": [], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, { "id": "709130e3-8b92-4b0e-9e8d-b3f5afc6ac42", "type": "LoraLoader", @@ -6209,7 +6032,7 @@ "flags": { "collapsed": true }, - "order": 1, + "order": 0, "mode": 0, "inputs": [ { @@ -6252,40 +6075,6 @@ "shownOutputProperties": {}, "saveUserState": false }, - { - "id": "f1bb6a97-3cad-476a-8b4c-99e3deb2db58", - "type": "basic/integer", - "pos": [ - -47, - -3 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "b872b4ee-9934-40b6-9536-010d452d38b7" - ], - "properties": {}, - "label": "0" - } - ], - "title": "Const Integer", - "properties": { - "value": 0, - "tags": [] - } - }, { "id": "8be3a5c8-4924-4505-ad62-fbcb75566a50", "type": "graph/input", @@ -6300,7 +6089,7 @@ "flags": { "collapsed": true }, - "order": 3, + "order": 1, "mode": 0, "inputs": [], "outputs": [ @@ -6336,7 +6125,7 @@ "flags": { "collapsed": true }, - "order": 4, + "order": 2, "mode": 0, "inputs": [], "outputs": [ @@ -6359,159 +6148,77 @@ } }, { - "id": "d64b9c85-c1d2-481f-876d-84b1b07cb535", - "type": "events/no_change", + "id": "90ae7df5-1196-44d5-a19e-e62574eabadb", + "type": "graph/output", "pos": [ - -39.19793701171875, - 87.5 - ], - "size": [ - 159.6, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 16, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "10524528-0d3a-48e0-b26c-1cada6f575fa", - "properties": {}, - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "4287eb93-63bb-4ac0-ab6d-ab557117bc9b" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.NoChangeEvent", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "b84ad46f-1562-48c0-87d3-322a1e90d035", - "type": "ui/number", - "pos": [ - 287, - 89 + 592, + 22 ], "size": [ 210, - 158 + 62 ], "flags": { "collapsed": true }, - "order": 13, + "order": 12, "mode": 0, "inputs": [ { - "name": "store", - "type": -1, - "link": "db5017e2-6b8e-4b8b-8990-1b05e03f439d", - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "883bc754-34f8-46ad-b3ba-24a8d1437ccd" - ], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [ - "87f97437-9a22-48d8-b589-e6b06b0ba9ac" - ], - "properties": {}, - "shape": 1, - "slot_index": 1 - }, - { - "name": "@min", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@max", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@step", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@precision", - "type": "number", - "links": [], + "name": "", + "type": "MODEL", + "link": "020092a1-a272-45c5-8601-132437636698", "properties": {} } ], - "title": "UI.Number", + "outputs": [], + "title": "Output", "properties": { - "tags": [], - "defaultValue": 1, - "min": -2, - "max": 2, - "step": 0.05, - "precision": 0 - }, - "widgets_values": [ - "0.000" + "name": "MODEL", + "type": "MODEL", + "subgraphID": "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + "tags": [] + } + }, + { + "id": "4b98119a-5f10-4eaf-8870-a1d7857c4a5a", + "type": "graph/output", + "pos": [ + 600, + 50 ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 0, - "shownOutputProperties": { - "min": { - "type": "number", - "outputName": "@min" - }, - "max": { - "type": "number", - "outputName": "@max" - }, - "step": { - "type": "number", - "outputName": "@step" - }, - "precision": { - "type": "number", - "outputName": "@precision" - } + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true }, - "saveUserState": true + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "CLIP", + "link": "780dffb0-2edf-46ea-b978-366eae8a0d9a", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "CLIP", + "type": "CLIP", + "subgraphID": "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + "tags": [] + } }, { "id": "2bf6bc8d-3caf-4233-94d5-e7d2dc0b043c", "type": "ui/number", "pos": [ - 281, - 111 + 289, + 105 ], "size": [ 210, @@ -6526,7 +6233,7 @@ { "name": "store", "type": -1, - "link": "cdd8dc72-c0ed-49b4-adb0-77befc09e6bc", + "link": "1a82ddaf-2e3c-456c-9e96-7c20d25c8570", "properties": {}, "shape": 1 } @@ -6610,126 +6317,12 @@ }, "saveUserState": true }, - { - "id": "72c96d73-2fd3-46da-846b-f0092f6d8b13", - "type": "events/wrap_as_event", - "pos": [ - 39, - 28 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "trigger", - "type": -1, - "link": "82ea60e9-cbdf-4709-b180-737a6ccdb27d", - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "param", - "type": "", - "link": "b872b4ee-9934-40b6-9536-010d452d38b7", - "properties": {}, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "event", - "type": -2, - "links": [ - "107ef789-a408-49a3-814c-cc9632b345a0", - "2e20d887-2278-49dc-a083-e784c023301c" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - } - ], - "title": "Wrap As Event", - "properties": { - "tags": [] - } - }, - { - "id": "fd34a168-c8d3-4374-bc1c-b82ee690bde4", - "type": "events/sequence", - "pos": [ - 153, - 112 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 17, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "107ef789-a408-49a3-814c-cc9632b345a0", - "properties": {}, - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "109d2dd7-da1f-47ff-9cd6-b690ef69409f", - "properties": {}, - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "cdd8dc72-c0ed-49b4-adb0-77befc09e6bc" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, { "id": "2912d638-5a69-45cb-a8d2-2a40f7a2f249", "type": "events/sequence", "pos": [ - 159, - 86 + 152, + 104 ], "size": [ 140, @@ -6768,7 +6361,7 @@ "name": "", "type": -2, "links": [ - "db5017e2-6b8e-4b8b-8990-1b05e03f439d" + "1a82ddaf-2e3c-456c-9e96-7c20d25c8570" ], "properties": {}, "shape": 1, @@ -6787,12 +6380,223 @@ "tags": [] } }, + { + "id": "b84ad46f-1562-48c0-87d3-322a1e90d035", + "type": "ui/number", + "pos": [ + 286, + 81 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "a89e379b-80e9-4a3d-9c57-098776a6760f", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "883bc754-34f8-46ad-b3ba-24a8d1437ccd" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "87f97437-9a22-48d8-b589-e6b06b0ba9ac" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": -2, + "max": 2, + "step": 0.05, + "precision": 0 + }, + "widgets_values": [ + "0.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "fd34a168-c8d3-4374-bc1c-b82ee690bde4", + "type": "events/sequence", + "pos": [ + 155, + 75 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "107ef789-a408-49a3-814c-cc9632b345a0", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "109d2dd7-da1f-47ff-9cd6-b690ef69409f", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "a89e379b-80e9-4a3d-9c57-098776a6760f" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "d64b9c85-c1d2-481f-876d-84b1b07cb535", + "type": "events/no_change", + "pos": [ + -41, + 106 + ], + "size": [ + 159.6, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "10524528-0d3a-48e0-b26c-1cada6f575fa", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "4287eb93-63bb-4ac0-ab6d-ab557117bc9b" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.NoChangeEvent", + "properties": { + "tags": [] + }, + "saveUserState": true + }, { "id": "baa2c45d-fffc-49ca-ab47-7dec99a2f14f", "type": "events/no_change", "pos": [ - -36, - 111 + -43, + 76 ], "size": [ 159.6, @@ -6835,8 +6639,8 @@ "id": "c3bc49f7-c792-414a-8207-9e4103088d1b", "type": "events/branch", "pos": [ - -165, - 87 + -145, + 76 ], "size": [ 140, @@ -6892,8 +6696,8 @@ "id": "6714ad66-8172-47e8-b79c-f52e9c935451", "type": "events/branch", "pos": [ - -160, - 112 + -149, + 106 ], "size": [ 140, @@ -6948,8 +6752,8 @@ "id": "d95736af-4c15-4d13-a219-96ef42f7a28d", "type": "graph/input", "pos": [ - -315, - 100 + -284, + 98 ], "size": [ 210, @@ -6958,7 +6762,7 @@ "flags": { "collapsed": true }, - "order": 5, + "order": 3, "mode": 0, "inputs": [], "outputs": [ @@ -6983,68 +6787,130 @@ } }, { - "id": "90ae7df5-1196-44d5-a19e-e62574eabadb", - "type": "graph/output", + "id": "f1bb6a97-3cad-476a-8b4c-99e3deb2db58", + "type": "basic/integer", "pos": [ - 592, - 22 + -132.79999999999995, + 27.600000000000016 ], "size": [ 210, - 62 + 38 ], "flags": { "collapsed": true }, - "order": 12, + "order": 4, "mode": 0, - "inputs": [ + "inputs": [], + "outputs": [ { - "name": "", - "type": "MODEL", - "link": "020092a1-a272-45c5-8601-132437636698", - "properties": {} + "name": "value", + "type": "number", + "links": [ + "b872b4ee-9934-40b6-9536-010d452d38b7" + ], + "properties": {}, + "label": "0" } ], - "outputs": [], - "title": "Output", + "title": "Const Integer", "properties": { - "name": "MODEL", - "type": "MODEL", - "subgraphID": "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + "value": 0, "tags": [] } }, { - "id": "4b98119a-5f10-4eaf-8870-a1d7857c4a5a", - "type": "graph/output", + "id": "7c62e438-5ffa-4d31-b482-5c1ac9222ca7", + "type": "ui/button", "pos": [ - 600, - 50 + -75.79999999999998, + -6.3999999999999995 ], "size": [ 210, - 62 + 58 ], "flags": { "collapsed": true }, - "order": 9, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "82ea60e9-cbdf-4709-b180-737a6ccdb27d" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Button", + "properties": { + "tags": [], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "72c96d73-2fd3-46da-846b-f0092f6d8b13", + "type": "events/wrap_as_event", + "pos": [ + -60, + 26 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 6, "mode": 0, "inputs": [ { - "name": "", - "type": "CLIP", - "link": "780dffb0-2edf-46ea-b978-366eae8a0d9a", - "properties": {} + "name": "trigger", + "type": -1, + "link": "82ea60e9-cbdf-4709-b180-737a6ccdb27d", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "param", + "type": "", + "link": "b872b4ee-9934-40b6-9536-010d452d38b7", + "properties": {}, + "slot_index": 1 } ], - "outputs": [], - "title": "Output", + "outputs": [ + { + "name": "event", + "type": -2, + "links": [ + "107ef789-a408-49a3-814c-cc9632b345a0", + "2e20d887-2278-49dc-a083-e784c023301c" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Wrap As Event", "properties": { - "name": "CLIP", - "type": "CLIP", - "subgraphID": "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", "tags": [] } } @@ -7203,18 +7069,18 @@ -1 ], [ - "db5017e2-6b8e-4b8b-8990-1b05e03f439d", + "1a82ddaf-2e3c-456c-9e96-7c20d25c8570", "2912d638-5a69-45cb-a8d2-2a40f7a2f249", 0, - "b84ad46f-1562-48c0-87d3-322a1e90d035", + "2bf6bc8d-3caf-4233-94d5-e7d2dc0b043c", 0, -1 ], [ - "cdd8dc72-c0ed-49b4-adb0-77befc09e6bc", + "a89e379b-80e9-4a3d-9c57-098776a6760f", "fd34a168-c8d3-4374-bc1c-b82ee690bde4", 0, - "2bf6bc8d-3caf-4233-94d5-e7d2dc0b043c", + "b84ad46f-1562-48c0-87d3-322a1e90d035", 0, -1 ] @@ -7740,11 +7606,11 @@ "precision": 0 }, "widgets_values": [ - "1.000" + "0.000" ], "color": "#223", "bgColor": "#335", - "comfyValue": 1, + "comfyValue": 0, "shownOutputProperties": { "min": { "type": "number", @@ -7844,11 +7710,11 @@ "precision": 0 }, "widgets_values": [ - "1.000" + "0.000" ], "color": "#223", "bgColor": "#335", - "comfyValue": 1, + "comfyValue": 0, "shownOutputProperties": { "min": { "type": "number", @@ -8789,7 +8655,7 @@ "flags": { "collapsed": false }, - "order": 25, + "order": 31, "mode": 0, "inputs": [ { @@ -9071,7 +8937,9 @@ "properties": { "tags": [], "defaultValue": "", - "multiline": true + "multiline": true, + "lines": 5, + "maxLines": 5 }, "widgets_values": [ "masterpiece, hyper detailed background, 1girl, cowboy shot, solo, a fluffy corgi girl wearing sunglasses, dark theme, baggy nylon jacket, gyaru, cyberpunk, airy, futuristic city, animal ear fluff, animal ears, smile, v, trees, leaves, nature, forest, overgrowth" @@ -9171,7 +9039,9 @@ "properties": { "tags": [], "defaultValue": "", - "multiline": true + "multiline": true, + "lines": 5, + "maxLines": 5 }, "widgets_values": [ "lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, worst quality, low quality, normal quality, wide shot, jpeg artifacts, signature, watermark, username, blurry, deformed, disfigured, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, out of focus, long neck, long body, fuzzy, abstract" @@ -9247,11 +9117,11 @@ 193 ], "size": [ - 40, + 60, 30 ], "flags": {}, - "order": 34, + "order": 40, "mode": 0, "inputs": [ { @@ -9287,11 +9157,11 @@ 219 ], "size": [ - 40, + 60, 30 ], "flags": {}, - "order": 36, + "order": 42, "mode": 0, "inputs": [ { @@ -9328,11 +9198,11 @@ 125 ], "size": [ - 40, + 60, 30 ], "flags": {}, - "order": 24, + "order": 30, "mode": 0, "inputs": [ { @@ -9406,7 +9276,7 @@ 46 ], "flags": {}, - "order": 40, + "order": 46, "mode": 0, "inputs": [ { @@ -9467,7 +9337,7 @@ "flags": { "collapsed": true }, - "order": 44, + "order": 50, "mode": 0, "inputs": [ { @@ -9540,7 +9410,7 @@ "flags": { "collapsed": true }, - "order": 45, + "order": 51, "mode": 0, "inputs": [ { @@ -9581,7 +9451,7 @@ "flags": { "collapsed": true }, - "order": 52, + "order": 59, "mode": 0, "inputs": [ { @@ -9688,7 +9558,7 @@ "flags": { "collapsed": true }, - "order": 53, + "order": 60, "mode": 0, "inputs": [ { @@ -9716,738 +9586,6 @@ }, "saveUserState": true }, - { - "id": "928a13d8-cfc6-417e-9088-53503efb1cd3", - "type": "events/sequence", - "pos": [ - 2071, - 363 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 43, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "eeb1dfa6-eaaa-4ba6-b2a6-b13ae69c3462", - "properties": {}, - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "27e9b2c9-72c5-48b0-aa80-2646590d8c2b", - "properties": {}, - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "0f1bc87b-d1d6-4c04-be03-699eb7d1ab2a" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "438b9e76-5a39-4e3c-a1e0-0cd338d34518", - "type": "graph/subgraph", - "pos": [ - 164, - 127 - ], - "size": [ - 200, - 70 - ], - "flags": {}, - "order": 16, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - "857760be-9202-4c7f-84a2-465ee7e0ee21" - ], - "properties": {} - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - "39f6a12b-1267-45b5-adce-9160d1378c6d" - ], - "properties": {}, - "slot_index": 1 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - "f26f80aa-abf3-403f-b83e-f2f92e99d0d8", - "49b7145b-029e-471d-860d-cd17ea3fc5d1" - ], - "properties": {}, - "slot_index": 2 - } - ], - "title": "Model Loader", - "properties": { - "enabled": true, - "tags": [ - "gen", - "hr" - ] - }, - "color": "#2a363b", - "bgColor": "#3f5159", - "subgraph": { - "last_node_id": 0, - "last_link_id": 0, - "nodes": [ - { - "id": "56becd49-01fc-4cdd-9726-515db368471c", - "type": "ui/combo", - "pos": [ - 0, - 24 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 0, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "05616b4c-366b-43ee-b328-06a4adf48a51" - ], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.Combo", - "properties": { - "tags": [], - "defaultValue": null, - "values": [], - "convertValueToLabelCode": "" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": "A", - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "ed3226fd-e572-4a07-8923-a610cc3dddae", - "type": "graph/output", - "pos": [ - 739.19, - -31 - ], - "size": [ - 210, - 62 - ], - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "MODEL", - "link": "49f2f7fa-4c17-475d-a642-556dd939acc0", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "MODEL", - "type": "MODEL", - "subgraphID": "438b9e76-5a39-4e3c-a1e0-0cd338d34518", - "tags": [] - } - }, - { - "id": "19f3dedf-e18d-4969-9810-f37e7f6a3e2e", - "type": "graph/output", - "pos": [ - 739.19, - 51 - ], - "size": [ - 210, - 62 - ], - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "CLIP", - "link": "16db93f3-d0f4-4124-91aa-9d4c53126901", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "CLIP", - "type": "CLIP", - "subgraphID": "438b9e76-5a39-4e3c-a1e0-0cd338d34518", - "tags": [] - } - }, - { - "id": "3a7fb51e-6229-4db0-80f6-ebfc8bb880fa", - "type": "graph/output", - "pos": [ - 740, - 138 - ], - "size": [ - 210, - 62 - ], - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "VAE", - "link": "3803fc4e-8e09-421c-a421-a080895a87b4", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "VAE", - "type": "VAE", - "subgraphID": "438b9e76-5a39-4e3c-a1e0-0cd338d34518", - "tags": [] - } - }, - { - "id": "4c3ba829-f067-4c75-b468-d8b1a0ad3f11", - "type": "ui/combo", - "pos": [ - 4, - -47 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 1, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "ddd49443-27df-4d25-8d80-52ad9e650021" - ], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.Combo", - "properties": { - "tags": [ - "useInternalVae" - ], - "defaultValue": null, - "values": [], - "convertValueToLabelCode": "" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": "A", - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "b9759212-cb72-4c03-b14b-5de6c0670a85", - "type": "ui/checkbox", - "pos": [ - -301, - 122 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": false - }, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "boolean", - "links": [ - "3a2bc48e-7033-4df8-8f21-df0cc8bab379" - ], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [ - "45917191-be6a-437f-a4fd-ca62e3e70181" - ], - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "title": "UI.Checkbox", - "properties": { - "tags": [], - "defaultValue": false - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "e6b7c473-7b9e-40fc-a0a0-b0430a2a1495", - "type": "actions/set_node_mode", - "pos": [ - 58, - 122 - ], - "size": [ - 210, - 102 - ], - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": "573590e3-de2b-419b-b600-3c7f29f8c537", - "properties": {}, - "slot_index": 0 - }, - { - "name": "set", - "type": -1, - "link": "45917191-be6a-437f-a4fd-ca62e3e70181", - "properties": {}, - "shape": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAction", - "properties": { - "targetTags": "useInternalVae", - "enable": false, - "tags": [] - }, - "saveUserState": true - }, - { - "id": "365f016d-d8fe-4191-823e-bb7f53ec12e0", - "type": "logic/NOT", - "pos": [ - -52, - 144 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "boolean", - "link": "3a2bc48e-7033-4df8-8f21-df0cc8bab379", - "properties": {} - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "573590e3-de2b-419b-b600-3c7f29f8c537" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "NOT", - "properties": { - "tags": [] - } - }, - { - "id": "99fb7916-2f46-4f4d-9444-879a0b844175", - "type": "utils/pick_first", - "pos": [ - 322, - -6 - ], - "size": [ - 210, - 122 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "4b6f85b0-1596-428b-84bc-e2d315bac9dc", - "properties": {}, - "slot_index": 0 - }, - { - "name": "B", - "type": "*", - "link": "8b1a3fa6-06d1-4073-95e8-1f74934947ff", - "properties": {} - }, - { - "name": "C", - "type": "*", - "link": null, - "properties": {} - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - "3803fc4e-8e09-421c-a421-a080895a87b4" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [ - "gen", - "hr" - ], - "mode": "dataNonNull" - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "4541b0ee-cef0-49a8-9207-3f930463f4e0", - "type": "CheckpointLoaderSimple", - "pos": [ - 130, - 0 - ], - "size": [ - 140, - 66 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "ckpt_name", - "type": "string", - "link": "05616b4c-366b-43ee-b328-06a4adf48a51", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - "49f2f7fa-4c17-475d-a642-556dd939acc0" - ], - "properties": {}, - "shape": 3, - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - "16db93f3-d0f4-4124-91aa-9d4c53126901" - ], - "properties": {}, - "shape": 3, - "slot_index": 1 - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - "8b1a3fa6-06d1-4073-95e8-1f74934947ff" - ], - "properties": {}, - "shape": 3, - "slot_index": 2 - } - ], - "title": "Load Checkpoint", - "properties": { - "tags": [ - "gen", - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "366f81c8-9097-4257-90b8-c2422d222865", - "type": "VAELoader", - "pos": [ - 134, - -72 - ], - "size": [ - 140, - 26 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "vae_name", - "type": "string", - "link": "ddd49443-27df-4d25-8d80-52ad9e650021", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - } - ], - "outputs": [ - { - "name": "VAE", - "type": "VAE", - "links": [ - "4b6f85b0-1596-428b-84bc-e2d315bac9dc" - ], - "properties": {}, - "shape": 3, - "slot_index": 0 - } - ], - "title": "Load VAE", - "properties": { - "tags": [ - "useInternalVae", - "gen", - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - } - ], - "links": [ - [ - "49f2f7fa-4c17-475d-a642-556dd939acc0", - "4541b0ee-cef0-49a8-9207-3f930463f4e0", - 0, - "ed3226fd-e572-4a07-8923-a610cc3dddae", - 0, - "MODEL" - ], - [ - "05616b4c-366b-43ee-b328-06a4adf48a51", - "56becd49-01fc-4cdd-9726-515db368471c", - 0, - "4541b0ee-cef0-49a8-9207-3f930463f4e0", - 0, - "string" - ], - [ - "ddd49443-27df-4d25-8d80-52ad9e650021", - "4c3ba829-f067-4c75-b468-d8b1a0ad3f11", - 0, - "366f81c8-9097-4257-90b8-c2422d222865", - 0, - "string" - ], - [ - "4b6f85b0-1596-428b-84bc-e2d315bac9dc", - "366f81c8-9097-4257-90b8-c2422d222865", - 0, - "99fb7916-2f46-4f4d-9444-879a0b844175", - 0, - "*" - ], - [ - "8b1a3fa6-06d1-4073-95e8-1f74934947ff", - "4541b0ee-cef0-49a8-9207-3f930463f4e0", - 2, - "99fb7916-2f46-4f4d-9444-879a0b844175", - 1, - "*" - ], - [ - "16db93f3-d0f4-4124-91aa-9d4c53126901", - "4541b0ee-cef0-49a8-9207-3f930463f4e0", - 1, - "19f3dedf-e18d-4969-9810-f37e7f6a3e2e", - 0, - "CLIP" - ], - [ - "3803fc4e-8e09-421c-a421-a080895a87b4", - "99fb7916-2f46-4f4d-9444-879a0b844175", - 0, - "3a7fb51e-6229-4db0-80f6-ebfc8bb880fa", - 0, - "VAE" - ], - [ - "45917191-be6a-437f-a4fd-ca62e3e70181", - "b9759212-cb72-4c03-b14b-5de6c0670a85", - 1, - "e6b7c473-7b9e-40fc-a0a0-b0430a2a1495", - 1, - -1 - ], - [ - "3a2bc48e-7033-4df8-8f21-df0cc8bab379", - "b9759212-cb72-4c03-b14b-5de6c0670a85", - 0, - "365f016d-d8fe-4191-823e-bb7f53ec12e0", - 0, - "boolean" - ], - [ - "573590e3-de2b-419b-b600-3c7f29f8c537", - "365f016d-d8fe-4191-823e-bb7f53ec12e0", - 0, - "e6b7c473-7b9e-40fc-a0a0-b0430a2a1495", - 0, - "boolean" - ] - ], - "groups": [], - "config": {}, - "extra": {}, - "version": 10 - } - }, { "id": "f8051ab6-d9f7-44fe-898a-ad26cfde916e", "type": "graph/subgraph", @@ -10462,7 +9600,7 @@ "flags": { "collapsed": false }, - "order": 18, + "order": 21, "mode": 0, "inputs": [ { @@ -10583,7 +9721,7 @@ "title": "Comfy.ValueControl", "properties": { "tags": [], - "value": 964758853482048, + "value": 288679537931148, "action": "randomize", "min": 0, "max": 18446744073709552000, @@ -10962,7 +10100,7 @@ 190 ], "flags": {}, - "order": 35, + "order": 41, "mode": 0, "inputs": [ { @@ -11120,11 +10258,11 @@ "precision": 0 }, "widgets_values": [ - "20.000" + "26.000" ], "color": "#223", "bgColor": "#335", - "comfyValue": 20, + "comfyValue": 26, "shownOutputProperties": { "min": { "type": "number", @@ -11273,7 +10411,7 @@ 46 ], "flags": {}, - "order": 35, + "order": 38, "mode": 2, "inputs": [ { @@ -11363,14 +10501,23 @@ ], "properties": {}, "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 } ], "title": "Template", "properties": { "template": "Queue $1", "stringQuote": "", + "outputJSON": false, "tags": [] - } + }, + "boxcolor": "#666" }, { "id": "0c1af43a-61de-40f0-907a-67e07445cde1", @@ -11384,7 +10531,7 @@ 26 ], "flags": {}, - "order": 40, + "order": 36, "mode": 0, "inputs": [ { @@ -11400,14 +10547,15 @@ "title": "Comfy.ConfigureQueuePromptButton", "properties": { "tags": [] - } + }, + "saveUserState": true }, { "id": "2ab2332e-be3c-4465-bb6a-ac7488a1bf96", "type": "actions/set_node_mode_advanced", "pos": [ - -617.5307517578117, - -537.5949249023431 + -431.1907517578113, + -529.608924902343 ], "size": [ 260.4, @@ -11451,129 +10599,12 @@ "boxcolor": "#666", "saveUserState": true }, - { - "id": "9e64edd9-3ad5-458c-a10a-78d54edb06ee", - "type": "events/filter", - "pos": [ - -878.6884017578117, - -547.5717349023427 - ], - "size": [ - 210, - 150 - ], - "flags": {}, - "order": 25, - "mode": 0, - "inputs": [ - { - "name": "event", - "type": -1, - "link": "bf831a3d-9b67-4208-bb78-a32f95862e9f", - "properties": {}, - "shape": 1 - }, - { - "name": "compare_value", - "type": "*", - "link": null, - "properties": {} - } - ], - "outputs": [ - { - "name": "accept", - "type": -2, - "links": [ - "d7012752-b1c9-43e3-a1e2-f31ea93cd3f5" - ], - "properties": {}, - "shape": 1 - }, - { - "name": "reject", - "type": -2, - "links": [ - "3354bf13-e399-484c-b1d3-2e43a42cd4ed" - ], - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "title": "Filter Event", - "properties": { - "compareValue": "txt2img", - "propertyName": "", - "mode": "param", - "operation": "==", - "tags": [] - } - }, - { - "id": "9b47521f-a733-4810-abdc-126415c583a1", - "type": "events/filter", - "pos": [ - -856.6884017578118, - -345.5717349023436 - ], - "size": [ - 210, - 150 - ], - "flags": {}, - "order": 32, - "mode": 0, - "inputs": [ - { - "name": "event", - "type": -1, - "link": "3354bf13-e399-484c-b1d3-2e43a42cd4ed", - "properties": {}, - "shape": 1 - }, - { - "name": "compare_value", - "type": "*", - "link": null, - "properties": {} - } - ], - "outputs": [ - { - "name": "accept", - "type": -2, - "links": [ - "f36d2cf6-0c95-4c44-95e8-804ae6702dad", - "3a41aee8-43ce-4005-b70a-bda8c876104c" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "reject", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "Filter Event", - "properties": { - "compareValue": "img2img", - "propertyName": "", - "mode": "param", - "operation": "==", - "tags": [] - } - }, { "id": "ca444b59-667e-44d0-98ce-63a9dfe2f7e8", "type": "basic/boolean", "pos": [ - -738.7716750976558, - -171.4370928710941 + -552.4316750976553, + -163.45109287109412 ], "size": [ 210, @@ -11614,7 +10645,7 @@ 150 ], "flags": {}, - "order": 52, + "order": 54, "mode": 0, "inputs": [ { @@ -11710,7 +10741,7 @@ "flags": { "collapsed": true }, - "order": 43, + "order": 45, "mode": 0, "inputs": [ { @@ -11792,8 +10823,8 @@ "id": "9b6f3be8-b74f-49a4-85ab-b2bf6c91e8d9", "type": "basic/integer", "pos": [ - -1385.4756152698853, - 289.4769482461827 + -1767.469441441761, + 255.26494540876323 ], "size": [ 210, @@ -11827,8 +10858,8 @@ "id": "8cec9619-2b37-43ff-9914-b3865b40211d", "type": "events/queue_events", "pos": [ - -1214.4614243607946, - 121.61703642800096 + -1596.4552505326703, + 87.40503359058137 ], "size": [ 178, @@ -11945,8 +10976,8 @@ "id": "def44ce3-6b61-4294-b0bd-abe3b7c6045a", "type": "logic/AND", "pos": [ - -1173.6432425426126, - 266.980672791637 + -1555.6370687144884, + 232.7686699542175 ], "size": [ 140, @@ -11955,7 +10986,7 @@ "flags": { "collapsed": true }, - "order": 42, + "order": 44, "mode": 0, "inputs": [ { @@ -11993,8 +11024,8 @@ "id": "2d3a49a0-eed8-4547-9f8c-a713c0234a76", "type": "basic/string", "pos": [ - -1412.0977879971572, - 234.34430915527335 + -1794.091614169033, + 200.1323063178539 ], "size": [ 210, @@ -12027,8 +11058,8 @@ "id": "5da91863-510c-4da9-bdb4-6b761987471f", "type": "basic/watch", "pos": [ - -1081.6432425426126, - 231.980672791637 + -1463.6370687144884, + 197.76866995421756 ], "size": [ 140, @@ -12037,7 +11068,7 @@ "flags": { "collapsed": true }, - "order": 49, + "order": 51, "mode": 0, "inputs": [ { @@ -12059,8 +11090,8 @@ "id": "139a785e-802e-48b3-b6dd-b6678dc3a969", "type": "math/approx_eq", "pos": [ - -1298.6432425426126, - 287.980672791637 + -1680.6370687144884, + 253.76866995421756 ], "size": [ 140, @@ -12069,7 +11100,7 @@ "flags": { "collapsed": true }, - "order": 36, + "order": 39, "mode": 0, "inputs": [ { @@ -12117,8 +11148,8 @@ "id": "ad7226d8-a707-4abd-ba61-9261b0c9a20d", "type": "basic/CompareValues", "pos": [ - -1279.6432425426126, - 235.98067279163703 + -1661.6370687144884, + 201.7686699542176 ], "size": [ 210, @@ -12173,8 +11204,8 @@ "id": "cda00cc0-7d08-4cfd-b561-6d15d5f2f28c", "type": "logic/NOT", "pos": [ - -1080.4614243607946, - 265.61703642800063 + -1462.4552505326703, + 231.4050335905811 ], "size": [ 140, @@ -12183,7 +11214,7 @@ "flags": { "collapsed": true }, - "order": 46, + "order": 48, "mode": 0, "inputs": [ { @@ -12214,8 +11245,8 @@ "id": "877d8e92-b7dc-455b-8fce-a11b4821e476", "type": "actions/notify", "pos": [ - -932.825060724434, - 250.43521824618253 + -1314.81888689631, + 216.22321540876308 ], "size": [ 151.2, @@ -12224,7 +11255,7 @@ "flags": { "collapsed": true }, - "order": 55, + "order": 57, "mode": 0, "inputs": [ { @@ -12256,8 +11287,8 @@ "id": "a502386b-f168-4086-a512-623496b78199", "type": "basic/string", "pos": [ - -997.0068789062508, - 289.3443091552733 + -1379.0007050781262, + 255.13230631785385 ], "size": [ 210, @@ -12297,7 +11328,7 @@ 106 ], "flags": {}, - "order": 47, + "order": 49, "mode": 2, "inputs": [ { @@ -12383,7 +11414,7 @@ 46 ], "flags": {}, - "order": 41, + "order": 43, "mode": 2, "inputs": [ { @@ -12436,7 +11467,7 @@ 206 ], "flags": {}, - "order": 59, + "order": 61, "mode": 0, "inputs": [ { @@ -12565,7 +11596,7 @@ 46 ], "flags": {}, - "order": 60, + "order": 62, "mode": 0, "inputs": [ { @@ -12618,7 +11649,7 @@ 102 ], "flags": {}, - "order": 57, + "order": 59, "mode": 0, "inputs": [ { @@ -12659,8 +11690,8 @@ "id": "b39bc040-9da5-438b-9cd6-9f43827915fd", "type": "actions/execute_subgraph", "pos": [ - -718.8143742187509, - 205.3761701538086 + -1100.8082003906263, + 171.16416731638915 ], "size": [ 226.79999999999998, @@ -12669,7 +11700,7 @@ "flags": { "collapsed": false }, - "order": 53, + "order": 55, "mode": 0, "inputs": [ { @@ -12707,7 +11738,7 @@ 78 ], "flags": {}, - "order": 48, + "order": 50, "mode": 2, "inputs": [ { @@ -12809,8 +11840,8 @@ "id": "f4ffe234-d4ff-4598-a9aa-3cc88f2a134c", "type": "events/no_change", "pos": [ - -416.8359750976559, - -193.75569287109408 + -230.49597509765613, + -185.7696928710941 ], "size": [ 159.6, @@ -12819,7 +11850,7 @@ "flags": { "collapsed": true }, - "order": 45, + "order": 47, "mode": 0, "inputs": [ { @@ -12861,7 +11892,7 @@ 102 ], "flags": {}, - "order": 58, + "order": 60, "mode": 0, "inputs": [ { @@ -12898,118 +11929,6 @@ "boxcolor": "#666", "saveUserState": true }, - { - "id": "f4238800-87bc-4def-ae8d-e8af2fab2479", - "type": "actions/set_node_mode_advanced", - "pos": [ - -581.6966928710934, - -380.52424755859323 - ], - "size": [ - 260.4, - 102 - ], - "flags": {}, - "order": 38, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": null, - "properties": {} - }, - { - "name": "set", - "type": -1, - "link": "f36d2cf6-0c95-4c44-95e8-804ae6702dad", - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAdvancedAction", - "properties": { - "targetTags": [ - { - "tag": "img2img", - "enable": true - }, - { - "tag": "txt2img", - "enable": false - }, - { - "tag": "img2imgPixelSize", - "enable": true - }, - { - "tag": "img2imgScaleSize", - "enable": false - } - ], - "enable": true, - "tags": [] - }, - "boxcolor": "#666", - "saveUserState": true - }, - { - "id": "5d3fc9ab-a7b8-45b5-a824-d70f98c97a96", - "type": "ui/image_upload", - "pos": [ - -835.3085657226561, - 549.8709379394534 - ], - "size": [ - 210, - 78 - ], - "flags": {}, - "order": 11, - "mode": 2, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "images", - "type": "COMFYBOX_IMAGES", - "links": [ - "bda9dcb6-b906-4dbb-902c-55f71aa67277" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.ImageUpload", - "properties": { - "defaultValue": null, - "tags": [ - "img2img" - ] - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": [], - "shownOutputProperties": {}, - "saveUserState": false - }, { "id": "5c624567-93f1-46d5-a105-91a4d746e0b2", "type": "graph/subgraph", @@ -13024,7 +11943,7 @@ "flags": { "collapsed": true }, - "order": 12, + "order": 11, "mode": 2, "inputs": [], "outputs": [ @@ -13371,11 +12290,11 @@ "precision": 0 }, "widgets_values": [ - "512.000" + "832.000" ], "color": "#223", "bgColor": "#335", - "comfyValue": 512, + "comfyValue": 832, "shownOutputProperties": { "min": { "type": "number", @@ -13522,7 +12441,7 @@ "flags": { "collapsed": true }, - "order": 37, + "order": 40, "mode": 2, "inputs": [ { @@ -14126,14 +13045,16 @@ "properties": { "tags": [], "defaultValue": "", - "multiline": false + "multiline": false, + "lines": 5, + "maxLines": 5 }, "widgets_values": [ - "" + "0" ], "color": "#223", "bgColor": "#335", - "comfyValue": "", + "comfyValue": "0", "shownOutputProperties": {}, "saveUserState": true }, @@ -14187,14 +13108,16 @@ "properties": { "tags": [], "defaultValue": "", - "multiline": false + "multiline": false, + "lines": 5, + "maxLines": 5 }, "widgets_values": [ - "" + "0" ], "color": "#223", "bgColor": "#335", - "comfyValue": "", + "comfyValue": "0", "shownOutputProperties": {}, "saveUserState": true } @@ -14317,7 +13240,7 @@ "flags": { "collapsed": true }, - "order": 44, + "order": 46, "mode": 0, "inputs": [ { @@ -14374,7 +13297,7 @@ "collapsed": true, "pinned": false }, - "order": 13, + "order": 12, "mode": 0, "inputs": [], "outputs": [ @@ -14868,7 +13791,7 @@ 66 ], "flags": {}, - "order": 30, + "order": 29, "mode": 0, "inputs": [ { @@ -14939,7 +13862,7 @@ "flags": { "collapsed": true }, - "order": 29, + "order": 28, "mode": 0, "inputs": [ { @@ -14998,7 +13921,7 @@ "flags": { "collapsed": true }, - "order": 14, + "order": 13, "mode": 2, "inputs": [ { @@ -15101,7 +14024,7 @@ "flags": { "collapsed": true }, - "order": 15, + "order": 14, "mode": 0, "inputs": [], "outputs": [ @@ -15136,7 +14059,7 @@ "flags": { "collapsed": true }, - "order": 16, + "order": 15, "mode": 0, "inputs": [], "outputs": [ @@ -15174,7 +14097,7 @@ "flags": { "collapsed": true }, - "order": 17, + "order": 16, "mode": 0, "inputs": [], "outputs": [ @@ -15212,7 +14135,7 @@ "flags": { "collapsed": true }, - "order": 56, + "order": 58, "mode": 0, "inputs": [ { @@ -15268,7 +14191,7 @@ 46 ], "flags": {}, - "order": 51, + "order": 53, "mode": 2, "inputs": [ { @@ -15316,15 +14239,15 @@ "id": "c9f62e61-b9a4-4092-8318-50aa5c04a24d", "type": "events/branch", "pos": [ - -974.0068789062503, - 160.3443091552736 + -1356.0007050781257, + 126.13230631785413 ], "size": [ 140, 46 ], "flags": {}, - "order": 50, + "order": 52, "mode": 0, "inputs": [ { @@ -15372,8 +14295,8 @@ "id": "03245291-9b21-4ab5-a028-fe8dffca3237", "type": "actions/notify", "pos": [ - -747, - 151 + -1128.9938261718755, + 116.78799716258048 ], "size": [ 151.2, @@ -15382,7 +14305,7 @@ "flags": { "collapsed": true }, - "order": 54, + "order": 56, "mode": 0, "inputs": [ { @@ -15414,8 +14337,8 @@ "id": "2d020869-19b4-44ce-9ba6-1cbb4b6eddd1", "type": "basic/string", "pos": [ - -742, - 120 + -1123.9938261718755, + 85.78799716258041 ], "size": [ 210, @@ -15424,7 +14347,7 @@ "flags": { "collapsed": true }, - "order": 18, + "order": 17, "mode": 0, "inputs": [], "outputs": [ @@ -15443,55 +14366,6 @@ "tags": [] } }, - { - "id": "f94a0129-2e34-47c5-b9d4-ec372eda71b9", - "type": "events/trigger_new_event", - "pos": [ - -640, - -217 - ], - "size": [ - 210, - 78 - ], - "flags": {}, - "order": 39, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "3a41aee8-43ce-4005-b70a-bda8c876104c", - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "param", - "type": "*", - "link": "08728079-7728-4247-9b6d-2641cd90ff43", - "properties": {}, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "06a1d902-e945-461a-9c26-83db2922e59f" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.TriggerNewEvent", - "properties": { - "param": false, - "tags": [] - } - }, { "id": "8c639133-9ba4-441e-8ea4-6de55bf7d6d2", "type": "graph/input", @@ -15506,7 +14380,7 @@ "flags": { "collapsed": true }, - "order": 19, + "order": 18, "mode": 0, "inputs": [], "outputs": [ @@ -15543,7 +14417,7 @@ "flags": { "collapsed": true }, - "order": 20, + "order": 19, "mode": 0, "inputs": [], "outputs": [ @@ -15580,7 +14454,7 @@ "flags": { "collapsed": true }, - "order": 21, + "order": 20, "mode": 0, "inputs": [], "outputs": [ @@ -15616,7 +14490,7 @@ "flags": { "collapsed": true }, - "order": 22, + "order": 21, "mode": 0, "inputs": [], "outputs": [ @@ -15652,7 +14526,7 @@ "flags": { "collapsed": true }, - "order": 23, + "order": 22, "mode": 0, "inputs": [], "outputs": [ @@ -15686,7 +14560,7 @@ 190 ], "flags": {}, - "order": 28, + "order": 34, "mode": 0, "inputs": [ { @@ -15759,7 +14633,7 @@ 26 ], "flags": {}, - "order": 34, + "order": 37, "mode": 2, "inputs": [ { @@ -15794,7 +14668,7 @@ "flags": { "collapsed": true }, - "order": 24, + "order": 23, "mode": 0, "inputs": [], "outputs": [ @@ -15830,7 +14704,7 @@ "flags": { "collapsed": true }, - "order": 61, + "order": 63, "mode": 0, "inputs": [ { @@ -15848,6 +14722,389 @@ "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", "tags": [] } + }, + { + "id": "5d3fc9ab-a7b8-45b5-a824-d70f98c97a96", + "type": "ui/image_upload", + "pos": [ + -835.3085657226561, + 549.8709379394534 + ], + "size": [ + 210, + 78 + ], + "flags": {}, + "order": 30, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "936afad8-7665-4d9f-9276-3b60c0b3c229", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES", + "links": [ + "bda9dcb6-b906-4dbb-902c-55f71aa67277" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.ImageUpload", + "properties": { + "defaultValue": null, + "tags": [ + "img2img" + ] + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": [], + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "f4238800-87bc-4def-ae8d-e8af2fab2479", + "type": "actions/set_node_mode_advanced", + "pos": [ + -395.35669287109295, + -372.53824755859324 + ], + "size": [ + 260.4, + 102 + ], + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "enabled", + "type": "boolean", + "link": null, + "properties": {} + }, + { + "name": "set", + "type": -1, + "link": "d3125f4d-53f7-42ca-ad2a-a9ac1c14b7a7", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.SetNodeModeAdvancedAction", + "properties": { + "targetTags": [ + { + "tag": "img2img", + "enable": true + }, + { + "tag": "txt2img", + "enable": false + }, + { + "tag": "img2imgPixelSize", + "enable": true + }, + { + "tag": "img2imgScaleSize", + "enable": false + } + ], + "enable": true, + "tags": [] + }, + "boxcolor": "#666", + "saveUserState": true + }, + { + "id": "f94a0129-2e34-47c5-b9d4-ec372eda71b9", + "type": "events/trigger_new_event", + "pos": [ + -453.6599999999996, + -209.014 + ], + "size": [ + 210, + 78 + ], + "flags": {}, + "order": 42, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "de5d4640-f35e-42cb-b5f0-a73a0a609d75", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "param", + "type": "*", + "link": "08728079-7728-4247-9b6d-2641cd90ff43", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "06a1d902-e945-461a-9c26-83db2922e59f" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.TriggerNewEvent", + "properties": { + "param": false, + "tags": [] + } + }, + { + "id": "9e64edd9-3ad5-458c-a10a-78d54edb06ee", + "type": "events/filter", + "pos": [ + -692, + -540 + ], + "size": [ + 210, + 150 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "event", + "type": -1, + "link": "bf831a3d-9b67-4208-bb78-a32f95862e9f", + "properties": {}, + "shape": 1 + }, + { + "name": "compare_value", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "accept", + "type": -2, + "links": [ + "d7012752-b1c9-43e3-a1e2-f31ea93cd3f5" + ], + "properties": {}, + "shape": 1 + }, + { + "name": "reject", + "type": -2, + "links": [ + "3354bf13-e399-484c-b1d3-2e43a42cd4ed" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Filter Event", + "properties": { + "compareValue": "txt2img", + "propertyName": "", + "mode": "param", + "operation": "==", + "tags": [] + } + }, + { + "id": "38b86170-5235-4606-a10b-c1b711acf30d", + "type": "events/receive_output", + "pos": [ + -1131, + 552 + ], + "size": [ + 210, + 106 + ], + "flags": { + "collapsed": false + }, + "order": 24, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "received", + "type": -2, + "links": [ + "936afad8-7665-4d9f-9276-3b60c0b3c229", + "fdf36cfa-5064-49eb-a1ce-f99cf07f487e" + ], + "properties": {}, + "shape": 1, + "slot_index": 0, + "color_on": "fuchsia", + "color_off": "fuchsia" + } + ], + "title": "Comfy.ReceiveOutput", + "properties": { + "tags": [], + "name": "img2img", + "description": "Image to use for img2img.", + "type": "COMFYBOX_IMAGE" + }, + "saveUserState": true + }, + { + "id": "0b989741-63e6-44c5-b419-4b166ca4b468", + "type": "events/sequence", + "pos": [ + -582, + -267 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "77c521c7-1518-48b2-84ce-b1b1f0091024", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "fdf36cfa-5064-49eb-a1ce-f99cf07f487e", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "d3125f4d-53f7-42ca-ad2a-a9ac1c14b7a7", + "de5d4640-f35e-42cb-b5f0-a73a0a609d75" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "9b47521f-a733-4810-abdc-126415c583a1", + "type": "events/filter", + "pos": [ + -862, + -334 + ], + "size": [ + 210, + 150 + ], + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "event", + "type": -1, + "link": "3354bf13-e399-484c-b1d3-2e43a42cd4ed", + "properties": {}, + "shape": 1 + }, + { + "name": "compare_value", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "accept", + "type": -2, + "links": [ + "77c521c7-1518-48b2-84ce-b1b1f0091024" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "reject", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Filter Event", + "properties": { + "compareValue": "img2img", + "propertyName": "", + "mode": "param", + "operation": "==", + "tags": [] + } } ], "links": [ @@ -16051,14 +15308,6 @@ 1, -1 ], - [ - "f36d2cf6-0c95-4c44-95e8-804ae6702dad", - "9b47521f-a733-4810-abdc-126415c583a1", - 0, - "f4238800-87bc-4def-ae8d-e8af2fab2479", - 1, - -1 - ], [ "08728079-7728-4247-9b6d-2641cd90ff43", "ca444b59-667e-44d0-98ce-63a9dfe2f7e8", @@ -16067,14 +15316,6 @@ 1, "*" ], - [ - "3a41aee8-43ce-4005-b70a-bda8c876104c", - "9b47521f-a733-4810-abdc-126415c583a1", - 0, - "f94a0129-2e34-47c5-b9d4-ec372eda71b9", - 0, - -1 - ], [ "06a1d902-e945-461a-9c26-83db2922e59f", "f94a0129-2e34-47c5-b9d4-ec372eda71b9", @@ -16402,14 +15643,54 @@ "a75f01ba-e834-47dc-93e3-56e50c86bc22", 0, "*" + ], + [ + "936afad8-7665-4d9f-9276-3b60c0b3c229", + "38b86170-5235-4606-a10b-c1b711acf30d", + 0, + "5d3fc9ab-a7b8-45b5-a824-d70f98c97a96", + 0, + -1 + ], + [ + "77c521c7-1518-48b2-84ce-b1b1f0091024", + "9b47521f-a733-4810-abdc-126415c583a1", + 0, + "0b989741-63e6-44c5-b419-4b166ca4b468", + 0, + -1 + ], + [ + "d3125f4d-53f7-42ca-ad2a-a9ac1c14b7a7", + "0b989741-63e6-44c5-b419-4b166ca4b468", + 0, + "f4238800-87bc-4def-ae8d-e8af2fab2479", + 1, + -1 + ], + [ + "de5d4640-f35e-42cb-b5f0-a73a0a609d75", + "0b989741-63e6-44c5-b419-4b166ca4b468", + 0, + "f94a0129-2e34-47c5-b9d4-ec372eda71b9", + 0, + -1 + ], + [ + "fdf36cfa-5064-49eb-a1ce-f99cf07f487e", + "38b86170-5235-4606-a10b-c1b711acf30d", + 0, + "0b989741-63e6-44c5-b419-4b166ca4b468", + 1, + -1 ] ], "groups": [ { "title": "Default Queue Action", "bounding": [ - -1437, - 35, + -1819, + 1, 995, 309 ], @@ -16461,4266 +15742,6 @@ "version": 10 } }, - { - "id": "de5f256a-91ab-42c2-86cd-645066b3c714", - "type": "graph/subgraph", - "pos": [ - 2863, - 328 - ], - "size": [ - 200, - 230 - ], - "flags": {}, - "order": 49, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "string", - "link": "02e201d5-1d1e-4340-abd9-85c512cd03e7", - "properties": {} - }, - { - "name": "model", - "type": "MODEL", - "link": "7bf1ecb5-3b6b-4f44-9c42-c8436c207895", - "properties": {} - }, - { - "name": "seed", - "type": "number", - "link": "a6141a50-6a98-42ef-accd-acb4823c88da", - "properties": {} - }, - { - "name": "cfg", - "type": "number", - "link": "0791eec7-60ca-4b5d-bf30-c34daef5fb77", - "properties": {} - }, - { - "name": "sampler_name", - "type": "string", - "link": "efa2e4eb-d6d2-47a1-b8f7-4fef3d2c5956", - "properties": {} - }, - { - "name": "scheduler", - "type": "string", - "link": "1f48d50a-f904-4501-a953-dd7176e2ffd5", - "properties": {} - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": "3c0ea9e3-005f-4a0f-be04-248cee08632a", - "properties": {} - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": "31281b4a-4d23-4e90-8000-6ddf09803d64", - "properties": {} - }, - { - "name": "vae", - "type": "VAE", - "link": "e735e83c-b418-4c76-a7e8-ae86299e4f30", - "properties": {} - }, - { - "name": "width", - "type": "number", - "link": "9eed80a4-a47d-48c6-9c8a-63b5fb8026f8", - "properties": {} - }, - { - "name": "height", - "type": "number", - "link": "3f5990c7-4b08-4d41-9a46-9a44073eb5e6", - "properties": {} - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - "b9634e37-b5f5-48cf-a5d9-a32896302548" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "HR Fix", - "properties": { - "enabled": true, - "tags": [ - "hr" - ] - }, - "color": "#2a363b", - "bgColor": "#3f5159", - "subgraph": { - "last_node_id": 0, - "last_link_id": 0, - "nodes": [ - { - "id": "f7f51185-b2d8-46ac-8605-83051b972ad3", - "type": "graph/input", - "pos": [ - 640, - 118 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "MODEL", - "links": [ - "6494ccd2-651f-4c4f-b439-bc26997ecc4c" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "model", - "type": "MODEL", - "value": null, - "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", - "tags": [] - } - }, - { - "id": "271fb970-b797-45bc-b01d-a921f07033b7", - "type": "graph/input", - "pos": [ - 644, - 140 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "number", - "links": [ - "54713e33-bc69-437e-826d-8003a4847b04" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "seed", - "type": "number", - "value": 0, - "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", - "tags": [] - } - }, - { - "id": "b25be03c-47a0-4bab-bd7d-dff944763286", - "type": "ui/number", - "pos": [ - 631, - 161 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "23d7ea2c-9b9b-4339-b5ab-9602654317c0" - ], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - }, - { - "name": "@min", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@max", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@step", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@precision", - "type": "number", - "links": [], - "properties": {} - } - ], - "title": "UI.Number", - "properties": { - "tags": [], - "defaultValue": 20, - "min": 1, - "max": 200, - "step": 1, - "precision": 0 - }, - "widgets_values": [ - "30.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 30, - "shownOutputProperties": { - "min": { - "type": "number", - "outputName": "@min" - }, - "max": { - "type": "number", - "outputName": "@max" - }, - "step": { - "type": "number", - "outputName": "@step" - }, - "precision": { - "type": "number", - "outputName": "@precision" - } - }, - "saveUserState": true - }, - { - "id": "e5b933b8-c925-4c93-b1d3-14034a3a2b58", - "type": "graph/input", - "pos": [ - 654, - 180 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "number", - "links": [ - "c5c4aa54-c6cb-4f4d-8600-9fea6ba21194" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "cfg", - "type": "number", - "value": 0, - "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", - "tags": [] - } - }, - { - "id": "ea3d61d2-53cb-445c-aed4-0e71db9375fa", - "type": "graph/input", - "pos": [ - 621, - 201 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 4, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "links": [ - "3495f139-629e-4ff2-8f40-af27de6ca393" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "sampler_name", - "type": "string", - "value": "", - "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", - "tags": [] - } - }, - { - "id": "0b3a21e4-914e-4948-9a00-f1153a65cd66", - "type": "graph/input", - "pos": [ - 649, - 222 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 5, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "links": [ - "4caca8dd-4c69-410e-8df9-58c2ec868302" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "scheduler", - "type": "string", - "value": "", - "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", - "tags": [] - } - }, - { - "id": "a9b42639-2d98-4af1-b4ad-051e9600f352", - "type": "graph/input", - "pos": [ - 652, - 239 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 6, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - "53a2dedf-850b-47d7-9bd7-5abc3b83c6aa" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "positive", - "type": "CONDITIONING", - "value": null, - "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", - "tags": [] - } - }, - { - "id": "f1a592df-59b5-4011-a3b2-1e11a5c5d17c", - "type": "graph/input", - "pos": [ - 646, - 259 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 7, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - "f970330a-6fe5-4e68-b944-a1bb6661a997" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "negative", - "type": "CONDITIONING", - "value": null, - "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", - "tags": [] - } - }, - { - "id": "ce549cfe-41ca-4499-8c8f-f3acd411b92c", - "type": "ui/number", - "pos": [ - 634, - 298 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "363012c8-1a37-4c4c-adee-de52958ef49c" - ], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - }, - { - "name": "@min", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@max", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@step", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@precision", - "type": "number", - "links": [], - "properties": {} - } - ], - "title": "UI.Number", - "properties": { - "tags": [], - "defaultValue": 1, - "min": 0, - "max": 1, - "step": 0.01, - "precision": 0 - }, - "widgets_values": [ - "0.650" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 0.65, - "shownOutputProperties": { - "min": { - "type": "number", - "outputName": "@min" - }, - "max": { - "type": "number", - "outputName": "@max" - }, - "step": { - "type": "number", - "outputName": "@step" - }, - "precision": { - "type": "number", - "outputName": "@precision" - } - }, - "saveUserState": true - }, - { - "id": "10abd4b1-756f-462d-a95e-f557805accef", - "type": "graph/output", - "pos": [ - 1232, - 117 - ], - "size": [ - 210, - 62 - ], - "flags": { - "collapsed": true - }, - "order": 49, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "IMAGE", - "link": "928ac2b7-3d97-443b-8c21-84ba1bd0ae54", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "IMAGE", - "type": "IMAGE", - "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", - "tags": [] - } - }, - { - "id": "389aeb57-a635-401d-9672-34aedc14f736", - "type": "LoadImage", - "pos": [ - 228, - 163 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 25, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "string", - "link": "afd82e76-7f9d-4176-adbc-bb3bcfd5e47e", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - "75ca312d-59fc-47f7-956e-86cf03ec744f" - ], - "properties": {}, - "shape": 3 - }, - { - "name": "MASK", - "type": "MASK", - "links": [], - "properties": {}, - "shape": 3 - } - ], - "title": "Load Image", - "properties": { - "tags": [ - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "add70fa6-27cf-445a-bcb2-4fdc6857da97", - "type": "actions/notify", - "pos": [ - 663, - -54 - ], - "size": [ - 151.2, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 48, - "mode": 0, - "inputs": [ - { - "name": "message", - "type": "string", - "link": "b2ebce1b-346a-4d4e-87c1-2589aa2f6e8e", - "properties": {} - }, - { - "name": "trigger", - "type": -1, - "link": "8f73a986-05df-481d-8997-72e67d71637a", - "properties": {}, - "shape": 1 - } - ], - "outputs": [], - "title": "Comfy.NotifyAction", - "properties": { - "tags": [], - "message": "Nya.", - "type": "error" - }, - "saveUserState": true - }, - { - "id": "9c471580-d0a2-42a3-91e8-adc007dc32ec", - "type": "basic/string", - "pos": [ - 652, - -298 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 9, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "0d48dee8-f59d-44de-9b5f-e7d7568b7c5f" - ], - "properties": {} - } - ], - "title": "Const String", - "properties": { - "value": "Upscale queued.", - "tags": [] - } - }, - { - "id": "711b0ea5-ab0c-46d1-8ad0-583bd3307498", - "type": "actions/execute_subgraph", - "pos": [ - 628, - -229 - ], - "size": [ - 226.79999999999998, - 78 - ], - "flags": { - "collapsed": false - }, - "order": 46, - "mode": 0, - "inputs": [ - { - "name": "execute", - "type": -1, - "link": "126a645d-bc14-4bf6-ad06-ce0599037868", - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "targetTag", - "type": "string", - "link": null, - "properties": {} - } - ], - "outputs": [], - "title": "Comfy.ExecuteSubgraphAction", - "properties": { - "tags": [], - "targetTag": "hr" - }, - "saveUserState": true - }, - { - "id": "33285152-0904-4cb9-a533-08d40b36117a", - "type": "actions/notify", - "pos": [ - 652, - -265 - ], - "size": [ - 151.2, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 47, - "mode": 0, - "inputs": [ - { - "name": "message", - "type": "string", - "link": "0d48dee8-f59d-44de-9b5f-e7d7568b7c5f", - "properties": {}, - "slot_index": 0 - }, - { - "name": "trigger", - "type": -1, - "link": "e93ebb6d-0d98-4ce1-9348-880556c8254e", - "properties": {}, - "shape": 1 - } - ], - "outputs": [], - "title": "Comfy.NotifyAction", - "properties": { - "tags": [], - "message": "Nya.", - "type": "info" - }, - "saveUserState": true - }, - { - "id": "f48a7c93-0ede-432b-95d0-13ffbdb53ed6", - "type": "basic/string", - "pos": [ - 632, - -22 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 10, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "b2ebce1b-346a-4d4e-87c1-2589aa2f6e8e" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "Select an image from the Result gallery to upscale first.", - "tags": [] - } - }, - { - "id": "c10a25d1-3f64-4cb3-847c-684dd97ec516", - "type": "ui/button", - "pos": [ - 296, - -129 - ], - "size": [ - 210, - 58 - ], - "flags": { - "collapsed": true - }, - "order": 11, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "2178013c-b1fb-4f11-bea5-df2be5578b1c" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - } - ], - "title": "UI.Button", - "properties": { - "tags": [], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "3e63c209-da43-42d3-8785-ff6db26868e1", - "type": "ui/combo", - "pos": [ - 367, - 469 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 12, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "7a2601c6-4e43-4cfc-9994-784bdcb13d63" - ], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.Combo", - "properties": { - "tags": [], - "defaultValue": null, - "values": [], - "convertValueToLabelCode": "" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": "A", - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "fcfb2720-0382-4ca0-bc77-e820858db088", - "type": "ui/combo", - "pos": [ - 368, - 399 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 13, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "2f254406-6615-4781-b6fa-dc736e06d1e2" - ], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.Combo", - "properties": { - "tags": [], - "defaultValue": null, - "values": [], - "convertValueToLabelCode": "" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": "A", - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", - "type": "graph/subgraph", - "pos": [ - 89, - 458 - ], - "size": [ - 200, - 50 - ], - "flags": { - "collapsed": true - }, - "order": 14, - "mode": 2, - "inputs": [], - "outputs": [ - { - "name": "width", - "type": "number", - "links": [ - "2486cdf8-cc57-45cc-82bc-30eeca736f0f" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "height", - "type": "number", - "links": [ - "83217cc8-be20-4337-9851-59b2fa5d52db" - ], - "properties": {}, - "slot_index": 1 - } - ], - "title": "Dim. Sliders", - "properties": { - "enabled": true, - "tags": [ - "hr", - "hrPixelSize" - ] - }, - "color": "#2a363b", - "bgColor": "#3f5159", - "subgraph": { - "last_node_id": 0, - "last_link_id": 0, - "nodes": [ - { - "id": "6a4aa170-b899-4246-9941-73737a151fa3", - "type": "graph/output", - "pos": [ - 410, - -31 - ], - "size": [ - 210, - 62 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "number", - "link": "8a4da085-5cc2-441a-ab97-69a499db00f6", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "width", - "type": "number", - "subgraphID": "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", - "tags": [] - } - }, - { - "id": "31c57d04-1a47-43a8-9980-631e1f71ce11", - "type": "graph/output", - "pos": [ - 410, - 51 - ], - "size": [ - 210, - 62 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "number", - "link": "48bf0ac5-fc6a-41f4-896e-4f25f7a3a2d9", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "height", - "type": "number", - "subgraphID": "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", - "tags": [] - } - }, - { - "id": "e770fe92-5bba-4192-9744-4f45c64d8f11", - "type": "actions/swap", - "pos": [ - 200, - -3 - ], - "size": [ - 140, - 66 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "52220d37-ee8a-46be-95dc-ecf7c3591eae", - "properties": {} - }, - { - "name": "B", - "type": "*", - "link": "18f4e925-e07a-4f3c-ad0b-c3dac88c8a8d", - "properties": {} - }, - { - "name": "swap", - "type": -1, - "link": "aa76cccd-1c29-4336-a5fe-c2c7470ef4cd", - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "B", - "type": -2, - "links": [ - "c8b56de0-d7e4-444f-9cba-d9bfe820cce0" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "A", - "type": -2, - "links": [ - "a8710f7a-5b61-4148-9ade-e3504d8bd962" - ], - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "title": "Comfy.SwapAction", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "760a76a9-1784-4c0a-a107-caec9d5ba23b", - "type": "ui/number", - "pos": [ - 47, - 16 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 3, - "mode": 2, - "inputs": [ - { - "name": "store", - "type": -1, - "link": "c8b56de0-d7e4-444f-9cba-d9bfe820cce0", - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "52220d37-ee8a-46be-95dc-ecf7c3591eae", - "8a4da085-5cc2-441a-ab97-69a499db00f6" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - }, - { - "name": "@min", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@max", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@step", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@precision", - "type": "number", - "links": [], - "properties": {} - } - ], - "title": "UI.Number", - "properties": { - "tags": [ - "hr", - "hrPixelSize" - ], - "defaultValue": 512, - "min": 64, - "max": 2048, - "step": 64, - "precision": 0 - }, - "widgets_values": [ - "512.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 512, - "shownOutputProperties": { - "min": { - "type": "number", - "outputName": "@min" - }, - "max": { - "type": "number", - "outputName": "@max" - }, - "step": { - "type": "number", - "outputName": "@step" - }, - "precision": { - "type": "number", - "outputName": "@precision" - } - }, - "saveUserState": true - }, - { - "id": "e895b0ce-8df2-42fc-8618-c8b713ca4747", - "type": "ui/number", - "pos": [ - 45, - 49 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 5, - "mode": 2, - "inputs": [ - { - "name": "store", - "type": -1, - "link": "a8710f7a-5b61-4148-9ade-e3504d8bd962", - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "18f4e925-e07a-4f3c-ad0b-c3dac88c8a8d", - "48bf0ac5-fc6a-41f4-896e-4f25f7a3a2d9" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - }, - { - "name": "@min", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@max", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@step", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@precision", - "type": "number", - "links": [], - "properties": {} - } - ], - "title": "UI.Number", - "properties": { - "tags": [ - "hr", - "hrPixelSize" - ], - "defaultValue": 512, - "min": 64, - "max": 2048, - "step": 64, - "precision": 0 - }, - "widgets_values": [ - "512.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 512, - "shownOutputProperties": { - "min": { - "type": "number", - "outputName": "@min" - }, - "max": { - "type": "number", - "outputName": "@max" - }, - "step": { - "type": "number", - "outputName": "@step" - }, - "precision": { - "type": "number", - "outputName": "@precision" - } - }, - "saveUserState": true - }, - { - "id": "060493ab-465d-4705-935e-2e53506b2369", - "type": "ui/button", - "pos": [ - 28, - 85 - ], - "size": [ - 210, - 58 - ], - "flags": { - "collapsed": true - }, - "order": 0, - "mode": 2, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "aa76cccd-1c29-4336-a5fe-c2c7470ef4cd" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - } - ], - "title": "UI.Button", - "properties": { - "tags": [ - "hr", - "hrPixelSize" - ], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - } - ], - "links": [ - [ - "52220d37-ee8a-46be-95dc-ecf7c3591eae", - "760a76a9-1784-4c0a-a107-caec9d5ba23b", - 0, - "e770fe92-5bba-4192-9744-4f45c64d8f11", - 0, - "*" - ], - [ - "18f4e925-e07a-4f3c-ad0b-c3dac88c8a8d", - "e895b0ce-8df2-42fc-8618-c8b713ca4747", - 0, - "e770fe92-5bba-4192-9744-4f45c64d8f11", - 1, - "*" - ], - [ - "aa76cccd-1c29-4336-a5fe-c2c7470ef4cd", - "060493ab-465d-4705-935e-2e53506b2369", - 0, - "e770fe92-5bba-4192-9744-4f45c64d8f11", - 2, - -1 - ], - [ - "a8710f7a-5b61-4148-9ade-e3504d8bd962", - "e770fe92-5bba-4192-9744-4f45c64d8f11", - 1, - "e895b0ce-8df2-42fc-8618-c8b713ca4747", - 0, - -1 - ], - [ - "c8b56de0-d7e4-444f-9cba-d9bfe820cce0", - "e770fe92-5bba-4192-9744-4f45c64d8f11", - 0, - "760a76a9-1784-4c0a-a107-caec9d5ba23b", - 0, - -1 - ], - [ - "8a4da085-5cc2-441a-ab97-69a499db00f6", - "760a76a9-1784-4c0a-a107-caec9d5ba23b", - 0, - "6a4aa170-b899-4246-9941-73737a151fa3", - 0, - "number" - ], - [ - "48bf0ac5-fc6a-41f4-896e-4f25f7a3a2d9", - "e895b0ce-8df2-42fc-8618-c8b713ca4747", - 0, - "31c57d04-1a47-43a8-9980-631e1f71ce11", - 0, - "number" - ] - ], - "groups": [], - "config": {}, - "extra": {}, - "version": 10 - } - }, - { - "id": "df4ba5a6-ad14-4689-9c60-448e4967c90c", - "type": "events/filter", - "pos": [ - 1379.0263629882813, - -744.5000000000001 - ], - "size": [ - 210, - 150 - ], - "flags": {}, - "order": 24, - "mode": 0, - "inputs": [ - { - "name": "event", - "type": -1, - "link": "6feaa2b5-64ea-4923-b7a9-bcfd6554ab19", - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "compare_value", - "type": "*", - "link": "304ce158-7b36-4320-9864-8d07344f63b0", - "properties": {}, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "accept", - "type": -2, - "links": [ - "6cbb38f4-6421-4638-95ff-a741940c16ad" - ], - "properties": {}, - "shape": 1 - }, - { - "name": "reject", - "type": -2, - "links": [ - "7fde6a31-c3aa-4ca9-ad1a-800b27a400d3" - ], - "properties": {}, - "shape": 1 - } - ], - "title": "Filter Event", - "properties": { - "compareValue": true, - "propertyName": "", - "mode": "param", - "operation": "==", - "tags": [] - } - }, - { - "id": "c9bce373-fa36-4b2a-9fbb-72e7fa476025", - "type": "basic/boolean", - "pos": [ - 1290.0263629882813, - -699.5000000000001 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 15, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "bool", - "type": "boolean", - "links": [ - "304ce158-7b36-4320-9864-8d07344f63b0" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Const Boolean", - "properties": { - "value": true, - "tags": [] - } - }, - { - "id": "2435034b-6c0c-4330-860e-247924dd5a4c", - "type": "actions/set_node_mode_advanced", - "pos": [ - 1356, - -398 - ], - "size": [ - 260.4, - 102 - ], - "flags": {}, - "order": 32, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": null, - "properties": {} - }, - { - "name": "set", - "type": -1, - "link": "7fde6a31-c3aa-4ca9-ad1a-800b27a400d3", - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAdvancedAction", - "properties": { - "targetTags": [ - { - "tag": "hrScaleSize", - "enable": false - }, - { - "tag": "hrPixelSize", - "enable": true - } - ], - "enable": true, - "tags": [] - }, - "boxcolor": "#666", - "saveUserState": true - }, - { - "id": "f26dbd56-16e8-4248-9cc8-74b19863cfb6", - "type": "actions/set_node_mode_advanced", - "pos": [ - 1351, - -551 - ], - "size": [ - 260.4, - 102 - ], - "flags": {}, - "order": 31, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": null, - "properties": {} - }, - { - "name": "set", - "type": -1, - "link": "6cbb38f4-6421-4638-95ff-a741940c16ad", - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAdvancedAction", - "properties": { - "targetTags": [ - { - "tag": "hrScaleSize", - "enable": true - }, - { - "tag": "hrPixelSize", - "enable": false - } - ], - "enable": true, - "tags": [] - }, - "boxcolor": "#666", - "saveUserState": true - }, - { - "id": "3ae03484-08e1-4fde-8ff9-47e6250f49d3", - "type": "ui/checkbox", - "pos": [ - 1109, - -601 - ], - "size": [ - 210, - 78 - ], - "flags": {}, - "order": 16, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "boolean", - "links": [], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [ - "6feaa2b5-64ea-4923-b7a9-bcfd6554ab19" - ], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.Checkbox", - "properties": { - "tags": [], - "defaultValue": false - }, - "widgets_values": [ - "true" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": true, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "3baf6d47-78cb-4698-be9a-77d66cb636e4", - "type": "graph/input", - "pos": [ - 70, - 179 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 17, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "links": [ - "afd82e76-7f9d-4176-adbc-bb3bcfd5e47e", - "464e2e44-d973-4701-b6c7-258304d48f5e", - "f0741048-991e-4cdb-9fad-2baced82a2d7" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Input", - "properties": { - "name": "image", - "type": "string", - "value": "", - "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", - "tags": [] - } - }, - { - "id": "6d957ff0-8932-45e2-9712-d85d639729ed", - "type": "basic/is_null", - "pos": [ - 43.376408715251735, - -113.76709241172048 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 26, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "*", - "link": "464e2e44-d973-4701-b6c7-258304d48f5e", - "properties": {} - } - ], - "outputs": [ - { - "name": "is_null", - "type": "boolean", - "links": [ - "97f565f4-b48b-40d3-91ee-d47f68a9b373" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "== Null", - "properties": { - "strictEquality": false, - "tags": [] - } - }, - { - "id": "eef31822-d423-4b55-983c-d9b7439b194e", - "type": "basic/CompareValues", - "pos": [ - 33.37640871525173, - -80.76709241172048 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 27, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": 0, - "link": "f0741048-991e-4cdb-9fad-2baced82a2d7", - "properties": {} - }, - { - "name": "B", - "type": 0, - "link": "db985b2d-bbe4-4601-8199-6127335904cf", - "properties": {}, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "true", - "type": "boolean", - "links": [ - "dce5e24f-e898-4b03-9efa-0122e4bef771" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "false", - "type": "boolean", - "links": [], - "properties": {} - } - ], - "title": "GenericCompare", - "properties": { - "A": null, - "B": "", - "OP": "==", - "enabled": true, - "tags": [] - } - }, - { - "id": "6adceb60-ae44-4544-a149-e45e82767ad4", - "type": "basic/string", - "pos": [ - -31.623591284748287, - -78.76709241172048 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 18, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "db985b2d-bbe4-4601-8199-6127335904cf" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "", - "tags": [] - } - }, - { - "id": "b3ba21f5-95f6-4d60-85b5-0bc9c53e6ec8", - "type": "logic/NOT", - "pos": [ - 139.37640871525167, - -113.76709241172048 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 34, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "boolean", - "link": "97f565f4-b48b-40d3-91ee-d47f68a9b373", - "properties": {} - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "3ad98d1f-c637-47c2-a4bc-c95a5957e8ab" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "NOT", - "properties": { - "tags": [] - } - }, - { - "id": "936b2589-6acc-46b0-8c23-7bdb9b82e75c", - "type": "KSampler", - "pos": [ - 752, - 95 - ], - "size": [ - 161.2, - 206 - ], - "flags": {}, - "order": 43, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": "6494ccd2-651f-4c4f-b439-bc26997ecc4c", - "properties": {}, - "slot_index": 0, - "config": {} - }, - { - "name": "seed", - "type": "number", - "link": "54713e33-bc69-437e-826d-8003a4847b04", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/number", - "serialize": true, - "slot_index": 1 - }, - { - "name": "steps", - "type": "number", - "link": "23d7ea2c-9b9b-4339-b5ab-9602654317c0", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/number", - "serialize": true, - "slot_index": 2 - }, - { - "name": "cfg", - "type": "number", - "link": "c5c4aa54-c6cb-4f4d-8600-9fea6ba21194", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/number", - "serialize": true, - "slot_index": 3 - }, - { - "name": "sampler_name", - "type": "string", - "link": "3495f139-629e-4ff2-8f40-af27de6ca393", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true, - "slot_index": 4 - }, - { - "name": "scheduler", - "type": "string", - "link": "4caca8dd-4c69-410e-8df9-58c2ec868302", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true, - "slot_index": 5 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": "53a2dedf-850b-47d7-9bd7-5abc3b83c6aa", - "properties": {}, - "slot_index": 6, - "config": {} - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": "f970330a-6fe5-4e68-b944-a1bb6661a997", - "properties": {}, - "slot_index": 7, - "config": {} - }, - { - "name": "latent_image", - "type": "LATENT", - "link": "ca39f644-a58b-428f-b3ee-f3f600316979", - "properties": {}, - "config": {} - }, - { - "name": "denoise", - "type": "number", - "link": "363012c8-1a37-4c4c-adee-de52958ef49c", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/number", - "serialize": true, - "slot_index": 9 - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "a35b997f-4fc7-4842-8713-afd26d7b4ea8" - ], - "properties": {}, - "shape": 3, - "slot_index": 0 - } - ], - "title": "KSampler", - "properties": { - "tags": [ - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "5811add3-c3e2-44b7-83f5-9cb9f75c385e", - "type": "utils/pick_first", - "pos": [ - 351, - 425 - ], - "size": [ - 210, - 122 - ], - "flags": { - "collapsed": true - }, - "order": 37, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "c28cc938-304d-4fca-92b0-f132739ba33a", - "properties": {} - }, - { - "name": "B", - "type": "*", - "link": "2486cdf8-cc57-45cc-82bc-30eeca736f0f", - "properties": {} - }, - { - "name": "C", - "type": "*", - "link": null, - "properties": {} - } - ], - "outputs": [ - { - "name": "", - "type": "*", - "links": [ - "44a6f57c-1035-4d3c-a87a-a5d8f1326c57" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [ - "hr" - ], - "mode": "dataNonNull" - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "f2e278f2-d48a-49a8-8513-fd705ac566c5", - "type": "utils/pick_first", - "pos": [ - 353, - 449 - ], - "size": [ - 210, - 122 - ], - "flags": { - "collapsed": true - }, - "order": 36, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "47a6d9fb-7157-47c4-b2bf-79dad3ba49ba", - "properties": {} - }, - { - "name": "B", - "type": "*", - "link": "83217cc8-be20-4337-9851-59b2fa5d52db", - "properties": {} - }, - { - "name": "C", - "type": "*", - "link": null, - "properties": {} - } - ], - "outputs": [ - { - "name": "", - "type": "*", - "links": [ - "07e30e7f-d301-4a05-a0d2-06bc54975323" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [ - "hr" - ], - "mode": "dataNonNull" - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "3c32f0ff-d950-4c7a-a257-91324f3668b2", - "type": "graph/subgraph", - "pos": [ - 84, - 423 - ], - "size": [ - 200, - 50 - ], - "flags": { - "collapsed": false - }, - "order": 29, - "mode": 0, - "inputs": [ - { - "name": "height", - "type": "number", - "link": "0d6eb900-712d-4b5f-a29b-eb17cb79e844", - "properties": {} - }, - { - "name": "width", - "type": "number", - "link": "0824441f-157f-41fb-a1c2-66013f020194", - "properties": {} - } - ], - "outputs": [ - { - "name": "height", - "type": "number", - "links": [ - "47a6d9fb-7157-47c4-b2bf-79dad3ba49ba" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "width", - "type": "number", - "links": [ - "c28cc938-304d-4fca-92b0-f132739ba33a" - ], - "properties": {}, - "slot_index": 1 - } - ], - "title": "Scale By Slider", - "properties": { - "enabled": true, - "tags": [ - "hr", - "hrScaleSize" - ] - }, - "color": "#2a363b", - "bgColor": "#3f5159", - "subgraph": { - "last_node_id": 0, - "last_link_id": 0, - "nodes": [ - { - "id": "49c1a535-4c3d-4e09-b64e-40f8d1c024d8", - "type": "graph/input", - "pos": [ - 408.0700000000001, - 403.89 - ], - "size": [ - 210, - 86 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "number", - "links": [ - "c87429e4-204c-40cc-8053-5668c10792e7" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "height", - "type": "number", - "value": 0, - "subgraphID": "3c32f0ff-d950-4c7a-a257-91324f3668b2", - "tags": [] - } - }, - { - "id": "cce110a1-94dd-4f4e-8337-f44c8c13dac6", - "type": "math/operation", - "pos": [ - 884, - 402 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "number,array,object", - "link": "c87429e4-204c-40cc-8053-5668c10792e7", - "properties": {}, - "slot_index": 0 - }, - { - "name": "B", - "type": "number", - "link": "5b00f682-1dcc-49e0-b0ee-cf1174fd8615", - "properties": {} - } - ], - "outputs": [ - { - "name": "=", - "type": "number", - "links": [ - "7fa6b0be-2e63-47c2-abb4-93b6d09a51b7" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Operation", - "properties": { - "A": 0, - "B": 2, - "OP": "*", - "tags": [] - } - }, - { - "id": "da389077-c937-483f-b688-4ef954561465", - "type": "math/operation", - "pos": [ - 881, - 329 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "number,array,object", - "link": "2d27a8b9-7e1b-4394-9d57-ec8806420222", - "properties": {}, - "slot_index": 0 - }, - { - "name": "B", - "type": "number", - "link": "43e3da1c-68c9-43e6-917b-62b0326233ff", - "properties": {} - } - ], - "outputs": [ - { - "name": "=", - "type": "number", - "links": [ - "eec77bcd-6dfd-431e-9d47-fe0a1231764d" - ], - "properties": {} - } - ], - "title": "Operation", - "properties": { - "A": 0, - "B": 2, - "OP": "*", - "tags": [] - } - }, - { - "id": "772f92b1-4233-4d95-b590-99db6c857e83", - "type": "math/floor", - "pos": [ - 966, - 405 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "number", - "link": "7fa6b0be-2e63-47c2-abb4-93b6d09a51b7", - "properties": {}, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": "number", - "links": [ - "3efab7e4-fce6-4b3d-9dca-01939f9177ee", - "ea8d6ce9-4028-4249-ac73-0a04c8daee73" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Floor", - "properties": { - "tags": [] - } - }, - { - "id": "9dbf5f21-3c1c-4215-ae88-3486eb335737", - "type": "math/floor", - "pos": [ - 967, - 331 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "number", - "link": "eec77bcd-6dfd-431e-9d47-fe0a1231764d", - "properties": {}, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": "number", - "links": [ - "a1b7ae71-e599-4723-af13-d405000029b9", - "8e096bea-8581-4edc-9432-1f5637ceaba5" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Floor", - "properties": { - "tags": [] - } - }, - { - "id": "8d0a8180-4e86-415a-8807-c12838513482", - "type": "graph/output", - "pos": [ - 1220, - 378 - ], - "size": [ - 210, - 62 - ], - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "number", - "link": "ea8d6ce9-4028-4249-ac73-0a04c8daee73", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "height", - "type": "number", - "subgraphID": "3c32f0ff-d950-4c7a-a257-91324f3668b2", - "tags": [] - } - }, - { - "id": "d90e9948-0d2b-4c96-b919-4513248c0008", - "type": "graph/output", - "pos": [ - 1222, - 277 - ], - "size": [ - 210, - 62 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "number", - "link": "8e096bea-8581-4edc-9432-1f5637ceaba5", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "width", - "type": "number", - "subgraphID": "3c32f0ff-d950-4c7a-a257-91324f3668b2", - "tags": [] - } - }, - { - "id": "a5226375-a5bb-450c-b7ad-6ba353125c58", - "type": "graph/input", - "pos": [ - 410, - 278 - ], - "size": [ - 210, - 86 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "number", - "links": [ - "2d27a8b9-7e1b-4394-9d57-ec8806420222" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "width", - "type": "number", - "value": 0, - "subgraphID": "3c32f0ff-d950-4c7a-a257-91324f3668b2", - "tags": [] - } - }, - { - "id": "26e28942-e1f0-486d-8e22-d97016c1fc89", - "type": "ui/number", - "pos": [ - 680, - 370 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "43e3da1c-68c9-43e6-917b-62b0326233ff", - "5b00f682-1dcc-49e0-b0ee-cf1174fd8615" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - }, - { - "name": "@min", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@max", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@step", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@precision", - "type": "number", - "links": [], - "properties": {} - } - ], - "title": "UI.Number", - "properties": { - "tags": [ - "hr", - "hrScaleSize" - ], - "defaultValue": 0, - "min": 1, - "max": 4, - "step": 0.05, - "precision": 1 - }, - "widgets_values": [ - "2.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 2, - "shownOutputProperties": { - "min": { - "type": "number", - "outputName": "@min" - }, - "max": { - "type": "number", - "outputName": "@max" - }, - "step": { - "type": "number", - "outputName": "@step" - }, - "precision": { - "type": "number", - "outputName": "@precision" - } - }, - "saveUserState": true - }, - { - "id": "cd542742-1fcf-4ec7-9c42-01abdf6948e9", - "type": "string/toString", - "pos": [ - 1005, - 235 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "", - "link": "a1b7ae71-e599-4723-af13-d405000029b9", - "properties": {}, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": "string", - "links": [ - "b000f774-8d8f-4742-b1fd-89dfc7879566" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "ToString", - "properties": { - "tags": [] - } - }, - { - "id": "e9800a0c-7e3c-4b0f-ab24-d80e877ec065", - "type": "string/toString", - "pos": [ - 1020, - 473 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "", - "link": "3efab7e4-fce6-4b3d-9dca-01939f9177ee", - "properties": {}, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": "string", - "links": [ - "5257c68e-98e8-4e28-9fce-5a2e2923a20b" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "ToString", - "properties": { - "tags": [] - } - }, - { - "id": "16b6d36c-edd8-4349-a0f4-9dad35b041ae", - "type": "ui/text", - "pos": [ - 1128, - 473 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 12, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "string", - "link": "5257c68e-98e8-4e28-9fce-5a2e2923a20b", - "properties": {}, - "slot_index": 0 - }, - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.Text", - "properties": { - "tags": [ - "hr", - "hrScaleSize" - ], - "defaultValue": "", - "multiline": false - }, - "widgets_values": [ - "0" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "0", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "ce81af45-6815-4878-8bf2-ccbc5c620e31", - "type": "ui/text", - "pos": [ - 1108, - 233 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "string", - "link": "b000f774-8d8f-4742-b1fd-89dfc7879566", - "properties": {} - }, - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.Text", - "properties": { - "tags": [ - "hr", - "hrScaleSize" - ], - "defaultValue": "", - "multiline": false - }, - "widgets_values": [ - "0" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "0", - "shownOutputProperties": {}, - "saveUserState": true - } - ], - "links": [ - [ - "43e3da1c-68c9-43e6-917b-62b0326233ff", - "26e28942-e1f0-486d-8e22-d97016c1fc89", - 0, - "da389077-c937-483f-b688-4ef954561465", - 1, - "number" - ], - [ - "5b00f682-1dcc-49e0-b0ee-cf1174fd8615", - "26e28942-e1f0-486d-8e22-d97016c1fc89", - 0, - "cce110a1-94dd-4f4e-8337-f44c8c13dac6", - 1, - "number" - ], - [ - "2d27a8b9-7e1b-4394-9d57-ec8806420222", - "a5226375-a5bb-450c-b7ad-6ba353125c58", - 0, - "da389077-c937-483f-b688-4ef954561465", - 0, - "number" - ], - [ - "c87429e4-204c-40cc-8053-5668c10792e7", - "49c1a535-4c3d-4e09-b64e-40f8d1c024d8", - 0, - "cce110a1-94dd-4f4e-8337-f44c8c13dac6", - 0, - "number" - ], - [ - "7fa6b0be-2e63-47c2-abb4-93b6d09a51b7", - "cce110a1-94dd-4f4e-8337-f44c8c13dac6", - 0, - "772f92b1-4233-4d95-b590-99db6c857e83", - 0, - "number" - ], - [ - "eec77bcd-6dfd-431e-9d47-fe0a1231764d", - "da389077-c937-483f-b688-4ef954561465", - 0, - "9dbf5f21-3c1c-4215-ae88-3486eb335737", - 0, - "number" - ], - [ - "a1b7ae71-e599-4723-af13-d405000029b9", - "9dbf5f21-3c1c-4215-ae88-3486eb335737", - 0, - "cd542742-1fcf-4ec7-9c42-01abdf6948e9", - 0, - "number" - ], - [ - "3efab7e4-fce6-4b3d-9dca-01939f9177ee", - "772f92b1-4233-4d95-b590-99db6c857e83", - 0, - "e9800a0c-7e3c-4b0f-ab24-d80e877ec065", - 0, - "number" - ], - [ - "ea8d6ce9-4028-4249-ac73-0a04c8daee73", - "772f92b1-4233-4d95-b590-99db6c857e83", - 0, - "8d0a8180-4e86-415a-8807-c12838513482", - 0, - "number" - ], - [ - "8e096bea-8581-4edc-9432-1f5637ceaba5", - "9dbf5f21-3c1c-4215-ae88-3486eb335737", - 0, - "d90e9948-0d2b-4c96-b919-4513248c0008", - 0, - "number" - ], - [ - "b000f774-8d8f-4742-b1fd-89dfc7879566", - "cd542742-1fcf-4ec7-9c42-01abdf6948e9", - 0, - "ce81af45-6815-4878-8bf2-ccbc5c620e31", - 0, - "string" - ], - [ - "5257c68e-98e8-4e28-9fce-5a2e2923a20b", - "e9800a0c-7e3c-4b0f-ab24-d80e877ec065", - 0, - "16b6d36c-edd8-4349-a0f4-9dad35b041ae", - 0, - "string" - ] - ], - "groups": [], - "config": {}, - "extra": {}, - "version": 10 - } - }, - { - "id": "db6e3af5-a5a9-405b-91c6-8d8aef19b7b2", - "type": "graph/input", - "pos": [ - -32, - 475 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 19, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "number", - "links": [ - "0d6eb900-712d-4b5f-a29b-eb17cb79e844" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Input", - "properties": { - "name": "height", - "type": "number", - "value": 0, - "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", - "tags": [] - } - }, - { - "id": "186971da-ed44-4d15-b66f-99196e0968d9", - "type": "utils/reroute", - "pos": [ - 916, - 7 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 28, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": "c36105ab-4457-4086-be92-5d9c5cfb357d", - "properties": {} - } - ], - "outputs": [ - { - "name": "", - "type": "number", - "links": [], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Comfy.Reroute", - "properties": { - "tags": [ - "hr" - ], - "showOutputText": false, - "horizontal": false, - "ignoreTypes": false - }, - "saveUserState": true - }, - { - "id": "26f95ae7-d422-4555-bf69-7de7ef3de87b", - "type": "ui/number", - "pos": [ - 305.2727272727274, - 311.2727272727269 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 20, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "b18981ac-984d-4797-97ec-9ce677abb3b2" - ], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - }, - { - "name": "@min", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@max", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@step", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@precision", - "type": "number", - "links": [], - "properties": {} - } - ], - "title": "UI.Number", - "properties": { - "tags": [], - "defaultValue": 1, - "min": 1, - "max": 16, - "step": 1, - "precision": 0 - }, - "widgets_values": [ - "1.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 1, - "shownOutputProperties": { - "min": { - "type": "number", - "outputName": "@min" - }, - "max": { - "type": "number", - "outputName": "@max" - }, - "step": { - "type": "number", - "outputName": "@step" - }, - "precision": { - "type": "number", - "outputName": "@precision" - } - }, - "saveUserState": true - }, - { - "id": "802b653e-584c-4d18-874c-b8b66485c801", - "type": "LatentUpscale", - "pos": [ - 498, - 359 - ], - "size": [ - 178, - 106 - ], - "flags": {}, - "order": 41, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": "01d6858a-4a85-40e6-8cfb-347cf69aa26a", - "properties": {}, - "slot_index": 0, - "config": {} - }, - { - "name": "upscale_method", - "type": "string", - "link": "2f254406-6615-4781-b6fa-dc736e06d1e2", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - }, - { - "name": "width", - "type": "number", - "link": "44a6f57c-1035-4d3c-a87a-a5d8f1326c57", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/number", - "serialize": true - }, - { - "name": "height", - "type": "number", - "link": "07e30e7f-d301-4a05-a0d2-06bc54975323", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/number", - "serialize": true - }, - { - "name": "crop", - "type": "string", - "link": "7a2601c6-4e43-4cfc-9994-784bdcb13d63", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "ca39f644-a58b-428f-b3ee-f3f600316979" - ], - "properties": {}, - "shape": 3, - "slot_index": 0 - } - ], - "title": "Upscale Latent", - "properties": { - "tags": [ - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "f7defa19-6e11-412a-a1ba-7738596e4754", - "type": "RepeatLatentBatch", - "pos": [ - 438, - 269 - ], - "size": [ - 159.6, - 46 - ], - "flags": {}, - "order": 39, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": "e743c359-26a4-4596-952f-72a4836b68e8", - "properties": {}, - "config": {} - }, - { - "name": "amount", - "type": "number", - "link": "b18981ac-984d-4797-97ec-9ce677abb3b2", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/number", - "serialize": true, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "01d6858a-4a85-40e6-8cfb-347cf69aa26a" - ], - "properties": {}, - "shape": 3, - "slot_index": 0 - } - ], - "title": "Repeat Latent Batch", - "properties": { - "tags": [ - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "2da624e1-3555-4e15-924f-f83650ba1301", - "type": "events/branch", - "pos": [ - 414, - -146 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 44, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "2178013c-b1fb-4f11-bea5-df2be5578b1c", - "properties": {}, - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "6f9deae0-4349-4ed3-b8c4-86a3f5fb4476", - "properties": {} - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "126a645d-bc14-4bf6-ad06-ce0599037868", - "e93ebb6d-0d98-4ce1-9348-880556c8254e" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "false", - "type": -2, - "links": [ - "8f73a986-05df-481d-8997-72e67d71637a" - ], - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "56144161-2e68-42fa-b955-88ea8dced157", - "type": "logic/AND", - "pos": [ - 345, - -96 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 42, - "mode": 0, - "inputs": [ - { - "name": "a", - "type": "boolean", - "link": "b4f3aac1-5179-4c60-a265-0edb68bbe148", - "properties": {} - }, - { - "name": "b", - "type": "boolean", - "link": "08df5eb9-125e-407f-b72f-3dc27a4c32ea", - "properties": {} - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "6f9deae0-4349-4ed3-b8c4-86a3f5fb4476" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "AND", - "properties": { - "tags": [] - } - }, - { - "id": "176f5889-ed85-4673-bda6-ad7c16b5f242", - "type": "logic/AND", - "pos": [ - 246, - -96 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 40, - "mode": 0, - "inputs": [ - { - "name": "a", - "type": "boolean", - "link": "3ad98d1f-c637-47c2-a4bc-c95a5957e8ab", - "properties": {} - }, - { - "name": "b", - "type": "boolean", - "link": "6259c8bd-edb0-4118-b0f9-36b82189b6df", - "properties": {} - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "08df5eb9-125e-407f-b72f-3dc27a4c32ea" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "AND", - "properties": { - "tags": [] - } - }, - { - "id": "189bd380-0869-4422-9782-435229f3bb1d", - "type": "logic/NOT", - "pos": [ - 132, - -81 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 35, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "boolean", - "link": "dce5e24f-e898-4b03-9efa-0122e4bef771", - "properties": {} - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "6259c8bd-edb0-4118-b0f9-36b82189b6df" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "NOT", - "properties": { - "tags": [] - } - }, - { - "id": "af9372d2-64a4-4e70-a1fb-ece84d362cba", - "type": "logic/NOT", - "pos": [ - 127, - -47 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 38, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "boolean", - "link": "2e18ff0e-aa86-46b8-9e87-4f60cdc29c5b", - "properties": {} - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "b4f3aac1-5179-4c60-a265-0edb68bbe148" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "NOT", - "properties": { - "tags": [] - } - }, - { - "id": "c1a6ffdf-07c2-4d1b-a83e-bdafc00b9e72", - "type": "math/approx_eq", - "pos": [ - 6, - -45 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 30, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "number", - "link": "0a35ade9-7212-420c-b8d7-22607682e086", - "properties": {} - }, - { - "name": "B", - "type": "number", - "link": "25bcbe05-5ce2-43cf-b496-d453fdce40d2", - "properties": {}, - "slot_index": 1 - }, - { - "name": "epsilon", - "type": "number", - "link": null, - "properties": {} - } - ], - "outputs": [ - { - "name": "true", - "type": "boolean", - "links": [ - "2e18ff0e-aa86-46b8-9e87-4f60cdc29c5b" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "false", - "type": "boolean", - "links": [], - "properties": {} - } - ], - "title": "Approx. Eq", - "properties": { - "tags": [] - } - }, - { - "id": "33d088ba-ad04-4b71-9a37-171521ef5443", - "type": "basic/number", - "pos": [ - -60, - -44 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 21, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "25bcbe05-5ce2-43cf-b496-d453fdce40d2" - ], - "properties": {}, - "label": "0.000" - } - ], - "title": "Const Number", - "properties": { - "value": 0, - "tags": [] - } - }, - { - "id": "2b453f7d-e511-4531-aa60-72cea33dd183", - "type": "graph/input", - "pos": [ - 347, - 32 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 22, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - "b48b7fdb-0128-492f-b5e2-839b51777dfa", - "c36105ab-4457-4086-be92-5d9c5cfb357d", - "0f7d6ecf-0309-4244-9d37-56f2a6c6109d" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Input", - "properties": { - "name": "vae", - "type": "VAE", - "value": null, - "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", - "tags": [] - } - }, - { - "id": "ca3b8dec-bf22-48d3-a63f-4b5c40eb6be3", - "type": "VAEEncode", - "pos": [ - 406, - 163 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 33, - "mode": 0, - "inputs": [ - { - "name": "pixels", - "type": "IMAGE", - "link": "75ca312d-59fc-47f7-956e-86cf03ec744f", - "properties": {}, - "slot_index": 0, - "config": {} - }, - { - "name": "vae", - "type": "VAE", - "link": "b48b7fdb-0128-492f-b5e2-839b51777dfa", - "properties": {}, - "slot_index": 1, - "config": {} - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "e743c359-26a4-4596-952f-72a4836b68e8" - ], - "properties": {}, - "shape": 3, - "slot_index": 0 - } - ], - "title": "VAE Encode", - "properties": { - "tags": [ - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "d1316cca-081d-4e6a-857e-958d796580e7", - "type": "VAEDecode", - "pos": [ - 1051, - 93 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 45, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": "a35b997f-4fc7-4842-8713-afd26d7b4ea8", - "properties": {}, - "config": {} - }, - { - "name": "vae", - "type": "VAE", - "link": "0f7d6ecf-0309-4244-9d37-56f2a6c6109d", - "properties": {}, - "config": {}, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - "928ac2b7-3d97-443b-8c21-84ba1bd0ae54" - ], - "properties": {}, - "shape": 3, - "slot_index": 0 - } - ], - "title": "VAE Decode", - "properties": { - "tags": [ - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "4f24d51e-f352-4d47-b276-bafd200e11de", - "type": "graph/input", - "pos": [ - -30, - 446 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 23, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "number", - "links": [ - "0824441f-157f-41fb-a1c2-66013f020194", - "0a35ade9-7212-420c-b8d7-22607682e086" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Input", - "properties": { - "name": "width", - "type": "number", - "value": 0, - "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", - "tags": [] - } - } - ], - "links": [ - [ - "afd82e76-7f9d-4176-adbc-bb3bcfd5e47e", - "3baf6d47-78cb-4698-be9a-77d66cb636e4", - 0, - "389aeb57-a635-401d-9672-34aedc14f736", - 0, - "string" - ], - [ - "6494ccd2-651f-4c4f-b439-bc26997ecc4c", - "f7f51185-b2d8-46ac-8605-83051b972ad3", - 0, - "936b2589-6acc-46b0-8c23-7bdb9b82e75c", - 0, - "MODEL" - ], - [ - "54713e33-bc69-437e-826d-8003a4847b04", - "271fb970-b797-45bc-b01d-a921f07033b7", - 0, - "936b2589-6acc-46b0-8c23-7bdb9b82e75c", - 1, - "number" - ], - [ - "23d7ea2c-9b9b-4339-b5ab-9602654317c0", - "b25be03c-47a0-4bab-bd7d-dff944763286", - 0, - "936b2589-6acc-46b0-8c23-7bdb9b82e75c", - 2, - "number" - ], - [ - "c5c4aa54-c6cb-4f4d-8600-9fea6ba21194", - "e5b933b8-c925-4c93-b1d3-14034a3a2b58", - 0, - "936b2589-6acc-46b0-8c23-7bdb9b82e75c", - 3, - "number" - ], - [ - "3495f139-629e-4ff2-8f40-af27de6ca393", - "ea3d61d2-53cb-445c-aed4-0e71db9375fa", - 0, - "936b2589-6acc-46b0-8c23-7bdb9b82e75c", - 4, - "string" - ], - [ - "4caca8dd-4c69-410e-8df9-58c2ec868302", - "0b3a21e4-914e-4948-9a00-f1153a65cd66", - 0, - "936b2589-6acc-46b0-8c23-7bdb9b82e75c", - 5, - "string" - ], - [ - "53a2dedf-850b-47d7-9bd7-5abc3b83c6aa", - "a9b42639-2d98-4af1-b4ad-051e9600f352", - 0, - "936b2589-6acc-46b0-8c23-7bdb9b82e75c", - 6, - "CONDITIONING" - ], - [ - "f970330a-6fe5-4e68-b944-a1bb6661a997", - "f1a592df-59b5-4011-a3b2-1e11a5c5d17c", - 0, - "936b2589-6acc-46b0-8c23-7bdb9b82e75c", - 7, - "CONDITIONING" - ], - [ - "75ca312d-59fc-47f7-956e-86cf03ec744f", - "389aeb57-a635-401d-9672-34aedc14f736", - 0, - "ca3b8dec-bf22-48d3-a63f-4b5c40eb6be3", - 0, - "IMAGE" - ], - [ - "b48b7fdb-0128-492f-b5e2-839b51777dfa", - "2b453f7d-e511-4531-aa60-72cea33dd183", - 0, - "ca3b8dec-bf22-48d3-a63f-4b5c40eb6be3", - 1, - "VAE" - ], - [ - "2f254406-6615-4781-b6fa-dc736e06d1e2", - "fcfb2720-0382-4ca0-bc77-e820858db088", - 0, - "802b653e-584c-4d18-874c-b8b66485c801", - 1, - "string" - ], - [ - "7a2601c6-4e43-4cfc-9994-784bdcb13d63", - "3e63c209-da43-42d3-8785-ff6db26868e1", - 0, - "802b653e-584c-4d18-874c-b8b66485c801", - 4, - "string" - ], - [ - "ca39f644-a58b-428f-b3ee-f3f600316979", - "802b653e-584c-4d18-874c-b8b66485c801", - 0, - "936b2589-6acc-46b0-8c23-7bdb9b82e75c", - 8, - "LATENT" - ], - [ - "363012c8-1a37-4c4c-adee-de52958ef49c", - "ce549cfe-41ca-4499-8c8f-f3acd411b92c", - 0, - "936b2589-6acc-46b0-8c23-7bdb9b82e75c", - 9, - "number" - ], - [ - "a35b997f-4fc7-4842-8713-afd26d7b4ea8", - "936b2589-6acc-46b0-8c23-7bdb9b82e75c", - 0, - "d1316cca-081d-4e6a-857e-958d796580e7", - 0, - "LATENT" - ], - [ - "c36105ab-4457-4086-be92-5d9c5cfb357d", - "2b453f7d-e511-4531-aa60-72cea33dd183", - 0, - "186971da-ed44-4d15-b66f-99196e0968d9", - 0, - "VAE" - ], - [ - "928ac2b7-3d97-443b-8c21-84ba1bd0ae54", - "d1316cca-081d-4e6a-857e-958d796580e7", - 0, - "10abd4b1-756f-462d-a95e-f557805accef", - 0, - "IMAGE" - ], - [ - "464e2e44-d973-4701-b6c7-258304d48f5e", - "3baf6d47-78cb-4698-be9a-77d66cb636e4", - 0, - "6d957ff0-8932-45e2-9712-d85d639729ed", - 0, - "string" - ], - [ - "97f565f4-b48b-40d3-91ee-d47f68a9b373", - "6d957ff0-8932-45e2-9712-d85d639729ed", - 0, - "b3ba21f5-95f6-4d60-85b5-0bc9c53e6ec8", - 0, - "boolean" - ], - [ - "2178013c-b1fb-4f11-bea5-df2be5578b1c", - "c10a25d1-3f64-4cb3-847c-684dd97ec516", - 0, - "2da624e1-3555-4e15-924f-f83650ba1301", - 0, - -1 - ], - [ - "8f73a986-05df-481d-8997-72e67d71637a", - "2da624e1-3555-4e15-924f-f83650ba1301", - 1, - "add70fa6-27cf-445a-bcb2-4fdc6857da97", - 1, - -1 - ], - [ - "b2ebce1b-346a-4d4e-87c1-2589aa2f6e8e", - "f48a7c93-0ede-432b-95d0-13ffbdb53ed6", - 0, - "add70fa6-27cf-445a-bcb2-4fdc6857da97", - 0, - "string" - ], - [ - "126a645d-bc14-4bf6-ad06-ce0599037868", - "2da624e1-3555-4e15-924f-f83650ba1301", - 0, - "711b0ea5-ab0c-46d1-8ad0-583bd3307498", - 0, - -1 - ], - [ - "0d48dee8-f59d-44de-9b5f-e7d7568b7c5f", - "9c471580-d0a2-42a3-91e8-adc007dc32ec", - 0, - "33285152-0904-4cb9-a533-08d40b36117a", - 0, - "string" - ], - [ - "e93ebb6d-0d98-4ce1-9348-880556c8254e", - "2da624e1-3555-4e15-924f-f83650ba1301", - 0, - "33285152-0904-4cb9-a533-08d40b36117a", - 1, - -1 - ], - [ - "c28cc938-304d-4fca-92b0-f132739ba33a", - "3c32f0ff-d950-4c7a-a257-91324f3668b2", - 1, - "5811add3-c3e2-44b7-83f5-9cb9f75c385e", - 0, - "*" - ], - [ - "2486cdf8-cc57-45cc-82bc-30eeca736f0f", - "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", - 0, - "5811add3-c3e2-44b7-83f5-9cb9f75c385e", - 1, - "*" - ], - [ - "83217cc8-be20-4337-9851-59b2fa5d52db", - "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", - 1, - "f2e278f2-d48a-49a8-8513-fd705ac566c5", - 1, - "*" - ], - [ - "47a6d9fb-7157-47c4-b2bf-79dad3ba49ba", - "3c32f0ff-d950-4c7a-a257-91324f3668b2", - 0, - "f2e278f2-d48a-49a8-8513-fd705ac566c5", - 0, - "*" - ], - [ - "44a6f57c-1035-4d3c-a87a-a5d8f1326c57", - "5811add3-c3e2-44b7-83f5-9cb9f75c385e", - 0, - "802b653e-584c-4d18-874c-b8b66485c801", - 2, - "number" - ], - [ - "07e30e7f-d301-4a05-a0d2-06bc54975323", - "f2e278f2-d48a-49a8-8513-fd705ac566c5", - 0, - "802b653e-584c-4d18-874c-b8b66485c801", - 3, - "number" - ], - [ - "6feaa2b5-64ea-4923-b7a9-bcfd6554ab19", - "3ae03484-08e1-4fde-8ff9-47e6250f49d3", - 1, - "df4ba5a6-ad14-4689-9c60-448e4967c90c", - 0, - -1 - ], - [ - "304ce158-7b36-4320-9864-8d07344f63b0", - "c9bce373-fa36-4b2a-9fbb-72e7fa476025", - 0, - "df4ba5a6-ad14-4689-9c60-448e4967c90c", - 1, - "*" - ], - [ - "6cbb38f4-6421-4638-95ff-a741940c16ad", - "df4ba5a6-ad14-4689-9c60-448e4967c90c", - 0, - "f26dbd56-16e8-4248-9cc8-74b19863cfb6", - 1, - -1 - ], - [ - "7fde6a31-c3aa-4ca9-ad1a-800b27a400d3", - "df4ba5a6-ad14-4689-9c60-448e4967c90c", - 1, - "2435034b-6c0c-4330-860e-247924dd5a4c", - 1, - -1 - ], - [ - "3ad98d1f-c637-47c2-a4bc-c95a5957e8ab", - "b3ba21f5-95f6-4d60-85b5-0bc9c53e6ec8", - 0, - "176f5889-ed85-4673-bda6-ad7c16b5f242", - 0, - "boolean" - ], - [ - "f0741048-991e-4cdb-9fad-2baced82a2d7", - "3baf6d47-78cb-4698-be9a-77d66cb636e4", - 0, - "eef31822-d423-4b55-983c-d9b7439b194e", - 0, - "string" - ], - [ - "db985b2d-bbe4-4601-8199-6127335904cf", - "6adceb60-ae44-4544-a149-e45e82767ad4", - 0, - "eef31822-d423-4b55-983c-d9b7439b194e", - 1, - "string" - ], - [ - "dce5e24f-e898-4b03-9efa-0122e4bef771", - "eef31822-d423-4b55-983c-d9b7439b194e", - 0, - "189bd380-0869-4422-9782-435229f3bb1d", - 0, - "boolean" - ], - [ - "6259c8bd-edb0-4118-b0f9-36b82189b6df", - "189bd380-0869-4422-9782-435229f3bb1d", - 0, - "176f5889-ed85-4673-bda6-ad7c16b5f242", - 1, - "boolean" - ], - [ - "0824441f-157f-41fb-a1c2-66013f020194", - "4f24d51e-f352-4d47-b276-bafd200e11de", - 0, - "3c32f0ff-d950-4c7a-a257-91324f3668b2", - 1, - "number" - ], - [ - "0d6eb900-712d-4b5f-a29b-eb17cb79e844", - "db6e3af5-a5a9-405b-91c6-8d8aef19b7b2", - 0, - "3c32f0ff-d950-4c7a-a257-91324f3668b2", - 0, - "number" - ], - [ - "b18981ac-984d-4797-97ec-9ce677abb3b2", - "26f95ae7-d422-4555-bf69-7de7ef3de87b", - 0, - "f7defa19-6e11-412a-a1ba-7738596e4754", - 1, - "number" - ], - [ - "e743c359-26a4-4596-952f-72a4836b68e8", - "ca3b8dec-bf22-48d3-a63f-4b5c40eb6be3", - 0, - "f7defa19-6e11-412a-a1ba-7738596e4754", - 0, - "LATENT" - ], - [ - "01d6858a-4a85-40e6-8cfb-347cf69aa26a", - "f7defa19-6e11-412a-a1ba-7738596e4754", - 0, - "802b653e-584c-4d18-874c-b8b66485c801", - 0, - "LATENT" - ], - [ - "25bcbe05-5ce2-43cf-b496-d453fdce40d2", - "33d088ba-ad04-4b71-9a37-171521ef5443", - 0, - "c1a6ffdf-07c2-4d1b-a83e-bdafc00b9e72", - 1, - "number" - ], - [ - "0a35ade9-7212-420c-b8d7-22607682e086", - "4f24d51e-f352-4d47-b276-bafd200e11de", - 0, - "c1a6ffdf-07c2-4d1b-a83e-bdafc00b9e72", - 0, - "number" - ], - [ - "2e18ff0e-aa86-46b8-9e87-4f60cdc29c5b", - "c1a6ffdf-07c2-4d1b-a83e-bdafc00b9e72", - 0, - "af9372d2-64a4-4e70-a1fb-ece84d362cba", - 0, - "boolean" - ], - [ - "b4f3aac1-5179-4c60-a265-0edb68bbe148", - "af9372d2-64a4-4e70-a1fb-ece84d362cba", - 0, - "56144161-2e68-42fa-b955-88ea8dced157", - 0, - "boolean" - ], - [ - "08df5eb9-125e-407f-b72f-3dc27a4c32ea", - "176f5889-ed85-4673-bda6-ad7c16b5f242", - 0, - "56144161-2e68-42fa-b955-88ea8dced157", - 1, - "boolean" - ], - [ - "6f9deae0-4349-4ed3-b8c4-86a3f5fb4476", - "56144161-2e68-42fa-b955-88ea8dced157", - 0, - "2da624e1-3555-4e15-924f-f83650ba1301", - 1, - "boolean" - ], - [ - "0f7d6ecf-0309-4244-9d37-56f2a6c6109d", - "2b453f7d-e511-4531-aa60-72cea33dd183", - 0, - "d1316cca-081d-4e6a-857e-958d796580e7", - 1, - "VAE" - ] - ], - "groups": [], - "config": {}, - "extra": {}, - "version": 10 - } - }, { "id": "55a269ee-5de4-45b7-833f-cbea5fc36e9a", "type": "graph/subgraph", @@ -20733,7 +15754,7 @@ 70 ], "flags": {}, - "order": 31, + "order": 37, "mode": 0, "inputs": [ { @@ -22047,6 +17068,5557 @@ "extra": {}, "version": 10 } + }, + { + "id": "3162e077-a4cb-4672-b47c-da4a15eaed78", + "type": "events/receive_output", + "pos": [ + 1497, + 486 + ], + "size": [ + 210, + 106 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "received", + "type": -2, + "links": [ + "e4c06100-12af-4c17-9e9a-bd69c5a65832", + "d8483ae9-c9d6-4e96-83cb-49b07db5815a" + ], + "properties": {}, + "shape": 1, + "slot_index": 0, + "color_on": "fuchsia", + "color_off": "fuchsia" + } + ], + "title": "Comfy.ReceiveOutput", + "properties": { + "tags": [], + "name": "HR Fix", + "description": "Triggers HR fix for this image.", + "type": "COMFYBOX_IMAGE" + }, + "saveUserState": true + }, + { + "id": "928a13d8-cfc6-417e-9088-53503efb1cd3", + "type": "events/sequence", + "pos": [ + 2065, + 368 + ], + "size": [ + 140, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 49, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "eeb1dfa6-eaaa-4ba6-b2a6-b13ae69c3462", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "27e9b2c9-72c5-48b0-aa80-2646590d8c2b", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "a80e5f8c-ecc2-40c8-b5c6-232261f1a532", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "0f1bc87b-d1d6-4c04-be03-699eb7d1ab2a" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "9170d9a6-62e4-4aa3-8afa-0c61a36e8dd6", + "type": "events/frame_delay", + "pos": [ + 1765, + 518 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "event", + "type": -1, + "link": "e4c06100-12af-4c17-9e9a-bd69c5a65832", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "on_time", + "type": -2, + "links": [ + "84e724a1-9302-490f-b349-e1cc5062addf" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "Frame Delay", + "properties": { + "timeInFrames": 60, + "tags": [] + } + }, + { + "id": "1073dce1-aa2e-474e-9015-7e3066a92b59", + "type": "actions/execute_subgraph", + "pos": [ + 1912, + 520 + ], + "size": [ + 226.79999999999998, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "execute", + "type": -1, + "link": "84e724a1-9302-490f-b349-e1cc5062addf", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "targetTag", + "type": "string", + "link": null, + "properties": {} + } + ], + "outputs": [], + "title": "Comfy.ExecuteSubgraphAction", + "properties": { + "tags": [], + "targetTag": "hr" + }, + "saveUserState": true + }, + { + "id": "b9b9158b-b79b-4408-a19d-85e4ccb29f6e", + "type": "string/template", + "pos": [ + 1845, + 451 + ], + "size": [ + 210, + 98 + ], + "flags": { + "collapsed": true + }, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "string,array", + "link": null, + "properties": {} + }, + { + "name": "", + "type": "string", + "link": null, + "properties": {} + }, + { + "name": "update", + "type": -1, + "link": "d8483ae9-c9d6-4e96-83cb-49b07db5815a", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "out", + "type": "*", + "links": [], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [ + "a80e5f8c-ecc2-40c8-b5c6-232261f1a532" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Template", + "properties": { + "template": "{ \"galleryImages\": $1, \"selectedIndex\": 0, \"updateMode\": \"replace\" }", + "stringQuote": "", + "outputJSON": true, + "tags": [] + }, + "boxcolor": "#AEA" + }, + { + "id": "88ce296c-c21e-4929-90fe-b00310072880", + "type": "ui/button", + "pos": [ + 2853, + 80 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "8b9f4d46-6a55-4f1e-86bc-7c1dbd415e62" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "UI.Button", + "properties": { + "tags": [], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "773743fa-5945-4708-b74d-f95b1cc48154", + "type": "ui/button", + "pos": [ + 2846, + 181 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "78d35af4-2984-41ce-ab37-48c0e4dc0d91" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "UI.Button", + "properties": { + "tags": [], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "de5f256a-91ab-42c2-86cd-645066b3c714", + "type": "graph/subgraph", + "pos": [ + 2863, + 328 + ], + "size": [ + 200, + 230 + ], + "flags": {}, + "order": 56, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "string", + "link": "02e201d5-1d1e-4340-abd9-85c512cd03e7", + "properties": {} + }, + { + "name": "model", + "type": "MODEL", + "link": "7bf1ecb5-3b6b-4f44-9c42-c8436c207895", + "properties": {} + }, + { + "name": "seed", + "type": "number", + "link": "a6141a50-6a98-42ef-accd-acb4823c88da", + "properties": {} + }, + { + "name": "cfg", + "type": "number", + "link": "0791eec7-60ca-4b5d-bf30-c34daef5fb77", + "properties": {} + }, + { + "name": "sampler_name", + "type": "string", + "link": "efa2e4eb-d6d2-47a1-b8f7-4fef3d2c5956", + "properties": {} + }, + { + "name": "scheduler", + "type": "string", + "link": "1f48d50a-f904-4501-a953-dd7176e2ffd5", + "properties": {} + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": "3c0ea9e3-005f-4a0f-be04-248cee08632a", + "properties": {} + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": "31281b4a-4d23-4e90-8000-6ddf09803d64", + "properties": {} + }, + { + "name": "vae", + "type": "VAE", + "link": "e735e83c-b418-4c76-a7e8-ae86299e4f30", + "properties": {} + }, + { + "name": "width", + "type": "number", + "link": "9eed80a4-a47d-48c6-9c8a-63b5fb8026f8", + "properties": {} + }, + { + "name": "height", + "type": "number", + "link": "3f5990c7-4b08-4d41-9a46-9a44073eb5e6", + "properties": {} + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + "b9634e37-b5f5-48cf-a5d9-a32896302548" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "HR Fix", + "properties": { + "enabled": true, + "tags": [ + "hr" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "f7f51185-b2d8-46ac-8605-83051b972ad3", + "type": "graph/input", + "pos": [ + 640, + 118 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + "6494ccd2-651f-4c4f-b439-bc26997ecc4c" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "model", + "type": "MODEL", + "value": null, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "271fb970-b797-45bc-b01d-a921f07033b7", + "type": "graph/input", + "pos": [ + 644, + 140 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "54713e33-bc69-437e-826d-8003a4847b04" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "seed", + "type": "number", + "value": 0, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "b25be03c-47a0-4bab-bd7d-dff944763286", + "type": "ui/number", + "pos": [ + 631, + 161 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "23d7ea2c-9b9b-4339-b5ab-9602654317c0" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 20, + "min": 1, + "max": 200, + "step": 1, + "precision": 0 + }, + "widgets_values": [ + "30.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 30, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "e5b933b8-c925-4c93-b1d3-14034a3a2b58", + "type": "graph/input", + "pos": [ + 654, + 180 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "c5c4aa54-c6cb-4f4d-8600-9fea6ba21194" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "cfg", + "type": "number", + "value": 0, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "ea3d61d2-53cb-445c-aed4-0e71db9375fa", + "type": "graph/input", + "pos": [ + 621, + 201 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "links": [ + "3495f139-629e-4ff2-8f40-af27de6ca393" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "sampler_name", + "type": "string", + "value": "", + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "0b3a21e4-914e-4948-9a00-f1153a65cd66", + "type": "graph/input", + "pos": [ + 649, + 222 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "links": [ + "4caca8dd-4c69-410e-8df9-58c2ec868302" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "scheduler", + "type": "string", + "value": "", + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "a9b42639-2d98-4af1-b4ad-051e9600f352", + "type": "graph/input", + "pos": [ + 652, + 239 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + "53a2dedf-850b-47d7-9bd7-5abc3b83c6aa" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "positive", + "type": "CONDITIONING", + "value": null, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "f1a592df-59b5-4011-a3b2-1e11a5c5d17c", + "type": "graph/input", + "pos": [ + 646, + 259 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + "f970330a-6fe5-4e68-b944-a1bb6661a997" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "negative", + "type": "CONDITIONING", + "value": null, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "ce549cfe-41ca-4499-8c8f-f3acd411b92c", + "type": "ui/number", + "pos": [ + 634, + 298 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "363012c8-1a37-4c4c-adee-de52958ef49c" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": 0, + "max": 1, + "step": 0.01, + "precision": 0 + }, + "widgets_values": [ + "0.650" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0.65, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "10abd4b1-756f-462d-a95e-f557805accef", + "type": "graph/output", + "pos": [ + 1232, + 117 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 49, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "IMAGE", + "link": "928ac2b7-3d97-443b-8c21-84ba1bd0ae54", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "IMAGE", + "type": "IMAGE", + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "389aeb57-a635-401d-9672-34aedc14f736", + "type": "LoadImage", + "pos": [ + 228, + 163 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "string", + "link": "afd82e76-7f9d-4176-adbc-bb3bcfd5e47e", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + "75ca312d-59fc-47f7-956e-86cf03ec744f" + ], + "properties": {}, + "shape": 3 + }, + { + "name": "MASK", + "type": "MASK", + "links": [], + "properties": {}, + "shape": 3 + } + ], + "title": "Load Image", + "properties": { + "tags": [ + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "add70fa6-27cf-445a-bcb2-4fdc6857da97", + "type": "actions/notify", + "pos": [ + 663, + -54 + ], + "size": [ + 151.2, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 48, + "mode": 0, + "inputs": [ + { + "name": "message", + "type": "string", + "link": "b2ebce1b-346a-4d4e-87c1-2589aa2f6e8e", + "properties": {} + }, + { + "name": "trigger", + "type": -1, + "link": "8f73a986-05df-481d-8997-72e67d71637a", + "properties": {}, + "shape": 1 + } + ], + "outputs": [], + "title": "Comfy.NotifyAction", + "properties": { + "tags": [], + "message": "Nya.", + "type": "error" + }, + "saveUserState": true + }, + { + "id": "9c471580-d0a2-42a3-91e8-adc007dc32ec", + "type": "basic/string", + "pos": [ + 652, + -298 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "string", + "type": "string", + "links": [ + "0d48dee8-f59d-44de-9b5f-e7d7568b7c5f" + ], + "properties": {} + } + ], + "title": "Const String", + "properties": { + "value": "Upscale queued.", + "tags": [] + } + }, + { + "id": "33285152-0904-4cb9-a533-08d40b36117a", + "type": "actions/notify", + "pos": [ + 652, + -265 + ], + "size": [ + 151.2, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 47, + "mode": 0, + "inputs": [ + { + "name": "message", + "type": "string", + "link": "0d48dee8-f59d-44de-9b5f-e7d7568b7c5f", + "properties": {}, + "slot_index": 0 + }, + { + "name": "trigger", + "type": -1, + "link": "e93ebb6d-0d98-4ce1-9348-880556c8254e", + "properties": {}, + "shape": 1 + } + ], + "outputs": [], + "title": "Comfy.NotifyAction", + "properties": { + "tags": [], + "message": "Nya.", + "type": "info" + }, + "saveUserState": true + }, + { + "id": "f48a7c93-0ede-432b-95d0-13ffbdb53ed6", + "type": "basic/string", + "pos": [ + 632, + -22 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "string", + "type": "string", + "links": [ + "b2ebce1b-346a-4d4e-87c1-2589aa2f6e8e" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Const String", + "properties": { + "value": "Select an image from the Result gallery to upscale first.", + "tags": [] + } + }, + { + "id": "c10a25d1-3f64-4cb3-847c-684dd97ec516", + "type": "ui/button", + "pos": [ + 296, + -129 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "2178013c-b1fb-4f11-bea5-df2be5578b1c" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "UI.Button", + "properties": { + "tags": [], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "3e63c209-da43-42d3-8785-ff6db26868e1", + "type": "ui/combo", + "pos": [ + 367, + 469 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "7a2601c6-4e43-4cfc-9994-784bdcb13d63" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Combo", + "properties": { + "tags": [], + "defaultValue": null, + "values": [], + "convertValueToLabelCode": "" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": "A", + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "fcfb2720-0382-4ca0-bc77-e820858db088", + "type": "ui/combo", + "pos": [ + 368, + 399 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "2f254406-6615-4781-b6fa-dc736e06d1e2" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Combo", + "properties": { + "tags": [], + "defaultValue": null, + "values": [], + "convertValueToLabelCode": "" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": "A", + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", + "type": "graph/subgraph", + "pos": [ + 89, + 458 + ], + "size": [ + 200, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 14, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "width", + "type": "number", + "links": [ + "2486cdf8-cc57-45cc-82bc-30eeca736f0f" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "height", + "type": "number", + "links": [ + "83217cc8-be20-4337-9851-59b2fa5d52db" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "Dim. Sliders", + "properties": { + "enabled": true, + "tags": [ + "hr", + "hrPixelSize" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "6a4aa170-b899-4246-9941-73737a151fa3", + "type": "graph/output", + "pos": [ + 410, + -31 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "8a4da085-5cc2-441a-ab97-69a499db00f6", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "width", + "type": "number", + "subgraphID": "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", + "tags": [] + } + }, + { + "id": "31c57d04-1a47-43a8-9980-631e1f71ce11", + "type": "graph/output", + "pos": [ + 410, + 51 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "48bf0ac5-fc6a-41f4-896e-4f25f7a3a2d9", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "height", + "type": "number", + "subgraphID": "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", + "tags": [] + } + }, + { + "id": "e770fe92-5bba-4192-9744-4f45c64d8f11", + "type": "actions/swap", + "pos": [ + 200, + -3 + ], + "size": [ + 140, + 66 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "52220d37-ee8a-46be-95dc-ecf7c3591eae", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "18f4e925-e07a-4f3c-ad0b-c3dac88c8a8d", + "properties": {} + }, + { + "name": "swap", + "type": -1, + "link": "aa76cccd-1c29-4336-a5fe-c2c7470ef4cd", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "B", + "type": -2, + "links": [ + "c8b56de0-d7e4-444f-9cba-d9bfe820cce0" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "A", + "type": -2, + "links": [ + "a8710f7a-5b61-4148-9ade-e3504d8bd962" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Comfy.SwapAction", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "760a76a9-1784-4c0a-a107-caec9d5ba23b", + "type": "ui/number", + "pos": [ + 47, + 16 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "c8b56de0-d7e4-444f-9cba-d9bfe820cce0", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "52220d37-ee8a-46be-95dc-ecf7c3591eae", + "8a4da085-5cc2-441a-ab97-69a499db00f6" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [ + "hr", + "hrPixelSize" + ], + "defaultValue": 512, + "min": 64, + "max": 2048, + "step": 64, + "precision": 0 + }, + "widgets_values": [ + "512.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 512, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "e895b0ce-8df2-42fc-8618-c8b713ca4747", + "type": "ui/number", + "pos": [ + 45, + 49 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "a8710f7a-5b61-4148-9ade-e3504d8bd962", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "18f4e925-e07a-4f3c-ad0b-c3dac88c8a8d", + "48bf0ac5-fc6a-41f4-896e-4f25f7a3a2d9" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [ + "hr", + "hrPixelSize" + ], + "defaultValue": 512, + "min": 64, + "max": 2048, + "step": 64, + "precision": 0 + }, + "widgets_values": [ + "512.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 512, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "060493ab-465d-4705-935e-2e53506b2369", + "type": "ui/button", + "pos": [ + 28, + 85 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "aa76cccd-1c29-4336-a5fe-c2c7470ef4cd" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "UI.Button", + "properties": { + "tags": [ + "hr", + "hrPixelSize" + ], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + } + ], + "links": [ + [ + "52220d37-ee8a-46be-95dc-ecf7c3591eae", + "760a76a9-1784-4c0a-a107-caec9d5ba23b", + 0, + "e770fe92-5bba-4192-9744-4f45c64d8f11", + 0, + "*" + ], + [ + "18f4e925-e07a-4f3c-ad0b-c3dac88c8a8d", + "e895b0ce-8df2-42fc-8618-c8b713ca4747", + 0, + "e770fe92-5bba-4192-9744-4f45c64d8f11", + 1, + "*" + ], + [ + "aa76cccd-1c29-4336-a5fe-c2c7470ef4cd", + "060493ab-465d-4705-935e-2e53506b2369", + 0, + "e770fe92-5bba-4192-9744-4f45c64d8f11", + 2, + -1 + ], + [ + "a8710f7a-5b61-4148-9ade-e3504d8bd962", + "e770fe92-5bba-4192-9744-4f45c64d8f11", + 1, + "e895b0ce-8df2-42fc-8618-c8b713ca4747", + 0, + -1 + ], + [ + "c8b56de0-d7e4-444f-9cba-d9bfe820cce0", + "e770fe92-5bba-4192-9744-4f45c64d8f11", + 0, + "760a76a9-1784-4c0a-a107-caec9d5ba23b", + 0, + -1 + ], + [ + "8a4da085-5cc2-441a-ab97-69a499db00f6", + "760a76a9-1784-4c0a-a107-caec9d5ba23b", + 0, + "6a4aa170-b899-4246-9941-73737a151fa3", + 0, + "number" + ], + [ + "48bf0ac5-fc6a-41f4-896e-4f25f7a3a2d9", + "e895b0ce-8df2-42fc-8618-c8b713ca4747", + 0, + "31c57d04-1a47-43a8-9980-631e1f71ce11", + 0, + "number" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "df4ba5a6-ad14-4689-9c60-448e4967c90c", + "type": "events/filter", + "pos": [ + 1379.0263629882813, + -744.5000000000001 + ], + "size": [ + 210, + 150 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "event", + "type": -1, + "link": "6feaa2b5-64ea-4923-b7a9-bcfd6554ab19", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "compare_value", + "type": "*", + "link": "304ce158-7b36-4320-9864-8d07344f63b0", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "accept", + "type": -2, + "links": [ + "6cbb38f4-6421-4638-95ff-a741940c16ad" + ], + "properties": {}, + "shape": 1 + }, + { + "name": "reject", + "type": -2, + "links": [ + "7fde6a31-c3aa-4ca9-ad1a-800b27a400d3" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "Filter Event", + "properties": { + "compareValue": true, + "propertyName": "", + "mode": "param", + "operation": "==", + "tags": [] + } + }, + { + "id": "c9bce373-fa36-4b2a-9fbb-72e7fa476025", + "type": "basic/boolean", + "pos": [ + 1290.0263629882813, + -699.5000000000001 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "bool", + "type": "boolean", + "links": [ + "304ce158-7b36-4320-9864-8d07344f63b0" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Const Boolean", + "properties": { + "value": true, + "tags": [] + } + }, + { + "id": "2435034b-6c0c-4330-860e-247924dd5a4c", + "type": "actions/set_node_mode_advanced", + "pos": [ + 1356, + -398 + ], + "size": [ + 260.4, + 102 + ], + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "enabled", + "type": "boolean", + "link": null, + "properties": {} + }, + { + "name": "set", + "type": -1, + "link": "7fde6a31-c3aa-4ca9-ad1a-800b27a400d3", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.SetNodeModeAdvancedAction", + "properties": { + "targetTags": [ + { + "tag": "hrScaleSize", + "enable": false + }, + { + "tag": "hrPixelSize", + "enable": true + } + ], + "enable": true, + "tags": [] + }, + "boxcolor": "#666", + "saveUserState": true + }, + { + "id": "f26dbd56-16e8-4248-9cc8-74b19863cfb6", + "type": "actions/set_node_mode_advanced", + "pos": [ + 1351, + -551 + ], + "size": [ + 260.4, + 102 + ], + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "enabled", + "type": "boolean", + "link": null, + "properties": {} + }, + { + "name": "set", + "type": -1, + "link": "6cbb38f4-6421-4638-95ff-a741940c16ad", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.SetNodeModeAdvancedAction", + "properties": { + "targetTags": [ + { + "tag": "hrScaleSize", + "enable": true + }, + { + "tag": "hrPixelSize", + "enable": false + } + ], + "enable": true, + "tags": [] + }, + "boxcolor": "#666", + "saveUserState": true + }, + { + "id": "3ae03484-08e1-4fde-8ff9-47e6250f49d3", + "type": "ui/checkbox", + "pos": [ + 1109, + -601 + ], + "size": [ + 210, + 78 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "boolean", + "links": [], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "6feaa2b5-64ea-4923-b7a9-bcfd6554ab19" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Checkbox", + "properties": { + "tags": [], + "defaultValue": false + }, + "widgets_values": [ + "true" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": true, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "3baf6d47-78cb-4698-be9a-77d66cb636e4", + "type": "graph/input", + "pos": [ + 70, + 179 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "links": [ + "afd82e76-7f9d-4176-adbc-bb3bcfd5e47e", + "464e2e44-d973-4701-b6c7-258304d48f5e", + "f0741048-991e-4cdb-9fad-2baced82a2d7" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "image", + "type": "string", + "value": "", + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "6d957ff0-8932-45e2-9712-d85d639729ed", + "type": "basic/is_null", + "pos": [ + 43.376408715251735, + -113.76709241172048 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "*", + "link": "464e2e44-d973-4701-b6c7-258304d48f5e", + "properties": {} + } + ], + "outputs": [ + { + "name": "is_null", + "type": "boolean", + "links": [ + "97f565f4-b48b-40d3-91ee-d47f68a9b373" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "== Null", + "properties": { + "strictEquality": false, + "tags": [] + } + }, + { + "id": "eef31822-d423-4b55-983c-d9b7439b194e", + "type": "basic/CompareValues", + "pos": [ + 33.37640871525173, + -80.76709241172048 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": 0, + "link": "f0741048-991e-4cdb-9fad-2baced82a2d7", + "properties": {} + }, + { + "name": "B", + "type": 0, + "link": "db985b2d-bbe4-4601-8199-6127335904cf", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "true", + "type": "boolean", + "links": [ + "dce5e24f-e898-4b03-9efa-0122e4bef771" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "false", + "type": "boolean", + "links": [], + "properties": {} + } + ], + "title": "GenericCompare", + "properties": { + "A": "ComfyUI_05881_.png [output]", + "B": "", + "OP": "==", + "enabled": true, + "tags": [] + } + }, + { + "id": "6adceb60-ae44-4544-a149-e45e82767ad4", + "type": "basic/string", + "pos": [ + -31.623591284748287, + -78.76709241172048 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "string", + "type": "string", + "links": [ + "db985b2d-bbe4-4601-8199-6127335904cf" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Const String", + "properties": { + "value": "", + "tags": [] + } + }, + { + "id": "b3ba21f5-95f6-4d60-85b5-0bc9c53e6ec8", + "type": "logic/NOT", + "pos": [ + 139.37640871525167, + -113.76709241172048 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "boolean", + "link": "97f565f4-b48b-40d3-91ee-d47f68a9b373", + "properties": {} + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "3ad98d1f-c637-47c2-a4bc-c95a5957e8ab" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "NOT", + "properties": { + "tags": [] + } + }, + { + "id": "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + "type": "KSampler", + "pos": [ + 752, + 95 + ], + "size": [ + 161.2, + 206 + ], + "flags": {}, + "order": 43, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "6494ccd2-651f-4c4f-b439-bc26997ecc4c", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "seed", + "type": "number", + "link": "54713e33-bc69-437e-826d-8003a4847b04", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true, + "slot_index": 1 + }, + { + "name": "steps", + "type": "number", + "link": "23d7ea2c-9b9b-4339-b5ab-9602654317c0", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true, + "slot_index": 2 + }, + { + "name": "cfg", + "type": "number", + "link": "c5c4aa54-c6cb-4f4d-8600-9fea6ba21194", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true, + "slot_index": 3 + }, + { + "name": "sampler_name", + "type": "string", + "link": "3495f139-629e-4ff2-8f40-af27de6ca393", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true, + "slot_index": 4 + }, + { + "name": "scheduler", + "type": "string", + "link": "4caca8dd-4c69-410e-8df9-58c2ec868302", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true, + "slot_index": 5 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": "53a2dedf-850b-47d7-9bd7-5abc3b83c6aa", + "properties": {}, + "slot_index": 6, + "config": {} + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": "f970330a-6fe5-4e68-b944-a1bb6661a997", + "properties": {}, + "slot_index": 7, + "config": {} + }, + { + "name": "latent_image", + "type": "LATENT", + "link": "ca39f644-a58b-428f-b3ee-f3f600316979", + "properties": {}, + "config": {} + }, + { + "name": "denoise", + "type": "number", + "link": "363012c8-1a37-4c4c-adee-de52958ef49c", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true, + "slot_index": 9 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + "a35b997f-4fc7-4842-8713-afd26d7b4ea8" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "KSampler", + "properties": { + "tags": [ + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "5811add3-c3e2-44b7-83f5-9cb9f75c385e", + "type": "utils/pick_first", + "pos": [ + 351, + 425 + ], + "size": [ + 210, + 122 + ], + "flags": { + "collapsed": true + }, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "c28cc938-304d-4fca-92b0-f132739ba33a", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "2486cdf8-cc57-45cc-82bc-30eeca736f0f", + "properties": {} + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + "44a6f57c-1035-4d3c-a87a-a5d8f1326c57" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [ + "hr" + ], + "mode": "dataNonNull" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "f2e278f2-d48a-49a8-8513-fd705ac566c5", + "type": "utils/pick_first", + "pos": [ + 353, + 449 + ], + "size": [ + 210, + 122 + ], + "flags": { + "collapsed": true + }, + "order": 36, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "47a6d9fb-7157-47c4-b2bf-79dad3ba49ba", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "83217cc8-be20-4337-9851-59b2fa5d52db", + "properties": {} + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + "07e30e7f-d301-4a05-a0d2-06bc54975323" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [ + "hr" + ], + "mode": "dataNonNull" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "db6e3af5-a5a9-405b-91c6-8d8aef19b7b2", + "type": "graph/input", + "pos": [ + -32, + 475 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 19, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "0d6eb900-712d-4b5f-a29b-eb17cb79e844" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "height", + "type": "number", + "value": 0, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "186971da-ed44-4d15-b66f-99196e0968d9", + "type": "utils/reroute", + "pos": [ + 916, + 7 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": "c36105ab-4457-4086-be92-5d9c5cfb357d", + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "number", + "links": [], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.Reroute", + "properties": { + "tags": [ + "hr" + ], + "showOutputText": false, + "horizontal": false, + "ignoreTypes": false + }, + "saveUserState": true + }, + { + "id": "26f95ae7-d422-4555-bf69-7de7ef3de87b", + "type": "ui/number", + "pos": [ + 305.2727272727274, + 311.2727272727269 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "b18981ac-984d-4797-97ec-9ce677abb3b2" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": 1, + "max": 16, + "step": 1, + "precision": 0 + }, + "widgets_values": [ + "1.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 1, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "802b653e-584c-4d18-874c-b8b66485c801", + "type": "LatentUpscale", + "pos": [ + 498, + 359 + ], + "size": [ + 178, + 106 + ], + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": "01d6858a-4a85-40e6-8cfb-347cf69aa26a", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "upscale_method", + "type": "string", + "link": "2f254406-6615-4781-b6fa-dc736e06d1e2", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + }, + { + "name": "width", + "type": "number", + "link": "44a6f57c-1035-4d3c-a87a-a5d8f1326c57", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "height", + "type": "number", + "link": "07e30e7f-d301-4a05-a0d2-06bc54975323", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "crop", + "type": "string", + "link": "7a2601c6-4e43-4cfc-9994-784bdcb13d63", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + "ca39f644-a58b-428f-b3ee-f3f600316979" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "Upscale Latent", + "properties": { + "tags": [ + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "f7defa19-6e11-412a-a1ba-7738596e4754", + "type": "RepeatLatentBatch", + "pos": [ + 438, + 269 + ], + "size": [ + 159.6, + 46 + ], + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": "e743c359-26a4-4596-952f-72a4836b68e8", + "properties": {}, + "config": {} + }, + { + "name": "amount", + "type": "number", + "link": "b18981ac-984d-4797-97ec-9ce677abb3b2", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + "01d6858a-4a85-40e6-8cfb-347cf69aa26a" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "Repeat Latent Batch", + "properties": { + "tags": [ + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "2da624e1-3555-4e15-924f-f83650ba1301", + "type": "events/branch", + "pos": [ + 414, + -146 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 44, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "2178013c-b1fb-4f11-bea5-df2be5578b1c", + "properties": {}, + "shape": 1 + }, + { + "name": "cond", + "type": "boolean", + "link": "6f9deae0-4349-4ed3-b8c4-86a3f5fb4476", + "properties": {} + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [ + "126a645d-bc14-4bf6-ad06-ce0599037868", + "e93ebb6d-0d98-4ce1-9348-880556c8254e" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", + "type": -2, + "links": [ + "8f73a986-05df-481d-8997-72e67d71637a" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "56144161-2e68-42fa-b955-88ea8dced157", + "type": "logic/AND", + "pos": [ + 345, + -96 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 42, + "mode": 0, + "inputs": [ + { + "name": "a", + "type": "boolean", + "link": "b4f3aac1-5179-4c60-a265-0edb68bbe148", + "properties": {} + }, + { + "name": "b", + "type": "boolean", + "link": "08df5eb9-125e-407f-b72f-3dc27a4c32ea", + "properties": {} + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "6f9deae0-4349-4ed3-b8c4-86a3f5fb4476" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "AND", + "properties": { + "tags": [] + } + }, + { + "id": "176f5889-ed85-4673-bda6-ad7c16b5f242", + "type": "logic/AND", + "pos": [ + 246, + -96 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 40, + "mode": 0, + "inputs": [ + { + "name": "a", + "type": "boolean", + "link": "3ad98d1f-c637-47c2-a4bc-c95a5957e8ab", + "properties": {} + }, + { + "name": "b", + "type": "boolean", + "link": "6259c8bd-edb0-4118-b0f9-36b82189b6df", + "properties": {} + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "08df5eb9-125e-407f-b72f-3dc27a4c32ea" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "AND", + "properties": { + "tags": [] + } + }, + { + "id": "189bd380-0869-4422-9782-435229f3bb1d", + "type": "logic/NOT", + "pos": [ + 132, + -81 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "boolean", + "link": "dce5e24f-e898-4b03-9efa-0122e4bef771", + "properties": {} + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "6259c8bd-edb0-4118-b0f9-36b82189b6df" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "NOT", + "properties": { + "tags": [] + } + }, + { + "id": "af9372d2-64a4-4e70-a1fb-ece84d362cba", + "type": "logic/NOT", + "pos": [ + 127, + -47 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "boolean", + "link": "2e18ff0e-aa86-46b8-9e87-4f60cdc29c5b", + "properties": {} + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "b4f3aac1-5179-4c60-a265-0edb68bbe148" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "NOT", + "properties": { + "tags": [] + } + }, + { + "id": "c1a6ffdf-07c2-4d1b-a83e-bdafc00b9e72", + "type": "math/approx_eq", + "pos": [ + 6, + -45 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "number", + "link": "0a35ade9-7212-420c-b8d7-22607682e086", + "properties": {} + }, + { + "name": "B", + "type": "number", + "link": "25bcbe05-5ce2-43cf-b496-d453fdce40d2", + "properties": {}, + "slot_index": 1 + }, + { + "name": "epsilon", + "type": "number", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "true", + "type": "boolean", + "links": [ + "2e18ff0e-aa86-46b8-9e87-4f60cdc29c5b" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "false", + "type": "boolean", + "links": [], + "properties": {} + } + ], + "title": "Approx. Eq", + "properties": { + "tags": [] + } + }, + { + "id": "33d088ba-ad04-4b71-9a37-171521ef5443", + "type": "basic/number", + "pos": [ + -60, + -44 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 21, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "25bcbe05-5ce2-43cf-b496-d453fdce40d2" + ], + "properties": {}, + "label": "0.000" + } + ], + "title": "Const Number", + "properties": { + "value": 0, + "tags": [] + } + }, + { + "id": "2b453f7d-e511-4531-aa60-72cea33dd183", + "type": "graph/input", + "pos": [ + 347, + 32 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 22, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + "b48b7fdb-0128-492f-b5e2-839b51777dfa", + "c36105ab-4457-4086-be92-5d9c5cfb357d", + "0f7d6ecf-0309-4244-9d37-56f2a6c6109d" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "vae", + "type": "VAE", + "value": null, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "ca3b8dec-bf22-48d3-a63f-4b5c40eb6be3", + "type": "VAEEncode", + "pos": [ + 406, + 163 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": "75ca312d-59fc-47f7-956e-86cf03ec744f", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "vae", + "type": "VAE", + "link": "b48b7fdb-0128-492f-b5e2-839b51777dfa", + "properties": {}, + "slot_index": 1, + "config": {} + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + "e743c359-26a4-4596-952f-72a4836b68e8" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "VAE Encode", + "properties": { + "tags": [ + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "d1316cca-081d-4e6a-857e-958d796580e7", + "type": "VAEDecode", + "pos": [ + 1051, + 93 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": "a35b997f-4fc7-4842-8713-afd26d7b4ea8", + "properties": {}, + "config": {} + }, + { + "name": "vae", + "type": "VAE", + "link": "0f7d6ecf-0309-4244-9d37-56f2a6c6109d", + "properties": {}, + "config": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + "928ac2b7-3d97-443b-8c21-84ba1bd0ae54" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "VAE Decode", + "properties": { + "tags": [ + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "4f24d51e-f352-4d47-b276-bafd200e11de", + "type": "graph/input", + "pos": [ + -30, + 446 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 23, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "0824441f-157f-41fb-a1c2-66013f020194", + "0a35ade9-7212-420c-b8d7-22607682e086" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "width", + "type": "number", + "value": 0, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "3c32f0ff-d950-4c7a-a257-91324f3668b2", + "type": "graph/subgraph", + "pos": [ + 84, + 423 + ], + "size": [ + 200, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "height", + "type": "number", + "link": "0d6eb900-712d-4b5f-a29b-eb17cb79e844", + "properties": {} + }, + { + "name": "width", + "type": "number", + "link": "0824441f-157f-41fb-a1c2-66013f020194", + "properties": {} + } + ], + "outputs": [ + { + "name": "height", + "type": "number", + "links": [ + "47a6d9fb-7157-47c4-b2bf-79dad3ba49ba" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "width", + "type": "number", + "links": [ + "c28cc938-304d-4fca-92b0-f132739ba33a" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "Scale By Slider", + "properties": { + "enabled": true, + "tags": [ + "hr", + "hrScaleSize" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "49c1a535-4c3d-4e09-b64e-40f8d1c024d8", + "type": "graph/input", + "pos": [ + 408.0700000000001, + 403.89 + ], + "size": [ + 210, + 86 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "c87429e4-204c-40cc-8053-5668c10792e7" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "height", + "type": "number", + "value": 0, + "subgraphID": "3c32f0ff-d950-4c7a-a257-91324f3668b2", + "tags": [] + } + }, + { + "id": "cce110a1-94dd-4f4e-8337-f44c8c13dac6", + "type": "math/operation", + "pos": [ + 884, + 402 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "number,array,object", + "link": "c87429e4-204c-40cc-8053-5668c10792e7", + "properties": {}, + "slot_index": 0 + }, + { + "name": "B", + "type": "number", + "link": "5b00f682-1dcc-49e0-b0ee-cf1174fd8615", + "properties": {} + } + ], + "outputs": [ + { + "name": "=", + "type": "number", + "links": [ + "7fa6b0be-2e63-47c2-abb4-93b6d09a51b7" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Operation", + "properties": { + "A": 512, + "B": 2, + "OP": "*", + "tags": [] + } + }, + { + "id": "da389077-c937-483f-b688-4ef954561465", + "type": "math/operation", + "pos": [ + 881, + 329 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "number,array,object", + "link": "2d27a8b9-7e1b-4394-9d57-ec8806420222", + "properties": {}, + "slot_index": 0 + }, + { + "name": "B", + "type": "number", + "link": "43e3da1c-68c9-43e6-917b-62b0326233ff", + "properties": {} + } + ], + "outputs": [ + { + "name": "=", + "type": "number", + "links": [ + "eec77bcd-6dfd-431e-9d47-fe0a1231764d" + ], + "properties": {} + } + ], + "title": "Operation", + "properties": { + "A": 512, + "B": 2, + "OP": "*", + "tags": [] + } + }, + { + "id": "772f92b1-4233-4d95-b590-99db6c857e83", + "type": "math/floor", + "pos": [ + 966, + 405 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "number", + "link": "7fa6b0be-2e63-47c2-abb4-93b6d09a51b7", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": "number", + "links": [ + "3efab7e4-fce6-4b3d-9dca-01939f9177ee", + "ea8d6ce9-4028-4249-ac73-0a04c8daee73" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Floor", + "properties": { + "tags": [] + } + }, + { + "id": "9dbf5f21-3c1c-4215-ae88-3486eb335737", + "type": "math/floor", + "pos": [ + 967, + 331 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "number", + "link": "eec77bcd-6dfd-431e-9d47-fe0a1231764d", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": "number", + "links": [ + "a1b7ae71-e599-4723-af13-d405000029b9", + "8e096bea-8581-4edc-9432-1f5637ceaba5" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Floor", + "properties": { + "tags": [] + } + }, + { + "id": "8d0a8180-4e86-415a-8807-c12838513482", + "type": "graph/output", + "pos": [ + 1220, + 378 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "ea8d6ce9-4028-4249-ac73-0a04c8daee73", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "height", + "type": "number", + "subgraphID": "3c32f0ff-d950-4c7a-a257-91324f3668b2", + "tags": [] + } + }, + { + "id": "d90e9948-0d2b-4c96-b919-4513248c0008", + "type": "graph/output", + "pos": [ + 1222, + 277 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "8e096bea-8581-4edc-9432-1f5637ceaba5", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "width", + "type": "number", + "subgraphID": "3c32f0ff-d950-4c7a-a257-91324f3668b2", + "tags": [] + } + }, + { + "id": "a5226375-a5bb-450c-b7ad-6ba353125c58", + "type": "graph/input", + "pos": [ + 410, + 278 + ], + "size": [ + 210, + 86 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "2d27a8b9-7e1b-4394-9d57-ec8806420222" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "width", + "type": "number", + "value": 0, + "subgraphID": "3c32f0ff-d950-4c7a-a257-91324f3668b2", + "tags": [] + } + }, + { + "id": "26e28942-e1f0-486d-8e22-d97016c1fc89", + "type": "ui/number", + "pos": [ + 680, + 370 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "43e3da1c-68c9-43e6-917b-62b0326233ff", + "5b00f682-1dcc-49e0-b0ee-cf1174fd8615" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [ + "hr", + "hrScaleSize" + ], + "defaultValue": 0, + "min": 1, + "max": 4, + "step": 0.05, + "precision": 1 + }, + "widgets_values": [ + "2.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 2, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "cd542742-1fcf-4ec7-9c42-01abdf6948e9", + "type": "string/toString", + "pos": [ + 1005, + 235 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "", + "link": "a1b7ae71-e599-4723-af13-d405000029b9", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": "string", + "links": [ + "b000f774-8d8f-4742-b1fd-89dfc7879566" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "ToString", + "properties": { + "tags": [] + } + }, + { + "id": "e9800a0c-7e3c-4b0f-ab24-d80e877ec065", + "type": "string/toString", + "pos": [ + 1020, + 473 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "", + "link": "3efab7e4-fce6-4b3d-9dca-01939f9177ee", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": "string", + "links": [ + "5257c68e-98e8-4e28-9fce-5a2e2923a20b" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "ToString", + "properties": { + "tags": [] + } + }, + { + "id": "16b6d36c-edd8-4349-a0f4-9dad35b041ae", + "type": "ui/text", + "pos": [ + 1128, + 473 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "string", + "link": "5257c68e-98e8-4e28-9fce-5a2e2923a20b", + "properties": {}, + "slot_index": 0 + }, + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Text", + "properties": { + "tags": [ + "hr", + "hrScaleSize" + ], + "defaultValue": "", + "multiline": false, + "lines": 5, + "maxLines": 5 + }, + "widgets_values": [ + "1024" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "1024", + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "ce81af45-6815-4878-8bf2-ccbc5c620e31", + "type": "ui/text", + "pos": [ + 1108, + 233 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "string", + "link": "b000f774-8d8f-4742-b1fd-89dfc7879566", + "properties": {} + }, + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Text", + "properties": { + "tags": [ + "hr", + "hrScaleSize" + ], + "defaultValue": "", + "multiline": false, + "lines": 5, + "maxLines": 5 + }, + "widgets_values": [ + "1024" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "1024", + "shownOutputProperties": {}, + "saveUserState": true + } + ], + "links": [ + [ + "43e3da1c-68c9-43e6-917b-62b0326233ff", + "26e28942-e1f0-486d-8e22-d97016c1fc89", + 0, + "da389077-c937-483f-b688-4ef954561465", + 1, + "number" + ], + [ + "5b00f682-1dcc-49e0-b0ee-cf1174fd8615", + "26e28942-e1f0-486d-8e22-d97016c1fc89", + 0, + "cce110a1-94dd-4f4e-8337-f44c8c13dac6", + 1, + "number" + ], + [ + "2d27a8b9-7e1b-4394-9d57-ec8806420222", + "a5226375-a5bb-450c-b7ad-6ba353125c58", + 0, + "da389077-c937-483f-b688-4ef954561465", + 0, + "number" + ], + [ + "c87429e4-204c-40cc-8053-5668c10792e7", + "49c1a535-4c3d-4e09-b64e-40f8d1c024d8", + 0, + "cce110a1-94dd-4f4e-8337-f44c8c13dac6", + 0, + "number" + ], + [ + "7fa6b0be-2e63-47c2-abb4-93b6d09a51b7", + "cce110a1-94dd-4f4e-8337-f44c8c13dac6", + 0, + "772f92b1-4233-4d95-b590-99db6c857e83", + 0, + "number" + ], + [ + "eec77bcd-6dfd-431e-9d47-fe0a1231764d", + "da389077-c937-483f-b688-4ef954561465", + 0, + "9dbf5f21-3c1c-4215-ae88-3486eb335737", + 0, + "number" + ], + [ + "a1b7ae71-e599-4723-af13-d405000029b9", + "9dbf5f21-3c1c-4215-ae88-3486eb335737", + 0, + "cd542742-1fcf-4ec7-9c42-01abdf6948e9", + 0, + "number" + ], + [ + "3efab7e4-fce6-4b3d-9dca-01939f9177ee", + "772f92b1-4233-4d95-b590-99db6c857e83", + 0, + "e9800a0c-7e3c-4b0f-ab24-d80e877ec065", + 0, + "number" + ], + [ + "ea8d6ce9-4028-4249-ac73-0a04c8daee73", + "772f92b1-4233-4d95-b590-99db6c857e83", + 0, + "8d0a8180-4e86-415a-8807-c12838513482", + 0, + "number" + ], + [ + "8e096bea-8581-4edc-9432-1f5637ceaba5", + "9dbf5f21-3c1c-4215-ae88-3486eb335737", + 0, + "d90e9948-0d2b-4c96-b919-4513248c0008", + 0, + "number" + ], + [ + "b000f774-8d8f-4742-b1fd-89dfc7879566", + "cd542742-1fcf-4ec7-9c42-01abdf6948e9", + 0, + "ce81af45-6815-4878-8bf2-ccbc5c620e31", + 0, + "string" + ], + [ + "5257c68e-98e8-4e28-9fce-5a2e2923a20b", + "e9800a0c-7e3c-4b0f-ab24-d80e877ec065", + 0, + "16b6d36c-edd8-4349-a0f4-9dad35b041ae", + 0, + "string" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "711b0ea5-ab0c-46d1-8ad0-583bd3307498", + "type": "actions/execute_subgraph", + "pos": [ + 628, + -229 + ], + "size": [ + 226.79999999999998, + 78 + ], + "flags": { + "collapsed": false + }, + "order": 46, + "mode": 0, + "inputs": [ + { + "name": "execute", + "type": -1, + "link": "126a645d-bc14-4bf6-ad06-ce0599037868", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "targetTag", + "type": "string", + "link": null, + "properties": {} + } + ], + "outputs": [], + "title": "Comfy.ExecuteSubgraphAction", + "properties": { + "tags": [], + "targetTag": "hr" + }, + "saveUserState": true + } + ], + "links": [ + [ + "afd82e76-7f9d-4176-adbc-bb3bcfd5e47e", + "3baf6d47-78cb-4698-be9a-77d66cb636e4", + 0, + "389aeb57-a635-401d-9672-34aedc14f736", + 0, + "string" + ], + [ + "6494ccd2-651f-4c4f-b439-bc26997ecc4c", + "f7f51185-b2d8-46ac-8605-83051b972ad3", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 0, + "MODEL" + ], + [ + "54713e33-bc69-437e-826d-8003a4847b04", + "271fb970-b797-45bc-b01d-a921f07033b7", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 1, + "number" + ], + [ + "23d7ea2c-9b9b-4339-b5ab-9602654317c0", + "b25be03c-47a0-4bab-bd7d-dff944763286", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 2, + "number" + ], + [ + "c5c4aa54-c6cb-4f4d-8600-9fea6ba21194", + "e5b933b8-c925-4c93-b1d3-14034a3a2b58", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 3, + "number" + ], + [ + "3495f139-629e-4ff2-8f40-af27de6ca393", + "ea3d61d2-53cb-445c-aed4-0e71db9375fa", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 4, + "string" + ], + [ + "4caca8dd-4c69-410e-8df9-58c2ec868302", + "0b3a21e4-914e-4948-9a00-f1153a65cd66", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 5, + "string" + ], + [ + "53a2dedf-850b-47d7-9bd7-5abc3b83c6aa", + "a9b42639-2d98-4af1-b4ad-051e9600f352", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 6, + "CONDITIONING" + ], + [ + "f970330a-6fe5-4e68-b944-a1bb6661a997", + "f1a592df-59b5-4011-a3b2-1e11a5c5d17c", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 7, + "CONDITIONING" + ], + [ + "75ca312d-59fc-47f7-956e-86cf03ec744f", + "389aeb57-a635-401d-9672-34aedc14f736", + 0, + "ca3b8dec-bf22-48d3-a63f-4b5c40eb6be3", + 0, + "IMAGE" + ], + [ + "b48b7fdb-0128-492f-b5e2-839b51777dfa", + "2b453f7d-e511-4531-aa60-72cea33dd183", + 0, + "ca3b8dec-bf22-48d3-a63f-4b5c40eb6be3", + 1, + "VAE" + ], + [ + "2f254406-6615-4781-b6fa-dc736e06d1e2", + "fcfb2720-0382-4ca0-bc77-e820858db088", + 0, + "802b653e-584c-4d18-874c-b8b66485c801", + 1, + "string" + ], + [ + "7a2601c6-4e43-4cfc-9994-784bdcb13d63", + "3e63c209-da43-42d3-8785-ff6db26868e1", + 0, + "802b653e-584c-4d18-874c-b8b66485c801", + 4, + "string" + ], + [ + "ca39f644-a58b-428f-b3ee-f3f600316979", + "802b653e-584c-4d18-874c-b8b66485c801", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 8, + "LATENT" + ], + [ + "363012c8-1a37-4c4c-adee-de52958ef49c", + "ce549cfe-41ca-4499-8c8f-f3acd411b92c", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 9, + "number" + ], + [ + "a35b997f-4fc7-4842-8713-afd26d7b4ea8", + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 0, + "d1316cca-081d-4e6a-857e-958d796580e7", + 0, + "LATENT" + ], + [ + "c36105ab-4457-4086-be92-5d9c5cfb357d", + "2b453f7d-e511-4531-aa60-72cea33dd183", + 0, + "186971da-ed44-4d15-b66f-99196e0968d9", + 0, + "VAE" + ], + [ + "928ac2b7-3d97-443b-8c21-84ba1bd0ae54", + "d1316cca-081d-4e6a-857e-958d796580e7", + 0, + "10abd4b1-756f-462d-a95e-f557805accef", + 0, + "IMAGE" + ], + [ + "464e2e44-d973-4701-b6c7-258304d48f5e", + "3baf6d47-78cb-4698-be9a-77d66cb636e4", + 0, + "6d957ff0-8932-45e2-9712-d85d639729ed", + 0, + "string" + ], + [ + "97f565f4-b48b-40d3-91ee-d47f68a9b373", + "6d957ff0-8932-45e2-9712-d85d639729ed", + 0, + "b3ba21f5-95f6-4d60-85b5-0bc9c53e6ec8", + 0, + "boolean" + ], + [ + "2178013c-b1fb-4f11-bea5-df2be5578b1c", + "c10a25d1-3f64-4cb3-847c-684dd97ec516", + 0, + "2da624e1-3555-4e15-924f-f83650ba1301", + 0, + -1 + ], + [ + "8f73a986-05df-481d-8997-72e67d71637a", + "2da624e1-3555-4e15-924f-f83650ba1301", + 1, + "add70fa6-27cf-445a-bcb2-4fdc6857da97", + 1, + -1 + ], + [ + "b2ebce1b-346a-4d4e-87c1-2589aa2f6e8e", + "f48a7c93-0ede-432b-95d0-13ffbdb53ed6", + 0, + "add70fa6-27cf-445a-bcb2-4fdc6857da97", + 0, + "string" + ], + [ + "126a645d-bc14-4bf6-ad06-ce0599037868", + "2da624e1-3555-4e15-924f-f83650ba1301", + 0, + "711b0ea5-ab0c-46d1-8ad0-583bd3307498", + 0, + -1 + ], + [ + "0d48dee8-f59d-44de-9b5f-e7d7568b7c5f", + "9c471580-d0a2-42a3-91e8-adc007dc32ec", + 0, + "33285152-0904-4cb9-a533-08d40b36117a", + 0, + "string" + ], + [ + "e93ebb6d-0d98-4ce1-9348-880556c8254e", + "2da624e1-3555-4e15-924f-f83650ba1301", + 0, + "33285152-0904-4cb9-a533-08d40b36117a", + 1, + -1 + ], + [ + "c28cc938-304d-4fca-92b0-f132739ba33a", + "3c32f0ff-d950-4c7a-a257-91324f3668b2", + 1, + "5811add3-c3e2-44b7-83f5-9cb9f75c385e", + 0, + "*" + ], + [ + "2486cdf8-cc57-45cc-82bc-30eeca736f0f", + "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", + 0, + "5811add3-c3e2-44b7-83f5-9cb9f75c385e", + 1, + "*" + ], + [ + "83217cc8-be20-4337-9851-59b2fa5d52db", + "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", + 1, + "f2e278f2-d48a-49a8-8513-fd705ac566c5", + 1, + "*" + ], + [ + "47a6d9fb-7157-47c4-b2bf-79dad3ba49ba", + "3c32f0ff-d950-4c7a-a257-91324f3668b2", + 0, + "f2e278f2-d48a-49a8-8513-fd705ac566c5", + 0, + "*" + ], + [ + "44a6f57c-1035-4d3c-a87a-a5d8f1326c57", + "5811add3-c3e2-44b7-83f5-9cb9f75c385e", + 0, + "802b653e-584c-4d18-874c-b8b66485c801", + 2, + "number" + ], + [ + "07e30e7f-d301-4a05-a0d2-06bc54975323", + "f2e278f2-d48a-49a8-8513-fd705ac566c5", + 0, + "802b653e-584c-4d18-874c-b8b66485c801", + 3, + "number" + ], + [ + "6feaa2b5-64ea-4923-b7a9-bcfd6554ab19", + "3ae03484-08e1-4fde-8ff9-47e6250f49d3", + 1, + "df4ba5a6-ad14-4689-9c60-448e4967c90c", + 0, + -1 + ], + [ + "304ce158-7b36-4320-9864-8d07344f63b0", + "c9bce373-fa36-4b2a-9fbb-72e7fa476025", + 0, + "df4ba5a6-ad14-4689-9c60-448e4967c90c", + 1, + "*" + ], + [ + "6cbb38f4-6421-4638-95ff-a741940c16ad", + "df4ba5a6-ad14-4689-9c60-448e4967c90c", + 0, + "f26dbd56-16e8-4248-9cc8-74b19863cfb6", + 1, + -1 + ], + [ + "7fde6a31-c3aa-4ca9-ad1a-800b27a400d3", + "df4ba5a6-ad14-4689-9c60-448e4967c90c", + 1, + "2435034b-6c0c-4330-860e-247924dd5a4c", + 1, + -1 + ], + [ + "3ad98d1f-c637-47c2-a4bc-c95a5957e8ab", + "b3ba21f5-95f6-4d60-85b5-0bc9c53e6ec8", + 0, + "176f5889-ed85-4673-bda6-ad7c16b5f242", + 0, + "boolean" + ], + [ + "f0741048-991e-4cdb-9fad-2baced82a2d7", + "3baf6d47-78cb-4698-be9a-77d66cb636e4", + 0, + "eef31822-d423-4b55-983c-d9b7439b194e", + 0, + "string" + ], + [ + "db985b2d-bbe4-4601-8199-6127335904cf", + "6adceb60-ae44-4544-a149-e45e82767ad4", + 0, + "eef31822-d423-4b55-983c-d9b7439b194e", + 1, + "string" + ], + [ + "dce5e24f-e898-4b03-9efa-0122e4bef771", + "eef31822-d423-4b55-983c-d9b7439b194e", + 0, + "189bd380-0869-4422-9782-435229f3bb1d", + 0, + "boolean" + ], + [ + "6259c8bd-edb0-4118-b0f9-36b82189b6df", + "189bd380-0869-4422-9782-435229f3bb1d", + 0, + "176f5889-ed85-4673-bda6-ad7c16b5f242", + 1, + "boolean" + ], + [ + "0824441f-157f-41fb-a1c2-66013f020194", + "4f24d51e-f352-4d47-b276-bafd200e11de", + 0, + "3c32f0ff-d950-4c7a-a257-91324f3668b2", + 1, + "number" + ], + [ + "0d6eb900-712d-4b5f-a29b-eb17cb79e844", + "db6e3af5-a5a9-405b-91c6-8d8aef19b7b2", + 0, + "3c32f0ff-d950-4c7a-a257-91324f3668b2", + 0, + "number" + ], + [ + "b18981ac-984d-4797-97ec-9ce677abb3b2", + "26f95ae7-d422-4555-bf69-7de7ef3de87b", + 0, + "f7defa19-6e11-412a-a1ba-7738596e4754", + 1, + "number" + ], + [ + "e743c359-26a4-4596-952f-72a4836b68e8", + "ca3b8dec-bf22-48d3-a63f-4b5c40eb6be3", + 0, + "f7defa19-6e11-412a-a1ba-7738596e4754", + 0, + "LATENT" + ], + [ + "01d6858a-4a85-40e6-8cfb-347cf69aa26a", + "f7defa19-6e11-412a-a1ba-7738596e4754", + 0, + "802b653e-584c-4d18-874c-b8b66485c801", + 0, + "LATENT" + ], + [ + "25bcbe05-5ce2-43cf-b496-d453fdce40d2", + "33d088ba-ad04-4b71-9a37-171521ef5443", + 0, + "c1a6ffdf-07c2-4d1b-a83e-bdafc00b9e72", + 1, + "number" + ], + [ + "0a35ade9-7212-420c-b8d7-22607682e086", + "4f24d51e-f352-4d47-b276-bafd200e11de", + 0, + "c1a6ffdf-07c2-4d1b-a83e-bdafc00b9e72", + 0, + "number" + ], + [ + "2e18ff0e-aa86-46b8-9e87-4f60cdc29c5b", + "c1a6ffdf-07c2-4d1b-a83e-bdafc00b9e72", + 0, + "af9372d2-64a4-4e70-a1fb-ece84d362cba", + 0, + "boolean" + ], + [ + "b4f3aac1-5179-4c60-a265-0edb68bbe148", + "af9372d2-64a4-4e70-a1fb-ece84d362cba", + 0, + "56144161-2e68-42fa-b955-88ea8dced157", + 0, + "boolean" + ], + [ + "08df5eb9-125e-407f-b72f-3dc27a4c32ea", + "176f5889-ed85-4673-bda6-ad7c16b5f242", + 0, + "56144161-2e68-42fa-b955-88ea8dced157", + 1, + "boolean" + ], + [ + "6f9deae0-4349-4ed3-b8c4-86a3f5fb4476", + "56144161-2e68-42fa-b955-88ea8dced157", + 0, + "2da624e1-3555-4e15-924f-f83650ba1301", + 1, + "boolean" + ], + [ + "0f7d6ecf-0309-4244-9d37-56f2a6c6109d", + "2b453f7d-e511-4531-aa60-72cea33dd183", + 0, + "d1316cca-081d-4e6a-857e-958d796580e7", + 1, + "VAE" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", + "type": "image/pick_image", + "pos": [ + 2485, + 323 + ], + "size": [ + 210, + 190 + ], + "flags": {}, + "order": 53, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES,COMFYBOX_IMAGE", + "link": "c4ff06f7-3f0a-475b-9d14-48d639bdfdda", + "properties": {} + }, + { + "name": "index", + "type": "number", + "link": "ca9c18cc-dfe1-4b64-bbaa-9666f11d6e6d", + "properties": {} + } + ], + "outputs": [ + { + "name": "image", + "type": "COMFYBOX_IMAGE", + "links": [ + "ba66d9be-19c3-4da8-84e0-823ef35f7f32", + "83af87c9-1177-4a6d-8412-f3ab9b3c3105" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "filename", + "type": "string", + "links": [ + "02e201d5-1d1e-4340-abd9-85c512cd03e7" + ], + "properties": {}, + "slot_index": 1 + }, + { + "name": "width", + "type": "number", + "links": [ + "9eed80a4-a47d-48c6-9c8a-63b5fb8026f8" + ], + "properties": {}, + "slot_index": 2 + }, + { + "name": "height", + "type": "number", + "links": [ + "3f5990c7-4b08-4d41-9a46-9a44073eb5e6" + ], + "properties": {}, + "slot_index": 3 + } + ], + "title": "Comfy.PickImage", + "properties": { + "tags": [ + "hr" + ] + }, + "saveUserState": true + }, + { + "id": "1ea393e8-e55a-4492-93fd-ce65a0b63084", + "type": "ui/gallery", + "pos": [ + 3559, + 327 + ], + "size": [ + 210, + 126 + ], + "flags": {}, + "order": 61, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "OUTPUT", + "link": null, + "properties": {} + }, + { + "name": "store", + "type": -1, + "link": "7568e1d6-8f0c-491e-91a0-fc0b933ea0b0", + "properties": {}, + "color_off": "rebeccapurple", + "color_on": "rebeccapurple", + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES", + "links": [ + "e604281f-d167-47b2-9f70-23fdae9d0fdd" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "selected_index", + "type": "number", + "links": [ + "de3596a7-6bf6-4146-8b28-4abb74c6a796" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "UI.Gallery", + "properties": { + "tags": [], + "defaultValue": null, + "index": 2, + "updateMode": "append", + "autoSelectOnUpdate": true + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": [], + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "afd8abd6-b55f-46aa-b719-e6a5a9c180c0", + "type": "image/pick_image", + "pos": [ + 3834, + 328 + ], + "size": [ + 210, + 190 + ], + "flags": {}, + "order": 62, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES,COMFYBOX_IMAGE", + "link": "e604281f-d167-47b2-9f70-23fdae9d0fdd", + "properties": {}, + "slot_index": 0 + }, + { + "name": "index", + "type": "number", + "link": "de3596a7-6bf6-4146-8b28-4abb74c6a796", + "properties": {} + } + ], + "outputs": [ + { + "name": "image", + "type": "COMFYBOX_IMAGE", + "links": [ + "800aab7b-ac43-48e3-9047-446c827a5eea" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "filename", + "type": "string", + "links": [], + "properties": {} + }, + { + "name": "width", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "height", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "Comfy.PickImage", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + "type": "graph/subgraph", + "pos": [ + 167, + 127 + ], + "size": [ + 200, + 70 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "857760be-9202-4c7f-84a2-465ee7e0ee21" + ], + "properties": {} + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "39f6a12b-1267-45b5-adce-9160d1378c6d" + ], + "properties": {}, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + "f26f80aa-abf3-403f-b83e-f2f92e99d0d8", + "49b7145b-029e-471d-860d-cd17ea3fc5d1" + ], + "properties": {}, + "slot_index": 2 + } + ], + "title": "Model Loader", + "properties": { + "enabled": true, + "tags": [ + "gen", + "hr" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "56becd49-01fc-4cdd-9726-515db368471c", + "type": "ui/combo", + "pos": [ + 0, + 24 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "05616b4c-366b-43ee-b328-06a4adf48a51" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Combo", + "properties": { + "tags": [], + "defaultValue": null, + "values": [], + "convertValueToLabelCode": "" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": "A", + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "ed3226fd-e572-4a07-8923-a610cc3dddae", + "type": "graph/output", + "pos": [ + 739.19, + -31 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "MODEL", + "link": "49f2f7fa-4c17-475d-a642-556dd939acc0", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "MODEL", + "type": "MODEL", + "subgraphID": "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + "tags": [] + } + }, + { + "id": "19f3dedf-e18d-4969-9810-f37e7f6a3e2e", + "type": "graph/output", + "pos": [ + 739.19, + 51 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "CLIP", + "link": "16db93f3-d0f4-4124-91aa-9d4c53126901", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "CLIP", + "type": "CLIP", + "subgraphID": "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + "tags": [] + } + }, + { + "id": "3a7fb51e-6229-4db0-80f6-ebfc8bb880fa", + "type": "graph/output", + "pos": [ + 740, + 138 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "VAE", + "link": "3803fc4e-8e09-421c-a421-a080895a87b4", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "VAE", + "type": "VAE", + "subgraphID": "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + "tags": [] + } + }, + { + "id": "4c3ba829-f067-4c75-b468-d8b1a0ad3f11", + "type": "ui/combo", + "pos": [ + 4, + -47 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "ddd49443-27df-4d25-8d80-52ad9e650021" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Combo", + "properties": { + "tags": [ + "useInternalVae" + ], + "defaultValue": null, + "values": [], + "convertValueToLabelCode": "" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": "A", + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "b9759212-cb72-4c03-b14b-5de6c0670a85", + "type": "ui/checkbox", + "pos": [ + -301, + 122 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": false + }, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "boolean", + "links": [ + "3a2bc48e-7033-4df8-8f21-df0cc8bab379" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "45917191-be6a-437f-a4fd-ca62e3e70181" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "UI.Checkbox", + "properties": { + "tags": [], + "defaultValue": false + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "e6b7c473-7b9e-40fc-a0a0-b0430a2a1495", + "type": "actions/set_node_mode", + "pos": [ + 58, + 122 + ], + "size": [ + 210, + 102 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "enabled", + "type": "boolean", + "link": "573590e3-de2b-419b-b600-3c7f29f8c537", + "properties": {}, + "slot_index": 0 + }, + { + "name": "set", + "type": -1, + "link": "45917191-be6a-437f-a4fd-ca62e3e70181", + "properties": {}, + "shape": 1 + } + ], + "outputs": [], + "title": "Comfy.SetNodeModeAction", + "properties": { + "targetTags": "useInternalVae", + "enable": false, + "tags": [] + }, + "saveUserState": true + }, + { + "id": "365f016d-d8fe-4191-823e-bb7f53ec12e0", + "type": "logic/NOT", + "pos": [ + -52, + 144 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "boolean", + "link": "3a2bc48e-7033-4df8-8f21-df0cc8bab379", + "properties": {} + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "573590e3-de2b-419b-b600-3c7f29f8c537" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "NOT", + "properties": { + "tags": [] + } + }, + { + "id": "99fb7916-2f46-4f4d-9444-879a0b844175", + "type": "utils/pick_first", + "pos": [ + 322, + -6 + ], + "size": [ + 210, + 122 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "4b6f85b0-1596-428b-84bc-e2d315bac9dc", + "properties": {}, + "slot_index": 0 + }, + { + "name": "B", + "type": "*", + "link": "8b1a3fa6-06d1-4073-95e8-1f74934947ff", + "properties": {} + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + "3803fc4e-8e09-421c-a421-a080895a87b4" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [ + "gen", + "hr" + ], + "mode": "dataNonNull" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "4541b0ee-cef0-49a8-9207-3f930463f4e0", + "type": "CheckpointLoaderSimple", + "pos": [ + 130, + 0 + ], + "size": [ + 140, + 66 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "ckpt_name", + "type": "string", + "link": "05616b4c-366b-43ee-b328-06a4adf48a51", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "49f2f7fa-4c17-475d-a642-556dd939acc0" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "16db93f3-d0f4-4124-91aa-9d4c53126901" + ], + "properties": {}, + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + "8b1a3fa6-06d1-4073-95e8-1f74934947ff" + ], + "properties": {}, + "shape": 3, + "slot_index": 2 + } + ], + "title": "Load Checkpoint", + "properties": { + "tags": [ + "gen", + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "366f81c8-9097-4257-90b8-c2422d222865", + "type": "VAELoader", + "pos": [ + 134, + -72 + ], + "size": [ + 140, + 26 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "vae_name", + "type": "string", + "link": "ddd49443-27df-4d25-8d80-52ad9e650021", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + "4b6f85b0-1596-428b-84bc-e2d315bac9dc" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "Load VAE", + "properties": { + "tags": [ + "useInternalVae", + "gen", + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + } + ], + "links": [ + [ + "49f2f7fa-4c17-475d-a642-556dd939acc0", + "4541b0ee-cef0-49a8-9207-3f930463f4e0", + 0, + "ed3226fd-e572-4a07-8923-a610cc3dddae", + 0, + "MODEL" + ], + [ + "05616b4c-366b-43ee-b328-06a4adf48a51", + "56becd49-01fc-4cdd-9726-515db368471c", + 0, + "4541b0ee-cef0-49a8-9207-3f930463f4e0", + 0, + "string" + ], + [ + "ddd49443-27df-4d25-8d80-52ad9e650021", + "4c3ba829-f067-4c75-b468-d8b1a0ad3f11", + 0, + "366f81c8-9097-4257-90b8-c2422d222865", + 0, + "string" + ], + [ + "4b6f85b0-1596-428b-84bc-e2d315bac9dc", + "366f81c8-9097-4257-90b8-c2422d222865", + 0, + "99fb7916-2f46-4f4d-9444-879a0b844175", + 0, + "*" + ], + [ + "8b1a3fa6-06d1-4073-95e8-1f74934947ff", + "4541b0ee-cef0-49a8-9207-3f930463f4e0", + 2, + "99fb7916-2f46-4f4d-9444-879a0b844175", + 1, + "*" + ], + [ + "16db93f3-d0f4-4124-91aa-9d4c53126901", + "4541b0ee-cef0-49a8-9207-3f930463f4e0", + 1, + "19f3dedf-e18d-4969-9810-f37e7f6a3e2e", + 0, + "CLIP" + ], + [ + "3803fc4e-8e09-421c-a421-a080895a87b4", + "99fb7916-2f46-4f4d-9444-879a0b844175", + 0, + "3a7fb51e-6229-4db0-80f6-ebfc8bb880fa", + 0, + "VAE" + ], + [ + "45917191-be6a-437f-a4fd-ca62e3e70181", + "b9759212-cb72-4c03-b14b-5de6c0670a85", + 1, + "e6b7c473-7b9e-40fc-a0a0-b0430a2a1495", + 1, + -1 + ], + [ + "3a2bc48e-7033-4df8-8f21-df0cc8bab379", + "b9759212-cb72-4c03-b14b-5de6c0670a85", + 0, + "365f016d-d8fe-4191-823e-bb7f53ec12e0", + 0, + "boolean" + ], + [ + "573590e3-de2b-419b-b600-3c7f29f8c537", + "365f016d-d8fe-4191-823e-bb7f53ec12e0", + 0, + "e6b7c473-7b9e-40fc-a0a0-b0430a2a1495", + 0, + "boolean" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "b089ede0-c788-4276-93df-3321a7ca3671", + "type": "actions/send_output", + "pos": [ + 3100, + 189 + ], + "size": [ + 184.79999999999998, + 46 + ], + "flags": {}, + "order": 63, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "*", + "link": "800aab7b-ac43-48e3-9047-446c827a5eea", + "properties": {} + }, + { + "name": "trigger", + "type": -1, + "link": "78d35af4-2984-41ce-ab37-48c0e4dc0d91", + "properties": {}, + "shape": 1 + } + ], + "outputs": [], + "title": "Comfy.SendOutputAction", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "7999653f-9085-4387-b86f-49d3f0a5ac8b", + "type": "actions/send_output", + "pos": [ + 3091, + 85 + ], + "size": [ + 184.79999999999998, + 46 + ], + "flags": {}, + "order": 55, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "*", + "link": "83af87c9-1177-4a6d-8412-f3ab9b3c3105", + "properties": {} + }, + { + "name": "trigger", + "type": -1, + "link": "8b9f4d46-6a55-4f1e-86bc-7c1dbd415e62", + "properties": {}, + "shape": 1 + } + ], + "outputs": [], + "title": "Comfy.SendOutputAction", + "properties": { + "tags": [] + }, + "saveUserState": true } ], "links": [ @@ -22657,6 +23229,86 @@ "5040035d-4fd5-4708-8c80-08829b0b4598", 1, -1 + ], + [ + "83af87c9-1177-4a6d-8412-f3ab9b3c3105", + "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", + 0, + "7999653f-9085-4387-b86f-49d3f0a5ac8b", + 0, + "*" + ], + [ + "8b9f4d46-6a55-4f1e-86bc-7c1dbd415e62", + "88ce296c-c21e-4929-90fe-b00310072880", + 0, + "7999653f-9085-4387-b86f-49d3f0a5ac8b", + 1, + -1 + ], + [ + "e4c06100-12af-4c17-9e9a-bd69c5a65832", + "3162e077-a4cb-4672-b47c-da4a15eaed78", + 0, + "9170d9a6-62e4-4aa3-8afa-0c61a36e8dd6", + 0, + -1 + ], + [ + "84e724a1-9302-490f-b349-e1cc5062addf", + "9170d9a6-62e4-4aa3-8afa-0c61a36e8dd6", + 0, + "1073dce1-aa2e-474e-9015-7e3066a92b59", + 0, + -1 + ], + [ + "d8483ae9-c9d6-4e96-83cb-49b07db5815a", + "3162e077-a4cb-4672-b47c-da4a15eaed78", + 0, + "b9b9158b-b79b-4408-a19d-85e4ccb29f6e", + 2, + -1 + ], + [ + "a80e5f8c-ecc2-40c8-b5c6-232261f1a532", + "b9b9158b-b79b-4408-a19d-85e4ccb29f6e", + 1, + "928a13d8-cfc6-417e-9088-53503efb1cd3", + 2, + -1 + ], + [ + "78d35af4-2984-41ce-ab37-48c0e4dc0d91", + "773743fa-5945-4708-b74d-f95b1cc48154", + 0, + "b089ede0-c788-4276-93df-3321a7ca3671", + 1, + -1 + ], + [ + "e604281f-d167-47b2-9f70-23fdae9d0fdd", + "1ea393e8-e55a-4492-93fd-ce65a0b63084", + 0, + "afd8abd6-b55f-46aa-b719-e6a5a9c180c0", + 0, + "COMFYBOX_IMAGES,COMFYBOX_IMAGE" + ], + [ + "de3596a7-6bf6-4146-8b28-4abb74c6a796", + "1ea393e8-e55a-4492-93fd-ce65a0b63084", + 1, + "afd8abd6-b55f-46aa-b719-e6a5a9c180c0", + 1, + "number" + ], + [ + "800aab7b-ac43-48e3-9047-446c827a5eea", + "afd8abd6-b55f-46aa-b719-e6a5a9c180c0", + 0, + "b089ede0-c788-4276-93df-3321a7ca3671", + 0, + "*" ] ], "groups": [ @@ -22685,6 +23337,11 @@ "extra": {}, "version": 10 }, + "attrs": { + "title": "Default", + "queuePromptButtonName": "Queue txt2img", + "queuePromptButtonRunWorkflow": false + }, "layout": { "root": "35003345-c9e8-46c8-8583-3c40e61b377f", "allItems": { @@ -23630,7 +24287,7 @@ "id": "c41037d0-201f-4ed5-90ab-0b66ad902d12", "nodeId": "5d3fc9ab-a7b8-45b5-a824-d70f98c97a96", "attrs": { - "title": "UI.ImageUpload", + "title": "", "hidden": false, "disabled": false, "direction": "vertical", @@ -23973,7 +24630,8 @@ "0a49da6f-cd15-428b-b28a-a3623b6e3294", "471faba8-7f40-4547-98f6-92c06111ebbf", "caa17007-7a34-4238-99b3-86cfacbd846b", - "776f0832-efbb-45a9-a86f-b71b25ae0f82" + "776f0832-efbb-45a9-a86f-b71b25ae0f82", + "cd3e6303-45b1-4902-83a6-ed1bc3ab62ef" ], "parent": "dc8657e0-cbf8-472c-8b5d-55d55ae25d1f" }, @@ -25713,14 +26371,88 @@ "e291c8c4-aa8a-4ee4-ab57-c4b084686c5a" ], "parent": "eae32e42-1ccc-4a4a-923f-7ab4ccdac97a" + }, + "f839e206-4dbe-4735-9fd0-2b7d7c998190": { + "dragItem": { + "type": "widget", + "id": "f839e206-4dbe-4735-9fd0-2b7d7c998190", + "nodeId": "88ce296c-c21e-4929-90fe-b00310072880", + "attrs": { + "title": "Send...", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "cd3e6303-45b1-4902-83a6-ed1bc3ab62ef" + }, + "979dc726-c09c-4d1a-87f5-79211aea2e1d": { + "dragItem": { + "type": "widget", + "id": "979dc726-c09c-4d1a-87f5-79211aea2e1d", + "nodeId": "773743fa-5945-4708-b74d-f95b1cc48154", + "attrs": { + "title": "Send... (HR Fix)", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "cd3e6303-45b1-4902-83a6-ed1bc3ab62ef" + }, + "cd3e6303-45b1-4902-83a6-ed1bc3ab62ef": { + "dragItem": { + "type": "container", + "id": "cd3e6303-45b1-4902-83a6-ed1bc3ab62ef", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "f839e206-4dbe-4735-9fd0-2b7d7c998190", + "979dc726-c09c-4d1a-87f5-79211aea2e1d" + ], + "parent": "e557874b-4856-42a3-b783-a210f6d0d1dc" } } }, "canvas": { "offset": [ - -131.3087415503123, - 2.7536237065710116 + 0, + 0 ], - "scale": 0.7513148009015785 + "scale": 1 } -} +} \ No newline at end of file diff --git a/public/workflows/upscale.json b/public/workflows/upscale.json index 8e19ff5..e38e9aa 100644 --- a/public/workflows/upscale.json +++ b/public/workflows/upscale.json @@ -1,16 +1,135 @@ { + "comfyBoxWorkflow": true, "createdBy": "ComfyBox", "version": 1, + "commitHash": "test", "workflow": { - "last_node_id": 13, - "last_link_id": 11, + "last_node_id": 0, + "last_link_id": 0, "nodes": [ { - "id": "47706464-4d82-4329-91a9-c9b2bec4cf60", + "id": "36cac98f-995d-4723-9d6f-70e3273fab95", + "type": "image/pick_image", + "pos": [ + 764, + 209 + ], + "size": [ + 210, + 190 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES,COMFYBOX_IMAGE", + "link": "55273c8c-f32f-4718-b87a-ce7178af48f2", + "properties": {} + }, + { + "name": "index", + "type": "number", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "image", + "type": "COMFYBOX_IMAGE", + "links": [], + "properties": {}, + "slot_index": 0 + }, + { + "name": "filename", + "type": "string", + "links": [ + "d3e6117a-9ac6-4ea9-aef7-9deab54d83bf" + ], + "properties": {}, + "slot_index": 1 + }, + { + "name": "width", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "height", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "Comfy.PickImage", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "1e69d880-041e-48dd-8030-f0eb83add915", + "type": "LoadImage", + "pos": [ + 991, + 236 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "string", + "link": "d3e6117a-9ac6-4ea9-aef7-9deab54d83bf", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + "4e26eb6e-0230-4980-bc9d-bfd0c1142079" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [], + "properties": {}, + "shape": 3 + } + ], + "title": "Load Image", + "properties": { + "tags": [] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "578edfae-2767-4b23-9a3b-6edd8ccad1dd", "type": "ui/combo", "pos": [ - 1957.9086484470572, - 1203.438046544425 + 827, + 157 ], "size": [ 210, @@ -22,15 +141,11 @@ "order": 0, "mode": 0, "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, { "name": "store", "type": -1, "link": null, + "properties": {}, "shape": 1 } ], @@ -39,13 +154,15 @@ "name": "value", "type": "string", "links": [ - "ca92647a-2a42-45c1-9e75-96aadd954d2f" - ] + "ee03fe14-9fb7-4bd2-abb4-f8920841b93f" + ], + "properties": {} }, { "name": "changed", "type": -2, - "links": null, + "links": [], + "properties": {}, "shape": 1 } ], @@ -64,416 +181,25 @@ "saveUserState": false }, { - "id": "8ad09059-f3fc-453f-8633-bd7281bc2802", - "type": "ui/image_upload", - "pos": [ - 1925.8925619834713, - 1247.7851239669424 - ], - "size": [ - 210, - 138 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "filename", - "type": "string", - "links": [ - "6c59e5a0-008d-4f8f-a2a3-e18ce2536194" - ] - }, - { - "name": "width", - "type": "number", - "links": null - }, - { - "name": "height", - "type": "number", - "links": null - }, - { - "name": "image_count", - "type": "number", - "links": null - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.ImageUpload", - "properties": { - "defaultValue": null, - "tags": [], - "fileCount": "single" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": [], - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "c3c2fedf-e8ea-4d42-a866-5e8118cba44f", - "type": "ImageUpscaleWithModel", - "pos": [ - 2322, - 1204 - ], - "size": [ - 176.4, - 46 - ], - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "upscale_model", - "type": "UPSCALE_MODEL", - "link": "e76b88da-2474-4416-947a-3df7744b9f0e", - "config": {} - }, - { - "name": "image", - "type": "IMAGE", - "link": "978dec85-18c9-42f5-af2a-d560ea9f6a3b", - "config": {} - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - "a2678fb8-093c-4769-92e8-20ae02961047" - ], - "slot_index": 0 - } - ], - "title": "ImageUpscaleWithModel", - "properties": { - "tags": [] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "257170fc-2503-4304-9d8c-fdc50f1fd0da", - "type": "ui/button", - "pos": [ - 2657, - 1335 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "76b86223-43cc-4eee-b678-6481aa77066d" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", - "properties": { - "tags": [], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "f842f292-01b3-45e3-8972-ef5d036dd7d3", - "type": "SaveImage", - "pos": [ - 2542, - 1254 - ], - "size": [ - 220, - 46 - ], - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": "a2678fb8-093c-4769-92e8-20ae02961047", - "config": {} - }, - { - "name": "filename_prefix", - "type": "string", - "link": "79173f8b-dace-41e6-9897-3ba6d7e8ef3e", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/text", - "serialize": true - } - ], - "outputs": [ - { - "name": "onExecuted", - "type": -2, - "links": [ - "fc2282f2-64c9-44b8-ae2f-0476777d088f" - ], - "color_off": "rebeccapurple", - "color_on": "rebeccapurple", - "shape": 1, - "slot_index": 0 - } - ], - "title": "SaveImage", - "properties": { - "tags": [] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "1dcc0510-9e06-4ca4-b607-26c361abce6c", - "type": "LoadImage", - "pos": [ - 2160, - 1264 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "string", - "link": "6c59e5a0-008d-4f8f-a2a3-e18ce2536194", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - "978dec85-18c9-42f5-af2a-d560ea9f6a3b" - ], - "slot_index": 0 - }, - { - "name": "MASK", - "type": "MASK", - "links": null - } - ], - "title": "LoadImage", - "properties": { - "tags": [] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "5c25a00f-c779-44b0-a09f-6915e7170536", - "type": "ui/text", - "pos": [ - 2445, - 1300 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "79173f8b-dace-41e6-9897-3ba6d7e8ef3e" - ], - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Text", - "properties": { - "tags": [], - "defaultValue": "ComfyUI", - "multiline": false - }, - "widgets_values": [ - "ComfyUI" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "ComfyUI", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "31918f22-9e41-446d-a024-a24c90bc5a45", - "type": "ui/gallery", - "pos": [ - 2819, - 1259 - ], - "size": [ - 210, - 166 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "OUTPUT", - "link": null, - "slot_index": 0 - }, - { - "name": "store", - "type": -1, - "link": "fc2282f2-64c9-44b8-ae2f-0476777d088f", - "color_off": "rebeccapurple", - "color_on": "rebeccapurple", - "shape": 1 - }, - { - "name": "clear", - "type": -1, - "link": "76b86223-43cc-4eee-b678-6481aa77066d", - "shape": 1 - } - ], - "outputs": [ - { - "name": "selected_index", - "type": "number", - "links": null - }, - { - "name": "width", - "type": "number", - "links": null - }, - { - "name": "height", - "type": "number", - "links": null - }, - { - "name": "filename", - "type": "string", - "links": null - } - ], - "title": "UI.Gallery", - "properties": { - "tags": [], - "defaultValue": null, - "index": 0, - "updateMode": "replace" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": [], - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "76728844-31dc-4a76-bd2f-f32f1d7bbb64", + "id": "832c965f-03bf-4c21-a05d-2c4f0acf1078", "type": "UpscaleModelLoader", "pos": [ - 2088, - 1179 + 955, + 138 ], "size": [ 203.2, 26 ], "flags": {}, - "order": 4, + "order": 3, "mode": 0, "inputs": [ { "name": "model_name", "type": "string", - "link": "ca92647a-2a42-45c1-9e75-96aadd954d2f", + "link": "ee03fe14-9fb7-4bd2-abb4-f8920841b93f", + "properties": {}, "config": {}, "defaultWidgetNode": null, "widgetNodeType": "ui/combo", @@ -485,84 +211,417 @@ "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "links": [ - "e76b88da-2474-4416-947a-3df7744b9f0e" + "609844e8-11fb-4766-8335-ba108bb4246c" ], - "slot_index": 0 + "properties": {}, + "shape": 3 } ], - "title": "UpscaleModelLoader", + "title": "Load Upscale Model", "properties": { "tags": [] }, "color": "#432", "bgColor": "#653", "saveUserState": true + }, + { + "id": "6f79aef0-534a-46e6-99fe-ecd391ea271e", + "type": "ImageUpscaleWithModel", + "pos": [ + 1189, + 181 + ], + "size": [ + 226.79999999999998, + 46 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": "609844e8-11fb-4766-8335-ba108bb4246c", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "image", + "type": "IMAGE", + "link": "4e26eb6e-0230-4980-bc9d-bfd0c1142079", + "properties": {}, + "slot_index": 1, + "config": {} + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + "7c5f8d16-23a4-4998-912e-75cdadf616a9" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "Upscale Image (using Model)", + "properties": { + "tags": [] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "59feacdf-de02-4b1e-b8ba-e219ba5126b7", + "type": "ui/text", + "pos": [ + 1408, + 235 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "string", + "link": null, + "properties": {} + }, + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "07a53e72-7ca6-4dc6-b9dd-d9d20c0a546c" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Text", + "properties": { + "tags": [], + "defaultValue": "ComfyUI", + "multiline": false, + "lines": 5, + "maxLines": 5 + }, + "widgets_values": [ + "ComfyUI" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "ComfyUI", + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "15bf90cc-971a-498c-b555-e037354119cd", + "type": "ui/gallery", + "pos": [ + 1858, + 206 + ], + "size": [ + 210, + 126 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "OUTPUT", + "link": null, + "properties": {} + }, + { + "name": "store", + "type": -1, + "link": "3fa443e7-f9f4-4415-b82e-d804bf7079b0", + "properties": {}, + "color_off": "rebeccapurple", + "color_on": "rebeccapurple", + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES", + "links": [], + "properties": {} + }, + { + "name": "selected_index", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Gallery", + "properties": { + "tags": [], + "defaultValue": null, + "index": 0, + "updateMode": "replace", + "autoSelectOnUpdate": true + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": [], + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "9a5eefed-5e6b-450c-898c-8a170572e67e", + "type": "SaveImage", + "pos": [ + 1538, + 191 + ], + "size": [ + 186.4, + 46 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": "7c5f8d16-23a4-4998-912e-75cdadf616a9", + "properties": {}, + "config": {} + }, + { + "name": "filename_prefix", + "type": "string", + "link": "07a53e72-7ca6-4dc6-b9dd-d9d20c0a546c", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/text", + "serialize": true + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": -2, + "links": [ + "3fa443e7-f9f4-4415-b82e-d804bf7079b0" + ], + "properties": {}, + "color_off": "rebeccapurple", + "color_on": "rebeccapurple", + "shape": 1, + "slot_index": 0 + } + ], + "title": "Save Image", + "properties": { + "tags": [] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "abf0b8e9-e0e4-4c57-b6b2-c4aa26536c71", + "type": "ui/image_upload", + "pos": [ + 469, + 205 + ], + "size": [ + 210, + 78 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "8f85fe39-4121-4fb8-b9d8-2b989fc544e8", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES", + "links": [ + "55273c8c-f32f-4718-b87a-ce7178af48f2" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.ImageUpload", + "properties": { + "defaultValue": null, + "tags": [] + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": [], + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "edba3201-d2b5-4624-bdfa-6e3ccce1b21c", + "type": "events/receive_output", + "pos": [ + 130, + 203 + ], + "size": [ + 247, + 106 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "received", + "type": -2, + "links": [ + "8f85fe39-4121-4fb8-b9d8-2b989fc544e8" + ], + "properties": {}, + "shape": 1, + "color_on": "fuchsia", + "color_off": "fuchsia" + } + ], + "title": "Comfy.ReceiveOutput", + "properties": { + "tags": [], + "name": "Image", + "description": "Image to upscale.", + "type": "COMFYBOX_IMAGE" + }, + "saveUserState": true } ], "links": [ [ - "ca92647a-2a42-45c1-9e75-96aadd954d2f", - "47706464-4d82-4329-91a9-c9b2bec4cf60", + "55273c8c-f32f-4718-b87a-ce7178af48f2", + "abf0b8e9-e0e4-4c57-b6b2-c4aa26536c71", 0, - "76728844-31dc-4a76-bd2f-f32f1d7bbb64", + "36cac98f-995d-4723-9d6f-70e3273fab95", + 0, + "COMFYBOX_IMAGES,COMFYBOX_IMAGE" + ], + [ + "d3e6117a-9ac6-4ea9-aef7-9deab54d83bf", + "36cac98f-995d-4723-9d6f-70e3273fab95", + 1, + "1e69d880-041e-48dd-8030-f0eb83add915", 0, "string" ], [ - "e76b88da-2474-4416-947a-3df7744b9f0e", - "76728844-31dc-4a76-bd2f-f32f1d7bbb64", + "4e26eb6e-0230-4980-bc9d-bfd0c1142079", + "1e69d880-041e-48dd-8030-f0eb83add915", 0, - "c3c2fedf-e8ea-4d42-a866-5e8118cba44f", + "6f79aef0-534a-46e6-99fe-ecd391ea271e", + 1, + "IMAGE" + ], + [ + "ee03fe14-9fb7-4bd2-abb4-f8920841b93f", + "578edfae-2767-4b23-9a3b-6edd8ccad1dd", + 0, + "832c965f-03bf-4c21-a05d-2c4f0acf1078", + 0, + "string" + ], + [ + "609844e8-11fb-4766-8335-ba108bb4246c", + "832c965f-03bf-4c21-a05d-2c4f0acf1078", + 0, + "6f79aef0-534a-46e6-99fe-ecd391ea271e", 0, "UPSCALE_MODEL" ], [ - "6c59e5a0-008d-4f8f-a2a3-e18ce2536194", - "8ad09059-f3fc-453f-8633-bd7281bc2802", - 0, - "1dcc0510-9e06-4ca4-b607-26c361abce6c", + "07a53e72-7ca6-4dc6-b9dd-d9d20c0a546c", + "59feacdf-de02-4b1e-b8ba-e219ba5126b7", 0, + "9a5eefed-5e6b-450c-898c-8a170572e67e", + 1, "string" ], [ - "978dec85-18c9-42f5-af2a-d560ea9f6a3b", - "1dcc0510-9e06-4ca4-b607-26c361abce6c", + "7c5f8d16-23a4-4998-912e-75cdadf616a9", + "6f79aef0-534a-46e6-99fe-ecd391ea271e", 0, - "c3c2fedf-e8ea-4d42-a866-5e8118cba44f", - 1, - "IMAGE" - ], - [ - "a2678fb8-093c-4769-92e8-20ae02961047", - "c3c2fedf-e8ea-4d42-a866-5e8118cba44f", - 0, - "f842f292-01b3-45e3-8972-ef5d036dd7d3", + "9a5eefed-5e6b-450c-898c-8a170572e67e", 0, "IMAGE" ], [ - "fc2282f2-64c9-44b8-ae2f-0476777d088f", - "f842f292-01b3-45e3-8972-ef5d036dd7d3", + "3fa443e7-f9f4-4415-b82e-d804bf7079b0", + "9a5eefed-5e6b-450c-898c-8a170572e67e", 0, - "31918f22-9e41-446d-a024-a24c90bc5a45", + "15bf90cc-971a-498c-b555-e037354119cd", 1, -1 ], [ - "76b86223-43cc-4eee-b678-6481aa77066d", - "257170fc-2503-4304-9d8c-fdc50f1fd0da", + "8f85fe39-4121-4fb8-b9d8-2b989fc544e8", + "edba3201-d2b5-4624-bdfa-6e3ccce1b21c", + 0, + "abf0b8e9-e0e4-4c57-b6b2-c4aa26536c71", 0, - "31918f22-9e41-446d-a024-a24c90bc5a45", - 2, -1 - ], - [ - "79173f8b-dace-41e6-9897-3ba6d7e8ef3e", - "5c25a00f-c779-44b0-a09f-6915e7170536", - 0, - "f842f292-01b3-45e3-8972-ef5d036dd7d3", - 1, - "string" ] ], "groups": [], @@ -570,13 +629,18 @@ "extra": {}, "version": 10 }, + "attrs": { + "title": "Upscale by Model", + "queuePromptButtonName": "Queue Prompt", + "queuePromptButtonRunWorkflow": true + }, "layout": { - "root": "4d6c8745-5133-4d31-a33c-bc93f507ac45", + "root": "46a08906-61a9-4a23-881b-9615cf165e33", "allItems": { - "0": { + "46a08906-61a9-4a23-881b-9615cf165e33": { "dragItem": { "type": "container", - "id": "4d6c8745-5133-4d31-a33c-bc93f507ac45", + "id": "46a08906-61a9-4a23-881b-9615cf165e33", "attrs": { "title": "", "hidden": false, @@ -584,9 +648,9 @@ "direction": "horizontal", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", @@ -594,14 +658,14 @@ } }, "children": [ - "c3414cbc-42d4-4c63-bdda-f960bac31fdd", - "bcacc84b-4d08-4ebb-977f-7b0be56543c1" + "c7b8c9d6-5dac-4cab-876f-d251fca35d17", + "6582cde5-d5f4-4a5f-b429-49ad8d495081" ] }, - "1": { + "c7b8c9d6-5dac-4cab-876f-d251fca35d17": { "dragItem": { "type": "container", - "id": "c3414cbc-42d4-4c63-bdda-f960bac31fdd", + "id": "c7b8c9d6-5dac-4cab-876f-d251fca35d17", "attrs": { "title": "", "hidden": false, @@ -609,9 +673,9 @@ "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", @@ -619,15 +683,15 @@ } }, "children": [ - "74447132-c425-4db0-be80-57fdec6d4fc9", - "052ece2d-e32a-486c-9856-d07fd26e7ab2" + "f4070548-a2d1-4330-a9e0-86a9a00bfc89", + "025dbbeb-b959-4b59-8b55-01bf4b6a1cdc" ], - "parent": "4d6c8745-5133-4d31-a33c-bc93f507ac45" + "parent": "46a08906-61a9-4a23-881b-9615cf165e33" }, - "2": { + "6582cde5-d5f4-4a5f-b429-49ad8d495081": { "dragItem": { "type": "container", - "id": "bcacc84b-4d08-4ebb-977f-7b0be56543c1", + "id": "6582cde5-d5f4-4a5f-b429-49ad8d495081", "attrs": { "title": "", "hidden": false, @@ -635,9 +699,9 @@ "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", @@ -645,26 +709,26 @@ } }, "children": [ - "6e754e38-5790-4e46-a4b7-dbe5fb9ee30d", - "6c0af451-b908-4850-a5cf-a458fc3147ed" + "8293884a-9e35-4c06-9d34-414d812c0f6d", + "531673e4-c61d-4c48-8da4-03bbd02e36a3" ], - "parent": "4d6c8745-5133-4d31-a33c-bc93f507ac45" + "parent": "46a08906-61a9-4a23-881b-9615cf165e33" }, - "3": { + "f4070548-a2d1-4330-a9e0-86a9a00bfc89": { "dragItem": { "type": "widget", - "id": "ee2182f5-88e5-4f68-a6d4-1f39cd7c47e6", - "nodeId": "47706464-4d82-4329-91a9-c9b2bec4cf60", + "id": "f4070548-a2d1-4330-a9e0-86a9a00bfc89", + "nodeId": "abf0b8e9-e0e4-4c57-b6b2-c4aa26536c71", "attrs": { - "title": "Model Name", + "title": "Input", "hidden": false, "disabled": false, "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", @@ -672,20 +736,44 @@ } }, "children": [], - "parent": "052ece2d-e32a-486c-9856-d07fd26e7ab2" + "parent": "c7b8c9d6-5dac-4cab-876f-d251fca35d17" }, - "4": { + "2f0371e8-559e-4a58-a5d1-0a50117675fc": { + "dragItem": { + "type": "widget", + "id": "2f0371e8-559e-4a58-a5d1-0a50117675fc", + "nodeId": "578edfae-2767-4b23-9a3b-6edd8ccad1dd", + "attrs": { + "title": "model_name", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "025dbbeb-b959-4b59-8b55-01bf4b6a1cdc" + }, + "025dbbeb-b959-4b59-8b55-01bf4b6a1cdc": { "dragItem": { "type": "container", - "id": "052ece2d-e32a-486c-9856-d07fd26e7ab2", + "id": "025dbbeb-b959-4b59-8b55-01bf4b6a1cdc", "attrs": { - "title": "UpscaleModelLoader", + "title": "Load Upscale Model", "hidden": false, "disabled": false, "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", "containerVariant": "block", "openOnStartup": false, @@ -695,25 +783,25 @@ } }, "children": [ - "ee2182f5-88e5-4f68-a6d4-1f39cd7c47e6" + "2f0371e8-559e-4a58-a5d1-0a50117675fc" ], - "parent": "c3414cbc-42d4-4c63-bdda-f960bac31fdd" + "parent": "c7b8c9d6-5dac-4cab-876f-d251fca35d17" }, - "5": { + "db12215f-fd9c-463f-9fbd-26b79e994e0e": { "dragItem": { "type": "widget", - "id": "74447132-c425-4db0-be80-57fdec6d4fc9", - "nodeId": "8ad09059-f3fc-453f-8633-bd7281bc2802", + "id": "db12215f-fd9c-463f-9fbd-26b79e994e0e", + "nodeId": "59feacdf-de02-4b1e-b8ba-e219ba5126b7", "attrs": { - "title": "Image", + "title": "filename_prefix", "hidden": false, "disabled": false, "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", @@ -721,143 +809,20 @@ } }, "children": [], - "parent": "c3414cbc-42d4-4c63-bdda-f960bac31fdd" + "parent": "531673e4-c61d-4c48-8da4-03bbd02e36a3" }, - "6": { - "dragItem": { - "type": "widget", - "id": "6e754e38-5790-4e46-a4b7-dbe5fb9ee30d", - "nodeId": "31918f22-9e41-446d-a024-a24c90bc5a45", - "attrs": { - "title": "Result", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [], - "parent": "bcacc84b-4d08-4ebb-977f-7b0be56543c1" - }, - "9": { - "dragItem": { - "type": "widget", - "id": "d4c3177b-5d39-4293-9d6e-6abf941a94d4", - "nodeId": "5c25a00f-c779-44b0-a09f-6915e7170536", - "attrs": { - "title": "Filename Prefix", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [], - "parent": "6c0af451-b908-4850-a5cf-a458fc3147ed" - }, - "11": { - "dragItem": { - "type": "widget", - "id": "e9e0d601-1cce-4de3-9885-1834df406efd", - "nodeId": "257170fc-2503-4304-9d8c-fdc50f1fd0da", - "attrs": { - "title": "Clear Outputs", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [], - "parent": "6c0af451-b908-4850-a5cf-a458fc3147ed" - }, - "12": { + "531673e4-c61d-4c48-8da4-03bbd02e36a3": { "dragItem": { "type": "container", - "id": "6c0af451-b908-4850-a5cf-a458fc3147ed", + "id": "531673e4-c61d-4c48-8da4-03bbd02e36a3", "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [ - "d4c3177b-5d39-4293-9d6e-6abf941a94d4", - "e9e0d601-1cce-4de3-9885-1834df406efd" - ], - "parent": "bcacc84b-4d08-4ebb-977f-7b0be56543c1" - }, - "4d6c8745-5133-4d31-a33c-bc93f507ac45": { - "dragItem": { - "type": "container", - "id": "4d6c8745-5133-4d31-a33c-bc93f507ac45", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [ - "c3414cbc-42d4-4c63-bdda-f960bac31fdd", - "bcacc84b-4d08-4ebb-977f-7b0be56543c1" - ] - }, - "c3414cbc-42d4-4c63-bdda-f960bac31fdd": { - "dragItem": { - "type": "container", - "id": "c3414cbc-42d4-4c63-bdda-f960bac31fdd", - "attrs": { - "title": "", + "title": "Save Image", "hidden": false, "disabled": false, "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", "containerVariant": "block", "openOnStartup": false, @@ -867,52 +832,25 @@ } }, "children": [ - "74447132-c425-4db0-be80-57fdec6d4fc9", - "052ece2d-e32a-486c-9856-d07fd26e7ab2" + "db12215f-fd9c-463f-9fbd-26b79e994e0e" ], - "parent": "4d6c8745-5133-4d31-a33c-bc93f507ac45" + "parent": "6582cde5-d5f4-4a5f-b429-49ad8d495081" }, - "bcacc84b-4d08-4ebb-977f-7b0be56543c1": { - "dragItem": { - "type": "container", - "id": "bcacc84b-4d08-4ebb-977f-7b0be56543c1", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [ - "6e754e38-5790-4e46-a4b7-dbe5fb9ee30d", - "6c0af451-b908-4850-a5cf-a458fc3147ed" - ], - "parent": "4d6c8745-5133-4d31-a33c-bc93f507ac45" - }, - "ee2182f5-88e5-4f68-a6d4-1f39cd7c47e6": { + "8293884a-9e35-4c06-9d34-414d812c0f6d": { "dragItem": { "type": "widget", - "id": "ee2182f5-88e5-4f68-a6d4-1f39cd7c47e6", - "nodeId": "47706464-4d82-4329-91a9-c9b2bec4cf60", + "id": "8293884a-9e35-4c06-9d34-414d812c0f6d", + "nodeId": "15bf90cc-971a-498c-b555-e037354119cd", "attrs": { - "title": "Model Name", + "title": "Output", "hidden": false, "disabled": false, "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", @@ -920,167 +858,15 @@ } }, "children": [], - "parent": "052ece2d-e32a-486c-9856-d07fd26e7ab2" - }, - "052ece2d-e32a-486c-9856-d07fd26e7ab2": { - "dragItem": { - "type": "container", - "id": "052ece2d-e32a-486c-9856-d07fd26e7ab2", - "attrs": { - "title": "UpscaleModelLoader", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [ - "ee2182f5-88e5-4f68-a6d4-1f39cd7c47e6" - ], - "parent": "c3414cbc-42d4-4c63-bdda-f960bac31fdd" - }, - "74447132-c425-4db0-be80-57fdec6d4fc9": { - "dragItem": { - "type": "widget", - "id": "74447132-c425-4db0-be80-57fdec6d4fc9", - "nodeId": "8ad09059-f3fc-453f-8633-bd7281bc2802", - "attrs": { - "title": "Image", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [], - "parent": "c3414cbc-42d4-4c63-bdda-f960bac31fdd" - }, - "6e754e38-5790-4e46-a4b7-dbe5fb9ee30d": { - "dragItem": { - "type": "widget", - "id": "6e754e38-5790-4e46-a4b7-dbe5fb9ee30d", - "nodeId": "31918f22-9e41-446d-a024-a24c90bc5a45", - "attrs": { - "title": "Result", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [], - "parent": "bcacc84b-4d08-4ebb-977f-7b0be56543c1" - }, - "d4c3177b-5d39-4293-9d6e-6abf941a94d4": { - "dragItem": { - "type": "widget", - "id": "d4c3177b-5d39-4293-9d6e-6abf941a94d4", - "nodeId": "5c25a00f-c779-44b0-a09f-6915e7170536", - "attrs": { - "title": "Filename Prefix", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [], - "parent": "6c0af451-b908-4850-a5cf-a458fc3147ed" - }, - "e9e0d601-1cce-4de3-9885-1834df406efd": { - "dragItem": { - "type": "widget", - "id": "e9e0d601-1cce-4de3-9885-1834df406efd", - "nodeId": "257170fc-2503-4304-9d8c-fdc50f1fd0da", - "attrs": { - "title": "Clear Outputs", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [], - "parent": "6c0af451-b908-4850-a5cf-a458fc3147ed" - }, - "6c0af451-b908-4850-a5cf-a458fc3147ed": { - "dragItem": { - "type": "container", - "id": "6c0af451-b908-4850-a5cf-a458fc3147ed", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [ - "d4c3177b-5d39-4293-9d6e-6abf941a94d4", - "e9e0d601-1cce-4de3-9885-1834df406efd" - ], - "parent": "bcacc84b-4d08-4ebb-977f-7b0be56543c1" + "parent": "6582cde5-d5f4-4a5f-b429-49ad8d495081" } - }, - "currentId": 15, - "attrs": { - "queuePromptButtonName": "Queue Prompt", - "queuePromptButtonRunWorkflow": true } }, "canvas": { "offset": [ - -1717.3714583644114, - -1017.6529225774816 + 0, + 0 ], "scale": 1 } -} +} \ No newline at end of file diff --git a/src/lib/components/ComfyApp.ts b/src/lib/components/ComfyApp.ts index d0ef0f7..092bba1 100644 --- a/src/lib/components/ComfyApp.ts +++ b/src/lib/components/ComfyApp.ts @@ -208,7 +208,8 @@ export default class ComfyApp { // We failed to restore a workflow so load the default if (!restored) { - await this.initDefaultWorkflow(defs); + await this.initDefaultWorkflow("defaultWorkflow", defs); + await this.initDefaultWorkflow("upscale", defs); } // Save current workflow automatically @@ -704,15 +705,15 @@ export default class ComfyApp { selectionState.clear(); } - async initDefaultWorkflow(defs?: Record) { + async initDefaultWorkflow(name: string = "defaultWorkflow", defs?: Record) { let state = null; try { - const graphResponse = await fetch("/workflows/defaultWorkflow.json"); + const graphResponse = await fetch(`/workflows/${name}.json`); state = await graphResponse.json() as SerializedAppState; } catch (error) { - console.error("Failed to load default graph", error) - notify(`Failed to load default graph: ${error} `, { type: "error" }) + console.error(`Failed to load default graph ${name}`, error) + notify(`Failed to load default graph ${name}: ${error} `, { type: "error" }) state = structuredClone(blankGraph) } await this.openWorkflow(state, defs)