From a0bbdfe7c4a1bdda86c5f5c01f4b760df63d1ec4 Mon Sep 17 00:00:00 2001 From: space-nuko <24979496+space-nuko@users.noreply.github.com> Date: Sat, 6 May 2023 19:53:44 -0500 Subject: [PATCH] Update defaultGraph --- src/lib/defaultGraph.ts | 2375 ++++++++++++++++++++++++++++----------- 1 file changed, 1721 insertions(+), 654 deletions(-) diff --git a/src/lib/defaultGraph.ts b/src/lib/defaultGraph.ts index ae54866..aeb17e0 100644 --- a/src/lib/defaultGraph.ts +++ b/src/lib/defaultGraph.ts @@ -4,8 +4,8 @@ const defaultGraph: SerializedAppState = { createdBy: "ComfyBox", version: 1, workflow: { - last_node_id: 149, - last_link_id: 221, + last_node_id: 156, + last_link_id: 234, nodes: [ { id: 33, @@ -28,6 +28,12 @@ const defaultGraph: SerializedAppState = { name: "value", type: "string", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -51,7 +57,9 @@ const defaultGraph: SerializedAppState = { multiline: true, hidden: false }, - widgets_values: [""], + widgets_values: [ + "a fluffy corgi wearing sunglasses" + ], color: "#223", bgColor: "#335", comfyValue: "a fluffy corgi wearing sunglasses", @@ -78,6 +86,12 @@ const defaultGraph: SerializedAppState = { name: "value", type: "string", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -102,7 +116,7 @@ const defaultGraph: SerializedAppState = { hidden: false }, widgets_values: [ - "" + "worst quality" ], color: "#223", bgColor: "#335", @@ -130,6 +144,12 @@ const defaultGraph: SerializedAppState = { name: "value", type: "number", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -178,11 +198,11 @@ const defaultGraph: SerializedAppState = { hidden: false }, widgets_values: [ - "1.000" + "4.000" ], color: "#223", bgColor: "#335", - comfyValue: 1, + comfyValue: 4, shownOutputProperties: { min: { type: "number", @@ -223,6 +243,12 @@ const defaultGraph: SerializedAppState = { name: "value", type: "string", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -243,11 +269,11 @@ const defaultGraph: SerializedAppState = { title: "UI.Combo", properties: { defaultValue: "", - values: [ - ], + values: [], hidden: false }, widgets_values: [ + "" ], color: "#223", bgColor: "#335", @@ -275,6 +301,12 @@ const defaultGraph: SerializedAppState = { name: "value", type: "string", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -295,8 +327,7 @@ const defaultGraph: SerializedAppState = { title: "UI.Combo", properties: { defaultValue: "", - values: [ - ] + values: [] }, widgets_values: [ "" @@ -307,208 +338,32 @@ const defaultGraph: SerializedAppState = { shownOutputProperties: {} }, { - id: 81, - type: "ui/slider", + id: 91, + type: "ui/combo", pos: [ - -378.1190268824409, - 177.68165265758233 + 1388.6643069580841, + 200.96841416456488 ], size: [ 210, - 158 + 78 ], flags: { collapsed: true }, order: 5, mode: 0, - inputs: [ - { - name: "value", - type: "number", - link: null - } - ], - outputs: [ - { - name: "value", - type: "number", - links: [ - 106 - ] - }, - { - name: "changed", - type: -2, - links: null, - shape: 1 - }, - { - name: "min", - type: "number", - links: null - }, - { - name: "max", - type: "number", - links: null - }, - { - name: "step", - type: "number", - links: null - }, - { - name: "precision", - type: "number", - links: null - } - ], - title: "UI.Slider", - properties: { - defaultValue: 1, - min: -10, - max: 10, - step: 0.01, - precision: 0 - }, - widgets_values: [ - "1.000" - ], - color: "#223", - bgColor: "#335", - comfyValue: 1, - shownOutputProperties: { - min: { - type: "number", - index: 2 - }, - max: { - type: "number", - index: 3 - }, - step: { - type: "number", - index: 4 - }, - precision: { - type: "number", - index: 5 - } - } - }, - { - id: 82, - type: "ui/slider", - pos: [ - -378.11902688244066, - 209.66065265758203 - ], - size: [ - 210, - 158 - ], - flags: { - collapsed: true - }, - order: 6, - mode: 0, - inputs: [ - { - name: "value", - type: "number", - link: null - } - ], - outputs: [ - { - name: "value", - type: "number", - links: [ - 107 - ] - }, - { - name: "changed", - type: -2, - links: null, - shape: 1 - }, - { - name: "min", - type: "number", - links: null - }, - { - name: "max", - type: "number", - links: null - }, - { - name: "step", - type: "number", - links: null - }, - { - name: "precision", - type: "number", - links: null - } - ], - title: "UI.Slider", - properties: { - defaultValue: 1, - min: -10, - max: 10, - step: 0.01, - precision: 0 - }, - widgets_values: [ - "1.000" - ], - color: "#223", - bgColor: "#335", - comfyValue: 1, - shownOutputProperties: { - min: { - type: "number", - index: 2 - }, - max: { - type: "number", - index: 3 - }, - step: { - type: "number", - index: 4 - }, - precision: { - type: "number", - index: 5 - } - } - }, - { - id: 91, - type: "ui/combo", - pos: [ - 1170.2263769190229, - 217.6416866206195 - ], - size: [ - 210, - 78 - ], - flags: { - collapsed: true - }, - order: 7, - mode: 0, inputs: [ { name: "value", type: "string", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -547,8 +402,8 @@ const defaultGraph: SerializedAppState = { id: 94, type: "ui/combo", pos: [ - 1170.2263769190229, - 277.64168662061996 + 1388.6643069580841, + 260.96841416456544 ], size: [ 210, @@ -557,13 +412,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 8, + order: 6, mode: 0, inputs: [ { name: "value", type: "string", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -609,7 +470,7 @@ const defaultGraph: SerializedAppState = { 66 ], flags: {}, - order: 65, + order: 71, mode: 0, inputs: [ { @@ -684,7 +545,7 @@ const defaultGraph: SerializedAppState = { 46 ], flags: {}, - order: 68, + order: 74, mode: 0, inputs: [ { @@ -726,8 +587,8 @@ const defaultGraph: SerializedAppState = { id: 109, type: "ui/button", pos: [ - 1205.8968569656208, - 358.13717152021474 + 1424.334787004682, + 341.46389906416016 ], size: [ 210, @@ -736,7 +597,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 9, + order: 7, mode: 0, inputs: [], outputs: [ @@ -758,6 +619,7 @@ const defaultGraph: SerializedAppState = { title: "UI.Button", properties: { defaultValue: false, + param: "bang", message: "bang" }, widgets_values: [ @@ -780,7 +642,7 @@ const defaultGraph: SerializedAppState = { 206 ], flags: {}, - order: 63, + order: 69, mode: 0, inputs: [ { @@ -938,13 +800,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 10, + order: 8, mode: 0, inputs: [ { name: "value", type: "string", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -976,11 +844,11 @@ const defaultGraph: SerializedAppState = { hidden: false }, widgets_values: [ - "karras" + "normal" ], color: "#223", bgColor: "#335", - comfyValue: "karras", + comfyValue: "normal", shownOutputProperties: {} }, { @@ -997,13 +865,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 11, + order: 9, mode: 0, inputs: [ { name: "value", type: "number", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -1091,13 +965,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 12, + order: 10, mode: 0, inputs: [ { name: "value", type: "string", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -1160,7 +1040,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 13, + order: 11, mode: 0, inputs: [], outputs: [ @@ -1183,8 +1063,8 @@ const defaultGraph: SerializedAppState = { id: 22, type: "ui/slider", pos: [ - 1248.547856965623, - 130.28917152021444 + 1466.9857870046842, + 113.61589906415983 ], size: [ 210, @@ -1193,13 +1073,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 14, + order: 12, mode: 0, inputs: [ { name: "value", type: "number", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -1248,11 +1134,11 @@ const defaultGraph: SerializedAppState = { hidden: true }, widgets_values: [ - "0.790" + "0.500" ], color: "#223", bgColor: "#335", - comfyValue: 0.79, + comfyValue: 0.5, shownOutputProperties: { min: { type: "number", @@ -1276,8 +1162,8 @@ const defaultGraph: SerializedAppState = { id: 121, type: "ui/slider", pos: [ - 1240.5478569656227, - -11.710828479784823 + 1458.985787004684, + -28.384100935839506 ], size: [ 210, @@ -1286,13 +1172,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 15, + order: 13, mode: 0, inputs: [ { name: "value", type: "number", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -1340,11 +1232,11 @@ const defaultGraph: SerializedAppState = { precision: 0 }, widgets_values: [ - "22.000" + "20.000" ], color: "#223", bgColor: "#335", - comfyValue: 22, + comfyValue: 20, shownOutputProperties: { min: { type: "number", @@ -1376,7 +1268,7 @@ const defaultGraph: SerializedAppState = { 46 ], flags: {}, - order: 41, + order: 47, mode: 0, inputs: [ { @@ -1431,7 +1323,7 @@ const defaultGraph: SerializedAppState = { 46 ], flags: {}, - order: 42, + order: 48, mode: 0, inputs: [ { @@ -1474,73 +1366,19 @@ const defaultGraph: SerializedAppState = { "hr" ] }, - { - id: 103, - type: "ui/gallery", - pos: [ - 1833.5478569656261, - 93.28917152021494 - ], - size: [ - 210, - 98 - ], - flags: {}, - order: 45, - mode: 0, - inputs: [ - { - name: "images", - type: "IMAGE", - link: 142 - }, - { - name: "store", - type: -1, - link: 141, - shape: 1 - }, - { - name: "clear", - type: -1, - link: 218, - shape: 1 - } - ], - outputs: [ - { - name: "selected_index", - type: "number", - links: null - } - ], - title: "UI.Gallery", - properties: { - defaultValue: [], - index: 0, - updateMode: "append" - }, - widgets_values: [ - "Images: 0" - ], - color: "#223", - bgColor: "#335", - comfyValue: [], - shownOutputProperties: {} - }, { id: 99, type: "VAEEncode", pos: [ - 991.863156965622, - 88.52017152021514 + 1210.3010870046833, + 71.84689906416044 ], size: [ 210, 46 ], flags: {}, - order: 76, + order: 82, mode: 0, inputs: [ { @@ -1576,15 +1414,15 @@ const defaultGraph: SerializedAppState = { id: 110, type: "actions/execute_subgraph", pos: [ - 1339.5478569656225, - 329.2891715202148 + 1557.9857870046837, + 312.6158990641602 ], size: [ 226.79999999999998, 46 ], flags: {}, - order: 32, + order: 33, mode: 0, inputs: [ { @@ -1605,77 +1443,19 @@ const defaultGraph: SerializedAppState = { tag: "hr" } }, - { - id: 104, - type: "ui/gallery", - pos: [ - 862.248693361997, - 640.4778575549986 - ], - size: [ - 210, - 98 - ], - flags: {}, - order: 46, - mode: 0, - inputs: [ - { - name: "images", - type: "OUTPUT", - link: 144 - }, - { - name: "store", - type: -1, - link: 145, - shape: 1 - }, - { - name: "clear", - type: -1, - link: 221, - shape: 1 - } - ], - outputs: [ - { - name: "selected_index", - type: "number", - links: [ - 168, - 184 - ], - slot_index: 0 - } - ], - title: "UI.Gallery", - properties: { - defaultValue: [], - index: 0, - updateMode: "append" - }, - widgets_values: [ - "Images: 5" - ], - color: "#223", - bgColor: "#335", - comfyValue: [], - shownOutputProperties: {} - }, { id: 102, type: "actions/on_executed", pos: [ - 1624.5478569656225, - 92.28917152021496 + 1842.9857870046837, + 75.61589906416026 ], size: [ 176.4, 46 ], flags: {}, - order: 44, + order: 50, mode: 0, inputs: [ { @@ -1709,7 +1489,7 @@ const defaultGraph: SerializedAppState = { images: { images: [ { - filename: "ComfyUI_01019_.png", + filename: "ComfyUI_01228_.png", subfolder: "", type: "output" } @@ -1722,8 +1502,8 @@ const defaultGraph: SerializedAppState = { id: 122, type: "actions/notify", pos: [ - 1827.5478569656257, - 267.28917152021523 + 2045.9857870046853, + 250.61589906416074 ], size: [ 151.2, @@ -1732,7 +1512,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 53, + order: 59, mode: 0, inputs: [ { @@ -1768,7 +1548,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 73, + order: 79, mode: 0, inputs: [ { @@ -1804,7 +1584,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: false }, - order: 47, + order: 53, mode: 0, inputs: [ { @@ -1841,7 +1621,22 @@ const defaultGraph: SerializedAppState = { images: { images: [ { - filename: "ComfyUI_01014_.png", + filename: "ComfyUI_01224_.png", + subfolder: "", + type: "output" + }, + { + filename: "ComfyUI_01225_.png", + subfolder: "", + type: "output" + }, + { + filename: "ComfyUI_01226_.png", + subfolder: "", + type: "output" + }, + { + filename: "ComfyUI_01227_.png", subfolder: "", type: "output" } @@ -1864,14 +1659,14 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 51, + order: 57, mode: 0, inputs: [ { name: "value", type: 0, link: 184, - label: "3.000" + label: "0.000" } ], outputs: [], @@ -1892,7 +1687,7 @@ const defaultGraph: SerializedAppState = { 106 ], flags: {}, - order: 38, + order: 46, mode: 0, inputs: [ { @@ -1989,7 +1784,7 @@ const defaultGraph: SerializedAppState = { 66 ], flags: {}, - order: 31, + order: 32, mode: 0, inputs: [ { @@ -1997,8 +1792,7 @@ const defaultGraph: SerializedAppState = { type: "string", link: 97, config: { - values: [ - ], + values: [], defaultValue: "" }, widgetNodeType: "ui/combo", @@ -2029,7 +1823,7 @@ const defaultGraph: SerializedAppState = { links: [ 101, 133, - 136 + 234 ], slot_index: 2 } @@ -2057,7 +1851,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 71, + order: 77, mode: 0, inputs: [ { @@ -2087,13 +1881,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 16, + order: 14, mode: 0, inputs: [ { name: "value", type: "string", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -2146,7 +1946,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 17, + order: 15, mode: 0, inputs: [], outputs: [ @@ -2168,8 +1968,8 @@ const defaultGraph: SerializedAppState = { id: 123, type: "basic/string", pos: [ - 1827.5478569656257, - 238.289171520215 + 2045.9857870046853, + 221.61589906416032 ], size: [ 210, @@ -2178,7 +1978,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 18, + order: 16, mode: 0, inputs: [], outputs: [ @@ -2200,8 +2000,8 @@ const defaultGraph: SerializedAppState = { id: 111, type: "basic/string", pos: [ - 1242.5478569656227, - 380.289171520215 + 1460.985787004684, + 363.61589906416043 ], size: [ 210, @@ -2210,7 +2010,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 19, + order: 17, mode: 0, inputs: [], outputs: [ @@ -2240,7 +2040,7 @@ const defaultGraph: SerializedAppState = { 46 ], flags: {}, - order: 74, + order: 80, mode: 0, inputs: [ { @@ -2284,15 +2084,15 @@ const defaultGraph: SerializedAppState = { id: 119, type: "KSampler", pos: [ - 1350.9812029656248, - -73.2546714797851 + 1569.419133004686, + -89.92794393583983 ], size: [ 241.79999999999998, 206 ], flags: {}, - order: 52, + order: 58, mode: 0, inputs: [ { @@ -2440,85 +2240,6 @@ const defaultGraph: SerializedAppState = { "hr" ] }, - { - id: 116, - type: "image/cache", - pos: [ - 869, - 459 - ], - size: [ - 210, - 142 - ], - flags: {}, - order: 50, - mode: 0, - inputs: [ - { - name: "images", - type: "OUTPUT", - link: 162, - slot_index: 0 - }, - { - name: "index", - type: "number", - link: 168 - }, - { - name: "store", - type: -1, - link: 163, - shape: 1, - slot_index: 2 - }, - { - name: "clear", - type: -1, - link: null, - shape: 1 - } - ], - outputs: [ - { - name: "filename", - type: "string", - links: [ - 164 - ], - slot_index: 0 - }, - { - name: "state", - type: "string", - links: [ - 165 - ], - slot_index: 1 - } - ], - title: "Comfy.ImageCache", - properties: { - images: { - images: [ - { - filename: "ComfyUI_01014_.png", - subfolder: "", - type: "output" - } - ] - }, - index: 0, - filenames: { - 0: { - filename: "ComfyUI_01014_.png", - status: "cached" - } - }, - genNumber: 43 - } - }, { id: 108, type: "ui/text", @@ -2533,13 +2254,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 48, + order: 54, mode: 0, inputs: [ { name: "value", type: "string", link: 165 + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -2582,7 +2309,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 20, + order: 18, mode: 0, inputs: [], outputs: [ @@ -2615,13 +2342,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 21, + order: 19, mode: 0, inputs: [ { name: "value", type: "number", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -2670,11 +2403,11 @@ const defaultGraph: SerializedAppState = { hidden: false }, widgets_values: [ - "27.000" + "20.000" ], color: "#223", bgColor: "#335", - comfyValue: 27, + comfyValue: 20, shownOutputProperties: { min: { type: "number", @@ -2706,7 +2439,7 @@ const defaultGraph: SerializedAppState = { 66 ], flags: {}, - order: 70, + order: 76, mode: 0, inputs: [ { @@ -2756,7 +2489,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 22, + order: 20, mode: 0, inputs: [], outputs: [ @@ -2798,7 +2531,7 @@ const defaultGraph: SerializedAppState = { 126 ], flags: {}, - order: 69, + order: 75, mode: 0, inputs: [ { @@ -2854,7 +2587,7 @@ const defaultGraph: SerializedAppState = { ], title: "Comfy.ValueControl", properties: { - value: 768031073308178, + value: 736802441844388, action: "randomize", min: 0, max: 18446744073709552000, @@ -2875,7 +2608,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 64, + order: 70, mode: 0, inputs: [ { @@ -2883,6 +2616,12 @@ const defaultGraph: SerializedAppState = { type: "number", link: 67, slot_index: 0 + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -2942,11 +2681,11 @@ const defaultGraph: SerializedAppState = { hidden: false }, widgets_values: [ - "768031073308178.000" + "736802441844388.000" ], color: "#223", bgColor: "#335", - comfyValue: 768031073308178, + comfyValue: 736802441844388, shownOutputProperties: { min: { type: "number", @@ -2980,7 +2719,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 33, + order: 34, mode: 0, inputs: [ { @@ -3007,7 +2746,7 @@ const defaultGraph: SerializedAppState = { title: "Operation", properties: { A: 1, - B: 1, + B: 4, OP: "+" } }, @@ -3025,7 +2764,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 34, + order: 35, mode: 0, inputs: [ { @@ -3076,7 +2815,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 23, + order: 21, mode: 0, inputs: [], outputs: [ @@ -3098,15 +2837,15 @@ const defaultGraph: SerializedAppState = { id: 112, type: "LoadImage", pos: [ - 990, - -26 + 1208.4379300390613, + -42.6732724560547 ], size: [ 210, 46 ], flags: {}, - order: 49, + order: 55, mode: 0, inputs: [ { @@ -3114,7 +2853,434 @@ const defaultGraph: SerializedAppState = { type: "string", link: 164, config: { - values: [], + values: [ + "ComfyUI_00527_.png", + "ComfyUI_00535_.png", + "ComfyUI_00536_.png", + "ComfyUI_00537_.png", + "ComfyUI_00538_.png", + "ComfyUI_00539_.png", + "ComfyUI_00540_.png", + "ComfyUI_00541_.png", + "ComfyUI_00542_.png", + "ComfyUI_00543_.png", + "ComfyUI_00545_.png", + "ComfyUI_00546_.png", + "ComfyUI_00547_.png", + "ComfyUI_00548_.png", + "ComfyUI_00549_.png", + "ComfyUI_00550_.png", + "ComfyUI_00551_.png", + "ComfyUI_00552_.png", + "ComfyUI_00553_.png", + "ComfyUI_00554_.png", + "ComfyUI_00555_.png", + "ComfyUI_00556_.png", + "ComfyUI_00557_.png", + "ComfyUI_00561_.png", + "ComfyUI_00577_.png", + "ComfyUI_00581_.png", + "ComfyUI_00585_.png", + "ComfyUI_00586_.png", + "ComfyUI_00587_.png", + "ComfyUI_00588_.png", + "ComfyUI_00589_.png", + "ComfyUI_00590_.png", + "ComfyUI_00591_.png", + "ComfyUI_00592_.png", + "ComfyUI_00593_.png", + "ComfyUI_00595_.png", + "ComfyUI_00596_.png", + "ComfyUI_00597_.png", + "ComfyUI_00600_.png", + "ComfyUI_00605_.png", + "ComfyUI_00607_.png", + "ComfyUI_00609_.png", + "ComfyUI_00613_.png", + "ComfyUI_00617_.png", + "ComfyUI_00618_.png", + "ComfyUI_00619_.png", + "ComfyUI_00620_.png", + "ComfyUI_00621_.png", + "ComfyUI_00622_.png", + "ComfyUI_00623_.png", + "ComfyUI_00624_.png", + "ComfyUI_00625_.png", + "ComfyUI_00626_.png", + "ComfyUI_00628_.png", + "ComfyUI_00629_.png", + "ComfyUI_00633_.png", + "ComfyUI_00636_.png", + "ComfyUI_00637_.png", + "ComfyUI_00641_.png", + "ComfyUI_00645_.png", + "ComfyUI_00649_.png", + "ComfyUI_00653_.png", + "ComfyUI_00654_.png", + "ComfyUI_00655_.png", + "ComfyUI_00656_.png", + "ComfyUI_00657_.png", + "ComfyUI_00658_.png", + "ComfyUI_00659_.png", + "ComfyUI_00660_.png", + "ComfyUI_00661_.png", + "ComfyUI_00662_.png", + "ComfyUI_00663_.png", + "ComfyUI_00664_.png", + "ComfyUI_00665_.png", + "ComfyUI_00669_.png", + "ComfyUI_00670_.png", + "ComfyUI_00671_.png", + "ComfyUI_00672_.png", + "ComfyUI_00673_.png", + "ComfyUI_00677_.png", + "ComfyUI_00678_.png", + "ComfyUI_00679_.png", + "ComfyUI_00680_.png", + "ComfyUI_00681_.png", + "ComfyUI_00682_ (1).png", + "ComfyUI_00682_.png", + "ComfyUI_00683_ (1).png", + "ComfyUI_00683_.png", + "ComfyUI_00684_.png", + "ComfyUI_00685_.png", + "ComfyUI_00686_.png", + "ComfyUI_00687_.png", + "ComfyUI_00688_.png", + "ComfyUI_00689_.png", + "ComfyUI_00690_.png", + "ComfyUI_00691_.png", + "ComfyUI_00692_.png", + "ComfyUI_00693_.png", + "ComfyUI_00697_.png", + "ComfyUI_00698_.png", + "ComfyUI_00699_.png", + "ComfyUI_00700_.png", + "ComfyUI_00701_.png", + "ComfyUI_00703_.png", + "ComfyUI_00704_.png", + "ComfyUI_00705_.png", + "ComfyUI_00706_.png", + "ComfyUI_00707_.png", + "ComfyUI_00708_.png", + "ComfyUI_00709_.png", + "ComfyUI_00710_.png", + "ComfyUI_00711_.png", + "ComfyUI_00713_.png", + "ComfyUI_00714_.png", + "ComfyUI_00715_.png", + "ComfyUI_00716_.png", + "ComfyUI_00717_.png", + "ComfyUI_00718_.png", + "ComfyUI_00719_.png", + "ComfyUI_00720_.png", + "ComfyUI_00721_.png", + "ComfyUI_00722_.png", + "ComfyUI_00723_.png", + "ComfyUI_00724_.png", + "ComfyUI_00725_.png", + "ComfyUI_00729_.png", + "ComfyUI_00730_.png", + "ComfyUI_00731_.png", + "ComfyUI_00732_.png", + "ComfyUI_00733_.png", + "ComfyUI_00737_.png", + "ComfyUI_00745_.png", + "ComfyUI_00749_.png", + "ComfyUI_00753_.png", + "ComfyUI_00757_.png", + "ComfyUI_00761_.png", + "ComfyUI_00765_.png", + "ComfyUI_00769_.png", + "ComfyUI_00777_.png", + "ComfyUI_00781_.png", + "ComfyUI_00783_.png", + "ComfyUI_00784_.png", + "ComfyUI_00785_.png", + "ComfyUI_00786_.png", + "ComfyUI_00787_.png", + "ComfyUI_00788_.png", + "ComfyUI_00789_.png", + "ComfyUI_00792_.png", + "ComfyUI_00793_.png", + "ComfyUI_00794_.png", + "ComfyUI_00795_.png", + "ComfyUI_00796_.png", + "ComfyUI_00797_.png", + "ComfyUI_00798_.png", + "ComfyUI_00799_.png", + "ComfyUI_00800_.png", + "ComfyUI_00801_.png", + "ComfyUI_00802_.png", + "ComfyUI_00803_.png", + "ComfyUI_00804_.png", + "ComfyUI_00805_.png", + "ComfyUI_00806_.png", + "ComfyUI_00807_.png", + "ComfyUI_00808_.png", + "ComfyUI_00809_.png", + "ComfyUI_00810_.png", + "ComfyUI_00811_.png", + "ComfyUI_00812_.png", + "ComfyUI_00813_.png", + "ComfyUI_00814_.png", + "ComfyUI_00815_.png", + "ComfyUI_00816_.png", + "ComfyUI_00817_.png", + "ComfyUI_00818_.png", + "ComfyUI_00819_.png", + "ComfyUI_00820_.png", + "ComfyUI_00821_.png", + "ComfyUI_00822_.png", + "ComfyUI_00823_.png", + "ComfyUI_00824_.png", + "ComfyUI_00825_.png", + "ComfyUI_00829_.png", + "ComfyUI_00830_.png", + "ComfyUI_00831_.png", + "ComfyUI_00832_.png", + "ComfyUI_00839_.png", + "ComfyUI_00842_.png", + "ComfyUI_00843_.png", + "ComfyUI_00844_.png", + "ComfyUI_00846_.png", + "ComfyUI_00848_ (1).png", + "ComfyUI_00848_.png", + "ComfyUI_00849_.png", + "ComfyUI_00850_.png", + "ComfyUI_00851_.png", + "ComfyUI_00854_ (1).png", + "ComfyUI_00854_.png", + "ComfyUI_00855_.png", + "ComfyUI_00856_.png", + "ComfyUI_00857_.png", + "ComfyUI_00859_ (1).png", + "ComfyUI_00859_.png", + "ComfyUI_00860_.png", + "ComfyUI_00861_.png", + "ComfyUI_00862_.png", + "ComfyUI_00864_ (1).png", + "ComfyUI_00864_.png", + "ComfyUI_00865_.png", + "ComfyUI_00866_.png", + "ComfyUI_00867_.png", + "ComfyUI_00869_.png", + "ComfyUI_00870_.png", + "ComfyUI_00871_.png", + "ComfyUI_00872_.png", + "ComfyUI_00874_.png", + "ComfyUI_00875_.png", + "ComfyUI_00876_.png", + "ComfyUI_00877_.png", + "ComfyUI_00878_.png", + "ComfyUI_00879_.png", + "ComfyUI_00880_.png", + "ComfyUI_00881_.png", + "ComfyUI_00883_.png", + "ComfyUI_00884_.png", + "ComfyUI_00885_.png", + "ComfyUI_00889_.png", + "ComfyUI_00890_.png", + "ComfyUI_00891_.png", + "ComfyUI_00892_.png", + "ComfyUI_00894_.png", + "ComfyUI_00895_.png", + "ComfyUI_00896_.png", + "ComfyUI_00897_.png", + "ComfyUI_00898_.png", + "ComfyUI_00899_.png", + "ComfyUI_00900_.png", + "ComfyUI_00901_.png", + "ComfyUI_00904_.png", + "ComfyUI_00905_.png", + "ComfyUI_00914_.png", + "ComfyUI_00915_.png", + "ComfyUI_00916_.png", + "ComfyUI_00917_.png", + "ComfyUI_00920_.png", + "ComfyUI_00922_.png", + "ComfyUI_00923_.png", + "ComfyUI_00926_ (1).png", + "ComfyUI_00926_.png", + "ComfyUI_00927_.png", + "ComfyUI_00928_.png", + "ComfyUI_00929_.png", + "ComfyUI_00933_.png", + "ComfyUI_00934_.png", + "ComfyUI_00935_.png", + "ComfyUI_00936_.png", + "ComfyUI_00943_.png", + "ComfyUI_00944_.png", + "ComfyUI_00945_.png", + "ComfyUI_00946_.png", + "ComfyUI_00947_.png", + "ComfyUI_00951_.png", + "ComfyUI_00955_.png", + "ComfyUI_00959_.png", + "ComfyUI_00963_.png", + "ComfyUI_00967_.png", + "ComfyUI_00971_.png", + "ComfyUI_00975_.png", + "ComfyUI_00976_.png", + "ComfyUI_00977_.png", + "ComfyUI_00978_ (1).png", + "ComfyUI_00978_.png", + "ComfyUI_00982_ (1).png", + "ComfyUI_00982_.png", + "ComfyUI_00986_ (1).png", + "ComfyUI_00986_.png", + "ComfyUI_00990_ (1).png", + "ComfyUI_00990_.png", + "ComfyUI_00991_ (1).png", + "ComfyUI_00991_.png", + "ComfyUI_00995_ (1).png", + "ComfyUI_00995_.png", + "ComfyUI_00996_.png", + "ComfyUI_00997_.png", + "ComfyUI_01001_.png", + "ComfyUI_01002_.png", + "ComfyUI_01003_.png", + "ComfyUI_01004_.png", + "ComfyUI_01005_.png", + "ComfyUI_01006_.png", + "ComfyUI_01007_.png", + "ComfyUI_01008_.png", + "ComfyUI_01009_.png", + "ComfyUI_01010_.png", + "ComfyUI_01011_.png", + "ComfyUI_01012_.png", + "ComfyUI_01013_.png", + "ComfyUI_01014_.png", + "ComfyUI_01028_.png", + "ComfyUI_01031_ (1).png", + "ComfyUI_01031_.png", + "ComfyUI_01032_ (1).png", + "ComfyUI_01032_.png", + "ComfyUI_01036_.png", + "ComfyUI_01037_.png", + "ComfyUI_01041_.png", + "ComfyUI_01042_.png", + "ComfyUI_01043_.png", + "ComfyUI_01044_.png", + "ComfyUI_01049_.png", + "ComfyUI_01050_.png", + "ComfyUI_01051_.png", + "ComfyUI_01052_.png", + "ComfyUI_01053_.png", + "ComfyUI_01057_.png", + "ComfyUI_01058_.png", + "ComfyUI_01059_.png", + "ComfyUI_01063_ (1).png", + "ComfyUI_01063_.png", + "ComfyUI_01064_.png", + "ComfyUI_01065_ (1).png", + "ComfyUI_01065_.png", + "ComfyUI_01069_ (1).png", + "ComfyUI_01069_.png", + "ComfyUI_01073_.png", + "ComfyUI_01074_.png", + "ComfyUI_01075_.png", + "ComfyUI_01076_.png", + "ComfyUI_01077_ (1).png", + "ComfyUI_01077_.png", + "ComfyUI_01078_.png", + "ComfyUI_01079_.png", + "ComfyUI_01080_.png", + "ComfyUI_01081_.png", + "ComfyUI_01085_.png", + "ComfyUI_01088_.png", + "ComfyUI_01089_.png", + "ComfyUI_01091_.png", + "ComfyUI_01093_.png", + "ComfyUI_01095_.png", + "ComfyUI_01096_.png", + "ComfyUI_01097_.png", + "ComfyUI_01098_.png", + "ComfyUI_01099_.png", + "ComfyUI_01100_.png", + "ComfyUI_01102_.png", + "ComfyUI_01103_.png", + "ComfyUI_01104_.png", + "ComfyUI_01105_.png", + "ComfyUI_01107_.png", + "ComfyUI_01108_.png", + "ComfyUI_01109_.png", + "ComfyUI_01110_.png", + "ComfyUI_01111_.png", + "ComfyUI_01112_.png", + "ComfyUI_01113_.png", + "ComfyUI_01114_.png", + "ComfyUI_01118_.png", + "ComfyUI_01122_.png", + "ComfyUI_01123_.png", + "ComfyUI_01124_.png", + "ComfyUI_01125_.png", + "ComfyUI_01126_.png", + "ComfyUI_01127_.png", + "ComfyUI_01128_.png", + "ComfyUI_01129_.png", + "ComfyUI_01130_.png", + "ComfyUI_01131_.png", + "ComfyUI_01132_.png", + "ComfyUI_01133_.png", + "ComfyUI_01134_.png", + "ComfyUI_01135_.png", + "ComfyUI_01136_.png", + "ComfyUI_01137_.png", + "ComfyUI_01141_ (1).png", + "ComfyUI_01141_.png", + "ComfyUI_01145_.png", + "ComfyUI_01146_.png", + "ComfyUI_01147_.png", + "ComfyUI_01148_.png", + "ComfyUI_01149_.png", + "ComfyUI_01150_.png", + "ComfyUI_01151_.png", + "ComfyUI_01152_.png", + "ComfyUI_01153_.png", + "ComfyUI_01157_.png", + "ComfyUI_01158_.png", + "ComfyUI_01159_.png", + "ComfyUI_01160_.png", + "ComfyUI_01162_.png", + "ComfyUI_01166_.png", + "ComfyUI_01168_.png", + "ComfyUI_01169_.png", + "ComfyUI_01178_.png", + "ComfyUI_01179_.png", + "ComfyUI_01180_.png", + "ComfyUI_01181_ (1).png", + "ComfyUI_01181_.png", + "ComfyUI_01182_.png", + "ComfyUI_01183_ (1).png", + "ComfyUI_01183_.png", + "ComfyUI_01190_.png", + "ComfyUI_01191_.png", + "ComfyUI_01196_.png", + "ComfyUI_01198_.png", + "ComfyUI_01199_.png", + "ComfyUI_01203_.png", + "ComfyUI_01204_.png", + "ComfyUI_01205_.png", + "ComfyUI_01206_.png", + "ComfyUI_01207_.png", + "ComfyUI_01211_.png", + "ComfyUI_01212_.png", + "ComfyUI_01213_.png", + "ComfyUI_01214_.png", + "ComfyUI_01215_.png", + "ComfyUI_01216_.png", + "ComfyUI_01217_.png", + "ComfyUI_01218_.png", + "__etna_and_flonne_disgaea_and_1_more__4fa15fd4c0d2233cc02b79bf903897ec.jpg", + "__fujiwara_no_mokou_and_houraisan_kaguya_touhou_drawn_by_tsuno_no_hito__3dd87f83b2e0bfb976fd2689598f0fb4.png", + "__marona_phantom_brave_drawn_by_yilx__496dbc0b6cc95cf8a00427b2db29ed21.jpg", + "blob", + "blob (1)", + "blob (2)", + "blob (3)", + "example.png" + ], defaultValue: "ComfyUI_00527_.png" }, defaultWidgetNode: null, @@ -3159,13 +3325,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 24, + order: 22, mode: 0, inputs: [ { name: "value", type: "string", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -3199,63 +3371,19 @@ const defaultGraph: SerializedAppState = { comfyValue: "ComfyUI", shownOutputProperties: {} }, - { - id: 100, - type: "VAEDecode", - pos: [ - 1616.5478569656225, - -69.71082847978477 - ], - size: [ - 210, - 46 - ], - flags: {}, - order: 43, - mode: 0, - inputs: [ - { - name: "samples", - type: "LATENT", - link: 179 - }, - { - name: "vae", - type: "VAE", - link: 136 - } - ], - outputs: [ - { - name: "IMAGE", - type: "IMAGE", - links: [ - 189 - ], - slot_index: 0 - } - ], - title: "VAEDecode", - properties: {}, - color: "#432", - bgColor: "#653", - tags: [ - "hr" - ] - }, { id: 124, type: "SaveImage", pos: [ - 1620, - 12 + 1838.4379300390613, + -4.673272456054686 ], size: [ 186.4, 46 ], flags: {}, - order: 54, + order: 60, mode: 0, inputs: [ { @@ -3308,7 +3436,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: false }, - order: 72, + order: 78, mode: 0, inputs: [ { @@ -3363,7 +3491,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 25, + order: 23, mode: 0, inputs: [], outputs: [ @@ -3385,6 +3513,7 @@ const defaultGraph: SerializedAppState = { title: "UI.Button", properties: { defaultValue: false, + param: "bang", message: "bang", hidden: false }, @@ -3408,7 +3537,7 @@ const defaultGraph: SerializedAppState = { 46 ], flags: {}, - order: 35, + order: 36, mode: 0, inputs: [ { @@ -3443,7 +3572,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 26, + order: 24, mode: 0, inputs: [], outputs: [ @@ -3475,7 +3604,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 27, + order: 25, mode: 0, inputs: [], outputs: [ @@ -3497,6 +3626,7 @@ const defaultGraph: SerializedAppState = { title: "UI.Button", properties: { defaultValue: false, + param: "bang", message: "bang" }, widgets_values: [ @@ -3521,13 +3651,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 66, + order: 72, mode: 0, inputs: [ { name: "value", type: "number", link: 92 + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -3616,13 +3752,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 67, + order: 73, mode: 0, inputs: [ { name: "value", type: "number", link: 91 + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -3701,8 +3843,8 @@ const defaultGraph: SerializedAppState = { id: 136, type: "string/toString", pos: [ - 988.3900000000015, - 322.6400000000001 + 1206.8279300390627, + 305.9667275439455 ], size: [ 140, @@ -3711,7 +3853,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 59, + order: 65, mode: 0, inputs: [ { @@ -3737,8 +3879,8 @@ const defaultGraph: SerializedAppState = { id: 134, type: "ui/text", pos: [ - 1097.4999999999982, - 186.6000000000001 + 1315.9379300390594, + 169.92672754394547 ], size: [ 210, @@ -3747,13 +3889,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 57, + order: 63, mode: 0, inputs: [ { name: "value", type: "string", link: 205 + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -3786,8 +3934,8 @@ const defaultGraph: SerializedAppState = { id: 137, type: "string/toString", pos: [ - 997.5000000000001, - 188.10000000000002 + 1215.9379300390615, + 171.4267275439454 ], size: [ 140, @@ -3796,7 +3944,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 60, + order: 66, mode: 0, inputs: [ { @@ -3822,8 +3970,8 @@ const defaultGraph: SerializedAppState = { id: 135, type: "ui/text", pos: [ - 1092, - 324 + 1310.4379300390613, + 307.3267275439454 ], size: [ 210, @@ -3832,13 +3980,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 58, + order: 64, mode: 0, inputs: [ { name: "value", type: "string", link: 203 + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -3871,8 +4025,8 @@ const defaultGraph: SerializedAppState = { id: 138, type: "math/floor", pos: [ - 1096.8999999999996, - 236.29999999999998 + 1315.337930039061, + 219.6267275439453 ], size: [ 140, @@ -3881,7 +4035,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 61, + order: 67, mode: 0, inputs: [ { @@ -3908,15 +4062,15 @@ const defaultGraph: SerializedAppState = { id: 90, type: "LatentUpscale", pos: [ - 1300.128032965624, - 173.51348852021468 + 1518.5659630046853, + 156.84021606416005 ], size: [ 267, 106 ], flags: {}, - order: 75, + order: 81, mode: 0, inputs: [ { @@ -4008,8 +4162,8 @@ const defaultGraph: SerializedAppState = { id: 133, type: "math/operation", pos: [ - 1007, - 220.9 + 1225.4379300390613, + 204.22672754394537 ], size: [ 140, @@ -4018,7 +4172,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 56, + order: 62, mode: 0, inputs: [ { @@ -4053,8 +4207,8 @@ const defaultGraph: SerializedAppState = { id: 129, type: "math/operation", pos: [ - 1021, - 291 + 1239.4379300390613, + 274.3267275439454 ], size: [ 140, @@ -4063,7 +4217,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 55, + order: 61, mode: 0, inputs: [ { @@ -4098,8 +4252,8 @@ const defaultGraph: SerializedAppState = { id: 139, type: "math/floor", pos: [ - 1097, - 260 + 1315.4379300390613, + 243.3267275439455 ], size: [ 140, @@ -4108,7 +4262,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 62, + order: 68, mode: 0, inputs: [ { @@ -4135,8 +4289,8 @@ const defaultGraph: SerializedAppState = { id: 93, type: "ui/slider", pos: [ - 976, - 255 + 1194.4379300390613, + 238.32672754394542 ], size: [ 210, @@ -4145,13 +4299,19 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 28, + order: 26, mode: 0, inputs: [ { name: "value", type: "number", link: null + }, + { + name: "store", + type: -1, + link: null, + shape: 1 } ], outputs: [ @@ -4228,8 +4388,8 @@ const defaultGraph: SerializedAppState = { id: 140, type: "actions/queue_events", pos: [ - 1593, - 244 + 1811.4379300390613, + 227.32672754394528 ], size: [ 142.79999999999998, @@ -4238,7 +4398,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 29, + order: 27, mode: 0, inputs: [], outputs: [ @@ -4271,8 +4431,8 @@ const defaultGraph: SerializedAppState = { id: 141, type: "events/filter", pos: [ - 1604, - 284 + 1822.4379300390613, + 267.3267275439454 ], size: [ 210, @@ -4281,7 +4441,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 36, + order: 37, mode: 0, inputs: [ { @@ -4325,8 +4485,8 @@ const defaultGraph: SerializedAppState = { id: 145, type: "events/filter", pos: [ - 1598, - 320 + 1816.4379300390613, + 303.3267275439454 ], size: [ 210, @@ -4335,7 +4495,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 39, + order: 40, mode: 0, inputs: [ { @@ -4356,7 +4516,7 @@ const defaultGraph: SerializedAppState = { name: "accept", type: -2, links: [ - 218 + 230 ], shape: 1, slot_index: 0 @@ -4376,55 +4536,12 @@ const defaultGraph: SerializedAppState = { operation: "==" } }, - { - id: 147, - type: "actions/queue_events", - pos: [ - 661, - 728 - ], - size: [ - 142.79999999999998, - 66 - ], - flags: { - collapsed: true - }, - order: 30, - mode: 0, - inputs: [], - outputs: [ - { - name: "beforeQueued", - type: -2, - links: [ - 219 - ], - shape: 1 - }, - { - name: "afterQueued", - type: -2, - links: null, - shape: 1 - }, - { - name: "prompt", - type: "*", - links: null - } - ], - title: "Comfy.QueueEvents", - properties: { - prompt: null - } - }, { id: 148, type: "events/filter", pos: [ - 676, - 761 + 607.799999999999, + 765.4000000000001 ], size: [ 210, @@ -4433,7 +4550,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 37, + order: 38, mode: 0, inputs: [ { @@ -4477,8 +4594,8 @@ const defaultGraph: SerializedAppState = { id: 149, type: "events/filter", pos: [ - 673, - 794 + 604.799999999999, + 798.4000000000001 ], size: [ 210, @@ -4487,7 +4604,7 @@ const defaultGraph: SerializedAppState = { flags: { collapsed: true }, - order: 40, + order: 41, mode: 0, inputs: [ { @@ -4508,7 +4625,7 @@ const defaultGraph: SerializedAppState = { name: "accept", type: -2, links: [ - 221 + 227 ], shape: 1, slot_index: 0 @@ -4527,6 +4644,780 @@ const defaultGraph: SerializedAppState = { mode: "property", operation: "==" } + }, + { + id: 152, + type: "basic/integer", + pos: [ + -508.8369999999996, + 49.28399999999989 + ], + size: [ + 210, + 38 + ], + flags: { + collapsed: true + }, + order: 28, + mode: 0, + inputs: [], + outputs: [ + { + name: "value", + type: "number", + links: [ + 223 + ], + label: "0", + slot_index: 0 + } + ], + title: "Const Integer", + properties: { + value: 0 + } + }, + { + id: 81, + type: "ui/slider", + pos: [ + -378, + 178 + ], + size: [ + 210, + 158 + ], + flags: { + collapsed: true + }, + order: 42, + mode: 0, + inputs: [ + { + name: "value", + type: "number", + link: null + }, + { + name: "store", + type: -1, + link: 224, + shape: 1 + } + ], + outputs: [ + { + name: "value", + type: "number", + links: [ + 106 + ] + }, + { + name: "changed", + type: -2, + links: null, + shape: 1 + }, + { + name: "min", + type: "number", + links: null + }, + { + name: "max", + type: "number", + links: null + }, + { + name: "step", + type: "number", + links: null + }, + { + name: "precision", + type: "number", + links: null + } + ], + title: "UI.Slider", + properties: { + defaultValue: 1, + min: -10, + max: 10, + step: 0.01, + precision: 0 + }, + widgets_values: [ + "0.000" + ], + color: "#223", + bgColor: "#335", + comfyValue: 0, + shownOutputProperties: { + min: { + type: "number", + index: 2 + }, + max: { + type: "number", + index: 3 + }, + step: { + type: "number", + index: 4 + }, + precision: { + type: "number", + index: 5 + } + } + }, + { + id: 82, + type: "ui/slider", + pos: [ + -378, + 210 + ], + size: [ + 210, + 158 + ], + flags: { + collapsed: true + }, + order: 43, + mode: 0, + inputs: [ + { + name: "value", + type: "number", + link: null + }, + { + name: "store", + type: -1, + link: 225, + shape: 1 + } + ], + outputs: [ + { + name: "value", + type: "number", + links: [ + 107 + ] + }, + { + name: "changed", + type: -2, + links: null, + shape: 1 + }, + { + name: "min", + type: "number", + links: null + }, + { + name: "max", + type: "number", + links: null + }, + { + name: "step", + type: "number", + links: null + }, + { + name: "precision", + type: "number", + links: null + } + ], + title: "UI.Slider", + properties: { + defaultValue: 1, + min: -10, + max: 10, + step: 0.01, + precision: 0 + }, + widgets_values: [ + "0.000" + ], + color: "#223", + bgColor: "#335", + comfyValue: 0, + shownOutputProperties: { + min: { + type: "number", + index: 2 + }, + max: { + type: "number", + index: 3 + }, + step: { + type: "number", + index: 4 + }, + precision: { + type: "number", + index: 5 + } + } + }, + { + id: 147, + type: "actions/queue_events", + pos: [ + 593, + 732 + ], + size: [ + 142.79999999999998, + 66 + ], + flags: { + collapsed: true + }, + order: 29, + mode: 0, + inputs: [], + outputs: [ + { + name: "beforeQueued", + type: -2, + links: [ + 219 + ], + shape: 1 + }, + { + name: "afterQueued", + type: -2, + links: null, + shape: 1 + }, + { + name: "prompt", + type: "*", + links: null + } + ], + title: "Comfy.QueueEvents", + properties: { + prompt: null + } + }, + { + id: 104, + type: "ui/gallery", + pos: [ + 862.248693361997, + 640.4778575549986 + ], + size: [ + 210, + 122 + ], + flags: {}, + order: 52, + mode: 0, + inputs: [ + { + name: "images", + type: "OUTPUT", + link: 144 + }, + { + name: "store", + type: -1, + link: 145, + shape: 1 + }, + { + name: "clear", + type: -1, + link: 229, + shape: 1 + } + ], + outputs: [ + { + name: "selected_index", + type: "number", + links: [ + 168, + 184 + ], + slot_index: 0 + } + ], + title: "UI.Gallery", + properties: { + defaultValue: [], + index: 3, + updateMode: "append" + }, + widgets_values: [ + "Images: 4", + "append" + ], + color: "#223", + bgColor: "#335", + comfyValue: [], + shownOutputProperties: {} + }, + { + id: 103, + type: "ui/gallery", + pos: [ + 2051.985787004686, + 76.61589906416023 + ], + size: [ + 210, + 122 + ], + flags: {}, + order: 51, + mode: 0, + inputs: [ + { + name: "images", + type: "IMAGE", + link: 142 + }, + { + name: "store", + type: -1, + link: 141, + shape: 1 + }, + { + name: "clear", + type: -1, + link: 232, + shape: 1 + } + ], + outputs: [ + { + name: "selected_index", + type: "number", + links: null + } + ], + title: "UI.Gallery", + properties: { + defaultValue: [], + index: 0, + updateMode: "append" + }, + widgets_values: [ + "Images: 1", + "append" + ], + color: "#223", + bgColor: "#335", + comfyValue: [], + shownOutputProperties: {} + }, + { + id: 153, + type: "ui/checkbox", + pos: [ + 1457, + 641 + ], + size: [ + 210, + 78 + ], + flags: { + collapsed: true + }, + order: 30, + mode: 0, + inputs: [], + outputs: [ + { + name: "value", + type: "boolean", + links: [ + 228, + 231 + ], + slot_index: 0 + }, + { + name: "changed", + type: -2, + links: [], + shape: 1, + slot_index: 1 + } + ], + title: "UI.Checkbox", + properties: { + defaultValue: false + }, + widgets_values: [ + "false" + ], + color: "#223", + bgColor: "#335", + comfyValue: false, + shownOutputProperties: {} + }, + { + id: 155, + type: "events/branch", + pos: [ + 735, + 798 + ], + size: [ + 140, + 46 + ], + flags: { + collapsed: true + }, + order: 45, + mode: 0, + inputs: [ + { + name: "in", + type: -1, + link: 227, + shape: 1 + }, + { + name: "cond", + type: "boolean", + link: 228 + } + ], + outputs: [ + { + name: "true", + type: -2, + links: null, + shape: 1, + slot_index: 0 + }, + { + name: "false", + type: -2, + links: [ + 229, + 233 + ], + shape: 1, + slot_index: 1 + } + ], + title: "Branch", + properties: {} + }, + { + id: 116, + type: "image/cache", + pos: [ + 869, + 459 + ], + size: [ + 210, + 166 + ], + flags: {}, + order: 56, + mode: 0, + inputs: [ + { + name: "images", + type: "OUTPUT", + link: 162, + slot_index: 0 + }, + { + name: "index", + type: "number", + link: 168 + }, + { + name: "store", + type: -1, + link: 163, + shape: 1, + slot_index: 2 + }, + { + name: "clear", + type: -1, + link: 233, + shape: 1 + } + ], + outputs: [ + { + name: "filename", + type: "string", + links: [ + 164 + ], + slot_index: 0 + }, + { + name: "state", + type: "string", + links: [ + 165 + ], + slot_index: 1 + } + ], + title: "Comfy.ImageCache", + properties: { + images: { + images: [ + { + filename: "ComfyUI_01224_.png", + subfolder: "", + type: "output" + }, + { + filename: "ComfyUI_01225_.png", + subfolder: "", + type: "output" + }, + { + filename: "ComfyUI_01226_.png", + subfolder: "", + type: "output" + }, + { + filename: "ComfyUI_01227_.png", + subfolder: "", + type: "output" + } + ] + }, + index: 3, + filenames: { + 0: { + filename: "ComfyUI_01224_.png", + status: "cached" + }, + 1: { + filename: "ComfyUI_01225_.png", + status: "cached" + }, + 2: { + filename: "ComfyUI_01226_.png", + status: "cached" + }, + 3: { + filename: "ComfyUI_01227_.png", + status: "cached" + } + }, + genNumber: 66, + updateMode: "append" + } + }, + { + id: 100, + type: "VAEDecode", + pos: [ + 1834.9857870046837, + -86.3841009358395 + ], + size: [ + 210, + 46 + ], + flags: {}, + order: 49, + mode: 0, + inputs: [ + { + name: "samples", + type: "LATENT", + link: 179 + }, + { + name: "vae", + type: "VAE", + link: 234 + } + ], + outputs: [ + { + name: "IMAGE", + type: "IMAGE", + links: [ + 189 + ], + slot_index: 0 + } + ], + title: "VAEDecode", + properties: {}, + color: "#432", + bgColor: "#653", + tags: [ + "hr" + ] + }, + { + id: 156, + type: "events/branch", + pos: [ + 1955.1662000000001, + 360.7267458544923 + ], + size: [ + 140, + 46 + ], + flags: { + collapsed: true + }, + order: 44, + mode: 0, + inputs: [ + { + name: "in", + type: -1, + link: 230, + shape: 1 + }, + { + name: "cond", + type: "boolean", + link: 231 + } + ], + outputs: [ + { + name: "true", + type: -2, + links: null, + shape: 1 + }, + { + name: "false", + type: -2, + links: [ + 232 + ], + shape: 1, + slot_index: 1 + } + ], + title: "Branch", + properties: {} + }, + { + id: 150, + type: "ui/button", + pos: [ + -551.8369999999995, + 88.28399999999995 + ], + size: [ + 210, + 78 + ], + flags: { + collapsed: true + }, + order: 31, + mode: 0, + inputs: [], + outputs: [ + { + name: "clicked", + type: -2, + links: [ + 222 + ], + shape: 1, + slot_index: 0 + }, + { + name: "isClicked", + type: "boolean", + links: null + } + ], + title: "UI.Button", + properties: { + defaultValue: false, + param: "bang" + }, + widgets_values: [ + "false" + ], + color: "#223", + bgColor: "#335", + comfyValue: false, + shownOutputProperties: {} + }, + { + id: 151, + type: "actions/copy", + pos: [ + -442, + 59 + ], + size: [ + 210, + 78 + ], + flags: { + collapsed: true + }, + order: 39, + mode: 0, + inputs: [ + { + name: "in", + type: "*", + link: 223 + }, + { + name: "copy", + type: -1, + link: 222, + shape: 1 + } + ], + outputs: [ + { + name: "out", + type: -2, + links: [ + 224, + 225 + ], + shape: 1, + slot_index: 0 + } + ], + title: "Comfy.CopyAction", + properties: { + value: 0 + } } ], links: [ @@ -4930,14 +5821,6 @@ const defaultGraph: SerializedAppState = { 0, "LATENT" ], - [ - 136, - 74, - 2, - 100, - 1, - "VAE" - ], [ 141, 102, @@ -5330,14 +6213,6 @@ const defaultGraph: SerializedAppState = { 0, -1 ], - [ - 218, - 145, - 0, - 103, - 2, - -1 - ], [ 219, 147, @@ -5355,12 +6230,100 @@ const defaultGraph: SerializedAppState = { -1 ], [ - 221, + 222, + 150, + 0, + 151, + 1, + -1 + ], + [ + 223, + 152, + 0, + 151, + 0, + "*" + ], + [ + 224, + 151, + 0, + 81, + 1, + -1 + ], + [ + 225, + 151, + 0, + 82, + 1, + -1 + ], + [ + 227, 149, 0, + 155, + 0, + -1 + ], + [ + 228, + 153, + 0, + 155, + 1, + "boolean" + ], + [ + 229, + 155, + 1, 104, 2, -1 + ], + [ + 230, + 145, + 0, + 156, + 0, + -1 + ], + [ + 231, + 153, + 0, + 156, + 1, + "boolean" + ], + [ + 232, + 156, + 1, + 103, + 2, + -1 + ], + [ + 233, + 155, + 1, + 116, + 3, + -1 + ], + [ + 234, + 74, + 2, + 100, + 1, + "VAE" ] ], groups: [ @@ -5377,8 +6340,8 @@ const defaultGraph: SerializedAppState = { { title: "HR Fix", bounding: [ - 967, - -159, + 1185, + -176, 1128, 569 ], @@ -5466,9 +6429,7 @@ const defaultGraph: SerializedAppState = { } }, children: [ - "76", - "73", - "34", + "95", "58" ], parent: "0" @@ -5595,7 +6556,11 @@ const defaultGraph: SerializedAppState = { hidden: false, flexGrow: 100, disabled: false, - containerVariant: "block" + containerVariant: "block", + variant: "accordion", + buttonVariant: "primary", + buttonSize: "large", + openOnStartup: true } }, children: [ @@ -5744,7 +6709,10 @@ const defaultGraph: SerializedAppState = { flexGrow: 100, disabled: false, containerVariant: "block", - variant: "block" + variant: "accordion", + buttonVariant: "primary", + buttonSize: "large", + openOnStartup: true } }, children: [ @@ -5765,11 +6733,13 @@ const defaultGraph: SerializedAppState = { classes: "", hidden: false, flexGrow: 100, - disabled: false + disabled: false, + buttonVariant: "primary", + buttonSize: "large" } }, children: [], - parent: "2" + parent: "94" }, 41: { dragItem: { @@ -5885,7 +6855,9 @@ const defaultGraph: SerializedAppState = { classes: "", hidden: false, flexGrow: 100, - disabled: false + disabled: false, + buttonVariant: "primary", + buttonSize: "large" } }, children: [], @@ -6003,7 +6975,10 @@ const defaultGraph: SerializedAppState = { disabled: false, containerVariant: "block", hidden: false, - variant: "block" + variant: "accordion", + buttonVariant: "primary", + buttonSize: "large", + openOnStartup: true } }, children: [ @@ -6026,12 +7001,15 @@ const defaultGraph: SerializedAppState = { disabled: false, containerVariant: "block", hidden: false, - variant: "block" + variant: "block", + buttonVariant: "primary", + buttonSize: "large" } }, children: [ "56", - "57" + "57", + "92" ], parent: "58" }, @@ -6107,7 +7085,7 @@ const defaultGraph: SerializedAppState = { } }, children: [], - parent: "2" + parent: "95" }, 74: { dragItem: { @@ -6168,7 +7146,7 @@ const defaultGraph: SerializedAppState = { } }, children: [], - parent: "2" + parent: "95" }, 77: { dragItem: { @@ -6218,7 +7196,13 @@ const defaultGraph: SerializedAppState = { classes: "", blockVariant: "block", flexGrow: 100, - containerVariant: "block" + containerVariant: "block", + hidden: false, + disabled: false, + variant: "accordion", + buttonVariant: "primary", + buttonSize: "large", + openOnStartup: true } }, children: [ @@ -6392,18 +7376,101 @@ const defaultGraph: SerializedAppState = { "90" ], parent: "79" + }, + 92: { + dragItem: { + type: "widget", + id: "92", + nodeId: 150, + attrs: { + title: "🗙", + direction: "horizontal", + classes: "", + flexGrow: 1, + hidden: false, + disabled: false, + buttonVariant: "secondary", + buttonSize: "small" + } + }, + children: [], + parent: "59" + }, + 93: { + dragItem: { + type: "widget", + id: "93", + nodeId: 153, + attrs: { + title: "Preserve Outputs", + direction: "horizontal", + classes: "", + flexGrow: 100, + hidden: false, + disabled: false, + buttonVariant: "primary", + buttonSize: "large" + } + }, + children: [], + parent: "94" + }, + 94: { + dragItem: { + type: "container", + id: "94", + attrs: { + title: "", + direction: "horizontal", + classes: "", + containerVariant: "hidden", + flexGrow: 100, + hidden: false, + disabled: false, + variant: "block", + buttonVariant: "primary", + buttonSize: "large" + } + }, + children: [ + "34", + "93" + ], + parent: "95" + }, + 95: { + dragItem: { + type: "container", + id: "95", + attrs: { + title: "Result", + direction: "vertical", + classes: "", + containerVariant: "hidden", + flexGrow: 100, + hidden: false, + disabled: false, + variant: "accordion", + buttonVariant: "primary", + buttonSize: "large", + openOnStartup: true + } + }, + children: [ + "76", + "73", + "94" + ], + parent: "2" } }, - currentId: 92, + currentId: 96, attrs: { defaultSubgraph: "default" } }, canvas: { - offset: [ - 0, - 0 - ], + offset: [0, 0], scale: 1 } }