diff --git a/litegraph b/litegraph index 90cbc0f..03161cd 160000 --- a/litegraph +++ b/litegraph @@ -1 +1 @@ -Subproject commit 90cbc0fa9550eda7f82c3e52004997353316d0fc +Subproject commit 03161cd66994a139c2a2366c90e2c366b09a55da diff --git a/public/workflows/defaultWorkflow.json b/public/workflows/defaultWorkflow.json index d60e1c6..0ce7c21 100644 --- a/public/workflows/defaultWorkflow.json +++ b/public/workflows/defaultWorkflow.json @@ -5,911 +5,12 @@ "last_node_id": 0, "last_link_id": 0, "nodes": [ - { - "id": "c10e1869-b88f-4f88-9c1f-bd07c3ba1cdf", - "type": "ui/text", - "pos": [ - 1147, - 331 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 0, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - }, - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "1ba05715-f1d8-4ac1-bcff-6441d1fa4efe" - ], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.Text", - "properties": { - "tags": [], - "defaultValue": "", - "multiline": true - }, - "widgets_values": [ - "" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "efc39968-f678-4ab0-8998-73aa51e27dfb", - "type": "ui/text", - "pos": [ - 1149, - 363 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 1, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - }, - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "ca750369-fc4a-4efb-b649-5a552c8b440b" - ], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.Text", - "properties": { - "tags": [], - "defaultValue": "", - "multiline": true - }, - "widgets_values": [ - "" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "f8051ab6-d9f7-44fe-898a-ad26cfde916e", - "type": "graph/subgraph", - "pos": [ - 838, - 452 - ], - "size": [ - 200, - 30 - ], - "flags": { - "collapsed": false - }, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "batch_size", - "type": "number", - "link": "dc5a9b82-233e-484a-9e58-cd90fbeff07d", - "properties": {} - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "c84ab5d2-3d2a-4304-b2a0-5fd29403a809" - ], - "properties": {} - } - ], - "title": "Seed Randomizer", - "properties": { - "enabled": true, - "tags": [] - }, - "subgraph": { - "last_node_id": 0, - "last_link_id": 0, - "nodes": [ - { - "id": "fa4eea5e-871f-4595-9fd3-7482955acbd4", - "type": "graph/output", - "pos": [ - 410, - -31 - ], - "size": [ - 210, - 62 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "number", - "link": "887c67fb-c2ac-4026-bffa-b5823880d430", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "value", - "type": "number", - "subgraphID": "f8051ab6-d9f7-44fe-898a-ad26cfde916e", - "tags": [] - } - }, - { - "id": "e59ea093-f3cb-419e-a34c-7e674efb3047", - "type": "utils/value_control", - "pos": [ - 123.90625, - -214.16668701171875 - ], - "size": [ - 151.2, - 126 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "number", - "link": "5bce1add-d9c5-4d18-a12f-7cf7e8355c74", - "properties": {} - }, - { - "name": "trigger", - "type": -1, - "link": "75d70971-7171-4540-8f29-e1b35cc0e74f", - "properties": {}, - "shape": 1 - }, - { - "name": "action", - "type": "string", - "link": "5132a6bd-09dc-4c37-a257-52bae3212a9c", - "properties": {}, - "defaultWidgetNode": null, - "config": { - "defaultValue": "randomize", - "values": [ - "fixed", - "increment", - "decrement", - "randomize" - ] - }, - "slot_index": 2, - "widgetNodeType": "ui/combo" - }, - { - "name": "min", - "type": "number", - "link": "769f541e-e2a9-454b-b592-2ea8e108b27f", - "properties": {} - }, - { - "name": "max", - "type": "number", - "link": "aeff592e-4664-463d-8a7f-6691524560de", - "properties": {} - }, - { - "name": "step", - "type": "number", - "link": "7f24f920-5771-48f6-9690-cb69aee64534", - "properties": {} - } - ], - "outputs": [ - { - "name": "value", - "type": "*", - "links": [], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [ - "0089f1c4-230f-4a02-950f-555502110110" - ], - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "title": "Comfy.ValueControl", - "properties": { - "tags": [], - "value": 416491136024233, - "action": "randomize", - "min": 0, - "max": 18446744073709552000, - "step": 1, - "ignoreStepWhenRandom": false - }, - "saveUserState": true - }, - { - "id": "cb8299a3-b0c7-47b4-8d63-f809a84dc8d5", - "type": "ui/number", - "pos": [ - 12, - -7 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": "0089f1c4-230f-4a02-950f-555502110110", - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "887c67fb-c2ac-4026-bffa-b5823880d430", - "5bce1add-d9c5-4d18-a12f-7cf7e8355c74" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - }, - { - "name": "@min", - "type": "number", - "links": [ - "769f541e-e2a9-454b-b592-2ea8e108b27f" - ], - "properties": {}, - "slot_index": 2 - }, - { - "name": "@max", - "type": "number", - "links": [ - "aeff592e-4664-463d-8a7f-6691524560de" - ], - "properties": {}, - "slot_index": 3 - }, - { - "name": "@step", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "@precision", - "type": "number", - "links": [], - "properties": {} - } - ], - "title": "UI.Number", - "properties": { - "tags": [], - "defaultValue": 0, - "min": 0, - "max": 18446744073709552000, - "step": 1, - "precision": 0 - }, - "widgets_values": [ - "416491136024233.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 416491136024233, - "shownOutputProperties": { - "min": { - "type": "number", - "outputName": "@min" - }, - "max": { - "type": "number", - "outputName": "@max" - }, - "step": { - "type": "number", - "outputName": "@step" - }, - "precision": { - "type": "number", - "outputName": "@precision" - } - }, - "saveUserState": true - }, - { - "id": "b335460b-8c5c-44e8-9063-b85bc72357a0", - "type": "ui/combo", - "pos": [ - -8, - -147 - ], - "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": [ - "5132a6bd-09dc-4c37-a257-52bae3212a9c" - ], - "properties": {}, - "slot_index": 0 - }, - { - "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": "f84bbbdf-60e1-406b-812f-7a58db008617", - "type": "events/queue_events", - "pos": [ - -203, - -213 - ], - "size": [ - 178, - 66 - ], - "flags": { - "collapsed": false - }, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "beforeQueued", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - }, - { - "name": "afterQueued", - "type": -2, - "links": [ - "75d70971-7171-4540-8f29-e1b35cc0e74f" - ], - "properties": {}, - "shape": 1, - "slot_index": 1 - }, - { - "name": "onDefaultQueueAction", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "Comfy.QueueEvents", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "44f7ee29-c16b-4f8b-a4b8-f0a147a4f36a", - "type": "graph/input", - "pos": [ - -288, - -105 - ], - "size": [ - 210, - 86 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "number", - "links": [ - "7f24f920-5771-48f6-9690-cb69aee64534" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Input", - "properties": { - "name": "batch_size", - "type": "number", - "value": 0, - "subgraphID": "f8051ab6-d9f7-44fe-898a-ad26cfde916e", - "tags": [] - } - } - ], - "links": [ - [ - "887c67fb-c2ac-4026-bffa-b5823880d430", - "cb8299a3-b0c7-47b4-8d63-f809a84dc8d5", - 0, - "fa4eea5e-871f-4595-9fd3-7482955acbd4", - 0, - "number" - ], - [ - "5132a6bd-09dc-4c37-a257-52bae3212a9c", - "b335460b-8c5c-44e8-9063-b85bc72357a0", - 0, - "e59ea093-f3cb-419e-a34c-7e674efb3047", - 2, - "string" - ], - [ - "769f541e-e2a9-454b-b592-2ea8e108b27f", - "cb8299a3-b0c7-47b4-8d63-f809a84dc8d5", - 2, - "e59ea093-f3cb-419e-a34c-7e674efb3047", - 3, - "number" - ], - [ - "aeff592e-4664-463d-8a7f-6691524560de", - "cb8299a3-b0c7-47b4-8d63-f809a84dc8d5", - 3, - "e59ea093-f3cb-419e-a34c-7e674efb3047", - 4, - "number" - ], - [ - "5bce1add-d9c5-4d18-a12f-7cf7e8355c74", - "cb8299a3-b0c7-47b4-8d63-f809a84dc8d5", - 0, - "e59ea093-f3cb-419e-a34c-7e674efb3047", - 0, - "number" - ], - [ - "0089f1c4-230f-4a02-950f-555502110110", - "e59ea093-f3cb-419e-a34c-7e674efb3047", - 1, - "cb8299a3-b0c7-47b4-8d63-f809a84dc8d5", - 0, - -1 - ], - [ - "75d70971-7171-4540-8f29-e1b35cc0e74f", - "f84bbbdf-60e1-406b-812f-7a58db008617", - 1, - "e59ea093-f3cb-419e-a34c-7e674efb3047", - 1, - -1 - ], - [ - "7f24f920-5771-48f6-9690-cb69aee64534", - "44f7ee29-c16b-4f8b-a4b8-f0a147a4f36a", - 0, - "e59ea093-f3cb-419e-a34c-7e674efb3047", - 5, - "number" - ] - ], - "groups": [], - "config": {}, - "extra": {}, - "version": 10 - } - }, - { - "id": "928a13d8-cfc6-417e-9088-53503efb1cd3", - "type": "events/sequence", - "pos": [ - 2057, - 368 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 18, - "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": "e41be48f-eb22-4269-93dc-d56a40d57f2c", - "type": "events/wrap_as_event", - "pos": [ - 1866, - 382 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": false - }, - "order": 17, - "mode": 0, - "inputs": [ - { - "name": "trigger", - "type": -1, - "link": "8d3265e3-4f5b-4124-b20f-51e14647a7f7", - "properties": {}, - "shape": 1 - }, - { - "name": "param", - "type": "", - "link": "ce514e38-b125-4803-a246-9a66e9f75235", - "properties": {}, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "event", - "type": -2, - "links": [ - "27e9b2c9-72c5-48b0-aa80-2646590d8c2b" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - } - ], - "title": "Wrap As Event", - "properties": { - "tags": [] - } - }, - { - "id": "e7e68c8c-fa9c-42ab-985e-789c1dc91ae5", - "type": "ui/text", - "pos": [ - 1727, - 332 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - }, - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "73188be4-0b2e-4826-a12d-63c05a9bab54" - ], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.Text", - "properties": { - "tags": [], - "defaultValue": "ComfyUI", - "multiline": false - }, - "widgets_values": [ - "" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "956ef877-9a36-40d4-9f86-e824ff6f6dd5", - "type": "ui/number", - "pos": [ - 676, - 428 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "c004a9a1-6ebc-40f0-9fa5-dc9557f8b697", - "dc5a9b82-233e-484a-9e58-cd90fbeff07d" - ], - "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": [], - "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": "23565dd5-d004-4010-bfa9-ffd9e4dc7cba", "type": "basic/integer", "pos": [ - 1502.4132231404956, - 546.2381667918858 + 1462.247204585808, + 855.228727338763 ], "size": [ 210, @@ -918,7 +19,7 @@ "flags": { "collapsed": true }, - "order": 4, + "order": 0, "mode": 0, "inputs": [], "outputs": [ @@ -940,55 +41,111 @@ } }, { - "id": "5f099bc5-043a-4658-a6ac-83f01f72eefd", - "type": "ui/button", + "id": "c5dde6e2-d6a9-4c7e-b396-3083b11573f5", + "type": "ui/gallery", "pos": [ - 1475, - 379 + 2193, + 322 ], "size": [ 210, - 58 + 126 + ], + "flags": {}, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "OUTPUT", + "link": null, + "properties": {} + }, + { + "name": "store", + "type": -1, + "link": "0f1bc87b-d1d6-4c04-be03-699eb7d1ab2a", + "properties": {}, + "color_off": "rebeccapurple", + "color_on": "rebeccapurple", + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES", + "links": [ + "c4ff06f7-3f0a-475b-9d14-48d639bdfdda" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "selected_index", + "type": "number", + "links": [ + "ca9c18cc-dfe1-4b64-bbaa-9666f11d6e6d" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "UI.Gallery", + "properties": { + "tags": [], + "defaultValue": null, + "index": 0, + "updateMode": "append" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": [], + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "5827b359-e7c6-46b9-86c3-ff12b197c558", + "type": "basic/string", + "pos": [ + 1541.7499999999995, + 404.86999999999983 + ], + "size": [ + 210, + 38 ], "flags": { - "collapsed": false + "collapsed": true }, - "order": 5, + "order": 1, "mode": 0, "inputs": [], "outputs": [ { - "name": "clicked", - "type": -2, + "name": "string", + "type": "string", "links": [ - "794ce3c6-a8de-4f4d-ba55-5bb3d5092993" + "3f4c065d-a110-4196-b44f-e615d3645a4d" ], "properties": {}, - "shape": 1, "slot_index": 0 } ], - "title": "UI.Button", + "title": "Const String", "properties": { - "tags": [], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true + "value": "ComfyUI", + "tags": [] + } }, { "id": "59d83912-13a7-4b7f-a353-e7e2a0ecf3b8", "type": "events/filter", "pos": [ - 1562, - 501 + 1521.7189814453116, + 809.9955605468764 ], "size": [ 210, @@ -997,7 +154,7 @@ "flags": { "collapsed": false }, - "order": 11, + "order": 13, "mode": 0, "inputs": [ { @@ -1043,356 +200,19 @@ "tags": [] } }, - { - "id": "62204d27-0c28-4901-8319-453605d911f0", - "type": "events/sequence", - "pos": [ - 1754, - 405 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 16, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "794ce3c6-a8de-4f4d-ba55-5bb3d5092993", - "properties": {}, - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "8e8938d1-bba9-4ffc-a075-440aefbda06a", - "properties": {}, - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "8d3265e3-4f5b-4124-b20f-51e14647a7f7" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "49b8f233-abf9-4604-ab0c-8179178d1731", - "type": "events/branch", - "pos": [ - 1960, - 550 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 15, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "32fc2993-3360-4911-9965-184662fdd8f8", - "properties": {}, - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "edb164b9-1b4c-4de0-b653-0e750128730e", - "properties": {} - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - }, - { - "name": "false", - "type": -2, - "links": [ - "8e8938d1-bba9-4ffc-a075-440aefbda06a" - ], - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "63a83c93-647f-4882-84f0-606c4d070e43", - "type": "ui/checkbox", - "pos": [ - 1821, - 590 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "boolean", - "links": [ - "edb164b9-1b4c-4de0-b653-0e750128730e" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.Checkbox", - "properties": { - "tags": [], - "defaultValue": false - }, - "widgets_values": [ - "true" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": true, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "c5dde6e2-d6a9-4c7e-b396-3083b11573f5", - "type": "ui/gallery", - "pos": [ - 2193, - 322 - ], - "size": [ - 210, - 126 - ], - "flags": {}, - "order": 19, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "OUTPUT", - "link": null, - "properties": {} - }, - { - "name": "store", - "type": -1, - "link": "0f1bc87b-d1d6-4c04-be03-699eb7d1ab2a", - "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": "a16a0898-b754-4a3a-a118-31cb2c9e76d7", - "type": "events/queue_events", - "pos": [ - 1315, - 499 - ], - "size": [ - 178, - 66 - ], - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "beforeQueued", - "type": -2, - "links": [ - "bda9da8b-686f-4e8a-ae78-347f4cde9018" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "afterQueued", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - }, - { - "name": "onDefaultQueueAction", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "Comfy.QueueEvents", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "d61b7ac0-b5f7-4a88-8226-28f9b017f3f4", - "type": "SaveImage", - "pos": [ - 1824, - 288 - ], - "size": [ - 186.4, - 46 - ], - "flags": {}, - "order": 14, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": "250486b4-7eae-4049-aa6f-1ff826687c9c", - "properties": {}, - "config": {} - }, - { - "name": "filename_prefix", - "type": "string", - "link": "73188be4-0b2e-4826-a12d-63c05a9bab54", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/text", - "serialize": true - } - ], - "outputs": [ - { - "name": "OUTPUT", - "type": -2, - "links": [ - "eeb1dfa6-eaaa-4ba6-b2a6-b13ae69c3462" - ], - "properties": {}, - "color_off": "rebeccapurple", - "color_on": "rebeccapurple", - "shape": 1, - "slot_index": 0 - } - ], - "title": "Save Image", - "properties": { - "tags": [ - "gen" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, { "id": "70361963-27f5-471d-b735-dbe2351a5ebd", "type": "graph/subgraph", "pos": [ - 1278, - 285 + 1273, + 300 ], "size": [ 200, - 150 + 190 ], "flags": {}, - "order": 12, + "order": 23, "mode": 0, "inputs": [ { @@ -1402,21 +222,15 @@ "properties": {} }, { - "name": "Positive", - "type": "string", - "link": "1ba05715-f1d8-4ac1-bcff-6441d1fa4efe", + "name": "positive", + "type": "CONDITIONING", + "link": "700ea451-5900-45d2-bf20-b9648d9bbf8d", "properties": {} }, { - "name": "clip", - "type": "CLIP", - "link": "e14c4726-7283-4ad8-b397-c44a4fdf1d93", - "properties": {} - }, - { - "name": "Negative", - "type": "string", - "link": "ca750369-fc4a-4efb-b649-5a552c8b440b", + "name": "negative", + "type": "CONDITIONING", + "link": "b13280ea-28b0-4983-8299-665f4f7afed0", "properties": {} }, { @@ -1437,6 +251,24 @@ "type": "number", "link": "c004a9a1-6ebc-40f0-9fa5-dc9557f8b697", "properties": {} + }, + { + "name": "cfg", + "type": "number", + "link": "74b0ece4-a591-41b1-935d-ed02fa3cec52", + "properties": {} + }, + { + "name": "sampler_name", + "type": "string", + "link": "bffaf708-3e9f-47c0-aaff-be10bad3cdcb", + "properties": {} + }, + { + "name": "scheduler", + "type": "string", + "link": "46b140b9-fe33-489c-803a-1b7f48ab776b", + "properties": {} } ], "outputs": [ @@ -1456,6 +288,8 @@ "gen" ] }, + "color": "#2a363b", + "bgColor": "#3f5159", "subgraph": { "last_node_id": 0, "last_link_id": 0, @@ -1562,371 +396,20 @@ "saveUserState": true }, { - "id": "084703e8-986f-43ba-bead-fc339de8cce5", - "type": "ui/number", + "id": "099185ef-d84a-4f4d-8467-eeb5a9c36cc2", + "type": "ui/combo", "pos": [ - 585.6400000000027, - 91.68331298828129 + 246.5460342773434, + 683.6362379394525 ], "size": [ 210, - 158 + 78 ], "flags": { "collapsed": true }, "order": 1, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "170bc753-f60f-4fcb-abbe-38cf09e1a3bf" - ], - "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": 8, - "min": 0, - "max": 100, - "step": 0.5, - "precision": 0 - }, - "widgets_values": [ - "8.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 8, - "shownOutputProperties": { - "min": { - "type": "number", - "outputName": "@min" - }, - "max": { - "type": "number", - "outputName": "@max" - }, - "step": { - "type": "number", - "outputName": "@step" - }, - "precision": { - "type": "number", - "outputName": "@precision" - } - }, - "saveUserState": true - }, - { - "id": "6dec6532-214e-47e8-9ecf-5151ddcd1ca4", - "type": "ui/combo", - "pos": [ - 585.6400000000027, - 111.68331298828134 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "b933e7d9-9129-484a-ab99-ae043f6a46f3" - ], - "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": "3661b109-0d21-4987-a386-a8e4f53ff6fa", - "type": "ui/combo", - "pos": [ - 585.6400000000027, - 131.6833129882813 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "d9d34da2-653b-488d-8aad-11cbc66b15af" - ], - "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": "6391469c-22aa-45cf-b49b-c093ba92efa2", - "type": "ui/number", - "pos": [ - 397.7999999999997, - 273.74999999999994 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 4, - "mode": 2, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "af10a80f-353a-4106-b66a-73840ed72cc3" - ], - "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 (denoise)", - "properties": { - "tags": [ - "img2img" - ], - "defaultValue": 1, - "min": 0, - "max": 1, - "step": 0.01, - "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": "e70690b5-cff8-4f82-9c58-f075f478fa41", - "type": "basic/number", - "pos": [ - 472.7999999999996, - 307.74999999999983 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 5, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "e7192707-dbc7-4255-bd69-2953e500f7f6" - ], - "properties": {}, - "label": "1.000", - "slot_index": 0 - } - ], - "title": "Const Number", - "properties": { - "value": 1, - "tags": [] - } - }, - { - "id": "099185ef-d84a-4f4d-8467-eeb5a9c36cc2", - "type": "ui/combo", - "pos": [ - 476.7075999999995, - 524.5462999999995 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 6, "mode": 2, "inputs": [ { @@ -1974,8 +457,8 @@ "id": "aae3b454-d5ef-49f4-ab65-d4ae360010b1", "type": "ui/combo", "pos": [ - 471.7075999999995, - 461.54629999999963 + 241.5460342773434, + 620.6362379394527 ], "size": [ 210, @@ -1984,7 +467,7 @@ "flags": { "collapsed": true }, - "order": 7, + "order": 2, "mode": 2, "inputs": [ { @@ -2029,18 +512,1748 @@ "saveUserState": false }, { - "id": "5d3fc9ab-a7b8-45b5-a824-d70f98c97a96", - "type": "ui/image_upload", + "id": "2d5fb9b4-1a72-484e-9808-4db9facfcf28", + "type": "LoadImage", "pos": [ - -611.6690999999997, - 351.74400000000054 + -204.45396572265653, + 549.6362379394529 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 34, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "string", + "link": "5a796a62-0bd1-4f1e-b7f5-9888e79e40f0", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + "8cec9dcf-4930-4333-927b-1fadf75bd17a" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [], + "properties": {}, + "shape": 3 + } + ], + "title": "Load Image", + "properties": { + "tags": [ + "img2img", + "gen" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "c7623ffd-2ce4-4164-9a5b-721d7670630f", + "type": "string/template", + "pos": [ + -571.3607293473161, + -699.2404333408113 + ], + "size": [ + 210, + 98 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "string,array", + "link": "defc4343-6c6c-44af-9fda-93f2e3ae649f", + "properties": {}, + "slot_index": 0 + }, + { + "name": "", + "type": "string", + "link": null, + "properties": {} + }, + { + "name": "update", + "type": -1, + "link": "5df95237-f3b0-4528-add7-f051535e13e0", + "properties": {}, + "shape": 1, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "out", + "type": "string", + "links": [ + "9dc3b1fb-cb7c-4166-b230-f6a2a779323b" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Template", + "properties": { + "template": "Queue $1", + "stringQuote": "", + "tags": [] + } + }, + { + "id": "0c1af43a-61de-40f0-907a-67e07445cde1", + "type": "workflow/configure_queue_prompt_button", + "pos": [ + -330.89467509765547, + -758.0690928710933 + ], + "size": [ + 268.8, + 26 + ], + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "config", + "type": -1, + "link": "ce8a67c5-0ee4-45ba-bb4d-5df263a98509", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [], + "title": "Comfy.ConfigureQueuePromptButton", + "properties": { + "tags": [] + } + }, + { + "id": "2ab2332e-be3c-4465-bb6a-ac7488a1bf96", + "type": "actions/set_node_mode_advanced", + "pos": [ + -617.5307517578117, + -537.5949249023431 + ], + "size": [ + 260.4, + 102 + ], + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "enabled", + "type": "boolean", + "link": null, + "properties": {} + }, + { + "name": "set", + "type": -1, + "link": "d7012752-b1c9-43e3-a1e2-f31ea93cd3f5", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.SetNodeModeAdvancedAction", + "properties": { + "targetTags": [ + { + "tag": "txt2img", + "enable": true + }, + { + "tag": "img2img", + "enable": false + } + ], + "enable": true, + "tags": [] + }, + "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 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "bool", + "type": "boolean", + "links": [ + "08728079-7728-4247-9b6d-2641cd90ff43" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Const Boolean", + "properties": { + "value": false, + "tags": [] + } + }, + { + "id": "3adcd800-59b3-4408-8985-095b695f77c2", + "type": "events/filter", + "pos": [ + 362.32530000000014, + -533.9684000000002 + ], + "size": [ + 210, + 150 + ], + "flags": {}, + "order": 51, + "mode": 0, + "inputs": [ + { + "name": "event", + "type": -1, + "link": "39c90eac-3e03-4b53-b695-71efd17e430b", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "compare_value", + "type": "*", + "link": "626ee0c9-cffe-4752-8c52-5d2eb29809a5", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "accept", + "type": -2, + "links": [ + "2b56a2bd-31af-4743-a9e3-008af6dda159" + ], + "properties": {}, + "shape": 1 + }, + { + "name": "reject", + "type": -2, + "links": [ + "cdae4dea-03d6-4ac4-b372-42fbb74fd507" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "Filter Event", + "properties": { + "compareValue": true, + "propertyName": "", + "mode": "param", + "operation": "==", + "tags": [] + } + }, + { + "id": "2125eaed-c018-40f9-8493-dffa713c4cc2", + "type": "basic/boolean", + "pos": [ + 273.32530000000014, + -488.9684000000002 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "bool", + "type": "boolean", + "links": [ + "626ee0c9-cffe-4752-8c52-5d2eb29809a5" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Const Boolean", + "properties": { + "value": true, + "tags": [] + } + }, + { + "id": "7cdfa3c9-b3b9-4c77-989c-887fa6ef8983", + "type": "utils/pick_first", + "pos": [ + 91.54603427734287, + 664.6362379394526 + ], + "size": [ + 210, + 122 + ], + "flags": { + "collapsed": true + }, + "order": 42, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "fa009346-1bb8-4ed9-a505-ebdc9ea803e1", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "2e83c712-977d-4b9e-8f17-a38faaed2e52", + "properties": {} + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + "97b1e4d5-1b79-49cd-a5ac-9d92db536467" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [], + "mode": "dataNonNull" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "a43917b1-40ac-44b7-9f86-d6cbbed6bdc0", + "type": "graph/input", + "pos": [ + 617, + 49 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "51729fc1-a711-4872-9023-5ff86ca558ba" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "seed", + "type": "number", + "value": 0, + "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", + "tags": [] + } + }, + { + "id": "9b6f3be8-b74f-49a4-85ab-b2bf6c91e8d9", + "type": "basic/integer", + "pos": [ + -1385.4756152698853, + 289.4769482461827 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "ee4e9a53-5e21-4748-a04a-0148209483b8" + ], + "properties": {}, + "label": "0", + "slot_index": 0 + } + ], + "title": "Const Integer", + "properties": { + "value": 0, + "tags": [] + } + }, + { + "id": "8cec9619-2b37-43ff-9914-b3865b40211d", + "type": "events/queue_events", + "pos": [ + -1214.4614243607946, + 121.61703642800096 + ], + "size": [ + 178, + 66 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "beforeQueued", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "afterQueued", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "onDefaultQueueAction", + "type": -2, + "links": [ + "cc21badd-7f4d-4a29-8589-9803c194598e" + ], + "properties": {}, + "shape": 1, + "slot_index": 2 + } + ], + "title": "Comfy.QueueEvents", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "a7b48551-2311-4830-8181-110f5b9035e5", + "type": "ui/radio", + "pos": [ + -879.155051757812, + -704.9435249023431 + ], + "size": [ + 210, + 122 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "defc4343-6c6c-44af-9fda-93f2e3ae649f", + "cb24e437-7fe2-400a-b39c-2a0e8d0d0b7e" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "index", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "bf831a3d-9b67-4208-bb78-a32f95862e9f", + "5df95237-f3b0-4528-add7-f051535e13e0" + ], + "properties": {}, + "shape": 1, + "slot_index": 2 + } + ], + "title": "UI.Radio", + "properties": { + "tags": [], + "choices": [ + "txt2img", + "img2img" + ], + "defaultValue": "Choice A" + }, + "widgets_values": [ + "txt2img", + 0 + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "txt2img", + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "def44ce3-6b61-4294-b0bd-abe3b7c6045a", + "type": "logic/AND", + "pos": [ + -1173.6432425426126, + 266.980672791637 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "a", + "type": "boolean", + "link": "e85e7aa8-51a3-449a-b4f1-621eeedcc1a4", + "properties": {}, + "slot_index": 0 + }, + { + "name": "b", + "type": "boolean", + "link": "769b8dec-a1ba-43d4-83d3-ed20049acc4d", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "641efbc6-f0e7-4c71-bd65-b02d0b0d8f87" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "AND", + "properties": { + "tags": [] + } + }, + { + "id": "2d3a49a0-eed8-4547-9f8c-a713c0234a76", + "type": "basic/string", + "pos": [ + -1412.0977879971572, + 234.34430915527335 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "string", + "type": "string", + "links": [ + "24d5f780-5151-4908-9e4e-db1d00f52534" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Const String", + "properties": { + "value": "img2img", + "tags": [] + } + }, + { + "id": "5da91863-510c-4da9-bdb4-6b761987471f", + "type": "basic/watch", + "pos": [ + -1081.6432425426126, + 231.980672791637 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 48, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": 0, + "link": "9b243d97-7931-4a56-8c14-71401dc8f19b", + "properties": {}, + "label": "true" + } + ], + "outputs": [], + "title": "Watch", + "properties": { + "value": 1, + "tags": [] + } + }, + { + "id": "139a785e-802e-48b3-b6dd-b6678dc3a969", + "type": "math/approx_eq", + "pos": [ + -1298.6432425426126, + 287.980672791637 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "number", + "link": "d2c7876f-513e-4636-b4f8-93285ffebc25", + "properties": {} + }, + { + "name": "B", + "type": "number", + "link": "ee4e9a53-5e21-4748-a04a-0148209483b8", + "properties": {} + }, + { + "name": "epsilon", + "type": "number", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "true", + "type": "boolean", + "links": [ + "769b8dec-a1ba-43d4-83d3-ed20049acc4d" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "false", + "type": "boolean", + "links": [], + "properties": {} + } + ], + "title": "Approx. Eq", + "properties": { + "tags": [] + } + }, + { + "id": "ad7226d8-a707-4abd-ba61-9261b0c9a20d", + "type": "basic/CompareValues", + "pos": [ + -1279.6432425426126, + 235.98067279163703 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": 0, + "link": "cb24e437-7fe2-400a-b39c-2a0e8d0d0b7e", + "properties": {} + }, + { + "name": "B", + "type": 0, + "link": "24d5f780-5151-4908-9e4e-db1d00f52534", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "true", + "type": "boolean", + "links": [ + "e85e7aa8-51a3-449a-b4f1-621eeedcc1a4" + ], + "properties": {} + }, + { + "name": "false", + "type": "boolean", + "links": [], + "properties": {} + } + ], + "title": "GenericCompare", + "properties": { + "A": "txt2img", + "B": "img2img", + "OP": "==", + "enabled": true, + "tags": [] + } + }, + { + "id": "cda00cc0-7d08-4cfd-b561-6d15d5f2f28c", + "type": "logic/NOT", + "pos": [ + -1080.4614243607946, + 265.61703642800063 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "boolean", + "link": "641efbc6-f0e7-4c71-bd65-b02d0b0d8f87", + "properties": {} + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "9b243d97-7931-4a56-8c14-71401dc8f19b", + "6f1f107b-7d49-43d0-8ba4-3bcc32814899" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "NOT", + "properties": { + "tags": [] + } + }, + { + "id": "877d8e92-b7dc-455b-8fce-a11b4821e476", + "type": "actions/notify", + "pos": [ + -932.825060724434, + 250.43521824618253 + ], + "size": [ + 151.2, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 54, + "mode": 0, + "inputs": [ + { + "name": "message", + "type": "string", + "link": "94805a83-2d1d-4162-8433-436607245213", + "properties": {}, + "slot_index": 0 + }, + { + "name": "trigger", + "type": -1, + "link": "1c726838-0dcd-4aaf-936e-d56e6c4ff2fd", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.NotifyAction", + "properties": { + "tags": [], + "message": "Nya.", + "type": "error" + }, + "saveUserState": true + }, + { + "id": "a502386b-f168-4086-a512-623496b78199", + "type": "basic/string", + "pos": [ + -997.0068789062508, + 289.3443091552733 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "string", + "type": "string", + "links": [ + "94805a83-2d1d-4162-8433-436607245213" + ], + "properties": {} + } + ], + "title": "Const String", + "properties": { + "value": "Upload an image to be used with img2img first.", + "tags": [] + } + }, + { + "id": "597df44f-6179-471b-9730-990c0071ef1b", + "type": "LatentUpscale", + "pos": [ + 373.83843427734377, + 569.0899379394532 + ], + "size": [ + 178, + 106 + ], + "flags": {}, + "order": 46, + "mode": 2, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": "8198a510-daec-4607-8a4d-0672e8ceabec", + "properties": {}, + "config": {} + }, + { + "name": "upscale_method", + "type": "string", + "link": "d8a7ddcd-9b85-4ec1-96a6-61617d99d4ed", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + }, + { + "name": "width", + "type": "number", + "link": "97b1e4d5-1b79-49cd-a5ac-9d92db536467", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "height", + "type": "number", + "link": "59ac014a-6bff-443f-a4a7-33fd3b51cc68", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "crop", + "type": "string", + "link": "80a8a1c4-2e9a-4a20-b088-6612d2a4c535", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + "5fbd52e4-c236-4049-8965-24fb79ea7302" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "Upscale Latent", + "properties": { + "tags": [ + "img2img", + "gen" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "ad64f79d-0434-4673-a8af-55de017ba9ff", + "type": "VAEEncode", + "pos": [ + 16.838434277343698, + 553.0899379394533 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 40, + "mode": 2, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": "8cec9dcf-4930-4333-927b-1fadf75bd17a", + "properties": {}, + "config": {} + }, + { + "name": "vae", + "type": "VAE", + "link": "152a8237-dc88-4ff2-ae64-d61f824187a3", + "properties": {}, + "config": {} + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + "8198a510-daec-4607-8a4d-0672e8ceabec" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "VAE Encode", + "properties": { + "tags": [ + "img2img", + "gen" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "89ace6a4-7a24-4744-898a-e65109663b57", + "type": "KSampler", + "pos": [ + 716, + 7 + ], + "size": [ + 161.2, + 206 + ], + "flags": {}, + "order": 58, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "5127d518-b146-488e-b296-ed2be1b382c0", + "properties": {}, + "config": {} + }, + { + "name": "seed", + "type": "number", + "link": "51729fc1-a711-4872-9023-5ff86ca558ba", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "steps", + "type": "number", + "link": "5c6f3d0a-56cb-4265-9262-ad560524ffcd", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "cfg", + "type": "number", + "link": "3eb16bc7-0107-484b-8532-ecbe07d12872", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "sampler_name", + "type": "string", + "link": "1797d40f-5f1d-44be-a922-e795b81668bc", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + }, + { + "name": "scheduler", + "type": "string", + "link": "3368c49e-7722-48b6-b07c-189e11818c2f", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": "95a5de76-80b5-4cb1-a699-a91172c42efa", + "properties": {}, + "slot_index": 6, + "config": {} + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": "8ed1821b-5d69-429c-a404-1b6b668c8727", + "properties": {}, + "slot_index": 7, + "config": {} + }, + { + "name": "latent_image", + "type": "LATENT", + "link": "38e75281-5f3d-4800-9db0-b44cecab4f68", + "properties": {}, + "slot_index": 8, + "config": {} + }, + { + "name": "denoise", + "type": "number", + "link": "2516f465-9425-4bc5-aa86-7461b4fefdc4", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + "4de28b7a-a2f2-431d-a204-2982ee63e5c6" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "KSampler", + "properties": { + "tags": [ + "gen" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "6b833917-9871-480d-b607-b41a8673edc1", + "type": "graph/input", + "pos": [ + 600, + 28 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + "5127d518-b146-488e-b296-ed2be1b382c0" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "model", + "type": "MODEL", + "value": null, + "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", + "tags": [] + } + }, + { + "id": "a46ec9f3-82bd-470d-bd89-83d274e1c0cd", + "type": "VAEDecode", + "pos": [ + 942, + 9 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 59, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": "4de28b7a-a2f2-431d-a204-2982ee63e5c6", + "properties": {}, + "config": {} + }, + { + "name": "vae", + "type": "VAE", + "link": "bd75390b-7eb3-4393-bea9-71a92ec0f52e", + "properties": {}, + "slot_index": 1, + "config": {} + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + "689818f7-101f-4250-9ead-7b4aa77f27e6" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "VAE Decode", + "properties": { + "tags": [ + "gen" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "e9edfe61-2ce1-4546-b90b-bd854e88eda5", + "type": "actions/set_node_mode_advanced", + "pos": [ + 334.70099999999985, + -340.3169999999999 + ], + "size": [ + 260.4, + 102 + ], + "flags": {}, + "order": 56, + "mode": 0, + "inputs": [ + { + "name": "enabled", + "type": "boolean", + "link": null, + "properties": {} + }, + { + "name": "set", + "type": -1, + "link": "2b56a2bd-31af-4743-a9e3-008af6dda159", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.SetNodeModeAdvancedAction", + "properties": { + "targetTags": [ + { + "tag": "img2imgScaleSize", + "enable": true + }, + { + "tag": "img2imgPixelSize", + "enable": false + } + ], + "enable": true, + "tags": [] + }, + "boxcolor": "#666", + "saveUserState": true + }, + { + "id": "b39bc040-9da5-438b-9cd6-9f43827915fd", + "type": "actions/execute_subgraph", + "pos": [ + -718.8143742187509, + 205.3761701538086 + ], + "size": [ + 226.79999999999998, + 78 + ], + "flags": { + "collapsed": false + }, + "order": 52, + "mode": 0, + "inputs": [ + { + "name": "execute", + "type": -1, + "link": "a9a5c6fa-1614-4e3c-a5db-df5ccc29f7d0", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "targetTag", + "type": "string", + "link": null, + "properties": {} + } + ], + "outputs": [], + "title": "Comfy.ExecuteSubgraphAction", + "properties": { + "tags": [], + "targetTag": "gen" + }, + "saveUserState": true + }, + { + "id": "c6a16ab9-6816-4262-8b8c-8a4d3285d190", + "type": "ui/checkbox", + "pos": [ + 92.70100000000004, + -390.3169999999999 ], "size": [ 210, 78 ], "flags": {}, - "order": 8, + "order": 47, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "9b5df263-6f17-4a34-8d0e-f807bd995abb", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "boolean", + "links": [], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "39c90eac-3e03-4b53-b695-71efd17e430b" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Checkbox", + "properties": { + "tags": [ + "img2img" + ], + "defaultValue": false + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "756b6825-8f4e-42a8-a967-260878d2ce1a", + "type": "events/trigger", + "pos": [ + -307.8359750976559, + -696.7556928710933 + ], + "size": [ + 140, + 66 + ], + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "if", + "type": "", + "link": "9dc3b1fb-cb7c-4166-b230-f6a2a779323b", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "change", + "type": -2, + "links": [ + "ce8a67c5-0ee4-45ba-bb4d-5df263a98509" + ], + "properties": {}, + "shape": 1 + }, + { + "name": "false", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Trigger Event", + "properties": { + "onlyOnChange": true, + "tags": [] + } + }, + { + "id": "f4ffe234-d4ff-4598-a9aa-3cc88f2a134c", + "type": "events/no_change", + "pos": [ + -416.8359750976559, + -193.75569287109408 + ], + "size": [ + 159.6, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 44, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "06a1d902-e945-461a-9c26-83db2922e59f", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "9b5df263-6f17-4a34-8d0e-f807bd995abb" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.NoChangeEvent", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "eb37e5af-7266-4da0-ab89-36b6e200b82f", + "type": "actions/set_node_mode_advanced", + "pos": [ + 327, + -180 + ], + "size": [ + 260.4, + 102 + ], + "flags": {}, + "order": 57, + "mode": 0, + "inputs": [ + { + "name": "enabled", + "type": "boolean", + "link": null, + "properties": {} + }, + { + "name": "set", + "type": -1, + "link": "cdae4dea-03d6-4ac4-b372-42fbb74fd507", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.SetNodeModeAdvancedAction", + "properties": { + "targetTags": [ + { + "tag": "img2imgScaleSize", + "enable": false + }, + { + "tag": "img2imgPixelSize", + "enable": true + } + ], + "enable": true, + "tags": [] + }, + "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": 37, + "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": 12, "mode": 2, "inputs": [ { @@ -2084,11 +2297,81 @@ "saveUserState": false }, { - "id": "774e27a2-ca48-4fe6-9e2a-c22ff544da7f", + "id": "54804b59-f75e-49bf-b97a-3f5f6495841d", + "type": "image/pick_image", + "pos": [ + -509.96356572265597, + 558.2719379394534 + ], + "size": [ + 210, + 190 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES", + "link": "bda9dcb6-b906-4dbb-902c-55f71aa67277", + "properties": {}, + "slot_index": 0 + }, + { + "name": "index", + "type": "number", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "image", + "type": "COMFYBOX_IMAGE", + "links": [], + "properties": {} + }, + { + "name": "filename", + "type": "string", + "links": [ + "5a796a62-0bd1-4f1e-b7f5-9888e79e40f0" + ], + "properties": {}, + "slot_index": 1 + }, + { + "name": "width", + "type": "number", + "links": [ + "00442883-6157-4ad7-ab50-81cf96f96c31", + "d2c7876f-513e-4636-b4f8-93285ffebc25" + ], + "properties": {}, + "slot_index": 2 + }, + { + "name": "height", + "type": "number", + "links": [ + "27982f07-e18c-4eac-99cb-cbd29e1ebb83" + ], + "properties": {} + } + ], + "title": "Comfy.PickImage", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "5c624567-93f1-46d5-a105-91a4d746e0b2", "type": "graph/subgraph", "pos": [ - -6, - 279 + -57.005565722656385, + 704.7149379394526 ], "size": [ 200, @@ -2097,7 +2380,1357 @@ "flags": { "collapsed": true }, - "order": 9, + "order": 13, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "width", + "type": "number", + "links": [ + "2e83c712-977d-4b9e-8f17-a38faaed2e52" + ], + "properties": {} + }, + { + "name": "height", + "type": "number", + "links": [ + "c1a3ed6b-aced-418b-b46c-b8accae3a00d" + ], + "properties": {} + } + ], + "title": "Dim. Sliders", + "properties": { + "enabled": true, + "tags": [ + "img2img", + "img2imgPixelSize" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "c9aec526-28b9-4f7c-b3f5-16679af8e329", + "type": "graph/output", + "pos": [ + 410, + -31 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "b3024d91-648c-4d81-9b3b-c3ad5c45cd87", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "width", + "type": "number", + "subgraphID": "5c624567-93f1-46d5-a105-91a4d746e0b2", + "tags": [] + } + }, + { + "id": "0c240656-de95-44c4-99ad-d071912e2669", + "type": "graph/output", + "pos": [ + 410, + 51 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "81c514f3-a476-401b-9236-cebf09af65c9", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "height", + "type": "number", + "subgraphID": "5c624567-93f1-46d5-a105-91a4d746e0b2", + "tags": [] + } + }, + { + "id": "8425eb19-7e66-43e1-a8c7-f4d215ace5b8", + "type": "actions/swap", + "pos": [ + 200, + -3 + ], + "size": [ + 140, + 66 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "18a3e2a4-4767-4bdc-aa1d-483b4e33efb2", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "25cedd82-9571-41f1-95a6-345c1012ec35", + "properties": {} + }, + { + "name": "swap", + "type": -1, + "link": "3938ae23-64ef-45ce-885b-31185f76bfca", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "B", + "type": -2, + "links": [ + "98719918-3d33-48b2-9010-cc8e748146e6" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "A", + "type": -2, + "links": [ + "e927080f-9778-4f8c-987c-75b19a30c4af" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Comfy.SwapAction", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "d8ea1bf0-1148-4d78-a797-7d57bf36786a", + "type": "ui/number", + "pos": [ + 47, + 16 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "98719918-3d33-48b2-9010-cc8e748146e6", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "18a3e2a4-4767-4bdc-aa1d-483b4e33efb2", + "b3024d91-648c-4d81-9b3b-c3ad5c45cd87" + ], + "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": [ + "img2img", + "img2imgPixelSize" + ], + "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": "36315f44-7341-45d5-8927-4fbe39a7b3cc", + "type": "ui/number", + "pos": [ + 45, + 49 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "e927080f-9778-4f8c-987c-75b19a30c4af", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "25cedd82-9571-41f1-95a6-345c1012ec35", + "81c514f3-a476-401b-9236-cebf09af65c9" + ], + "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": [ + "img2img", + "img2imgPixelSize" + ], + "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": "d36165ef-188c-4a4c-9bb1-971ce04cec6f", + "type": "ui/button", + "pos": [ + 28, + 85 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "3938ae23-64ef-45ce-885b-31185f76bfca" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "UI.Button", + "properties": { + "tags": [ + "img2img", + "img2imgPixelSize" + ], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + } + ], + "links": [ + [ + "18a3e2a4-4767-4bdc-aa1d-483b4e33efb2", + "d8ea1bf0-1148-4d78-a797-7d57bf36786a", + 0, + "8425eb19-7e66-43e1-a8c7-f4d215ace5b8", + 0, + "*" + ], + [ + "25cedd82-9571-41f1-95a6-345c1012ec35", + "36315f44-7341-45d5-8927-4fbe39a7b3cc", + 0, + "8425eb19-7e66-43e1-a8c7-f4d215ace5b8", + 1, + "*" + ], + [ + "3938ae23-64ef-45ce-885b-31185f76bfca", + "d36165ef-188c-4a4c-9bb1-971ce04cec6f", + 0, + "8425eb19-7e66-43e1-a8c7-f4d215ace5b8", + 2, + -1 + ], + [ + "e927080f-9778-4f8c-987c-75b19a30c4af", + "8425eb19-7e66-43e1-a8c7-f4d215ace5b8", + 1, + "36315f44-7341-45d5-8927-4fbe39a7b3cc", + 0, + -1 + ], + [ + "98719918-3d33-48b2-9010-cc8e748146e6", + "8425eb19-7e66-43e1-a8c7-f4d215ace5b8", + 0, + "d8ea1bf0-1148-4d78-a797-7d57bf36786a", + 0, + -1 + ], + [ + "b3024d91-648c-4d81-9b3b-c3ad5c45cd87", + "d8ea1bf0-1148-4d78-a797-7d57bf36786a", + 0, + "c9aec526-28b9-4f7c-b3f5-16679af8e329", + 0, + "number" + ], + [ + "81c514f3-a476-401b-9236-cebf09af65c9", + "36315f44-7341-45d5-8927-4fbe39a7b3cc", + 0, + "0c240656-de95-44c4-99ad-d071912e2669", + 0, + "number" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "18428189-e387-4034-a8da-333e88da29f6", + "type": "graph/subgraph", + "pos": [ + -69.96356572265645, + 667.2719379394531 + ], + "size": [ + 200, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 36, + "mode": 2, + "inputs": [ + { + "name": "width", + "type": "number", + "link": "00442883-6157-4ad7-ab50-81cf96f96c31", + "properties": {}, + "slot_index": 0 + }, + { + "name": "height", + "type": "number", + "link": "27982f07-e18c-4eac-99cb-cbd29e1ebb83", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "width", + "type": "number", + "links": [ + "fa009346-1bb8-4ed9-a505-ebdc9ea803e1" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "height", + "type": "number", + "links": [ + "831bc76d-0920-4215-8161-3bdf035f5fb2" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "Scale By Slider", + "properties": { + "enabled": true, + "tags": [ + "img2img", + "img2imgScaleSize" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "136e6181-4d24-4224-a956-812bf021d46d", + "type": "graph/input", + "pos": [ + 408.0700000000001, + 403.89 + ], + "size": [ + 210, + 86 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "a511c62f-d680-4c56-b3c1-d82945cee862" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "height", + "type": "number", + "value": 0, + "subgraphID": "18428189-e387-4034-a8da-333e88da29f6", + "tags": [] + } + }, + { + "id": "1a61ef88-92d0-4ebf-a2c8-c05f538ad8fd", + "type": "math/operation", + "pos": [ + 884, + 402 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "number,array,object", + "link": "a511c62f-d680-4c56-b3c1-d82945cee862", + "properties": {}, + "slot_index": 0 + }, + { + "name": "B", + "type": "number", + "link": "58135e31-98b2-4d6b-8c54-4742a11d2c0f", + "properties": {} + } + ], + "outputs": [ + { + "name": "=", + "type": "number", + "links": [ + "b04786a1-13d1-48b4-85bf-65f19c75084c" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Operation", + "properties": { + "A": 0, + "B": 1.25, + "OP": "*", + "tags": [] + } + }, + { + "id": "605ebc25-3cfb-4b15-beca-cbe8750fab86", + "type": "math/operation", + "pos": [ + 881, + 329 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "number,array,object", + "link": "7ea42a09-cdfb-4bb0-b590-053284a5cbe3", + "properties": {}, + "slot_index": 0 + }, + { + "name": "B", + "type": "number", + "link": "bd46bc61-44e2-4a93-9603-a91daa6d90fe", + "properties": {} + } + ], + "outputs": [ + { + "name": "=", + "type": "number", + "links": [ + "25e369c1-0d83-4321-a97a-fb85d9271b18" + ], + "properties": {} + } + ], + "title": "Operation", + "properties": { + "A": 0, + "B": 1.25, + "OP": "*", + "tags": [] + } + }, + { + "id": "7059ce4d-6526-430f-aceb-f8d81b93bbd2", + "type": "math/floor", + "pos": [ + 966, + 405 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "number", + "link": "b04786a1-13d1-48b4-85bf-65f19c75084c", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": "number", + "links": [ + "3042fbc4-2d8d-421e-a33d-01f2ac569e3f", + "14cfc1a9-1abb-4baf-8374-9c7f196fdae8" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Floor", + "properties": { + "tags": [] + } + }, + { + "id": "d4c21ed8-df1f-458a-8716-b2cdf3f8166c", + "type": "math/floor", + "pos": [ + 967, + 331 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "number", + "link": "25e369c1-0d83-4321-a97a-fb85d9271b18", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": "number", + "links": [ + "851b0e53-f9fb-4eec-81a6-e79f2c5fd080", + "7cbde9b6-8890-45c8-b3e9-6318a76331de" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Floor", + "properties": { + "tags": [] + } + }, + { + "id": "2ef62e0e-e061-44fc-b92e-a053a882423f", + "type": "graph/output", + "pos": [ + 1220, + 378 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "14cfc1a9-1abb-4baf-8374-9c7f196fdae8", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "height", + "type": "number", + "subgraphID": "18428189-e387-4034-a8da-333e88da29f6", + "tags": [] + } + }, + { + "id": "aa88e2b1-2faf-4971-9421-6276b5892067", + "type": "graph/output", + "pos": [ + 1222, + 277 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "7cbde9b6-8890-45c8-b3e9-6318a76331de", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "width", + "type": "number", + "subgraphID": "18428189-e387-4034-a8da-333e88da29f6", + "tags": [] + } + }, + { + "id": "31eda029-17af-4a5f-8afb-77664a0a339e", + "type": "graph/input", + "pos": [ + 410, + 278 + ], + "size": [ + 210, + 86 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "7ea42a09-cdfb-4bb0-b590-053284a5cbe3" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "width", + "type": "number", + "value": 0, + "subgraphID": "18428189-e387-4034-a8da-333e88da29f6", + "tags": [] + } + }, + { + "id": "4f97b299-282f-4198-bb70-42ce83ce71c2", + "type": "ui/number", + "pos": [ + 680, + 370 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "bd46bc61-44e2-4a93-9603-a91daa6d90fe", + "58135e31-98b2-4d6b-8c54-4742a11d2c0f" + ], + "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": [ + "img2img", + "img2imgScaleSize" + ], + "defaultValue": 0, + "min": 1, + "max": 4, + "step": 0.05, + "precision": 1 + }, + "widgets_values": [ + "1.250" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 1.25, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "f876126a-3d22-4fb0-b6d2-b6e955df1585", + "type": "string/toString", + "pos": [ + 1005, + 235 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "", + "link": "851b0e53-f9fb-4eec-81a6-e79f2c5fd080", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": "string", + "links": [ + "8fa77e0a-bd27-4cd0-a7c0-e34154a814af" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "ToString", + "properties": { + "tags": [] + } + }, + { + "id": "66c98a78-d9a2-47de-99ec-053995a254f0", + "type": "string/toString", + "pos": [ + 1020, + 473 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "", + "link": "3042fbc4-2d8d-421e-a33d-01f2ac569e3f", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": "string", + "links": [ + "ab27c7bf-64f5-47fc-abf3-408e2b2ac58c" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "ToString", + "properties": { + "tags": [] + } + }, + { + "id": "b54a1fc0-44e9-461c-b743-62e9f651db12", + "type": "ui/text", + "pos": [ + 1128, + 473 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "string", + "link": "ab27c7bf-64f5-47fc-abf3-408e2b2ac58c", + "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": [], + "defaultValue": "", + "multiline": false + }, + "widgets_values": [ + "0" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "0", + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "53c0e65d-3f57-481b-b163-cc5aa48f1a85", + "type": "ui/text", + "pos": [ + 1108, + 233 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "string", + "link": "8fa77e0a-bd27-4cd0-a7c0-e34154a814af", + "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": [], + "defaultValue": "", + "multiline": false + }, + "widgets_values": [ + "0" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "0", + "shownOutputProperties": {}, + "saveUserState": true + } + ], + "links": [ + [ + "bd46bc61-44e2-4a93-9603-a91daa6d90fe", + "4f97b299-282f-4198-bb70-42ce83ce71c2", + 0, + "605ebc25-3cfb-4b15-beca-cbe8750fab86", + 1, + "number" + ], + [ + "58135e31-98b2-4d6b-8c54-4742a11d2c0f", + "4f97b299-282f-4198-bb70-42ce83ce71c2", + 0, + "1a61ef88-92d0-4ebf-a2c8-c05f538ad8fd", + 1, + "number" + ], + [ + "7ea42a09-cdfb-4bb0-b590-053284a5cbe3", + "31eda029-17af-4a5f-8afb-77664a0a339e", + 0, + "605ebc25-3cfb-4b15-beca-cbe8750fab86", + 0, + "number" + ], + [ + "a511c62f-d680-4c56-b3c1-d82945cee862", + "136e6181-4d24-4224-a956-812bf021d46d", + 0, + "1a61ef88-92d0-4ebf-a2c8-c05f538ad8fd", + 0, + "number" + ], + [ + "b04786a1-13d1-48b4-85bf-65f19c75084c", + "1a61ef88-92d0-4ebf-a2c8-c05f538ad8fd", + 0, + "7059ce4d-6526-430f-aceb-f8d81b93bbd2", + 0, + "number" + ], + [ + "25e369c1-0d83-4321-a97a-fb85d9271b18", + "605ebc25-3cfb-4b15-beca-cbe8750fab86", + 0, + "d4c21ed8-df1f-458a-8716-b2cdf3f8166c", + 0, + "number" + ], + [ + "851b0e53-f9fb-4eec-81a6-e79f2c5fd080", + "d4c21ed8-df1f-458a-8716-b2cdf3f8166c", + 0, + "f876126a-3d22-4fb0-b6d2-b6e955df1585", + 0, + "number" + ], + [ + "3042fbc4-2d8d-421e-a33d-01f2ac569e3f", + "7059ce4d-6526-430f-aceb-f8d81b93bbd2", + 0, + "66c98a78-d9a2-47de-99ec-053995a254f0", + 0, + "number" + ], + [ + "14cfc1a9-1abb-4baf-8374-9c7f196fdae8", + "7059ce4d-6526-430f-aceb-f8d81b93bbd2", + 0, + "2ef62e0e-e061-44fc-b92e-a053a882423f", + 0, + "number" + ], + [ + "7cbde9b6-8890-45c8-b3e9-6318a76331de", + "d4c21ed8-df1f-458a-8716-b2cdf3f8166c", + 0, + "aa88e2b1-2faf-4971-9421-6276b5892067", + 0, + "number" + ], + [ + "8fa77e0a-bd27-4cd0-a7c0-e34154a814af", + "f876126a-3d22-4fb0-b6d2-b6e955df1585", + 0, + "53c0e65d-3f57-481b-b163-cc5aa48f1a85", + 0, + "string" + ], + [ + "ab27c7bf-64f5-47fc-abf3-408e2b2ac58c", + "66c98a78-d9a2-47de-99ec-053995a254f0", + 0, + "b54a1fc0-44e9-461c-b743-62e9f651db12", + 0, + "string" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "df255364-4b43-4ae9-8a0a-8943a1a7f398", + "type": "utils/pick_first", + "pos": [ + 90.03643427734352, + 702.2719379394531 + ], + "size": [ + 210, + 122 + ], + "flags": { + "collapsed": true + }, + "order": 43, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "831bc76d-0920-4215-8161-3bdf035f5fb2", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "c1a3ed6b-aced-418b-b46c-b8accae3a00d", + "properties": {} + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + "59ac014a-6bff-443f-a4a7-33fd3b51cc68" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [], + "mode": "dataNonNull" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "774e27a2-ca48-4fe6-9e2a-c22ff544da7f", + "type": "graph/subgraph", + "pos": [ + 38.86092811281031, + 302.7037575461652 + ], + "size": [ + 200, + 50 + ], + "flags": { + "collapsed": true, + "pinned": false + }, + "order": 14, "mode": 0, "inputs": [], "outputs": [ @@ -2127,6 +3760,8 @@ "txt2img" ] }, + "color": "#2a363b", + "bgColor": "#3f5159", "subgraph": { "last_node_id": 0, "last_link_id": 0, @@ -2577,3309 +4212,19 @@ "version": 10 } }, - { - "id": "2d5fb9b4-1a72-484e-9808-4db9facfcf28", - "type": "LoadImage", - "pos": [ - 25.707600000000046, - 390.5462999999997 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 33, - "mode": 2, - "inputs": [ - { - "name": "image", - "type": "string", - "link": "5a796a62-0bd1-4f1e-b7f5-9888e79e40f0", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - "8cec9dcf-4930-4333-927b-1fadf75bd17a" - ], - "properties": {}, - "shape": 3, - "slot_index": 0 - }, - { - "name": "MASK", - "type": "MASK", - "links": [], - "properties": {}, - "shape": 3 - } - ], - "title": "Load Image", - "properties": { - "tags": [ - "img2img", - "gen" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "4d0c38bb-4279-4ce1-82eb-c6780de81e82", - "type": "utils/pick_first", - "pos": [ - 540, - 296 - ], - "size": [ - 210, - 122 - ], - "flags": { - "collapsed": true - }, - "order": 25, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "af10a80f-353a-4106-b66a-73840ed72cc3", - "properties": {} - }, - { - "name": "B", - "type": "*", - "link": "e7192707-dbc7-4255-bd69-2953e500f7f6", - "properties": {}, - "slot_index": 1 - }, - { - "name": "C", - "type": "*", - "link": null, - "properties": {} - } - ], - "outputs": [ - { - "name": "", - "type": "*", - "links": [ - "2516f465-9425-4bc5-aa86-7461b4fefdc4" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [ - "gen" - ], - "mode": "dataNonNull" - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "c7623ffd-2ce4-4164-9a5b-721d7670630f", - "type": "string/template", - "pos": [ - -499.5247542496602, - -709.484740469718 - ], - "size": [ - 210, - 98 - ], - "flags": {}, - "order": 31, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "string,array", - "link": "defc4343-6c6c-44af-9fda-93f2e3ae649f", - "properties": {}, - "slot_index": 0 - }, - { - "name": "", - "type": "string", - "link": null, - "properties": {} - }, - { - "name": "update", - "type": -1, - "link": "5df95237-f3b0-4528-add7-f051535e13e0", - "properties": {}, - "shape": 1, - "slot_index": 2 - } - ], - "outputs": [ - { - "name": "out", - "type": "string", - "links": [ - "9dc3b1fb-cb7c-4166-b230-f6a2a779323b" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Template", - "properties": { - "template": "Queue $1", - "stringQuote": "", - "tags": [] - } - }, - { - "id": "756b6825-8f4e-42a8-a967-260878d2ce1a", - "type": "events/trigger", - "pos": [ - -245.37569999999974, - -704.6514 - ], - "size": [ - 140, - 66 - ], - "flags": {}, - "order": 38, - "mode": 0, - "inputs": [ - { - "name": "if", - "type": "", - "link": "9dc3b1fb-cb7c-4166-b230-f6a2a779323b", - "properties": {}, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - }, - { - "name": "change", - "type": -2, - "links": [ - "ce8a67c5-0ee4-45ba-bb4d-5df263a98509" - ], - "properties": {}, - "shape": 1 - }, - { - "name": "false", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - } - ], - "title": "Trigger Event", - "properties": { - "onlyOnChange": true, - "tags": [] - } - }, - { - "id": "0c1af43a-61de-40f0-907a-67e07445cde1", - "type": "workflow/configure_queue_prompt_button", - "pos": [ - -268.3756999999998, - -765.6514 - ], - "size": [ - 268.8, - 26 - ], - "flags": {}, - "order": 45, - "mode": 0, - "inputs": [ - { - "name": "config", - "type": -1, - "link": "ce8a67c5-0ee4-45ba-bb4d-5df263a98509", - "properties": {}, - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [], - "title": "Comfy.ConfigureQueuePromptButton", - "properties": { - "tags": [] - } - }, - { - "id": "2ab2332e-be3c-4465-bb6a-ac7488a1bf96", - "type": "actions/set_node_mode_advanced", - "pos": [ - -561.3756999999997, - -567.6514 - ], - "size": [ - 260.4, - 102 - ], - "flags": {}, - "order": 36, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": null, - "properties": {} - }, - { - "name": "set", - "type": -1, - "link": "d7012752-b1c9-43e3-a1e2-f31ea93cd3f5", - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAdvancedAction", - "properties": { - "targetTags": [ - { - "tag": "txt2img", - "enable": true - }, - { - "tag": "img2img", - "enable": false - } - ], - "enable": true, - "tags": [] - }, - "boxcolor": "#666", - "saveUserState": true - }, - { - "id": "9e64edd9-3ad5-458c-a10a-78d54edb06ee", - "type": "events/filter", - "pos": [ - -822.5333499999997, - -577.6282099999995 - ], - "size": [ - 210, - 150 - ], - "flags": {}, - "order": 30, - "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": [ - -800.5333499999998, - -375.62821000000037 - ], - "size": [ - 210, - 150 - ], - "flags": {}, - "order": 37, - "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": "f4238800-87bc-4def-ae8d-e8af2fab2479", - "type": "actions/set_node_mode_advanced", - "pos": [ - -566.3756999999997, - -395.65140000000025 - ], - "size": [ - 260.4, - 102 - ], - "flags": {}, - "order": 43, - "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": "ca444b59-667e-44d0-98ce-63a9dfe2f7e8", - "type": "basic/boolean", - "pos": [ - -666.9356999999998, - -181.68140000000002 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 10, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "bool", - "type": "boolean", - "links": [ - "08728079-7728-4247-9b6d-2641cd90ff43" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Const Boolean", - "properties": { - "value": false, - "tags": [] - } - }, - { - "id": "f4ffe234-d4ff-4598-a9aa-3cc88f2a134c", - "type": "events/no_change", - "pos": [ - -343.3756999999998, - -198.6514 - ], - "size": [ - 159.6, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 48, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "06a1d902-e945-461a-9c26-83db2922e59f", - "properties": {}, - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "9b5df263-6f17-4a34-8d0e-f807bd995abb" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.NoChangeEvent", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "c6a16ab9-6816-4262-8b8c-8a4d3285d190", - "type": "ui/checkbox", - "pos": [ - -274.3756999999998, - -387.65140000000025 - ], - "size": [ - 210, - 78 - ], - "flags": {}, - "order": 52, - "mode": 2, - "inputs": [ - { - "name": "store", - "type": -1, - "link": "9b5df263-6f17-4a34-8d0e-f807bd995abb", - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "boolean", - "links": [], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [ - "39c90eac-3e03-4b53-b695-71efd17e430b" - ], - "properties": {}, - "shape": 1 - } - ], - "title": "UI.Checkbox", - "properties": { - "tags": [ - "img2img" - ], - "defaultValue": false - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "3adcd800-59b3-4408-8985-095b695f77c2", - "type": "events/filter", - "pos": [ - 1.6243000000001797, - -524.6514000000002 - ], - "size": [ - 210, - 150 - ], - "flags": {}, - "order": 56, - "mode": 0, - "inputs": [ - { - "name": "event", - "type": -1, - "link": "39c90eac-3e03-4b53-b695-71efd17e430b", - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "compare_value", - "type": "*", - "link": "626ee0c9-cffe-4752-8c52-5d2eb29809a5", - "properties": {}, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "accept", - "type": -2, - "links": [ - "2b56a2bd-31af-4743-a9e3-008af6dda159" - ], - "properties": {}, - "shape": 1 - }, - { - "name": "reject", - "type": -2, - "links": [ - "cdae4dea-03d6-4ac4-b372-42fbb74fd507" - ], - "properties": {}, - "shape": 1 - } - ], - "title": "Filter Event", - "properties": { - "compareValue": true, - "propertyName": "", - "mode": "param", - "operation": "==", - "tags": [] - } - }, - { - "id": "2125eaed-c018-40f9-8493-dffa713c4cc2", - "type": "basic/boolean", - "pos": [ - -87.37569999999991, - -479.65140000000014 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 11, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "bool", - "type": "boolean", - "links": [ - "626ee0c9-cffe-4752-8c52-5d2eb29809a5" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Const Boolean", - "properties": { - "value": true, - "tags": [] - } - }, - { - "id": "e9edfe61-2ce1-4546-b90b-bd854e88eda5", - "type": "actions/set_node_mode_advanced", - "pos": [ - -26.375699999999817, - -330.65140000000025 - ], - "size": [ - 260.4, - 102 - ], - "flags": {}, - "order": 58, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": null, - "properties": {} - }, - { - "name": "set", - "type": -1, - "link": "2b56a2bd-31af-4743-a9e3-008af6dda159", - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAdvancedAction", - "properties": { - "targetTags": [ - { - "tag": "img2imgScaleSize", - "enable": true - }, - { - "tag": "img2imgPixelSize", - "enable": false - } - ], - "enable": true, - "tags": [] - }, - "boxcolor": "#666", - "saveUserState": true - }, - { - "id": "7cdfa3c9-b3b9-4c77-989c-887fa6ef8983", - "type": "utils/pick_first", - "pos": [ - 321.70759999999933, - 505.54629999999963 - ], - "size": [ - 210, - 122 - ], - "flags": { - "collapsed": true - }, - "order": 41, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "fa009346-1bb8-4ed9-a505-ebdc9ea803e1", - "properties": {} - }, - { - "name": "B", - "type": "*", - "link": "2e83c712-977d-4b9e-8f17-a38faaed2e52", - "properties": {} - }, - { - "name": "C", - "type": "*", - "link": null, - "properties": {} - } - ], - "outputs": [ - { - "name": "", - "type": "*", - "links": [ - "97b1e4d5-1b79-49cd-a5ac-9d92db536467" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [], - "mode": "dataNonNull" - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "df255364-4b43-4ae9-8a0a-8943a1a7f398", - "type": "utils/pick_first", - "pos": [ - 295.9614999999994, - 605.2872 - ], - "size": [ - 210, - 122 - ], - "flags": { - "collapsed": true - }, - "order": 42, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "831bc76d-0920-4215-8161-3bdf035f5fb2", - "properties": {} - }, - { - "name": "B", - "type": "*", - "link": "c1a3ed6b-aced-418b-b46c-b8accae3a00d", - "properties": {} - }, - { - "name": "C", - "type": "*", - "link": null, - "properties": {} - } - ], - "outputs": [ - { - "name": "", - "type": "*", - "links": [ - "59ac014a-6bff-443f-a4a7-33fd3b51cc68" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [], - "mode": "dataNonNull" - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "18428189-e387-4034-a8da-333e88da29f6", - "type": "graph/subgraph", - "pos": [ - 137.70760000000007, - 526.5462999999995 - ], - "size": [ - 200, - 50 - ], - "flags": { - "collapsed": true - }, - "order": 35, - "mode": 2, - "inputs": [ - { - "name": "width", - "type": "number", - "link": "00442883-6157-4ad7-ab50-81cf96f96c31", - "properties": {}, - "slot_index": 0 - }, - { - "name": "height", - "type": "number", - "link": "27982f07-e18c-4eac-99cb-cbd29e1ebb83", - "properties": {}, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "width", - "type": "number", - "links": [ - "fa009346-1bb8-4ed9-a505-ebdc9ea803e1" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "height", - "type": "number", - "links": [ - "831bc76d-0920-4215-8161-3bdf035f5fb2" - ], - "properties": {}, - "slot_index": 1 - } - ], - "title": "Scale By Slider", - "properties": { - "enabled": true, - "tags": [ - "img2img", - "img2imgScaleSize" - ] - }, - "subgraph": { - "last_node_id": 0, - "last_link_id": 0, - "nodes": [ - { - "id": "136e6181-4d24-4224-a956-812bf021d46d", - "type": "graph/input", - "pos": [ - 408.0700000000001, - 403.89 - ], - "size": [ - 210, - 86 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "number", - "links": [ - "a511c62f-d680-4c56-b3c1-d82945cee862" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "height", - "type": "number", - "value": 0, - "subgraphID": "18428189-e387-4034-a8da-333e88da29f6", - "tags": [] - } - }, - { - "id": "1a61ef88-92d0-4ebf-a2c8-c05f538ad8fd", - "type": "math/operation", - "pos": [ - 884, - 402 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "number,array,object", - "link": "a511c62f-d680-4c56-b3c1-d82945cee862", - "properties": {}, - "slot_index": 0 - }, - { - "name": "B", - "type": "number", - "link": "58135e31-98b2-4d6b-8c54-4742a11d2c0f", - "properties": {} - } - ], - "outputs": [ - { - "name": "=", - "type": "number", - "links": [ - "b04786a1-13d1-48b4-85bf-65f19c75084c" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Operation", - "properties": { - "A": 913, - "B": 1.4, - "OP": "*", - "tags": [] - } - }, - { - "id": "605ebc25-3cfb-4b15-beca-cbe8750fab86", - "type": "math/operation", - "pos": [ - 881, - 329 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "number,array,object", - "link": "7ea42a09-cdfb-4bb0-b590-053284a5cbe3", - "properties": {}, - "slot_index": 0 - }, - { - "name": "B", - "type": "number", - "link": "bd46bc61-44e2-4a93-9603-a91daa6d90fe", - "properties": {} - } - ], - "outputs": [ - { - "name": "=", - "type": "number", - "links": [ - "25e369c1-0d83-4321-a97a-fb85d9271b18" - ], - "properties": {} - } - ], - "title": "Operation", - "properties": { - "A": 637, - "B": 1.4, - "OP": "*", - "tags": [] - } - }, - { - "id": "7059ce4d-6526-430f-aceb-f8d81b93bbd2", - "type": "math/floor", - "pos": [ - 966, - 405 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "number", - "link": "b04786a1-13d1-48b4-85bf-65f19c75084c", - "properties": {}, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": "number", - "links": [ - "3042fbc4-2d8d-421e-a33d-01f2ac569e3f", - "14cfc1a9-1abb-4baf-8374-9c7f196fdae8" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Floor", - "properties": { - "tags": [] - } - }, - { - "id": "d4c21ed8-df1f-458a-8716-b2cdf3f8166c", - "type": "math/floor", - "pos": [ - 967, - 331 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "number", - "link": "25e369c1-0d83-4321-a97a-fb85d9271b18", - "properties": {}, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": "number", - "links": [ - "851b0e53-f9fb-4eec-81a6-e79f2c5fd080", - "7cbde9b6-8890-45c8-b3e9-6318a76331de" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Floor", - "properties": { - "tags": [] - } - }, - { - "id": "2ef62e0e-e061-44fc-b92e-a053a882423f", - "type": "graph/output", - "pos": [ - 1220, - 378 - ], - "size": [ - 210, - 62 - ], - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "number", - "link": "14cfc1a9-1abb-4baf-8374-9c7f196fdae8", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "height", - "type": "number", - "subgraphID": "18428189-e387-4034-a8da-333e88da29f6", - "tags": [] - } - }, - { - "id": "aa88e2b1-2faf-4971-9421-6276b5892067", - "type": "graph/output", - "pos": [ - 1222, - 277 - ], - "size": [ - 210, - 62 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "number", - "link": "7cbde9b6-8890-45c8-b3e9-6318a76331de", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "width", - "type": "number", - "subgraphID": "18428189-e387-4034-a8da-333e88da29f6", - "tags": [] - } - }, - { - "id": "31eda029-17af-4a5f-8afb-77664a0a339e", - "type": "graph/input", - "pos": [ - 410, - 278 - ], - "size": [ - 210, - 86 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "number", - "links": [ - "7ea42a09-cdfb-4bb0-b590-053284a5cbe3" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "width", - "type": "number", - "value": 0, - "subgraphID": "18428189-e387-4034-a8da-333e88da29f6", - "tags": [] - } - }, - { - "id": "4f97b299-282f-4198-bb70-42ce83ce71c2", - "type": "ui/number", - "pos": [ - 680, - 370 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 2, - "mode": 2, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "bd46bc61-44e2-4a93-9603-a91daa6d90fe", - "58135e31-98b2-4d6b-8c54-4742a11d2c0f" - ], - "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": [ - "img2img", - "img2imgScaleSize" - ], - "defaultValue": 0, - "min": 1, - "max": 4, - "step": 0.05, - "precision": 1 - }, - "widgets_values": [ - "1.400" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 1.4, - "shownOutputProperties": { - "min": { - "type": "number", - "outputName": "@min" - }, - "max": { - "type": "number", - "outputName": "@max" - }, - "step": { - "type": "number", - "outputName": "@step" - }, - "precision": { - "type": "number", - "outputName": "@precision" - } - }, - "saveUserState": true - }, - { - "id": "f876126a-3d22-4fb0-b6d2-b6e955df1585", - "type": "string/toString", - "pos": [ - 1005, - 235 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "", - "link": "851b0e53-f9fb-4eec-81a6-e79f2c5fd080", - "properties": {}, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": "string", - "links": [ - "8fa77e0a-bd27-4cd0-a7c0-e34154a814af" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "ToString", - "properties": { - "tags": [] - } - }, - { - "id": "66c98a78-d9a2-47de-99ec-053995a254f0", - "type": "string/toString", - "pos": [ - 1020, - 473 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "", - "link": "3042fbc4-2d8d-421e-a33d-01f2ac569e3f", - "properties": {}, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": "string", - "links": [ - "ab27c7bf-64f5-47fc-abf3-408e2b2ac58c" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "ToString", - "properties": { - "tags": [] - } - }, - { - "id": "b54a1fc0-44e9-461c-b743-62e9f651db12", - "type": "ui/text", - "pos": [ - 1128, - 473 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 12, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "string", - "link": "ab27c7bf-64f5-47fc-abf3-408e2b2ac58c", - "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": [], - "defaultValue": "", - "multiline": false - }, - "widgets_values": [ - "1278" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "1278", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "53c0e65d-3f57-481b-b163-cc5aa48f1a85", - "type": "ui/text", - "pos": [ - 1108, - 233 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "string", - "link": "8fa77e0a-bd27-4cd0-a7c0-e34154a814af", - "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": [], - "defaultValue": "", - "multiline": false - }, - "widgets_values": [ - "891" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "891", - "shownOutputProperties": {}, - "saveUserState": true - } - ], - "links": [ - [ - "bd46bc61-44e2-4a93-9603-a91daa6d90fe", - "4f97b299-282f-4198-bb70-42ce83ce71c2", - 0, - "605ebc25-3cfb-4b15-beca-cbe8750fab86", - 1, - "number" - ], - [ - "58135e31-98b2-4d6b-8c54-4742a11d2c0f", - "4f97b299-282f-4198-bb70-42ce83ce71c2", - 0, - "1a61ef88-92d0-4ebf-a2c8-c05f538ad8fd", - 1, - "number" - ], - [ - "7ea42a09-cdfb-4bb0-b590-053284a5cbe3", - "31eda029-17af-4a5f-8afb-77664a0a339e", - 0, - "605ebc25-3cfb-4b15-beca-cbe8750fab86", - 0, - "number" - ], - [ - "a511c62f-d680-4c56-b3c1-d82945cee862", - "136e6181-4d24-4224-a956-812bf021d46d", - 0, - "1a61ef88-92d0-4ebf-a2c8-c05f538ad8fd", - 0, - "number" - ], - [ - "b04786a1-13d1-48b4-85bf-65f19c75084c", - "1a61ef88-92d0-4ebf-a2c8-c05f538ad8fd", - 0, - "7059ce4d-6526-430f-aceb-f8d81b93bbd2", - 0, - "number" - ], - [ - "25e369c1-0d83-4321-a97a-fb85d9271b18", - "605ebc25-3cfb-4b15-beca-cbe8750fab86", - 0, - "d4c21ed8-df1f-458a-8716-b2cdf3f8166c", - 0, - "number" - ], - [ - "851b0e53-f9fb-4eec-81a6-e79f2c5fd080", - "d4c21ed8-df1f-458a-8716-b2cdf3f8166c", - 0, - "f876126a-3d22-4fb0-b6d2-b6e955df1585", - 0, - "number" - ], - [ - "3042fbc4-2d8d-421e-a33d-01f2ac569e3f", - "7059ce4d-6526-430f-aceb-f8d81b93bbd2", - 0, - "66c98a78-d9a2-47de-99ec-053995a254f0", - 0, - "number" - ], - [ - "14cfc1a9-1abb-4baf-8374-9c7f196fdae8", - "7059ce4d-6526-430f-aceb-f8d81b93bbd2", - 0, - "2ef62e0e-e061-44fc-b92e-a053a882423f", - 0, - "number" - ], - [ - "7cbde9b6-8890-45c8-b3e9-6318a76331de", - "d4c21ed8-df1f-458a-8716-b2cdf3f8166c", - 0, - "aa88e2b1-2faf-4971-9421-6276b5892067", - 0, - "number" - ], - [ - "8fa77e0a-bd27-4cd0-a7c0-e34154a814af", - "f876126a-3d22-4fb0-b6d2-b6e955df1585", - 0, - "53c0e65d-3f57-481b-b163-cc5aa48f1a85", - 0, - "string" - ], - [ - "ab27c7bf-64f5-47fc-abf3-408e2b2ac58c", - "66c98a78-d9a2-47de-99ec-053995a254f0", - 0, - "b54a1fc0-44e9-461c-b743-62e9f651db12", - 0, - "string" - ] - ], - "groups": [], - "config": {}, - "extra": {}, - "version": 10 - } - }, - { - "id": "5c624567-93f1-46d5-a105-91a4d746e0b2", - "type": "graph/subgraph", - "pos": [ - 112.96150000000006, - 644.2871999999999 - ], - "size": [ - 200, - 50 - ], - "flags": { - "collapsed": true - }, - "order": 12, - "mode": 2, - "inputs": [], - "outputs": [ - { - "name": "width", - "type": "number", - "links": [ - "2e83c712-977d-4b9e-8f17-a38faaed2e52" - ], - "properties": {} - }, - { - "name": "height", - "type": "number", - "links": [ - "c1a3ed6b-aced-418b-b46c-b8accae3a00d" - ], - "properties": {} - } - ], - "title": "Dim. Sliders", - "properties": { - "enabled": true, - "tags": [ - "img2img", - "img2imgPixelSize" - ] - }, - "subgraph": { - "last_node_id": 0, - "last_link_id": 0, - "nodes": [ - { - "id": "c9aec526-28b9-4f7c-b3f5-16679af8e329", - "type": "graph/output", - "pos": [ - 410, - -31 - ], - "size": [ - 210, - 62 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "number", - "link": "b3024d91-648c-4d81-9b3b-c3ad5c45cd87", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "width", - "type": "number", - "subgraphID": "5c624567-93f1-46d5-a105-91a4d746e0b2", - "tags": [] - } - }, - { - "id": "0c240656-de95-44c4-99ad-d071912e2669", - "type": "graph/output", - "pos": [ - 410, - 51 - ], - "size": [ - 210, - 62 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "number", - "link": "81c514f3-a476-401b-9236-cebf09af65c9", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "height", - "type": "number", - "subgraphID": "5c624567-93f1-46d5-a105-91a4d746e0b2", - "tags": [] - } - }, - { - "id": "8425eb19-7e66-43e1-a8c7-f4d215ace5b8", - "type": "actions/swap", - "pos": [ - 200, - -3 - ], - "size": [ - 140, - 66 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "18a3e2a4-4767-4bdc-aa1d-483b4e33efb2", - "properties": {} - }, - { - "name": "B", - "type": "*", - "link": "25cedd82-9571-41f1-95a6-345c1012ec35", - "properties": {} - }, - { - "name": "swap", - "type": -1, - "link": "3938ae23-64ef-45ce-885b-31185f76bfca", - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "B", - "type": -2, - "links": [ - "98719918-3d33-48b2-9010-cc8e748146e6" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "A", - "type": -2, - "links": [ - "e927080f-9778-4f8c-987c-75b19a30c4af" - ], - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "title": "Comfy.SwapAction", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "d8ea1bf0-1148-4d78-a797-7d57bf36786a", - "type": "ui/number", - "pos": [ - 47, - 16 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 5, - "mode": 2, - "inputs": [ - { - "name": "store", - "type": -1, - "link": "98719918-3d33-48b2-9010-cc8e748146e6", - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "18a3e2a4-4767-4bdc-aa1d-483b4e33efb2", - "b3024d91-648c-4d81-9b3b-c3ad5c45cd87" - ], - "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": [ - "img2img", - "img2imgPixelSize" - ], - "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": "36315f44-7341-45d5-8927-4fbe39a7b3cc", - "type": "ui/number", - "pos": [ - 45, - 49 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 2, - "mode": 2, - "inputs": [ - { - "name": "store", - "type": -1, - "link": "e927080f-9778-4f8c-987c-75b19a30c4af", - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "25cedd82-9571-41f1-95a6-345c1012ec35", - "81c514f3-a476-401b-9236-cebf09af65c9" - ], - "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": [ - "img2img", - "img2imgPixelSize" - ], - "defaultValue": 512, - "min": 64, - "max": 2048, - "step": 64, - "precision": 0 - }, - "widgets_values": [ - "2048.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 2048, - "shownOutputProperties": { - "min": { - "type": "number", - "outputName": "@min" - }, - "max": { - "type": "number", - "outputName": "@max" - }, - "step": { - "type": "number", - "outputName": "@step" - }, - "precision": { - "type": "number", - "outputName": "@precision" - } - }, - "saveUserState": true - }, - { - "id": "d36165ef-188c-4a4c-9bb1-971ce04cec6f", - "type": "ui/button", - "pos": [ - 28, - 85 - ], - "size": [ - 210, - 58 - ], - "flags": { - "collapsed": true - }, - "order": 0, - "mode": 2, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "3938ae23-64ef-45ce-885b-31185f76bfca" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - } - ], - "title": "UI.Button", - "properties": { - "tags": [ - "img2img", - "img2imgPixelSize" - ], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - } - ], - "links": [ - [ - "18a3e2a4-4767-4bdc-aa1d-483b4e33efb2", - "d8ea1bf0-1148-4d78-a797-7d57bf36786a", - 0, - "8425eb19-7e66-43e1-a8c7-f4d215ace5b8", - 0, - "*" - ], - [ - "25cedd82-9571-41f1-95a6-345c1012ec35", - "36315f44-7341-45d5-8927-4fbe39a7b3cc", - 0, - "8425eb19-7e66-43e1-a8c7-f4d215ace5b8", - 1, - "*" - ], - [ - "3938ae23-64ef-45ce-885b-31185f76bfca", - "d36165ef-188c-4a4c-9bb1-971ce04cec6f", - 0, - "8425eb19-7e66-43e1-a8c7-f4d215ace5b8", - 2, - -1 - ], - [ - "e927080f-9778-4f8c-987c-75b19a30c4af", - "8425eb19-7e66-43e1-a8c7-f4d215ace5b8", - 1, - "36315f44-7341-45d5-8927-4fbe39a7b3cc", - 0, - -1 - ], - [ - "98719918-3d33-48b2-9010-cc8e748146e6", - "8425eb19-7e66-43e1-a8c7-f4d215ace5b8", - 0, - "d8ea1bf0-1148-4d78-a797-7d57bf36786a", - 0, - -1 - ], - [ - "b3024d91-648c-4d81-9b3b-c3ad5c45cd87", - "d8ea1bf0-1148-4d78-a797-7d57bf36786a", - 0, - "c9aec526-28b9-4f7c-b3f5-16679af8e329", - 0, - "number" - ], - [ - "81c514f3-a476-401b-9236-cebf09af65c9", - "36315f44-7341-45d5-8927-4fbe39a7b3cc", - 0, - "0c240656-de95-44c4-99ad-d071912e2669", - 0, - "number" - ] - ], - "groups": [], - "config": {}, - "extra": {}, - "version": 10 - } - }, - { - "id": "f94a0129-2e34-47c5-b9d4-ec372eda71b9", - "type": "events/trigger_new_event", - "pos": [ - -568.3756999999997, - -227.65140000000005 - ], - "size": [ - 210, - 78 - ], - "flags": {}, - "order": 44, - "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": "9b7a8bd0-9869-444c-98f5-b6eb7bf75c3a", - "type": "graph/input", - "pos": [ - -121, - 158 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 13, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "links": [ - "65e59e7e-cef1-4fae-a0ae-d7ba5c35f216" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "Negative", - "type": "string", - "value": "", - "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", - "tags": [] - } - }, - { - "id": "8c639133-9ba4-441e-8ea4-6de55bf7d6d2", - "type": "graph/input", - "pos": [ - -127, - 77 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 14, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "links": [ - "f3f7b285-8383-45eb-b9d7-b1d9852d37e7" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "Positive", - "type": "string", - "value": "", - "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", - "tags": [] - } - }, - { - "id": "a43917b1-40ac-44b7-9f86-d6cbbed6bdc0", - "type": "graph/input", - "pos": [ - 617, - 49 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 15, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "number", - "links": [ - "51729fc1-a711-4872-9023-5ff86ca558ba" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "seed", - "type": "number", - "value": 0, - "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", - "tags": [] - } - }, - { - "id": "6ea0158a-4954-4c25-86ea-93c250d09686", - "type": "graph/input", - "pos": [ - -218, - 135 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 16, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "CLIP", - "links": [ - "e0aabb47-f9ee-49b4-b98f-36cae9aa0381", - "287b22ad-e3e3-403a-bb01-447b70b9f185" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "clip", - "type": "CLIP", - "value": null, - "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", - "tags": [] - } - }, - { - "id": "1bb069bc-596c-4401-b943-0594b6ee6cd6", - "type": "graph/input", - "pos": [ - -7, - 307 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 17, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "", - "type": "number", - "links": [ - "0845f395-2403-4a78-b716-22960c83ddef" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "batch_size", - "type": "number", - "value": 0, - "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", - "tags": [] - } - }, - { - "id": "54804b59-f75e-49bf-b97a-3f5f6495841d", - "type": "image/pick_image", - "pos": [ - -343.9230000000001, - 346.0031000000001 - ], - "size": [ - 210, - 190 - ], - "flags": {}, - "order": 26, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "COMFYBOX_IMAGES", - "link": "bda9dcb6-b906-4dbb-902c-55f71aa67277", - "properties": {}, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "image", - "type": "COMFYBOX_IMAGE", - "links": [], - "properties": {} - }, - { - "name": "filename", - "type": "string", - "links": [ - "5a796a62-0bd1-4f1e-b7f5-9888e79e40f0" - ], - "properties": {}, - "slot_index": 1 - }, - { - "name": "width", - "type": "number", - "links": [ - "00442883-6157-4ad7-ab50-81cf96f96c31", - "d2c7876f-513e-4636-b4f8-93285ffebc25" - ], - "properties": {}, - "slot_index": 2 - }, - { - "name": "height", - "type": "number", - "links": [ - "27982f07-e18c-4eac-99cb-cbd29e1ebb83" - ], - "properties": {} - } - ], - "title": "Comfy.PickImage", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "9b6f3be8-b74f-49a4-85ab-b2bf6c91e8d9", - "type": "basic/integer", - "pos": [ - -1503.4687363636353, - -11.867360909090625 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 18, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "ee4e9a53-5e21-4748-a04a-0148209483b8" - ], - "properties": {}, - "label": "0", - "slot_index": 0 - } - ], - "title": "Const Integer", - "properties": { - "value": 0, - "tags": [] - } - }, - { - "id": "8cec9619-2b37-43ff-9914-b3865b40211d", - "type": "events/queue_events", - "pos": [ - -1332.4545454545446, - -179.72727272727263 - ], - "size": [ - 178, - 66 - ], - "flags": {}, - "order": 19, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "beforeQueued", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - }, - { - "name": "afterQueued", - "type": -2, - "links": [], - "properties": {}, - "shape": 1 - }, - { - "name": "onDefaultQueueAction", - "type": -2, - "links": [ - "cc21badd-7f4d-4a29-8589-9803c194598e" - ], - "properties": {}, - "shape": 1, - "slot_index": 2 - } - ], - "title": "Comfy.QueueEvents", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "a7b48551-2311-4830-8181-110f5b9035e5", - "type": "ui/radio", - "pos": [ - -823, - -735 - ], - "size": [ - 210, - 122 - ], - "flags": {}, - "order": 20, - "mode": 0, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "properties": {}, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "defc4343-6c6c-44af-9fda-93f2e3ae649f", - "cb24e437-7fe2-400a-b39c-2a0e8d0d0b7e" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "index", - "type": "number", - "links": [], - "properties": {} - }, - { - "name": "changed", - "type": -2, - "links": [ - "bf831a3d-9b67-4208-bb78-a32f95862e9f", - "5df95237-f3b0-4528-add7-f051535e13e0" - ], - "properties": {}, - "shape": 1, - "slot_index": 2 - } - ], - "title": "UI.Radio", - "properties": { - "tags": [], - "choices": [ - "txt2img", - "img2img" - ], - "defaultValue": "Choice A" - }, - "widgets_values": [ - "txt2img", - 0 - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "txt2img", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "def44ce3-6b61-4294-b0bd-abe3b7c6045a", - "type": "logic/AND", - "pos": [ - -1291.6363636363626, - -34.363636363636346 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 40, - "mode": 0, - "inputs": [ - { - "name": "a", - "type": "boolean", - "link": "e85e7aa8-51a3-449a-b4f1-621eeedcc1a4", - "properties": {}, - "slot_index": 0 - }, - { - "name": "b", - "type": "boolean", - "link": "769b8dec-a1ba-43d4-83d3-ed20049acc4d", - "properties": {}, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "641efbc6-f0e7-4c71-bd65-b02d0b0d8f87" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "AND", - "properties": { - "tags": [] - } - }, - { - "id": "2d3a49a0-eed8-4547-9f8c-a713c0234a76", - "type": "basic/string", - "pos": [ - -1530.0909090909072, - -66.99999999999997 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 21, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "24d5f780-5151-4908-9e4e-db1d00f52534" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "img2img", - "tags": [] - } - }, - { - "id": "5da91863-510c-4da9-bdb4-6b761987471f", - "type": "basic/watch", - "pos": [ - -1199.6363636363626, - -69.36363636363633 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 49, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": 0, - "link": "9b243d97-7931-4a56-8c14-71401dc8f19b", - "properties": {}, - "label": "true" - } - ], - "outputs": [], - "title": "Watch", - "properties": { - "value": 1, - "tags": [] - } - }, - { - "id": "139a785e-802e-48b3-b6dd-b6678dc3a969", - "type": "math/approx_eq", - "pos": [ - -1416.6363636363626, - -13.363636363636319 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 34, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "number", - "link": "d2c7876f-513e-4636-b4f8-93285ffebc25", - "properties": {} - }, - { - "name": "B", - "type": "number", - "link": "ee4e9a53-5e21-4748-a04a-0148209483b8", - "properties": {} - }, - { - "name": "epsilon", - "type": "number", - "link": null, - "properties": {} - } - ], - "outputs": [ - { - "name": "true", - "type": "boolean", - "links": [ - "769b8dec-a1ba-43d4-83d3-ed20049acc4d" - ], - "properties": {}, - "slot_index": 0 - }, - { - "name": "false", - "type": "boolean", - "links": [], - "properties": {} - } - ], - "title": "Approx. Eq", - "properties": { - "tags": [] - } - }, - { - "id": "ad7226d8-a707-4abd-ba61-9261b0c9a20d", - "type": "basic/CompareValues", - "pos": [ - -1397.6363636363626, - -65.36363636363633 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 32, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": 0, - "link": "cb24e437-7fe2-400a-b39c-2a0e8d0d0b7e", - "properties": {} - }, - { - "name": "B", - "type": 0, - "link": "24d5f780-5151-4908-9e4e-db1d00f52534", - "properties": {}, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "true", - "type": "boolean", - "links": [ - "e85e7aa8-51a3-449a-b4f1-621eeedcc1a4" - ], - "properties": {} - }, - { - "name": "false", - "type": "boolean", - "links": [], - "properties": {} - } - ], - "title": "GenericCompare", - "properties": { - "A": "txt2img", - "B": "img2img", - "OP": "==", - "enabled": true, - "tags": [] - } - }, - { - "id": "cda00cc0-7d08-4cfd-b561-6d15d5f2f28c", - "type": "logic/NOT", - "pos": [ - -1198.4545454545446, - -35.72727272727272 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 46, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "boolean", - "link": "641efbc6-f0e7-4c71-bd65-b02d0b0d8f87", - "properties": {} - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "9b243d97-7931-4a56-8c14-71401dc8f19b", - "6f1f107b-7d49-43d0-8ba4-3bcc32814899" - ], - "properties": {}, - "slot_index": 0 - } - ], - "title": "NOT", - "properties": { - "tags": [] - } - }, - { - "id": "877d8e92-b7dc-455b-8fce-a11b4821e476", - "type": "actions/notify", - "pos": [ - -1050.8181818181824, - -50.90909090909088 - ], - "size": [ - 151.2, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 54, - "mode": 0, - "inputs": [ - { - "name": "message", - "type": "string", - "link": "94805a83-2d1d-4162-8433-436607245213", - "properties": {}, - "slot_index": 0 - }, - { - "name": "trigger", - "type": -1, - "link": "1c726838-0dcd-4aaf-936e-d56e6c4ff2fd", - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.NotifyAction", - "properties": { - "tags": [], - "message": "Nya.", - "type": "info" - }, - "saveUserState": true - }, - { - "id": "a502386b-f168-4086-a512-623496b78199", - "type": "basic/string", - "pos": [ - -1115, - -12 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 22, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "94805a83-2d1d-4162-8433-436607245213" - ], - "properties": {} - } - ], - "title": "Const String", - "properties": { - "value": "Upload an image to be used with img2img first.", - "tags": [] - } - }, - { - "id": "c9f62e61-b9a4-4092-8318-50aa5c04a24d", - "type": "events/branch", - "pos": [ - -1092, - -141 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 50, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "cc21badd-7f4d-4a29-8589-9803c194598e", - "properties": {}, - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "6f1f107b-7d49-43d0-8ba4-3bcc32814899", - "properties": {} - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "a9a5c6fa-1614-4e3c-a5db-df5ccc29f7d0" - ], - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "false", - "type": -2, - "links": [ - "1c726838-0dcd-4aaf-936e-d56e6c4ff2fd" - ], - "properties": {}, - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "b39bc040-9da5-438b-9cd6-9f43827915fd", - "type": "actions/execute_subgraph", - "pos": [ - -837, - -95 - ], - "size": [ - 226.79999999999998, - 78 - ], - "flags": { - "collapsed": false - }, - "order": 53, - "mode": 0, - "inputs": [ - { - "name": "execute", - "type": -1, - "link": "a9a5c6fa-1614-4e3c-a5db-df5ccc29f7d0", - "properties": {}, - "shape": 1, - "slot_index": 0 - }, - { - "name": "targetTag", - "type": "string", - "link": null, - "properties": {} - } - ], - "outputs": [], - "title": "Comfy.ExecuteSubgraphAction", - "properties": { - "tags": [], - "targetTag": "gen" - }, - "saveUserState": true - }, - { - "id": "426d7db1-985d-4801-a74f-eebd650cb1dd", - "type": "CLIPTextEncode", - "pos": [ - 12, - 54 - ], - "size": [ - 210, - 46 - ], - "flags": {}, - "order": 27, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "string", - "link": "f3f7b285-8383-45eb-b9d7-b1d9852d37e7", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/text", - "serialize": true - }, - { - "name": "clip", - "type": "CLIP", - "link": "e0aabb47-f9ee-49b4-b98f-36cae9aa0381", - "properties": {}, - "slot_index": 1, - "config": {} - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - "19ab5c6b-575b-4c22-9c28-a90e43b41360" - ], - "properties": {}, - "shape": 3 - } - ], - "title": "CLIP Text Encode (Prompt)", - "properties": { - "tags": [ - "gen" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "597df44f-6179-471b-9730-990c0071ef1b", - "type": "LatentUpscale", - "pos": [ - 604, - 410 - ], - "size": [ - 178, - 106 - ], - "flags": {}, - "order": 47, - "mode": 2, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": "8198a510-daec-4607-8a4d-0672e8ceabec", - "properties": {}, - "config": {} - }, - { - "name": "upscale_method", - "type": "string", - "link": "d8a7ddcd-9b85-4ec1-96a6-61617d99d4ed", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - }, - { - "name": "width", - "type": "number", - "link": "97b1e4d5-1b79-49cd-a5ac-9d92db536467", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/number", - "serialize": true - }, - { - "name": "height", - "type": "number", - "link": "59ac014a-6bff-443f-a4a7-33fd3b51cc68", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/number", - "serialize": true - }, - { - "name": "crop", - "type": "string", - "link": "80a8a1c4-2e9a-4a20-b088-6612d2a4c535", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "69fcb874-2647-443d-aae6-4df2595cd847" - ], - "properties": {}, - "shape": 3, - "slot_index": 0 - } - ], - "title": "Upscale Latent", - "properties": { - "tags": [ - "img2img", - "gen" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "ad64f79d-0434-4673-a8af-55de017ba9ff", - "type": "VAEEncode", - "pos": [ - 247, - 394 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 39, - "mode": 2, - "inputs": [ - { - "name": "pixels", - "type": "IMAGE", - "link": "8cec9dcf-4930-4333-927b-1fadf75bd17a", - "properties": {}, - "config": {} - }, - { - "name": "vae", - "type": "VAE", - "link": "152a8237-dc88-4ff2-ae64-d61f824187a3", - "properties": {}, - "config": {} - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "8198a510-daec-4607-8a4d-0672e8ceabec" - ], - "properties": {}, - "shape": 3, - "slot_index": 0 - } - ], - "title": "VAE Encode", - "properties": { - "tags": [ - "img2img", - "gen" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "d74c7406-1181-4efc-9e00-9436f9ce4947", - "type": "CLIPTextEncode", - "pos": [ - 11, - 140 - ], - "size": [ - 210, - 46 - ], - "flags": {}, - "order": 28, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "string", - "link": "65e59e7e-cef1-4fae-a0ae-d7ba5c35f216", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/text", - "serialize": true - }, - { - "name": "clip", - "type": "CLIP", - "link": "287b22ad-e3e3-403a-bb01-447b70b9f185", - "properties": {}, - "slot_index": 1, - "config": {} - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - "3f297733-dd22-405d-a515-7eeef30ad84a" - ], - "properties": {}, - "shape": 3 - } - ], - "title": "CLIP Text Encode (Prompt)", - "properties": { - "tags": [ - "gen" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, { "id": "44ff9b23-bb22-43e8-b4ca-76db6855191c", "type": "EmptyLatentImage", "pos": [ - 130, - 245 + 178, + 277 ], "size": [ 151.2, 66 ], "flags": {}, - "order": 29, + "order": 30, "mode": 0, "inputs": [ { @@ -5937,309 +4282,208 @@ "saveUserState": true }, { - "id": "f6fe8af8-fd20-491e-b6d6-f285141ee7eb", - "type": "graph/output", + "id": "4d0c38bb-4279-4ce1-82eb-c6780de81e82", + "type": "utils/pick_first", "pos": [ - 1304, - -24 + 579, + 214 ], "size": [ 210, - 62 - ], - "flags": {}, - "order": 60, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "IMAGE", - "link": "689818f7-101f-4250-9ead-7b4aa77f27e6", - "properties": {} - } - ], - "outputs": [], - "title": "Output", - "properties": { - "name": "IMAGE", - "type": "IMAGE", - "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", - "tags": [] - } - }, - { - "id": "eb37e5af-7266-4da0-ab89-36b6e200b82f", - "type": "actions/set_node_mode_advanced", - "pos": [ - -34, - -171 - ], - "size": [ - 260.4, - 102 - ], - "flags": {}, - "order": 59, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": null, - "properties": {} - }, - { - "name": "set", - "type": -1, - "link": "cdae4dea-03d6-4ac4-b372-42fbb74fd507", - "properties": {}, - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAdvancedAction", - "properties": { - "targetTags": [ - { - "tag": "img2imgScaleSize", - "enable": false - }, - { - "tag": "img2imgPixelSize", - "enable": true - } - ], - "enable": false, - "tags": [] - }, - "boxcolor": "#666", - "saveUserState": true - }, - { - "id": "89ace6a4-7a24-4744-898a-e65109663b57", - "type": "KSampler", - "pos": [ - 716, - 7 - ], - "size": [ - 161.2, - 206 - ], - "flags": {}, - "order": 55, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": "5127d518-b146-488e-b296-ed2be1b382c0", - "properties": {}, - "config": {} - }, - { - "name": "seed", - "type": "number", - "link": "51729fc1-a711-4872-9023-5ff86ca558ba", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/number", - "serialize": true - }, - { - "name": "steps", - "type": "number", - "link": "5c6f3d0a-56cb-4265-9262-ad560524ffcd", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/number", - "serialize": true - }, - { - "name": "cfg", - "type": "number", - "link": "170bc753-f60f-4fcb-abbe-38cf09e1a3bf", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/number", - "serialize": true - }, - { - "name": "sampler_name", - "type": "string", - "link": "b933e7d9-9129-484a-ab99-ae043f6a46f3", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - }, - { - "name": "scheduler", - "type": "string", - "link": "d9d34da2-653b-488d-8aad-11cbc66b15af", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": "19ab5c6b-575b-4c22-9c28-a90e43b41360", - "properties": {}, - "slot_index": 6, - "config": {} - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": "3f297733-dd22-405d-a515-7eeef30ad84a", - "properties": {}, - "slot_index": 7, - "config": {} - }, - { - "name": "latent_image", - "type": "LATENT", - "link": "38e75281-5f3d-4800-9db0-b44cecab4f68", - "properties": {}, - "slot_index": 8, - "config": {} - }, - { - "name": "denoise", - "type": "number", - "link": "2516f465-9425-4bc5-aa86-7461b4fefdc4", - "properties": {}, - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/number", - "serialize": true - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "4de28b7a-a2f2-431d-a204-2982ee63e5c6" - ], - "properties": {}, - "shape": 3, - "slot_index": 0 - } - ], - "title": "KSampler", - "properties": { - "tags": [ - "gen" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "6b833917-9871-480d-b607-b41a8673edc1", - "type": "graph/input", - "pos": [ - 600, - 28 - ], - "size": [ - 210, - 86 + 122 ], "flags": { "collapsed": true }, - "order": 23, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "af10a80f-353a-4106-b66a-73840ed72cc3", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "e7192707-dbc7-4255-bd69-2953e500f7f6", + "properties": {}, + "slot_index": 1 + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + "2516f465-9425-4bc5-aa86-7461b4fefdc4" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [ + "gen" + ], + "mode": "dataNonNull" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "6391469c-22aa-45cf-b49b-c093ba92efa2", + "type": "ui/number", + "pos": [ + 331.7507755859374, + 533.1757516601564 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "af10a80f-353a-4106-b66a-73840ed72cc3" + ], + "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 (denoise)", + "properties": { + "tags": [ + "img2img" + ], + "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": "e70690b5-cff8-4f82-9c58-f075f478fa41", + "type": "basic/number", + "pos": [ + 286, + 373 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 16, "mode": 0, "inputs": [], "outputs": [ { - "name": "", - "type": "MODEL", + "name": "value", + "type": "number", "links": [ - "5127d518-b146-488e-b296-ed2be1b382c0" - ], - "properties": {} - } - ], - "title": "Input", - "properties": { - "name": "model", - "type": "MODEL", - "value": null, - "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", - "tags": [] - } - }, - { - "id": "a46ec9f3-82bd-470d-bd89-83d274e1c0cd", - "type": "VAEDecode", - "pos": [ - 942, - 9 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 57, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": "4de28b7a-a2f2-431d-a204-2982ee63e5c6", - "properties": {}, - "config": {} - }, - { - "name": "vae", - "type": "VAE", - "link": "bd75390b-7eb3-4393-bea9-71a92ec0f52e", - "properties": {}, - "slot_index": 1, - "config": {} - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - "689818f7-101f-4250-9ead-7b4aa77f27e6" + "e7192707-dbc7-4255-bd69-2953e500f7f6" ], "properties": {}, - "shape": 3, + "label": "1.000", "slot_index": 0 } ], - "title": "VAE Decode", + "title": "Const Number", "properties": { - "tags": [ - "gen" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true + "value": 1, + "tags": [] + } }, { "id": "2578ff5a-4a88-44d8-aed7-aeabc0664dbb", "type": "graph/input", "pos": [ - -480, - 61 + -398, + 60 ], "size": [ 210, @@ -6248,7 +4492,7 @@ "flags": { "collapsed": true }, - "order": 24, + "order": 17, "mode": 0, "inputs": [], "outputs": [ @@ -6272,19 +4516,59 @@ "tags": [] } }, + { + "id": "1bb069bc-596c-4401-b943-0594b6ee6cd6", + "type": "graph/input", + "pos": [ + -341, + 334 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "0845f395-2403-4a78-b716-22960c83ddef", + "3f10f50d-fe09-42ee-81cf-717811aa51ae" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "batch_size", + "type": "number", + "value": 0, + "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", + "tags": [] + } + }, { "id": "7f251fb6-a708-4c48-8cb7-05d28edd85ad", "type": "utils/pick_first", "pos": [ - 822, - 267 + 575, + 187 ], "size": [ 210, 122 ], - "flags": {}, - "order": 51, + "flags": { + "collapsed": true + }, + "order": 55, "mode": 0, "inputs": [ { @@ -6296,7 +4580,7 @@ { "name": "B", "type": "*", - "link": "69fcb874-2647-443d-aae6-4df2595cd847", + "link": "b1f0710a-7dfa-4000-845d-5855ca955fbb", "properties": {} }, { @@ -6327,6 +4611,455 @@ "color": "#232", "bgColor": "#353", "saveUserState": true + }, + { + "id": "f6fe8af8-fd20-491e-b6d6-f285141ee7eb", + "type": "graph/output", + "pos": [ + 1141, + 8 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 60, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "IMAGE", + "link": "689818f7-101f-4250-9ead-7b4aa77f27e6", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "IMAGE", + "type": "IMAGE", + "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", + "tags": [] + } + }, + { + "id": "b69fe98e-1fc6-4f0a-bf13-99ff12278c60", + "type": "RepeatLatentBatch", + "pos": [ + 597, + 581 + ], + "size": [ + 159.6, + 46 + ], + "flags": {}, + "order": 50, + "mode": 2, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": "5fbd52e4-c236-4049-8965-24fb79ea7302", + "properties": {}, + "config": {} + }, + { + "name": "amount", + "type": "number", + "link": "3f10f50d-fe09-42ee-81cf-717811aa51ae", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + "b1f0710a-7dfa-4000-845d-5855ca955fbb" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "Repeat Latent Batch", + "properties": { + "tags": [ + "img2img", + "gen" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "c9f62e61-b9a4-4092-8318-50aa5c04a24d", + "type": "events/branch", + "pos": [ + -974.0068789062503, + 160.3443091552736 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 49, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "cc21badd-7f4d-4a29-8589-9803c194598e", + "properties": {}, + "shape": 1 + }, + { + "name": "cond", + "type": "boolean", + "link": "6f1f107b-7d49-43d0-8ba4-3bcc32814899", + "properties": {} + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [ + "a9a5c6fa-1614-4e3c-a5db-df5ccc29f7d0", + "e02559e0-d1f6-47de-8bf4-6097daeda7b8" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", + "type": -2, + "links": [ + "1c726838-0dcd-4aaf-936e-d56e6c4ff2fd" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "03245291-9b21-4ab5-a028-fe8dffca3237", + "type": "actions/notify", + "pos": [ + -747, + 151 + ], + "size": [ + 151.2, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 53, + "mode": 0, + "inputs": [ + { + "name": "message", + "type": "string", + "link": "0bce3a44-9a10-4fe6-9632-bc0569ae5548", + "properties": {}, + "slot_index": 0 + }, + { + "name": "trigger", + "type": -1, + "link": "e02559e0-d1f6-47de-8bf4-6097daeda7b8", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.NotifyAction", + "properties": { + "tags": [], + "message": "Nya.", + "type": "info" + }, + "saveUserState": true + }, + { + "id": "2d020869-19b4-44ce-9ba6-1cbb4b6eddd1", + "type": "basic/string", + "pos": [ + -742, + 120 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 19, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "string", + "type": "string", + "links": [ + "0bce3a44-9a10-4fe6-9632-bc0569ae5548" + ], + "properties": {} + } + ], + "title": "Const String", + "properties": { + "value": "Prompt queued.", + "tags": [] + } + }, + { + "id": "f94a0129-2e34-47c5-b9d4-ec372eda71b9", + "type": "events/trigger_new_event", + "pos": [ + -640, + -217 + ], + "size": [ + 210, + 78 + ], + "flags": {}, + "order": 38, + "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", + "pos": [ + 626, + 150 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 20, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + "95a5de76-80b5-4cb1-a699-a91172c42efa" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "positive", + "type": "CONDITIONING", + "value": null, + "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", + "tags": [] + } + }, + { + "id": "9b7a8bd0-9869-444c-98f5-b6eb7bf75c3a", + "type": "graph/input", + "pos": [ + 621, + 171 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 21, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + "8ed1821b-5d69-429c-a404-1b6b668c8727" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "negative", + "type": "CONDITIONING", + "value": null, + "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", + "tags": [] + } + }, + { + "id": "3c5cfb22-f689-4e6e-81ea-70e6866b8359", + "type": "graph/input", + "pos": [ + 632, + 89 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 22, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "3eb16bc7-0107-484b-8532-ecbe07d12872" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "cfg", + "type": "number", + "value": 0, + "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", + "tags": [] + } + }, + { + "id": "d9f20975-c4c7-4b4a-8472-f21928833ea8", + "type": "graph/input", + "pos": [ + 606, + 131 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 23, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "links": [ + "3368c49e-7722-48b6-b07c-189e11818c2f" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "scheduler", + "type": "string", + "value": "", + "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", + "tags": [] + } + }, + { + "id": "25ac6b37-f15d-4c3e-b9dd-f150c4274f61", + "type": "graph/input", + "pos": [ + 576, + 110 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 24, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "links": [ + "1797d40f-5f1d-44be-a922-e795b81668bc" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "sampler_name", + "type": "string", + "value": "", + "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", + "tags": [] + } } ], "links": [ @@ -6338,38 +5071,6 @@ 0, "MODEL" ], - [ - "f3f7b285-8383-45eb-b9d7-b1d9852d37e7", - "8c639133-9ba4-441e-8ea4-6de55bf7d6d2", - 0, - "426d7db1-985d-4801-a74f-eebd650cb1dd", - 0, - "string" - ], - [ - "e0aabb47-f9ee-49b4-b98f-36cae9aa0381", - "6ea0158a-4954-4c25-86ea-93c250d09686", - 0, - "426d7db1-985d-4801-a74f-eebd650cb1dd", - 1, - "CLIP" - ], - [ - "65e59e7e-cef1-4fae-a0ae-d7ba5c35f216", - "9b7a8bd0-9869-444c-98f5-b6eb7bf75c3a", - 0, - "d74c7406-1181-4efc-9e00-9436f9ce4947", - 0, - "string" - ], - [ - "287b22ad-e3e3-403a-bb01-447b70b9f185", - "6ea0158a-4954-4c25-86ea-93c250d09686", - 0, - "d74c7406-1181-4efc-9e00-9436f9ce4947", - 1, - "CLIP" - ], [ "689818f7-101f-4250-9ead-7b4aa77f27e6", "a46ec9f3-82bd-470d-bd89-83d274e1c0cd", @@ -6386,46 +5087,6 @@ 2, "number" ], - [ - "170bc753-f60f-4fcb-abbe-38cf09e1a3bf", - "084703e8-986f-43ba-bead-fc339de8cce5", - 0, - "89ace6a4-7a24-4744-898a-e65109663b57", - 3, - "number" - ], - [ - "b933e7d9-9129-484a-ab99-ae043f6a46f3", - "6dec6532-214e-47e8-9ecf-5151ddcd1ca4", - 0, - "89ace6a4-7a24-4744-898a-e65109663b57", - 4, - "string" - ], - [ - "d9d34da2-653b-488d-8aad-11cbc66b15af", - "3661b109-0d21-4987-a386-a8e4f53ff6fa", - 0, - "89ace6a4-7a24-4744-898a-e65109663b57", - 5, - "string" - ], - [ - "19ab5c6b-575b-4c22-9c28-a90e43b41360", - "426d7db1-985d-4801-a74f-eebd650cb1dd", - 0, - "89ace6a4-7a24-4744-898a-e65109663b57", - 6, - "CONDITIONING" - ], - [ - "3f297733-dd22-405d-a515-7eeef30ad84a", - "d74c7406-1181-4efc-9e00-9436f9ce4947", - 0, - "89ace6a4-7a24-4744-898a-e65109663b57", - 7, - "CONDITIONING" - ], [ "4de28b7a-a2f2-431d-a204-2982ee63e5c6", "89ace6a4-7a24-4744-898a-e65109663b57", @@ -6530,14 +5191,6 @@ 0, "string" ], - [ - "69fcb874-2647-443d-aae6-4df2595cd847", - "597df44f-6179-471b-9730-990c0071ef1b", - 0, - "7f251fb6-a708-4c48-8cb7-05d28edd85ad", - 1, - "*" - ], [ "4d0a56d8-a21e-4194-b6ab-b50dca417e37", "44ff9b23-bb22-43e8-b4ca-76db6855191c", @@ -6873,6 +5526,1881 @@ "b39bc040-9da5-438b-9cd6-9f43827915fd", 0, -1 + ], + [ + "3f10f50d-fe09-42ee-81cf-717811aa51ae", + "1bb069bc-596c-4401-b943-0594b6ee6cd6", + 0, + "b69fe98e-1fc6-4f0a-bf13-99ff12278c60", + 1, + "number" + ], + [ + "5fbd52e4-c236-4049-8965-24fb79ea7302", + "597df44f-6179-471b-9730-990c0071ef1b", + 0, + "b69fe98e-1fc6-4f0a-bf13-99ff12278c60", + 0, + "LATENT" + ], + [ + "b1f0710a-7dfa-4000-845d-5855ca955fbb", + "b69fe98e-1fc6-4f0a-bf13-99ff12278c60", + 0, + "7f251fb6-a708-4c48-8cb7-05d28edd85ad", + 1, + "*" + ], + [ + "e02559e0-d1f6-47de-8bf4-6097daeda7b8", + "c9f62e61-b9a4-4092-8318-50aa5c04a24d", + 0, + "03245291-9b21-4ab5-a028-fe8dffca3237", + 1, + -1 + ], + [ + "0bce3a44-9a10-4fe6-9632-bc0569ae5548", + "2d020869-19b4-44ce-9ba6-1cbb4b6eddd1", + 0, + "03245291-9b21-4ab5-a028-fe8dffca3237", + 0, + "string" + ], + [ + "8ed1821b-5d69-429c-a404-1b6b668c8727", + "9b7a8bd0-9869-444c-98f5-b6eb7bf75c3a", + 0, + "89ace6a4-7a24-4744-898a-e65109663b57", + 7, + "CONDITIONING" + ], + [ + "95a5de76-80b5-4cb1-a699-a91172c42efa", + "8c639133-9ba4-441e-8ea4-6de55bf7d6d2", + 0, + "89ace6a4-7a24-4744-898a-e65109663b57", + 6, + "CONDITIONING" + ], + [ + "3eb16bc7-0107-484b-8532-ecbe07d12872", + "3c5cfb22-f689-4e6e-81ea-70e6866b8359", + 0, + "89ace6a4-7a24-4744-898a-e65109663b57", + 3, + "number" + ], + [ + "1797d40f-5f1d-44be-a922-e795b81668bc", + "25ac6b37-f15d-4c3e-b9dd-f150c4274f61", + 0, + "89ace6a4-7a24-4744-898a-e65109663b57", + 4, + "string" + ], + [ + "3368c49e-7722-48b6-b07c-189e11818c2f", + "d9f20975-c4c7-4b4a-8472-f21928833ea8", + 0, + "89ace6a4-7a24-4744-898a-e65109663b57", + 5, + "string" + ] + ], + "groups": [ + { + "title": "Default Queue Action", + "bounding": [ + -1437, + 35, + 995, + 309 + ], + "color": "#3f789e" + }, + { + "title": "Scale By Toggle", + "bounding": [ + 60, + -602, + 573, + 559 + ], + "color": "#A88" + }, + { + "title": "Mode Switcher", + "bounding": [ + -908, + -838, + 880, + 727 + ], + "color": "#b58b2a" + }, + { + "title": "img2img", + "bounding": [ + -854, + 448, + 1655, + 337 + ], + "color": "#88A" + }, + { + "title": "txt2img", + "bounding": [ + -2, + 204, + 383, + 183 + ], + "color": "#b06634" + } + ], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "a16a0898-b754-4a3a-a118-31cb2c9e76d7", + "type": "events/queue_events", + "pos": [ + 1275.109848632813, + 808.1699824218742 + ], + "size": [ + 178, + 66 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "beforeQueued", + "type": -2, + "links": [ + "bda9da8b-686f-4e8a-ae78-347f4cde9018" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "afterQueued", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "onDefaultQueueAction", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Comfy.QueueEvents", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "956ef877-9a36-40d4-9f86-e824ff6f6dd5", + "type": "ui/number", + "pos": [ + 678, + 427 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "c004a9a1-6ebc-40f0-9fa5-dc9557f8b697", + "dc5a9b82-233e-484a-9e58-cd90fbeff07d" + ], + "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": [], + "defaultValue": 1, + "min": 1, + "max": 16, + "step": 1, + "precision": 0 + }, + "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": "d61b7ac0-b5f7-4a88-8226-28f9b017f3f4", + "type": "SaveImage", + "pos": [ + 1822, + 303 + ], + "size": [ + 186.4, + 46 + ], + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": "250486b4-7eae-4049-aa6f-1ff826687c9c", + "properties": {}, + "config": {} + }, + { + "name": "filename_prefix", + "type": "string", + "link": "8770aeee-7c02-418c-a925-36b57fa1d032", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/text", + "serialize": true + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": -2, + "links": [ + "eeb1dfa6-eaaa-4ba6-b2a6-b13ae69c3462" + ], + "properties": {}, + "color_off": "rebeccapurple", + "color_on": "rebeccapurple", + "shape": 1, + "slot_index": 0 + } + ], + "title": "Save Image", + "properties": { + "tags": [ + "gen" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "5ea1f249-c68c-4290-aa00-b676a19f5a0c", + "type": "utils/pick_first", + "pos": [ + 1653.42, + 388.25 + ], + "size": [ + 210, + 122 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "817eb77b-92fe-408e-a3f7-9aff4993728d", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "3f4c065d-a110-4196-b44f-e615d3645a4d", + "properties": {}, + "slot_index": 1 + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + "8770aeee-7c02-418c-a925-36b57fa1d032", + "b8a7ec3a-979e-45ea-96bf-213a3f2e4b6c" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [], + "mode": "dataNonNull" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "e7e68c8c-fa9c-42ab-985e-789c1dc91ae5", + "type": "ui/text", + "pos": [ + 1544, + 371 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + }, + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "817eb77b-92fe-408e-a3f7-9aff4993728d" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Text", + "properties": { + "tags": [], + "defaultValue": "ComfyUI", + "multiline": false + }, + "widgets_values": [ + "ComfyUI" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "ComfyUI", + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "928a13d8-cfc6-417e-9088-53503efb1cd3", + "type": "events/sequence", + "pos": [ + 2018, + 363 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": false + }, + "order": 36, + "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": "5e21407a-fb86-4694-8c1a-77cc4b3f3c39", + "type": "events/filter", + "pos": [ + 1513.66162109375, + 996.294677734375 + ], + "size": [ + 210, + 150 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "event", + "type": -1, + "link": "75383097-6487-4344-9930-4814b5742aa1", + "properties": {}, + "shape": 1 + }, + { + "name": "compare_value", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "accept", + "type": -2, + "links": [ + "32fc2993-3360-4911-9965-184662fdd8f8" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "reject", + "type": -2, + "links": [ + "1790c44e-0ab7-464f-9139-f2a64b39c996" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Filter Event", + "properties": { + "compareValue": "gen", + "propertyName": "subgraph", + "mode": "property", + "operation": "==", + "tags": [] + } + }, + { + "id": "e41be48f-eb22-4269-93dc-d56a40d57f2c", + "type": "events/wrap_as_event", + "pos": [ + 1911, + 738 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "trigger", + "type": -1, + "link": "8d3265e3-4f5b-4124-b20f-51e14647a7f7", + "properties": {}, + "shape": 1 + }, + { + "name": "param", + "type": "", + "link": "ce514e38-b125-4803-a246-9a66e9f75235", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "event", + "type": -2, + "links": [ + "27e9b2c9-72c5-48b0-aa80-2646590d8c2b" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Wrap As Event", + "properties": { + "tags": [] + } + }, + { + "id": "eb08f8f4-50d2-429f-b625-ea69f0e219f6", + "type": "basic/json", + "pos": [ + 1791, + 788 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "data", + "type": "object", + "links": [ + "ce514e38-b125-4803-a246-9a66e9f75235" + ], + "properties": {}, + "shape": 0, + "slot_index": 0 + } + ], + "title": "Const JSON", + "properties": { + "json": "null", + "value": "null", + "type": "object", + "tags": [] + }, + "boxcolor": "#AEA" + }, + { + "id": "17b390f3-8350-4516-914f-817c33037476", + "type": "basic/json", + "pos": [ + 2961.5223851562455, + 739.362885546875 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "data", + "type": "object", + "links": [ + "21e19922-b1e8-4b65-a488-cfb746dec0d1" + ], + "properties": {}, + "shape": 0, + "slot_index": 0 + } + ], + "title": "Const JSON", + "properties": { + "json": "null", + "value": "null", + "type": "object", + "tags": [] + }, + "boxcolor": "#AEA" + }, + { + "id": "62204d27-0c28-4901-8319-453605d911f0", + "type": "events/sequence", + "pos": [ + 1799, + 761 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "794ce3c6-a8de-4f4d-ba55-5bb3d5092993", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "8e8938d1-bba9-4ffc-a075-440aefbda06a", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "8d3265e3-4f5b-4124-b20f-51e14647a7f7" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "49b8f233-abf9-4604-ab0c-8179178d1731", + "type": "events/branch", + "pos": [ + 1919, + 955 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "32fc2993-3360-4911-9965-184662fdd8f8", + "properties": {}, + "shape": 1 + }, + { + "name": "cond", + "type": "boolean", + "link": "edb164b9-1b4c-4de0-b653-0e750128730e", + "properties": {} + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "false", + "type": -2, + "links": [ + "8e8938d1-bba9-4ffc-a075-440aefbda06a" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "63a83c93-647f-4882-84f0-606c4d070e43", + "type": "ui/checkbox", + "pos": [ + 1789, + 1058 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "boolean", + "links": [ + "edb164b9-1b4c-4de0-b653-0e750128730e", + "a1e177b5-ac2c-4241-b693-660b45c45a2f" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Checkbox", + "properties": { + "tags": [], + "defaultValue": false + }, + "widgets_values": [ + "true" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": true, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "8247d831-788d-47b7-98d0-c1e0da4a7c62", + "type": "events/filter", + "pos": [ + 2676.452385156247, + 1010.4468855468748 + ], + "size": [ + 210, + 150 + ], + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "event", + "type": -1, + "link": "1790c44e-0ab7-464f-9139-f2a64b39c996", + "properties": {}, + "shape": 1 + }, + { + "name": "compare_value", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "accept", + "type": -2, + "links": [ + "4a358214-97d1-4ac0-aed9-f6ad87459a01" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "reject", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Filter Event", + "properties": { + "compareValue": "hr", + "propertyName": "subgraph", + "mode": "property", + "operation": "==", + "tags": [] + } + }, + { + "id": "fa30235f-388d-4151-9a58-5d65f0ea1155", + "type": "events/wrap_as_event", + "pos": [ + 3082.251953125, + 688.455078125 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "trigger", + "type": -1, + "link": "cc44ddcf-c257-4b72-99d8-4724a68bbdcd", + "properties": {}, + "shape": 1 + }, + { + "name": "param", + "type": "", + "link": "21e19922-b1e8-4b65-a488-cfb746dec0d1", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "event", + "type": -2, + "links": [ + "76456142-ea56-4684-a6ca-f4fe91417ce7" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Wrap As Event", + "properties": { + "tags": [] + } + }, + { + "id": "1ea393e8-e55a-4492-93fd-ce65a0b63084", + "type": "ui/gallery", + "pos": [ + 3559, + 327 + ], + "size": [ + 210, + 126 + ], + "flags": {}, + "order": 43, + "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": 2, + "updateMode": "append" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": [], + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "0b071e6c-f765-4e31-8125-8c057cddc865", + "type": "events/sequence", + "pos": [ + 3428, + 371 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 42, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "cbdd2597-722d-4154-be91-0b46254dc141", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "76456142-ea56-4684-a6ca-f4fe91417ce7", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "7568e1d6-8f0c-491e-91a0-fc0b933ea0b0" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "5f099bc5-043a-4658-a6ac-83f01f72eefd", + "type": "ui/button", + "pos": [ + 1641, + 720 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "794ce3c6-a8de-4f4d-ba55-5bb3d5092993", + "62fc8617-059f-4f94-9d0c-cd769d1e4f1d" + ], + "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": "4b86217c-eac6-4e44-88f1-fba72d182795", + "type": "SaveImage", + "pos": [ + 3168, + 344 + ], + "size": [ + 186.4, + 46 + ], + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": "b9634e37-b5f5-48cf-a5d9-a32896302548", + "properties": {}, + "config": {} + }, + { + "name": "filename_prefix", + "type": "string", + "link": "b8a7ec3a-979e-45ea-96bf-213a3f2e4b6c", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/text", + "serialize": true + } + ], + "outputs": [ + { + "name": "OUTPUT", + "type": -2, + "links": [ + "cbdd2597-722d-4154-be91-0b46254dc141" + ], + "properties": {}, + "color_off": "rebeccapurple", + "color_on": "rebeccapurple", + "shape": 1, + "slot_index": 0 + } + ], + "title": "Save Image", + "properties": { + "tags": [ + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "f723f393-1b70-4056-887c-aeef1217969e", + "type": "basic/reroute", + "pos": [ + 2699, + 200 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "f8299a81-0070-41e2-ace6-bf6fd5a47e73", + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "3c0ea9e3-005f-4a0f-be04-248cee08632a" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, + { + "id": "d5a2ba8b-f1bc-4830-b00f-ef2543d65d5e", + "type": "basic/reroute", + "pos": [ + 2750, + 166 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "f98dfcf1-2d97-42a3-835d-201357467e03", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "7bf1ecb5-3b6b-4f44-9c42-c8436c207895" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, + { + "id": "d02b1827-8ace-49db-95fe-27c218f5e25e", + "type": "basic/reroute", + "pos": [ + 1033, + 164 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "c63856d5-6d5c-4315-9698-c0b293a92685", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "f98dfcf1-2d97-42a3-835d-201357467e03" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, + { + "id": "ab681ebc-8042-4e00-807b-c3e505e4ff30", + "type": "basic/reroute", + "pos": [ + 1137, + 193 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "5d96aeb7-5ed6-4ce7-9e48-c52e3dfe1276", + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "f8299a81-0070-41e2-ace6-bf6fd5a47e73" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, + { + "id": "f8051ab6-d9f7-44fe-898a-ad26cfde916e", + "type": "graph/subgraph", + "pos": [ + 906, + 468 + ], + "size": [ + 200, + 30 + ], + "flags": { + "collapsed": false + }, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "batch_size", + "type": "number", + "link": "dc5a9b82-233e-484a-9e58-cd90fbeff07d", + "properties": {} + } + ], + "outputs": [ + { + "name": "seed", + "type": "number", + "links": [ + "c84ab5d2-3d2a-4304-b2a0-5fd29403a809", + "dc954f40-1a55-47d5-a1e5-9395203b73f3" + ], + "properties": {} + } + ], + "title": "Seed Randomizer", + "properties": { + "enabled": true, + "tags": [ + "gen", + "hr" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "e59ea093-f3cb-419e-a34c-7e674efb3047", + "type": "utils/value_control", + "pos": [ + 123.90625, + -214.16668701171875 + ], + "size": [ + 151.2, + 126 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "number", + "link": "5bce1add-d9c5-4d18-a12f-7cf7e8355c74", + "properties": {} + }, + { + "name": "trigger", + "type": -1, + "link": "75d70971-7171-4540-8f29-e1b35cc0e74f", + "properties": {}, + "shape": 1 + }, + { + "name": "action", + "type": "string", + "link": "5132a6bd-09dc-4c37-a257-52bae3212a9c", + "properties": {}, + "defaultWidgetNode": null, + "config": { + "defaultValue": "randomize", + "values": [ + "fixed", + "increment", + "decrement", + "randomize" + ] + }, + "slot_index": 2, + "widgetNodeType": "ui/combo" + }, + { + "name": "min", + "type": "number", + "link": "769f541e-e2a9-454b-b592-2ea8e108b27f", + "properties": {} + }, + { + "name": "max", + "type": "number", + "link": "aeff592e-4664-463d-8a7f-6691524560de", + "properties": {} + }, + { + "name": "step", + "type": "number", + "link": "7f24f920-5771-48f6-9690-cb69aee64534", + "properties": {} + } + ], + "outputs": [ + { + "name": "value", + "type": "*", + "links": [], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "0089f1c4-230f-4a02-950f-555502110110" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Comfy.ValueControl", + "properties": { + "tags": [], + "value": 684604835206592, + "action": "randomize", + "min": 0, + "max": 18446744073709552000, + "step": 2, + "ignoreStepWhenRandom": false + }, + "saveUserState": true + }, + { + "id": "cb8299a3-b0c7-47b4-8d63-f809a84dc8d5", + "type": "ui/number", + "pos": [ + 12, + -7 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "0089f1c4-230f-4a02-950f-555502110110", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "887c67fb-c2ac-4026-bffa-b5823880d430", + "5bce1add-d9c5-4d18-a12f-7cf7e8355c74" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [ + "769f541e-e2a9-454b-b592-2ea8e108b27f" + ], + "properties": {}, + "slot_index": 2 + }, + { + "name": "@max", + "type": "number", + "links": [ + "aeff592e-4664-463d-8a7f-6691524560de" + ], + "properties": {}, + "slot_index": 3 + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 0, + "min": 0, + "max": 18446744073709552000, + "step": 1, + "precision": 0 + }, + "widgets_values": [ + "684604835206592.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 684604835206592, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "b335460b-8c5c-44e8-9063-b85bc72357a0", + "type": "ui/combo", + "pos": [ + -8, + -147 + ], + "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": [ + "5132a6bd-09dc-4c37-a257-52bae3212a9c" + ], + "properties": {}, + "slot_index": 0 + }, + { + "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": "f84bbbdf-60e1-406b-812f-7a58db008617", + "type": "events/queue_events", + "pos": [ + -203, + -213 + ], + "size": [ + 178, + 66 + ], + "flags": { + "collapsed": false + }, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "beforeQueued", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "afterQueued", + "type": -2, + "links": [ + "75d70971-7171-4540-8f29-e1b35cc0e74f" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + }, + { + "name": "onDefaultQueueAction", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Comfy.QueueEvents", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "44f7ee29-c16b-4f8b-a4b8-f0a147a4f36a", + "type": "graph/input", + "pos": [ + -288, + -105 + ], + "size": [ + 210, + 86 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "7f24f920-5771-48f6-9690-cb69aee64534" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "batch_size", + "type": "number", + "value": 0, + "subgraphID": "f8051ab6-d9f7-44fe-898a-ad26cfde916e", + "tags": [] + } + }, + { + "id": "fa4eea5e-871f-4595-9fd3-7482955acbd4", + "type": "graph/output", + "pos": [ + 410, + -31 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "887c67fb-c2ac-4026-bffa-b5823880d430", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "seed", + "type": "number", + "subgraphID": "f8051ab6-d9f7-44fe-898a-ad26cfde916e", + "tags": [] + } + } + ], + "links": [ + [ + "887c67fb-c2ac-4026-bffa-b5823880d430", + "cb8299a3-b0c7-47b4-8d63-f809a84dc8d5", + 0, + "fa4eea5e-871f-4595-9fd3-7482955acbd4", + 0, + "number" + ], + [ + "5132a6bd-09dc-4c37-a257-52bae3212a9c", + "b335460b-8c5c-44e8-9063-b85bc72357a0", + 0, + "e59ea093-f3cb-419e-a34c-7e674efb3047", + 2, + "string" + ], + [ + "769f541e-e2a9-454b-b592-2ea8e108b27f", + "cb8299a3-b0c7-47b4-8d63-f809a84dc8d5", + 2, + "e59ea093-f3cb-419e-a34c-7e674efb3047", + 3, + "number" + ], + [ + "aeff592e-4664-463d-8a7f-6691524560de", + "cb8299a3-b0c7-47b4-8d63-f809a84dc8d5", + 3, + "e59ea093-f3cb-419e-a34c-7e674efb3047", + 4, + "number" + ], + [ + "5bce1add-d9c5-4d18-a12f-7cf7e8355c74", + "cb8299a3-b0c7-47b4-8d63-f809a84dc8d5", + 0, + "e59ea093-f3cb-419e-a34c-7e674efb3047", + 0, + "number" + ], + [ + "0089f1c4-230f-4a02-950f-555502110110", + "e59ea093-f3cb-419e-a34c-7e674efb3047", + 1, + "cb8299a3-b0c7-47b4-8d63-f809a84dc8d5", + 0, + -1 + ], + [ + "75d70971-7171-4540-8f29-e1b35cc0e74f", + "f84bbbdf-60e1-406b-812f-7a58db008617", + 1, + "e59ea093-f3cb-419e-a34c-7e674efb3047", + 1, + -1 + ], + [ + "7f24f920-5771-48f6-9690-cb69aee64534", + "44f7ee29-c16b-4f8b-a4b8-f0a147a4f36a", + 0, + "e59ea093-f3cb-419e-a34c-7e674efb3047", + 5, + "number" ] ], "groups": [], @@ -6881,19 +7409,1014 @@ "version": 10 } }, + { + "id": "9ab5e29a-fcf2-4252-9620-0ce47552c529", + "type": "basic/reroute", + "pos": [ + 1152, + 544 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "dc954f40-1a55-47d5-a1e5-9395203b73f3", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "3cdba89b-c8f9-43a7-86ea-68562a8ece11" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, + { + "id": "f3ca5c31-3277-495e-b41c-5eff5f263bd7", + "type": "basic/reroute", + "pos": [ + 2720, + 544 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "3cdba89b-c8f9-43a7-86ea-68562a8ece11", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "a6141a50-6a98-42ef-accd-acb4823c88da" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, + { + "id": "ac57884f-e48c-4bf5-b98e-191f75c0f2ea", + "type": "graph/subgraph", + "pos": [ + 977, + 358 + ], + "size": [ + 200, + 50 + ], + "flags": { + "collapsed": false + }, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": "cbe50ee6-f5d6-406d-9b27-c91cf07c7d7b", + "properties": {} + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + "700ea451-5900-45d2-bf20-b9648d9bbf8d", + "5d96aeb7-5ed6-4ce7-9e48-c52e3dfe1276" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + "b13280ea-28b0-4983-8299-665f4f7afed0", + "a8d9e1a7-fd03-4f75-8bc8-cb8506b46dac" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "Positive/Negative", + "properties": { + "enabled": true, + "tags": [ + "gen", + "hr" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "c10e1869-b88f-4f88-9c1f-bd07c3ba1cdf", + "type": "ui/text", + "pos": [ + 0, + 0 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "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": [ + "89cdd124-a714-4222-86f2-228494f5e6b7" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Text", + "properties": { + "tags": [], + "defaultValue": "", + "multiline": true + }, + "widgets_values": [ + "2girls, happy, nonsense" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "2girls, happy, nonsense", + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "efc39968-f678-4ab0-8998-73aa51e27dfb", + "type": "ui/text", + "pos": [ + 6.199999999999974, + 40.70000000000016 + ], + "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": [ + "8fdb3404-be52-4578-a6af-be203a97612c" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Text", + "properties": { + "tags": [], + "defaultValue": "", + "multiline": true + }, + "widgets_values": [ + "worst quality" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "worst quality", + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "9d733b33-acfc-4d36-bdea-48b03807c609", + "type": "graph/input", + "pos": [ + -305, + -43 + ], + "size": [ + 210, + 86 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CLIP", + "links": [ + "312f420d-b73f-4351-8221-c07ba07de2b7", + "c2a49868-0af6-4d9d-bdf5-5be43b7332e2" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "clip", + "type": "CLIP", + "value": null, + "subgraphID": "ac57884f-e48c-4bf5-b98e-191f75c0f2ea", + "tags": [] + } + }, + { + "id": "c86c176e-6e7d-49b4-a65c-62c7d3e36d34", + "type": "graph/output", + "pos": [ + 539.2, + -31 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "CONDITIONING", + "link": "3f18997c-4cc3-4aac-8714-afe3ca02ba94", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "positive", + "type": "CONDITIONING", + "subgraphID": "ac57884f-e48c-4bf5-b98e-191f75c0f2ea", + "tags": [] + } + }, + { + "id": "69143d3a-ae97-428c-be2c-1adce84fdb71", + "type": "graph/output", + "pos": [ + 539.2, + 51 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "CONDITIONING", + "link": "469693cc-ba2c-4af9-a8f0-082532caf206", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "negative", + "type": "CONDITIONING", + "subgraphID": "ac57884f-e48c-4bf5-b98e-191f75c0f2ea", + "tags": [] + } + }, + { + "id": "6263c65f-9aed-4359-9d97-b3e65a59fc91", + "type": "CLIPTextEncode", + "pos": [ + 123, + 4 + ], + "size": [ + 210, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "text", + "type": "string", + "link": "89cdd124-a714-4222-86f2-228494f5e6b7", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/text", + "serialize": true, + "slot_index": 0 + }, + { + "name": "clip", + "type": "CLIP", + "link": "312f420d-b73f-4351-8221-c07ba07de2b7", + "properties": {}, + "slot_index": 1, + "config": {} + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + "3f18997c-4cc3-4aac-8714-afe3ca02ba94" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "CLIP Text Encode (Prompt)", + "properties": { + "tags": [ + "gen", + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "a1691865-8366-4601-a085-1c1f0885ee3a", + "type": "CLIPTextEncode", + "pos": [ + 129, + 41 + ], + "size": [ + 210, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "text", + "type": "string", + "link": "8fdb3404-be52-4578-a6af-be203a97612c", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/text", + "serialize": true, + "slot_index": 0 + }, + { + "name": "clip", + "type": "CLIP", + "link": "c2a49868-0af6-4d9d-bdf5-5be43b7332e2", + "properties": {}, + "config": {} + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + "469693cc-ba2c-4af9-a8f0-082532caf206" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "CLIP Text Encode (Prompt)", + "properties": { + "tags": [ + "gen", + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + } + ], + "links": [ + [ + "312f420d-b73f-4351-8221-c07ba07de2b7", + "9d733b33-acfc-4d36-bdea-48b03807c609", + 0, + "6263c65f-9aed-4359-9d97-b3e65a59fc91", + 1, + "CLIP" + ], + [ + "c2a49868-0af6-4d9d-bdf5-5be43b7332e2", + "9d733b33-acfc-4d36-bdea-48b03807c609", + 0, + "a1691865-8366-4601-a085-1c1f0885ee3a", + 1, + "CLIP" + ], + [ + "3f18997c-4cc3-4aac-8714-afe3ca02ba94", + "6263c65f-9aed-4359-9d97-b3e65a59fc91", + 0, + "c86c176e-6e7d-49b4-a65c-62c7d3e36d34", + 0, + "CONDITIONING" + ], + [ + "469693cc-ba2c-4af9-a8f0-082532caf206", + "a1691865-8366-4601-a085-1c1f0885ee3a", + 0, + "69143d3a-ae97-428c-be2c-1adce84fdb71", + 0, + "CONDITIONING" + ], + [ + "89cdd124-a714-4222-86f2-228494f5e6b7", + "c10e1869-b88f-4f88-9c1f-bd07c3ba1cdf", + 0, + "6263c65f-9aed-4359-9d97-b3e65a59fc91", + 0, + "string" + ], + [ + "8fdb3404-be52-4578-a6af-be203a97612c", + "efc39968-f678-4ab0-8998-73aa51e27dfb", + 0, + "a1691865-8366-4601-a085-1c1f0885ee3a", + 0, + "string" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "084703e8-986f-43ba-bead-fc339de8cce5", + "type": "ui/number", + "pos": [ + 1130, + 445 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "74b0ece4-a591-41b1-935d-ed02fa3cec52", + "0791eec7-60ca-4b5d-bf30-c34daef5fb77" + ], + "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": [], + "defaultValue": 8, + "min": 0, + "max": 100, + "step": 0.5, + "precision": 0 + }, + "widgets_values": [ + "8.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 8, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "6dec6532-214e-47e8-9ecf-5151ddcd1ca4", + "type": "ui/combo", + "pos": [ + 1130, + 465 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "bffaf708-3e9f-47c0-aaff-be10bad3cdcb", + "efa2e4eb-d6d2-47a1-b8f7-4fef3d2c5956" + ], + "properties": {}, + "slot_index": 0 + }, + { + "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": "3661b109-0d21-4987-a386-a8e4f53ff6fa", + "type": "ui/combo", + "pos": [ + 1130, + 485 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "46b140b9-fe33-489c-803a-1b7f48ab776b", + "1f48d50a-f904-4501-a953-dd7176e2ffd5" + ], + "properties": {}, + "slot_index": 0 + }, + { + "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": "3e181ad2-d98a-4efa-a634-b23cdca9f3e1", + "type": "basic/reroute", + "pos": [ + 2620, + 230 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "d92857cb-048a-4394-a053-4347bbc88b92", + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "31281b4a-4d23-4e90-8000-6ddf09803d64" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, + { + "id": "7737291d-4469-40bf-ab4f-3bcaf85d81cb", + "type": "basic/reroute", + "pos": [ + 1231, + 227 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "a8d9e1a7-fd03-4f75-8bc8-cb8506b46dac", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "d92857cb-048a-4394-a053-4347bbc88b92" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, + { + "id": "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", + "type": "image/pick_image", + "pos": [ + 2485, + 323 + ], + "size": [ + 210, + 190 + ], + "flags": {}, + "order": 39, + "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": [], + "properties": {} + }, + { + "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": "cdeff152-cd59-4943-a002-8414626e8a1c", + "type": "basic/reroute", + "pos": [ + 2784, + 576 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "be9bbf39-1ac9-4c53-bff0-0bebb6f5b094", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "e735e83c-b418-4c76-a7e8-ae86299e4f30" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, + { + "id": "cf967f03-bf63-49ca-a0ab-01705d340bb8", + "type": "basic/reroute", + "pos": [ + 864, + 576 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "0096af2a-76d5-4820-82a0-1d3eec7e3054", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "be9bbf39-1ac9-4c53-bff0-0bebb6f5b094" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, { "id": "438b9e76-5a39-4e3c-a1e0-0cd338d34518", "type": "graph/subgraph", "pos": [ - 794, - 295 + 573, + 316 ], "size": [ 200, 70 ], "flags": {}, - "order": 8, + "order": 12, "mode": 0, "inputs": [], "outputs": [ @@ -6901,7 +8424,8 @@ "name": "MODEL", "type": "MODEL", "links": [ - "c937873f-5a12-489d-a2d3-d87ccff7efd7" + "c937873f-5a12-489d-a2d3-d87ccff7efd7", + "c63856d5-6d5c-4315-9698-c0b293a92685" ], "properties": {} }, @@ -6909,26 +8433,32 @@ "name": "CLIP", "type": "CLIP", "links": [ - "e14c4726-7283-4ad8-b397-c44a4fdf1d93" + "cbe50ee6-f5d6-406d-9b27-c91cf07c7d7b" ], - "properties": {} + "properties": {}, + "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ - "f26f80aa-abf3-403f-b83e-f2f92e99d0d8" + "f26f80aa-abf3-403f-b83e-f2f92e99d0d8", + "0096af2a-76d5-4820-82a0-1d3eec7e3054" ], - "properties": {} + "properties": {}, + "slot_index": 2 } ], "title": "Model Loader", "properties": { "enabled": true, "tags": [ - "gen" + "gen", + "hr" ] }, + "color": "#2a363b", + "bgColor": "#3f5159", "subgraph": { "last_node_id": 0, "last_link_id": 0, @@ -7327,7 +8857,8 @@ "title": "Comfy.PickFirst", "properties": { "tags": [ - "gen" + "gen", + "hr" ], "mode": "dataNonNull" }, @@ -7335,55 +8866,6 @@ "bgColor": "#353", "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" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, { "id": "4541b0ee-cef0-49a8-9207-3f930463f4e0", "type": "CheckpointLoaderSimple", @@ -7445,7 +8927,58 @@ "title": "Load Checkpoint", "properties": { "tags": [ - "gen" + "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", @@ -7542,110 +9075,4208 @@ } }, { - "id": "5e21407a-fb86-4694-8c1a-77cc4b3f3c39", - "type": "events/filter", + "id": "de5f256a-91ab-42c2-86cd-645066b3c714", + "type": "graph/subgraph", "pos": [ - 1555, - 687 + 2863, + 328 ], "size": [ - 210, - 150 + 200, + 230 ], "flags": {}, - "order": 13, + "order": 40, "mode": 0, "inputs": [ { - "name": "event", - "type": -1, - "link": "75383097-6487-4344-9930-4814b5742aa1", - "properties": {}, - "shape": 1 + "name": "image", + "type": "string", + "link": "02e201d5-1d1e-4340-abd9-85c512cd03e7", + "properties": {} }, { - "name": "compare_value", - "type": "*", - "link": null, + "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": "accept", + "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": 10000, + "step": 1, + "precision": 0 + }, + "widgets_values": [ + "20.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 20, + "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.690" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0.69, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "2b453f7d-e511-4531-aa60-72cea33dd183", + "type": "graph/input", + "pos": [ + 320, + 32 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + "b48b7fdb-0128-492f-b5e2-839b51777dfa", + "c36105ab-4457-4086-be92-5d9c5cfb357d" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "vae", + "type": "VAE", + "value": null, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "10abd4b1-756f-462d-a95e-f557805accef", + "type": "graph/output", + "pos": [ + 1232, + 117 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 46, + "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": "0be96f67-bc13-4d96-b3e3-82de9e4747c5", + "type": "actions/set_prompt_thumbnails", + "pos": [ + 151, + 247 + ], + "size": [ + 260.4, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "filenames", + "type": "*", + "link": "4148f7ed-0768-4d38-93e7-484ab2c18aa3", + "properties": {} + } + ], + "outputs": [], + "title": "Comfy.SetPromptThumbnailsAction", + "properties": { + "tags": [ + "hr" + ], + "defaultFolderType": "input" + }, + "saveUserState": true + }, + { + "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": "ca3b8dec-bf22-48d3-a63f-4b5c40eb6be3", + "type": "VAEEncode", + "pos": [ + 406, + 163 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 32, + "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": "c8b97e4b-8995-4086-bd12-15890994d737", + "properties": {}, + "config": {} + } + ], + "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": "add70fa6-27cf-445a-bcb2-4fdc6857da97", + "type": "actions/notify", + "pos": [ + 663, + -54 + ], + "size": [ + 151.2, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 44, + "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": 10, + "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": 42, + "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": 43, + "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": 11, + "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": 12, + "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": 13, + "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": 14, + "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": 15, + "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": 16, + "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": 31, + "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": 30, + "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": 17, + "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": "2da624e1-3555-4e15-924f-f83650ba1301", + "type": "events/branch", + "pos": [ + 414, + -146 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 40, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "2178013c-b1fb-4f11-bea5-df2be5578b1c", + "properties": {}, + "shape": 1 + }, + { + "name": "cond", + "type": "boolean", + "link": "06aadffb-85c4-4fd5-b2fb-b1988e884f68", + "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": "3baf6d47-78cb-4698-be9a-77d66cb636e4", + "type": "graph/input", + "pos": [ + 70, + 179 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "links": [ + "afd82e76-7f9d-4176-adbc-bb3bcfd5e47e", + "4148f7ed-0768-4d38-93e7-484ab2c18aa3", + "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": [ + 114, + -104 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 27, + "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": [ + 104, + -71 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 28, + "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": "._00001_.png [output]", + "B": "", + "OP": "==", + "enabled": true, + "tags": [] + } + }, + { + "id": "6adceb60-ae44-4544-a149-e45e82767ad4", + "type": "basic/string", + "pos": [ + 39, + -69 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 19, + "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": "176f5889-ed85-4673-bda6-ad7c16b5f242", + "type": "logic/AND", + "pos": [ + 321, + -93 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 38, + "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": [ + "06aadffb-85c4-4fd5-b2fb-b1988e884f68" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "AND", + "properties": { + "tags": [] + } + }, + { + "id": "b3ba21f5-95f6-4d60-85b5-0bc9c53e6ec8", + "type": "logic/NOT", + "pos": [ + 210, + -104 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 33, + "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": "189bd380-0869-4422-9782-435229f3bb1d", + "type": "logic/NOT", + "pos": [ + 203, + -72 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 34, + "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": "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + "type": "KSampler", + "pos": [ + 752, + 95 + ], + "size": [ + 161.2, + 206 + ], + "flags": {}, + "order": 41, + "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": 36, + "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": 35, + "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": 512, + "B": 1.45, + "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": 1.45, + "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": [ + "1.450" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 1.45, + "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": [ + "742" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "742", + "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": [ + "742" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "742", + "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": 20, + "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": "4f24d51e-f352-4d47-b276-bafd200e11de", + "type": "graph/input", + "pos": [ + -33, + 445 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 21, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "0824441f-157f-41fb-a1c2-66013f020194" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "width", + "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": 23, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": "c36105ab-4457-4086-be92-5d9c5cfb357d", + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + "c8b97e4b-8995-4086-bd12-15890994d737" + ], + "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": 22, + "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": 39, + "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": 37, + "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 + } + ], + "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" + ], + [ + "c8b97e4b-8995-4086-bd12-15890994d737", + "186971da-ed44-4d15-b66f-99196e0968d9", + 0, + "d1316cca-081d-4e6a-857e-958d796580e7", + 1, + "VAE" + ], + [ + "928ac2b7-3d97-443b-8c21-84ba1bd0ae54", + "d1316cca-081d-4e6a-857e-958d796580e7", + 0, + "10abd4b1-756f-462d-a95e-f557805accef", + 0, + "IMAGE" + ], + [ + "4148f7ed-0768-4d38-93e7-484ab2c18aa3", + "3baf6d47-78cb-4698-be9a-77d66cb636e4", + 0, + "0be96f67-bc13-4d96-b3e3-82de9e4747c5", + 0, + "string" + ], + [ + "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" + ], + [ + "06aadffb-85c4-4fd5-b2fb-b1988e884f68", + "176f5889-ed85-4673-bda6-ad7c16b5f242", + 0, + "2da624e1-3555-4e15-924f-f83650ba1301", + 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" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "d2b732b7-87b7-4c9e-8a8b-e0a269be4093", + "type": "events/branch", + "pos": [ + 2917.9443851562464, + 1013.0458855468755 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "4a358214-97d1-4ac0-aed9-f6ad87459a01", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "cond", + "type": "boolean", + "link": "a1e177b5-ac2c-4241-b693-660b45c45a2f", + "properties": {} + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", "type": -2, "links": [ - "32fc2993-3360-4911-9965-184662fdd8f8" + "7a2ac556-fe0f-4c91-bd52-49c5e557b2f2" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "08d81d21-6bd4-4abf-b88f-96418ed394ca", + "type": "events/sequence", + "pos": [ + 2965, + 711 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "7a2ac556-fe0f-4c91-bd52-49c5e557b2f2", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "62fc8617-059f-4f94-9d0c-cd769d1e4f1d", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "cc44ddcf-c257-4b72-99d8-4724a68bbdcd" ], "properties": {}, "shape": 1, "slot_index": 0 }, { - "name": "reject", + "name": "", "type": -2, "links": [], "properties": {}, "shape": 1 } ], - "title": "Filter Event", + "title": "Sequence", "properties": { - "compareValue": "gen", - "propertyName": "subgraph", - "mode": "property", - "operation": "==", "tags": [] } - }, - { - "id": "eb08f8f4-50d2-429f-b625-ea69f0e219f6", - "type": "basic/json", - "pos": [ - 1746, - 432 - ], - "size": [ - 210, - 86 - ], - "flags": { - "collapsed": true - }, - "order": 9, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "data", - "type": "object", - "links": [ - "ce514e38-b125-4803-a246-9a66e9f75235" - ], - "properties": {}, - "shape": 0, - "slot_index": 0 - } - ], - "title": "Const JSON", - "properties": { - "json": "null", - "value": "null", - "type": "object", - "tags": [] - }, - "boxcolor": "#AEA" } ], "links": [ - [ - "73188be4-0b2e-4826-a12d-63c05a9bab54", - "e7e68c8c-fa9c-42ab-985e-789c1dc91ae5", - 0, - "d61b7ac0-b5f7-4a88-8226-28f9b017f3f4", - 1, - "string" - ], [ "c937873f-5a12-489d-a2d3-d87ccff7efd7", "438b9e76-5a39-4e3c-a1e0-0cd338d34518", @@ -7654,30 +13285,6 @@ 0, "MODEL" ], - [ - "1ba05715-f1d8-4ac1-bcff-6441d1fa4efe", - "c10e1869-b88f-4f88-9c1f-bd07c3ba1cdf", - 0, - "70361963-27f5-471d-b735-dbe2351a5ebd", - 1, - "string" - ], - [ - "ca750369-fc4a-4efb-b649-5a552c8b440b", - "efc39968-f678-4ab0-8998-73aa51e27dfb", - 0, - "70361963-27f5-471d-b735-dbe2351a5ebd", - 3, - "string" - ], - [ - "e14c4726-7283-4ad8-b397-c44a4fdf1d93", - "438b9e76-5a39-4e3c-a1e0-0cd338d34518", - 1, - "70361963-27f5-471d-b735-dbe2351a5ebd", - 2, - "CLIP" - ], [ "250486b4-7eae-4049-aa6f-1ff826687c9c", "70361963-27f5-471d-b735-dbe2351a5ebd", @@ -7691,7 +13298,7 @@ "438b9e76-5a39-4e3c-a1e0-0cd338d34518", 2, "70361963-27f5-471d-b735-dbe2351a5ebd", - 4, + 3, "VAE" ], [ @@ -7699,7 +13306,7 @@ "f8051ab6-d9f7-44fe-898a-ad26cfde916e", 0, "70361963-27f5-471d-b735-dbe2351a5ebd", - 5, + 4, "number" ], [ @@ -7707,7 +13314,7 @@ "956ef877-9a36-40d4-9f86-e824ff6f6dd5", 0, "70361963-27f5-471d-b735-dbe2351a5ebd", - 6, + 5, "number" ], [ @@ -7813,9 +13420,382 @@ "e41be48f-eb22-4269-93dc-d56a40d57f2c", 1, "object" + ], + [ + "c4ff06f7-3f0a-475b-9d14-48d639bdfdda", + "c5dde6e2-d6a9-4c7e-b396-3083b11573f5", + 0, + "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", + 0, + "COMFYBOX_IMAGES,COMFYBOX_IMAGE" + ], + [ + "ca9c18cc-dfe1-4b64-bbaa-9666f11d6e6d", + "c5dde6e2-d6a9-4c7e-b396-3083b11573f5", + 1, + "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", + 1, + "number" + ], + [ + "817eb77b-92fe-408e-a3f7-9aff4993728d", + "e7e68c8c-fa9c-42ab-985e-789c1dc91ae5", + 0, + "5ea1f249-c68c-4290-aa00-b676a19f5a0c", + 0, + "*" + ], + [ + "3f4c065d-a110-4196-b44f-e615d3645a4d", + "5827b359-e7c6-46b9-86c3-ff12b197c558", + 0, + "5ea1f249-c68c-4290-aa00-b676a19f5a0c", + 1, + "*" + ], + [ + "8770aeee-7c02-418c-a925-36b57fa1d032", + "5ea1f249-c68c-4290-aa00-b676a19f5a0c", + 0, + "d61b7ac0-b5f7-4a88-8226-28f9b017f3f4", + 1, + "string" + ], + [ + "02e201d5-1d1e-4340-abd9-85c512cd03e7", + "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", + 1, + "de5f256a-91ab-42c2-86cd-645066b3c714", + 0, + "string" + ], + [ + "c63856d5-6d5c-4315-9698-c0b293a92685", + "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + 0, + "d02b1827-8ace-49db-95fe-27c218f5e25e", + 0, + "MODEL" + ], + [ + "7bf1ecb5-3b6b-4f44-9c42-c8436c207895", + "d5a2ba8b-f1bc-4830-b00f-ef2543d65d5e", + 0, + "de5f256a-91ab-42c2-86cd-645066b3c714", + 1, + "MODEL" + ], + [ + "f98dfcf1-2d97-42a3-835d-201357467e03", + "d02b1827-8ace-49db-95fe-27c218f5e25e", + 0, + "d5a2ba8b-f1bc-4830-b00f-ef2543d65d5e", + 0, + "" + ], + [ + "dc954f40-1a55-47d5-a1e5-9395203b73f3", + "f8051ab6-d9f7-44fe-898a-ad26cfde916e", + 0, + "9ab5e29a-fcf2-4252-9620-0ce47552c529", + 0, + "number" + ], + [ + "a6141a50-6a98-42ef-accd-acb4823c88da", + "f3ca5c31-3277-495e-b41c-5eff5f263bd7", + 0, + "de5f256a-91ab-42c2-86cd-645066b3c714", + 2, + "number" + ], + [ + "cbe50ee6-f5d6-406d-9b27-c91cf07c7d7b", + "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + 1, + "ac57884f-e48c-4bf5-b98e-191f75c0f2ea", + 0, + "CLIP" + ], + [ + "700ea451-5900-45d2-bf20-b9648d9bbf8d", + "ac57884f-e48c-4bf5-b98e-191f75c0f2ea", + 0, + "70361963-27f5-471d-b735-dbe2351a5ebd", + 1, + "CONDITIONING" + ], + [ + "b13280ea-28b0-4983-8299-665f4f7afed0", + "ac57884f-e48c-4bf5-b98e-191f75c0f2ea", + 1, + "70361963-27f5-471d-b735-dbe2351a5ebd", + 2, + "CONDITIONING" + ], + [ + "3c0ea9e3-005f-4a0f-be04-248cee08632a", + "f723f393-1b70-4056-887c-aeef1217969e", + 0, + "de5f256a-91ab-42c2-86cd-645066b3c714", + 6, + "CONDITIONING" + ], + [ + "a8d9e1a7-fd03-4f75-8bc8-cb8506b46dac", + "ac57884f-e48c-4bf5-b98e-191f75c0f2ea", + 1, + "7737291d-4469-40bf-ab4f-3bcaf85d81cb", + 0, + "CONDITIONING" + ], + [ + "f8299a81-0070-41e2-ace6-bf6fd5a47e73", + "ab681ebc-8042-4e00-807b-c3e505e4ff30", + 0, + "f723f393-1b70-4056-887c-aeef1217969e", + 0, + "" + ], + [ + "31281b4a-4d23-4e90-8000-6ddf09803d64", + "3e181ad2-d98a-4efa-a634-b23cdca9f3e1", + 0, + "de5f256a-91ab-42c2-86cd-645066b3c714", + 7, + "CONDITIONING" + ], + [ + "be9bbf39-1ac9-4c53-bff0-0bebb6f5b094", + "cf967f03-bf63-49ca-a0ab-01705d340bb8", + 0, + "cdeff152-cd59-4943-a002-8414626e8a1c", + 0, + "" + ], + [ + "e735e83c-b418-4c76-a7e8-ae86299e4f30", + "cdeff152-cd59-4943-a002-8414626e8a1c", + 0, + "de5f256a-91ab-42c2-86cd-645066b3c714", + 8, + "VAE" + ], + [ + "3cdba89b-c8f9-43a7-86ea-68562a8ece11", + "9ab5e29a-fcf2-4252-9620-0ce47552c529", + 0, + "f3ca5c31-3277-495e-b41c-5eff5f263bd7", + 0, + "" + ], + [ + "b8a7ec3a-979e-45ea-96bf-213a3f2e4b6c", + "5ea1f249-c68c-4290-aa00-b676a19f5a0c", + 0, + "4b86217c-eac6-4e44-88f1-fba72d182795", + 1, + "string" + ], + [ + "b9634e37-b5f5-48cf-a5d9-a32896302548", + "de5f256a-91ab-42c2-86cd-645066b3c714", + 0, + "4b86217c-eac6-4e44-88f1-fba72d182795", + 0, + "IMAGE" + ], + [ + "cbdd2597-722d-4154-be91-0b46254dc141", + "4b86217c-eac6-4e44-88f1-fba72d182795", + 0, + "0b071e6c-f765-4e31-8125-8c057cddc865", + 0, + -1 + ], + [ + "7568e1d6-8f0c-491e-91a0-fc0b933ea0b0", + "0b071e6c-f765-4e31-8125-8c057cddc865", + 0, + "1ea393e8-e55a-4492-93fd-ce65a0b63084", + 1, + -1 + ], + [ + "1790c44e-0ab7-464f-9139-f2a64b39c996", + "5e21407a-fb86-4694-8c1a-77cc4b3f3c39", + 1, + "8247d831-788d-47b7-98d0-c1e0da4a7c62", + 0, + -1 + ], + [ + "a1e177b5-ac2c-4241-b693-660b45c45a2f", + "63a83c93-647f-4882-84f0-606c4d070e43", + 0, + "d2b732b7-87b7-4c9e-8a8b-e0a269be4093", + 1, + "boolean" + ], + [ + "4a358214-97d1-4ac0-aed9-f6ad87459a01", + "8247d831-788d-47b7-98d0-c1e0da4a7c62", + 0, + "d2b732b7-87b7-4c9e-8a8b-e0a269be4093", + 0, + -1 + ], + [ + "21e19922-b1e8-4b65-a488-cfb746dec0d1", + "17b390f3-8350-4516-914f-817c33037476", + 0, + "fa30235f-388d-4151-9a58-5d65f0ea1155", + 1, + "object" + ], + [ + "76456142-ea56-4684-a6ca-f4fe91417ce7", + "fa30235f-388d-4151-9a58-5d65f0ea1155", + 0, + "0b071e6c-f765-4e31-8125-8c057cddc865", + 1, + -1 + ], + [ + "cc44ddcf-c257-4b72-99d8-4724a68bbdcd", + "08d81d21-6bd4-4abf-b88f-96418ed394ca", + 0, + "fa30235f-388d-4151-9a58-5d65f0ea1155", + 0, + -1 + ], + [ + "62fc8617-059f-4f94-9d0c-cd769d1e4f1d", + "5f099bc5-043a-4658-a6ac-83f01f72eefd", + 0, + "08d81d21-6bd4-4abf-b88f-96418ed394ca", + 1, + -1 + ], + [ + "0096af2a-76d5-4820-82a0-1d3eec7e3054", + "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + 2, + "cf967f03-bf63-49ca-a0ab-01705d340bb8", + 0, + "VAE" + ], + [ + "5d96aeb7-5ed6-4ce7-9e48-c52e3dfe1276", + "ac57884f-e48c-4bf5-b98e-191f75c0f2ea", + 0, + "ab681ebc-8042-4e00-807b-c3e505e4ff30", + 0, + "CONDITIONING" + ], + [ + "74b0ece4-a591-41b1-935d-ed02fa3cec52", + "084703e8-986f-43ba-bead-fc339de8cce5", + 0, + "70361963-27f5-471d-b735-dbe2351a5ebd", + 6, + "number" + ], + [ + "bffaf708-3e9f-47c0-aaff-be10bad3cdcb", + "6dec6532-214e-47e8-9ecf-5151ddcd1ca4", + 0, + "70361963-27f5-471d-b735-dbe2351a5ebd", + 7, + "string" + ], + [ + "46b140b9-fe33-489c-803a-1b7f48ab776b", + "3661b109-0d21-4987-a386-a8e4f53ff6fa", + 0, + "70361963-27f5-471d-b735-dbe2351a5ebd", + 8, + "string" + ], + [ + "0791eec7-60ca-4b5d-bf30-c34daef5fb77", + "084703e8-986f-43ba-bead-fc339de8cce5", + 0, + "de5f256a-91ab-42c2-86cd-645066b3c714", + 3, + "number" + ], + [ + "efa2e4eb-d6d2-47a1-b8f7-4fef3d2c5956", + "6dec6532-214e-47e8-9ecf-5151ddcd1ca4", + 0, + "de5f256a-91ab-42c2-86cd-645066b3c714", + 4, + "string" + ], + [ + "1f48d50a-f904-4501-a953-dd7176e2ffd5", + "3661b109-0d21-4987-a386-a8e4f53ff6fa", + 0, + "de5f256a-91ab-42c2-86cd-645066b3c714", + 5, + "string" + ], + [ + "d92857cb-048a-4394-a053-4347bbc88b92", + "7737291d-4469-40bf-ab4f-3bcaf85d81cb", + 0, + "3e181ad2-d98a-4efa-a634-b23cdca9f3e1", + 0, + "" + ], + [ + "9eed80a4-a47d-48c6-9c8a-63b5fb8026f8", + "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", + 2, + "de5f256a-91ab-42c2-86cd-645066b3c714", + 9, + "number" + ], + [ + "3f5990c7-4b08-4d41-9a46-9a44073eb5e6", + "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", + 3, + "de5f256a-91ab-42c2-86cd-645066b3c714", + 10, + "number" + ], + [ + "7a2ac556-fe0f-4c91-bd52-49c5e557b2f2", + "d2b732b7-87b7-4c9e-8a8b-e0a269be4093", + 1, + "08d81d21-6bd4-4abf-b88f-96418ed394ca", + 0, + -1 ] ], - "groups": [], + "groups": [ + { + "title": "Clear Outputs", + "bounding": [ + 1246, + 658, + 850, + 516 + ], + "color": "#88A" + }, + { + "title": "Clear HR Fix Outputs", + "bounding": [ + 2644, + 615, + 633, + 573 + ], + "color": "#88A" + } + ], "config": {}, "extra": {}, "version": 10 @@ -7872,7 +13852,8 @@ "3ef335f4-9cbc-4914-846f-b71104da1ef1", "6b258844-4787-465b-8b6f-38b169b3b639", "b0a78c4f-3cd7-470a-a0aa-2c6e6bfe4f86", - "7351b30f-72b8-42b9-82a7-80a3350337a6" + "7351b30f-72b8-42b9-82a7-80a3350337a6", + "1bb9866a-9f6a-42e0-8aa3-7cb0f393db71" ], "parent": "35003345-c9e8-46c8-8583-3c40e61b377f" }, @@ -8152,7 +14133,7 @@ "id": "77aacb49-8211-4500-9466-3580583aa1a1", "nodeId": "c10e1869-b88f-4f88-9c1f-bd07c3ba1cdf", "attrs": { - "title": "Positive", + "title": "text", "hidden": false, "disabled": false, "direction": "vertical", @@ -8202,7 +14183,7 @@ "id": "f9e0eb67-3165-46a2-b28f-6dcb4dde07aa", "nodeId": "efc39968-f678-4ab0-8998-73aa51e27dfb", "attrs": { - "title": "Negative", + "title": "text", "hidden": false, "disabled": false, "direction": "vertical", @@ -8794,7 +14775,7 @@ "nodeDisabledState": "hidden", "variant": "accordion", "containerVariant": "block", - "openOnStartup": false, + "openOnStartup": true, "buttonVariant": "primary", "buttonSize": "large", "tags": [ @@ -8914,7 +14895,7 @@ "attrs": { "title": "Width", "hidden": false, - "disabled": false, + "disabled": true, "direction": "vertical", "classes": "", "style": "", @@ -8938,7 +14919,7 @@ "attrs": { "title": "Height", "hidden": false, - "disabled": false, + "disabled": true, "direction": "vertical", "classes": "", "style": "", @@ -9103,9 +15084,536 @@ }, "children": [ "0a49da6f-cd15-428b-b28a-a3623b6e3294", + "471faba8-7f40-4547-98f6-92c06111ebbf", + "caa17007-7a34-4238-99b3-86cfacbd846b", "776f0832-efbb-45a9-a86f-b71b25ae0f82" ], "parent": "dc8657e0-cbf8-472c-8b5d-55d55ae25d1f" + }, + "6ee1a3c9-40fc-4981-a1fa-89d04227e68c": { + "dragItem": { + "type": "widget", + "id": "6ee1a3c9-40fc-4981-a1fa-89d04227e68c", + "nodeId": "b25be03c-47a0-4bab-bd7d-dff944763286", + "attrs": { + "title": "steps", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "cdd98b75-1166-463b-abac-c3ba595008bf" + }, + "8bfe372f-b7b1-40ca-96f2-5859f4b13ac2": { + "dragItem": { + "type": "widget", + "id": "8bfe372f-b7b1-40ca-96f2-5859f4b13ac2", + "nodeId": "fcfb2720-0382-4ca0-bc77-e820858db088", + "attrs": { + "title": "upscale_method", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "4b37045a-839c-4462-b12b-31c586e55d52" + }, + "96bca5ce-1e3d-4e96-9b97-ecaea0666af2": { + "dragItem": { + "type": "widget", + "id": "96bca5ce-1e3d-4e96-9b97-ecaea0666af2", + "nodeId": "3e63c209-da43-42d3-8785-ff6db26868e1", + "attrs": { + "title": "crop", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "4b37045a-839c-4462-b12b-31c586e55d52" + }, + "1bb9866a-9f6a-42e0-8aa3-7cb0f393db71": { + "dragItem": { + "type": "container", + "id": "1bb9866a-9f6a-42e0-8aa3-7cb0f393db71", + "attrs": { + "title": "HR Fix", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "accordion", + "containerVariant": "block", + "openOnStartup": true, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "37911bb4-7ac4-409b-96c7-99c82668f097", + "84a9aa30-46b7-4575-ab1f-0f5f2071c8c1", + "cdd98b75-1166-463b-abac-c3ba595008bf", + "158a0aab-dcc9-4da2-b9eb-fea21755f603", + "4b37045a-839c-4462-b12b-31c586e55d52" + ], + "parent": "f203b596-b87c-493c-b2c1-57f646fdafc7" + }, + "66b6962e-865d-4a75-9bd4-c5181f0ec337": { + "dragItem": { + "type": "widget", + "id": "66b6962e-865d-4a75-9bd4-c5181f0ec337", + "nodeId": "ce549cfe-41ca-4499-8c8f-f3acd411b92c", + "attrs": { + "title": "denoise", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "cdd98b75-1166-463b-abac-c3ba595008bf" + }, + "1031fd9f-c085-441d-8821-ed579b0af334": { + "dragItem": { + "type": "widget", + "id": "1031fd9f-c085-441d-8821-ed579b0af334", + "nodeId": "c10a25d1-3f64-4cb3-847c-684dd97ec516", + "attrs": { + "title": "Upscale", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "margin: 0.2rem !important;", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "secondary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "caa17007-7a34-4238-99b3-86cfacbd846b" + }, + "cdd98b75-1166-463b-abac-c3ba595008bf": { + "dragItem": { + "type": "container", + "id": "cdd98b75-1166-463b-abac-c3ba595008bf", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "6ee1a3c9-40fc-4981-a1fa-89d04227e68c", + "66b6962e-865d-4a75-9bd4-c5181f0ec337" + ], + "parent": "1bb9866a-9f6a-42e0-8aa3-7cb0f393db71" + }, + "4b37045a-839c-4462-b12b-31c586e55d52": { + "dragItem": { + "type": "container", + "id": "4b37045a-839c-4462-b12b-31c586e55d52", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "96bca5ce-1e3d-4e96-9b97-ecaea0666af2", + "8bfe372f-b7b1-40ca-96f2-5859f4b13ac2" + ], + "parent": "1bb9866a-9f6a-42e0-8aa3-7cb0f393db71" + }, + "592d84ac-bc4c-46e7-9ffd-715518cae13c": { + "dragItem": { + "type": "widget", + "id": "592d84ac-bc4c-46e7-9ffd-715518cae13c", + "nodeId": "060493ab-465d-4705-935e-2e53506b2369", + "attrs": { + "title": "⮀", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "flex-grow: 1; min-width: 0", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "secondary", + "buttonSize": "small", + "tags": [] + } + }, + "children": [], + "parent": "84a9aa30-46b7-4575-ab1f-0f5f2071c8c1" + }, + "8cb5e9d5-6295-459f-9639-f5edbf17c1e5": { + "dragItem": { + "type": "widget", + "id": "8cb5e9d5-6295-459f-9639-f5edbf17c1e5", + "nodeId": "760a76a9-1784-4c0a-a107-caec9d5ba23b", + "attrs": { + "title": "width", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "84a9aa30-46b7-4575-ab1f-0f5f2071c8c1" + }, + "afdc6261-19f9-4170-bffb-d6d297ce9580": { + "dragItem": { + "type": "widget", + "id": "afdc6261-19f9-4170-bffb-d6d297ce9580", + "nodeId": "e895b0ce-8df2-42fc-8618-c8b713ca4747", + "attrs": { + "title": "height", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "84a9aa30-46b7-4575-ab1f-0f5f2071c8c1" + }, + "45788830-4723-4a19-bcf2-e2ee9200d530": { + "dragItem": { + "type": "widget", + "id": "45788830-4723-4a19-bcf2-e2ee9200d530", + "nodeId": "26e28942-e1f0-486d-8e22-d97016c1fc89", + "attrs": { + "title": "Scale By", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "84a9aa30-46b7-4575-ab1f-0f5f2071c8c1" + }, + "0c5a9496-585c-4f16-b9cd-40b75563b933": { + "dragItem": { + "type": "widget", + "id": "0c5a9496-585c-4f16-b9cd-40b75563b933", + "nodeId": "ce81af45-6815-4878-8bf2-ccbc5c620e31", + "attrs": { + "title": "Width", + "hidden": false, + "disabled": true, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "158a0aab-dcc9-4da2-b9eb-fea21755f603" + }, + "41feb08e-04d0-45cc-bf98-54c5f0755c34": { + "dragItem": { + "type": "widget", + "id": "41feb08e-04d0-45cc-bf98-54c5f0755c34", + "nodeId": "16b6d36c-edd8-4349-a0f4-9dad35b041ae", + "attrs": { + "title": "Height", + "hidden": false, + "disabled": true, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "158a0aab-dcc9-4da2-b9eb-fea21755f603" + }, + "0476e7a3-2de3-4aba-9b19-ad563a83222e": { + "dragItem": { + "type": "widget", + "id": "0476e7a3-2de3-4aba-9b19-ad563a83222e", + "nodeId": "3ae03484-08e1-4fde-8ff9-47e6250f49d3", + "attrs": { + "title": "Scale Image Size", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "37911bb4-7ac4-409b-96c7-99c82668f097" + }, + "158a0aab-dcc9-4da2-b9eb-fea21755f603": { + "dragItem": { + "type": "container", + "id": "158a0aab-dcc9-4da2-b9eb-fea21755f603", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [ + "hr", + "hrScaleSize" + ] + } + }, + "children": [ + "0c5a9496-585c-4f16-b9cd-40b75563b933", + "41feb08e-04d0-45cc-bf98-54c5f0755c34" + ], + "parent": "1bb9866a-9f6a-42e0-8aa3-7cb0f393db71" + }, + "84a9aa30-46b7-4575-ab1f-0f5f2071c8c1": { + "dragItem": { + "type": "container", + "id": "84a9aa30-46b7-4575-ab1f-0f5f2071c8c1", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "8cb5e9d5-6295-459f-9639-f5edbf17c1e5", + "592d84ac-bc4c-46e7-9ffd-715518cae13c", + "afdc6261-19f9-4170-bffb-d6d297ce9580", + "45788830-4723-4a19-bcf2-e2ee9200d530" + ], + "parent": "1bb9866a-9f6a-42e0-8aa3-7cb0f393db71" + }, + "37911bb4-7ac4-409b-96c7-99c82668f097": { + "dragItem": { + "type": "container", + "id": "37911bb4-7ac4-409b-96c7-99c82668f097", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "0476e7a3-2de3-4aba-9b19-ad563a83222e" + ], + "parent": "1bb9866a-9f6a-42e0-8aa3-7cb0f393db71" + }, + "471faba8-7f40-4547-98f6-92c06111ebbf": { + "dragItem": { + "type": "widget", + "id": "471faba8-7f40-4547-98f6-92c06111ebbf", + "nodeId": "1ea393e8-e55a-4492-93fd-ce65a0b63084", + "attrs": { + "title": "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": "e557874b-4856-42a3-b783-a210f6d0d1dc" + }, + "caa17007-7a34-4238-99b3-86cfacbd846b": { + "dragItem": { + "type": "container", + "id": "caa17007-7a34-4238-99b3-86cfacbd846b", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "1031fd9f-c085-441d-8821-ed579b0af334", + "72684c22-2484-4898-9495-e0519bb5e297" + ], + "parent": "e557874b-4856-42a3-b783-a210f6d0d1dc" + }, + "72684c22-2484-4898-9495-e0519bb5e297": { + "dragItem": { + "type": "widget", + "id": "72684c22-2484-4898-9495-e0519bb5e297", + "nodeId": "26f95ae7-d422-4555-bf69-7de7ef3de87b", + "attrs": { + "title": "Batch Count", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "flex-grow: 30; min-width: 10rem;", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "caa17007-7a34-4238-99b3-86cfacbd846b" } }, "attrs": { @@ -9115,9 +15623,9 @@ }, "canvas": { "offset": [ - -762.4545454545464, - -204.3179 + -1628.911688001945, + -550.9396527286087 ], - "scale": 1 + "scale": 0.8264462809917354 } } diff --git a/src/lib/components/ComfyProperties.svelte b/src/lib/components/ComfyProperties.svelte index 4bdf50c..c3efcb4 100644 --- a/src/lib/components/ComfyProperties.svelte +++ b/src/lib/components/ComfyProperties.svelte @@ -142,7 +142,7 @@ const name = spec.name - console.debug("[ComfyProperties] updateAttribute", spec, value, name, node) + // console.debug("[ComfyProperties] updateAttribute", spec, value, name, node) if (spec.deserialize) value = spec.deserialize(value) @@ -179,7 +179,7 @@ return const name = spec.name - console.warn("[ComfyProperties] updateProperty", name, value) + // console.warn("[ComfyProperties] updateProperty", name, value) if (spec.deserialize) value = spec.deserialize(value) @@ -215,7 +215,7 @@ const name = spec.name - console.debug("[ComfyProperties] updateVar", spec, value, name, node) + // console.debug("[ComfyProperties] updateVar", spec, value, name, node) if (spec.deserialize) value = spec.deserialize(value) @@ -250,7 +250,7 @@ return; const name = spec.name - console.warn("[ComfyProperties] updateWorkflowAttribute", name, value) + // console.warn("[ComfyProperties] updateWorkflowAttribute", name, value) const prevValue = value $layoutState.attrs[name] = value