diff --git a/index.html b/index.html index 97ded2b..28202f3 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@ } -
+
diff --git a/klecks b/klecks index a36de32..f08ba31 160000 --- a/klecks +++ b/klecks @@ -1 +1 @@ -Subproject commit a36de3203fb970fac80f72be75a8ceee0cb01819 +Subproject commit f08ba318880dce71b9ebdf5717d6a6c61b7b7405 diff --git a/litegraph b/litegraph index 95788fd..db6a916 160000 --- a/litegraph +++ b/litegraph @@ -1 +1 @@ -Subproject commit 95788fdcfbd48f5c07743b407a166977e9cdf7c8 +Subproject commit db6a9167575db269524564d5527c512a06c0f8d2 diff --git a/mobile/index.html b/mobile/index.html index b206f87..b10c4cf 100644 --- a/mobile/index.html +++ b/mobile/index.html @@ -8,7 +8,7 @@ -
+
diff --git a/package.json b/package.json index e3a4729..46c87bb 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch", "test": "vitest run", "test:watch": "vitest", + "test:inspect": "vitest --inspect-brk --single-thread", "lint": "prettier --plugin-search-dir . --check . && eslint .", "format": "prettier --plugin-search-dir . --write .", "svelte-check": "svelte-check", @@ -17,10 +18,14 @@ "build:css": "pollen -c gradio/js/theme/src/pollen.config.cjs && mv src/pollen.css node_modules/@gradio/theme/src" }, "devDependencies": { + "@floating-ui/core": "^1.2.6", + "@floating-ui/dom": "^1.2.8", "@zerodevx/svelte-toast": "^0.9.3", "eslint": "^8.37.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-svelte3": "^4.0.0", + "happy-dom": "^9.18.3", + "jsdom": "^22.0.0", "prettier": "^2.8.7", "prettier-plugin-svelte": "^2.10.0", "sass": "^1.61.0", @@ -33,7 +38,7 @@ "vite-plugin-static-copy": "^0.14.0", "vite-plugin-svelte-console-remover": "^1.0.10", "vite-tsconfig-paths": "^4.0.8", - "vitest": "^0.25.8" + "vitest": "^0.27.3" }, "type": "module", "dependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0ecaee1..06df85c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -122,6 +122,12 @@ importers: specifier: ^1.0.5 version: 1.0.5(vite@4.3.1) devDependencies: + '@floating-ui/core': + specifier: ^1.2.6 + version: 1.2.6 + '@floating-ui/dom': + specifier: ^1.2.8 + version: 1.2.8 '@zerodevx/svelte-toast': specifier: ^0.9.3 version: 0.9.3(svelte@3.58.0) @@ -134,6 +140,12 @@ importers: eslint-plugin-svelte3: specifier: ^4.0.0 version: 4.0.0(eslint@8.37.0)(svelte@3.58.0) + happy-dom: + specifier: ^9.18.3 + version: 9.18.3 + jsdom: + specifier: ^22.0.0 + version: 22.0.0 prettier: specifier: ^2.8.7 version: 2.8.7 @@ -171,8 +183,8 @@ importers: specifier: ^4.0.8 version: 4.0.8(typescript@5.0.3)(vite@4.3.1) vitest: - specifier: ^0.25.8 - version: 0.25.8(sass@1.61.0) + specifier: ^0.27.3 + version: 0.27.3(happy-dom@9.18.3)(jsdom@22.0.0)(sass@1.61.0) gradio/client/js: dependencies: @@ -1677,13 +1689,11 @@ packages: /@floating-ui/core@1.2.6: resolution: {integrity: sha512-EvYTiXet5XqweYGClEmpu3BoxmsQ4hkj3QaYA6qEnigCWffTP3vNRwBReTdrwDwo7OoJ3wM8Uoe9Uk4n+d4hfg==} - dev: false - /@floating-ui/dom@1.2.6: - resolution: {integrity: sha512-02vxFDuvuVPs22iJICacezYJyf7zwwOCWkPNkWNBr1U0Qt1cKFYzWvxts0AmqcOQGwt/3KJWcWIgtbUU38keyw==} + /@floating-ui/dom@1.2.8: + resolution: {integrity: sha512-XLwhYV90MxiHDq6S0rzFZj00fnDM+A1R9jhSioZoMsa7G0Q0i+Q4x40ajR8FHSdYDE1bgjG45mIWe6jtv9UPmg==} dependencies: '@floating-ui/core': 1.2.6 - dev: false /@humanwhocodes/config-array@0.11.8: resolution: {integrity: sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==} @@ -3053,6 +3063,11 @@ packages: tslib: 2.5.0 dev: false + /@tootallnate/once@2.0.0: + resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} + engines: {node: '>= 10'} + dev: true + /@trysound/sax@0.2.0: resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} @@ -3361,6 +3376,10 @@ packages: svelte: 3.58.0 dev: true + /abab@2.0.6: + resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} + dev: true + /abbrev@1.1.1: resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} dev: false @@ -3395,6 +3414,15 @@ packages: pako: 2.1.0 dev: false + /agent-base@6.0.2: + resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} + engines: {node: '>= 6.0.0'} + dependencies: + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + /ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} dependencies: @@ -3476,7 +3504,6 @@ packages: /asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} - dev: false /automation-events@6.0.0: resolution: {integrity: sha512-mSOnckbtuJso8cczB+broNsfcuDIQ+J4GFhlW/V3iD+LAXbS4XGHhdjYvtPnCKclKcvs9cVLtUMUkNncOzUQPg==} @@ -3698,7 +3725,6 @@ packages: /cac@6.7.14: resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} engines: {node: '>=8'} - dev: false /call-bind@1.0.2: resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} @@ -3896,7 +3922,6 @@ packages: engines: {node: '>= 0.8'} dependencies: delayed-stream: 1.0.0 - dev: false /commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} @@ -4053,6 +4078,10 @@ packages: engines: {node: '>= 6'} dev: false + /css.escape@1.5.1: + resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==} + dev: true + /cssesc@3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} engines: {node: '>=4'} @@ -4065,6 +4094,13 @@ packages: css-tree: 1.1.3 dev: false + /cssstyle@3.0.0: + resolution: {integrity: sha512-N4u2ABATi3Qplzf0hWbVCdjenim8F3ojEXpBDF5hBpjzW182MjNGLqfmQ0SkSPeQ+V86ZXgeH8aXj6kayd4jgg==} + engines: {node: '>=14'} + dependencies: + rrweb-cssom: 0.6.0 + dev: true + /d3-array@3.2.2: resolution: {integrity: sha512-yEEyEAbDrF8C6Ob2myOBLjwBLck1Z89jMGFee0oPsn95GqjerpaOA4ch+vc2l0FNFFwMD5N7OCSEN5eAlsUbgQ==} engines: {node: '>=12'} @@ -4227,6 +4263,15 @@ packages: engines: {node: '>=4'} dev: false + /data-urls@4.0.0: + resolution: {integrity: sha512-/mMTei/JXPqvFqQtfyTowxmJVwr2PVAeCcDxyFf6LhoOu/09TX2OX3kb2wzi4DMXcfj4OItwDOnhl5oziPnT6g==} + engines: {node: '>=14'} + dependencies: + abab: 2.0.6 + whatwg-mimetype: 3.0.0 + whatwg-url: 12.0.1 + dev: true + /datalib@1.9.3: resolution: {integrity: sha512-9rcwGd3zhvmJChyLzL5jjZ6UEtWO0SKa9Ycy6RVoQxSW43TSOBRbizj/Zn8UonfpBjCikHEQrJyE72Xw5eCY5A==} dependencies: @@ -4257,6 +4302,10 @@ packages: dependencies: ms: 2.1.2 + /decimal.js@10.4.3: + resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} + dev: true + /dedent@0.7.0: resolution: {integrity: sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==} dev: true @@ -4284,7 +4333,6 @@ packages: /delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} - dev: false /dequal@2.0.2: resolution: {integrity: sha512-q9K8BlJVxK7hQYqa6XISGmBZbtQQWVXSrRrWreHC94rMt1QL/Impruc+7p2CYSYuVIUr+YCt6hjrs1kkdJRTug==} @@ -4353,6 +4401,13 @@ packages: resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} dev: false + /domexception@4.0.0: + resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==} + engines: {node: '>=12'} + dependencies: + webidl-conversions: 7.0.0 + dev: true + /domhandler@4.3.1: resolution: {integrity: sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==} engines: {node: '>= 4'} @@ -4415,6 +4470,11 @@ packages: engines: {node: '>=0.12'} dev: false + /entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + dev: true + /error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} dependencies: @@ -5045,6 +5105,15 @@ packages: mime-types: 2.1.34 dev: false + /form-data@4.0.0: + resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} + engines: {node: '>= 6'} + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + mime-types: 2.1.34 + dev: true + /fraction.js@4.2.0: resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==} dev: true @@ -5328,6 +5397,17 @@ packages: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} dev: true + /happy-dom@9.18.3: + resolution: {integrity: sha512-b7iMGYeIXvUryNultA0AHEVU0FPpb2djJ/xSVlMDfP7HG4z7FomdqkCEpWtSv1zDL+t1gRUoBbpqFCoUBvjYtg==} + dependencies: + css.escape: 1.5.1 + entities: 4.5.0 + iconv-lite: 0.6.3 + webidl-conversions: 7.0.0 + whatwg-encoding: 2.0.0 + whatwg-mimetype: 3.0.0 + dev: true + /har-schema@2.0.0: resolution: {integrity: sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==} engines: {node: '>=4'} @@ -5365,6 +5445,13 @@ packages: resolution: {integrity: sha512-983Vyg8NwUE7JkZ6NmOqpCZ+sh1bKv2iYTlUkzlWmA5JD2acKoxd4KVxbMmxX/85mtfdnDmTFoNKcg5DGAvxNQ==} dev: false + /html-encoding-sniffer@3.0.0: + resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} + engines: {node: '>=12'} + dependencies: + whatwg-encoding: 2.0.0 + dev: true + /html-escaper@2.0.2: resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} dev: true @@ -5423,6 +5510,17 @@ packages: parse-cache-control: 1.0.1 dev: false + /http-proxy-agent@5.0.0: + resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} + engines: {node: '>= 6'} + dependencies: + '@tootallnate/once': 2.0.0 + agent-base: 6.0.2 + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + /http-response-object@3.0.2: resolution: {integrity: sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==} dependencies: @@ -5438,6 +5536,16 @@ packages: sshpk: 1.17.0 dev: false + /https-proxy-agent@5.0.1: + resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} + engines: {node: '>= 6'} + dependencies: + agent-base: 6.0.2 + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + /human-signals@2.1.0: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} @@ -5448,7 +5556,6 @@ packages: engines: {node: '>=0.10.0'} dependencies: safer-buffer: 2.1.2 - dev: false /ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} @@ -5565,6 +5672,10 @@ packages: engines: {node: '>=8'} dev: true + /is-potential-custom-element-name@1.0.1: + resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} + dev: true + /is-stream@2.0.1: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} @@ -6136,6 +6247,44 @@ packages: resolution: {integrity: sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg==} dev: false + /jsdom@22.0.0: + resolution: {integrity: sha512-p5ZTEb5h+O+iU02t0GfEjAnkdYPrQSkfuTSMkMYyIoMvUNEHsbG0bHHbfXIcfTqD2UfvjQX7mmgiFsyRwGscVw==} + engines: {node: '>=16'} + peerDependencies: + canvas: ^2.5.0 + peerDependenciesMeta: + canvas: + optional: true + dependencies: + abab: 2.0.6 + cssstyle: 3.0.0 + data-urls: 4.0.0 + decimal.js: 10.4.3 + domexception: 4.0.0 + form-data: 4.0.0 + html-encoding-sniffer: 3.0.0 + http-proxy-agent: 5.0.0 + https-proxy-agent: 5.0.1 + is-potential-custom-element-name: 1.0.1 + nwsapi: 2.2.4 + parse5: 7.1.2 + rrweb-cssom: 0.6.0 + saxes: 6.0.0 + symbol-tree: 3.2.4 + tough-cookie: 4.1.2 + w3c-xmlserializer: 4.0.0 + webidl-conversions: 7.0.0 + whatwg-encoding: 2.0.0 + whatwg-mimetype: 3.0.0 + whatwg-url: 12.0.1 + ws: 8.13.0 + xml-name-validator: 4.0.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + dev: true + /jsesc@2.5.2: resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} engines: {node: '>=4'} @@ -6171,7 +6320,6 @@ packages: /jsonc-parser@3.2.0: resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} - dev: false /jsonfile@4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} @@ -6515,14 +6663,12 @@ packages: /mime-db@1.51.0: resolution: {integrity: sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==} engines: {node: '>= 0.6'} - dev: false /mime-types@2.1.34: resolution: {integrity: sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==} engines: {node: '>= 0.6'} dependencies: mime-db: 1.51.0 - dev: false /mime@3.0.0: resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} @@ -6573,7 +6719,6 @@ packages: pathe: 1.1.0 pkg-types: 1.0.3 ufo: 1.1.2 - dev: false /mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} @@ -6715,6 +6860,10 @@ packages: resolution: {integrity: sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==} dev: false + /nwsapi@2.2.4: + resolution: {integrity: sha512-NHj4rzRo0tQdijE9ZqAx6kYDcoRwYwSYzCA8MY3JzfxlrvEU0jhnhJT9BhqhJs7I/dKcrDm6TyulaRqZPIhN5g==} + dev: true + /oauth-sign@0.9.0: resolution: {integrity: sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==} dev: false @@ -6860,6 +7009,12 @@ packages: json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 + /parse5@7.1.2: + resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + dependencies: + entities: 4.5.0 + dev: true + /path-browserify@1.0.1: resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} dev: false @@ -6889,9 +7044,12 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} + /pathe@0.2.0: + resolution: {integrity: sha512-sTitTPYnn23esFR3RlqYBWn4c45WGeLcsKzQiUpXJAyfcWkolvlYpV8FLo7JishK946oQwMFUCHXQ9AjGPKExw==} + dev: true + /pathe@1.1.0: resolution: {integrity: sha512-ODbEPR0KKHqECXW1GoxdDb+AZvULmXjVPy4rt+pGo2+TnjJTIPJQSVS6N63n8T2Ip+syHhbn52OewKicV0373w==} - dev: false /pathval@1.1.1: resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} @@ -6928,7 +7086,6 @@ packages: jsonc-parser: 3.2.0 mlly: 1.2.1 pathe: 1.1.0 - dev: false /plotly.js-dist-min@2.10.1: resolution: {integrity: sha512-H0ls1C2uu2U+qWw76djo4/zOGtUKfMILwFhu7tCOaG/wH5ypujrYGCH03N9SQVf1SXcctTfW57USf8LmagSiPQ==} @@ -7114,7 +7271,6 @@ packages: /psl@1.9.0: resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} - dev: false /punycode@2.3.0: resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} @@ -7136,6 +7292,10 @@ packages: engines: {node: '>=0.6'} dev: false + /querystringify@2.2.0: + resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} + dev: true + /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} @@ -7252,6 +7412,10 @@ packages: engines: {node: '>=0.10.0'} dev: true + /requires-port@1.0.0: + resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} + dev: true + /resize-observer-polyfill@1.5.1: resolution: {integrity: sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==} dev: false @@ -7332,6 +7496,10 @@ packages: optionalDependencies: fsevents: 2.3.2 + /rrweb-cssom@0.6.0: + resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==} + dev: true + /run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} dependencies: @@ -7370,7 +7538,6 @@ packages: /safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - dev: false /sander@0.5.1: resolution: {integrity: sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA==} @@ -7389,6 +7556,13 @@ packages: immutable: 4.3.0 source-map-js: 1.0.2 + /saxes@6.0.0: + resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} + engines: {node: '>=v12.22.7'} + dependencies: + xmlchars: 2.2.0 + dev: true + /semver@5.7.1: resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} hasBin: true @@ -7452,7 +7626,6 @@ packages: /siginfo@2.0.0: resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} - dev: false /sigmund@1.0.1: resolution: {integrity: sha512-fCvEXfh6NWpm+YSuY2bpXb/VIihqWA6hLsgboC+0nl71Q7N7o2eaCW8mJa/NLvQhs6jpd3VZV4UiUQlV6+lc8g==} @@ -7519,7 +7692,6 @@ packages: dependencies: buffer-from: 1.1.2 source-map: 0.6.1 - dev: false /source-map@0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} @@ -7577,7 +7749,6 @@ packages: /stackback@0.0.2: resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} - dev: false /standardized-audio-context@25.3.45: resolution: {integrity: sha512-d1UVvbz0mDmEqNehvoTKlpSevRJ3YiVZ6kdboeaWX+8cl94H1w8x7c5RNdg0nqxiE049LMeF4tFPuDl5Vm78Kg==} @@ -7589,7 +7760,6 @@ packages: /std-env@3.3.3: resolution: {integrity: sha512-Rz6yejtVyWnVjC1RFvNmYL10kgjC49EOghxWn0RFqlCHGFpQx+Xe7yW3I4ceK1SGrWIGMjD5Kbue8W/udkbMJg==} - dev: false /streamsearch@1.1.0: resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==} @@ -7782,7 +7952,7 @@ packages: resolution: {integrity: sha512-8Ifi5CD2Ui7FX7NjJRmutFtXjrB8T/FMNoS2H8P81t5LHK4I9G4NIs007rLWG/nRl7y+zJUXa3tWuTjYXw/O5A==} dependencies: '@floating-ui/core': 1.2.6 - '@floating-ui/dom': 1.2.6 + '@floating-ui/dom': 1.2.8 dev: false /svelte-hmr@0.15.1(svelte@3.58.0): @@ -7953,7 +8123,7 @@ packages: /svelte-select@5.5.3: resolution: {integrity: sha512-0QIiEmyon3bqoenFtR/BhamMpMmzOWWg1ctE7xxwP7nEnZhAGGoTra1HPPfEyT6C6gVaOFgCpdBaZoM8DEHlEw==} dependencies: - '@floating-ui/dom': 1.2.6 + '@floating-ui/dom': 1.2.8 svelte-floating-ui: 1.2.8 dev: false @@ -8007,6 +8177,10 @@ packages: ssr-window: 4.0.2 dev: false + /symbol-tree@3.2.4: + resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} + dev: true + /sync-request@6.1.0: resolution: {integrity: sha512-8fjNkrNlNCrVc/av+Jn+xxqfCjYaBoHqCsDz6mt030UMxJGr+GSfCV1dQt2gRtlL63+VPidwDVLr7V2OcTSdRw==} engines: {node: '>=8.0.0'} @@ -8195,10 +8369,27 @@ packages: punycode: 2.3.0 dev: false + /tough-cookie@4.1.2: + resolution: {integrity: sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==} + engines: {node: '>=6'} + dependencies: + psl: 1.9.0 + punycode: 2.3.0 + universalify: 0.2.0 + url-parse: 1.5.10 + dev: true + /tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} dev: false + /tr46@4.1.1: + resolution: {integrity: sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==} + engines: {node: '>=14'} + dependencies: + punycode: 2.3.0 + dev: true + /ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} @@ -8292,7 +8483,6 @@ packages: /ufo@1.1.2: resolution: {integrity: sha512-TrY6DsjTQQgyS3E3dBaOXf0TpPD8u9FVrVYmKVegJuFw51n/YB9XPt+U6ydzFG5ZIN7+DIjPbNmXoBj9esYhgQ==} - dev: false /undici@5.20.0: resolution: {integrity: sha512-J3j60dYzuo6Eevbawwp1sdg16k5Tf768bxYK4TUJRH7cBM4kFCbf3mOnM/0E3vQYXvpxITbbWmBafaDbxLDz3g==} @@ -8306,6 +8496,11 @@ packages: engines: {node: '>= 4.0.0'} dev: false + /universalify@0.2.0: + resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} + engines: {node: '>= 4.0.0'} + dev: true + /universalify@2.0.0: resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==} engines: {node: '>= 10.0.0'} @@ -8325,6 +8520,13 @@ packages: dependencies: punycode: 2.3.0 + /url-parse@1.5.10: + resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} + dependencies: + querystringify: 2.2.0 + requires-port: 1.0.0 + dev: true + /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -8761,6 +8963,29 @@ packages: extsprintf: 1.3.0 dev: false + /vite-node@0.27.3(@types/node@18.16.0)(sass@1.61.0): + resolution: {integrity: sha512-eyJYOO64o5HIp8poc4bJX+ZNBwMZeI3f6/JdiUmJgW02Mt7LnoCtDMRVmLaY9S05SIsjGe339ZK4uo2wQ+bF9g==} + engines: {node: '>=v14.16.0'} + hasBin: true + dependencies: + cac: 6.7.14 + debug: 4.3.4 + mlly: 1.2.1 + pathe: 0.2.0 + picocolors: 1.0.0 + source-map: 0.6.1 + source-map-support: 0.5.21 + vite: 4.3.1(@types/node@18.16.0)(sass@1.61.0) + transitivePeerDependencies: + - '@types/node' + - less + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + /vite-node@0.31.0(@types/node@18.16.0): resolution: {integrity: sha512-8x1x1LNuPvE2vIvkSB7c1mApX5oqlgsxzHQesYF7l5n1gKrEmrClIiZuOFbFDQcjLsmcWSwwmrWrcGWm9Fxc/g==} engines: {node: '>=v14.18.0'} @@ -9154,8 +9379,8 @@ packages: vite: 4.3.1(sass@1.61.0) dev: false - /vitest@0.25.8(sass@1.61.0): - resolution: {integrity: sha512-X75TApG2wZTJn299E/TIYevr4E9/nBo1sUtZzn0Ci5oK8qnpZAZyhwg0qCeMSakGIWtc6oRwcQFyFfW14aOFWg==} + /vitest@0.27.3(happy-dom@9.18.3)(jsdom@22.0.0)(sass@1.61.0): + resolution: {integrity: sha512-Ld3UVgRVhJUtqvQ3dW89GxiApFAgBsWJZBCWzK+gA3w2yG68csXlGZZ4WDJURf+8ecNfgrScga6xY+8YSOpiMg==} engines: {node: '>=v14.16.0'} hasBin: true peerDependencies: @@ -9181,15 +9406,22 @@ packages: '@types/node': 18.16.0 acorn: 8.8.2 acorn-walk: 8.2.0 + cac: 6.7.14 chai: 4.3.7 debug: 4.3.4 + happy-dom: 9.18.3 + jsdom: 22.0.0 local-pkg: 0.4.3 + picocolors: 1.0.0 source-map: 0.6.1 + std-env: 3.3.3 strip-literal: 1.0.1 tinybench: 2.4.0 tinypool: 0.3.1 tinyspy: 1.1.1 vite: 4.3.1(@types/node@18.16.0)(sass@1.61.0) + vite-node: 0.27.3(@types/node@18.16.0)(sass@1.61.0) + why-is-node-running: 2.2.2 transitivePeerDependencies: - less - sass @@ -9308,6 +9540,13 @@ packages: resolution: {integrity: sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==} dev: false + /w3c-xmlserializer@4.0.0: + resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==} + engines: {node: '>=14'} + dependencies: + xml-name-validator: 4.0.0 + dev: true + /walker@1.0.8: resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} dependencies: @@ -9322,11 +9561,36 @@ packages: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} dev: false + /webidl-conversions@7.0.0: + resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} + engines: {node: '>=12'} + dev: true + /well-known-symbols@2.0.0: resolution: {integrity: sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==} engines: {node: '>=6'} dev: false + /whatwg-encoding@2.0.0: + resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} + engines: {node: '>=12'} + dependencies: + iconv-lite: 0.6.3 + dev: true + + /whatwg-mimetype@3.0.0: + resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} + engines: {node: '>=12'} + dev: true + + /whatwg-url@12.0.1: + resolution: {integrity: sha512-Ed/LrqB8EPlGxjS+TrsXcpUond1mhccS3pchLhzSgPCnTimUCKj3IZE75pAs5m6heB2U2TMerKFUXheyHY+VDQ==} + engines: {node: '>=14'} + dependencies: + tr46: 4.1.1 + webidl-conversions: 7.0.0 + dev: true + /whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} dependencies: @@ -9349,7 +9613,6 @@ packages: dependencies: siginfo: 2.0.0 stackback: 0.0.2 - dev: false /word-wrap@1.2.3: resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} @@ -9405,7 +9668,15 @@ packages: optional: true utf-8-validate: optional: true - dev: false + + /xml-name-validator@4.0.0: + resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} + engines: {node: '>=12'} + dev: true + + /xmlchars@2.2.0: + resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} + dev: true /xtend@2.2.0: resolution: {integrity: sha512-SLt5uylT+4aoXxXuwtQp5ZnMMzhDb1Xkg4pEqc00WUJCQifPfV9Ub1VrNhp9kXkrjZD2I2Hl8WnjP37jzZLPZw==} diff --git a/public/workflows/defaultWorkflow.json b/public/workflows/defaultWorkflow.json index d1578fe..f445e4d 100644 --- a/public/workflows/defaultWorkflow.json +++ b/public/workflows/defaultWorkflow.json @@ -2,198 +2,261 @@ "createdBy": "ComfyBox", "version": 1, "workflow": { - "last_node_id": 467, - "last_link_id": 721, + "last_node_id": 0, + "last_link_id": 0, "nodes": [ { - "id": "64e05c57-f669-432e-8e20-a2b51870067d", - "type": "ui/text", + "id": "23565dd5-d004-4010-bfa9-ffd9e4dc7cba", + "type": "basic/integer", "pos": [ - -329.97997539843374, - 205.60113939843882 + 1462.247204585808, + 855.228727338763 ], "size": [ 210, - 78 + 38 ], "flags": { "collapsed": true }, "order": 0, "mode": 0, - "inputs": [ + "inputs": [], + "outputs": [ { "name": "value", - "type": "string", - "link": null + "type": "number", + "links": [ + "422c4c43-7ae9-40d5-bb16-afc6c8017917" + ], + "properties": {}, + "label": "0", + "slot_index": 0 + } + ], + "title": "Const Integer", + "properties": { + "value": 0, + "tags": [] + } + }, + { + "id": "c5dde6e2-d6a9-4c7e-b396-3083b11573f5", + "type": "ui/gallery", + "pos": [ + 2193, + 322 + ], + "size": [ + 210, + 126 + ], + "flags": {}, + "order": 46, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "OUTPUT", + "link": null, + "properties": {} }, { "name": "store", "type": -1, - "link": null, - "shape": 1 + "link": "0f1bc87b-d1d6-4c04-be03-699eb7d1ab2a", + "properties": {}, + "color_off": "rebeccapurple", + "color_on": "rebeccapurple", + "shape": 1, + "slot_index": 1 } ], "outputs": [ { - "name": "value", - "type": "string", + "name": "images", + "type": "COMFYBOX_IMAGES", "links": [ - "61456917-a538-47c4-a18a-a43ad6d03a5b" - ] + "c4ff06f7-3f0a-475b-9d14-48d639bdfdda" + ], + "properties": {}, + "slot_index": 0 }, { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 + "name": "selected_index", + "type": "number", + "links": [ + "ca9c18cc-dfe1-4b64-bbaa-9666f11d6e6d" + ], + "properties": {}, + "slot_index": 1 } ], - "title": "UI.Text", + "title": "UI.Gallery", "properties": { "tags": [], - "defaultValue": "", - "multiline": true, - "hidden": false + "defaultValue": null, + "index": null, + "updateMode": "append" }, - "widgets_values": [ - "lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, deformed, disfigured, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, out of focus, long neck, long body, fuzzy, abstract" - ], + "widgets_values": [], "color": "#223", "bgColor": "#335", - "comfyValue": "lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, deformed, disfigured, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, out of focus, long neck, long body, fuzzy, abstract", + "comfyValue": [], "shownOutputProperties": {}, - "saveUserState": true + "saveUserState": false }, { - "id": "45bd8775-867b-40f5-8a26-93dc2374bb32", - "type": "ui/combo", + "id": "5827b359-e7c6-46b9-86c3-ff12b197c558", + "type": "basic/string", "pos": [ - -252.5788065384366, - -9.863136000804298 + 1541.7499999999995, + 404.86999999999983 ], "size": [ 210, - 78 + 38 ], "flags": { "collapsed": true }, "order": 1, "mode": 0, - "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], + "inputs": [], "outputs": [ { - "name": "value", + "name": "string", "type": "string", "links": [ - "cc7609c0-7f34-471b-a54c-45c389bf6c22" - ] - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 + "3f4c065d-a110-4196-b44f-e615d3645a4d" + ], + "properties": {}, + "slot_index": 0 } ], - "title": "UI.Combo", + "title": "Const String", "properties": { - "tags": [], - "defaultValue": null, - "values": [], - "convertValueToLabelCode": "return value.split('\\\\').pop().split('/').pop();", - "hidden": false - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": "A", - "shownOutputProperties": {}, - "saveUserState": false + "value": "ComfyUI", + "tags": [] + } }, { - "id": "2efcc025-0064-42e7-add6-ff6215d3dd43", - "type": "ui/combo", + "id": "59d83912-13a7-4b7f-a353-e7e2a0ecf3b8", + "type": "events/filter", "pos": [ - 1388.6643069580841, - 200.96841416456488 + 1521.7189814453116, + 809.9955605468764 ], "size": [ 210, - 78 + 150 ], "flags": { - "collapsed": true + "collapsed": false }, - "order": 2, + "order": 17, "mode": 0, "inputs": [ { - "name": "value", - "type": "string", - "link": null + "name": "event", + "type": -1, + "link": "bda9da8b-686f-4e8a-ae78-347f4cde9018", + "properties": {}, + "shape": 1 }, { - "name": "store", - "type": -1, - "link": null, - "shape": 1 + "name": "compare_value", + "type": "*", + "link": "422c4c43-7ae9-40d5-bb16-afc6c8017917", + "properties": {} } ], "outputs": [ { - "name": "value", - "type": "string", + "name": "accept", + "type": -2, "links": [ - "c7de3e3a-fcaa-4d47-bc61-1f35cfd7e33c" - ] + "75383097-6487-4344-9930-4814b5742aa1" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 }, { - "name": "changed", + "name": "reject", "type": -2, - "links": null, + "links": [], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Filter Event", + "properties": { + "compareValue": 0, + "propertyName": "queueRemaining", + "mode": "property", + "operation": "==", + "tags": [] + } + }, + { + "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": "UI.Combo", + "title": "Comfy.QueueEvents", "properties": { - "tags": [], - "defaultValue": "nearest-exact", - "values": [], - "convertValueToLabelCode": "" + "tags": [] }, - "widgets_values": [ - "nearest-exact" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "nearest-exact", - "shownOutputProperties": {}, "saveUserState": true }, { - "id": "f1a583bb-c0d6-4193-b6ca-4481139a5f4c", - "type": "ui/combo", + "id": "956ef877-9a36-40d4-9f86-e824ff6f6dd5", + "type": "ui/number", "pos": [ - 1388.6643069580841, - 260.96841416456544 + 678, + 427 ], "size": [ 210, - 78 + 158 ], "flags": { "collapsed": true @@ -201,55 +264,156 @@ "order": 3, "mode": 0, "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, { "name": "store", "type": -1, "link": null, + "properties": {}, "shape": 1 } ], "outputs": [ { "name": "value", - "type": "string", + "type": "number", "links": [ - "485c23c7-d4ab-4585-b85c-2ebdf22b6f54" - ] + "c004a9a1-6ebc-40f0-9fa5-dc9557f8b697", + "dc5a9b82-233e-484a-9e58-cd90fbeff07d" + ], + "properties": {}, + "slot_index": 0 }, { "name": "changed", "type": -2, - "links": null, + "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.Combo", + "title": "UI.Number", "properties": { "tags": [], - "defaultValue": "disabled", - "values": [], - "convertValueToLabelCode": "" + "defaultValue": 1, + "min": 1, + "max": 16, + "step": 1, + "precision": 0 }, "widgets_values": [ - "disabled" + "4.000" ], "color": "#223", "bgColor": "#335", - "comfyValue": "disabled", - "shownOutputProperties": {}, + "comfyValue": 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": "a4c71591-9e1d-4968-bcfc-03a4eb0f80f3", - "type": "ui/combo", + "id": "5ea1f249-c68c-4290-aa00-b676a19f5a0c", + "type": "utils/pick_first", "pos": [ - 70.02882460156246, - 285.99723939843733 + 1653.42, + 388.25 + ], + "size": [ + 210, + 122 + ], + "flags": { + "collapsed": true + }, + "order": 19, + "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, @@ -262,14 +426,17 @@ "mode": 0, "inputs": [ { - "name": "value", - "type": "string", - "link": null + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 }, { "name": "store", "type": -1, "link": null, + "properties": {}, "shape": 1 } ], @@ -278,210 +445,346 @@ "name": "value", "type": "string", "links": [ - "07e0280d-dac1-452a-848a-6bf300f2f2d8", - "61f924c0-0e8a-4fc9-b90d-9008165c2b68" + "817eb77b-92fe-408e-a3f7-9aff4993728d" ], - "slot_index": 0 + "properties": {} }, { "name": "changed", "type": -2, - "links": null, + "links": [], + "properties": {}, "shape": 1 } ], - "title": "UI.Combo", + "title": "UI.Text", "properties": { "tags": [], - "defaultValue": "karras", - "values": [], - "convertValueToLabelCode": "", - "hidden": false + "defaultValue": "ComfyUI", + "multiline": false }, "widgets_values": [ - "karras" + "ComfyUI" ], "color": "#223", "bgColor": "#335", - "comfyValue": "karras", + "comfyValue": "ComfyUI", "shownOutputProperties": {}, "saveUserState": true }, { - "id": "d2ef3441-0116-4f38-80c4-2d28a35134c0", - "type": "ui/slider", + "id": "5e21407a-fb86-4694-8c1a-77cc4b3f3c39", + "type": "events/filter", "pos": [ - 66.02882460156248, - 235.99723939843759 + 1513.66162109375, + 996.294677734375 ], "size": [ 210, - 158 + 150 + ], + "flags": {}, + "order": 22, + "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": 37, + "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": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], + "inputs": [], "outputs": [ { - "name": "value", - "type": "number", + "name": "data", + "type": "object", "links": [ - "48873cd2-e7a5-4e31-914e-bdbf64aede2a", - "3a892f13-2b1e-4722-8a83-cf847c4edf35" + "ce514e38-b125-4803-a246-9a66e9f75235" ], + "properties": {}, + "shape": 0, "slot_index": 0 - }, - { - "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", + "title": "Const JSON", "properties": { - "tags": [], - "defaultValue": 8, - "min": 0, - "max": 100, - "step": 0.5, - "precision": 0, - "hidden": false + "json": "null", + "value": "null", + "type": "object", + "tags": [] }, - "widgets_values": [ - "7.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 7, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } - }, - "saveUserState": true + "boxcolor": "#AEA" }, { - "id": "a2d692aa-0680-4e1f-bff2-04112c165503", - "type": "ui/combo", + "id": "17b390f3-8350-4516-914f-817c33037476", + "type": "basic/json", "pos": [ - 68.02882460156248, - 260.99723939843733 + 2961.5223851562455, + 739.362885546875 ], "size": [ 210, - 78 + 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": "value", - "type": "string", - "link": null + "name": "", + "type": -1, + "link": "794ce3c6-a8de-4f4d-ba55-5bb3d5092993", + "properties": {}, + "shape": 1 }, { - "name": "store", + "name": "", + "type": -1, + "link": "8e8938d1-bba9-4ffc-a075-440aefbda06a", + "properties": {}, + "shape": 1 + }, + { + "name": "", "type": -1, "link": null, + "properties": {}, "shape": 1 } ], "outputs": [ { - "name": "value", - "type": "string", + "name": "", + "type": -2, "links": [ - "5500a636-e7df-42f1-9da9-25cced64d97e", - "4eb8a330-4985-4142-9685-af37c75ebac6" + "8d3265e3-4f5b-4124-b20f-51e14647a7f7" ], + "properties": {}, + "shape": 1, "slot_index": 0 }, { - "name": "changed", + "name": "", "type": -2, - "links": null, + "links": [], + "properties": {}, "shape": 1 } ], - "title": "UI.Combo", + "title": "Sequence", "properties": { - "tags": [], - "defaultValue": "euler", - "values": [], - "convertValueToLabelCode": "", - "hidden": false - }, - "widgets_values": [ - "dpmpp_2s_ancestral" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "dpmpp_2s_ancestral", - "shownOutputProperties": {}, - "saveUserState": true + "tags": [] + } }, { - "id": "3443baf2-ed35-4567-96a0-7821f3806232", - "type": "ui/slider", + "id": "49b8f233-abf9-4604-ab0c-8179178d1731", + "type": "events/branch", "pos": [ - 1466.9857870046842, - 113.61589906415983 + 1919, + 955 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 27, + "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, - 158 + 78 ], "flags": { "collapsed": true @@ -489,231 +792,512 @@ "order": 7, "mode": 0, "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, { "name": "store", "type": -1, "link": null, + "properties": {}, "shape": 1 } ], "outputs": [ { "name": "value", - "type": "number", + "type": "boolean", "links": [ - "03a1a3b0-af11-4f85-b90f-8fe6ad4db970" + "edb164b9-1b4c-4de0-b653-0e750128730e", + "a1e177b5-ac2c-4241-b693-660b45c45a2f" ], + "properties": {}, "slot_index": 0 }, { "name": "changed", "type": -2, - "links": null, + "links": [], + "properties": {}, "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", + "title": "UI.Checkbox", "properties": { "tags": [], - "defaultValue": 1, - "min": 0, - "max": 1, - "step": 0.01, - "precision": 0, - "hidden": true + "defaultValue": false }, "widgets_values": [ - "0.630" + "true" ], "color": "#223", "bgColor": "#335", - "comfyValue": 0.63, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } - }, + "comfyValue": true, + "shownOutputProperties": {}, "saveUserState": true }, { - "id": "4142e5f2-731f-49ee-8f0c-1c7cce32d05a", - "type": "ui/slider", + "id": "8247d831-788d-47b7-98d0-c1e0da4a7c62", + "type": "events/filter", "pos": [ - 1458.985787004684, - -28.384100935839506 + 2676.452385156247, + 1010.4468855468748 ], "size": [ 210, - 158 + 150 + ], + "flags": {}, + "order": 28, + "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": 42, + "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": 54, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "OUTPUT", + "link": null, + "properties": {} + }, + { + "name": "store", + "type": -1, + "link": "7568e1d6-8f0c-491e-91a0-fc0b933ea0b0", + "properties": {}, + "color_off": "rebeccapurple", + "color_on": "rebeccapurple", + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES", + "links": [], + "properties": {} + }, + { + "name": "selected_index", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Gallery", + "properties": { + "tags": [], + "defaultValue": null, + "index": null, + "updateMode": "append" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": [], + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "0b071e6c-f765-4e31-8125-8c057cddc865", + "type": "events/sequence", + "pos": [ + 3428, + 371 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 51, + "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": 50, + "mode": 0, "inputs": [ { - "name": "value", - "type": "number", - "link": null + "name": "images", + "type": "IMAGE", + "link": "b9634e37-b5f5-48cf-a5d9-a32896302548", + "properties": {}, + "config": {} }, { - "name": "store", - "type": -1, - "link": null, - "shape": 1 + "name": "filename_prefix", + "type": "string", + "link": "b8a7ec3a-979e-45ea-96bf-213a3f2e4b6c", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/text", + "serialize": true } ], "outputs": [ { - "name": "value", - "type": "number", - "links": [ - "b50a2726-2104-4eeb-91f0-a8395e0ee5db" - ], - "slot_index": 0 - }, - { - "name": "changed", + "name": "OUTPUT", "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 + "links": [ + "cbdd2597-722d-4154-be91-0b46254dc141", + "f9a02de5-ef6d-4279-a801-dabd2c00fa9e", + "d6a150e9-d000-41d1-8460-bb4614e7527c" + ], + "properties": {}, + "color_off": "rebeccapurple", + "color_on": "rebeccapurple", + "shape": 1, + "slot_index": 0 } ], - "title": "UI.Slider", + "title": "Save Image", "properties": { - "tags": [], - "defaultValue": 20, - "min": 1, - "max": 100, - "step": 1, - "precision": 0 - }, - "widgets_values": [ - "26.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 26, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } + "tags": [ + "hr" + ] }, + "color": "#432", + "bgColor": "#653", "saveUserState": true }, { - "id": "3954475b-6cf0-4b2e-98fb-536efe151034", - "type": "basic/watch", + "id": "f723f393-1b70-4056-887c-aeef1217969e", + "type": "basic/reroute", "pos": [ - -538.8660048828136, - 277.58201159667937 + 2699, + 200 ], "size": [ - 140, - 26 + 40, + 30 ], - "flags": { - "collapsed": true - }, - "order": 247, + "flags": {}, + "order": 39, "mode": 0, "inputs": [ { - "name": "value", - "type": 0, - "link": "1216193d-08db-419c-b128-4d8b85630b61", - "label": "1.000" + "name": "", + "type": "", + "link": "f8299a81-0070-41e2-ace6-bf6fd5a47e73", + "properties": {} } ], - "outputs": [], - "title": "Watch", + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "3c0ea9e3-005f-4a0f-be04-248cee08632a" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", "properties": { - "value": 1, - "tags": [] + "tags": [ + "hr" + ] } }, { - "id": "91b10565-8fef-44da-804f-95d80ef18667", - "type": "ui/combo", + "id": "9ab5e29a-fcf2-4252-9620-0ce47552c529", + "type": "basic/reroute", "pos": [ - -1110.4490048828125, - 353.09501159667974 + 1152, + 544 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 23, + "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": 29, + "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": "084703e8-986f-43ba-bead-fc339de8cce5", + "type": "ui/number", + "pos": [ + 1130, + 445 ], "size": [ 210, - 78 + 158 ], "flags": { "collapsed": true @@ -721,58 +1305,98 @@ "order": 9, "mode": 0, "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, { "name": "store", "type": -1, "link": null, + "properties": {}, "shape": 1 } ], "outputs": [ { "name": "value", - "type": "string", + "type": "number", "links": [ - "e913d5da-a017-4f6d-b356-6fc50729cc6b", - "75d6921c-e2f5-435c-8c89-cd00b91fbd51" + "74b0ece4-a591-41b1-935d-ed02fa3cec52", + "0791eec7-60ca-4b5d-bf30-c34daef5fb77" ], + "properties": {}, "slot_index": 0 }, { "name": "changed", "type": -2, - "links": null, + "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.Combo", + "title": "UI.Number", "properties": { "tags": [], - "defaultValue": "randomize", - "values": [], - "convertValueToLabelCode": "", - "hidden": false + "defaultValue": 8, + "min": 0, + "max": 100, + "step": 0.5, + "precision": 0 }, "widgets_values": [ - "randomize" + "8.000" ], "color": "#223", "bgColor": "#335", - "comfyValue": "randomize", - "shownOutputProperties": {}, + "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": "25bb8709-aadd-40f3-a98f-4461471d8341", - "type": "ui/text", + "id": "6dec6532-214e-47e8-9ecf-5151ddcd1ca4", + "type": "ui/combo", "pos": [ - 1108, - 501 + 1130, + 465 ], "size": [ 210, @@ -781,18 +1405,14 @@ "flags": { "collapsed": true }, - "order": 123, + "order": 10, "mode": 0, "inputs": [ - { - "name": "value", - "type": "string", - "link": "08fad1be-6a2e-43a8-bbef-2bb1758fbe42" - }, { "name": "store", "type": -1, "link": null, + "properties": {}, "shape": 1 } ], @@ -800,74 +1420,45 @@ { "name": "value", "type": "string", - "links": null + "links": [ + "bffaf708-3e9f-47c0-aaff-be10bad3cdcb", + "efa2e4eb-d6d2-47a1-b8f7-4fef3d2c5956" + ], + "properties": {}, + "slot_index": 0 }, { "name": "changed", "type": -2, - "links": null, + "links": [], + "properties": {}, "shape": 1 } ], - "title": "UI.Text", + "title": "UI.Combo", "properties": { "tags": [], - "defaultValue": "", - "multiline": false + "defaultValue": null, + "values": [], + "convertValueToLabelCode": "" }, - "widgets_values": [ - "cached" - ], + "widgets_values": [], "color": "#223", "bgColor": "#335", - "comfyValue": "cached", + "comfyValue": "A", "shownOutputProperties": {}, - "saveUserState": true + "saveUserState": false }, { - "id": "8e913cd1-f309-4c0e-849f-d693b37e33ab", - "type": "basic/integer", + "id": "3661b109-0d21-4987-a386-a8e4f53ff6fa", + "type": "ui/combo", "pos": [ - -606.7380048828129, - 412.64501159668004 + 1130, + 485 ], "size": [ 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 10, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "d21d31ef-6533-4fc7-9142-fbf6f29d0481" - ], - "label": "1", - "slot_index": 0 - } - ], - "title": "Const Integer", - "properties": { - "value": 1, - "tags": [] - } - }, - { - "id": "54ac52a2-5346-41b1-9f82-b1945a6e7602", - "type": "ui/slider", - "pos": [ - 64.67601269531251, - 209.33800634765626 - ], - "size": [ - 210, - 158 + 78 ], "flags": { "collapsed": true @@ -875,152 +1466,7906 @@ "order": 11, "mode": 0, "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, { "name": "store", "type": -1, "link": null, + "properties": {}, "shape": 1 } ], "outputs": [ { "name": "value", - "type": "number", + "type": "string", "links": [ - "d3e63e4f-735b-4811-abb5-6fdf82803cbc" + "46b140b9-fe33-489c-803a-1b7f48ab776b", + "1f48d50a-f904-4501-a953-dd7176e2ffd5" ], + "properties": {}, "slot_index": 0 }, { "name": "changed", "type": -2, - "links": null, + "links": [], + "properties": {}, "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", + "title": "UI.Combo", "properties": { "tags": [], - "defaultValue": 20, - "min": 1, - "max": 100, - "step": 1, - "precision": 0, - "hidden": false + "defaultValue": null, + "values": [], + "convertValueToLabelCode": "" }, - "widgets_values": [ - "20.000" - ], + "widgets_values": [], "color": "#223", "bgColor": "#335", - "comfyValue": 20, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } - }, - "saveUserState": true + "comfyValue": "A", + "shownOutputProperties": {}, + "saveUserState": false }, { - "id": "c7f6f012-53df-40ea-a6ff-21ea64a48c3a", - "type": "utils/selector2", + "id": "3e181ad2-d98a-4efa-a634-b23cdca9f3e1", + "type": "basic/reroute", "pos": [ - -699.5490048828129, - 252.79901159667983 + 2620, + 230 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 41, + "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": "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": [ + "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": {}, - "order": 246, + "flags": { + "collapsed": true + }, + "order": 38, "mode": 0, "inputs": [ { - "name": "select", - "type": "boolean", - "link": "971a1412-8ee7-41f9-bb96-573d9d326425" + "name": "", + "type": -1, + "link": "7a2ac556-fe0f-4c91-bd52-49c5e557b2f2", + "properties": {}, + "shape": 1 }, { - "name": "true", - "type": "*", - "link": "0eec7cfc-9d1a-45e5-88f2-60e0f9a4657b" + "name": "", + "type": -1, + "link": "62fc8617-059f-4f94-9d0c-cd769d1e4f1d", + "properties": {}, + "shape": 1 }, { - "name": "false", - "type": "*", - "link": "2f013f49-ab12-487a-a710-ff7240b233b1", - "slot_index": 2 + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 } ], "outputs": [ { - "name": "out", - "type": "*", + "name": "", + "type": -2, "links": [ - "1216193d-08db-419c-b128-4d8b85630b61", - "c9f3fb6f-3e41-4d2f-aefb-21df893a38ee" + "cc44ddcf-c257-4b72-99d8-4724a68bbdcd" ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "d5a2ba8b-f1bc-4830-b00f-ef2543d65d5e", + "type": "basic/reroute", + "pos": [ + 2752, + 108 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "f98dfcf1-2d97-42a3-835d-201357467e03", + "properties": {}, "slot_index": 0 } ], - "title": "Comfy.Selector2", + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "7bf1ecb5-3b6b-4f44-9c42-c8436c207895" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", "properties": { - "tags": [], - "value": null + "tags": [ + "hr" + ] + } + }, + { + "id": "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", + "type": "image/pick_image", + "pos": [ + 2485, + 323 + ], + "size": [ + 210, + 190 + ], + "flags": {}, + "order": 47, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES,COMFYBOX_IMAGE", + "link": "c4ff06f7-3f0a-475b-9d14-48d639bdfdda", + "properties": {} + }, + { + "name": "index", + "type": "number", + "link": "ca9c18cc-dfe1-4b64-bbaa-9666f11d6e6d", + "properties": {} + } + ], + "outputs": [ + { + "name": "image", + "type": "COMFYBOX_IMAGE", + "links": [ + "ba66d9be-19c3-4da8-84e0-823ef35f7f32" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "filename", + "type": "string", + "links": [ + "02e201d5-1d1e-4340-abd9-85c512cd03e7" + ], + "properties": {}, + "slot_index": 1 + }, + { + "name": "width", + "type": "number", + "links": [ + "9eed80a4-a47d-48c6-9c8a-63b5fb8026f8" + ], + "properties": {}, + "slot_index": 2 + }, + { + "name": "height", + "type": "number", + "links": [ + "3f5990c7-4b08-4d41-9a46-9a44073eb5e6" + ], + "properties": {}, + "slot_index": 3 + } + ], + "title": "Comfy.PickImage", + "properties": { + "tags": [ + "hr" + ] }, - "color": "#232", - "bgColor": "#353", "saveUserState": true }, { - "id": "5ca140ae-b710-412c-a7fa-d82a7dd78151", - "type": "actions/queue_events", + "id": "bbf920e2-f9ee-4778-aa0f-78eb203737e6", + "type": "actions/set_prompt_thumbnails", "pos": [ - -1158.2600048828126, - 386.7570115966796 + 2747, + 288 ], "size": [ - 142.79999999999998, - 66 + 260.4, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 48, + "mode": 0, + "inputs": [ + { + "name": "filenames", + "type": "*", + "link": "ba66d9be-19c3-4da8-84e0-823ef35f7f32", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [], + "title": "Comfy.SetPromptThumbnailsAction", + "properties": { + "tags": [ + "hr" + ], + "defaultFolderType": "input" + }, + "saveUserState": true + }, + { + "id": "cdeff152-cd59-4943-a002-8414626e8a1c", + "type": "basic/reroute", + "pos": [ + 2784, + 576 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "2c5441e2-cf6c-4eff-9d97-ffa1a6d8989c", + "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": 21, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "49b7145b-029e-471d-860d-cd17ea3fc5d1", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "2c5441e2-cf6c-4eff-9d97-ffa1a6d8989c" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, + { + "id": "de0b7278-0276-431e-9993-c797c62e7d5b", + "type": "graph/subgraph", + "pos": [ + 162.5999999999998, + 239.11999999999998 + ], + "size": [ + 200, + 50 + ], + "flags": { + "collapsed": false + }, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "857760be-9202-4c7f-84a2-465ee7e0ee21", + "properties": {} + }, + { + "name": "clip", + "type": "CLIP", + "link": "39f6a12b-1267-45b5-adce-9160d1378c6d", + "properties": {} + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "dd461061-2eaf-4cb3-821c-547955223eb3", + "3130f01b-569e-41ee-8a0a-d91b374f21e7", + "a008d49f-dcc2-4a20-8a6f-1634349cf675" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "021af64b-7869-45db-966e-a43f8bfcd6fd" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "Lora x5", + "properties": { + "enabled": true, + "tags": [ + "gen", + "hr" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "7fd0c7ef-0e9b-4bbb-9211-62a6c39c6802", + "type": "graph/output", + "pos": [ + 786, + 154 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "MODEL", + "link": "ba87068a-8744-4b99-bf30-dbf3c7d47a0a", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "MODEL", + "type": "MODEL", + "subgraphID": "de0b7278-0276-431e-9993-c797c62e7d5b", + "tags": [] + } + }, + { + "id": "f29da6b5-691d-4e12-87d8-e70fe469baa9", + "type": "graph/output", + "pos": [ + 788, + 208 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "CLIP", + "link": "7e7bcec0-5aa9-47de-a650-69153d55d372", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "CLIP", + "type": "CLIP", + "subgraphID": "de0b7278-0276-431e-9993-c797c62e7d5b", + "tags": [] + } + }, + { + "id": "2e2e6b6f-0437-4cac-b5e0-b2de5e6dac00", + "type": "ui/checkbox", + "pos": [ + -841.4200000000005, + 352.7899999999999 + ], + "size": [ + 210, + 78 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "boolean", + "links": [ + "5f736869-78b4-443e-ab42-56f795699908" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "3d90caca-e3a7-409f-aa9e-ad3aa67aea73" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Checkbox", + "properties": { + "tags": [], + "defaultValue": false + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "d6e2c169-6c96-4761-a2c1-e4471986e03d", + "type": "graph/input", + "pos": [ + -443, + 151 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + "65afe7ed-041e-4fb0-a5a1-e077fca6e4a2", + "afbcc1fa-a6e1-47dd-8362-63d06eb615e8" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "model", + "type": "MODEL", + "value": null, + "subgraphID": "de0b7278-0276-431e-9993-c797c62e7d5b", + "tags": [] + } + }, + { + "id": "7f4765b7-6c0d-44bc-922b-350752dddd71", + "type": "graph/input", + "pos": [ + -436, + 197 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CLIP", + "links": [ + "a5567a70-048f-46d8-b77f-826996cdbbc7", + "28871589-1329-42d7-8691-7bd883359876" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "clip", + "type": "CLIP", + "value": null, + "subgraphID": "de0b7278-0276-431e-9993-c797c62e7d5b", + "tags": [] + } + }, + { + "id": "961702c6-c938-4cec-a8fc-07e1d0df46f9", + "type": "actions/set_node_mode", + "pos": [ + -575, + 354 + ], + "size": [ + 210, + 102 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "enabled", + "type": "boolean", + "link": "5f736869-78b4-443e-ab42-56f795699908", + "properties": {}, + "slot_index": 0 + }, + { + "name": "set", + "type": -1, + "link": "3d90caca-e3a7-409f-aa9e-ad3aa67aea73", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.SetNodeModeAction", + "properties": { + "targetTags": "lora", + "enable": false, + "tags": [] + }, + "saveUserState": true + }, + { + "id": "b953c754-2ab7-458f-b67b-bdd0107ca239", + "type": "ui/checkbox", + "pos": [ + -292, + 493 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "boolean", + "links": [ + "03cf2da4-0c10-4ebc-9a93-d7529ca54f8f", + "e4b5ad4c-7298-426f-9c2e-ec27c52c236f", + "41e315a3-6f12-4adf-b9ba-fc19090bf561", + "5785eae7-1f8e-4e02-8403-229b8c7fe1a4", + "878f0c9b-72df-4991-b41f-bfdc0feb74af" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Checkbox", + "properties": { + "tags": [ + "lora" + ], + "defaultValue": false + }, + "widgets_values": [ + "true" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": true, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "47d64a98-f9b5-4b19-b6c4-0dc07f92c261", + "type": "graph/subgraph", + "pos": [ + 137, + 341 + ], + "size": [ + 200, + 70 + ], + "flags": {}, + "order": 6, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "26dea77d-e569-4a7b-9509-39c51c1ebfba", + "properties": {} + }, + { + "name": "clip", + "type": "CLIP", + "link": "ec0bc8ee-e6bc-45cc-ad9c-5f3eb898cba4", + "properties": {} + }, + { + "name": "link_weights", + "type": "boolean", + "link": "e4b5ad4c-7298-426f-9c2e-ec27c52c236f", + "properties": {} + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "3d2e55e2-1db3-426d-90de-e92a1f7f091a" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "0a431a9e-1214-4917-b2ee-43626962e219" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "Lora x1", + "properties": { + "enabled": true, + "tags": [ + "lora", + "gen", + "hr" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "17a50de4-87c3-4467-9373-d5333e398883", + "type": "ui/button", + "pos": [ + -131, + 23 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "336e69d2-44fd-48f2-a048-329ee9d074bf" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Button", + "properties": { + "tags": [], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "a63e6905-d3f2-4537-9251-c3a6f8030024", + "type": "ui/combo", + "pos": [ + 273, + 62 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "041f0997-edaf-4090-a9a3-0d8378dc16e7" + ], + "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": "64621e04-f55f-454c-ac91-7654322f49f4", + "type": "graph/input", + "pos": [ + 297, + 22 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + "dd20a098-cbbf-4913-8fd8-91f27ccf056e" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "model", + "type": "MODEL", + "value": null, + "subgraphID": "47d64a98-f9b5-4b19-b6c4-0dc07f92c261", + "tags": [] + } + }, + { + "id": "8313d8f8-6fb0-4222-b667-78e0d39c043f", + "type": "graph/input", + "pos": [ + 295, + 45 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CLIP", + "links": [ + "ae2a2bd3-c857-41f5-838a-7409835703d9" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "clip", + "type": "CLIP", + "value": null, + "subgraphID": "47d64a98-f9b5-4b19-b6c4-0dc07f92c261", + "tags": [] + } + }, + { + "id": "3a35bd5d-e68a-45ab-8aad-1916234044fd", + "type": "basic/integer", + "pos": [ + -99, + -14 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "fbb25a73-f3a3-4f97-aed2-56d6ff9d52c0" + ], + "properties": {}, + "label": "0" + } + ], + "title": "Const Integer", + "properties": { + "value": 0, + "tags": [] + } + }, + { + "id": "15b8a5de-b8a9-45c5-947b-bc23a9195bc0", + "type": "ui/number", + "pos": [ + 282, + 85 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "35bece05-a4f4-4573-b57a-e867f0439a61", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "dab400d5-6153-4d8b-8e00-6f44f3418527" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "4041cf25-123c-4485-b69b-cf79c27eddc2" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": -2, + "max": 2, + "step": 0.05, + "precision": 0 + }, + "widgets_values": [ + "0.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "7dee43c0-80ab-4a9e-af35-df873b2e8aaf", + "type": "ui/number", + "pos": [ + 282, + 112 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "c1d2e50c-ab70-46a6-b1c9-74d67ca76352", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "247ffea1-a6f6-4570-ad0d-b544a611d2b4" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "f0ddbd33-9784-4eea-81cb-adc198a5e1e2" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": -2, + "max": 2, + "step": 0.05, + "precision": 0 + }, + "widgets_values": [ + "0.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "8c6722e5-6599-4d15-a99d-9f4ed4a3e2d8", + "type": "events/sequence", + "pos": [ + 139, + 116 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "d0ee7ea4-612b-4fb7-be3f-09c8ee457d37", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "6022cf13-b62f-4d7d-a975-57d35a90f77c", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "c1d2e50c-ab70-46a6-b1c9-74d67ca76352" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "1320ae4a-bd37-4180-8258-88e877860cfe", + "type": "events/wrap_as_event", + "pos": [ + -13, + 18 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "trigger", + "type": -1, + "link": "336e69d2-44fd-48f2-a048-329ee9d074bf", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "param", + "type": "", + "link": "fbb25a73-f3a3-4f97-aed2-56d6ff9d52c0", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "event", + "type": -2, + "links": [ + "465e6481-678a-4558-8fa7-ec3e5e6e69af", + "d0ee7ea4-612b-4fb7-be3f-09c8ee457d37" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Wrap As Event", + "properties": { + "tags": [] + } + }, + { + "id": "7ef6e604-0fb6-487d-9dda-fa40ab34dedc", + "type": "events/sequence", + "pos": [ + 157, + 83 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "465e6481-678a-4558-8fa7-ec3e5e6e69af", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "00f54f6d-5766-4a90-829d-d0ac6a3b1342", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "35bece05-a4f4-4573-b57a-e867f0439a61" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "11bbf03b-de5e-491d-a2d1-59eac0cd6b58", + "type": "events/branch", + "pos": [ + -150, + 82 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "f0ddbd33-9784-4eea-81cb-adc198a5e1e2", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "cond", + "type": "boolean", + "link": "42b14210-f2b4-4d61-9f55-8b80262b96bc", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [ + "e5fc635f-351e-4211-b5a8-52656ce976ef" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "265012f6-9df5-4e88-95c9-834280081d94", + "type": "graph/input", + "pos": [ + -345, + 101 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "boolean", + "links": [ + "42b14210-f2b4-4d61-9f55-8b80262b96bc", + "5fea36ea-c013-4838-bf06-5c9b462e1e9c" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "link_weights", + "type": "boolean", + "value": true, + "subgraphID": "47d64a98-f9b5-4b19-b6c4-0dc07f92c261", + "tags": [] + } + }, + { + "id": "8d00aff5-10af-4815-a2ef-491ef1d0f726", + "type": "events/no_change", + "pos": [ + -45, + 120 + ], + "size": [ + 159.6, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "fcd99f03-b0b0-40ba-b56b-036343e2588a", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "6022cf13-b62f-4d7d-a975-57d35a90f77c" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.NoChangeEvent", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "7b72df38-a454-4d8e-80db-e25469bef000", + "type": "events/no_change", + "pos": [ + -46, + 82 + ], + "size": [ + 159.6, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "e5fc635f-351e-4211-b5a8-52656ce976ef", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "00f54f6d-5766-4a90-829d-d0ac6a3b1342" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.NoChangeEvent", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "c23c1112-5b69-4f0c-8b01-b6b9cddc2b26", + "type": "events/branch", + "pos": [ + -154, + 115 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "4041cf25-123c-4485-b69b-cf79c27eddc2", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "cond", + "type": "boolean", + "link": "5fea36ea-c013-4838-bf06-5c9b462e1e9c", + "properties": {} + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [ + "fcd99f03-b0b0-40ba-b56b-036343e2588a" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "5fa3b59f-d591-4779-afb1-b41937f74414", + "type": "graph/output", + "pos": [ + 617, + 25 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "MODEL", + "link": "8cd9c9fd-7004-4306-aeec-2ca38f6b6c01", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "MODEL", + "type": "MODEL", + "subgraphID": "47d64a98-f9b5-4b19-b6c4-0dc07f92c261", + "tags": [] + } + }, + { + "id": "c0450393-5f15-444e-97d6-10d6900a6fe8", + "type": "graph/output", + "pos": [ + 634, + 57 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "CLIP", + "link": "84c1e4fa-5f01-49ae-a853-0b3fcc376626", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "CLIP", + "type": "CLIP", + "subgraphID": "47d64a98-f9b5-4b19-b6c4-0dc07f92c261", + "tags": [] + } + }, + { + "id": "bc86ec68-3893-41f8-af57-e52e010b0bee", + "type": "LoraLoader", + "pos": [ + 409, + 0 + ], + "size": [ + 169.6, + 106 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "dd20a098-cbbf-4913-8fd8-91f27ccf056e", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "clip", + "type": "CLIP", + "link": "ae2a2bd3-c857-41f5-838a-7409835703d9", + "properties": {}, + "slot_index": 1, + "config": {} + }, + { + "name": "lora_name", + "type": "string", + "link": "041f0997-edaf-4090-a9a3-0d8378dc16e7", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true, + "slot_index": 2 + }, + { + "name": "strength_model", + "type": "number", + "link": "dab400d5-6153-4d8b-8e00-6f44f3418527", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "strength_clip", + "type": "number", + "link": "247ffea1-a6f6-4570-ad0d-b544a611d2b4", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "8cd9c9fd-7004-4306-aeec-2ca38f6b6c01" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "84c1e4fa-5f01-49ae-a853-0b3fcc376626" + ], + "properties": {}, + "shape": 3, + "slot_index": 1 + } + ], + "title": "Load LoRA", + "properties": { + "tags": [ + "gen", + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + } + ], + "links": [ + [ + "dd20a098-cbbf-4913-8fd8-91f27ccf056e", + "64621e04-f55f-454c-ac91-7654322f49f4", + 0, + "bc86ec68-3893-41f8-af57-e52e010b0bee", + 0, + "MODEL" + ], + [ + "ae2a2bd3-c857-41f5-838a-7409835703d9", + "8313d8f8-6fb0-4222-b667-78e0d39c043f", + 0, + "bc86ec68-3893-41f8-af57-e52e010b0bee", + 1, + "CLIP" + ], + [ + "8cd9c9fd-7004-4306-aeec-2ca38f6b6c01", + "bc86ec68-3893-41f8-af57-e52e010b0bee", + 0, + "5fa3b59f-d591-4779-afb1-b41937f74414", + 0, + "MODEL" + ], + [ + "247ffea1-a6f6-4570-ad0d-b544a611d2b4", + "7dee43c0-80ab-4a9e-af35-df873b2e8aaf", + 0, + "bc86ec68-3893-41f8-af57-e52e010b0bee", + 4, + "number" + ], + [ + "dab400d5-6153-4d8b-8e00-6f44f3418527", + "15b8a5de-b8a9-45c5-947b-bc23a9195bc0", + 0, + "bc86ec68-3893-41f8-af57-e52e010b0bee", + 3, + "number" + ], + [ + "336e69d2-44fd-48f2-a048-329ee9d074bf", + "17a50de4-87c3-4467-9373-d5333e398883", + 0, + "1320ae4a-bd37-4180-8258-88e877860cfe", + 0, + -1 + ], + [ + "fbb25a73-f3a3-4f97-aed2-56d6ff9d52c0", + "3a35bd5d-e68a-45ab-8aad-1916234044fd", + 0, + "1320ae4a-bd37-4180-8258-88e877860cfe", + 1, + "number" + ], + [ + "84c1e4fa-5f01-49ae-a853-0b3fcc376626", + "bc86ec68-3893-41f8-af57-e52e010b0bee", + 1, + "c0450393-5f15-444e-97d6-10d6900a6fe8", + 0, + "CLIP" + ], + [ + "041f0997-edaf-4090-a9a3-0d8378dc16e7", + "a63e6905-d3f2-4537-9251-c3a6f8030024", + 0, + "bc86ec68-3893-41f8-af57-e52e010b0bee", + 2, + "string" + ], + [ + "00f54f6d-5766-4a90-829d-d0ac6a3b1342", + "7b72df38-a454-4d8e-80db-e25469bef000", + 0, + "7ef6e604-0fb6-487d-9dda-fa40ab34dedc", + 1, + -1 + ], + [ + "6022cf13-b62f-4d7d-a975-57d35a90f77c", + "8d00aff5-10af-4815-a2ef-491ef1d0f726", + 0, + "8c6722e5-6599-4d15-a99d-9f4ed4a3e2d8", + 1, + -1 + ], + [ + "e5fc635f-351e-4211-b5a8-52656ce976ef", + "11bbf03b-de5e-491d-a2d1-59eac0cd6b58", + 0, + "7b72df38-a454-4d8e-80db-e25469bef000", + 0, + -1 + ], + [ + "fcd99f03-b0b0-40ba-b56b-036343e2588a", + "c23c1112-5b69-4f0c-8b01-b6b9cddc2b26", + 0, + "8d00aff5-10af-4815-a2ef-491ef1d0f726", + 0, + -1 + ], + [ + "465e6481-678a-4558-8fa7-ec3e5e6e69af", + "1320ae4a-bd37-4180-8258-88e877860cfe", + 0, + "7ef6e604-0fb6-487d-9dda-fa40ab34dedc", + 0, + -1 + ], + [ + "d0ee7ea4-612b-4fb7-be3f-09c8ee457d37", + "1320ae4a-bd37-4180-8258-88e877860cfe", + 0, + "8c6722e5-6599-4d15-a99d-9f4ed4a3e2d8", + 0, + -1 + ], + [ + "42b14210-f2b4-4d61-9f55-8b80262b96bc", + "265012f6-9df5-4e88-95c9-834280081d94", + 0, + "11bbf03b-de5e-491d-a2d1-59eac0cd6b58", + 1, + "boolean" + ], + [ + "5fea36ea-c013-4838-bf06-5c9b462e1e9c", + "265012f6-9df5-4e88-95c9-834280081d94", + 0, + "c23c1112-5b69-4f0c-8b01-b6b9cddc2b26", + 1, + "boolean" + ], + [ + "c1d2e50c-ab70-46a6-b1c9-74d67ca76352", + "8c6722e5-6599-4d15-a99d-9f4ed4a3e2d8", + 0, + "7dee43c0-80ab-4a9e-af35-df873b2e8aaf", + 0, + -1 + ], + [ + "35bece05-a4f4-4573-b57a-e867f0439a61", + "7ef6e604-0fb6-487d-9dda-fa40ab34dedc", + 0, + "15b8a5de-b8a9-45c5-947b-bc23a9195bc0", + 0, + -1 + ], + [ + "4041cf25-123c-4485-b69b-cf79c27eddc2", + "15b8a5de-b8a9-45c5-947b-bc23a9195bc0", + 1, + "c23c1112-5b69-4f0c-8b01-b6b9cddc2b26", + 0, + -1 + ], + [ + "f0ddbd33-9784-4eea-81cb-adc198a5e1e2", + "7dee43c0-80ab-4a9e-af35-df873b2e8aaf", + 1, + "11bbf03b-de5e-491d-a2d1-59eac0cd6b58", + 0, + -1 + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "48a17c01-399a-4938-86b6-8ed9fe942ae9", + "type": "graph/subgraph", + "pos": [ + 136, + 437 + ], + "size": [ + 200, + 70 + ], + "flags": {}, + "order": 7, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "3d2e55e2-1db3-426d-90de-e92a1f7f091a", + "properties": {} + }, + { + "name": "clip", + "type": "CLIP", + "link": "0a431a9e-1214-4917-b2ee-43626962e219", + "properties": {} + }, + { + "name": "link_weights", + "type": "boolean", + "link": "41e315a3-6f12-4adf-b9ba-fc19090bf561", + "properties": {} + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "fbcd9fa8-a9ac-4b67-ab53-ebbe66259d0d" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "ada08681-649c-46c6-88fa-fdf1e27f2e5c" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "Lora x1", + "properties": { + "enabled": true, + "tags": [ + "lora", + "gen", + "hr" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "85e8113c-250b-4ad9-b58a-9c300225b884", + "type": "ui/button", + "pos": [ + -60.500000000000014, + 25.35000000000001 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "1282c7c4-69aa-458e-bce1-8af0383fdb03" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Button", + "properties": { + "tags": [], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "5397b553-900f-4d4b-975b-89b1e55a9fa9", + "type": "LoraLoader", + "pos": [ + 409, + 0 + ], + "size": [ + 169.6, + 106 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "9918f954-72a9-4028-acd0-05dab7c95ea5", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "clip", + "type": "CLIP", + "link": "65727f23-60ee-4274-bd13-23daa04f171e", + "properties": {}, + "slot_index": 1, + "config": {} + }, + { + "name": "lora_name", + "type": "string", + "link": "4270ea22-3807-4415-a18a-c7ead2f43474", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true, + "slot_index": 2 + }, + { + "name": "strength_model", + "type": "number", + "link": "1691e5fc-9454-4c40-a330-7f87f518ccc4", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "strength_clip", + "type": "number", + "link": "f488e6b6-a0c2-4861-a909-507b358ae606", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "b78f49a6-8737-4fe5-9ec3-96d9243cbd53" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "c3c4d4ed-dbee-4d99-a60d-78321fdb0692" + ], + "properties": {}, + "shape": 3, + "slot_index": 1 + } + ], + "title": "Load LoRA", + "properties": { + "tags": [ + "gen", + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "4548d4ba-0a7c-45c7-bc78-83f5c7ce7fcc", + "type": "ui/combo", + "pos": [ + 276, + 62 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "4270ea22-3807-4415-a18a-c7ead2f43474" + ], + "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": "acc56c87-fdc0-4964-80bc-8c8195a70a92", + "type": "events/no_change", + "pos": [ + -22.475567011718802, + 77.91650000000024 + ], + "size": [ + 159.6, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "789e311d-b5f8-4b66-b1e8-31d7183fef3c", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "abad69d7-6aa8-40c0-b10f-9068e61d94b2" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.NoChangeEvent", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "10200022-d68e-42fc-8f35-e2f8ca0bb614", + "type": "ui/number", + "pos": [ + 287, + 84 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "338b28b4-4263-44a0-9fc9-45b91143abeb", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "1691e5fc-9454-4c40-a330-7f87f518ccc4" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "6c74bf0a-2fc5-4243-a320-d3d0457b8da1" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": -2, + "max": 2, + "step": 0.05, + "precision": 0 + }, + "widgets_values": [ + "0.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "9b07803e-52a6-450b-b8a0-0010dcf6496b", + "type": "ui/number", + "pos": [ + 292, + 107 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "f0ce674c-5341-4864-99cf-5f447f45790e", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "f488e6b6-a0c2-4861-a909-507b358ae606" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "03bd5fee-6470-4b14-87f8-67bbb2faca2a" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": -2, + "max": 2, + "step": 0.05, + "precision": 0 + }, + "widgets_values": [ + "0.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "c2961e86-81f0-4b29-a169-18fa7269916e", + "type": "events/wrap_as_event", + "pos": [ + 61, + 24 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "trigger", + "type": -1, + "link": "1282c7c4-69aa-458e-bce1-8af0383fdb03", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "param", + "type": "", + "link": "4dc3547b-81bd-433a-9544-b95ff7be3eed", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "event", + "type": -2, + "links": [ + "ff3b7018-606a-4743-8fd8-875c5aa2e5a7", + "e6cd2c54-14fc-4d48-94b1-737b3551d061" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Wrap As Event", + "properties": { + "tags": [] + } + }, + { + "id": "6e239383-a7be-4ca2-9c60-c8fa103b133c", + "type": "events/sequence", + "pos": [ + 165, + 107 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "ff3b7018-606a-4743-8fd8-875c5aa2e5a7", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "abad69d7-6aa8-40c0-b10f-9068e61d94b2", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "f0ce674c-5341-4864-99cf-5f447f45790e" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "55c5a866-f820-4218-b655-f4a974107e22", + "type": "events/sequence", + "pos": [ + 173, + 82 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "e6cd2c54-14fc-4d48-94b1-737b3551d061", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "754558b0-69df-4296-8d64-4297193ddac4", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "338b28b4-4263-44a0-9fc9-45b91143abeb" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "a71c631c-4006-4884-ad44-81c3c1af547c", + "type": "events/branch", + "pos": [ + -134.16000000000025, + 78.75000000000009 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "6c74bf0a-2fc5-4243-a320-d3d0457b8da1", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "cond", + "type": "boolean", + "link": "29d2f0c7-995a-4be0-8e2e-89717d80f137", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [ + "789e311d-b5f8-4b66-b1e8-31d7183fef3c" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "d341cc42-6f87-44ed-9922-0c6cdbdad426", + "type": "events/branch", + "pos": [ + -142.22000000000014, + 116.51999999999997 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "03bd5fee-6470-4b14-87f8-67bbb2faca2a", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "cond", + "type": "boolean", + "link": "32e9a672-9c98-4af4-9228-50d8e676684e", + "properties": {} + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [ + "8e808b29-c259-4c79-a47b-3b6046146275" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "43c96a09-0c46-46e9-9019-0bbcdc695abd", + "type": "graph/input", + "pos": [ + -271.2200000000007, + 101.52 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "boolean", + "links": [ + "29d2f0c7-995a-4be0-8e2e-89717d80f137", + "32e9a672-9c98-4af4-9228-50d8e676684e" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "link_weights", + "type": "boolean", + "value": true, + "subgraphID": "48a17c01-399a-4938-86b6-8ed9fe942ae9", + "tags": [] + } + }, + { + "id": "b38541d8-881e-4e4f-b458-a76883ccc429", + "type": "basic/integer", + "pos": [ + -33, + -11 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "4dc3547b-81bd-433a-9544-b95ff7be3eed" + ], + "properties": {}, + "label": "0" + } + ], + "title": "Const Integer", + "properties": { + "value": 0, + "tags": [] + } + }, + { + "id": "77c1eeca-dbd1-4621-b577-7b42251135a6", + "type": "graph/input", + "pos": [ + 318, + 20 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + "9918f954-72a9-4028-acd0-05dab7c95ea5" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "model", + "type": "MODEL", + "value": null, + "subgraphID": "48a17c01-399a-4938-86b6-8ed9fe942ae9", + "tags": [] + } + }, + { + "id": "4e03afc5-9a95-44e0-849a-e7c221798683", + "type": "graph/input", + "pos": [ + 327, + 41 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CLIP", + "links": [ + "65727f23-60ee-4274-bd13-23daa04f171e" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "clip", + "type": "CLIP", + "value": null, + "subgraphID": "48a17c01-399a-4938-86b6-8ed9fe942ae9", + "tags": [] + } + }, + { + "id": "17221ee9-2332-4553-8d70-d777208fc00e", + "type": "graph/output", + "pos": [ + 607, + 25 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "MODEL", + "link": "b78f49a6-8737-4fe5-9ec3-96d9243cbd53", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "MODEL", + "type": "MODEL", + "subgraphID": "48a17c01-399a-4938-86b6-8ed9fe942ae9", + "tags": [] + } + }, + { + "id": "e03c6ea0-6071-4e50-9f03-1b4a28aad42e", + "type": "graph/output", + "pos": [ + 608, + 49 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "CLIP", + "link": "c3c4d4ed-dbee-4d99-a60d-78321fdb0692", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "CLIP", + "type": "CLIP", + "subgraphID": "48a17c01-399a-4938-86b6-8ed9fe942ae9", + "tags": [] + } + }, + { + "id": "989a7b23-fef3-4181-a340-89d8f558f689", + "type": "events/no_change", + "pos": [ + -21, + 116 + ], + "size": [ + 159.6, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "8e808b29-c259-4c79-a47b-3b6046146275", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "754558b0-69df-4296-8d64-4297193ddac4" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.NoChangeEvent", + "properties": { + "tags": [] + }, + "saveUserState": true + } + ], + "links": [ + [ + "9918f954-72a9-4028-acd0-05dab7c95ea5", + "77c1eeca-dbd1-4621-b577-7b42251135a6", + 0, + "5397b553-900f-4d4b-975b-89b1e55a9fa9", + 0, + "MODEL" + ], + [ + "65727f23-60ee-4274-bd13-23daa04f171e", + "4e03afc5-9a95-44e0-849a-e7c221798683", + 0, + "5397b553-900f-4d4b-975b-89b1e55a9fa9", + 1, + "CLIP" + ], + [ + "b78f49a6-8737-4fe5-9ec3-96d9243cbd53", + "5397b553-900f-4d4b-975b-89b1e55a9fa9", + 0, + "17221ee9-2332-4553-8d70-d777208fc00e", + 0, + "MODEL" + ], + [ + "f488e6b6-a0c2-4861-a909-507b358ae606", + "9b07803e-52a6-450b-b8a0-0010dcf6496b", + 0, + "5397b553-900f-4d4b-975b-89b1e55a9fa9", + 4, + "number" + ], + [ + "1691e5fc-9454-4c40-a330-7f87f518ccc4", + "10200022-d68e-42fc-8f35-e2f8ca0bb614", + 0, + "5397b553-900f-4d4b-975b-89b1e55a9fa9", + 3, + "number" + ], + [ + "1282c7c4-69aa-458e-bce1-8af0383fdb03", + "85e8113c-250b-4ad9-b58a-9c300225b884", + 0, + "c2961e86-81f0-4b29-a169-18fa7269916e", + 0, + -1 + ], + [ + "4dc3547b-81bd-433a-9544-b95ff7be3eed", + "b38541d8-881e-4e4f-b458-a76883ccc429", + 0, + "c2961e86-81f0-4b29-a169-18fa7269916e", + 1, + "number" + ], + [ + "c3c4d4ed-dbee-4d99-a60d-78321fdb0692", + "5397b553-900f-4d4b-975b-89b1e55a9fa9", + 1, + "e03c6ea0-6071-4e50-9f03-1b4a28aad42e", + 0, + "CLIP" + ], + [ + "4270ea22-3807-4415-a18a-c7ead2f43474", + "4548d4ba-0a7c-45c7-bc78-83f5c7ce7fcc", + 0, + "5397b553-900f-4d4b-975b-89b1e55a9fa9", + 2, + "string" + ], + [ + "754558b0-69df-4296-8d64-4297193ddac4", + "989a7b23-fef3-4181-a340-89d8f558f689", + 0, + "55c5a866-f820-4218-b655-f4a974107e22", + 1, + -1 + ], + [ + "abad69d7-6aa8-40c0-b10f-9068e61d94b2", + "acc56c87-fdc0-4964-80bc-8c8195a70a92", + 0, + "6e239383-a7be-4ca2-9c60-c8fa103b133c", + 1, + -1 + ], + [ + "8e808b29-c259-4c79-a47b-3b6046146275", + "d341cc42-6f87-44ed-9922-0c6cdbdad426", + 0, + "989a7b23-fef3-4181-a340-89d8f558f689", + 0, + -1 + ], + [ + "789e311d-b5f8-4b66-b1e8-31d7183fef3c", + "a71c631c-4006-4884-ad44-81c3c1af547c", + 0, + "acc56c87-fdc0-4964-80bc-8c8195a70a92", + 0, + -1 + ], + [ + "29d2f0c7-995a-4be0-8e2e-89717d80f137", + "43c96a09-0c46-46e9-9019-0bbcdc695abd", + 0, + "a71c631c-4006-4884-ad44-81c3c1af547c", + 1, + "boolean" + ], + [ + "32e9a672-9c98-4af4-9228-50d8e676684e", + "43c96a09-0c46-46e9-9019-0bbcdc695abd", + 0, + "d341cc42-6f87-44ed-9922-0c6cdbdad426", + 1, + "boolean" + ], + [ + "6c74bf0a-2fc5-4243-a320-d3d0457b8da1", + "10200022-d68e-42fc-8f35-e2f8ca0bb614", + 1, + "a71c631c-4006-4884-ad44-81c3c1af547c", + 0, + -1 + ], + [ + "03bd5fee-6470-4b14-87f8-67bbb2faca2a", + "9b07803e-52a6-450b-b8a0-0010dcf6496b", + 1, + "d341cc42-6f87-44ed-9922-0c6cdbdad426", + 0, + -1 + ], + [ + "ff3b7018-606a-4743-8fd8-875c5aa2e5a7", + "c2961e86-81f0-4b29-a169-18fa7269916e", + 0, + "6e239383-a7be-4ca2-9c60-c8fa103b133c", + 0, + -1 + ], + [ + "e6cd2c54-14fc-4d48-94b1-737b3551d061", + "c2961e86-81f0-4b29-a169-18fa7269916e", + 0, + "55c5a866-f820-4218-b655-f4a974107e22", + 0, + -1 + ], + [ + "f0ce674c-5341-4864-99cf-5f447f45790e", + "6e239383-a7be-4ca2-9c60-c8fa103b133c", + 0, + "9b07803e-52a6-450b-b8a0-0010dcf6496b", + 0, + -1 + ], + [ + "338b28b4-4263-44a0-9fc9-45b91143abeb", + "55c5a866-f820-4218-b655-f4a974107e22", + 0, + "10200022-d68e-42fc-8f35-e2f8ca0bb614", + 0, + -1 + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "963b8053-f5b9-4dae-8ba1-118515246624", + "type": "graph/subgraph", + "pos": [ + 136, + 533 + ], + "size": [ + 200, + 70 + ], + "flags": {}, + "order": 8, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "fbcd9fa8-a9ac-4b67-ab53-ebbe66259d0d", + "properties": {} + }, + { + "name": "clip", + "type": "CLIP", + "link": "ada08681-649c-46c6-88fa-fdf1e27f2e5c", + "properties": {} + }, + { + "name": "link_weights", + "type": "boolean", + "link": "5785eae7-1f8e-4e02-8403-229b8c7fe1a4", + "properties": {} + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "e73a015e-d278-4922-aac0-67d53a51f37d" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "5e41ddc7-d5fc-40af-b77e-a37eb1fee344" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "Lora x1", + "properties": { + "enabled": true, + "tags": [ + "lora", + "gen", + "hr" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "e2dee436-3ea0-4755-b039-5ffca9884181", + "type": "ui/button", + "pos": [ + -138.45082644628107, + -6.88140495867766 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "6b78c14c-b453-47b0-919f-e5a19f3bd723" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Button", + "properties": { + "tags": [], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "c63ccf7f-5d68-4655-97f0-4fe9ad5ad53d", + "type": "LoraLoader", + "pos": [ + 409, + 0 + ], + "size": [ + 169.6, + 106 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "6160be2b-efe8-4a6d-ae9a-2233af543352", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "clip", + "type": "CLIP", + "link": "14da4c61-977c-44c7-8dc8-748513b156d8", + "properties": {}, + "slot_index": 1, + "config": {} + }, + { + "name": "lora_name", + "type": "string", + "link": "f9d95f8a-e42e-4376-96e6-881750f87960", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true, + "slot_index": 2 + }, + { + "name": "strength_model", + "type": "number", + "link": "32ecb2db-e9a9-4c18-81cb-d3efe49a0ef6", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "strength_clip", + "type": "number", + "link": "9a8a11d2-1c21-4f93-88a2-d21224545ba4", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "977ecca5-5cb2-48da-b93e-4b125094548b" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "61ca6ac6-16f3-4156-9a7c-fb1653f9f83e" + ], + "properties": {}, + "shape": 3, + "slot_index": 1 + } + ], + "title": "Load LoRA", + "properties": { + "tags": [ + "gen", + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "9e148e69-4b2d-4636-a9bd-90c0cd9b6495", + "type": "ui/combo", + "pos": [ + 275, + 62 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "f9d95f8a-e42e-4376-96e6-881750f87960" + ], + "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": "17bd9013-8444-43d0-a1a0-43c4f47abd4d", + "type": "basic/integer", + "pos": [ + -107.64082644628094, + -32.481404958677686 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "567f3a5a-294d-43d1-9061-effea23bff84" + ], + "properties": {}, + "label": "0" + } + ], + "title": "Const Integer", + "properties": { + "value": 0, + "tags": [] + } + }, + { + "id": "4dab860f-845d-45eb-8f89-a83cc8de8bd0", + "type": "graph/input", + "pos": [ + 335, + 46 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CLIP", + "links": [ + "14da4c61-977c-44c7-8dc8-748513b156d8" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "clip", + "type": "CLIP", + "value": null, + "subgraphID": "963b8053-f5b9-4dae-8ba1-118515246624", + "tags": [] + } + }, + { + "id": "0f7aee12-df64-4a1c-9509-0da16e91d1b1", + "type": "graph/input", + "pos": [ + 316, + 18 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + "6160be2b-efe8-4a6d-ae9a-2233af543352" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "model", + "type": "MODEL", + "value": null, + "subgraphID": "963b8053-f5b9-4dae-8ba1-118515246624", + "tags": [] + } + }, + { + "id": "4ed54339-d19e-4b9a-bec2-7663e0b71d40", + "type": "graph/output", + "pos": [ + 600, + 46 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "CLIP", + "link": "61ca6ac6-16f3-4156-9a7c-fb1653f9f83e", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "CLIP", + "type": "CLIP", + "subgraphID": "963b8053-f5b9-4dae-8ba1-118515246624", + "tags": [] + } + }, + { + "id": "0d79437e-bded-4554-a4af-e33bd3e986f3", + "type": "graph/output", + "pos": [ + 599, + 25 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "MODEL", + "link": "977ecca5-5cb2-48da-b93e-4b125094548b", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "MODEL", + "type": "MODEL", + "subgraphID": "963b8053-f5b9-4dae-8ba1-118515246624", + "tags": [] + } + }, + { + "id": "1a9157c7-ef67-435a-b6b3-8849f1197a96", + "type": "ui/number", + "pos": [ + 287, + 88 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "aa5366a9-0f02-4c3f-902c-2a5e6b628063", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "32ecb2db-e9a9-4c18-81cb-d3efe49a0ef6" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "1d9a25f7-d15e-480e-a6e3-3e733cd8c795" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": -2, + "max": 2, + "step": 0.05, + "precision": 0 + }, + "widgets_values": [ + "0.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "9d7b16f3-357e-45b5-bff3-f4d5188d3d07", + "type": "ui/number", + "pos": [ + 287, + 111 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "e0e73866-b7af-4d1b-b215-9135112c0073", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "9a8a11d2-1c21-4f93-88a2-d21224545ba4" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "dc18dd78-7bb9-454d-ba07-fd42f6fa40f5" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": -2, + "max": 2, + "step": 0.05, + "precision": 0 + }, + "widgets_values": [ + "0.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "f0a03733-9de6-45a0-a102-16ee4547fbce", + "type": "events/wrap_as_event", + "pos": [ + -21, + -11 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "trigger", + "type": -1, + "link": "6b78c14c-b453-47b0-919f-e5a19f3bd723", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "param", + "type": "", + "link": "567f3a5a-294d-43d1-9061-effea23bff84", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "event", + "type": -2, + "links": [ + "cf48533e-bbe0-4056-ad51-3f0e338f74ca", + "b9076e56-f930-4b88-85f7-7f15b00301ac" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Wrap As Event", + "properties": { + "tags": [] + } + }, + { + "id": "50577696-0269-49dd-a70f-f267bb827fb5", + "type": "events/sequence", + "pos": [ + 165, + 86 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "cf48533e-bbe0-4056-ad51-3f0e338f74ca", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "d193d7fa-cc18-4e81-b7d6-dd11c7e7d826", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "aa5366a9-0f02-4c3f-902c-2a5e6b628063" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "07160c9e-10ae-4771-8d55-f73c54e86d3d", + "type": "events/sequence", + "pos": [ + 168, + 110 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "b9076e56-f930-4b88-85f7-7f15b00301ac", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "0b0943d6-fc66-4c83-a166-85dddd7fa27b", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "e0e73866-b7af-4d1b-b215-9135112c0073" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "0042eb2a-d206-4953-809f-46d632a84838", + "type": "events/no_change", + "pos": [ + -12, + 88 + ], + "size": [ + 159.6, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "da6bd32b-849d-4a94-97c7-e160ffddd52d", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "0b0943d6-fc66-4c83-a166-85dddd7fa27b" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.NoChangeEvent", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "06c63257-2323-4a52-8e50-15637d8917e6", + "type": "events/no_change", + "pos": [ + -9, + 111 + ], + "size": [ + 159.6, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "f9c8af49-7fd8-4170-ad58-e4dfe092345d", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "d193d7fa-cc18-4e81-b7d6-dd11c7e7d826" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.NoChangeEvent", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "e399ee1f-11ca-48b4-ab48-17f61e128372", + "type": "events/branch", + "pos": [ + -106, + 88 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "1d9a25f7-d15e-480e-a6e3-3e733cd8c795", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "cond", + "type": "boolean", + "link": "f82a9e89-c03e-4dce-af37-3ee3879b0caf", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [ + "da6bd32b-849d-4a94-97c7-e160ffddd52d" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "251346cf-2323-4f6d-b8a1-933986c95342", + "type": "events/branch", + "pos": [ + -109, + 115 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "dc18dd78-7bb9-454d-ba07-fd42f6fa40f5", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "cond", + "type": "boolean", + "link": "3114c94b-0b54-45ae-a6ee-3e2891020abe", + "properties": {} + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [ + "f9c8af49-7fd8-4170-ad58-e4dfe092345d" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "de519cc3-d4cf-440c-b04a-f9b629573e4d", + "type": "graph/input", + "pos": [ + -254, + 102 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "boolean", + "links": [ + "f82a9e89-c03e-4dce-af37-3ee3879b0caf", + "3114c94b-0b54-45ae-a6ee-3e2891020abe" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "link_weights", + "type": "boolean", + "value": true, + "subgraphID": "963b8053-f5b9-4dae-8ba1-118515246624", + "tags": [] + } + } + ], + "links": [ + [ + "6160be2b-efe8-4a6d-ae9a-2233af543352", + "0f7aee12-df64-4a1c-9509-0da16e91d1b1", + 0, + "c63ccf7f-5d68-4655-97f0-4fe9ad5ad53d", + 0, + "MODEL" + ], + [ + "14da4c61-977c-44c7-8dc8-748513b156d8", + "4dab860f-845d-45eb-8f89-a83cc8de8bd0", + 0, + "c63ccf7f-5d68-4655-97f0-4fe9ad5ad53d", + 1, + "CLIP" + ], + [ + "977ecca5-5cb2-48da-b93e-4b125094548b", + "c63ccf7f-5d68-4655-97f0-4fe9ad5ad53d", + 0, + "0d79437e-bded-4554-a4af-e33bd3e986f3", + 0, + "MODEL" + ], + [ + "9a8a11d2-1c21-4f93-88a2-d21224545ba4", + "9d7b16f3-357e-45b5-bff3-f4d5188d3d07", + 0, + "c63ccf7f-5d68-4655-97f0-4fe9ad5ad53d", + 4, + "number" + ], + [ + "32ecb2db-e9a9-4c18-81cb-d3efe49a0ef6", + "1a9157c7-ef67-435a-b6b3-8849f1197a96", + 0, + "c63ccf7f-5d68-4655-97f0-4fe9ad5ad53d", + 3, + "number" + ], + [ + "6b78c14c-b453-47b0-919f-e5a19f3bd723", + "e2dee436-3ea0-4755-b039-5ffca9884181", + 0, + "f0a03733-9de6-45a0-a102-16ee4547fbce", + 0, + -1 + ], + [ + "567f3a5a-294d-43d1-9061-effea23bff84", + "17bd9013-8444-43d0-a1a0-43c4f47abd4d", + 0, + "f0a03733-9de6-45a0-a102-16ee4547fbce", + 1, + "number" + ], + [ + "61ca6ac6-16f3-4156-9a7c-fb1653f9f83e", + "c63ccf7f-5d68-4655-97f0-4fe9ad5ad53d", + 1, + "4ed54339-d19e-4b9a-bec2-7663e0b71d40", + 0, + "CLIP" + ], + [ + "f9d95f8a-e42e-4376-96e6-881750f87960", + "9e148e69-4b2d-4636-a9bd-90c0cd9b6495", + 0, + "c63ccf7f-5d68-4655-97f0-4fe9ad5ad53d", + 2, + "string" + ], + [ + "da6bd32b-849d-4a94-97c7-e160ffddd52d", + "e399ee1f-11ca-48b4-ab48-17f61e128372", + 0, + "0042eb2a-d206-4953-809f-46d632a84838", + 0, + -1 + ], + [ + "0b0943d6-fc66-4c83-a166-85dddd7fa27b", + "0042eb2a-d206-4953-809f-46d632a84838", + 0, + "07160c9e-10ae-4771-8d55-f73c54e86d3d", + 1, + -1 + ], + [ + "d193d7fa-cc18-4e81-b7d6-dd11c7e7d826", + "06c63257-2323-4a52-8e50-15637d8917e6", + 0, + "50577696-0269-49dd-a70f-f267bb827fb5", + 1, + -1 + ], + [ + "f9c8af49-7fd8-4170-ad58-e4dfe092345d", + "251346cf-2323-4f6d-b8a1-933986c95342", + 0, + "06c63257-2323-4a52-8e50-15637d8917e6", + 0, + -1 + ], + [ + "f82a9e89-c03e-4dce-af37-3ee3879b0caf", + "de519cc3-d4cf-440c-b04a-f9b629573e4d", + 0, + "e399ee1f-11ca-48b4-ab48-17f61e128372", + 1, + "boolean" + ], + [ + "3114c94b-0b54-45ae-a6ee-3e2891020abe", + "de519cc3-d4cf-440c-b04a-f9b629573e4d", + 0, + "251346cf-2323-4f6d-b8a1-933986c95342", + 1, + "boolean" + ], + [ + "cf48533e-bbe0-4056-ad51-3f0e338f74ca", + "f0a03733-9de6-45a0-a102-16ee4547fbce", + 0, + "50577696-0269-49dd-a70f-f267bb827fb5", + 0, + -1 + ], + [ + "b9076e56-f930-4b88-85f7-7f15b00301ac", + "f0a03733-9de6-45a0-a102-16ee4547fbce", + 0, + "07160c9e-10ae-4771-8d55-f73c54e86d3d", + 0, + -1 + ], + [ + "1d9a25f7-d15e-480e-a6e3-3e733cd8c795", + "1a9157c7-ef67-435a-b6b3-8849f1197a96", + 1, + "e399ee1f-11ca-48b4-ab48-17f61e128372", + 0, + -1 + ], + [ + "dc18dd78-7bb9-454d-ba07-fd42f6fa40f5", + "9d7b16f3-357e-45b5-bff3-f4d5188d3d07", + 1, + "251346cf-2323-4f6d-b8a1-933986c95342", + 0, + -1 + ], + [ + "aa5366a9-0f02-4c3f-902c-2a5e6b628063", + "50577696-0269-49dd-a70f-f267bb827fb5", + 0, + "1a9157c7-ef67-435a-b6b3-8849f1197a96", + 0, + -1 + ], + [ + "e0e73866-b7af-4d1b-b215-9135112c0073", + "07160c9e-10ae-4771-8d55-f73c54e86d3d", + 0, + "9d7b16f3-357e-45b5-bff3-f4d5188d3d07", + 0, + -1 + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + "type": "graph/subgraph", + "pos": [ + 136, + 629 + ], + "size": [ + 200, + 70 + ], + "flags": {}, + "order": 9, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "e73a015e-d278-4922-aac0-67d53a51f37d", + "properties": {} + }, + { + "name": "clip", + "type": "CLIP", + "link": "5e41ddc7-d5fc-40af-b77e-a37eb1fee344", + "properties": {} + }, + { + "name": "link_weights", + "type": "boolean", + "link": "878f0c9b-72df-4991-b41f-bfdc0feb74af", + "properties": {} + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "c54de034-a38d-4ccb-81c7-0725ffbd25ca" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "b788998b-9b35-4572-a336-dcea2a4b43ea" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "Lora x1", + "properties": { + "enabled": true, + "tags": [ + "lora", + "gen", + "hr" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "7c62e438-5ffa-4d31-b482-5c1ac9222ca7", + "type": "ui/button", + "pos": [ + -79, + 33 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "82ea60e9-cbdf-4709-b180-737a6ccdb27d" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Button", + "properties": { + "tags": [], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "709130e3-8b92-4b0e-9e8d-b3f5afc6ac42", + "type": "LoraLoader", + "pos": [ + 409, + 0 + ], + "size": [ + 169.6, + 106 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "a5f1f301-bce1-48a1-a7ea-246396b61ef3", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "clip", + "type": "CLIP", + "link": "e992636e-3f38-49ec-a3fc-efba37ee72cf", + "properties": {}, + "slot_index": 1, + "config": {} + }, + { + "name": "lora_name", + "type": "string", + "link": "79ac05e6-35fd-4d1a-b4bd-726778b57bdd", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true, + "slot_index": 2 + }, + { + "name": "strength_model", + "type": "number", + "link": "883bc754-34f8-46ad-b3ba-24a8d1437ccd", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "strength_clip", + "type": "number", + "link": "a51498f7-b704-45e3-a8ac-2a22a8c97b81", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "020092a1-a272-45c5-8601-132437636698" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "780dffb0-2edf-46ea-b978-366eae8a0d9a" + ], + "properties": {}, + "shape": 3, + "slot_index": 1 + } + ], + "title": "Load LoRA", + "properties": { + "tags": [ + "gen", + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "1e0594ba-4264-4fa5-a1cb-2c48bc9f572f", + "type": "ui/combo", + "pos": [ + 275, + 64 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "79ac05e6-35fd-4d1a-b4bd-726778b57bdd" + ], + "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": "f1bb6a97-3cad-476a-8b4c-99e3deb2db58", + "type": "basic/integer", + "pos": [ + -47, + -3 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "b872b4ee-9934-40b6-9536-010d452d38b7" + ], + "properties": {}, + "label": "0" + } + ], + "title": "Const Integer", + "properties": { + "value": 0, + "tags": [] + } + }, + { + "id": "8be3a5c8-4924-4505-ad62-fbcb75566a50", + "type": "graph/input", + "pos": [ + 318, + 43 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CLIP", + "links": [ + "e992636e-3f38-49ec-a3fc-efba37ee72cf" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "clip", + "type": "CLIP", + "value": null, + "subgraphID": "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + "tags": [] + } + }, + { + "id": "31c35934-54b1-456c-afbd-2c5ca9a53dff", + "type": "graph/input", + "pos": [ + 318, + 19 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + "a5f1f301-bce1-48a1-a7ea-246396b61ef3" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "model", + "type": "MODEL", + "value": null, + "subgraphID": "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + "tags": [] + } + }, + { + "id": "d64b9c85-c1d2-481f-876d-84b1b07cb535", + "type": "events/no_change", + "pos": [ + -39.19793701171875, + 87.5 + ], + "size": [ + 159.6, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "10524528-0d3a-48e0-b26c-1cada6f575fa", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "4287eb93-63bb-4ac0-ab6d-ab557117bc9b" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.NoChangeEvent", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "b84ad46f-1562-48c0-87d3-322a1e90d035", + "type": "ui/number", + "pos": [ + 287, + 89 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "db5017e2-6b8e-4b8b-8990-1b05e03f439d", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "883bc754-34f8-46ad-b3ba-24a8d1437ccd" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "87f97437-9a22-48d8-b589-e6b06b0ba9ac" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": -2, + "max": 2, + "step": 0.05, + "precision": 0 + }, + "widgets_values": [ + "0.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "2bf6bc8d-3caf-4233-94d5-e7d2dc0b043c", + "type": "ui/number", + "pos": [ + 281, + 111 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "cdd8dc72-c0ed-49b4-adb0-77befc09e6bc", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "a51498f7-b704-45e3-a8ac-2a22a8c97b81" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "e569aab7-281d-41ba-a3a5-35c873b633e7" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": -2, + "max": 2, + "step": 0.05, + "precision": 0 + }, + "widgets_values": [ + "0.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "72c96d73-2fd3-46da-846b-f0092f6d8b13", + "type": "events/wrap_as_event", + "pos": [ + 39, + 28 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "trigger", + "type": -1, + "link": "82ea60e9-cbdf-4709-b180-737a6ccdb27d", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "param", + "type": "", + "link": "b872b4ee-9934-40b6-9536-010d452d38b7", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "event", + "type": -2, + "links": [ + "107ef789-a408-49a3-814c-cc9632b345a0", + "2e20d887-2278-49dc-a083-e784c023301c" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Wrap As Event", + "properties": { + "tags": [] + } + }, + { + "id": "fd34a168-c8d3-4374-bc1c-b82ee690bde4", + "type": "events/sequence", + "pos": [ + 153, + 112 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "107ef789-a408-49a3-814c-cc9632b345a0", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "109d2dd7-da1f-47ff-9cd6-b690ef69409f", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "cdd8dc72-c0ed-49b4-adb0-77befc09e6bc" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "2912d638-5a69-45cb-a8d2-2a40f7a2f249", + "type": "events/sequence", + "pos": [ + 159, + 86 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "2e20d887-2278-49dc-a083-e784c023301c", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "4287eb93-63bb-4ac0-ab6d-ab557117bc9b", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "db5017e2-6b8e-4b8b-8990-1b05e03f439d" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "baa2c45d-fffc-49ca-ab47-7dec99a2f14f", + "type": "events/no_change", + "pos": [ + -36, + 111 + ], + "size": [ + 159.6, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "6260bbb1-be8f-46f8-8757-1fbf19d13a27", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "109d2dd7-da1f-47ff-9cd6-b690ef69409f" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.NoChangeEvent", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "c3bc49f7-c792-414a-8207-9e4103088d1b", + "type": "events/branch", + "pos": [ + -165, + 87 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "87f97437-9a22-48d8-b589-e6b06b0ba9ac", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "cond", + "type": "boolean", + "link": "b50c5cae-d3ac-4b66-a3b5-84e17d058f05", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [ + "10524528-0d3a-48e0-b26c-1cada6f575fa" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "6714ad66-8172-47e8-b79c-f52e9c935451", + "type": "events/branch", + "pos": [ + -160, + 112 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "e569aab7-281d-41ba-a3a5-35c873b633e7", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "cond", + "type": "boolean", + "link": "d8990675-fa5f-4f41-8d0d-d935efae5bc6", + "properties": {} + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [ + "6260bbb1-be8f-46f8-8757-1fbf19d13a27" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "d95736af-4c15-4d13-a219-96ef42f7a28d", + "type": "graph/input", + "pos": [ + -315, + 100 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "boolean", + "links": [ + "b50c5cae-d3ac-4b66-a3b5-84e17d058f05", + "d8990675-fa5f-4f41-8d0d-d935efae5bc6" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "link_weights", + "type": "boolean", + "value": true, + "subgraphID": "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + "tags": [] + } + }, + { + "id": "90ae7df5-1196-44d5-a19e-e62574eabadb", + "type": "graph/output", + "pos": [ + 592, + 22 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "MODEL", + "link": "020092a1-a272-45c5-8601-132437636698", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "MODEL", + "type": "MODEL", + "subgraphID": "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + "tags": [] + } + }, + { + "id": "4b98119a-5f10-4eaf-8870-a1d7857c4a5a", + "type": "graph/output", + "pos": [ + 600, + 50 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "CLIP", + "link": "780dffb0-2edf-46ea-b978-366eae8a0d9a", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "CLIP", + "type": "CLIP", + "subgraphID": "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + "tags": [] + } + } + ], + "links": [ + [ + "a5f1f301-bce1-48a1-a7ea-246396b61ef3", + "31c35934-54b1-456c-afbd-2c5ca9a53dff", + 0, + "709130e3-8b92-4b0e-9e8d-b3f5afc6ac42", + 0, + "MODEL" + ], + [ + "e992636e-3f38-49ec-a3fc-efba37ee72cf", + "8be3a5c8-4924-4505-ad62-fbcb75566a50", + 0, + "709130e3-8b92-4b0e-9e8d-b3f5afc6ac42", + 1, + "CLIP" + ], + [ + "020092a1-a272-45c5-8601-132437636698", + "709130e3-8b92-4b0e-9e8d-b3f5afc6ac42", + 0, + "90ae7df5-1196-44d5-a19e-e62574eabadb", + 0, + "MODEL" + ], + [ + "a51498f7-b704-45e3-a8ac-2a22a8c97b81", + "2bf6bc8d-3caf-4233-94d5-e7d2dc0b043c", + 0, + "709130e3-8b92-4b0e-9e8d-b3f5afc6ac42", + 4, + "number" + ], + [ + "883bc754-34f8-46ad-b3ba-24a8d1437ccd", + "b84ad46f-1562-48c0-87d3-322a1e90d035", + 0, + "709130e3-8b92-4b0e-9e8d-b3f5afc6ac42", + 3, + "number" + ], + [ + "82ea60e9-cbdf-4709-b180-737a6ccdb27d", + "7c62e438-5ffa-4d31-b482-5c1ac9222ca7", + 0, + "72c96d73-2fd3-46da-846b-f0092f6d8b13", + 0, + -1 + ], + [ + "b872b4ee-9934-40b6-9536-010d452d38b7", + "f1bb6a97-3cad-476a-8b4c-99e3deb2db58", + 0, + "72c96d73-2fd3-46da-846b-f0092f6d8b13", + 1, + "number" + ], + [ + "780dffb0-2edf-46ea-b978-366eae8a0d9a", + "709130e3-8b92-4b0e-9e8d-b3f5afc6ac42", + 1, + "4b98119a-5f10-4eaf-8870-a1d7857c4a5a", + 0, + "CLIP" + ], + [ + "79ac05e6-35fd-4d1a-b4bd-726778b57bdd", + "1e0594ba-4264-4fa5-a1cb-2c48bc9f572f", + 0, + "709130e3-8b92-4b0e-9e8d-b3f5afc6ac42", + 2, + "string" + ], + [ + "109d2dd7-da1f-47ff-9cd6-b690ef69409f", + "baa2c45d-fffc-49ca-ab47-7dec99a2f14f", + 0, + "fd34a168-c8d3-4374-bc1c-b82ee690bde4", + 1, + -1 + ], + [ + "4287eb93-63bb-4ac0-ab6d-ab557117bc9b", + "d64b9c85-c1d2-481f-876d-84b1b07cb535", + 0, + "2912d638-5a69-45cb-a8d2-2a40f7a2f249", + 1, + -1 + ], + [ + "10524528-0d3a-48e0-b26c-1cada6f575fa", + "c3bc49f7-c792-414a-8207-9e4103088d1b", + 0, + "d64b9c85-c1d2-481f-876d-84b1b07cb535", + 0, + -1 + ], + [ + "6260bbb1-be8f-46f8-8757-1fbf19d13a27", + "6714ad66-8172-47e8-b79c-f52e9c935451", + 0, + "baa2c45d-fffc-49ca-ab47-7dec99a2f14f", + 0, + -1 + ], + [ + "b50c5cae-d3ac-4b66-a3b5-84e17d058f05", + "d95736af-4c15-4d13-a219-96ef42f7a28d", + 0, + "c3bc49f7-c792-414a-8207-9e4103088d1b", + 1, + "boolean" + ], + [ + "d8990675-fa5f-4f41-8d0d-d935efae5bc6", + "d95736af-4c15-4d13-a219-96ef42f7a28d", + 0, + "6714ad66-8172-47e8-b79c-f52e9c935451", + 1, + "boolean" + ], + [ + "87f97437-9a22-48d8-b589-e6b06b0ba9ac", + "b84ad46f-1562-48c0-87d3-322a1e90d035", + 1, + "c3bc49f7-c792-414a-8207-9e4103088d1b", + 0, + -1 + ], + [ + "e569aab7-281d-41ba-a3a5-35c873b633e7", + "2bf6bc8d-3caf-4233-94d5-e7d2dc0b043c", + 1, + "6714ad66-8172-47e8-b79c-f52e9c935451", + 0, + -1 + ], + [ + "107ef789-a408-49a3-814c-cc9632b345a0", + "72c96d73-2fd3-46da-846b-f0092f6d8b13", + 0, + "fd34a168-c8d3-4374-bc1c-b82ee690bde4", + 0, + -1 + ], + [ + "2e20d887-2278-49dc-a083-e784c023301c", + "72c96d73-2fd3-46da-846b-f0092f6d8b13", + 0, + "2912d638-5a69-45cb-a8d2-2a40f7a2f249", + 0, + -1 + ], + [ + "db5017e2-6b8e-4b8b-8990-1b05e03f439d", + "2912d638-5a69-45cb-a8d2-2a40f7a2f249", + 0, + "b84ad46f-1562-48c0-87d3-322a1e90d035", + 0, + -1 + ], + [ + "cdd8dc72-c0ed-49b4-adb0-77befc09e6bc", + "fd34a168-c8d3-4374-bc1c-b82ee690bde4", + 0, + "2bf6bc8d-3caf-4233-94d5-e7d2dc0b043c", + 0, + -1 + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "da561510-869f-4d4f-8484-20d5bb7ec8c3", + "type": "graph/subgraph", + "pos": [ + 136, + 245 + ], + "size": [ + 200, + 70 + ], + "flags": {}, + "order": 5, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "65afe7ed-041e-4fb0-a5a1-e077fca6e4a2", + "properties": {} + }, + { + "name": "clip", + "type": "CLIP", + "link": "a5567a70-048f-46d8-b77f-826996cdbbc7", + "properties": {} + }, + { + "name": "link_weights", + "type": "boolean", + "link": "03cf2da4-0c10-4ebc-9a93-d7529ca54f8f", + "properties": {} + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "26dea77d-e569-4a7b-9509-39c51c1ebfba" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "ec0bc8ee-e6bc-45cc-ad9c-5f3eb898cba4" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "Lora x1", + "properties": { + "enabled": true, + "tags": [ + "lora", + "gen", + "hr" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "004e21c9-fb0c-45d7-b10a-d077faf786d0", + "type": "ui/button", + "pos": [ + -139.09090909090904, + 49.454545454545375 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "8cea0991-ee71-439f-a6f2-f2145fb20bc9" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Button", + "properties": { + "tags": [], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "fd1fe7b1-6396-45d2-8462-eccae5f95da9", + "type": "LoraLoader", + "pos": [ + 409, + 0 + ], + "size": [ + 169.6, + 106 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "92dfa4fd-ce56-460c-9456-cd6c6a0878fa", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "clip", + "type": "CLIP", + "link": "754513bb-b47e-4ab5-91c5-5302af208414", + "properties": {}, + "slot_index": 1, + "config": {} + }, + { + "name": "lora_name", + "type": "string", + "link": "014d0b42-46ba-4c61-aa27-0e4463062ea8", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true, + "slot_index": 2 + }, + { + "name": "strength_model", + "type": "number", + "link": "cdaf68bd-34fc-4ffc-bdc4-07a060fc9a51", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "strength_clip", + "type": "number", + "link": "99a287b4-3166-4fa0-92b6-4c370064fc7c", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "a815e913-d076-4d15-a55c-1593a48b401e" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "0c5df27e-2145-4321-91e6-975df07927d6" + ], + "properties": {}, + "shape": 3, + "slot_index": 1 + } + ], + "title": "Load LoRA", + "properties": { + "tags": [ + "gen", + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "5c1b52bc-95b7-4a0e-8768-540531195cb8", + "type": "ui/combo", + "pos": [ + 278, + 62 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "014d0b42-46ba-4c61-aa27-0e4463062ea8" + ], + "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": "c2cd7be2-9aa6-4dc1-88fc-78ca7a01d5d3", + "type": "basic/integer", + "pos": [ + -107.09090909090902, + 13.454545454545373 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "4e31b94d-5176-4e0b-8958-7e5b569859a2" + ], + "properties": {}, + "label": "0" + } + ], + "title": "Const Integer", + "properties": { + "value": 0, + "tags": [] + } + }, + { + "id": "faf90e7c-619e-44da-9796-73c890e00139", + "type": "graph/input", + "pos": [ + 297, + 20 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + "92dfa4fd-ce56-460c-9456-cd6c6a0878fa" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "model", + "type": "MODEL", + "value": null, + "subgraphID": "da561510-869f-4d4f-8484-20d5bb7ec8c3", + "tags": [] + } + }, + { + "id": "06a539ae-2dda-4b8c-9a49-8c5ee5a80be6", + "type": "graph/input", + "pos": [ + 301, + 47 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CLIP", + "links": [ + "754513bb-b47e-4ab5-91c5-5302af208414" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "clip", + "type": "CLIP", + "value": null, + "subgraphID": "da561510-869f-4d4f-8484-20d5bb7ec8c3", + "tags": [] + } + }, + { + "id": "403f90f5-efb7-4a64-b0af-512007cfb0bc", + "type": "graph/output", + "pos": [ + 608, + 24 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "MODEL", + "link": "a815e913-d076-4d15-a55c-1593a48b401e", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "MODEL", + "type": "MODEL", + "subgraphID": "da561510-869f-4d4f-8484-20d5bb7ec8c3", + "tags": [] + } + }, + { + "id": "7db9d910-fbd5-4eb0-81b2-3c3f7b18af93", + "type": "graph/output", + "pos": [ + 619, + 55 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "CLIP", + "link": "0c5df27e-2145-4321-91e6-975df07927d6", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "CLIP", + "type": "CLIP", + "subgraphID": "da561510-869f-4d4f-8484-20d5bb7ec8c3", + "tags": [] + } + }, + { + "id": "a082cbd4-577c-4450-8a5c-58ee227faca0", + "type": "ui/number", + "pos": [ + 268, + 87 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "ed41e91f-9928-4b91-a2c0-41bdb8164248", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "cdaf68bd-34fc-4ffc-bdc4-07a060fc9a51" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "2c488cab-9111-40b8-98c3-745016aedfd5" + ], + "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": -2, + "max": 2, + "step": 0.05, + "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": "33599c67-a132-47bf-8401-ead87bd64a5f", + "type": "ui/number", + "pos": [ + 270, + 116 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "2670cc6f-05dd-4796-8663-5fd277d00e4f", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "99a287b4-3166-4fa0-92b6-4c370064fc7c" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "9d204ad7-d15c-4d7a-872d-4f01796c20b8" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": -2, + "max": 2, + "step": 0.05, + "precision": 0 + }, + "widgets_values": [ + "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": "daa63350-1d17-44a0-a87b-d92ee30f5b6c", + "type": "events/branch", + "pos": [ + -192.72727272727275, + 94.4545454545455 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "2c488cab-9111-40b8-98c3-745016aedfd5", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "cond", + "type": "boolean", + "link": "b0d5f3ce-6ec4-4736-a36a-5e192d8fae7d", + "properties": {} + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [ + "fc73b6bb-df0a-40df-bbde-4b7e51f92e9d" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "266c6972-91f5-4234-8cdc-20c201bc6e9b", + "type": "events/sequence", + "pos": [ + 142, + 89 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "140bbd85-7479-4773-b653-27f788b304ea", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "d6cf66a5-e256-4348-b562-931b64c71f33", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "ed41e91f-9928-4b91-a2c0-41bdb8164248" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "27849b02-cbf2-46ec-8da7-978032bc70b8", + "type": "events/sequence", + "pos": [ + 148, + 125 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "", + "type": -1, + "link": "280b652d-c79a-4381-bb84-43d7c536f86e", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": "86b5eddd-299f-419e-a6a0-821ac2c5d651", + "properties": {}, + "shape": 1 + }, + { + "name": "", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "", + "type": -2, + "links": [ + "2670cc6f-05dd-4796-8663-5fd277d00e4f" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "", + "type": -2, + "links": [], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Sequence", + "properties": { + "tags": [] + } + }, + { + "id": "08abd8cd-caae-4c04-a543-90e43b05fd72", + "type": "events/no_change", + "pos": [ + -47, + 126 + ], + "size": [ + 159.6, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "5b4de531-f2ab-4b27-8acc-e4936f6e0e88", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "d6cf66a5-e256-4348-b562-931b64c71f33" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.NoChangeEvent", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "6fc6400c-cef2-401f-b143-f4acf17c628a", + "type": "events/no_change", + "pos": [ + -51, + 97 + ], + "size": [ + 159.6, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "fc73b6bb-df0a-40df-bbde-4b7e51f92e9d", + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "86b5eddd-299f-419e-a6a0-821ac2c5d651" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.NoChangeEvent", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "4f621b0a-bcb3-46a0-8c9a-d74e27a666f6", + "type": "events/wrap_as_event", + "pos": [ + -21, + 44 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "trigger", + "type": -1, + "link": "8cea0991-ee71-439f-a6f2-f2145fb20bc9", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "param", + "type": "", + "link": "4e31b94d-5176-4e0b-8958-7e5b569859a2", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "event", + "type": -2, + "links": [ + "140bbd85-7479-4773-b653-27f788b304ea", + "280b652d-c79a-4381-bb84-43d7c536f86e" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Wrap As Event", + "properties": { + "tags": [] + } + }, + { + "id": "491d053c-a0ab-4402-a2bf-5d9a4be770b9", + "type": "events/branch", + "pos": [ + -197, + 137 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "9d204ad7-d15c-4d7a-872d-4f01796c20b8", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "cond", + "type": "boolean", + "link": "9c43e5e4-f2b7-4e5c-8fad-75adc7a990d1", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [ + "5b4de531-f2ab-4b27-8acc-e4936f6e0e88" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "34abf9ef-812e-4c2c-b787-77de1d455317", + "type": "graph/input", + "pos": [ + -325, + 115 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "boolean", + "links": [ + "b0d5f3ce-6ec4-4736-a36a-5e192d8fae7d", + "9c43e5e4-f2b7-4e5c-8fad-75adc7a990d1" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "link_weights", + "type": "boolean", + "value": true, + "subgraphID": "da561510-869f-4d4f-8484-20d5bb7ec8c3", + "tags": [] + } + } + ], + "links": [ + [ + "92dfa4fd-ce56-460c-9456-cd6c6a0878fa", + "faf90e7c-619e-44da-9796-73c890e00139", + 0, + "fd1fe7b1-6396-45d2-8462-eccae5f95da9", + 0, + "MODEL" + ], + [ + "754513bb-b47e-4ab5-91c5-5302af208414", + "06a539ae-2dda-4b8c-9a49-8c5ee5a80be6", + 0, + "fd1fe7b1-6396-45d2-8462-eccae5f95da9", + 1, + "CLIP" + ], + [ + "a815e913-d076-4d15-a55c-1593a48b401e", + "fd1fe7b1-6396-45d2-8462-eccae5f95da9", + 0, + "403f90f5-efb7-4a64-b0af-512007cfb0bc", + 0, + "MODEL" + ], + [ + "99a287b4-3166-4fa0-92b6-4c370064fc7c", + "33599c67-a132-47bf-8401-ead87bd64a5f", + 0, + "fd1fe7b1-6396-45d2-8462-eccae5f95da9", + 4, + "number" + ], + [ + "cdaf68bd-34fc-4ffc-bdc4-07a060fc9a51", + "a082cbd4-577c-4450-8a5c-58ee227faca0", + 0, + "fd1fe7b1-6396-45d2-8462-eccae5f95da9", + 3, + "number" + ], + [ + "8cea0991-ee71-439f-a6f2-f2145fb20bc9", + "004e21c9-fb0c-45d7-b10a-d077faf786d0", + 0, + "4f621b0a-bcb3-46a0-8c9a-d74e27a666f6", + 0, + -1 + ], + [ + "4e31b94d-5176-4e0b-8958-7e5b569859a2", + "c2cd7be2-9aa6-4dc1-88fc-78ca7a01d5d3", + 0, + "4f621b0a-bcb3-46a0-8c9a-d74e27a666f6", + 1, + "number" + ], + [ + "0c5df27e-2145-4321-91e6-975df07927d6", + "fd1fe7b1-6396-45d2-8462-eccae5f95da9", + 1, + "7db9d910-fbd5-4eb0-81b2-3c3f7b18af93", + 0, + "CLIP" + ], + [ + "014d0b42-46ba-4c61-aa27-0e4463062ea8", + "5c1b52bc-95b7-4a0e-8768-540531195cb8", + 0, + "fd1fe7b1-6396-45d2-8462-eccae5f95da9", + 2, + "string" + ], + [ + "b0d5f3ce-6ec4-4736-a36a-5e192d8fae7d", + "34abf9ef-812e-4c2c-b787-77de1d455317", + 0, + "daa63350-1d17-44a0-a87b-d92ee30f5b6c", + 1, + "boolean" + ], + [ + "2c488cab-9111-40b8-98c3-745016aedfd5", + "a082cbd4-577c-4450-8a5c-58ee227faca0", + 1, + "daa63350-1d17-44a0-a87b-d92ee30f5b6c", + 0, + -1 + ], + [ + "fc73b6bb-df0a-40df-bbde-4b7e51f92e9d", + "daa63350-1d17-44a0-a87b-d92ee30f5b6c", + 0, + "6fc6400c-cef2-401f-b143-f4acf17c628a", + 0, + -1 + ], + [ + "140bbd85-7479-4773-b653-27f788b304ea", + "4f621b0a-bcb3-46a0-8c9a-d74e27a666f6", + 0, + "266c6972-91f5-4234-8cdc-20c201bc6e9b", + 0, + -1 + ], + [ + "ed41e91f-9928-4b91-a2c0-41bdb8164248", + "266c6972-91f5-4234-8cdc-20c201bc6e9b", + 0, + "a082cbd4-577c-4450-8a5c-58ee227faca0", + 0, + -1 + ], + [ + "5b4de531-f2ab-4b27-8acc-e4936f6e0e88", + "491d053c-a0ab-4402-a2bf-5d9a4be770b9", + 0, + "08abd8cd-caae-4c04-a543-90e43b05fd72", + 0, + -1 + ], + [ + "280b652d-c79a-4381-bb84-43d7c536f86e", + "4f621b0a-bcb3-46a0-8c9a-d74e27a666f6", + 0, + "27849b02-cbf2-46ec-8da7-978032bc70b8", + 0, + -1 + ], + [ + "2670cc6f-05dd-4796-8663-5fd277d00e4f", + "27849b02-cbf2-46ec-8da7-978032bc70b8", + 0, + "33599c67-a132-47bf-8401-ead87bd64a5f", + 0, + -1 + ], + [ + "9c43e5e4-f2b7-4e5c-8fad-75adc7a990d1", + "34abf9ef-812e-4c2c-b787-77de1d455317", + 0, + "491d053c-a0ab-4402-a2bf-5d9a4be770b9", + 1, + "boolean" + ], + [ + "9d204ad7-d15c-4d7a-872d-4f01796c20b8", + "33599c67-a132-47bf-8401-ead87bd64a5f", + 1, + "491d053c-a0ab-4402-a2bf-5d9a4be770b9", + 0, + -1 + ], + [ + "86b5eddd-299f-419e-a6a0-821ac2c5d651", + "6fc6400c-cef2-401f-b143-f4acf17c628a", + 0, + "27849b02-cbf2-46ec-8da7-978032bc70b8", + 1, + -1 + ], + [ + "d6cf66a5-e256-4348-b562-931b64c71f33", + "08abd8cd-caae-4c04-a543-90e43b05fd72", + 0, + "266c6972-91f5-4234-8cdc-20c201bc6e9b", + 1, + -1 + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "50e35134-8c71-465d-a3bb-1382a157297d", + "type": "utils/pick_first", + "pos": [ + 620, + 151 + ], + "size": [ + 210, + 122 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "c54de034-a38d-4ccb-81c7-0725ffbd25ca", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "afbcc1fa-a6e1-47dd-8362-63d06eb615e8", + "properties": {} + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + "ba87068a-8744-4b99-bf30-dbf3c7d47a0a" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [ + "gen", + "hr" + ], + "mode": "anyActiveLink" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "9d2b0baf-553b-4bc0-97a5-46d92d635823", + "type": "utils/pick_first", + "pos": [ + 616, + 209 + ], + "size": [ + 210, + 122 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "b788998b-9b35-4572-a336-dcea2a4b43ea", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "28871589-1329-42d7-8691-7bd883359876", + "properties": {} + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "CLIP", + "links": [ + "7e7bcec0-5aa9-47de-a650-69153d55d372" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [ + "gen", + "hr" + ], + "mode": "anyActiveLink" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + } + ], + "links": [ + [ + "a5567a70-048f-46d8-b77f-826996cdbbc7", + "7f4765b7-6c0d-44bc-922b-350752dddd71", + 0, + "da561510-869f-4d4f-8484-20d5bb7ec8c3", + 1, + "CLIP" + ], + [ + "65afe7ed-041e-4fb0-a5a1-e077fca6e4a2", + "d6e2c169-6c96-4761-a2c1-e4471986e03d", + 0, + "da561510-869f-4d4f-8484-20d5bb7ec8c3", + 0, + "MODEL" + ], + [ + "afbcc1fa-a6e1-47dd-8362-63d06eb615e8", + "d6e2c169-6c96-4761-a2c1-e4471986e03d", + 0, + "50e35134-8c71-465d-a3bb-1382a157297d", + 1, + "MODEL" + ], + [ + "28871589-1329-42d7-8691-7bd883359876", + "7f4765b7-6c0d-44bc-922b-350752dddd71", + 0, + "9d2b0baf-553b-4bc0-97a5-46d92d635823", + 1, + "CLIP" + ], + [ + "ba87068a-8744-4b99-bf30-dbf3c7d47a0a", + "50e35134-8c71-465d-a3bb-1382a157297d", + 0, + "7fd0c7ef-0e9b-4bbb-9211-62a6c39c6802", + 0, + "MODEL" + ], + [ + "7e7bcec0-5aa9-47de-a650-69153d55d372", + "9d2b0baf-553b-4bc0-97a5-46d92d635823", + 0, + "f29da6b5-691d-4e12-87d8-e70fe469baa9", + 0, + "CLIP" + ], + [ + "26dea77d-e569-4a7b-9509-39c51c1ebfba", + "da561510-869f-4d4f-8484-20d5bb7ec8c3", + 0, + "47d64a98-f9b5-4b19-b6c4-0dc07f92c261", + 0, + "MODEL" + ], + [ + "ec0bc8ee-e6bc-45cc-ad9c-5f3eb898cba4", + "da561510-869f-4d4f-8484-20d5bb7ec8c3", + 1, + "47d64a98-f9b5-4b19-b6c4-0dc07f92c261", + 1, + "CLIP" + ], + [ + "3d2e55e2-1db3-426d-90de-e92a1f7f091a", + "47d64a98-f9b5-4b19-b6c4-0dc07f92c261", + 0, + "48a17c01-399a-4938-86b6-8ed9fe942ae9", + 0, + "MODEL" + ], + [ + "0a431a9e-1214-4917-b2ee-43626962e219", + "47d64a98-f9b5-4b19-b6c4-0dc07f92c261", + 1, + "48a17c01-399a-4938-86b6-8ed9fe942ae9", + 1, + "CLIP" + ], + [ + "fbcd9fa8-a9ac-4b67-ab53-ebbe66259d0d", + "48a17c01-399a-4938-86b6-8ed9fe942ae9", + 0, + "963b8053-f5b9-4dae-8ba1-118515246624", + 0, + "MODEL" + ], + [ + "ada08681-649c-46c6-88fa-fdf1e27f2e5c", + "48a17c01-399a-4938-86b6-8ed9fe942ae9", + 1, + "963b8053-f5b9-4dae-8ba1-118515246624", + 1, + "CLIP" + ], + [ + "e73a015e-d278-4922-aac0-67d53a51f37d", + "963b8053-f5b9-4dae-8ba1-118515246624", + 0, + "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + 0, + "MODEL" + ], + [ + "5e41ddc7-d5fc-40af-b77e-a37eb1fee344", + "963b8053-f5b9-4dae-8ba1-118515246624", + 1, + "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + 1, + "CLIP" + ], + [ + "b788998b-9b35-4572-a336-dcea2a4b43ea", + "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + 1, + "9d2b0baf-553b-4bc0-97a5-46d92d635823", + 0, + "*" + ], + [ + "c54de034-a38d-4ccb-81c7-0725ffbd25ca", + "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + 0, + "50e35134-8c71-465d-a3bb-1382a157297d", + 0, + "*" + ], + [ + "5f736869-78b4-443e-ab42-56f795699908", + "2e2e6b6f-0437-4cac-b5e0-b2de5e6dac00", + 0, + "961702c6-c938-4cec-a8fc-07e1d0df46f9", + 0, + "boolean" + ], + [ + "3d90caca-e3a7-409f-aa9e-ad3aa67aea73", + "2e2e6b6f-0437-4cac-b5e0-b2de5e6dac00", + 1, + "961702c6-c938-4cec-a8fc-07e1d0df46f9", + 1, + -1 + ], + [ + "03cf2da4-0c10-4ebc-9a93-d7529ca54f8f", + "b953c754-2ab7-458f-b67b-bdd0107ca239", + 0, + "da561510-869f-4d4f-8484-20d5bb7ec8c3", + 2, + "boolean" + ], + [ + "e4b5ad4c-7298-426f-9c2e-ec27c52c236f", + "b953c754-2ab7-458f-b67b-bdd0107ca239", + 0, + "47d64a98-f9b5-4b19-b6c4-0dc07f92c261", + 2, + "boolean" + ], + [ + "41e315a3-6f12-4adf-b9ba-fc19090bf561", + "b953c754-2ab7-458f-b67b-bdd0107ca239", + 0, + "48a17c01-399a-4938-86b6-8ed9fe942ae9", + 2, + "boolean" + ], + [ + "5785eae7-1f8e-4e02-8403-229b8c7fe1a4", + "b953c754-2ab7-458f-b67b-bdd0107ca239", + 0, + "963b8053-f5b9-4dae-8ba1-118515246624", + 2, + "boolean" + ], + [ + "878f0c9b-72df-4991-b41f-bfdc0feb74af", + "b953c754-2ab7-458f-b67b-bdd0107ca239", + 0, + "4a5a3ea2-5380-4e02-be8b-c6a449d2825b", + 2, + "boolean" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "ac57884f-e48c-4bf5-b98e-191f75c0f2ea", + "type": "graph/subgraph", + "pos": [ + 160.59999999999974, + 337.11999999999995 + ], + "size": [ + 200, + 50 + ], + "flags": { + "collapsed": false + }, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": "021af64b-7869-45db-966e-a43f8bfcd6fd", + "properties": {} + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + "a0072557-0d6b-470e-b93a-d58b5dbf1c4a" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + "482abd71-9f0c-4dcb-bfb6-6b5643145d89" + ], + "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": "6263c65f-9aed-4359-9d97-b3e65a59fc91", + "type": "CLIPTextEncode", + "pos": [ + 133, + -37 + ], + "size": [ + 210, + 46 + ], + "flags": { + "collapsed": false + }, + "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": [ + 131, + 49 + ], + "size": [ + 210, + 46 + ], + "flags": { + "collapsed": false + }, + "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 + }, + { + "id": "69143d3a-ae97-428c-be2c-1adce84fdb71", + "type": "graph/output", + "pos": [ + 383, + 75 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "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": "c86c176e-6e7d-49b4-a65c-62c7d3e36d34", + "type": "graph/output", + "pos": [ + 395, + -12 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "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": "c10e1869-b88f-4f88-9c1f-bd07c3ba1cdf", + "type": "ui/text", + "pos": [ + 27, + -12 + ], + "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": [ + "masterpiece, hyper detailed background, 1girl, cowboy shot, solo, a fluffy corgi girl wearing sunglasses, dark theme, baggy nylon jacket, gyaru, cyberpunk, airy, futuristic city, animal ear fluff, animal ears, smile, v, trees, leaves, nature, forest, overgrowth" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "masterpiece, hyper detailed background, 1girl, cowboy shot, solo, a fluffy corgi girl wearing sunglasses, dark theme, baggy nylon jacket, gyaru, cyberpunk, airy, futuristic city, animal ear fluff, animal ears, smile, v, trees, leaves, nature, forest, overgrowth", + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "9d733b33-acfc-4d36-bdea-48b03807c609", + "type": "graph/input", + "pos": [ + -301, + 41 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "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": "efc39968-f678-4ab0-8998-73aa51e27dfb", + "type": "ui/text", + "pos": [ + 27, + 73 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "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": [ + "lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, worst quality, low quality, normal quality, wide shot, jpeg artifacts, signature, watermark, username, blurry, deformed, disfigured, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, out of focus, long neck, long body, fuzzy, abstract" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, worst quality, low quality, normal quality, wide shot, jpeg artifacts, signature, watermark, username, blurry, deformed, disfigured, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, out of focus, long neck, long body, fuzzy, abstract", + "shownOutputProperties": {}, + "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": "ab681ebc-8042-4e00-807b-c3e505e4ff30", + "type": "basic/reroute", + "pos": [ + 689, + 193 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "7627d820-6bba-4263-b023-906c0752410a", + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "f8299a81-0070-41e2-ace6-bf6fd5a47e73" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, + { + "id": "7737291d-4469-40bf-ab4f-3bcaf85d81cb", + "type": "basic/reroute", + "pos": [ + 736, + 219 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 36, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "65c3a5fd-0bfd-4162-ac80-5373a4a3d258", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "d92857cb-048a-4394-a053-4347bbc88b92" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, + { + "id": "d02b1827-8ace-49db-95fe-27c218f5e25e", + "type": "basic/reroute", + "pos": [ + 420, + 125 + ], + "size": [ + 40, + 30 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "", + "link": "a008d49f-dcc2-4a20-8a6f-1634349cf675", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "", + "type": "", + "links": [ + "f98dfcf1-2d97-42a3-835d-201357467e03" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Reroute", + "properties": { + "tags": [ + "hr" + ] + } + }, + { + "id": "24f6dbeb-f675-4f84-9560-050c43f7e519", + "type": "basic/string", + "pos": [ + 2055, + 159 + ], + "size": [ + 210, + 38 ], "flags": { "collapsed": true @@ -1030,137 +9375,125 @@ "inputs": [], "outputs": [ { - "name": "beforeQueued", - "type": -2, + "name": "string", + "type": "string", "links": [ - "e3bbfab3-2d0b-40f6-853e-a8024e2a5cac" + "11e9c032-7961-4386-b701-b6c2eeb502b3" ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "afterQueued", - "type": -2, - "links": null, - "shape": 1 - }, - { - "name": "prompt", - "type": "*", - "links": null + "properties": {} } ], - "title": "Comfy.QueueEvents", + "title": "Const String", "properties": { - "tags": [], - "prompt": null + "value": "notification.mp3", + "tags": [] + } + }, + { + "id": "d61b7ac0-b5f7-4a88-8226-28f9b017f3f4", + "type": "SaveImage", + "pos": [ + 1822, + 303 + ], + "size": [ + 186.4, + 46 + ], + "flags": {}, + "order": 40, + "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", + "506fe533-e2dc-4eba-b814-0b6447950167", + "b6a0feb1-9333-472f-b025-4a187fc691b2" + ], + "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": "8c613f7b-1861-42c0-a25d-b3db1d3fe9bb", - "type": "math/operation", + "id": "ba76aa27-d4e0-4640-9312-0dac597f3a25", + "type": "actions/play_sound", "pos": [ - -525.2600048828125, - 411.68001159667966 + 2204, + 155 ], "size": [ - 140, + 176.4, 46 ], "flags": { "collapsed": true }, - "order": 79, + "order": 44, "mode": 0, "inputs": [ { - "name": "A", - "type": "number,array,object", - "link": "d21d31ef-6533-4fc7-9142-fbf6f29d0481" + "name": "sound", + "type": "string", + "link": "11e9c032-7961-4386-b701-b6c2eeb502b3", + "properties": {}, + "slot_index": 0 }, { - "name": "B", - "type": "number", - "link": "04143b80-0a0d-4186-ba18-9c0e37ec5d9a" + "name": "trigger", + "type": -1, + "link": "506fe533-e2dc-4eba-b814-0b6447950167", + "properties": {}, + "shape": 1 } ], - "outputs": [ - { - "name": "=", - "type": "number", - "links": [ - "2f013f49-ab12-487a-a710-ff7240b233b1" - ], - "slot_index": 0 - } - ], - "title": "Operation", + "outputs": [], + "title": "Comfy.PlaySoundAction", "properties": { - "A": 1, - "B": 4, - "OP": "+", - "tags": [] - } - }, - { - "id": "da19d3aa-7bbe-4f5a-8717-7b874341baf8", - "type": "basic/CompareValues", - "pos": [ - -816.2600048828125, - 273.68001159667966 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true + "tags": [], + "sound": "notification.mp3" }, - "order": 76, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": 0, - "link": "cc69b201-6831-4991-ba02-ecc1f88e7996" - }, - { - "name": "B", - "type": 0, - "link": "75d6921c-e2f5-435c-8c89-cd00b91fbd51" - } - ], - "outputs": [ - { - "name": "true", - "type": "boolean", - "links": [ - "971a1412-8ee7-41f9-bb96-573d9d326425" - ], - "slot_index": 0 - }, - { - "name": "false", - "type": "boolean", - "links": null - } - ], - "title": "GenericCompare", - "properties": { - "A": "randomize", - "B": "randomize", - "OP": "==", - "enabled": true, - "tags": [] - } + "saveUserState": true }, { - "id": "48689d10-97a8-4d1b-9926-ca5060dcd501", + "id": "c57336fc-0e27-42ba-95b5-bf4a9071aebd", "type": "basic/string", "pos": [ - -946.2600048828125, - 274.68001159667966 + 2041, + 196 ], "size": [ 210, @@ -1177,4046 +9510,9 @@ "name": "string", "type": "string", "links": [ - "cc69b201-6831-4991-ba02-ecc1f88e7996" + "1a455af8-653b-47f6-87d9-50d9e46be039" ], - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "randomize", - "tags": [] - } - }, - { - "id": "b824419b-cd5f-4f56-901a-665d195bdaa9", - "type": "string/toString", - "pos": [ - 1206.8279300390627, - 305.9667275439455 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 135, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "", - "link": "25571cbe-8b15-4a5c-8c0b-2d9650485057" - } - ], - "outputs": [ - { - "name": "out", - "type": "string", - "links": [ - "c72f1693-aedf-433a-8fd6-93632671f1ee" - ], - "slot_index": 0 - } - ], - "title": "ToString", - "properties": { - "tags": [] - } - }, - { - "id": "635d2566-dad4-49c0-b232-ad8ad1aec4ed", - "type": "ui/text", - "pos": [ - 1315.9379300390594, - 169.92672754394547 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 133, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "string", - "link": "b3fea20b-3e28-47ae-9d4b-1abb80f4cff9" - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": null - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Text", - "properties": { - "tags": [], - "defaultValue": "", - "multiline": false - }, - "widgets_values": [ - "1536" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "1536", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "b166ce94-434f-4f5c-acd1-d2e757609b11", - "type": "string/toString", - "pos": [ - 1215.9379300390615, - 171.4267275439454 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 136, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "", - "link": "9561dbe8-8386-4bbe-b3d7-297528995e8a" - } - ], - "outputs": [ - { - "name": "out", - "type": "string", - "links": [ - "b3fea20b-3e28-47ae-9d4b-1abb80f4cff9" - ], - "slot_index": 0 - } - ], - "title": "ToString", - "properties": { - "tags": [] - } - }, - { - "id": "c4ba75a0-317d-43d4-b15e-bee231fd14a6", - "type": "ui/text", - "pos": [ - 1310.4379300390613, - 307.3267275439454 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 134, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "string", - "link": "c72f1693-aedf-433a-8fd6-93632671f1ee" - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": null - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Text", - "properties": { - "tags": [], - "defaultValue": "", - "multiline": false - }, - "widgets_values": [ - "1024" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "1024", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "0e375aeb-c513-46f1-a73e-d8104ee21c05", - "type": "math/floor", - "pos": [ - 1315.337930039061, - 219.6267275439453 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 137, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "number", - "link": "8b04c703-a04d-4a54-9d41-92f185e70844" - } - ], - "outputs": [ - { - "name": "out", - "type": "number", - "links": [ - "5784e50a-b97a-4b4c-a076-f10faa1a3faa", - "9561dbe8-8386-4bbe-b3d7-297528995e8a" - ], - "slot_index": 0 - } - ], - "title": "Floor", - "properties": { - "tags": [] - } - }, - { - "id": "88cf540c-c724-4241-8437-032f295bf903", - "type": "math/floor", - "pos": [ - 1315.4379300390613, - 243.3267275439455 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 138, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "number", - "link": "e3fd1190-697e-4f1b-a417-68c8fa8e999d" - } - ], - "outputs": [ - { - "name": "out", - "type": "number", - "links": [ - "25571cbe-8b15-4a5c-8c0b-2d9650485057", - "27df1bd3-03bf-4b3d-a4a0-d9b2baa67e35" - ], - "slot_index": 0 - } - ], - "title": "Floor", - "properties": { - "tags": [] - } - }, - { - "id": "7a7f0af3-7ea5-43ab-be95-08c934a5071b", - "type": "ui/slider", - "pos": [ - 1194.4379300390613, - 238.32672754394542 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 14, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "09ff7df7-34cc-4694-b051-70376183593c", - "12d55f18-b8b1-4f38-8068-204d0fc6d93e" - ], - "slot_index": 0 - }, - { - "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": { - "tags": [], - "defaultValue": 512, - "min": 1, - "max": 4, - "step": 0.1, - "precision": 0 - }, - "widgets_values": [ - "2.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 2, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } - }, - "saveUserState": true - }, - { - "id": "473e8614-7ef5-4e15-92fc-3e866c61d529", - "type": "actions/queue_events", - "pos": [ - 1811.4379300390613, - 227.32672754394528 - ], - "size": [ - 142.79999999999998, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 15, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "beforeQueued", - "type": -2, - "links": [ - "19928967-1935-41bc-a847-9d3edba6bc03" - ], - "shape": 1 - }, - { - "name": "afterQueued", - "type": -2, - "links": null, - "shape": 1 - }, - { - "name": "prompt", - "type": "*", - "links": null - } - ], - "title": "Comfy.QueueEvents", - "properties": { - "tags": [], - "prompt": null - }, - "saveUserState": true - }, - { - "id": "e7582d89-e93c-4219-90c7-12256639c4fb", - "type": "events/filter", - "pos": [ - 1822.4379300390613, - 267.3267275439454 - ], - "size": [ - 210, - 150 - ], - "flags": { - "collapsed": true - }, - "order": 77, - "mode": 0, - "inputs": [ - { - "name": "event", - "type": -1, - "link": "19928967-1935-41bc-a847-9d3edba6bc03", - "shape": 1, - "slot_index": 0 - }, - { - "name": "compare_value", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "accept", - "type": -2, - "links": [ - "9f6d846a-22c7-4eeb-bf17-67324450391f" - ], - "shape": 1 - }, - { - "name": "reject", - "type": -2, - "links": [], - "shape": 1 - } - ], - "title": "Filter Event", - "properties": { - "compareValue": 0, - "propertyName": "queueRemaining", - "mode": "property", - "operation": "==", - "tags": [] - } - }, - { - "id": "9aeb00ca-291d-4483-b747-a1fbf7a5954a", - "type": "basic/integer", - "pos": [ - -1527.9403550359198, - -586.9563245358555 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 16, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "899833ef-9bc6-4768-ad5c-0d348c3b6a6f" - ], - "label": "0", - "slot_index": 0 - } - ], - "title": "Const Integer", - "properties": { - "value": 0, - "tags": [] - } - }, - { - "id": "f613340c-15cb-4def-89c9-3cf0f942e937", - "type": "actions/queue_events", - "pos": [ - 593, - 732 - ], - "size": [ - 142.79999999999998, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 17, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "beforeQueued", - "type": -2, - "links": [ - "d8308050-0705-49a3-a671-846a3190f7e9" - ], - "shape": 1 - }, - { - "name": "afterQueued", - "type": -2, - "links": null, - "shape": 1 - }, - { - "name": "prompt", - "type": "*", - "links": null - } - ], - "title": "Comfy.QueueEvents", - "properties": { - "tags": [], - "prompt": null - }, - "saveUserState": true - }, - { - "id": "a6eb8e45-e9c8-40a8-aaa8-c8e6de894bcf", - "type": "ui/checkbox", - "pos": [ - 1457, - 641 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 18, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "boolean", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "boolean", - "links": [ - "a2c85610-e55e-4280-a168-0efd297d6e44", - "8ad4677f-0bf6-4ef5-b81b-396b32133041" - ], - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": [], - "shape": 1, - "slot_index": 1 - } - ], - "title": "UI.Checkbox", - "properties": { - "tags": [], - "defaultValue": false - }, - "widgets_values": [ - "true" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": true, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "b115fc1a-799e-4c2f-8ab7-9714398e8e46", - "type": "ui/slider", - "pos": [ - -674.5920999999998, - 874.3974999999997 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 19, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "8e65f426-a461-4570-b3d8-9ec36535c702", - "04143b80-0a0d-4186-ba18-9c0e37ec5d9a" - ] - }, - { - "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": { - "tags": [ - "t2i" - ], - "defaultValue": 1, - "min": 1, - "max": 16, - "step": 1, - "precision": 0, - "hidden": false - }, - "widgets_values": [ - "4.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 4, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } - }, - "saveUserState": true - }, - { - "id": "25dc4525-8956-41f2-a3de-0d4c34543fc5", - "type": "ui/combo", - "pos": [ - -411.6, - -256.41999999999996 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 20, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "205f1046-36b0-41df-bb6f-e35679b59f38" - ] - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Combo", - "properties": { - "tags": [ - "useInternalVAE" - ], - "defaultValue": null, - "values": [], - "convertValueToLabelCode": "return value.split('\\\\').pop().split('/').pop();" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": "A", - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "15eaeb86-c7de-4d5e-b980-9c09173a8146", - "type": "logic/NOT", - "pos": [ - -207.7999999999998, - -408.1200000000003 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 88, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "boolean", - "link": "6478e106-ab51-4984-84ca-43d8a7578b7b" - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "082d00ef-4874-4dc1-8d11-cc65d195bb15" - ], - "slot_index": 0 - } - ], - "title": "NOT", - "properties": { - "tags": [] - } - }, - { - "id": "5a20a836-5022-4dcb-8cc9-5620d95e3c40", - "type": "ui/combo", - "pos": [ - 119.94512250976558, - 914.4891320312502 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 21, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "f83bfdd7-b4f2-4c63-8a64-1e8cea2c34bc" - ], - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Combo", - "properties": { - "tags": [ - "i2i" - ], - "defaultValue": "disabled", - "values": [], - "convertValueToLabelCode": "" - }, - "widgets_values": [ - "disabled" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "disabled", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "fe367602-079d-41fb-a2c4-ee2b3f596362", - "type": "ui/combo", - "pos": [ - 119.94512250976558, - 851.4891320312502 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 22, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "71106f75-4a04-4722-ad85-27398cd46c9e" - ], - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Combo", - "properties": { - "tags": [ - "i2i" - ], - "defaultValue": "nearest-exact", - "values": [], - "convertValueToLabelCode": "" - }, - "widgets_values": [ - "nearest-exact" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "nearest-exact", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "289d7951-ac7a-45f3-8789-91b3feb8871b", - "type": "EmptyLatentImage", - "pos": [ - -207, - 455 - ], - "size": [ - 216.60000000000002, - 66 - ], - "flags": {}, - "order": 195, - "mode": 0, - "inputs": [ - { - "name": "width", - "type": "number", - "link": "c8254019-4caf-4878-86c1-5e346e624c89", - "config": {}, - "serialize": true - }, - { - "name": "height", - "type": "number", - "link": "0cff6a0f-57f9-43e6-9124-a96923e4a0d5", - "config": {}, - "serialize": true - }, - { - "name": "batch_size", - "type": "number", - "link": "8e65f426-a461-4570-b3d8-9ec36535c702", - "config": {}, - "serialize": true - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "bfbbe29e-59b9-4000-b9e9-673f156cb099" - ], - "color_off": "orange", - "color_on": "orange", - "slot_index": 0 - } - ], - "title": "EmptyLatentImage", - "properties": { - "tags": [ - "txt2img", - "t2i" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "a0066185-4ed0-404b-8d1f-faa42fc5d4ab", - "type": "LatentUpscale", - "pos": [ - 1519, - 157 - ], - "size": [ - 267, - 106 - ], - "flags": {}, - "order": 252, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": "00c81cf4-bb65-4404-9267-57db533f3d2c", - "config": {} - }, - { - "name": "upscale_method", - "type": "string", - "link": "c7de3e3a-fcaa-4d47-bc61-1f35cfd7e33c", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - }, - { - "name": "width", - "type": "number", - "link": "5784e50a-b97a-4b4c-a076-f10faa1a3faa", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - }, - { - "name": "height", - "type": "number", - "link": "27df1bd3-03bf-4b3d-a4a0-d9b2baa67e35", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - }, - { - "name": "crop", - "type": "string", - "link": "485c23c7-d4ab-4585-b85c-2ebdf22b6f54", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "05fe18c1-89f8-424a-a8a1-b06fa2f8ba5c" - ], - "slot_index": 0 - } - ], - "title": "LatentUpscale", - "properties": { - "tags": [ - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "88b01c2b-0347-49ed-8d51-5ef3128b2c00", - "type": "VAEEncode", - "pos": [ - 1210, - 72 - ], - "size": [ - 210, - 46 - ], - "flags": {}, - "order": 253, - "mode": 0, - "inputs": [ - { - "name": "pixels", - "type": "IMAGE", - "link": "b4af86f2-d3eb-4c6f-abe3-6e6045aafa0a", - "config": {} - }, - { - "name": "vae", - "type": "VAE", - "link": "7c37e201-bd6f-4de2-b75c-e6cbd0a73c03", - "config": {} - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "00c81cf4-bb65-4404-9267-57db533f3d2c" - ], - "slot_index": 0 - } - ], - "title": "VAEEncode", - "properties": { - "tags": [ - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "58ace50f-3aa2-4993-bd28-58dcac966ab4", - "type": "LoadImage", - "pos": [ - 1208, - -43 - ], - "size": [ - 210, - 46 - ], - "flags": {}, - "order": 125, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "string", - "link": "57778f45-23ce-4970-b182-44981d877343", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - "b4af86f2-d3eb-4c6f-abe3-6e6045aafa0a" - ], - "slot_index": 0 - }, - { - "name": "MASK", - "type": "MASK", - "links": null - } - ], - "title": "LoadImage", - "properties": { - "tags": [ - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "571d748a-6ed9-4db6-bf11-c59abfc17293", - "type": "VAEDecode", - "pos": [ - 1835, - -86 - ], - "size": [ - 210, - 46 - ], - "flags": {}, - "order": 120, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": "5d256808-05f8-4a60-a342-0c6f27c67da3", - "config": {} - }, - { - "name": "vae", - "type": "VAE", - "link": "926e9a52-9093-45d5-956e-f08cba963100", - "config": {} - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - "9b231026-03e1-4088-abd5-7afcb74c8ac9" - ], - "slot_index": 0 - } - ], - "title": "VAEDecode", - "properties": { - "tags": [ - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "d1bc8e23-3942-475c-946f-062c8e95a548", - "type": "VAEDecode", - "pos": [ - 382, - 150 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 222, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": "069ae825-5673-40ad-b321-27be9bbd122b", - "color_off": "orange", - "color_on": "orange", - "config": {} - }, - { - "name": "vae", - "type": "VAE", - "link": "12d42a0a-f318-40ab-8517-ab65719a5a44", - "color_off": "orange", - "color_on": "orange", - "config": {} - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - "42243ad7-dd24-4c95-8eb9-f3faa163a4fd" - ], - "color_off": "orange", - "color_on": "orange", - "slot_index": 0 - } - ], - "title": "VAEDecode", - "properties": { - "tags": [ - "txt2img" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "2bbc3288-22a9-4c3d-824a-321da397fed1", - "type": "events/filter", - "pos": [ - 608, - 765 - ], - "size": [ - 210, - 150 - ], - "flags": { - "collapsed": true - }, - "order": 78, - "mode": 0, - "inputs": [ - { - "name": "event", - "type": -1, - "link": "d8308050-0705-49a3-a671-846a3190f7e9", - "shape": 1, - "slot_index": 0 - }, - { - "name": "compare_value", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "accept", - "type": -2, - "links": [ - "17d2dc0b-8811-4a07-af34-296a23f7cb23" - ], - "shape": 1 - }, - { - "name": "reject", - "type": -2, - "links": [], - "shape": 1 - } - ], - "title": "Filter Event", - "properties": { - "compareValue": 0, - "propertyName": "queueRemaining", - "mode": "property", - "operation": "==", - "tags": [] - } - }, - { - "id": "9faf9a00-7fce-49b1-b55e-526089398a07", - "type": "events/filter", - "pos": [ - 605, - 798 - ], - "size": [ - 210, - 150 - ], - "flags": { - "collapsed": true - }, - "order": 101, - "mode": 0, - "inputs": [ - { - "name": "event", - "type": -1, - "link": "17d2dc0b-8811-4a07-af34-296a23f7cb23", - "shape": 1, - "slot_index": 0 - }, - { - "name": "compare_value", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "accept", - "type": -2, - "links": [ - "1d8acfbf-3039-4e56-85a4-30217d4f5eb3" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "reject", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Filter Event", - "properties": { - "compareValue": "txt2img", - "propertyName": "subgraph", - "mode": "property", - "operation": "==", - "tags": [] - } - }, - { - "id": "82d42caa-d50a-4d3b-970b-442c21e3c516", - "type": "basic/number", - "pos": [ - -317, - 695 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 23, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "86626a55-74bc-4870-817d-d21a30e74888" - ], - "label": "1.000", - "slot_index": 0 - } - ], - "title": "Const Number", - "properties": { - "value": 1, - "tags": [] - } - }, - { - "id": "cddf8874-747f-4e1f-9cbd-4398389ede89", - "type": "ui/slider", - "pos": [ - -338, - 668 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 24, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "d4511fe8-568a-4c30-a148-71f80b877d00" - ], - "slot_index": 0 - }, - { - "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": { - "tags": [ - "i2i" - ], - "defaultValue": 0, - "min": 0, - "max": 1, - "step": 0.01, - "precision": 1 - }, - "widgets_values": [ - "0.650" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 0.65, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } - }, - "saveUserState": true - }, - { - "id": "7553cbc9-2ac9-4b62-908b-a67db7df27b9", - "type": "utils/pick_first", - "pos": [ - 103, - -278 - ], - "size": [ - 210, - 122 - ], - "flags": {}, - "order": 102, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "951bd876-36eb-4157-8331-3cada10c435b" - }, - { - "name": "B", - "type": "*", - "link": "0971ffb0-c863-4906-9c71-672885a4b001" - }, - { - "name": "C", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - "7c37e201-bd6f-4de2-b75c-e6cbd0a73c03", - "12d42a0a-f318-40ab-8517-ab65719a5a44", - "926e9a52-9093-45d5-956e-f08cba963100", - "78c3c43b-eabc-4cca-9643-a873e0b8dbea" - ], - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [ - "txt2img", - "hr" - ], - "mode": "dataNonNull", - "acceptNullLinkData": false - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "649f1060-1e02-4e9a-a1d6-c1436c4b8e52", - "type": "VAELoader", - "pos": [ - -281.59999999999997, - -280.4200000000002 - ], - "size": [ - 140, - 26 - ], - "flags": {}, - "order": 80, - "mode": 0, - "inputs": [ - { - "name": "vae_name", - "type": "string", - "link": "205f1046-36b0-41df-bb6f-e35679b59f38", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - } - ], - "outputs": [ - { - "name": "VAE", - "type": "VAE", - "links": [ - "951bd876-36eb-4157-8331-3cada10c435b" - ], - "slot_index": 0 - } - ], - "title": "VAELoader", - "properties": { - "tags": [ - "txt2img", - "hr", - "useInternalVAE" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "5fbe0f70-ea32-413e-b952-72d28a903e35", - "type": "events/filter", - "pos": [ - 1816, - 303 - ], - "size": [ - 210, - 150 - ], - "flags": { - "collapsed": true - }, - "order": 100, - "mode": 0, - "inputs": [ - { - "name": "event", - "type": -1, - "link": "9f6d846a-22c7-4eeb-bf17-67324450391f", - "shape": 1, - "slot_index": 0 - }, - { - "name": "compare_value", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "accept", - "type": -2, - "links": [ - "cecf8da2-150b-464d-b0bc-b3e7d25d6cdd" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "reject", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Filter Event", - "properties": { - "compareValue": "hr", - "propertyName": "subgraph", - "mode": "property", - "operation": "==", - "tags": [] - } - }, - { - "id": "634a2bc3-eabd-40ed-a2f6-bb4cef18c0a8", - "type": "VAEEncode", - "pos": [ - -72.56997749023432, - 837.73263203125 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 144, - "mode": 2, - "inputs": [ - { - "name": "pixels", - "type": "IMAGE", - "link": "499bfefe-3f06-4995-9ff2-92e895d4ff7b", - "config": {} - }, - { - "name": "vae", - "type": "VAE", - "link": "78c3c43b-eabc-4cca-9643-a873e0b8dbea", - "config": {} - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "cd0adabc-7002-4e81-98a7-fbbe5cc7c9ef" - ], - "slot_index": 0 - } - ], - "title": "VAEEncode", - "properties": { - "tags": [ - "txt2img", - "i2i" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "2505875c-c94f-4066-b43a-339a031a1633", - "type": "utils/value_control", - "pos": [ - -982.2600048828125, - 342.68001159667966 - ], - "size": [ - 151.2, - 126 - ], - "flags": {}, - "order": 245, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "number", - "link": "0dee43bd-01c1-414d-86d9-d0db5fc8a801" - }, - { - "name": "trigger", - "type": -1, - "link": "e3bbfab3-2d0b-40f6-853e-a8024e2a5cac", - "shape": 1 - }, - { - "name": "action", - "type": "string", - "link": "e913d5da-a017-4f6d-b356-6fc50729cc6b", - "config": { - "defaultValue": "randomize", - "values": [ - "fixed", - "increment", - "decrement", - "randomize" - ] - } - }, - { - "name": "min", - "type": "number", - "link": "b2f311bc-a516-4620-98fe-b161ec2545b3" - }, - { - "name": "max", - "type": "number", - "link": "a870c7cb-104d-4fa3-a31f-a3d7cbb80ab4" - }, - { - "name": "step", - "type": "number", - "link": "c9f3fb6f-3e41-4d2f-aefb-21df893a38ee" - } - ], - "outputs": [ - { - "name": "value", - "type": "*", - "links": [], - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": [ - "8a310004-db45-4e0e-9526-8d3eda901ef2" - ], - "shape": 1, - "slot_index": 1 - } - ], - "title": "Comfy.ValueControl", - "properties": { - "tags": [], - "value": 485829053103511, - "action": "randomize", - "min": 0, - "max": 18446744073709552000, - "step": 1 - }, - "saveUserState": true - }, - { - "id": "3c50e176-6a83-4664-8fe4-6f12faef4247", - "type": "ui/slider", - "pos": [ - -721.2600048828125, - 420.68001159667966 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 143, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null, - "slot_index": 0 - }, - { - "name": "store", - "type": -1, - "link": "8a310004-db45-4e0e-9526-8d3eda901ef2", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "0dee43bd-01c1-414d-86d9-d0db5fc8a801", - "8737da30-cf75-4b0f-87da-273353eb7b79", - "6f8eced5-57d8-4f88-9ef7-3bb11460b79d" - ], - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - }, - { - "name": "min", - "type": "number", - "links": [ - "b2f311bc-a516-4620-98fe-b161ec2545b3" - ], - "slot_index": 2 - }, - { - "name": "max", - "type": "number", - "links": [ - "a870c7cb-104d-4fa3-a31f-a3d7cbb80ab4" - ], - "slot_index": 3 - }, - { - "name": "step", - "type": "number", - "links": [ - "0eec7cfc-9d1a-45e5-88f2-60e0f9a4657b" - ], - "slot_index": 4 - }, - { - "name": "precision", - "type": "number", - "links": null - } - ], - "title": "UI.Slider", - "properties": { - "tags": [], - "defaultValue": 0, - "min": 0, - "max": 18446744073709552000, - "step": 1, - "precision": 0, - "hidden": false - }, - "widgets_values": [ - "485829053103511.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 485829053103511, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } - }, - "saveUserState": true - }, - { - "id": "c5c93866-9aab-49b2-8dda-1b508ceda73b", - "type": "LoadImage", - "pos": [ - -238, - 829 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 142, - "mode": 2, - "inputs": [ - { - "name": "image", - "type": "string", - "link": "d78d4f6c-ee23-4a22-b034-7523c4ec6458", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - "499bfefe-3f06-4995-9ff2-92e895d4ff7b" - ], - "slot_index": 0 - }, - { - "name": "MASK", - "type": "MASK", - "links": null - } - ], - "title": "LoadImage", - "properties": { - "tags": [ - "txt2img", - "i2i" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "ec7888b2-e6de-4e67-853a-cd22555ac697", - "type": "utils/pick_first", - "pos": [ - -218, - 686 - ], - "size": [ - 210, - 122 - ], - "flags": { - "collapsed": true - }, - "order": 81, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "d4511fe8-568a-4c30-a148-71f80b877d00" - }, - { - "name": "B", - "type": "*", - "link": "86626a55-74bc-4870-817d-d21a30e74888" - }, - { - "name": "C", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "", - "type": "*", - "links": [ - "1f4e7ba8-810f-4f2d-810c-3a9dce5d509f" - ], - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [ - "txt2img" - ], - "mode": "dataNonNull", - "acceptNullLinkData": false - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "fd374f7a-1933-4180-9844-8c8ee4c91768", - "type": "utils/pick_first", - "pos": [ - 96, - 683 - ], - "size": [ - 210, - 122 - ], - "flags": { - "collapsed": true - }, - "order": 146, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "bfbbe29e-59b9-4000-b9e9-673f156cb099" - }, - { - "name": "B", - "type": "*", - "link": "c2cb7d47-918c-401c-9492-e12ef502102b" - }, - { - "name": "C", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "", - "type": "LATENT", - "links": [ - "ebfad1b7-7f26-46d1-8b2e-eb7e7b3996fb" - ], - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [ - "txt2img" - ], - "mode": "dataNonNull", - "acceptNullLinkData": false - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "7e99a3e9-3704-47c8-9e0d-1a4a244a6f58", - "type": "ui/text", - "pos": [ - 425, - 339 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 25, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "bb4b7405-711c-4bdc-bda5-b5f8d3b96fd0" - ], - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Text", - "properties": { - "tags": [], - "defaultValue": "ComfyUI", - "multiline": false, - "hidden": false - }, - "widgets_values": [ - "ComfyUI" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "ComfyUI", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "b9dea03f-794d-42bd-a909-df03eee9b59d", - "type": "utils/pick_first", - "pos": [ - 532, - 339 - ], - "size": [ - 210, - 122 - ], - "flags": { - "collapsed": true - }, - "order": 82, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "bb4b7405-711c-4bdc-bda5-b5f8d3b96fd0" - }, - { - "name": "B", - "type": "*", - "link": "fbfd7577-7b2b-42e4-94f7-f05b3a45a353" - }, - { - "name": "C", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "links": [ - "99637781-7a3d-4137-9546-f1bbaacff63e", - "da7c9013-a2fa-4a98-8857-0a6a0b2cf12e" - ], - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [], - "mode": "truthy" - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "af9d4fee-93fa-48b2-95be-9fa6ed35d01c", - "type": "basic/string", - "pos": [ - 421, - 374 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 26, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "fbfd7577-7b2b-42e4-94f7-f05b3a45a353" - ], - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "ComfyUI", - "tags": [] - } - }, - { - "id": "567795b3-8d35-41c8-9438-daf9325f70bd", - "type": "ui/button", - "pos": [ - -966, - 857 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 27, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "e64c580f-b498-40e4-9640-2ef53e111c1e" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", - "properties": { - "tags": [ - "t2i" - ], - "defaultValue": false, - "param": "bang", - "message": "bang", - "hidden": false - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "6fde8268-fea5-464e-bc56-2953af935f25", - "type": "actions/swap", - "pos": [ - -847, - 795 - ], - "size": [ - 140, - 66 - ], - "flags": {}, - "order": 147, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "4a7c0747-04c1-4bee-95c5-2f9e1951c9b6" - }, - { - "name": "B", - "type": "*", - "link": "8a05fa61-4434-43a3-a5fe-e1d75d63a271" - }, - { - "name": "swap", - "type": -1, - "link": "e64c580f-b498-40e4-9640-2ef53e111c1e", - "shape": 1 - } - ], - "outputs": [ - { - "name": "B", - "type": -2, - "links": [ - "8a665f41-0c06-46ba-9e6b-a3cefead4b0c" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "A", - "type": -2, - "links": [ - "aa929f74-111e-4fc6-9536-d5d774d00920" - ], - "shape": 1 - } - ], - "title": "Comfy.SwapAction", - "properties": { - "tags": [ - "t2i" - ] - }, - "saveUserState": true - }, - { - "id": "e1b6fdfc-08ff-4d62-93fe-010a81f53344", - "type": "ui/button", - "pos": [ - -760, - 1180 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 28, - "mode": 2, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "62db19eb-680a-41dc-8999-e6f4e9e18fd1" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", - "properties": { - "tags": [ - "i2i", - "i2iPixelSize" - ], - "defaultValue": false, - "param": "bang", - "message": "bang", - "hidden": false - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "bff57d22-e589-4a2a-b82d-94d035a40bf2", - "type": "ui/slider", - "pos": [ - -667, - 815 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 211, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "8a665f41-0c06-46ba-9e6b-a3cefead4b0c", - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "0cff6a0f-57f9-43e6-9124-a96923e4a0d5", - "8a05fa61-4434-43a3-a5fe-e1d75d63a271" - ], - "slot_index": 0 - }, - { - "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": { - "tags": [ - "t2i" - ], - "defaultValue": 512, - "min": 64, - "max": 2048, - "step": 64, - "precision": 0, - "hidden": false - }, - "widgets_values": [ - "512.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 512, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } - }, - "saveUserState": true - }, - { - "id": "1b15b725-0302-4167-be46-8ed6e0f8c3ab", - "type": "LatentUpscale", - "pos": [ - 225.43002250976568, - 809.73263203125 - ], - "size": [ - 178, - 106 - ], - "flags": {}, - "order": 145, - "mode": 2, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": "cd0adabc-7002-4e81-98a7-fbbe5cc7c9ef", - "config": {} - }, - { - "name": "upscale_method", - "type": "string", - "link": "71106f75-4a04-4722-ad85-27398cd46c9e", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - }, - { - "name": "width", - "type": "number", - "link": "5afc01db-8e31-4bf6-a5b9-856bb130fabd", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - }, - { - "name": "height", - "type": "number", - "link": "098070ac-bfa0-4910-8a9c-6ace3b61cfc5", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - }, - { - "name": "crop", - "type": "string", - "link": "f83bfdd7-b4f2-4c63-8a64-1e8cea2c34bc", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "c2cb7d47-918c-401c-9492-e12ef502102b" - ], - "slot_index": 0 - } - ], - "title": "LatentUpscale", - "properties": { - "tags": [ - "txt2img", - "i2i" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "17d2f326-75f0-461e-9cfc-5ff314310a6a", - "type": "ui/slider", - "pos": [ - -670, - 842 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 202, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "aa929f74-111e-4fc6-9536-d5d774d00920", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "c8254019-4caf-4878-86c1-5e346e624c89", - "4a7c0747-04c1-4bee-95c5-2f9e1951c9b6" - ], - "slot_index": 0 - }, - { - "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": { - "tags": [ - "t2i" - ], - "defaultValue": 512, - "min": 64, - "max": 2048, - "step": 64, - "precision": 0, - "hidden": false - }, - "widgets_values": [ - "768.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 768, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } - }, - "saveUserState": true - }, - { - "id": "e45ae255-7ad0-4638-ac86-c879f89790ea", - "type": "ui/text", - "pos": [ - -254.39999999999998, - 1079.899999999999 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 153, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "string", - "link": "e4e4cec8-31ce-4bf2-93fd-9d5b9a9552c4" - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": null - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Text", - "properties": { - "tags": [ - "i2i", - "i2iScaleSize" - ], - "defaultValue": "", - "multiline": false - }, - "widgets_values": [ - "1740" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "1740", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "0c416f37-4dc1-4dc2-8df2-a21d121863e5", - "type": "ui/text", - "pos": [ - -259.4, - 1217.899999999999 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 154, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "string", - "link": "2c65b0ce-27e5-4757-a53f-95c05076145f" - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": null - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Text", - "properties": { - "tags": [ - "i2i", - "i2iScaleSize" - ], - "defaultValue": "", - "multiline": false - }, - "widgets_values": [ - "1740" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "1740", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "fd3e7353-03a0-4cd3-b7d9-f31e2b19cc6c", - "type": "string/toString", - "pos": [ - -354.4, - 1081.899999999999 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 156, - "mode": 2, - "inputs": [ - { - "name": "in", - "type": "", - "link": "9e147ba9-a8fd-435c-85fd-b4dd1fae4f87" - } - ], - "outputs": [ - { - "name": "out", - "type": "string", - "links": [ - "e4e4cec8-31ce-4bf2-93fd-9d5b9a9552c4" - ], - "slot_index": 0 - } - ], - "title": "ToString", - "properties": { - "tags": [ - "i2i", - "i2iScaleSize" - ] - } - }, - { - "id": "2c55f615-3d45-4f26-8afc-79ecac5510b6", - "type": "string/toString", - "pos": [ - -363.3999999999999, - 1216.899999999999 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 155, - "mode": 2, - "inputs": [ - { - "name": "in", - "type": "", - "link": "539358ff-a4ee-498f-b973-8cb926ec7f69" - } - ], - "outputs": [ - { - "name": "out", - "type": "string", - "links": [ - "2c65b0ce-27e5-4757-a53f-95c05076145f" - ], - "slot_index": 0 - } - ], - "title": "ToString", - "properties": { - "tags": [ - "i2i", - "i2iScaleSize" - ] - } - }, - { - "id": "ba2c7b54-2bf2-4f76-802c-21c329395919", - "type": "math/floor", - "pos": [ - -254, - 1154 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 158, - "mode": 2, - "inputs": [ - { - "name": "in", - "type": "number", - "link": "02f43c62-bc3c-4f2f-b8cc-15ad3400f20e" - } - ], - "outputs": [ - { - "name": "out", - "type": "number", - "links": [ - "539358ff-a4ee-498f-b973-8cb926ec7f69", - "b3d93a2a-3d5f-4677-b690-2f533d8e7921" - ], - "slot_index": 0 - } - ], - "title": "Floor", - "properties": { - "tags": [ - "i2i", - "i2iScaleSize" - ] - } - }, - { - "id": "55767680-524c-4b33-925c-51ccab92909c", - "type": "math/operation", - "pos": [ - 1242, - 214 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 132, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "number,array,object", - "link": "12d55f18-b8b1-4f38-8068-204d0fc6d93e" - }, - { - "name": "B", - "type": "number", - "link": "a83b554c-65a2-4cd8-9254-22d01df50bcd" - } - ], - "outputs": [ - { - "name": "=", - "type": "number", - "links": [ - "8b04c703-a04d-4a54-9d41-92f185e70844" - ], - "slot_index": 0 - } - ], - "title": "Operation", - "properties": { - "A": 2, - "B": 768, - "OP": "*", - "tags": [] - } - }, - { - "id": "ed5e2222-743f-436d-aa4f-527309a42f14", - "type": "math/operation", - "pos": [ - 1240, - 270 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 131, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "number,array,object", - "link": "09ff7df7-34cc-4694-b051-70376183593c" - }, - { - "name": "B", - "type": "number", - "link": "d90a451d-c5c6-4759-a84c-435d43ae00a8" - } - ], - "outputs": [ - { - "name": "=", - "type": "number", - "links": [ - "e3fd1190-697e-4f1b-a417-68c8fa8e999d" - ], - "slot_index": 0 - } - ], - "title": "Operation", - "properties": { - "A": 2, - "B": 512, - "OP": "*", - "tags": [] - } - }, - { - "id": "5f405265-b768-4d1e-8222-5048b40ec94d", - "type": "basic/watch", - "pos": [ - 1093, - 665 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 127, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": 0, - "link": "4d383a81-ef83-421e-9a96-8da91027bac1", - "label": "22.000" - } - ], - "outputs": [], - "title": "Watch", - "properties": { - "value": 1, - "tags": [] - } - }, - { - "id": "5d24e8a9-fe6f-473d-bb62-2a0f8fef3463", - "type": "actions/swap", - "pos": [ - -640, - 1113 - ], - "size": [ - 140, - 66 - ], - "flags": {}, - "order": 150, - "mode": 2, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "d4af7e97-d77b-463e-8a6d-ad1ea579fa44" - }, - { - "name": "B", - "type": "*", - "link": "33083275-85f3-4a50-ba87-5b1dfaf6685e" - }, - { - "name": "swap", - "type": -1, - "link": "62db19eb-680a-41dc-8999-e6f4e9e18fd1", - "shape": 1 - } - ], - "outputs": [ - { - "name": "B", - "type": -2, - "links": [ - "90ab6eab-d319-4399-9db6-99ec91487230" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "A", - "type": -2, - "links": [ - "5ab3dc31-7f75-4a8e-ad6d-8e9c9f9b468a" - ], - "shape": 1, - "slot_index": 1 - } - ], - "title": "Comfy.SwapAction", - "properties": { - "tags": [ - "i2i", - "i2iPixelSize" - ] - }, - "saveUserState": true - }, - { - "id": "91789924-bd62-40bd-ba13-b4a494211b13", - "type": "ui/slider", - "pos": [ - -481, - 1160 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 148, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null, - "slot_index": 0 - }, - { - "name": "store", - "type": -1, - "link": "90ab6eab-d319-4399-9db6-99ec91487230", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "33083275-85f3-4a50-ba87-5b1dfaf6685e", - "72bd737d-2937-4cd7-a6c2-deb24ddba61b" - ], - "slot_index": 0 - }, - { - "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": { - "tags": [ - "i2i", - "i2iPixelSize" - ], - "defaultValue": 512, - "min": 64, - "max": 2048, - "step": 64, - "precision": 0, - "hidden": false - }, - "widgets_values": [ - "512.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 512, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } - }, - "saveUserState": true - }, - { - "id": "878f671b-b24e-49dd-b024-85326d74c46b", - "type": "ui/slider", - "pos": [ - -482, - 1134 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 149, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "5ab3dc31-7f75-4a8e-ad6d-8e9c9f9b468a", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "d4af7e97-d77b-463e-8a6d-ad1ea579fa44", - "0aa5872b-1ca4-4342-b158-9a002816ef64" - ], - "slot_index": 0 - }, - { - "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": { - "tags": [ - "i2i", - "i2iPixelSize" - ], - "defaultValue": 512, - "min": 64, - "max": 2048, - "step": 64, - "precision": 0, - "hidden": false - }, - "widgets_values": [ - "512.000" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 512, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } - }, - "saveUserState": true - }, - { - "id": "2fe65f15-6b89-46e1-999f-c1e87f33178c", - "type": "math/floor", - "pos": [ - -254, - 1130 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 157, - "mode": 2, - "inputs": [ - { - "name": "in", - "type": "number", - "link": "87687adc-c5db-42ef-a970-aa9806efa875" - } - ], - "outputs": [ - { - "name": "out", - "type": "number", - "links": [ - "9e147ba9-a8fd-435c-85fd-b4dd1fae4f87", - "14f069e4-4c73-4cec-86d6-2f2b8a6555c2" - ], - "slot_index": 0 - } - ], - "title": "Floor", - "properties": { - "tags": [ - "i2i", - "i2iScaleSize" - ] - } - }, - { - "id": "62b5f0bf-3f71-4506-90ac-b0e2e101e207", - "type": "ui/slider", - "pos": [ - -375, - 1149 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 29, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "492b40b0-7c7a-4ac3-aa4e-0eb40addf89c", - "08c6c6dc-c681-4f6e-be1a-53d22a5bb93e" - ], - "slot_index": 0 - }, - { - "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": { - "tags": [ - "i2i", - "i2iScaleSize" - ], - "defaultValue": 512, - "min": 0.1, - "max": 4, - "step": 0.1, - "precision": 0 - }, - "widgets_values": [ - "1.700" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 1.7, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } - }, - "saveUserState": true - }, - { - "id": "0f5ebd30-28b2-4492-9760-afe9133f3cb1", - "type": "utils/pick_first", - "pos": [ - -130, - 1013 - ], - "size": [ - 210, - 122 - ], - "flags": {}, - "order": 159, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "14f069e4-4c73-4cec-86d6-2f2b8a6555c2" - }, - { - "name": "B", - "type": "*", - "link": "0aa5872b-1ca4-4342-b158-9a002816ef64" - }, - { - "name": "C", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "", - "type": "*", - "links": [ - "5afc01db-8e31-4bf6-a5b9-856bb130fabd" - ], - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [], - "mode": "dataNonNull" - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "59a9807c-7ffe-4fd4-aa8f-b844247095ad", - "type": "utils/pick_first", - "pos": [ - -129, - 1168 - ], - "size": [ - 210, - 122 - ], - "flags": {}, - "order": 160, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "b3d93a2a-3d5f-4677-b690-2f533d8e7921" - }, - { - "name": "B", - "type": "*", - "link": "72bd737d-2937-4cd7-a6c2-deb24ddba61b" - }, - { - "name": "C", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "", - "type": "*", - "links": [ - "098070ac-bfa0-4910-8a9c-6ace3b61cfc5" - ], - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [], - "mode": "dataNonNull" - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "c88ffd5e-0dca-43a6-8c08-28a662c217c8", - "type": "ui/button", - "pos": [ - 1380, - 342 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 30, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "c1ba8ca9-6ece-43dc-bcc0-10a3406030b4" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", - "properties": { - "tags": [], - "defaultValue": false, - "param": "bang", - "message": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "1015c35d-3385-4f73-987c-235c3e5ae154", - "type": "basic/string", - "pos": [ - 139.80000000000018, - 1150.4999999999986 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 31, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "11553aed-6d67-4562-8f98-8ab990fceb4d" - ], - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "img2img", - "tags": [] - } - }, - { - "id": "4c1daf73-b305-4497-8394-6779f195d5b9", - "type": "logic/AND", - "pos": [ - 345.80000000000007, - 1176.4999999999986 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 164, - "mode": 0, - "inputs": [ - { - "name": "a", - "type": "boolean", - "link": "cdeadb57-9a95-417b-956d-2835d812fa2d" - }, - { - "name": "b", - "type": "boolean", - "link": "5f9eaee2-612c-4068-ae5b-db9c884c0d9b" - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "77e6951f-6b0f-478c-812e-c1c1f55d1b0b" - ], - "slot_index": 0 - } - ], - "title": "AND", - "properties": { - "tags": [] - } - }, - { - "id": "41abe31a-03d3-4ed2-b9ca-2b3710378d95", - "type": "logic/NOT", - "pos": [ - 437.8, - 1172.4999999999986 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 166, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "boolean", - "link": "77e6951f-6b0f-478c-812e-c1c1f55d1b0b" - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "0faa4f98-5c8a-4d1d-aa98-b3b85359152b" - ], - "slot_index": 0 - } - ], - "title": "NOT", - "properties": { - "tags": [] - } - }, - { - "id": "8a59c197-3ecf-4f37-b366-43705b0dbf03", - "type": "basic/string", - "pos": [ - 724, - 1198 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 32, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "36c6d73a-9a33-4441-834c-a63793ccc646" - ], - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "Upload an image to be used with img2img first.", - "tags": [] - } - }, - { - "id": "f5df9e5f-a76f-423d-83d0-70257d3085a9", - "type": "string/compare", - "pos": [ - 241, - 1153 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 83, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "string", - "link": "d22fa3f8-a441-424e-8bcf-3bde6271472a" - }, - { - "name": "B", - "type": "string", - "link": "11553aed-6d67-4562-8f98-8ab990fceb4d" - } - ], - "outputs": [ - { - "name": "==", - "type": "boolean", - "links": [ - "cdeadb57-9a95-417b-956d-2835d812fa2d" - ], - "slot_index": 0 - } - ], - "title": "Compare", - "properties": { - "tags": [] - } - }, - { - "id": "3c5fd255-f3da-48dd-a216-042da8858845", - "type": "actions/execute_subgraph", - "pos": [ - 1558, - 313 - ], - "size": [ - 226.79999999999998, - 78 - ], - "flags": {}, - "order": 124, - "mode": 0, - "inputs": [ - { - "name": "execute", - "type": -1, - "link": "216dd5ea-f513-4dfa-8517-67eed0fca91a", - "shape": 1 - }, - { - "name": "tag", - "type": "string", - "link": null - } - ], - "outputs": [], - "title": "Comfy.ExecuteSubgraphAction", - "properties": { - "tags": [], - "targetTag": "hr", - "tag": "hr" - }, - "saveUserState": true - }, - { - "id": "d0fe7a77-314d-4bd7-b746-5587ce94ce2c", - "type": "basic/boolean", - "pos": [ - -1144.9562904132222, - 1007.88950710744 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 33, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "bool", - "type": "boolean", - "links": [ - "c928aa17-012c-456c-a2e6-5cfb21a5b7aa" - ], - "slot_index": 0 - } - ], - "title": "Const Boolean", - "properties": { - "value": true, - "tags": [] - } - }, - { - "id": "42f512a9-4312-42ca-a4b1-07e0ec57ee44", - "type": "actions/set_node_mode_advanced", - "pos": [ - -1104.7907399999995, - 1285.3552599999998 - ], - "size": [ - 260.4, - 102 - ], - "flags": {}, - "order": 119, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": null - }, - { - "name": "set", - "type": -1, - "link": "11b7329b-a9b2-4ef6-b9c9-9f6b8c26bcc4", - "shape": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAdvancedAction", - "properties": { - "targetTags": [ - { - "tag": "i2iScaleSize", - "enable": false - }, - { - "tag": "i2iPixelSize", - "enable": true - } - ], - "enable": true, - "tags": [] - }, - "boxcolor": "#666", - "saveUserState": true - }, - { - "id": "8996f14d-b177-4604-b91d-e42f02b71edb", - "type": "ui/radio", - "pos": [ - -2080.056843593749, - 467.44071808593736 - ], - "size": [ - 210, - 122 - ], - "flags": { - "collapsed": false - }, - "order": 34, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "string,number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "d22fa3f8-a441-424e-8bcf-3bde6271472a", - "1cf67330-7b90-4ec4-b116-de5fd9a95975" - ], - "slot_index": 0 - }, - { - "name": "index", - "type": "number", - "links": null - }, - { - "name": "changed", - "type": -2, - "links": [ - "597715eb-cd1a-4406-b011-ae052d7365b9", - "7044d598-07ca-426e-bdb1-2f51f73a19d4", - "7ca16b53-f9bf-4db7-ab4b-5989ce8dd05f" - ], - "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": "4214aa59-b6e2-4992-9a89-2c57936d6192", - "type": "basic/string", - "pos": [ - 668, - 635 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 35, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "1ae0dce3-0167-4be9-91a7-18b6b3f0f209" - ], - "slot_index": 0 + "properties": {} } ], "title": "Const String", @@ -5226,647 +9522,201 @@ } }, { - "id": "50f8d159-54bb-49d3-af76-6619005bda4e", - "type": "string/template", + "id": "e49e00a6-c300-4a61-a5a8-d0296bd2535b", + "type": "actions/notify", "pos": [ - -1845.056843593749, - 466.44071808593736 + 2216, + 194 ], "size": [ - 210, - 98 - ], - "flags": {}, - "order": 86, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "string,array", - "link": "1cf67330-7b90-4ec4-b116-de5fd9a95975" - }, - { - "name": "", - "type": "string", - "link": null - }, - { - "name": "update", - "type": -1, - "link": "7ca16b53-f9bf-4db7-ab4b-5989ce8dd05f", - "shape": 1 - } - ], - "outputs": [ - { - "name": "out", - "type": "string", - "links": [ - "8947fb09-c603-40be-bf16-32d723bf9142" - ], - "slot_index": 0 - } - ], - "title": "Template", - "properties": { - "template": "Queue $1", - "stringQuote": "", - "tags": [] - } - }, - { - "id": "23ce9065-4613-42f5-83d7-5d0b897ceaa7", - "type": "events/trigger", - "pos": [ - -1618.056843593749, - 471.44071808593736 - ], - "size": [ - 140, - 66 - ], - "flags": {}, - "order": 106, - "mode": 0, - "inputs": [ - { - "name": "if", - "type": "", - "link": "8947fb09-c603-40be-bf16-32d723bf9142" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": null, - "shape": 1 - }, - { - "name": "change", - "type": -2, - "links": [ - "b4dc8e22-e5d6-46ba-befa-246845285da7" - ], - "shape": 1, - "slot_index": 1 - }, - { - "name": "false", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Trigger Event", - "properties": { - "onlyOnChange": true, - "tags": [] - } - }, - { - "id": "a11e108f-127d-427b-a343-7b095749f3ca", - "type": "events/filter", - "pos": [ - -2087.056843593749, - 632.4407180859373 - ], - "size": [ - 210, - 150 - ], - "flags": {}, - "order": 84, - "mode": 0, - "inputs": [ - { - "name": "event", - "type": -1, - "link": "597715eb-cd1a-4406-b011-ae052d7365b9", - "shape": 1 - }, - { - "name": "compare_value", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "accept", - "type": -2, - "links": [ - "470197fa-079b-462e-8b64-d22402d4c644" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "reject", - "type": -2, - "links": [], - "shape": 1, - "slot_index": 1 - } - ], - "title": "Filter Event", - "properties": { - "compareValue": "txt2img", - "propertyName": "", - "mode": "param", - "operation": "==", - "tags": [] - } - }, - { - "id": "cc25dc77-63b2-4869-919e-97acb8f86e79", - "type": "events/filter", - "pos": [ - -2080.056843593749, - 806.4407180859373 - ], - "size": [ - 210, - 150 - ], - "flags": { - "collapsed": false - }, - "order": 85, - "mode": 0, - "inputs": [ - { - "name": "event", - "type": -1, - "link": "7044d598-07ca-426e-bdb1-2f51f73a19d4", - "shape": 1 - }, - { - "name": "compare_value", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "accept", - "type": -2, - "links": [ - "b466313e-e92e-490b-a11c-d683049d3d20", - "e24f466b-a3c0-4b18-a9de-9db3d1c768ac" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "reject", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Filter Event", - "properties": { - "compareValue": "img2img", - "propertyName": "", - "mode": "param", - "operation": "==", - "tags": [] - } - }, - { - "id": "173e6f9c-0d5a-4a35-b2a1-bff479eba39b", - "type": "actions/set_node_mode_advanced", - "pos": [ - -1778.056843593749, - 609.4407180859373 - ], - "size": [ - 260.4, - 102 - ], - "flags": {}, - "order": 103, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": null - }, - { - "name": "set", - "type": -1, - "link": "470197fa-079b-462e-8b64-d22402d4c644", - "shape": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAdvancedAction", - "properties": { - "targetTags": [ - { - "tag": "t2i", - "enable": true - }, - { - "tag": "i2i", - "enable": false - } - ], - "enable": true, - "tags": [] - }, - "boxcolor": "#666", - "saveUserState": true - }, - { - "id": "d41b80c1-bc3e-46b1-a0ed-ccf0b5561440", - "type": "actions/set_node_mode_advanced", - "pos": [ - -1797.056843593749, - 794.4407180859373 - ], - "size": [ - 260.4, - 102 - ], - "flags": {}, - "order": 105, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": null - }, - { - "name": "set", - "type": -1, - "link": "e24f466b-a3c0-4b18-a9de-9db3d1c768ac", - "shape": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAdvancedAction", - "properties": { - "targetTags": [ - { - "tag": "i2i", - "enable": true - }, - { - "tag": "t2i", - "enable": false - }, - { - "tag": "i2iPixelSize", - "enable": true - }, - { - "tag": "i2iScaleSize", - "enable": false - } - ], - "enable": true, - "tags": [] - }, - "boxcolor": "#666", - "saveUserState": true - }, - { - "id": "d049060c-eaec-47d6-a403-93d5b7264068", - "type": "basic/json", - "pos": [ - -1859.8217735937492, - 1022.4599680859374 - ], - "size": [ - 210, - 86 + 151.2, + 46 ], "flags": { "collapsed": true }, - "order": 36, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "data", - "type": "object", - "links": [ - "fdf7a5d3-d2c1-4525-b588-ef47aa3f9abb" - ], - "shape": 0, - "slot_index": 0 - } - ], - "title": "Const JSON", - "properties": { - "json": "{ \u000balue: false, \noChangedEvent: true }", - "value": "null", - "type": "object", - "tags": [] - }, - "boxcolor": "#AEA" - }, - { - "id": "ce984d57-3d2f-4fc7-9829-f817dc8dcbd0", - "type": "events/filter", - "pos": [ - -1071, - 965 - ], - "size": [ - 210, - 150 - ], - "flags": { - "collapsed": false - }, - "order": 117, + "order": 45, "mode": 0, "inputs": [ { - "name": "event", - "type": -1, - "link": "fd111301-6059-441a-b8fc-84e25f1dcfdb", - "shape": 1 - }, - { - "name": "compare_value", - "type": "*", - "link": "c928aa17-012c-456c-a2e6-5cfb21a5b7aa" - } - ], - "outputs": [ - { - "name": "accept", - "type": -2, - "links": [ - "b369e885-ed85-495b-bbac-5d14b02026cc" - ], - "shape": 1, + "name": "message", + "type": "string", + "link": "1a455af8-653b-47f6-87d9-50d9e46be039", + "properties": {}, "slot_index": 0 }, { - "name": "reject", - "type": -2, - "links": [ - "11b7329b-a9b2-4ef6-b9c9-9f6b8c26bcc4" - ], - "shape": 1, - "slot_index": 1 - } - ], - "title": "Filter Event", - "properties": { - "compareValue": true, - "propertyName": "", - "mode": "param", - "operation": "==", - "tags": [] - } - }, - { - "id": "f0ced758-010a-43b4-8418-b318acb8c858", - "type": "workflow/configure_queue_prompt_button", - "pos": [ - -1681.7597994531247, - 402.4011205078125 - ], - "size": [ - 268.8, - 26 - ], - "flags": { - "collapsed": false - }, - "order": 113, - "mode": 0, - "inputs": [ - { - "name": "config", + "name": "trigger", "type": -1, - "link": "b4dc8e22-e5d6-46ba-befa-246845285da7", + "link": "b6a0feb1-9333-472f-b025-4a187fc691b2", + "properties": {}, "shape": 1 } ], "outputs": [], - "title": "Comfy.ConfigureQueuePromptButton", - "properties": { - "tags": [] - } - }, - { - "id": "3680a25d-9fa2-4ce3-a70e-4d1fd7c88f25", - "type": "events/trigger_new_event", - "pos": [ - -1726.36279296875, - 981.864013671875 - ], - "size": [ - 210, - 78 - ], - "flags": {}, - "order": 104, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "b466313e-e92e-490b-a11c-d683049d3d20", - "shape": 1 - }, - { - "name": "param", - "type": "*", - "link": "fdf7a5d3-d2c1-4525-b588-ef47aa3f9abb" - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "83beeb50-4d1d-40a3-aae1-8d8036c76791" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.TriggerNewEvent", - "properties": { - "param": { - "value": false, - "noChangedEvent": true - }, - "tags": [] - } - }, - { - "id": "bf90c19d-1ebd-44aa-9b1a-5e7302abe9fb", - "type": "ui/checkbox", - "pos": [ - -1362, - 949 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": false - }, - "order": 112, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "boolean", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "83beeb50-4d1d-40a3-aae1-8d8036c76791", - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "boolean", - "links": [], - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": [ - "fd111301-6059-441a-b8fc-84e25f1dcfdb" - ], - "shape": 1, - "slot_index": 1 - } - ], - "title": "UI.Checkbox", - "properties": { - "tags": [ - "i2i" - ], - "defaultValue": false - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "c52fc513-84b7-42bb-b3ab-16124410f2be", - "type": "actions/queue_events", - "pos": [ - 199, - 1046 - ], - "size": [ - 178, - 66 - ], - "flags": {}, - "order": 37, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "beforeQueued", - "type": -2, - "links": null, - "shape": 1 - }, - { - "name": "afterQueued", - "type": -2, - "links": null, - "shape": 1 - }, - { - "name": "onDefaultQueueAction", - "type": -2, - "links": [ - "6c08d4ca-f44b-4980-bf4a-dc8c6ab2c4c7" - ], - "shape": 1, - "slot_index": 2 - } - ], - "title": "Comfy.QueueEvents", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "b3397c7a-e4a9-486d-acd3-7ed7920ab01e", - "type": "ui/button", - "pos": [ - 354, - 1139 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 38, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "1d646e0d-177c-40a6-a0bb-1cb46a7d15be" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", + "title": "Comfy.NotifyAction", "properties": { "tags": [], - "defaultValue": false, - "param": "bang", - "message": "bang" + "message": "Nya.", + "type": "success" }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, "saveUserState": true }, { - "id": "fb8d72cd-cb80-40a2-8662-0db5ef8a9ec5", + "id": "55e5761e-ac95-4025-b8c1-378b989d0943", + "type": "actions/play_sound", + "pos": [ + 3534.699999999997, + 240.40000000000003 + ], + "size": [ + 176.4, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 52, + "mode": 0, + "inputs": [ + { + "name": "sound", + "type": "string", + "link": "7447eb89-883e-45cb-ab57-28b52f718447", + "properties": {}, + "slot_index": 0 + }, + { + "name": "trigger", + "type": -1, + "link": "f9a02de5-ef6d-4279-a801-dabd2c00fa9e", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.PlaySoundAction", + "properties": { + "tags": [], + "sound": "notification.mp3" + }, + "saveUserState": true + }, + { + "id": "ae3a9de2-5eae-4c69-9405-6bffd0ac628e", + "type": "basic/string", + "pos": [ + 3379.699999999997, + 241.40000000000003 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 14, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "string", + "type": "string", + "links": [ + "7447eb89-883e-45cb-ab57-28b52f718447" + ], + "properties": {} + } + ], + "title": "Const String", + "properties": { + "value": "notification.mp3", + "tags": [] + } + }, + { + "id": "368b245b-3454-4959-a2da-8b51a291e78b", + "type": "basic/string", + "pos": [ + 3373.699999999997, + 278.39999999999986 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "string", + "type": "string", + "links": [ + "a3ad2d86-5a90-4e40-a8ee-bdcbcf7623ed" + ], + "properties": {} + } + ], + "title": "Const String", + "properties": { + "value": "Upscale finished!", + "tags": [] + } + }, + { + "id": "5040035d-4fd5-4708-8c80-08829b0b4598", + "type": "actions/notify", + "pos": [ + 3526, + 275 + ], + "size": [ + 151.2, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 53, + "mode": 0, + "inputs": [ + { + "name": "message", + "type": "string", + "link": "a3ad2d86-5a90-4e40-a8ee-bdcbcf7623ed", + "properties": {}, + "slot_index": 0 + }, + { + "name": "trigger", + "type": -1, + "link": "d6a150e9-d000-41d1-8460-bb4614e7527c", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.NotifyAction", + "properties": { + "tags": [], + "message": "Nya.", + "type": "success" + }, + "saveUserState": true + }, + { + "id": "928a13d8-cfc6-417e-9088-53503efb1cd3", "type": "events/sequence", "pos": [ - 422, - 1106 + 2071, + 363 ], "size": [ 140, @@ -5875,973 +9725,28 @@ "flags": { "collapsed": true }, - "order": 87, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "1d646e0d-177c-40a6-a0bb-1cb46a7d15be", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "6c08d4ca-f44b-4980-bf4a-dc8c6ab2c4c7", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "1985979f-a7e5-4599-be55-33855ed2bfa9" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "c0f0a426-9f8e-4100-86de-2a290e5e07fd", - "type": "actions/notify", - "pos": [ - 750, - 1231 - ], - "size": [ - 151.2, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 167, - "mode": 0, - "inputs": [ - { - "name": "message", - "type": "string", - "link": "36c6d73a-9a33-4441-834c-a63793ccc646" - }, - { - "name": "trigger", - "type": -1, - "link": "86e611bd-9709-4822-a3bf-7dbcdfed2d11", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.NotifyAction", - "properties": { - "tags": [], - "message": "Nya.", - "type": "error" - }, - "saveUserState": true - }, - { - "id": "890deda7-c326-4c8c-a363-036ee9e0a25c", - "type": "basic/string", - "pos": [ - 2021, - 249 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 39, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "417c3100-99e3-4257-a48d-622ef5b0ea9d" - ], - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "Upscale complete!", - "tags": [] - } - }, - { - "id": "02959e62-f41b-402e-bee0-2dcc80526ac9", - "type": "actions/notify", - "pos": [ - 2021, - 279 - ], - "size": [ - 151.2, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 129, - "mode": 0, - "inputs": [ - { - "name": "message", - "type": "string", - "link": "417c3100-99e3-4257-a48d-622ef5b0ea9d" - }, - { - "name": "trigger", - "type": -1, - "link": "dabb4cc1-1e4e-4098-9710-435b7bf8e0dc", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.NotifyAction", - "properties": { - "tags": [], - "message": "Nya.", - "type": "success" - }, - "saveUserState": true - }, - { - "id": "d08a5ebb-d43a-4590-b770-d0c444feb2b9", - "type": "actions/notify", - "pos": [ - 674, - 665 - ], - "size": [ - 151.2, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 248, - "mode": 0, - "inputs": [ - { - "name": "message", - "type": "string", - "link": "1ae0dce3-0167-4be9-91a7-18b6b3f0f209" - }, - { - "name": "trigger", - "type": -1, - "link": "68979cea-ed80-4566-af17-045d4f5af8f9", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.NotifyAction", - "properties": { - "tags": [], - "message": "Nya.", - "type": "success" - }, - "saveUserState": true - }, - { - "id": "a643fd0a-1260-458a-80bf-f2a322e97295", - "type": "actions/notify", - "pos": [ - 1509, - 505 - ], - "size": [ - 151.2, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 169, - "mode": 0, - "inputs": [ - { - "name": "message", - "type": "string", - "link": "fd27143b-a4e4-401b-aa20-5e5be5fdf4db" - }, - { - "name": "trigger", - "type": -1, - "link": "e69578b0-2527-4971-a465-e418499b2037", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.NotifyAction", - "properties": { - "tags": [], - "message": "Nya.", - "type": "info" - }, - "saveUserState": true - }, - { - "id": "090dce20-ef66-4778-8246-5398e237823c", - "type": "actions/notify", - "pos": [ - 1689, - 524 - ], - "size": [ - 151.2, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 162, - "mode": 0, - "inputs": [ - { - "name": "message", - "type": "string", - "link": "793cf260-782b-495d-a09f-f636c19f5fc4" - }, - { - "name": "trigger", - "type": -1, - "link": "3befef74-f599-47b0-9fe0-7cdb4eba6cbd", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.NotifyAction", - "properties": { - "tags": [], - "message": "Nya.", - "type": "error" - }, - "saveUserState": true - }, - { - "id": "62d1201f-b57d-40fe-8c4c-17f8ee0266d6", - "type": "basic/string", - "pos": [ - 1674, - 486 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 40, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "793cf260-782b-495d-a09f-f636c19f5fc4" - ], - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "Select an image from the Result gallery to upscale first.", - "tags": [] - } - }, - { - "id": "33878591-0f55-4c60-8ef5-3858434af153", - "type": "basic/string", - "pos": [ - 1525.9631480090163, - 855.4472802404205 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 41, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "e8a6d5d0-1b59-49f3-8ead-8a86efb0799c" - ], - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "Prompt queued.", - "tags": [] - } - }, - { - "id": "b77d58e2-baf8-4be3-8117-f6600e335959", - "type": "basic/string", - "pos": [ - 1514, - 475 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 42, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "fd27143b-a4e4-401b-aa20-5e5be5fdf4db" - ], - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "Upscale queued.", - "tags": [] - } - }, - { - "id": "3c8f66e3-7626-4b76-9d36-e40be2776ffe", - "type": "SaveImage", - "pos": [ - 1831, - -8 - ], - "size": [ - 220, - 46 - ], - "flags": {}, - "order": 140, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": "9b231026-03e1-4088-abd5-7afcb74c8ac9", - "config": {} - }, - { - "name": "filename_prefix", - "type": "string", - "link": "da7c9013-a2fa-4a98-8857-0a6a0b2cf12e", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/text", - "serialize": true, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "onExecuted", - "type": -2, - "links": [ - "f0eb469b-9d4c-4c9c-b035-08b8a9ee817b", - "dabb4cc1-1e4e-4098-9710-435b7bf8e0dc", - "c6c14d5f-31ab-4c07-b428-a56bc85fc648" - ], - "color_off": "rebeccapurple", - "color_on": "rebeccapurple", - "shape": 1, - "slot_index": 0 - } - ], - "title": "SaveImage", - "properties": { - "tags": [ - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "8065a276-719c-47cc-bced-150638b45f30", - "type": "actions/play_sound", - "pos": [ - 2379, - 257 - ], - "size": [ - 176.4, - 46 - ], - "flags": {}, - "order": 170, - "mode": 0, - "inputs": [ - { - "name": "sound", - "type": "string", - "link": null - }, - { - "name": "trigger", - "type": -1, - "link": "c6c14d5f-31ab-4c07-b428-a56bc85fc648", - "shape": 1 - } - ], - "outputs": [], - "title": "Comfy.PlaySoundAction", - "properties": { - "tags": [], - "sound": "notification.mp3" - }, - "saveUserState": true - }, - { - "id": "2cc5cdd4-b77e-452c-8d07-4feaab14821f", - "type": "SaveImage", - "pos": [ - 377, - 241 - ], - "size": [ - 220, - 46 - ], - "flags": {}, - "order": 139, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": "42243ad7-dd24-4c95-8eb9-f3faa163a4fd", - "config": {} - }, - { - "name": "filename_prefix", - "type": "string", - "link": "99637781-7a3d-4137-9546-f1bbaacff63e", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/text", - "serialize": true - } - ], - "outputs": [ - { - "name": "onExecuted", - "type": -2, - "links": [ - "1c991a6c-ee1e-40b4-8c5c-520d92159551", - "0eef5fe4-88bf-435b-96ff-3dc6eeed5566", - "68979cea-ed80-4566-af17-045d4f5af8f9", - "e9ed9364-7312-4779-9b03-00cd3da00b58" - ], - "color_off": "rebeccapurple", - "color_on": "rebeccapurple", - "shape": 1, - "slot_index": 0 - } - ], - "title": "SaveImage", - "properties": { - "tags": [ - "txt2img" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "8f80ac4b-839e-40b5-805c-3e004adf6e3a", - "type": "actions/play_sound", - "pos": [ - 652, - 534 - ], - "size": [ - 176.4, - 46 - ], - "flags": {}, - "order": 171, - "mode": 0, - "inputs": [ - { - "name": "sound", - "type": "string", - "link": null - }, - { - "name": "trigger", - "type": -1, - "link": "e9ed9364-7312-4779-9b03-00cd3da00b58", - "shape": 1 - } - ], - "outputs": [], - "title": "Comfy.PlaySoundAction", - "properties": { - "tags": [], - "sound": "notification.mp3" - }, - "saveUserState": true - }, - { - "id": "1ab803a3-c4eb-4264-ad92-81406473c1e6", - "type": "ui/checkbox", - "pos": [ - -348.19999999999993, - -384.92000000000013 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, "order": 43, "mode": 0, - "inputs": [ - { - "name": "value", - "type": "boolean", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "boolean", - "links": [ - "6478e106-ab51-4984-84ca-43d8a7578b7b" - ], - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": [ - "872f936a-68b4-4861-b1f9-8d690ce4105e" - ], - "shape": 1 - } - ], - "title": "UI.Checkbox", - "properties": { - "tags": [], - "defaultValue": false - }, - "widgets_values": [ - "null" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "1bb03060-082b-4327-8e5b-0925dd7fc0a5", - "type": "ui/combo", - "pos": [ - -1198.613355035923, - -547.7203245358562 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 44, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "7a12401b-dbe6-4a97-8ea3-48477764ae1a" - ] - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Combo", - "properties": { - "tags": [ - "lora" - ], - "defaultValue": null, - "values": [], - "convertValueToLabelCode": "return value.split('\\\\').pop().split('/').pop();" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": "A", - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "c71b6f87-c4f8-4219-a924-3e7d59296f50", - "type": "ui/button", - "pos": [ - -1581.9033550359202, - -561.940324535855 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 45, - "mode": 2, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "8fc55e18-7809-4ea8-b7f2-f8042730c075" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", - "properties": { - "tags": [ - "lora" - ], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "906ec488-068d-4f6d-905d-efbdd964b444", - "type": "ui/slider", - "pos": [ - -1181.0488774218754, - -529.640408066406 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 250, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "b24cdc3e-9373-41a2-8565-7ded0f3450be", - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "8618fff5-2607-427e-861d-95a7be09c795" - ] - }, - { - "name": "changed", - "type": -2, - "links": [ - "873e0bff-ef3c-4b0e-a429-c9f85abbaf25" - ], - "shape": 1, - "slot_index": 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": { - "tags": [ - "lora" - ], - "defaultValue": 1, - "min": -1, - "max": 2, - "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 - } - }, - "saveUserState": true - }, - { - "id": "196174de-3e4e-4371-a3af-6baeced08071", - "type": "ui/slider", - "pos": [ - -1184.0488774218754, - -508.64040806640605 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 251, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "61d8c514-9a03-40ef-bdf6-fdbc8e4b4878", - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "eda51f16-0650-44c2-b14a-c255a1d180eb" - ] - }, - { - "name": "changed", - "type": -2, - "links": [ - "e5b0bee2-a35c-4aa3-b83b-44049a882869" - ], - "shape": 1, - "slot_index": 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": { - "tags": [ - "lora" - ], - "defaultValue": 1, - "min": -1, - "max": 2, - "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 - } - }, - "saveUserState": true - }, - { - "id": "73f504e6-4fa2-4485-9fa5-59909eb50f73", - "type": "events/sequence", - "pos": [ - -1310.0488774218754, - -528.640408066406 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 175, - "mode": 0, "inputs": [ { "name": "", "type": -1, - "link": "561e4cdf-b249-48da-a6a3-1cb5fe0f92ca", + "link": "eeb1dfa6-eaaa-4ba6-b2a6-b13ae69c3462", + "properties": {}, "shape": 1 }, { "name": "", "type": -1, - "link": "24aee005-7316-42c7-805d-5e9c2cb473c7", + "link": "27e9b2c9-72c5-48b0-aa80-2646590d8c2b", + "properties": {}, "shape": 1 }, { "name": "", "type": -1, "link": null, + "properties": {}, "shape": 1 } ], @@ -6850,15 +9755,17 @@ "name": "", "type": -2, "links": [ - "b24cdc3e-9373-41a2-8565-7ded0f3450be" + "0f1bc87b-d1d6-4c04-be03-699eb7d1ab2a" ], + "properties": {}, "shape": 1, "slot_index": 0 }, { "name": "", "type": -2, - "links": null, + "links": [], + "properties": {}, "shape": 1 } ], @@ -6868,4332 +9775,1245 @@ } }, { - "id": "8f7575c0-9bbd-4b9a-9f96-fbf85772115d", - "type": "events/sequence", + "id": "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + "type": "graph/subgraph", "pos": [ - -1308.0488774218754, - -501.64040806640605 + 164, + 127 ], "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 173, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "51a63d6b-ca92-4b2f-b58c-528f711986b4", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "6ff75959-329f-450d-93c0-6e2d0143036e", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "61d8c514-9a03-40ef-bdf6-fdbc8e4b4878" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "2a252875-fa42-4cab-9ff8-9a32e349205b", - "type": "events/branch", - "pos": [ - -1613.0988774218756, - -495.11040806640585 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 176, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "873e0bff-ef3c-4b0e-a429-c9f85abbaf25", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "b7967f7a-9b8c-4e24-a6b2-496eb78397e9" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "eeeb838f-ef79-4d21-a15c-a6d390452fd8" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "false", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "01148666-c268-4868-af9c-89e135697ef2", - "type": "events/branch", - "pos": [ - -1612.0488774218752, - -522.640408066406 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 172, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "e5b0bee2-a35c-4aa3-b83b-44049a882869", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "90b7e3d2-0bd5-45d8-b717-6fe45b614caf" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "0961f878-e04a-49b0-be1f-51bbd63a5f79" - ], - "shape": 1 - }, - { - "name": "false", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "d5068b0b-adb0-406f-a885-26244d0004d1", - "type": "events/no_change", - "pos": [ - -1503.0488774218752, - -527.640408066406 - ], - "size": [ - 159.6, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 174, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "0961f878-e04a-49b0-be1f-51bbd63a5f79", - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "24aee005-7316-42c7-805d-5e9c2cb473c7" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.NoChangeEvent", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "0abc5885-4e47-4793-abfa-ceb7a08a3da6", - "type": "actions/copy", - "pos": [ - -1462.0488774218752, - -576.640408066406 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 89, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "*", - "link": "899833ef-9bc6-4768-ad5c-0d348c3b6a6f" - }, - { - "name": "copy", - "type": -1, - "link": "8fc55e18-7809-4ea8-b7f2-f8042730c075", - "shape": 1 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "51a63d6b-ca92-4b2f-b58c-528f711986b4", - "561e4cdf-b249-48da-a6a3-1cb5fe0f92ca" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.CopyAction", - "properties": { - "value": 0, - "tags": [] - }, - "saveUserState": true - }, - { - "id": "e6f99466-8b99-4907-8410-34e60a7e13ff", - "type": "events/no_change", - "pos": [ - -1501.0488774218752, - -502.64040806640605 - ], - "size": [ - 159.6, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 178, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "eeeb838f-ef79-4d21-a15c-a6d390452fd8", - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "6ff75959-329f-450d-93c0-6e2d0143036e" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.NoChangeEvent", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "ff1b301a-552a-4b53-abf3-288b0a46d14b", - "type": "ui/combo", - "pos": [ - -1199.6930366443476, - -403.49321419413394 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 46, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "c881e907-6302-438a-83c6-ae649d7b5bb9" - ] - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Combo", - "properties": { - "tags": [ - "lora" - ], - "defaultValue": null, - "values": [], - "convertValueToLabelCode": "return value.split('\\\\').pop().split('/').pop();" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": "A", - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "37a0caec-96c3-4896-9427-e7e3a49cbf00", - "type": "ui/slider", - "pos": [ - -1182.1285590303, - -385.4132977246838 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 180, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "1de1578c-69ec-4dd0-a107-b44d8d96bf16", - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "99c0d400-72c1-474a-86ff-fcc2b10cbecd" - ] - }, - { - "name": "changed", - "type": -2, - "links": [ - "026e7072-cb55-4676-968e-cfbaddd1b447" - ], - "shape": 1, - "slot_index": 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": { - "tags": [ - "lora" - ], - "defaultValue": 1, - "min": -1, - "max": 2, - "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 - } - }, - "saveUserState": true - }, - { - "id": "af297914-1f5a-4790-8a9b-aadf02b63653", - "type": "ui/slider", - "pos": [ - -1185.1285590303, - -364.41329772468373 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 181, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "95b2c6e3-f103-4cac-b144-ef43b5063eed", - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "59b3457b-7970-48e4-a357-037bb9ae86fe" - ] - }, - { - "name": "changed", - "type": -2, - "links": [ - "55bdfe70-f28b-4a6b-8a92-2c0e5935d6b4" - ], - "shape": 1, - "slot_index": 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": { - "tags": [ - "lora" - ], - "defaultValue": 1, - "min": -1, - "max": 2, - "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 - } - }, - "saveUserState": true - }, - { - "id": "7dde8deb-6909-46c7-a27f-8ba91b2d8118", - "type": "ui/button", - "pos": [ - -1582.983036644345, - -417.7132141941327 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 47, - "mode": 2, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "f2fcbff0-ae24-496d-a933-44878b39cdc0" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", - "properties": { - "tags": [ - "lora" - ], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "e83dfe24-5c64-43a2-b3a6-c42c522ab5b9", - "type": "actions/copy", - "pos": [ - -1463.1285590303003, - -432.4132977246838 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 90, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "*", - "link": "66a40917-f96f-4afb-b62c-dcc8726c7a49" - }, - { - "name": "copy", - "type": -1, - "link": "f2fcbff0-ae24-496d-a933-44878b39cdc0", - "shape": 1 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "03eb7f4d-790f-41da-8066-52233b3aa0c0", - "01202778-c90b-4823-82a1-90ac3521736e" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.CopyAction", - "properties": { - "value": 0, - "tags": [] - }, - "saveUserState": true - }, - { - "id": "9fe7feb8-a378-4bc7-929f-f48de6358def", - "type": "basic/integer", - "pos": [ - -1529.0200366443446, - -442.72921419413325 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 48, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "66a40917-f96f-4afb-b62c-dcc8726c7a49" - ], - "label": "0", - "slot_index": 0 - } - ], - "title": "Const Integer", - "properties": { - "value": 0, - "tags": [] - } - }, - { - "id": "4c1af864-f259-45bf-8bf5-36da40bb8e9e", - "type": "events/sequence", - "pos": [ - -1309.1285590303, - -357.41329772468373 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 184, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "03eb7f4d-790f-41da-8066-52233b3aa0c0", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "b7acfe86-ee09-4f25-923d-1d1b9942c052", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "95b2c6e3-f103-4cac-b144-ef43b5063eed" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "799d7159-aafd-4f79-85ca-b04a89100ccf", - "type": "events/no_change", - "pos": [ - -1504.1285590303, - -383.4132977246838 - ], - "size": [ - 159.6, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 185, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "d9cbad7f-c792-4fb1-9153-548a256924ea", - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "50d9602c-c4b9-4754-ac0d-810b55968c38" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.NoChangeEvent", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "70e06503-de12-4961-a28e-e11e0c1c1eb8", - "type": "events/sequence", - "pos": [ - -1311.1285590303, - -384.4132977246838 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 186, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "01202778-c90b-4823-82a1-90ac3521736e", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "50d9602c-c4b9-4754-ac0d-810b55968c38", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "1de1578c-69ec-4dd0-a107-b44d8d96bf16" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "24714654-aedd-41af-9986-9f1d0d117f1d", - "type": "events/no_change", - "pos": [ - -1502.1285590303, - -358.41329772468373 - ], - "size": [ - 159.6, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 188, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "802193a5-8420-4aea-aa06-3282e3f2a2df", - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "b7acfe86-ee09-4f25-923d-1d1b9942c052" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.NoChangeEvent", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "3585749f-d3e5-46de-aab3-81698f0a626e", - "type": "ui/combo", - "pos": [ - -1203.7727182527724, - -263.3005203218606 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 49, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "166fbf57-a1bf-4847-9645-e1a27b78df44" - ] - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Combo", - "properties": { - "tags": [ - "lora" - ], - "defaultValue": null, - "values": [], - "convertValueToLabelCode": "return value.split('\\\\').pop().split('/').pop();" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": "A", - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "eb95dd75-c834-4e7d-b36b-bfb308b3769d", - "type": "ui/slider", - "pos": [ - -1186.2082406387249, - -245.22060385241033 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 190, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "12c2885d-45ec-4b77-97ad-b11008ec6281", - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "b69df36c-0744-4f0e-9e48-604f8574d01d" - ] - }, - { - "name": "changed", - "type": -2, - "links": [ - "25daddf8-4a2a-4517-9bd4-1e115bd64e79" - ], - "shape": 1, - "slot_index": 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": { - "tags": [ - "lora" - ], - "defaultValue": 1, - "min": -1, - "max": 2, - "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 - } - }, - "saveUserState": true - }, - { - "id": "2dced316-62a1-4537-82b9-5a739dfe7987", - "type": "ui/slider", - "pos": [ - -1189.2082406387249, - -224.22060385241028 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 191, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "d5321e9f-6219-4d30-9ea6-d58dad4fd724", - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "4b5e5d4d-3dc3-40e5-9a86-16c616abc803" - ] - }, - { - "name": "changed", - "type": -2, - "links": [ - "63dddbfe-ebec-4346-991e-dd718240b982" - ], - "shape": 1, - "slot_index": 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": { - "tags": [ - "lora" - ], - "defaultValue": 1, - "min": -1, - "max": 2, - "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 - } - }, - "saveUserState": true - }, - { - "id": "d12389d4-c7e5-4d38-b6cc-ae0ec3e356de", - "type": "ui/button", - "pos": [ - -1587.0627182527692, - -277.52052032185946 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 50, - "mode": 2, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "a4e6bc64-36ac-49ff-b03a-e593d2d18262" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", - "properties": { - "tags": [ - "lora" - ], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "b02af7e0-e6da-4c70-a9aa-44e44141b037", - "type": "actions/copy", - "pos": [ - -1467.2082406387246, - -292.22060385241053 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 91, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "*", - "link": "86224c37-7029-4618-b295-448dfef357d3" - }, - { - "name": "copy", - "type": -1, - "link": "a4e6bc64-36ac-49ff-b03a-e593d2d18262", - "shape": 1 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "b734da8d-c391-4aa5-a6af-2668ae89b817", - "7067b057-843f-4fde-bbd0-4e6a6aa1f2db" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.CopyAction", - "properties": { - "value": 0, - "tags": [] - }, - "saveUserState": true - }, - { - "id": "0d901f28-980d-4c0b-a03d-b25574c914d1", - "type": "basic/integer", - "pos": [ - -1533.099718252769, - -302.53652032186 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 51, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "86224c37-7029-4618-b295-448dfef357d3" - ], - "label": "0", - "slot_index": 0 - } - ], - "title": "Const Integer", - "properties": { - "value": 0, - "tags": [] - } - }, - { - "id": "4752794a-0893-4592-ad5d-9fa14360f987", - "type": "events/sequence", - "pos": [ - -1313.2082406387249, - -217.22060385241028 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 193, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "b734da8d-c391-4aa5-a6af-2668ae89b817", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "e43667b6-d08c-44d3-bafb-c3d945bb55ac", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "d5321e9f-6219-4d30-9ea6-d58dad4fd724" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "f24f15ed-57df-4126-b2b2-b5190a6df08b", - "type": "events/no_change", - "pos": [ - -1508.2082406387244, - -243.22060385241028 - ], - "size": [ - 159.6, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 194, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "e6d2eede-bbb4-45ee-b7b6-6206e078f5b5", - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "187d30c5-d8ea-40ef-b755-7a756f273664" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.NoChangeEvent", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "2a99ac88-b508-4eb8-b60a-c349214c25f5", - "type": "events/sequence", - "pos": [ - -1315.2082406387249, - -244.22060385241033 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 196, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "7067b057-843f-4fde-bbd0-4e6a6aa1f2db", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "187d30c5-d8ea-40ef-b755-7a756f273664", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "12c2885d-45ec-4b77-97ad-b11008ec6281" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "c9f17c9e-620e-4b85-91bf-1b3d0aac7fb1", - "type": "events/no_change", - "pos": [ - -1506.2082406387244, - -218.22060385241028 - ], - "size": [ - 159.6, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 198, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "4886f5d4-e169-4af0-8ece-a02326c877cd", - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "e43667b6-d08c-44d3-bafb-c3d945bb55ac" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.NoChangeEvent", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "51bd9371-9711-4cdb-98b7-92ba8d87ab62", - "type": "ui/combo", - "pos": [ - -1212.5727182527717, - -125.80052032186072 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 52, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "85aaf44a-3fcf-4917-bba4-9530b28617de" - ] - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Combo", - "properties": { - "tags": [ - "lora" - ], - "defaultValue": null, - "values": [], - "convertValueToLabelCode": "return value.split('\\\\').pop().split('/').pop();" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": "A", - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "7eab2ed7-f071-4fa9-a408-8d748b265d63", - "type": "ui/slider", - "pos": [ - -1195.0082406387241, - -107.72060385241052 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 200, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "8639ed3a-184a-438f-b25a-db0aa7f8cde9", - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "25e12f44-63c8-4bbc-adad-5dca0f94657f" - ] - }, - { - "name": "changed", - "type": -2, - "links": [ - "39389ec8-1961-47af-b119-a4041334d3a1" - ], - "shape": 1, - "slot_index": 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": { - "tags": [ - "lora" - ], - "defaultValue": 1, - "min": -1, - "max": 2, - "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 - } - }, - "saveUserState": true - }, - { - "id": "c2428843-22a3-49de-8d9a-b7e4d2b3da1c", - "type": "ui/slider", - "pos": [ - -1198.0082406387241, - -86.72060385241048 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 201, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "7dd95856-6065-4ae7-8e6a-3d3741ccfb74", - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "846074c4-5563-4620-97ff-b11b4f1c6a43" - ] - }, - { - "name": "changed", - "type": -2, - "links": [ - "142b7c44-4cf5-4cca-92ec-42b82d19dfd7" - ], - "shape": 1, - "slot_index": 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": { - "tags": [ - "lora" - ], - "defaultValue": 1, - "min": -1, - "max": 2, - "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 - } - }, - "saveUserState": true - }, - { - "id": "edb15d59-980e-4259-b755-2695f53b372b", - "type": "ui/button", - "pos": [ - -1595.86271825277, - -140.0205203218595 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 53, - "mode": 2, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "6a476d5f-16a2-4d3a-a0f0-3acde2917785" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", - "properties": { - "tags": [ - "lora" - ], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "195eee27-2693-4db2-9651-b5361ba2d607", - "type": "actions/copy", - "pos": [ - -1476.0082406387253, - -154.72060385241056 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 92, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "*", - "link": "5af67cf6-7dce-440c-a53c-b9cfaf4d0be5" - }, - { - "name": "copy", - "type": -1, - "link": "6a476d5f-16a2-4d3a-a0f0-3acde2917785", - "shape": 1 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "33473eac-737b-4391-9827-85b17af577eb", - "252b0f7c-b4e6-4153-b921-2396ebd1824a" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.CopyAction", - "properties": { - "value": 0, - "tags": [] - }, - "saveUserState": true - }, - { - "id": "1656dd5f-237f-4a9d-a128-8cc512382d01", - "type": "basic/integer", - "pos": [ - -1541.8997182527696, - -165.03652032186002 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 54, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "5af67cf6-7dce-440c-a53c-b9cfaf4d0be5" - ], - "label": "0", - "slot_index": 0 - } - ], - "title": "Const Integer", - "properties": { - "value": 0, - "tags": [] - } - }, - { - "id": "b0bfdaf3-47d2-4673-97b3-1da540157884", - "type": "events/sequence", - "pos": [ - -1322.008240638724, - -79.72060385241049 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 204, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "33473eac-737b-4391-9827-85b17af577eb", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "5067de73-ecf8-45db-9876-5be05e92f0ac", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "7dd95856-6065-4ae7-8e6a-3d3741ccfb74" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "fda858ab-4646-4bb4-afb0-dc8c85e75388", - "type": "events/no_change", - "pos": [ - -1517.008240638725, - -105.72060385241055 - ], - "size": [ - 159.6, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 205, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "f62c7d6a-7603-4308-866d-c8e33dca4fb2", - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "eccdbaa9-79a4-4f37-abbd-00d91d65a113" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.NoChangeEvent", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "793b4e31-f837-446c-937d-6d0c685bfa4a", - "type": "events/sequence", - "pos": [ - -1324.008240638724, - -106.72060385241055 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 206, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "252b0f7c-b4e6-4153-b921-2396ebd1824a", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "eccdbaa9-79a4-4f37-abbd-00d91d65a113", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "8639ed3a-184a-438f-b25a-db0aa7f8cde9" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "74914c3d-be2e-4676-b0c9-7aa777807c9c", - "type": "events/no_change", - "pos": [ - -1515.008240638725, - -80.72060385241049 - ], - "size": [ - 159.6, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 208, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "bbd22841-8aa0-4a29-82b0-861a85b73673", - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "5067de73-ecf8-45db-9876-5be05e92f0ac" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.NoChangeEvent", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "db17379a-d8c6-419b-8303-91c930a44d81", - "type": "ui/combo", - "pos": [ - -1215.872718252772, - 17.19947967813936 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 55, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "4c62af9b-88d5-4fa8-a7b0-cdc7cf92ec16" - ] - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Combo", - "properties": { - "tags": [], - "defaultValue": null, - "values": [], - "convertValueToLabelCode": "return value.split('\\\\').pop().split('/').pop();" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": "A", - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "be27330e-65f6-45eb-89ee-ba962be1116e", - "type": "ui/slider", - "pos": [ - -1198.3082406387246, - 35.279396147589516 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 210, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "abb86d75-9cf3-46aa-a012-570e9e3ed829", - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "6066f4e8-4991-4019-904b-497dce9071d4" - ] - }, - { - "name": "changed", - "type": -2, - "links": [ - "5da4b5b8-2f62-4d2e-84fb-8c018d3000e2" - ], - "shape": 1, - "slot_index": 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": { - "tags": [ - "lora" - ], - "defaultValue": 1, - "min": -1, - "max": 2, - "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 - } - }, - "saveUserState": true - }, - { - "id": "53a81df2-3c68-4e5f-855b-fd95d87b50f2", - "type": "ui/slider", - "pos": [ - -1201.3082406387246, - 56.27939614758959 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 212, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "3a68323a-cd0e-4b0e-9531-1fc24dc35061", - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "4843d112-20a7-4027-9399-67bb5d0466b8" - ] - }, - { - "name": "changed", - "type": -2, - "links": [ - "caa1587b-4c36-41d8-a279-0d229d40a398" - ], - "shape": 1, - "slot_index": 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": { - "tags": [ - "lora" - ], - "defaultValue": 1, - "min": -1, - "max": 2, - "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 - } - }, - "saveUserState": true - }, - { - "id": "871dc4f9-229e-49f7-b3bc-5b4f84471237", - "type": "ui/button", - "pos": [ - -1599.1627182527693, - 2.9794796781405886 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 56, - "mode": 2, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "aa924ae7-c81c-49be-83d3-ca61103b526a" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", - "properties": { - "tags": [ - "lora" - ], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "68f472ed-9f1e-40e7-86ba-0ae798a9cd95", - "type": "actions/copy", - "pos": [ - -1479.3082406387246, - -11.720603852410463 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 93, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "*", - "link": "abefd1cc-5048-4283-9342-0f70c0690228" - }, - { - "name": "copy", - "type": -1, - "link": "aa924ae7-c81c-49be-83d3-ca61103b526a", - "shape": 1 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "6c401eb5-96f0-45c2-bcca-624731211941", - "b8b069e2-0d46-42a9-a988-d8b9bebfbfed" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.CopyAction", - "properties": { - "value": 0, - "tags": [] - }, - "saveUserState": true - }, - { - "id": "3f8a61cb-d094-40dc-b358-1ba9fab161d9", - "type": "basic/integer", - "pos": [ - -1545.199718252769, - -22.036520321859925 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 57, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "abefd1cc-5048-4283-9342-0f70c0690228" - ], - "label": "0", - "slot_index": 0 - } - ], - "title": "Const Integer", - "properties": { - "value": 0, - "tags": [] - } - }, - { - "id": "b02a68e5-8fee-45d5-9f55-1e2f939df0cb", - "type": "events/sequence", - "pos": [ - -1325.3082406387243, - 63.2793961475896 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 214, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "6c401eb5-96f0-45c2-bcca-624731211941", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "4efa2aa5-7c97-47ce-8ace-fa077cb32acd", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "3a68323a-cd0e-4b0e-9531-1fc24dc35061" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "0319a35f-bc20-48f7-954c-488ea3263f0f", - "type": "events/no_change", - "pos": [ - -1520.3082406387243, - 37.27939614758952 - ], - "size": [ - 159.6, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 215, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "e6c3a1d2-1bad-4c08-825c-a70af7995149", - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "9c420e4e-db00-4229-9e9d-52fc110665d0" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.NoChangeEvent", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "ef036340-c9d3-43f6-bf0a-38449aabf72c", - "type": "events/sequence", - "pos": [ - -1327.3082406387243, - 36.279396147589516 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 216, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "b8b069e2-0d46-42a9-a988-d8b9bebfbfed", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "9c420e4e-db00-4229-9e9d-52fc110665d0", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "abb86d75-9cf3-46aa-a012-570e9e3ed829" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "664dbc73-4232-4319-ad4a-1c5a9e8860fb", - "type": "events/no_change", - "pos": [ - -1518.3082406387243, - 62.2793961475896 - ], - "size": [ - 159.6, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 218, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "22ffa73e-9c2d-435e-8b5c-bac7fd985e6b", - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "4efa2aa5-7c97-47ce-8ace-fa077cb32acd" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.NoChangeEvent", - "properties": { - "tags": [] - }, - "saveUserState": true - }, - { - "id": "d042ab43-83b7-4bde-96af-e05fa01ba9f1", - "type": "events/branch", - "pos": [ - -1603.0488774218752, - -380.64040806640617 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 183, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "55bdfe70-f28b-4a6b-8a92-2c0e5935d6b4", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "85a9cd98-4b42-417e-a833-0e44382b974c" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "d9cbad7f-c792-4fb1-9153-548a256924ea" - ], - "shape": 1 - }, - { - "name": "false", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "97c151ca-f711-4b43-abb1-a596391d2e1f", - "type": "events/branch", - "pos": [ - -1609.0488774218752, - -354.64040806640617 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 187, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "026e7072-cb55-4676-968e-cfbaddd1b447", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "cd5df31a-9d7e-40ed-974e-4e881b624af6" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "802193a5-8420-4aea-aa06-3282e3f2a2df" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "false", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "23319601-cd23-44ed-95c3-9589a245ab32", - "type": "events/branch", - "pos": [ - -1609.59433196733, - -215.36768079367906 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 197, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "25daddf8-4a2a-4517-9bd4-1e115bd64e79", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "62a33350-3222-476e-b41e-e4de81c673a5", - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "4886f5d4-e169-4af0-8ece-a02326c877cd" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "false", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "5f8eb486-250d-4b80-bc48-ed2b79b00d99", - "type": "events/branch", - "pos": [ - -1615.4125137855112, - -105.27677170276995 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 203, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "142b7c44-4cf5-4cca-92ec-42b82d19dfd7", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "6e99f9b7-f2c6-40ba-8e42-abef472eae42", - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "f62c7d6a-7603-4308-866d-c8e33dca4fb2" - ], - "shape": 1 - }, - { - "name": "false", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "4421a37a-7d4c-4442-ab9e-11c664d1a527", - "type": "events/branch", - "pos": [ - -1610.0488774218752, - -243.64040806640625 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 192, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "63dddbfe-ebec-4346-991e-dd718240b982", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "67a471e3-476f-4cb0-adcc-c8ae67092927", - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "e6d2eede-bbb4-45ee-b7b6-6206e078f5b5" - ], - "shape": 1 - }, - { - "name": "false", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "dd41e1e1-1735-4f0e-8984-037a0bab5292", - "type": "events/branch", - "pos": [ - -1619.0488774218752, - -79.64040806640631 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 207, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "39389ec8-1961-47af-b119-a4041334d3a1", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "d76f53e2-d4fc-4cac-aa32-fb88f306fde4", - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "bbd22841-8aa0-4a29-82b0-861a85b73673" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "false", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "9ddc7369-1605-4851-b101-bbebcdf33928", - "type": "events/branch", - "pos": [ - -1622.0488774218752, - 64.35959193359373 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 217, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "5da4b5b8-2f62-4d2e-84fb-8c018d3000e2", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "6ea938f4-334b-497e-896b-9b0e5daa5c98" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "22ffa73e-9c2d-435e-8b5c-bac7fd985e6b" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "false", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "a9bdf8d6-c781-4df6-857a-b48fad9e17e5", - "type": "events/branch", - "pos": [ - -1625.0488774218752, - 37.35959193359373 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 213, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "caa1587b-4c36-41d8-a279-0d229d40a398", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "f6b2f2d0-d054-4a7a-b7bc-dd7eafde44e5" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "e6c3a1d2-1bad-4c08-825c-a70af7995149" - ], - "shape": 1 - }, - { - "name": "false", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "b5dbaae9-443b-4221-81bf-cc4efe6a4ac7", - "type": "ui/checkbox", - "pos": [ - -1915.0488774218752, - -220.6404080664063 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 58, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "boolean", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "boolean", - "links": [ - "90b7e3d2-0bd5-45d8-b717-6fe45b614caf", - "b7967f7a-9b8c-4e24-a6b2-496eb78397e9", - "85a9cd98-4b42-417e-a833-0e44382b974c", - "cd5df31a-9d7e-40ed-974e-4e881b624af6", - "67a471e3-476f-4cb0-adcc-c8ae67092927", - "62a33350-3222-476e-b41e-e4de81c673a5", - "6e99f9b7-f2c6-40ba-8e42-abef472eae42", - "d76f53e2-d4fc-4cac-aa32-fb88f306fde4", - "f6b2f2d0-d054-4a7a-b7bc-dd7eafde44e5", - "6ea938f4-334b-497e-896b-9b0e5daa5c98" - ], - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1, - "slot_index": 1 - } - ], - "title": "UI.Checkbox", - "properties": { - "tags": [ - "lora" - ], - "defaultValue": false - }, - "widgets_values": [ - "true" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": true, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "e904e413-5e98-4146-8938-8524c7c9bc22", - "type": "ui/text", - "pos": [ - -331.1103000000002, - 114.9386 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 59, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "b826d95a-c763-4f58-967c-300bfa31a7af" - ] - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Text", - "properties": { - "tags": [], - "defaultValue": "", - "multiline": true, - "hidden": false - }, - "widgets_values": [ - "masterpiece, hyper detailed background, 1girl, solo a fluffy corgi girl wearing sunglasses, dark theme, baggy nylon jacket, gyaru, cyberpunk, airy, futuristic city, animal ear fluff, animal ears, smile, v, trees, leaves, nature, forest, overgrowth" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": "masterpiece, hyper detailed background, 1girl, solo a fluffy corgi girl wearing sunglasses, dark theme, baggy nylon jacket, gyaru, cyberpunk, airy, futuristic city, animal ear fluff, animal ears, smile, v, trees, leaves, nature, forest, overgrowth", - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "410a9a96-0188-48d8-9166-18742d44857d", - "type": "ui/combo", - "pos": [ - -202, - -520 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 60, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "string", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "links": [ - "9134eef8-2ecf-4cf8-ac13-c323234fd3a9" - ] - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.Combo", - "properties": { - "tags": [ - "controlNet" - ], - "defaultValue": null, - "values": [], - "convertValueToLabelCode": "return value.split('\\\\').pop().split('/').pop();" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": "A", - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "cc371bd0-9fbd-4655-ae2c-bf0777de66c8", - "type": "ui/button", - "pos": [ - 222.21750788554073, - -334.659448390596 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 61, - "mode": 2, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "004971a3-84bc-471f-8132-7f6201832350" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", - "properties": { - "tags": [ - "controlNet" - ], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "d2fc48d4-a7a9-44c8-9be8-69c7722aa1e7", - "type": "basic/integer", - "pos": [ - 276.18050788554115, - -359.67544839059656 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 62, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "3ec7bbac-1c6c-44db-aa86-04d294bbe27e" - ], - "label": "0", - "slot_index": 0 - } - ], - "title": "Const Integer", - "properties": { - "value": 0, - "tags": [] - } - }, - { - "id": "3a262171-2303-4219-8c74-50b07d3a1a4b", - "type": "actions/copy", - "pos": [ - 342, - -349 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 94, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "*", - "link": "3ec7bbac-1c6c-44db-aa86-04d294bbe27e" - }, - { - "name": "copy", - "type": -1, - "link": "004971a3-84bc-471f-8132-7f6201832350", - "shape": 1 - } - ], - "outputs": [ - { - "name": "out", - "type": -2, - "links": [ - "dc4c339e-9c9a-40cf-a1fb-182e4327655f" - ], - "shape": 1, - "slot_index": 0 - } - ], - "title": "Comfy.CopyAction", - "properties": { - "value": 0, - "tags": [] - }, - "saveUserState": true - }, - { - "id": "5d75bf78-6052-4530-b6d6-93800d62503f", - "type": "actions/set_node_mode", - "pos": [ - -49, - -448 - ], - "size": [ - 210, - 102 + 200, + 70 ], "flags": {}, - "order": 107, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": "082d00ef-4874-4dc1-8d11-cc65d195bb15", - "slot_index": 0 - }, - { - "name": "set", - "type": -1, - "link": "872f936a-68b4-4861-b1f9-8d690ce4105e", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAction", - "properties": { - "targetTags": "useInternalVAE", - "enable": false, - "tags": [] - }, - "saveUserState": true - }, - { - "id": "deb48f01-b06d-46d3-8eed-8bbc281d29f0", - "type": "ui/slider", - "pos": [ - 512, - -352 - ], - "size": [ - 210, - 158 - ], - "flags": { - "collapsed": true - }, - "order": 108, - "mode": 2, - "inputs": [ - { - "name": "value", - "type": "number", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "dc4c339e-9c9a-40cf-a1fb-182e4327655f", - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "cd498f3d-ca33-4c4c-b164-4232088c531b", - "7804c62d-de12-4888-b35b-81a392ddaf22" - ], - "slot_index": 0 - }, - { - "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": { - "tags": [ - "controlNet" - ], - "defaultValue": 1, - "min": 0, - "max": 10, - "step": 0.01, - "precision": 0 - }, - "widgets_values": [ - "1.050" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": 1.05, - "shownOutputProperties": { - "min": { - "type": "number", - "index": 2 - }, - "max": { - "type": "number", - "index": 3 - }, - "step": { - "type": "number", - "index": 4 - }, - "precision": { - "type": "number", - "index": 5 - } - }, - "saveUserState": true - }, - { - "id": "4443d08f-7013-4c33-b76d-f324b96874c4", - "type": "basic/string", - "pos": [ - 182, - 1180 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 63, + "order": 16, "mode": 0, "inputs": [], "outputs": [ { - "name": "string", - "type": "string", + "name": "MODEL", + "type": "MODEL", "links": [ - "79b2eb3a-005d-4886-8c18-eb76d10e0913" + "857760be-9202-4c7f-84a2-465ee7e0ee21" ], - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "", - "tags": [] - } - }, - { - "id": "fac977c9-f9e2-4da8-90af-e0a7a14450ac", - "type": "string/compare", - "pos": [ - 240, - 1200 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 165, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "string", - "link": "5b600061-367a-4ab6-87e8-c3d564173e34" + "properties": {} }, { - "name": "B", - "type": "string", - "link": "79b2eb3a-005d-4886-8c18-eb76d10e0913" - } - ], - "outputs": [ - { - "name": "==", - "type": "boolean", - "links": [ - "5f9eaee2-612c-4068-ae5b-db9c884c0d9b" - ], - "slot_index": 0 - } - ], - "title": "Compare", - "properties": { - "tags": [] - } - }, - { - "id": "c0fbe50d-f7c8-40f4-a2bb-4b52025d776e", - "type": "math/operation", - "pos": [ - -330, - 1186 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 151, - "mode": 2, - "inputs": [ - { - "name": "A", - "type": "number,array,object", - "link": "492b40b0-7c7a-4ac3-aa4e-0eb40addf89c" - }, - { - "name": "B", - "type": "number", - "link": "7ce16e3a-17aa-46b1-8f80-4071ca1b0554" - } - ], - "outputs": [ - { - "name": "=", - "type": "number", - "links": [ - "02f43c62-bc3c-4f2f-b8cc-15ad3400f20e" - ], - "slot_index": 0 - } - ], - "title": "Operation", - "properties": { - "A": 1.7, - "B": 1024, - "OP": "*", - "tags": [ - "i2i", - "i2iScaleSize" - ] - } - }, - { - "id": "1cd7a845-a790-47df-b87e-3dbc857513e9", - "type": "math/operation", - "pos": [ - -344, - 1115 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 152, - "mode": 2, - "inputs": [ - { - "name": "A", - "type": "number,array,object", - "link": "08c6c6dc-c681-4f6e-be1a-53d22a5bb93e" - }, - { - "name": "B", - "type": "number", - "link": "63704a2f-d07b-4307-a7c1-a1886c5fe9ec" - } - ], - "outputs": [ - { - "name": "=", - "type": "number", - "links": [ - "87687adc-c5db-42ef-a970-aa9806efa875" - ], - "slot_index": 0 - } - ], - "title": "Operation", - "properties": { - "A": 1.7, - "B": 1024, - "OP": "*", - "tags": [ - "i2i", - "i2iScaleSize" - ] - } - }, - { - "id": "85bf4605-fc2b-4d17-9c08-edff76734990", - "type": "ui/image_upload", - "pos": [ - 185, - -527 - ], - "size": [ - 210, - 138 - ], - "flags": {}, - "order": 64, - "mode": 2, - "inputs": [ - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "filename", - "type": "string", - "links": [ - "f00279dc-33dc-4b96-9957-8fecfa237750" - ], - "slot_index": 0 - }, - { - "name": "width", - "type": "number", - "links": null - }, - { - "name": "height", - "type": "number", - "links": null - }, - { - "name": "image_count", - "type": "number", - "links": [ - "7c8b4a1a-0972-477e-be91-dcfd537f4930" - ], - "slot_index": 3 - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.ImageUpload", - "properties": { - "defaultValue": null, - "tags": [ - "controlNet" - ], - "fileCount": "single" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": [], - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "c6f25547-8c95-4882-9cf1-75e763b0829d", - "type": "basic/integer", - "pos": [ - 531.5860255447035, - 1030.5762584522918 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 65, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "value", - "type": "number", - "links": [ - "edccd601-ab59-445b-aad8-2f9e40717856" - ], - "label": "0", - "slot_index": 0 - } - ], - "title": "Const Integer", - "properties": { - "value": 0, - "tags": [] - } - }, - { - "id": "8018a8b1-0661-4c1d-82c7-c1624723b5d7", - "type": "logic/NOT", - "pos": [ - 830.5229151014274, - 1007.3749060856503 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 114, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "boolean", - "link": "70d2df87-3759-4556-b919-731d588ef174" - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "bd30e78c-9073-4a5b-b70f-247530cdb565" - ], - "slot_index": 0 - } - ], - "title": "NOT", - "properties": { - "tags": [] - } - }, - { - "id": "bd4fed48-7be1-4f43-b9c4-073ef741b764", - "type": "events/branch", - "pos": [ - 533, - 1099 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 163, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "1985979f-a7e5-4599-be55-33855ed2bfa9", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "0faa4f98-5c8a-4d1d-aa98-b3b85359152b" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "3792e6ce-b609-4358-bd97-a697b8708ce6" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "false", - "type": -2, - "links": [ - "86e611bd-9709-4822-a3bf-7dbcdfed2d11" - ], - "shape": 1, - "slot_index": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "71b1c184-23c0-4455-a6e3-79cf4f2e8cad", - "type": "actions/notify", - "pos": [ - 1524.5131480090158, - 884.0172802404205 - ], - "size": [ - 151.2, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 168, - "mode": 0, - "inputs": [ - { - "name": "message", - "type": "string", - "link": "e8a6d5d0-1b59-49f3-8ead-8a86efb0799c" - }, - { - "name": "trigger", - "type": -1, - "link": "cae06ca9-f2d2-42b9-a3b8-87a0bfaf19db", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.NotifyAction", - "properties": { - "tags": [], - "message": "Nya.", - "type": "info" - }, - "saveUserState": true - }, - { - "id": "f0fccc04-29e8-4c09-939d-c250d15e6a71", - "type": "actions/execute_subgraph", - "pos": [ - 1500, - 922 - ], - "size": [ - 226.79999999999998, - 78 - ], - "flags": {}, - "order": 130, - "mode": 0, - "inputs": [ - { - "name": "execute", - "type": -1, - "link": "9a84f74c-a63d-4357-9bc8-9597f7938d6f", - "shape": 1 - }, - { - "name": "tag", - "type": "string", - "link": null - } - ], - "outputs": [], - "title": "Comfy.ExecuteSubgraphAction", - "properties": { - "tags": [], - "targetTag": "txt2img", - "tag": "txt2img" - }, - "saveUserState": true - }, - { - "id": "b41624ab-d64a-4a11-be3d-ef0fcda7db08", - "type": "basic/CompareValues", - "pos": [ - 611.5229151014275, - 1021.3749060856503 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 96, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": 0, - "link": "edccd601-ab59-445b-aad8-2f9e40717856" - }, - { - "name": "B", - "type": 0, - "link": "7c8b4a1a-0972-477e-be91-dcfd537f4930" - } - ], - "outputs": [ - { - "name": "true", - "type": "boolean", - "links": [ - "da5a6bf3-2c5d-4b97-bbaa-88dcd7916e7d" - ], - "slot_index": 0 - }, - { - "name": "false", - "type": "boolean", - "links": null - } - ], - "title": "GenericCompare", - "properties": { - "A": 0, - "B": null, - "OP": "==", - "enabled": true, - "tags": [] - } - }, - { - "id": "cb106480-6e33-43b0-9dc8-f4c7678e985b", - "type": "actions/notify", - "pos": [ - 1243, - 1158 - ], - "size": [ - 151.2, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 227, - "mode": 0, - "inputs": [ - { - "name": "message", - "type": "string", - "link": "1b6ec849-fa46-407b-ab8d-25a5d6a0eee7" - }, - { - "name": "trigger", - "type": -1, - "link": "7ca43588-82fe-4196-a9b2-e54e4edbcfc3", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.NotifyAction", - "properties": { - "tags": [], - "message": "Nya.", - "type": "error" - }, - "saveUserState": true - }, - { - "id": "eef6c92e-ae99-4562-ac2c-d93c1774ad09", - "type": "CLIPTextEncode", - "pos": [ - -208, - 179 - ], - "size": [ - 216.60000000000002, - 46 - ], - "flags": {}, - "order": 182, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "string", - "link": "61456917-a538-47c4-a18a-a43ad6d03a5b", - "config": {}, - "serialize": true - }, - { - "name": "clip", + "name": "CLIP", "type": "CLIP", - "link": "66a02c79-e211-44a6-a405-7f59611540d5", - "color_off": "orange", - "color_on": "orange", - "config": {} - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", "links": [ - "33301452-deaf-4fe7-9fc2-b59a3eeb3096", - "41976ca5-7371-4058-b290-a4cf299b08df" + "39f6a12b-1267-45b5-adce-9160d1378c6d" ], - "color_off": "orange", - "color_on": "orange", - "slot_index": 0 + "properties": {}, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + "f26f80aa-abf3-403f-b83e-f2f92e99d0d8", + "49b7145b-029e-471d-860d-cd17ea3fc5d1" + ], + "properties": {}, + "slot_index": 2 } ], - "title": "CLIPTextEncode", + "title": "Model Loader", "properties": { + "enabled": true, "tags": [ - "txt2img", + "gen", "hr" ] }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "c736e06d-7153-432f-8451-3842fa78ba29", - "type": "ui/checkbox", - "pos": [ - 148.20931895085073, - -741.6210814162781 - ], - "size": [ - 210, - 78 - ], - "flags": {}, - "order": 66, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "boolean", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "boolean", - "links": [ - "4c8d9d3f-8feb-4d29-80f3-e0cdaec616de", - "0a560476-ef29-45e1-ac1d-573c886f1321" + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "56becd49-01fc-4cdd-9726-515db368471c", + "type": "ui/combo", + "pos": [ + 0, + 24 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "05616b4c-366b-43ee-b328-06a4adf48a51" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Combo", + "properties": { + "tags": [], + "defaultValue": null, + "values": [], + "convertValueToLabelCode": "" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": "A", + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "ed3226fd-e572-4a07-8923-a610cc3dddae", + "type": "graph/output", + "pos": [ + 739.19, + -31 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "MODEL", + "link": "49f2f7fa-4c17-475d-a642-556dd939acc0", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "MODEL", + "type": "MODEL", + "subgraphID": "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + "tags": [] + } + }, + { + "id": "19f3dedf-e18d-4969-9810-f37e7f6a3e2e", + "type": "graph/output", + "pos": [ + 739.19, + 51 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "CLIP", + "link": "16db93f3-d0f4-4124-91aa-9d4c53126901", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "CLIP", + "type": "CLIP", + "subgraphID": "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + "tags": [] + } + }, + { + "id": "3a7fb51e-6229-4db0-80f6-ebfc8bb880fa", + "type": "graph/output", + "pos": [ + 740, + 138 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "VAE", + "link": "3803fc4e-8e09-421c-a421-a080895a87b4", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "VAE", + "type": "VAE", + "subgraphID": "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + "tags": [] + } + }, + { + "id": "4c3ba829-f067-4c75-b468-d8b1a0ad3f11", + "type": "ui/combo", + "pos": [ + 4, + -47 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "ddd49443-27df-4d25-8d80-52ad9e650021" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Combo", + "properties": { + "tags": [ + "useInternalVae" + ], + "defaultValue": null, + "values": [], + "convertValueToLabelCode": "" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": "A", + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "b9759212-cb72-4c03-b14b-5de6c0670a85", + "type": "ui/checkbox", + "pos": [ + -301, + 122 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": false + }, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "boolean", + "links": [ + "3a2bc48e-7033-4df8-8f21-df0cc8bab379" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "45917191-be6a-437f-a4fd-ca62e3e70181" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "UI.Checkbox", + "properties": { + "tags": [], + "defaultValue": false + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "e6b7c473-7b9e-40fc-a0a0-b0430a2a1495", + "type": "actions/set_node_mode", + "pos": [ + 58, + 122 + ], + "size": [ + 210, + 102 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "enabled", + "type": "boolean", + "link": "573590e3-de2b-419b-b600-3c7f29f8c537", + "properties": {}, + "slot_index": 0 + }, + { + "name": "set", + "type": -1, + "link": "45917191-be6a-437f-a4fd-ca62e3e70181", + "properties": {}, + "shape": 1 + } + ], + "outputs": [], + "title": "Comfy.SetNodeModeAction", + "properties": { + "targetTags": "useInternalVae", + "enable": false, + "tags": [] + }, + "saveUserState": true + }, + { + "id": "365f016d-d8fe-4191-823e-bb7f53ec12e0", + "type": "logic/NOT", + "pos": [ + -52, + 144 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "boolean", + "link": "3a2bc48e-7033-4df8-8f21-df0cc8bab379", + "properties": {} + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "573590e3-de2b-419b-b600-3c7f29f8c537" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "NOT", + "properties": { + "tags": [] + } + }, + { + "id": "99fb7916-2f46-4f4d-9444-879a0b844175", + "type": "utils/pick_first", + "pos": [ + 322, + -6 + ], + "size": [ + 210, + 122 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "4b6f85b0-1596-428b-84bc-e2d315bac9dc", + "properties": {}, + "slot_index": 0 + }, + { + "name": "B", + "type": "*", + "link": "8b1a3fa6-06d1-4073-95e8-1f74934947ff", + "properties": {} + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + "3803fc4e-8e09-421c-a421-a080895a87b4" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [ + "gen", + "hr" + ], + "mode": "dataNonNull" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "4541b0ee-cef0-49a8-9207-3f930463f4e0", + "type": "CheckpointLoaderSimple", + "pos": [ + 130, + 0 + ], + "size": [ + 140, + 66 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "ckpt_name", + "type": "string", + "link": "05616b4c-366b-43ee-b328-06a4adf48a51", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + "49f2f7fa-4c17-475d-a642-556dd939acc0" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + "16db93f3-d0f4-4124-91aa-9d4c53126901" + ], + "properties": {}, + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + "8b1a3fa6-06d1-4073-95e8-1f74934947ff" + ], + "properties": {}, + "shape": 3, + "slot_index": 2 + } + ], + "title": "Load Checkpoint", + "properties": { + "tags": [ + "gen", + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "366f81c8-9097-4257-90b8-c2422d222865", + "type": "VAELoader", + "pos": [ + 134, + -72 + ], + "size": [ + 140, + 26 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "vae_name", + "type": "string", + "link": "ddd49443-27df-4d25-8d80-52ad9e650021", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + } + ], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + "4b6f85b0-1596-428b-84bc-e2d315bac9dc" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "Load VAE", + "properties": { + "tags": [ + "useInternalVae", + "gen", + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + } + ], + "links": [ + [ + "49f2f7fa-4c17-475d-a642-556dd939acc0", + "4541b0ee-cef0-49a8-9207-3f930463f4e0", + 0, + "ed3226fd-e572-4a07-8923-a610cc3dddae", + 0, + "MODEL" ], - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": [ - "6df9b158-647a-4aca-a9bc-65bd2b5f090c" + [ + "05616b4c-366b-43ee-b328-06a4adf48a51", + "56becd49-01fc-4cdd-9726-515db368471c", + 0, + "4541b0ee-cef0-49a8-9207-3f930463f4e0", + 0, + "string" ], - "shape": 1, - "slot_index": 1 - } - ], - "title": "UI.Checkbox", - "properties": { - "tags": [], - "defaultValue": false - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "8d1047c3-696f-4306-8e1b-5348827ee3e0", - "type": "actions/set_node_mode", - "pos": [ - 415, - -717 - ], - "size": [ - 210, - 102 - ], - "flags": {}, - "order": 97, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": "4c8d9d3f-8feb-4d29-80f3-e0cdaec616de" - }, - { - "name": "set", - "type": -1, - "link": "6df9b158-647a-4aca-a9bc-65bd2b5f090c", - "shape": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAction", - "properties": { - "targetTags": "controlNet", - "enable": true, - "tags": [] - }, - "saveUserState": true - }, - { - "id": "da43ec81-0638-49cb-8933-759a8b0d9519", - "type": "DiffControlNetLoader", - "pos": [ - -85, - -566 - ], - "size": [ - 236.8, - 46 - ], - "flags": {}, - "order": 221, - "mode": 2, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": "ce8a1cbd-b0fd-46e4-85ed-022a91b1bdf6", - "slot_index": 0, - "config": {} - }, - { - "name": "control_net_name", - "type": "string", - "link": "9134eef8-2ecf-4cf8-ac13-c323234fd3a9", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - } - ], - "outputs": [ - { - "name": "CONTROL_NET", - "type": "CONTROL_NET", - "links": [ - "8a68c72a-0111-4df1-8118-340415ff4b61", - "9e1036cb-f41d-46a6-af06-aeb3b07d5062" + [ + "ddd49443-27df-4d25-8d80-52ad9e650021", + "4c3ba829-f067-4c75-b468-d8b1a0ad3f11", + 0, + "366f81c8-9097-4257-90b8-c2422d222865", + 0, + "string" ], - "slot_index": 0 - } - ], - "title": "DiffControlNetLoader", - "properties": { - "tags": [ - "txt2img", - "hr", - "controlNet" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true + [ + "4b6f85b0-1596-428b-84bc-e2d315bac9dc", + "366f81c8-9097-4257-90b8-c2422d222865", + 0, + "99fb7916-2f46-4f4d-9444-879a0b844175", + 0, + "*" + ], + [ + "8b1a3fa6-06d1-4073-95e8-1f74934947ff", + "4541b0ee-cef0-49a8-9207-3f930463f4e0", + 2, + "99fb7916-2f46-4f4d-9444-879a0b844175", + 1, + "*" + ], + [ + "16db93f3-d0f4-4124-91aa-9d4c53126901", + "4541b0ee-cef0-49a8-9207-3f930463f4e0", + 1, + "19f3dedf-e18d-4969-9810-f37e7f6a3e2e", + 0, + "CLIP" + ], + [ + "3803fc4e-8e09-421c-a421-a080895a87b4", + "99fb7916-2f46-4f4d-9444-879a0b844175", + 0, + "3a7fb51e-6229-4db0-80f6-ebfc8bb880fa", + 0, + "VAE" + ], + [ + "45917191-be6a-437f-a4fd-ca62e3e70181", + "b9759212-cb72-4c03-b14b-5de6c0670a85", + 1, + "e6b7c473-7b9e-40fc-a0a0-b0430a2a1495", + 1, + -1 + ], + [ + "3a2bc48e-7033-4df8-8f21-df0cc8bab379", + "b9759212-cb72-4c03-b14b-5de6c0670a85", + 0, + "365f016d-d8fe-4191-823e-bb7f53ec12e0", + 0, + "boolean" + ], + [ + "573590e3-de2b-419b-b600-3c7f29f8c537", + "365f016d-d8fe-4191-823e-bb7f53ec12e0", + 0, + "e6b7c473-7b9e-40fc-a0a0-b0430a2a1495", + 0, + "boolean" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } }, { - "id": "a230045e-03b0-45ee-9b4c-b272c9f131ba", - "type": "LoadImage", + "id": "f8051ab6-d9f7-44fe-898a-ad26cfde916e", + "type": "graph/subgraph", "pos": [ - 460, - -512 + 906, + 468 ], "size": [ - 140, - 46 + 200, + 30 ], "flags": { "collapsed": false }, - "order": 95, - "mode": 2, + "order": 18, + "mode": 0, "inputs": [ { - "name": "image", + "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": 964758853482048, + "action": "randomize", + "min": 0, + "max": 18446744073709552000, + "step": 4, + "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": [ + "0.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "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": "fa4eea5e-871f-4595-9fd3-7482955acbd4", + "type": "graph/output", + "pos": [ + 196, + -8 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "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": [] + } + }, + { + "id": "44f7ee29-c16b-4f8b-a4b8-f0a147a4f36a", + "type": "graph/input", + "pos": [ + -74, + -86 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "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": "70361963-27f5-471d-b735-dbe2351a5ebd", + "type": "graph/subgraph", + "pos": [ + 1273, + 300 + ], + "size": [ + 200, + 190 + ], + "flags": {}, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "dd461061-2eaf-4cb3-821c-547955223eb3", + "properties": {} + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": "e1a75b66-2558-41f5-b604-3d152d28d154", + "properties": {} + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": "2da0832c-5de3-4989-bf49-b5c3e7a0196d", + "properties": {} + }, + { + "name": "vae", + "type": "VAE", + "link": "f26f80aa-abf3-403f-b83e-f2f92e99d0d8", + "properties": {}, + "slot_index": 4 + }, + { + "name": "seed", + "type": "number", + "link": "c84ab5d2-3d2a-4304-b2a0-5fd29403a809", + "properties": {} + }, + { + "name": "batch_size", + "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": "f00279dc-33dc-4b96-9957-8fecfa237750", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true + "link": "bffaf708-3e9f-47c0-aaff-be10bad3cdcb", + "properties": {} + }, + { + "name": "scheduler", + "type": "string", + "link": "46b140b9-fe33-489c-803a-1b7f48ab776b", + "properties": {} } ], "outputs": [ @@ -11201,5683 +11021,11659 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - "bcec3a3d-16ac-4b9f-8225-feb6bc31c8bb", - "7d5f192e-540d-4ace-b53c-a09b6ee39ce1" + "250486b4-7eae-4049-aa6f-1ff826687c9c" ], - "slot_index": 0 - }, - { - "name": "MASK", - "type": "MASK", - "links": null + "properties": {} } ], - "title": "LoadImage", + "title": "txt2img/img2img", "properties": { - "tags": [ - "txt2img", - "hr", - "controlNet" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "4c95de29-ef11-40e6-bdb7-1b14f6e82029", - "type": "basic/string", - "pos": [ - 1217, - 1124 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 67, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "1b6ec849-fa46-407b-ab8d-25a5d6a0eee7" - ], - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "Upload an image to be used with ControlNet, or disable it first.", - "tags": [] - } - }, - { - "id": "65f9ea9d-98c0-4572-86c6-493a630c73c1", - "type": "logic/AND", - "pos": [ - 746, - 1005 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 109, - "mode": 0, - "inputs": [ - { - "name": "a", - "type": "boolean", - "link": "6ed1e727-6f39-4a5d-8912-9af5823f4b88", - "slot_index": 0 - }, - { - "name": "b", - "type": "boolean", - "link": "da5a6bf3-2c5d-4b97-bbaa-88dcd7916e7d", - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "70d2df87-3759-4556-b919-731d588ef174" - ], - "slot_index": 0 - } - ], - "title": "AND", - "properties": { - "tags": [] - } - }, - { - "id": "1bcad626-7070-451c-8560-e47147dbde4c", - "type": "basic/CompareValues", - "pos": [ - 613, - 984 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 98, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": 0, - "link": "0828acf5-aaa6-4051-a953-a4aac7ff5937", - "slot_index": 0 - }, - { - "name": "B", - "type": 0, - "link": "0a560476-ef29-45e1-ac1d-573c886f1321" - } - ], - "outputs": [ - { - "name": "true", - "type": "boolean", - "links": [ - "6ed1e727-6f39-4a5d-8912-9af5823f4b88" - ], - "slot_index": 0 - }, - { - "name": "false", - "type": "boolean", - "links": null - } - ], - "title": "GenericCompare", - "properties": { - "A": true, - "B": false, - "OP": "==", "enabled": true, - "tags": [] - } - }, - { - "id": "e133e0b3-5b6e-4627-95fa-1826c9dba3c6", - "type": "events/branch", - "pos": [ - 926, - 960 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 226, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "3792e6ce-b609-4358-bd97-a697b8708ce6", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "bd30e78c-9073-4a5b-b70f-247530cdb565" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "cae06ca9-f2d2-42b9-a3b8-87a0bfaf19db", - "9a84f74c-a63d-4357-9bc8-9597f7938d6f" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "false", - "type": -2, - "links": [ - "7ca43588-82fe-4196-a9b2-e54e4edbcfc3" - ], - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "86c57fb8-6d23-4d99-b81f-22ffb1af5132", - "type": "basic/boolean", - "pos": [ - 528, - 983 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 68, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "bool", - "type": "boolean", - "links": [ - "0828acf5-aaa6-4051-a953-a4aac7ff5937" - ], - "slot_index": 0 - } - ], - "title": "Const Boolean", - "properties": { - "value": true, - "tags": [] - } - }, - { - "id": "a1573c65-f532-4d2d-887c-23da55d529f3", - "type": "events/branch", - "pos": [ - 615, - 827 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 111, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "1d8acfbf-3039-4e56-85a4-30217d4f5eb3", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "a2c85610-e55e-4280-a168-0efd297d6e44" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": null, - "shape": 1, - "slot_index": 0 - }, - { - "name": "false", - "type": -2, - "links": [ - "d765ef48-6db1-4714-8c86-5c22537af970" - ], - "shape": 1, - "slot_index": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "3ef4a249-ae9e-4698-a24a-a21d7c44abd8", - "type": "ui/gallery", - "pos": [ - 2076, - 65 - ], - "size": [ - 210, - 166 - ], - "flags": {}, - "order": 121, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "OUTPUT", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "f0eb469b-9d4c-4c9c-b035-08b8a9ee817b", - "shape": 1 - }, - { - "name": "clear", - "type": -1, - "link": "12958c44-ecc8-4d1e-91bb-d4272c6e6854", - "shape": 1 - } - ], - "outputs": [ - { - "name": "selected_index", - "type": "number", - "links": null - }, - { - "name": "width", - "type": "number", - "links": null - }, - { - "name": "height", - "type": "number", - "links": null - }, - { - "name": "filename", - "type": "string", - "links": [ - "8e3a9d8a-ed23-4141-9640-b1f252ed2ac4", - "2867f069-1fb1-4c01-814f-e771496e44d8" - ] - } - ], - "title": "UI.Gallery", - "properties": { - "tags": [], - "defaultValue": null, - "index": 4, - "updateMode": "append", - "values": [] - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": [], - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "e12144af-aaa9-449f-97a0-7bef3c2e7040", - "type": "events/branch", - "pos": [ - 1835, - 348 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 110, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "cecf8da2-150b-464d-b0bc-b3e7d25d6cdd", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "8ad4677f-0bf6-4ef5-b81b-396b32133041" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": null, - "shape": 1 - }, - { - "name": "false", - "type": -2, - "links": [ - "9e2062f6-d177-45a8-b2ab-53b2361b8c2c" - ], - "shape": 1, - "slot_index": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "c3b4a5fd-ab70-476d-8743-4b52e8c7f9af", - "type": "events/sequence", - "pos": [ - 716, - 825 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 116, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "d765ef48-6db1-4714-8c86-5c22537af970", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "8e3c42a9-fbf3-43bd-8e9e-e63a3e9426be", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "6b1884fc-d6bb-4b4e-a1b1-654c4f3ee9ec" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": [ - "882fffe9-17f5-483c-ae91-1e6bd57fedc2" - ], - "shape": 1, - "slot_index": 1 - }, - { - "name": "", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "3b3f87be-de96-4f80-a182-da28c9cdf0a4", - "type": "ui/button", - "pos": [ - 705, - 874 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 69, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "8e3c42a9-fbf3-43bd-8e9e-e63a3e9426be", - "25883048-4570-4f5b-b695-2744c0c14076" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", - "properties": { - "tags": [], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "24f68519-ca21-45cf-bed6-14d3ff01b4c8", - "type": "events/sequence", - "pos": [ - 1968, - 366 - ], - "size": [ - 140, - 66 - ], - "flags": { - "collapsed": true - }, - "order": 115, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "9e2062f6-d177-45a8-b2ab-53b2361b8c2c", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "25883048-4570-4f5b-b695-2744c0c14076", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "12958c44-ecc8-4d1e-91bb-d4272c6e6854" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] - } - }, - { - "id": "05a3bc9f-65dd-4045-bf0f-47f94539b40a", - "type": "ControlNetApply", - "pos": [ - 677, - -594 - ], - "size": [ - 211.6, - 86 - ], - "flags": {}, - "order": 223, - "mode": 2, - "inputs": [ - { - "name": "conditioning", - "type": "CONDITIONING", - "link": "bd4482e3-0a43-476f-9587-589439263c9d", - "config": {} - }, - { - "name": "control_net", - "type": "CONTROL_NET", - "link": "8a68c72a-0111-4df1-8118-340415ff4b61", - "config": {} - }, - { - "name": "image", - "type": "IMAGE", - "link": "bcec3a3d-16ac-4b9f-8225-feb6bc31c8bb", - "config": {} - }, - { - "name": "strength", - "type": "number", - "link": "cd498f3d-ca33-4c4c-b164-4232088c531b", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - "30a01a1c-8991-4f60-a58a-2dc3d14c31e5" - ], - "slot_index": 0 - } - ], - "title": "ControlNetApply", - "properties": { "tags": [ - "txt2img", - "hr", - "controlNet" + "gen" ] }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "08b689a2-42c6-4a87-9043-4d4da623eed8", - "type": "ControlNetApply", - "pos": [ - 675, - -468 - ], - "size": [ - 211.6, - 86 - ], - "flags": {}, - "order": 224, - "mode": 2, - "inputs": [ - { - "name": "conditioning", - "type": "CONDITIONING", - "link": "33301452-deaf-4fe7-9fc2-b59a3eeb3096", - "config": {} - }, - { - "name": "control_net", - "type": "CONTROL_NET", - "link": "9e1036cb-f41d-46a6-af06-aeb3b07d5062", - "config": {} - }, - { - "name": "image", - "type": "IMAGE", - "link": "7d5f192e-540d-4ace-b53c-a09b6ee39ce1", - "config": {} - }, - { - "name": "strength", - "type": "number", - "link": "7804c62d-de12-4888-b35b-81a392ddaf22", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - "9d5e3ba5-255d-4f7d-9b8e-6c33bffaa7d5" - ], - "slot_index": 0 - } - ], - "title": "ControlNetApply", - "properties": { - "tags": [ - "txt2img", - "hr", - "controlNet" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "6855c812-87cd-4d50-820b-490345216bd7", - "type": "utils/pick_first", - "pos": [ - 951, - -438 - ], - "size": [ - 210, - 122 - ], - "flags": { - "collapsed": false - }, - "order": 229, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "9d5e3ba5-255d-4f7d-9b8e-6c33bffaa7d5" - }, - { - "name": "B", - "type": "*", - "link": "41976ca5-7371-4058-b290-a4cf299b08df" - }, - { - "name": "C", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - "f9ed6e64-f513-426c-9964-63a5d3e72b3d", - "0c21b916-5e32-4c68-ba0d-ff9b3faf92e9" - ], - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [ - "txt2img", - "hr" - ], - "mode": "dataNonNull" - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "cd9dcb1c-21bf-48a8-9de7-a607444d2e7c", - "type": "utils/pick_first", - "pos": [ - 943, - -599 - ], - "size": [ - 210, - 122 - ], - "flags": { - "collapsed": false - }, - "order": 228, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "30a01a1c-8991-4f60-a58a-2dc3d14c31e5" - }, - { - "name": "B", - "type": "*", - "link": "2e96ceba-0e7a-49df-b634-37a50ef7ab86" - }, - { - "name": "C", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "", - "type": "CONDITIONING", - "links": [ - "cb02958e-42e8-41d6-8032-2a4bc15361e6", - "74fdd396-3228-4457-840d-43255bc1478a" - ], - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [ - "txt2img", - "hr" - ], - "mode": "dataNonNull" - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "2664dea6-5adb-4485-b14b-ce85c8f47cf6", - "type": "events/branch", - "pos": [ - 1307, - 480 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 161, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "c1ba8ca9-6ece-43dc-bcc0-10a3406030b4", - "shape": 1 - }, - { - "name": "cond", - "type": "boolean", - "link": "a815a363-a2aa-48ea-95a3-29c2fe9f5943" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "216dd5ea-f513-4dfa-8517-67eed0fca91a", - "e69578b0-2527-4971-a465-e418499b2037" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "false", - "type": -2, - "links": [ - "3befef74-f599-47b0-9fe0-7cdb4eba6cbd" - ], - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "24e3c5fb-f90c-4406-a9f2-da28aa4b2f22", - "type": "basic/is_null", - "pos": [ - 1133.2750000000008, - 734.647999999999 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 230, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "*", - "link": "6343bbab-9c22-4dab-8995-1fd5c0f00e65", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "is_null", - "type": "boolean", - "links": [ - "431f8600-71de-431c-8b5f-249be41e4904" - ], - "slot_index": 0 - } - ], - "title": "== Null", - "properties": { - "strictEquality": true, - "tags": [] - } - }, - { - "id": "465c3780-5e6e-4a56-a850-82221ed93b3b", - "type": "actions/notify", - "pos": [ - -304.17430899999977, - 1627.603708 - ], - "size": [ - 151.2, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 233, - "mode": 0, - "inputs": [ - { - "name": "message", - "type": "string", - "link": "ac4c48b3-e4f7-4b6b-8248-fc9431134eaa" - }, - { - "name": "trigger", - "type": -1, - "link": "41cf3439-0144-4580-a5f9-a03170d8951a", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.NotifyAction", - "properties": { - "tags": [], - "message": "Nya.", - "type": "error" - }, - "saveUserState": true - }, - { - "id": "230b5c3e-1df1-402a-a72d-fab3e992fa17", - "type": "image/cache", - "pos": [ - 868, - 444 - ], - "size": [ - 210, - 166 - ], - "flags": {}, - "order": 126, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "OUTPUT", - "link": null, - "slot_index": 0 - }, - { - "name": "index", - "type": "number", - "link": "80515880-2466-4721-ba9c-c231ee7c779e" - }, - { - "name": "store", - "type": -1, - "link": "1c991a6c-ee1e-40b4-8c5c-520d92159551", - "shape": 1, - "slot_index": 2 - }, - { - "name": "clear", - "type": -1, - "link": "882fffe9-17f5-483c-ae91-1e6bd57fedc2", - "shape": 1 - } - ], - "outputs": [ - { - "name": "filename", - "type": "string", - "links": [ - "57778f45-23ce-4970-b182-44981d877343", - "ef629f14-4cf2-4af4-b721-053498759116" - ], - "slot_index": 0 - }, - { - "name": "state", - "type": "string", - "links": [ - "08fad1be-6a2e-43a8-bbef-2bb1758fbe42" - ], - "slot_index": 1 - } - ], - "title": "Comfy.ImageCache", - "properties": { - "tags": [], - "images": null, - "index": 0, - "filenames": {}, - "genNumber": 0, - "updateMode": "append" - }, - "saveUserState": false, - "widgets_values": [] - }, - { - "id": "22f6b2b1-994c-4ada-9e67-2ee285b8c267", - "type": "ui/button", - "pos": [ - -731, - 1497 - ], - "size": [ - 210, - 78 - ], - "flags": {}, - "order": 70, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "07fd37a4-af3c-41fb-8b52-6b601aab1d1d" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", - "properties": { - "tags": [], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "81e33843-aa51-4e39-87f0-6524b19055dc", - "type": "events/wrap_as_event", - "pos": [ - -289, - 1528 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 234, - "mode": 0, - "inputs": [ - { - "name": "trigger", - "type": -1, - "link": "059f8df9-bb97-4a00-93e2-4104f798a976", - "shape": 1 - }, - { - "name": "param", - "type": "", - "link": "ef629f14-4cf2-4af4-b721-053498759116" - } - ], - "outputs": [ - { - "name": "event", - "type": -2, - "links": [ - "cfa73ad8-2377-409b-b0bb-ba9cbef368fd" - ], - "shape": 1 - } - ], - "title": "Wrap As Event", - "properties": { - "tags": [] - } - }, - { - "id": "5204d934-60e5-4a34-b9f0-b8f8d6e28af2", - "type": "events/branch", - "pos": [ - -435, - 1526 - ], - "size": [ - 140, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 232, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "07fd37a4-af3c-41fb-8b52-6b601aab1d1d", - "shape": 1, - "slot_index": 0 - }, - { - "name": "cond", - "type": "boolean", - "link": "d1012af6-2de7-4f08-a75d-343d11811c0e" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "059f8df9-bb97-4a00-93e2-4104f798a976" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "false", - "type": -2, - "links": [ - "41cf3439-0144-4580-a5f9-a03170d8951a" - ], - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "04e36027-15c6-4a1c-a021-a5bbc76ff91e", - "type": "logic/NOT", - "pos": [ - 1239, - 736 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 231, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "boolean", - "link": "431f8600-71de-431c-8b5f-249be41e4904" - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "a815a363-a2aa-48ea-95a3-29c2fe9f5943", - "d1012af6-2de7-4f08-a75d-343d11811c0e" - ], - "slot_index": 0 - } - ], - "title": "NOT", - "properties": { - "tags": [] - } - }, - { - "id": "ae9117c6-aa69-4b52-9ea5-b9868aaa2488", - "type": "ui/button", - "pos": [ - 2017, - 473 - ], - "size": [ - 210, - 78 - ], - "flags": {}, - "order": 71, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "clicked", - "type": -2, - "links": [ - "cb996fc5-4838-4093-a72f-693018c685c6" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "isClicked", - "type": "boolean", - "links": null - } - ], - "title": "UI.Button", - "properties": { - "tags": [], - "defaultValue": false, - "param": "bang" - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "ef2505ae-9c48-47cd-9262-1e3e5aa6e219", - "type": "basic/is_null", - "pos": [ - 2329, - 152 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 236, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "*", - "link": "8e3a9d8a-ed23-4141-9640-b1f252ed2ac4", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "is_null", - "type": "boolean", - "links": [ - "da9c995d-3cb7-43f2-8fb7-a7a0a9a6b9be" - ] - } - ], - "title": "== Null", - "properties": { - "strictEquality": true, - "tags": [] - } - }, - { - "id": "3f118e90-9074-4522-bf4b-ba922adbaaa7", - "type": "logic/NOT", - "pos": [ - 2433, - 152 - ], - "size": [ - 140, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 237, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": "boolean", - "link": "da9c995d-3cb7-43f2-8fb7-a7a0a9a6b9be", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "out", - "type": "boolean", - "links": [ - "22a275d5-d9e0-47fe-a7d2-09033282aa06" - ], - "slot_index": 0 - } - ], - "title": "NOT", - "properties": { - "tags": [] - } - }, - { - "id": "8cc355e4-cc53-413f-94eb-15729c1e2171", - "type": "basic/string", - "pos": [ - -319, - 1590 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 72, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "ac4c48b3-e4f7-4b6b-8248-fc9431134eaa" - ], - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "Select an image from the Result gallery to send first.", - "tags": [] - } - }, - { - "id": "882580d1-03ec-4b0b-a202-9a96e98ccbf3", - "type": "actions/notify", - "pos": [ - 2528.900000000002, - 617.2000000000004 - ], - "size": [ - 151.2, - 46 - ], - "flags": { - "collapsed": true - }, - "order": 238, - "mode": 0, - "inputs": [ - { - "name": "message", - "type": "string", - "link": "1bf1c273-a50f-40c9-8b33-9f820f17ebc0" - }, - { - "name": "trigger", - "type": -1, - "link": "bfd118b0-24e7-4e8f-bdd9-2ec4144cf3e9", - "shape": 1, - "slot_index": 1 - } - ], - "outputs": [], - "title": "Comfy.NotifyAction", - "properties": { - "tags": [], - "message": "Nya.", - "type": "error" - }, - "saveUserState": true - }, - { - "id": "53d5b840-aff0-4d1c-8d7b-90f0ce5be953", - "type": "basic/string", - "pos": [ - 2508, - 583 - ], - "size": [ - 210, - 38 - ], - "flags": { - "collapsed": true - }, - "order": 73, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "string", - "type": "string", - "links": [ - "1bf1c273-a50f-40c9-8b33-9f820f17ebc0" - ], - "slot_index": 0 - } - ], - "title": "Const String", - "properties": { - "value": "Select an image from the HR Fix gallery to send first.", - "tags": [] - } - }, - { - "id": "4545ed77-a0ff-4547-9d3a-a7e26152fc1f", - "type": "events/branch", - "pos": [ - 2316, - 472 - ], - "size": [ - 140, - 46 - ], - "flags": {}, - "order": 235, - "mode": 0, - "inputs": [ - { - "name": "in", - "type": -1, - "link": "cb996fc5-4838-4093-a72f-693018c685c6", - "shape": 1, - "slot_index": 0 - }, - { - "name": "cond", - "type": "boolean", - "link": "22a275d5-d9e0-47fe-a7d2-09033282aa06" - } - ], - "outputs": [ - { - "name": "true", - "type": -2, - "links": [ - "fac8e77d-35a0-4172-b827-136f5cfbd5d2" - ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "false", - "type": -2, - "links": [ - "bfd118b0-24e7-4e8f-bdd9-2ec4144cf3e9" - ], - "shape": 1 - } - ], - "title": "Branch", - "properties": { - "tags": [] - } - }, - { - "id": "5013189b-16f3-4f30-bc53-a2a809416c89", - "type": "actions/set_node_mode_advanced", - "pos": [ - -1104, - 1151 - ], - "size": [ - 260.4, - 102 - ], - "flags": {}, - "order": 118, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": null - }, - { - "name": "set", - "type": -1, - "link": "b369e885-ed85-495b-bbac-5d14b02026cc", - "shape": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAdvancedAction", - "properties": { - "targetTags": [ + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ { - "tag": "i2iScaleSize", - "enable": true + "id": "8752488d-6558-4111-aa69-083abe980619", + "type": "ui/number", + "pos": [ + 585.6400000000027, + 71.68331298828089 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "5c6f3d0a-56cb-4265-9262-ad560524ffcd" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 20, + "min": 1, + "max": 200, + "step": 1, + "precision": 0 + }, + "widgets_values": [ + "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 }, { - "tag": "i2iPixelSize", - "enable": false + "id": "099185ef-d84a-4f4d-8467-eeb5a9c36cc2", + "type": "ui/combo", + "pos": [ + 246.5460342773434, + 683.6362379394525 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "80a8a1c4-2e9a-4a20-b088-6612d2a4c535" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Combo", + "properties": { + "tags": [ + "img2img" + ], + "defaultValue": null, + "values": [], + "convertValueToLabelCode": "" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": "A", + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "aae3b454-d5ef-49f4-ab65-d4ae360010b1", + "type": "ui/combo", + "pos": [ + 241.5460342773434, + 620.6362379394527 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "d8a7ddcd-9b85-4ec1-96a6-61617d99d4ed" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Combo", + "properties": { + "tags": [ + "img2img" + ], + "defaultValue": null, + "values": [], + "convertValueToLabelCode": "" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": "A", + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "2d5fb9b4-1a72-484e-9808-4db9facfcf28", + "type": "LoadImage", + "pos": [ + -204.45396572265653, + 549.6362379394529 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 35, + "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": 40, + "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": 52, + "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": 43, + "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": 42, + "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": 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": [ + -1298.6432425426126, + 287.980672791637 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 36, + "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": 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": [ + -932.825060724434, + 250.43521824618253 + ], + "size": [ + 151.2, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 55, + "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": 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": [ + "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": 41, + "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": 59, + "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": "a46ec9f3-82bd-470d-bd89-83d274e1c0cd", + "type": "VAEDecode", + "pos": [ + 942, + 9 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 60, + "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": 57, + "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": 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": "c6a16ab9-6816-4262-8b8c-8a4d3285d190", + "type": "ui/checkbox", + "pos": [ + 92.70100000000004, + -390.3169999999999 + ], + "size": [ + 210, + 78 + ], + "flags": {}, + "order": 48, + "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": 45, + "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": 58, + "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": 38, + "mode": 0, + "inputs": [ + { + "name": "enabled", + "type": "boolean", + "link": null, + "properties": {} + }, + { + "name": "set", + "type": -1, + "link": "f36d2cf6-0c95-4c44-95e8-804ae6702dad", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.SetNodeModeAdvancedAction", + "properties": { + "targetTags": [ + { + "tag": "img2img", + "enable": true + }, + { + "tag": "txt2img", + "enable": false + }, + { + "tag": "img2imgPixelSize", + "enable": true + }, + { + "tag": "img2imgScaleSize", + "enable": false + } + ], + "enable": true, + "tags": [] + }, + "boxcolor": "#666", + "saveUserState": true + }, + { + "id": "5d3fc9ab-a7b8-45b5-a824-d70f98c97a96", + "type": "ui/image_upload", + "pos": [ + -835.3085657226561, + 549.8709379394534 + ], + "size": [ + 210, + 78 + ], + "flags": {}, + "order": 11, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES", + "links": [ + "bda9dcb6-b906-4dbb-902c-55f71aa67277" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.ImageUpload", + "properties": { + "defaultValue": null, + "tags": [ + "img2img" + ] + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": [], + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "5c624567-93f1-46d5-a105-91a4d746e0b2", + "type": "graph/subgraph", + "pos": [ + -57.005565722656385, + 704.7149379394526 + ], + "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" + ] + }, + "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": 37, + "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": [ + "" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "", + "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": [ + "" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "", + "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": 44, + "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": 13, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "width", + "type": "number", + "links": [ + "bdb5d4be-857d-4f07-85f9-28e92dbbe687" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "height", + "type": "number", + "links": [ + "3fc5a9e1-1e01-4632-bcbe-3fa594e67bac" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "Dim. Sliders", + "properties": { + "enabled": true, + "tags": [ + "txt2img" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "eeac590a-f37f-4edf-9b2c-97ea89305991", + "type": "graph/output", + "pos": [ + 410, + -31 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "aa912584-cf6c-45ff-ab0c-763952055f1e", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "width", + "type": "number", + "subgraphID": "774e27a2-ca48-4fe6-9e2a-c22ff544da7f", + "tags": [] + } + }, + { + "id": "c4ce192d-9458-47e9-b098-c000e0565a71", + "type": "graph/output", + "pos": [ + 410, + 51 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "d8cd9308-4621-41c9-9707-d7332ea30046", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "height", + "type": "number", + "subgraphID": "774e27a2-ca48-4fe6-9e2a-c22ff544da7f", + "tags": [] + } + }, + { + "id": "6ef9168e-7e5b-471c-b7c6-137b708cbea8", + "type": "actions/swap", + "pos": [ + 200, + -3 + ], + "size": [ + 140, + 66 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "b455272d-f3a5-43d2-94a7-0b814c312a55", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "feb1fff4-6c21-4df0-a195-2b13bf4e1cc5", + "properties": {} + }, + { + "name": "swap", + "type": -1, + "link": "e48ab171-adf2-4e63-81d5-633b45af1409", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "B", + "type": -2, + "links": [ + "1b5f9c6f-0c37-4a7b-a9aa-10c16d157dc7" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "A", + "type": -2, + "links": [ + "2c31ed9f-2b29-4c28-b46a-66688d0c095f" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Comfy.SwapAction", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "c0795591-7179-4de0-a104-0750d41c636b", + "type": "ui/button", + "pos": [ + 28, + 85 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "e48ab171-adf2-4e63-81d5-633b45af1409" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "UI.Button", + "properties": { + "tags": [ + "txt2img" + ], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "5d0afab9-6cea-46c2-8f2c-e75a2d48f786", + "type": "ui/number", + "pos": [ + 47, + 16 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "1b5f9c6f-0c37-4a7b-a9aa-10c16d157dc7", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "b455272d-f3a5-43d2-94a7-0b814c312a55", + "aa912584-cf6c-45ff-ab0c-763952055f1e" + ], + "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": [ + "txt2img" + ], + "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": "9b6252b2-8b18-42bb-87f5-c8427a3a9121", + "type": "ui/number", + "pos": [ + 45, + 49 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "2c31ed9f-2b29-4c28-b46a-66688d0c095f", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "feb1fff4-6c21-4df0-a195-2b13bf4e1cc5", + "d8cd9308-4621-41c9-9707-d7332ea30046" + ], + "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": [ + "txt2img" + ], + "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 + } + ], + "links": [ + [ + "b455272d-f3a5-43d2-94a7-0b814c312a55", + "5d0afab9-6cea-46c2-8f2c-e75a2d48f786", + 0, + "6ef9168e-7e5b-471c-b7c6-137b708cbea8", + 0, + "*" + ], + [ + "feb1fff4-6c21-4df0-a195-2b13bf4e1cc5", + "9b6252b2-8b18-42bb-87f5-c8427a3a9121", + 0, + "6ef9168e-7e5b-471c-b7c6-137b708cbea8", + 1, + "*" + ], + [ + "e48ab171-adf2-4e63-81d5-633b45af1409", + "c0795591-7179-4de0-a104-0750d41c636b", + 0, + "6ef9168e-7e5b-471c-b7c6-137b708cbea8", + 2, + -1 + ], + [ + "2c31ed9f-2b29-4c28-b46a-66688d0c095f", + "6ef9168e-7e5b-471c-b7c6-137b708cbea8", + 1, + "9b6252b2-8b18-42bb-87f5-c8427a3a9121", + 0, + -1 + ], + [ + "1b5f9c6f-0c37-4a7b-a9aa-10c16d157dc7", + "6ef9168e-7e5b-471c-b7c6-137b708cbea8", + 0, + "5d0afab9-6cea-46c2-8f2c-e75a2d48f786", + 0, + -1 + ], + [ + "aa912584-cf6c-45ff-ab0c-763952055f1e", + "5d0afab9-6cea-46c2-8f2c-e75a2d48f786", + 0, + "eeac590a-f37f-4edf-9b2c-97ea89305991", + 0, + "number" + ], + [ + "d8cd9308-4621-41c9-9707-d7332ea30046", + "9b6252b2-8b18-42bb-87f5-c8427a3a9121", + 0, + "c4ce192d-9458-47e9-b098-c000e0565a71", + 0, + "number" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "44ff9b23-bb22-43e8-b4ca-76db6855191c", + "type": "EmptyLatentImage", + "pos": [ + 178, + 277 + ], + "size": [ + 151.2, + 66 + ], + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "width", + "type": "number", + "link": "bdb5d4be-857d-4f07-85f9-28e92dbbe687", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "height", + "type": "number", + "link": "3fc5a9e1-1e01-4632-bcbe-3fa594e67bac", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "batch_size", + "type": "number", + "link": "0845f395-2403-4a78-b716-22960c83ddef", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + "4d0a56d8-a21e-4194-b6ab-b50dca417e37" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "Empty Latent Image", + "properties": { + "tags": [ + "txt2img", + "gen" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "4d0c38bb-4279-4ce1-82eb-c6780de81e82", + "type": "utils/pick_first", + "pos": [ + 579, + 214 + ], + "size": [ + 210, + 122 + ], + "flags": { + "collapsed": true + }, + "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": 14, + "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": 15, + "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": "2578ff5a-4a88-44d8-aed7-aeabc0664dbb", + "type": "graph/input", + "pos": [ + -398, + 60 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 16, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + "bd75390b-7eb3-4393-bea9-71a92ec0f52e", + "152a8237-dc88-4ff2-ae64-d61f824187a3" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "vae", + "type": "VAE", + "value": null, + "subgraphID": "70361963-27f5-471d-b735-dbe2351a5ebd", + "tags": [] + } + }, + { + "id": "1bb069bc-596c-4401-b943-0594b6ee6cd6", + "type": "graph/input", + "pos": [ + -341, + 334 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "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": [ + 575, + 187 + ], + "size": [ + 210, + 122 + ], + "flags": { + "collapsed": true + }, + "order": 56, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "4d0a56d8-a21e-4194-b6ab-b50dca417e37", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "b1f0710a-7dfa-4000-845d-5855ca955fbb", + "properties": {} + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "LATENT", + "links": [ + "38e75281-5f3d-4800-9db0-b44cecab4f68" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [ + "gen" + ], + "mode": "dataNonNull" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "b69fe98e-1fc6-4f0a-bf13-99ff12278c60", + "type": "RepeatLatentBatch", + "pos": [ + 597, + 581 + ], + "size": [ + 159.6, + 46 + ], + "flags": {}, + "order": 51, + "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": 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", + "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": 54, + "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": 18, + "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": 39, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "3a41aee8-43ce-4005-b70a-bda8c876104c", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "param", + "type": "*", + "link": "08728079-7728-4247-9b6d-2641cd90ff43", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "out", + "type": -2, + "links": [ + "06a1d902-e945-461a-9c26-83db2922e59f" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "Comfy.TriggerNewEvent", + "properties": { + "param": false, + "tags": [] + } + }, + { + "id": "8c639133-9ba4-441e-8ea4-6de55bf7d6d2", + "type": "graph/input", + "pos": [ + 626, + 150 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 19, + "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": 20, + "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": 21, + "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": 22, + "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": 23, + "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": [] + } + }, + { + "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": [ + "74f5d77e-bd47-4a0c-9ad5-00e7d30c2bd5" + ], + "properties": {}, + "slot_index": 0 + }, + { + "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": "a75f01ba-e834-47dc-93e3-56e50c86bc22", + "type": "actions/set_prompt_thumbnails", + "pos": [ + -274, + 741 + ], + "size": [ + 260.4, + 26 + ], + "flags": {}, + "order": 34, + "mode": 2, + "inputs": [ + { + "name": "filenames", + "type": "*", + "link": "74f5d77e-bd47-4a0c-9ad5-00e7d30c2bd5", + "properties": {} + } + ], + "outputs": [], + "title": "Comfy.SetPromptThumbnailsAction", + "properties": { + "tags": [ + "img2img", + "gen" + ], + "defaultFolderType": "input" + }, + "saveUserState": true + }, + { + "id": "6b833917-9871-480d-b607-b41a8673edc1", + "type": "graph/input", + "pos": [ + 607, + 29 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 24, + "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": "f6fe8af8-fd20-491e-b6d6-f285141ee7eb", + "type": "graph/output", + "pos": [ + 1126, + 33 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 61, + "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": [] + } } ], - "enable": true, - "tags": [] - }, - "boxcolor": "#666", - "saveUserState": true - }, - { - "id": "e799d21a-6ff8-4536-b764-7c6d7e157862", - "type": "events/sequence", - "pos": [ - -720.5519979999999, - 1319.0271229999996 - ], - "size": [ - 140, - 66 - ], - "flags": {}, - "order": 240, - "mode": 0, - "inputs": [ - { - "name": "", - "type": -1, - "link": "cfa73ad8-2377-409b-b0bb-ba9cbef368fd", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": "3c8794ef-e088-4e2d-a04c-f92baebc4719", - "shape": 1 - }, - { - "name": "", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "", - "type": -2, - "links": [ - "5efcafb8-323d-4a86-a87a-a37883260c37" + "links": [ + [ + "5127d518-b146-488e-b296-ed2be1b382c0", + "6b833917-9871-480d-b607-b41a8673edc1", + 0, + "89ace6a4-7a24-4744-898a-e65109663b57", + 0, + "MODEL" ], - "shape": 1, - "slot_index": 0 - }, - { - "name": "", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "Sequence", - "properties": { - "tags": [] + [ + "689818f7-101f-4250-9ead-7b4aa77f27e6", + "a46ec9f3-82bd-470d-bd89-83d274e1c0cd", + 0, + "f6fe8af8-fd20-491e-b6d6-f285141ee7eb", + 0, + "IMAGE" + ], + [ + "5c6f3d0a-56cb-4265-9262-ad560524ffcd", + "8752488d-6558-4111-aa69-083abe980619", + 0, + "89ace6a4-7a24-4744-898a-e65109663b57", + 2, + "number" + ], + [ + "4de28b7a-a2f2-431d-a204-2982ee63e5c6", + "89ace6a4-7a24-4744-898a-e65109663b57", + 0, + "a46ec9f3-82bd-470d-bd89-83d274e1c0cd", + 0, + "LATENT" + ], + [ + "bd75390b-7eb3-4393-bea9-71a92ec0f52e", + "2578ff5a-4a88-44d8-aed7-aeabc0664dbb", + 0, + "a46ec9f3-82bd-470d-bd89-83d274e1c0cd", + 1, + "VAE" + ], + [ + "8cec9dcf-4930-4333-927b-1fadf75bd17a", + "2d5fb9b4-1a72-484e-9808-4db9facfcf28", + 0, + "ad64f79d-0434-4673-a8af-55de017ba9ff", + 0, + "IMAGE" + ], + [ + "152a8237-dc88-4ff2-ae64-d61f824187a3", + "2578ff5a-4a88-44d8-aed7-aeabc0664dbb", + 0, + "ad64f79d-0434-4673-a8af-55de017ba9ff", + 1, + "VAE" + ], + [ + "d8a7ddcd-9b85-4ec1-96a6-61617d99d4ed", + "aae3b454-d5ef-49f4-ab65-d4ae360010b1", + 0, + "597df44f-6179-471b-9730-990c0071ef1b", + 1, + "string" + ], + [ + "80a8a1c4-2e9a-4a20-b088-6612d2a4c535", + "099185ef-d84a-4f4d-8467-eeb5a9c36cc2", + 0, + "597df44f-6179-471b-9730-990c0071ef1b", + 4, + "string" + ], + [ + "8198a510-daec-4607-8a4d-0672e8ceabec", + "ad64f79d-0434-4673-a8af-55de017ba9ff", + 0, + "597df44f-6179-471b-9730-990c0071ef1b", + 0, + "LATENT" + ], + [ + "af10a80f-353a-4106-b66a-73840ed72cc3", + "6391469c-22aa-45cf-b49b-c093ba92efa2", + 0, + "4d0c38bb-4279-4ce1-82eb-c6780de81e82", + 0, + "*" + ], + [ + "e7192707-dbc7-4255-bd69-2953e500f7f6", + "e70690b5-cff8-4f82-9c58-f075f478fa41", + 0, + "4d0c38bb-4279-4ce1-82eb-c6780de81e82", + 1, + "*" + ], + [ + "2516f465-9425-4bc5-aa86-7461b4fefdc4", + "4d0c38bb-4279-4ce1-82eb-c6780de81e82", + 0, + "89ace6a4-7a24-4744-898a-e65109663b57", + 9, + "number" + ], + [ + "bdb5d4be-857d-4f07-85f9-28e92dbbe687", + "774e27a2-ca48-4fe6-9e2a-c22ff544da7f", + 0, + "44ff9b23-bb22-43e8-b4ca-76db6855191c", + 0, + "number" + ], + [ + "3fc5a9e1-1e01-4632-bcbe-3fa594e67bac", + "774e27a2-ca48-4fe6-9e2a-c22ff544da7f", + 1, + "44ff9b23-bb22-43e8-b4ca-76db6855191c", + 1, + "number" + ], + [ + "5a796a62-0bd1-4f1e-b7f5-9888e79e40f0", + "54804b59-f75e-49bf-b97a-3f5f6495841d", + 1, + "2d5fb9b4-1a72-484e-9808-4db9facfcf28", + 0, + "string" + ], + [ + "4d0a56d8-a21e-4194-b6ab-b50dca417e37", + "44ff9b23-bb22-43e8-b4ca-76db6855191c", + 0, + "7f251fb6-a708-4c48-8cb7-05d28edd85ad", + 0, + "*" + ], + [ + "38e75281-5f3d-4800-9db0-b44cecab4f68", + "7f251fb6-a708-4c48-8cb7-05d28edd85ad", + 0, + "89ace6a4-7a24-4744-898a-e65109663b57", + 8, + "LATENT" + ], + [ + "bf831a3d-9b67-4208-bb78-a32f95862e9f", + "a7b48551-2311-4830-8181-110f5b9035e5", + 2, + "9e64edd9-3ad5-458c-a10a-78d54edb06ee", + 0, + -1 + ], + [ + "3354bf13-e399-484c-b1d3-2e43a42cd4ed", + "9e64edd9-3ad5-458c-a10a-78d54edb06ee", + 1, + "9b47521f-a733-4810-abdc-126415c583a1", + 0, + -1 + ], + [ + "defc4343-6c6c-44af-9fda-93f2e3ae649f", + "a7b48551-2311-4830-8181-110f5b9035e5", + 0, + "c7623ffd-2ce4-4164-9a5b-721d7670630f", + 0, + "string,array" + ], + [ + "5df95237-f3b0-4528-add7-f051535e13e0", + "a7b48551-2311-4830-8181-110f5b9035e5", + 2, + "c7623ffd-2ce4-4164-9a5b-721d7670630f", + 2, + -1 + ], + [ + "9dc3b1fb-cb7c-4166-b230-f6a2a779323b", + "c7623ffd-2ce4-4164-9a5b-721d7670630f", + 0, + "756b6825-8f4e-42a8-a967-260878d2ce1a", + 0, + "string" + ], + [ + "ce8a67c5-0ee4-45ba-bb4d-5df263a98509", + "756b6825-8f4e-42a8-a967-260878d2ce1a", + 1, + "0c1af43a-61de-40f0-907a-67e07445cde1", + 0, + -1 + ], + [ + "d7012752-b1c9-43e3-a1e2-f31ea93cd3f5", + "9e64edd9-3ad5-458c-a10a-78d54edb06ee", + 0, + "2ab2332e-be3c-4465-bb6a-ac7488a1bf96", + 1, + -1 + ], + [ + "f36d2cf6-0c95-4c44-95e8-804ae6702dad", + "9b47521f-a733-4810-abdc-126415c583a1", + 0, + "f4238800-87bc-4def-ae8d-e8af2fab2479", + 1, + -1 + ], + [ + "08728079-7728-4247-9b6d-2641cd90ff43", + "ca444b59-667e-44d0-98ce-63a9dfe2f7e8", + 0, + "f94a0129-2e34-47c5-b9d4-ec372eda71b9", + 1, + "*" + ], + [ + "3a41aee8-43ce-4005-b70a-bda8c876104c", + "9b47521f-a733-4810-abdc-126415c583a1", + 0, + "f94a0129-2e34-47c5-b9d4-ec372eda71b9", + 0, + -1 + ], + [ + "06a1d902-e945-461a-9c26-83db2922e59f", + "f94a0129-2e34-47c5-b9d4-ec372eda71b9", + 0, + "f4ffe234-d4ff-4598-a9aa-3cc88f2a134c", + 0, + -1 + ], + [ + "9b5df263-6f17-4a34-8d0e-f807bd995abb", + "f4ffe234-d4ff-4598-a9aa-3cc88f2a134c", + 0, + "c6a16ab9-6816-4262-8b8c-8a4d3285d190", + 0, + -1 + ], + [ + "39c90eac-3e03-4b53-b695-71efd17e430b", + "c6a16ab9-6816-4262-8b8c-8a4d3285d190", + 1, + "3adcd800-59b3-4408-8985-095b695f77c2", + 0, + -1 + ], + [ + "626ee0c9-cffe-4752-8c52-5d2eb29809a5", + "2125eaed-c018-40f9-8493-dffa713c4cc2", + 0, + "3adcd800-59b3-4408-8985-095b695f77c2", + 1, + "*" + ], + [ + "2b56a2bd-31af-4743-a9e3-008af6dda159", + "3adcd800-59b3-4408-8985-095b695f77c2", + 0, + "e9edfe61-2ce1-4546-b90b-bd854e88eda5", + 1, + -1 + ], + [ + "cdae4dea-03d6-4ac4-b372-42fbb74fd507", + "3adcd800-59b3-4408-8985-095b695f77c2", + 1, + "eb37e5af-7266-4da0-ab89-36b6e200b82f", + 1, + -1 + ], + [ + "fa009346-1bb8-4ed9-a505-ebdc9ea803e1", + "18428189-e387-4034-a8da-333e88da29f6", + 0, + "7cdfa3c9-b3b9-4c77-989c-887fa6ef8983", + 0, + "*" + ], + [ + "831bc76d-0920-4215-8161-3bdf035f5fb2", + "18428189-e387-4034-a8da-333e88da29f6", + 1, + "df255364-4b43-4ae9-8a0a-8943a1a7f398", + 0, + "*" + ], + [ + "2e83c712-977d-4b9e-8f17-a38faaed2e52", + "5c624567-93f1-46d5-a105-91a4d746e0b2", + 0, + "7cdfa3c9-b3b9-4c77-989c-887fa6ef8983", + 1, + "*" + ], + [ + "c1a3ed6b-aced-418b-b46c-b8accae3a00d", + "5c624567-93f1-46d5-a105-91a4d746e0b2", + 1, + "df255364-4b43-4ae9-8a0a-8943a1a7f398", + 1, + "*" + ], + [ + "97b1e4d5-1b79-49cd-a5ac-9d92db536467", + "7cdfa3c9-b3b9-4c77-989c-887fa6ef8983", + 0, + "597df44f-6179-471b-9730-990c0071ef1b", + 2, + "number" + ], + [ + "59ac014a-6bff-443f-a4a7-33fd3b51cc68", + "df255364-4b43-4ae9-8a0a-8943a1a7f398", + 0, + "597df44f-6179-471b-9730-990c0071ef1b", + 3, + "number" + ], + [ + "00442883-6157-4ad7-ab50-81cf96f96c31", + "54804b59-f75e-49bf-b97a-3f5f6495841d", + 2, + "18428189-e387-4034-a8da-333e88da29f6", + 0, + "number" + ], + [ + "27982f07-e18c-4eac-99cb-cbd29e1ebb83", + "54804b59-f75e-49bf-b97a-3f5f6495841d", + 3, + "18428189-e387-4034-a8da-333e88da29f6", + 1, + "number" + ], + [ + "bda9dcb6-b906-4dbb-902c-55f71aa67277", + "5d3fc9ab-a7b8-45b5-a824-d70f98c97a96", + 0, + "54804b59-f75e-49bf-b97a-3f5f6495841d", + 0, + "COMFYBOX_IMAGES" + ], + [ + "51729fc1-a711-4872-9023-5ff86ca558ba", + "a43917b1-40ac-44b7-9f86-d6cbbed6bdc0", + 0, + "89ace6a4-7a24-4744-898a-e65109663b57", + 1, + "number" + ], + [ + "0845f395-2403-4a78-b716-22960c83ddef", + "1bb069bc-596c-4401-b943-0594b6ee6cd6", + 0, + "44ff9b23-bb22-43e8-b4ca-76db6855191c", + 2, + "number" + ], + [ + "cc21badd-7f4d-4a29-8589-9803c194598e", + "8cec9619-2b37-43ff-9914-b3865b40211d", + 2, + "c9f62e61-b9a4-4092-8318-50aa5c04a24d", + 0, + -1 + ], + [ + "24d5f780-5151-4908-9e4e-db1d00f52534", + "2d3a49a0-eed8-4547-9f8c-a713c0234a76", + 0, + "ad7226d8-a707-4abd-ba61-9261b0c9a20d", + 1, + "string" + ], + [ + "cb24e437-7fe2-400a-b39c-2a0e8d0d0b7e", + "a7b48551-2311-4830-8181-110f5b9035e5", + 0, + "ad7226d8-a707-4abd-ba61-9261b0c9a20d", + 0, + "string" + ], + [ + "641efbc6-f0e7-4c71-bd65-b02d0b0d8f87", + "def44ce3-6b61-4294-b0bd-abe3b7c6045a", + 0, + "cda00cc0-7d08-4cfd-b561-6d15d5f2f28c", + 0, + "boolean" + ], + [ + "e85e7aa8-51a3-449a-b4f1-621eeedcc1a4", + "ad7226d8-a707-4abd-ba61-9261b0c9a20d", + 0, + "def44ce3-6b61-4294-b0bd-abe3b7c6045a", + 0, + "boolean" + ], + [ + "9b243d97-7931-4a56-8c14-71401dc8f19b", + "cda00cc0-7d08-4cfd-b561-6d15d5f2f28c", + 0, + "5da91863-510c-4da9-bdb4-6b761987471f", + 0, + "boolean" + ], + [ + "6f1f107b-7d49-43d0-8ba4-3bcc32814899", + "cda00cc0-7d08-4cfd-b561-6d15d5f2f28c", + 0, + "c9f62e61-b9a4-4092-8318-50aa5c04a24d", + 1, + "boolean" + ], + [ + "ee4e9a53-5e21-4748-a04a-0148209483b8", + "9b6f3be8-b74f-49a4-85ab-b2bf6c91e8d9", + 0, + "139a785e-802e-48b3-b6dd-b6678dc3a969", + 1, + "number" + ], + [ + "d2c7876f-513e-4636-b4f8-93285ffebc25", + "54804b59-f75e-49bf-b97a-3f5f6495841d", + 2, + "139a785e-802e-48b3-b6dd-b6678dc3a969", + 0, + "number" + ], + [ + "769b8dec-a1ba-43d4-83d3-ed20049acc4d", + "139a785e-802e-48b3-b6dd-b6678dc3a969", + 0, + "def44ce3-6b61-4294-b0bd-abe3b7c6045a", + 1, + "boolean" + ], + [ + "1c726838-0dcd-4aaf-936e-d56e6c4ff2fd", + "c9f62e61-b9a4-4092-8318-50aa5c04a24d", + 1, + "877d8e92-b7dc-455b-8fce-a11b4821e476", + 1, + -1 + ], + [ + "94805a83-2d1d-4162-8433-436607245213", + "a502386b-f168-4086-a512-623496b78199", + 0, + "877d8e92-b7dc-455b-8fce-a11b4821e476", + 0, + "string" + ], + [ + "a9a5c6fa-1614-4e3c-a5db-df5ccc29f7d0", + "c9f62e61-b9a4-4092-8318-50aa5c04a24d", + 0, + "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" + ], + [ + "74f5d77e-bd47-4a0c-9ad5-00e7d30c2bd5", + "54804b59-f75e-49bf-b97a-3f5f6495841d", + 0, + "a75f01ba-e834-47dc-93e3-56e50c86bc22", + 0, + "*" + ] + ], + "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": "789c3954-2682-4540-a59f-3e2bd0f116b5", - "type": "actions/store_images", + "id": "de5f256a-91ab-42c2-86cd-645066b3c714", + "type": "graph/subgraph", "pos": [ - 2554, - 401 + 2863, + 328 ], "size": [ - 210, - 78 + 200, + 230 ], "flags": {}, - "order": 239, + "order": 49, "mode": 0, "inputs": [ { - "name": "filename", + "name": "image", "type": "string", - "link": "2867f069-1fb1-4c01-814f-e771496e44d8", - "slot_index": 0 + "link": "02e201d5-1d1e-4340-abd9-85c512cd03e7", + "properties": {} }, { - "name": "trigger", - "type": -1, - "link": "fac8e77d-35a0-4172-b827-136f5cfbd5d2", - "shape": 1 - } - ], - "outputs": [ - { - "name": "input_filename", - "type": "string", - "links": null - }, - { - "name": "uploaded", - "type": -2, - "links": [ - "3c8794ef-e088-4e2d-a04c-f92baebc4719" - ], - "shape": 1, - "slot_index": 1 - } - ], - "title": "Comfy.UploadImageAction", - "properties": { - "tags": [], - "folderType": "output", - "lastUploadedImageFile": "ComfyUI_02871_.png" - }, - "saveUserState": true - }, - { - "id": "fceffaba-f887-4a99-ba3a-d7e3a04b2933", - "type": "CheckpointLoaderSimple", - "pos": [ - -139, - -36 - ], - "size": [ - 184.79999999999998, - 66 - ], - "flags": {}, - "order": 75, - "mode": 0, - "inputs": [ - { - "name": "ckpt_name", - "type": "string", - "link": "cc7609c0-7f34-471b-a54c-45c389bf6c22", - "config": {}, - "widgetNodeType": "ui/combo", - "serialize": true, - "defaultWidgetNode": null - } - ], - "outputs": [ - { - "name": "MODEL", + "name": "model", "type": "MODEL", - "links": [ - "e65fb1de-1239-4952-bd1e-aae0b39b827e", - "4c97d994-3151-49dd-9f39-80c2c839052c" - ], - "slot_index": 0 + "link": "7bf1ecb5-3b6b-4f44-9c42-c8436c207895", + "properties": {} }, { - "name": "CLIP", - "type": "CLIP", - "links": [ - "8955ebb4-e7c6-4af5-9e2c-084a59d93900", - "25aebe80-1b65-4b2a-beed-e507efb4b203" - ], - "slot_index": 1 + "name": "seed", + "type": "number", + "link": "a6141a50-6a98-42ef-accd-acb4823c88da", + "properties": {} }, { - "name": "VAE", + "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", - "links": [ - "0971ffb0-c863-4906-9c71-672885a4b001" - ], - "slot_index": 2 - } - ], - "title": "CheckpointLoaderSimple", - "properties": { - "tags": [ - "txt2img", - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "362f9dea-bb82-4989-95f0-bb56a85b28fe", - "type": "LoraLoader", - "pos": [ - -1081.72900390625, - -191.7061767578125 - ], - "size": [ - 254.39999999999998, - 106 - ], - "flags": {}, - "order": 199, - "mode": 2, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": "38a5d721-65c2-4ed2-b5dd-7182d89eb3c1", - "config": {} - }, - { - "name": "clip", - "type": "CLIP", - "link": "6e0243b1-77ce-4651-90d2-50efd7ad0278", - "config": {} - }, - { - "name": "lora_name", - "type": "string", - "link": "85aaf44a-3fcf-4917-bba4-9530b28617de", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - }, - { - "name": "strength_model", - "type": "number", - "link": "25e12f44-63c8-4bbc-adad-5dca0f94657f", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - }, - { - "name": "strength_clip", - "type": "number", - "link": "846074c4-5563-4620-97ff-b11b4f1c6a43", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - "c9938068-f193-43f0-82d9-7655055b6839" - ], - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - "91f33fdf-59a6-4b8f-bccd-6404bb7238bd" - ], - "slot_index": 1 - } - ], - "title": "LoraLoader", - "properties": { - "tags": [ - "txt2img", - "hr", - "lora" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "4b114908-3894-4689-a13c-25843b9a5aae", - "type": "LoraLoader", - "pos": [ - -1072.72900390625, - -329.7061767578125 - ], - "size": [ - 254.39999999999998, - 106 - ], - "flags": {}, - "order": 189, - "mode": 2, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": "29fc2083-fa99-4367-bf9a-1c5decd36464", - "config": {} - }, - { - "name": "clip", - "type": "CLIP", - "link": "58a92b1d-7f39-4b79-8623-eb1586f04572", - "config": {} - }, - { - "name": "lora_name", - "type": "string", - "link": "166fbf57-a1bf-4847-9645-e1a27b78df44", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - }, - { - "name": "strength_model", - "type": "number", - "link": "b69df36c-0744-4f0e-9e48-604f8574d01d", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - }, - { - "name": "strength_clip", - "type": "number", - "link": "4b5e5d4d-3dc3-40e5-9a86-16c616abc803", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - "38a5d721-65c2-4ed2-b5dd-7182d89eb3c1" - ], - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - "6e0243b1-77ce-4651-90d2-50efd7ad0278" - ], - "slot_index": 1 - } - ], - "title": "LoraLoader", - "properties": { - "tags": [ - "txt2img", - "hr", - "lora" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "12856e82-6fbf-4f83-9d50-e87867bad2cc", - "type": "LoraLoader", - "pos": [ - -1067.72900390625, - -469.7061767578125 - ], - "size": [ - 254.39999999999998, - 106 - ], - "flags": {}, - "order": 179, - "mode": 2, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": "3a93c4b2-bba4-49b4-9965-caacdb97e157", - "config": {} - }, - { - "name": "clip", - "type": "CLIP", - "link": "1f322c07-5031-4ff5-b2ce-1daa1b40f413", - "config": {} - }, - { - "name": "lora_name", - "type": "string", - "link": "c881e907-6302-438a-83c6-ae649d7b5bb9", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - }, - { - "name": "strength_model", - "type": "number", - "link": "99c0d400-72c1-474a-86ff-fcc2b10cbecd", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - }, - { - "name": "strength_clip", - "type": "number", - "link": "59b3457b-7970-48e4-a357-037bb9ae86fe", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - "29fc2083-fa99-4367-bf9a-1c5decd36464" - ], - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - "58a92b1d-7f39-4b79-8623-eb1586f04572" - ], - "slot_index": 1 - } - ], - "title": "LoraLoader", - "properties": { - "tags": [ - "txt2img", - "hr", - "lora" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "a1872da9-0350-488c-ba1a-2d13075afd39", - "type": "LoraLoader", - "pos": [ - -1066.72900390625, - -613.7061767578125 - ], - "size": [ - 254.39999999999998, - 106 - ], - "flags": {}, - "order": 249, - "mode": 2, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": "e65fb1de-1239-4952-bd1e-aae0b39b827e", - "config": {} - }, - { - "name": "clip", - "type": "CLIP", - "link": "8955ebb4-e7c6-4af5-9e2c-084a59d93900", - "config": {} - }, - { - "name": "lora_name", - "type": "string", - "link": "7a12401b-dbe6-4a97-8ea3-48477764ae1a", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - }, - { - "name": "strength_model", - "type": "number", - "link": "8618fff5-2607-427e-861d-95a7be09c795", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - }, - { - "name": "strength_clip", - "type": "number", - "link": "eda51f16-0650-44c2-b14a-c255a1d180eb", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - "3a93c4b2-bba4-49b4-9965-caacdb97e157" - ], - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - "1f322c07-5031-4ff5-b2ce-1daa1b40f413" - ], - "slot_index": 1 - } - ], - "title": "LoraLoader", - "properties": { - "tags": [ - "txt2img", - "hr", - "lora" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "a129cd00-f18e-414b-8e9e-e3041199ad1b", - "type": "LoraLoader", - "pos": [ - -1084.8193359375, - -49.137451171875 - ], - "size": [ - 254.39999999999998, - 106 - ], - "flags": {}, - "order": 209, - "mode": 2, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": "c9938068-f193-43f0-82d9-7655055b6839", - "config": {} - }, - { - "name": "clip", - "type": "CLIP", - "link": "91f33fdf-59a6-4b8f-bccd-6404bb7238bd", - "config": {} - }, - { - "name": "lora_name", - "type": "string", - "link": "4c62af9b-88d5-4fa8-a7b0-cdc7cf92ec16", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - }, - { - "name": "strength_model", - "type": "number", - "link": "6066f4e8-4991-4019-904b-497dce9071d4", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - }, - { - "name": "strength_clip", - "type": "number", - "link": "4843d112-20a7-4027-9399-67bb5d0466b8", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - "f1947a06-7d0c-467a-a917-8cbc8893ef2c" - ], - "slot_index": 0 - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - "6146a832-4734-44f8-b657-aa5f81f252a9" - ], - "slot_index": 1 - } - ], - "title": "LoraLoader", - "properties": { - "tags": [ - "txt2img", - "hr", - "lora" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "1c07d853-4fe3-480a-9017-00a81092f5ea", - "type": "actions/set_node_mode", - "pos": [ - -657, - -199 - ], - "size": [ - 210, - 102 - ], - "flags": {}, - "order": 99, - "mode": 0, - "inputs": [ - { - "name": "enabled", - "type": "boolean", - "link": "fc7bdedd-3c65-49d9-bf84-e3ee1e523070" - }, - { - "name": "set", - "type": -1, - "link": "5da8b6b4-9e71-48e5-a3e8-e153b550b2d5", - "shape": 1 - } - ], - "outputs": [], - "title": "Comfy.SetNodeModeAction", - "properties": { - "targetTags": "lora", - "enable": true, - "tags": [] - }, - "saveUserState": true - }, - { - "id": "adad5a15-78eb-4dc2-b9b8-33bd52eb772f", - "type": "ui/checkbox", - "pos": [ - -787, - -166 - ], - "size": [ - 210, - 78 - ], - "flags": { - "collapsed": true - }, - "order": 74, - "mode": 0, - "inputs": [ - { - "name": "value", - "type": "boolean", - "link": null - }, - { - "name": "store", - "type": -1, - "link": null, - "shape": 1 - } - ], - "outputs": [ - { - "name": "value", - "type": "boolean", - "links": [ - "fc7bdedd-3c65-49d9-bf84-e3ee1e523070" - ], - "slot_index": 0 - }, - { - "name": "changed", - "type": -2, - "links": [ - "5da8b6b4-9e71-48e5-a3e8-e153b550b2d5" - ], - "shape": 1, - "slot_index": 1 - } - ], - "title": "UI.Checkbox", - "properties": { - "tags": [], - "defaultValue": false - }, - "widgets_values": [ - "false" - ], - "color": "#223", - "bgColor": "#335", - "comfyValue": false, - "shownOutputProperties": {}, - "saveUserState": true - }, - { - "id": "f1b405a1-ca77-41aa-917d-d0ec0c1b9296", - "type": "utils/reroute", - "pos": [ - -572, - 12 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 219, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": "ecf2f7e7-70dd-416b-98c4-d899c3845439" - } - ], - "outputs": [ - { - "name": "", - "type": "CLIP", - "links": [ - "6988b01a-312a-492f-9f3b-83f5bc18c78e", - "66a02c79-e211-44a6-a405-7f59611540d5" - ], - "slot_index": 0 - } - ], - "title": "Comfy.Reroute", - "properties": { - "tags": [ - "txt2img", - "hr" - ], - "showOutputText": false, - "horizontal": false, - "ignoreTypes": false - }, - "saveUserState": true - }, - { - "id": "4188f908-645c-4866-b951-0380e834ec95", - "type": "utils/pick_first", - "pos": [ - -744, - 32 - ], - "size": [ - 210, - 122 - ], - "flags": { - "collapsed": true - }, - "order": 242, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "6146a832-4734-44f8-b657-aa5f81f252a9" - }, - { - "name": "B", - "type": "*", - "link": "25aebe80-1b65-4b2a-beed-e507efb4b203" - }, - { - "name": "C", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "", - "type": "CLIP", - "links": [ - "ecf2f7e7-70dd-416b-98c4-d899c3845439" - ], - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [ - "txt2img", - "hr" - ], - "mode": "dataNonNull" - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "789740f5-5197-48fb-b180-9abef784108a", - "type": "CLIPTextEncode", - "pos": [ - -202, - 90 - ], - "size": [ - 212.10067125600108, - 46 - ], - "flags": {}, - "order": 177, - "mode": 0, - "inputs": [ - { - "name": "text", - "type": "string", - "link": "b826d95a-c763-4f58-967c-300bfa31a7af", - "config": {}, - "serialize": true - }, - { - "name": "clip", - "type": "CLIP", - "link": "6988b01a-312a-492f-9f3b-83f5bc18c78e", - "color_off": "orange", - "color_on": "orange", - "config": {} - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - "bd4482e3-0a43-476f-9587-589439263c9d", - "2e96ceba-0e7a-49df-b634-37a50ef7ab86" - ], - "color_off": "orange", - "color_on": "orange", - "slot_index": 0 - } - ], - "title": "CLIPTextEncode", - "properties": { - "tags": [ - "txt2img", - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "63779084-b869-4908-bc3b-f29a8329d19f", - "type": "KSampler", - "pos": [ - 188, - 150 - ], - "size": [ - 161.2, - 206 - ], - "flags": {}, - "order": 141, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": "b1652c92-a878-4f8a-ac99-afc84d23f67b", - "color_off": "orange", - "color_on": "orange", - "config": {} - }, - { - "name": "seed", - "type": "number", - "link": "8737da30-cf75-4b0f-87da-273353eb7b79", - "config": {}, - "serialize": true - }, - { - "name": "steps", - "type": "number", - "link": "d3e63e4f-735b-4811-abb5-6fdf82803cbc", - "config": {}, - "serialize": true - }, - { - "name": "cfg", - "type": "number", - "link": "48873cd2-e7a5-4e31-914e-bdbf64aede2a", - "config": {}, - "serialize": true - }, - { - "name": "sampler_name", - "type": "string", - "link": "5500a636-e7df-42f1-9da9-25cced64d97e", - "config": {}, - "serialize": true - }, - { - "name": "scheduler", - "type": "string", - "link": "07e0280d-dac1-452a-848a-6bf300f2f2d8", - "config": {}, - "serialize": true - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": "74fdd396-3228-4457-840d-43255bc1478a", - "color_off": "orange", - "color_on": "orange", - "config": {} - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": "0c21b916-5e32-4c68-ba0d-ff9b3faf92e9", - "color_off": "orange", - "color_on": "orange", - "config": {} - }, - { - "name": "latent_image", - "type": "LATENT", - "link": "ebfad1b7-7f26-46d1-8b2e-eb7e7b3996fb", - "color_off": "orange", - "color_on": "orange", - "config": {} - }, - { - "name": "denoise", - "type": "number", - "link": "1f4e7ba8-810f-4f2d-810c-3a9dce5d509f", - "config": {}, - "serialize": true - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "069ae825-5673-40ad-b321-27be9bbd122b" - ], - "color_off": "orange", - "color_on": "orange", - "slot_index": 0 - } - ], - "title": "KSampler", - "properties": { - "tags": [ - "txt2img" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "26ab4b79-5a64-41d2-8f29-3444916ca69d", - "type": "utils/pick_first", - "pos": [ - -754, - -14 - ], - "size": [ - 210, - 122 - ], - "flags": { - "collapsed": true - }, - "order": 241, - "mode": 0, - "inputs": [ - { - "name": "A", - "type": "*", - "link": "f1947a06-7d0c-467a-a917-8cbc8893ef2c" - }, - { - "name": "B", - "type": "*", - "link": "4c97d994-3151-49dd-9f39-80c2c839052c" - }, - { - "name": "C", - "type": "*", - "link": null - } - ], - "outputs": [ - { - "name": "", - "type": "MODEL", - "links": [ - "0a17e550-e2c2-4d6e-8ee1-efe70aff4cbc" - ], - "slot_index": 0 - } - ], - "title": "Comfy.PickFirst", - "properties": { - "tags": [ - "txt2img", - "hr" - ], - "mode": "dataNonNull" - }, - "color": "#232", - "bgColor": "#353", - "saveUserState": true - }, - { - "id": "31bba00f-7d11-4e58-aa51-09c89f83e9aa", - "type": "utils/reroute", - "pos": [ - -577, - -37 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 220, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": "0a17e550-e2c2-4d6e-8ee1-efe70aff4cbc", - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "", - "type": "MODEL", - "links": [ - "ce8a1cbd-b0fd-46e4-85ed-022a91b1bdf6", - "b1652c92-a878-4f8a-ac99-afc84d23f67b", - "467b017d-b20f-4f92-bcef-d0ad5948393e" - ], - "slot_index": 0 - } - ], - "title": "Comfy.Reroute", - "properties": { - "tags": [ - "txt2img", - "hr" - ], - "showOutputText": false, - "horizontal": false, - "ignoreTypes": false - }, - "saveUserState": true - }, - { - "id": "9564d326-d463-4095-9372-6f55648e43bd", - "type": "KSampler", - "pos": [ - 1569, - -90 - ], - "size": [ - 241.79999999999998, - 206 - ], - "flags": {}, - "order": 128, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": "467b017d-b20f-4f92-bcef-d0ad5948393e", - "config": {}, - "slot_index": 0 - }, - { - "name": "seed", - "type": "number", - "link": "6f8eced5-57d8-4f88-9ef7-3bb11460b79d", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - }, - { - "name": "steps", - "type": "number", - "link": "b50a2726-2104-4eeb-91f0-a8395e0ee5db", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - }, - { - "name": "cfg", - "type": "number", - "link": "3a892f13-2b1e-4722-8a83-cf847c4edf35", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - }, - { - "name": "sampler_name", - "type": "string", - "link": "4eb8a330-4985-4142-9685-af37c75ebac6", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - }, - { - "name": "scheduler", - "type": "string", - "link": "61f924c0-0e8a-4fc9-b90d-9008165c2b68", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/combo", - "serialize": true - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": "cb02958e-42e8-41d6-8032-2a4bc15361e6", - "slot_index": 6, - "config": {} - }, - { - "name": "negative", - "type": "CONDITIONING", - "link": "f9ed6e64-f513-426c-9964-63a5d3e72b3d", - "slot_index": 7, - "config": {} - }, - { - "name": "latent_image", - "type": "LATENT", - "link": "05fe18c1-89f8-424a-a8a1-b06fa2f8ba5c", - "config": {} - }, - { - "name": "denoise", - "type": "number", - "link": "03a1a3b0-af11-4f85-b90f-8fe6ad4db970", - "config": {}, - "defaultWidgetNode": null, - "widgetNodeType": "ui/slider", - "serialize": true - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - "5d256808-05f8-4a60-a342-0c6f27c67da3" - ], - "slot_index": 0 - } - ], - "title": "KSampler", - "properties": { - "tags": [ - "hr" - ] - }, - "color": "#432", - "bgColor": "#653", - "saveUserState": true - }, - { - "id": "d88047d6-932e-46e3-abd8-858f84b6baab", - "type": "ui/image_upload", - "pos": [ - -555, - 1286 - ], - "size": [ - 210, - 138 - ], - "flags": {}, - "order": 225, - "mode": 2, - "inputs": [ - { - "name": "store", - "type": -1, - "link": "5efcafb8-323d-4a86-a87a-a37883260c37", - "shape": 1, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "filename", - "type": "string", - "links": [ - "5b600061-367a-4ab6-87e8-c3d564173e34", - "d78d4f6c-ee23-4a22-b034-7523c4ec6458", - "81985fb4-fba7-45cb-93cc-de1542f7cb9a" - ], - "slot_index": 0 + "link": "e735e83c-b418-4c76-a7e8-ae86299e4f30", + "properties": {} }, { "name": "width", "type": "number", - "links": [ - "63704a2f-d07b-4307-a7c1-a1886c5fe9ec" - ], - "slot_index": 1 + "link": "9eed80a4-a47d-48c6-9c8a-63b5fb8026f8", + "properties": {} }, { "name": "height", "type": "number", - "links": [ - "7ce16e3a-17aa-46b1-8f80-4071ca1b0554" - ], - "slot_index": 2 - }, - { - "name": "image_count", - "type": "number", - "links": null - }, - { - "name": "changed", - "type": -2, - "links": null, - "shape": 1 - } - ], - "title": "UI.ImageUpload", - "properties": { - "defaultValue": null, - "tags": [ - "i2i" - ], - "fileCount": "single" - }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": [], - "shownOutputProperties": {}, - "saveUserState": false - }, - { - "id": "96e72804-00a8-4b9f-a4c6-d866f7867f23", - "type": "actions/set_prompt_thumbnails", - "pos": [ - -328, - 1334 - ], - "size": [ - 260.4, - 26 - ], - "flags": { - "collapsed": true - }, - "order": 243, - "mode": 2, - "inputs": [ - { - "name": "filenames", - "type": "*", - "link": "81985fb4-fba7-45cb-93cc-de1542f7cb9a" - } - ], - "outputs": [], - "title": "Comfy.SetPromptThumbnailsAction", - "properties": { - "tags": [ - "txt2img", - "i2i" - ], - "defaultFolderType": "input" - }, - "saveUserState": true - }, - { - "id": "353215bf-8ea6-4b00-a1e9-6cf404ba2e13", - "type": "ui/gallery", - "pos": [ - 862.248693361997, - 640.4778575549986 - ], - "size": [ - 210, - 166 - ], - "flags": {}, - "order": 122, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "OUTPUT", - "link": null - }, - { - "name": "store", - "type": -1, - "link": "0eef5fe4-88bf-435b-96ff-3dc6eeed5566", - "shape": 1 - }, - { - "name": "clear", - "type": -1, - "link": "6b1884fc-d6bb-4b4e-a1b1-654c4f3ee9ec", - "shape": 1 + "link": "3f5990c7-4b08-4d41-9a46-9a44073eb5e6", + "properties": {} } ], "outputs": [ { - "name": "selected_index", - "type": "number", + "name": "IMAGE", + "type": "IMAGE", "links": [ - "80515880-2466-4721-ba9c-c231ee7c779e", - "4d383a81-ef83-421e-9a96-8da91027bac1" + "b9634e37-b5f5-48cf-a5d9-a32896302548" ], + "properties": {}, "slot_index": 0 - }, - { - "name": "width", - "type": "number", - "links": [ - "a83b554c-65a2-4cd8-9254-22d01df50bcd" - ], - "slot_index": 1 - }, - { - "name": "height", - "type": "number", - "links": [ - "d90a451d-c5c6-4759-a84c-435d43ae00a8" - ], - "slot_index": 2 - }, - { - "name": "filename", - "type": "string", - "links": [ - "6343bbab-9c22-4dab-8995-1fd5c0f00e65", - "f5776162-4dad-40bf-93c6-6fe5e475db45" - ], - "slot_index": 3 } ], - "title": "UI.Gallery", + "title": "HR Fix", "properties": { - "tags": [], - "defaultValue": null, - "index": 22, - "updateMode": "append", - "values": [] + "enabled": true, + "tags": [ + "hr" + ] }, - "widgets_values": [], - "color": "#223", - "bgColor": "#335", - "comfyValue": [], - "shownOutputProperties": {}, - "saveUserState": false + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "f7f51185-b2d8-46ac-8605-83051b972ad3", + "type": "graph/input", + "pos": [ + 640, + 118 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + "6494ccd2-651f-4c4f-b439-bc26997ecc4c" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "model", + "type": "MODEL", + "value": null, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "271fb970-b797-45bc-b01d-a921f07033b7", + "type": "graph/input", + "pos": [ + 644, + 140 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "54713e33-bc69-437e-826d-8003a4847b04" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "seed", + "type": "number", + "value": 0, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "b25be03c-47a0-4bab-bd7d-dff944763286", + "type": "ui/number", + "pos": [ + 631, + 161 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "23d7ea2c-9b9b-4339-b5ab-9602654317c0" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 20, + "min": 1, + "max": 200, + "step": 1, + "precision": 0 + }, + "widgets_values": [ + "30.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 30, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "e5b933b8-c925-4c93-b1d3-14034a3a2b58", + "type": "graph/input", + "pos": [ + 654, + 180 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "c5c4aa54-c6cb-4f4d-8600-9fea6ba21194" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "cfg", + "type": "number", + "value": 0, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "ea3d61d2-53cb-445c-aed4-0e71db9375fa", + "type": "graph/input", + "pos": [ + 621, + 201 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "links": [ + "3495f139-629e-4ff2-8f40-af27de6ca393" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "sampler_name", + "type": "string", + "value": "", + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "0b3a21e4-914e-4948-9a00-f1153a65cd66", + "type": "graph/input", + "pos": [ + 649, + 222 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "links": [ + "4caca8dd-4c69-410e-8df9-58c2ec868302" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "scheduler", + "type": "string", + "value": "", + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "a9b42639-2d98-4af1-b4ad-051e9600f352", + "type": "graph/input", + "pos": [ + 652, + 239 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + "53a2dedf-850b-47d7-9bd7-5abc3b83c6aa" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "positive", + "type": "CONDITIONING", + "value": null, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "f1a592df-59b5-4011-a3b2-1e11a5c5d17c", + "type": "graph/input", + "pos": [ + 646, + 259 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + "f970330a-6fe5-4e68-b944-a1bb6661a997" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "negative", + "type": "CONDITIONING", + "value": null, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "ce549cfe-41ca-4499-8c8f-f3acd411b92c", + "type": "ui/number", + "pos": [ + 634, + 298 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "363012c8-1a37-4c4c-adee-de52958ef49c" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": 0, + "max": 1, + "step": 0.01, + "precision": 0 + }, + "widgets_values": [ + "0.650" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0.65, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "10abd4b1-756f-462d-a95e-f557805accef", + "type": "graph/output", + "pos": [ + 1232, + 117 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 49, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "IMAGE", + "link": "928ac2b7-3d97-443b-8c21-84ba1bd0ae54", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "IMAGE", + "type": "IMAGE", + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "389aeb57-a635-401d-9672-34aedc14f736", + "type": "LoadImage", + "pos": [ + 228, + 163 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "string", + "link": "afd82e76-7f9d-4176-adbc-bb3bcfd5e47e", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + "75ca312d-59fc-47f7-956e-86cf03ec744f" + ], + "properties": {}, + "shape": 3 + }, + { + "name": "MASK", + "type": "MASK", + "links": [], + "properties": {}, + "shape": 3 + } + ], + "title": "Load Image", + "properties": { + "tags": [ + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "add70fa6-27cf-445a-bcb2-4fdc6857da97", + "type": "actions/notify", + "pos": [ + 663, + -54 + ], + "size": [ + 151.2, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 48, + "mode": 0, + "inputs": [ + { + "name": "message", + "type": "string", + "link": "b2ebce1b-346a-4d4e-87c1-2589aa2f6e8e", + "properties": {} + }, + { + "name": "trigger", + "type": -1, + "link": "8f73a986-05df-481d-8997-72e67d71637a", + "properties": {}, + "shape": 1 + } + ], + "outputs": [], + "title": "Comfy.NotifyAction", + "properties": { + "tags": [], + "message": "Nya.", + "type": "error" + }, + "saveUserState": true + }, + { + "id": "9c471580-d0a2-42a3-91e8-adc007dc32ec", + "type": "basic/string", + "pos": [ + 652, + -298 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "string", + "type": "string", + "links": [ + "0d48dee8-f59d-44de-9b5f-e7d7568b7c5f" + ], + "properties": {} + } + ], + "title": "Const String", + "properties": { + "value": "Upscale queued.", + "tags": [] + } + }, + { + "id": "711b0ea5-ab0c-46d1-8ad0-583bd3307498", + "type": "actions/execute_subgraph", + "pos": [ + 628, + -229 + ], + "size": [ + 226.79999999999998, + 78 + ], + "flags": { + "collapsed": false + }, + "order": 46, + "mode": 0, + "inputs": [ + { + "name": "execute", + "type": -1, + "link": "126a645d-bc14-4bf6-ad06-ce0599037868", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "targetTag", + "type": "string", + "link": null, + "properties": {} + } + ], + "outputs": [], + "title": "Comfy.ExecuteSubgraphAction", + "properties": { + "tags": [], + "targetTag": "hr" + }, + "saveUserState": true + }, + { + "id": "33285152-0904-4cb9-a533-08d40b36117a", + "type": "actions/notify", + "pos": [ + 652, + -265 + ], + "size": [ + 151.2, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 47, + "mode": 0, + "inputs": [ + { + "name": "message", + "type": "string", + "link": "0d48dee8-f59d-44de-9b5f-e7d7568b7c5f", + "properties": {}, + "slot_index": 0 + }, + { + "name": "trigger", + "type": -1, + "link": "e93ebb6d-0d98-4ce1-9348-880556c8254e", + "properties": {}, + "shape": 1 + } + ], + "outputs": [], + "title": "Comfy.NotifyAction", + "properties": { + "tags": [], + "message": "Nya.", + "type": "info" + }, + "saveUserState": true + }, + { + "id": "f48a7c93-0ede-432b-95d0-13ffbdb53ed6", + "type": "basic/string", + "pos": [ + 632, + -22 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "string", + "type": "string", + "links": [ + "b2ebce1b-346a-4d4e-87c1-2589aa2f6e8e" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Const String", + "properties": { + "value": "Select an image from the Result gallery to upscale first.", + "tags": [] + } + }, + { + "id": "c10a25d1-3f64-4cb3-847c-684dd97ec516", + "type": "ui/button", + "pos": [ + 296, + -129 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "2178013c-b1fb-4f11-bea5-df2be5578b1c" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "UI.Button", + "properties": { + "tags": [], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "3e63c209-da43-42d3-8785-ff6db26868e1", + "type": "ui/combo", + "pos": [ + 367, + 469 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "7a2601c6-4e43-4cfc-9994-784bdcb13d63" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Combo", + "properties": { + "tags": [], + "defaultValue": null, + "values": [], + "convertValueToLabelCode": "" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": "A", + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "fcfb2720-0382-4ca0-bc77-e820858db088", + "type": "ui/combo", + "pos": [ + 368, + 399 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "2f254406-6615-4781-b6fa-dc736e06d1e2" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Combo", + "properties": { + "tags": [], + "defaultValue": null, + "values": [], + "convertValueToLabelCode": "" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": "A", + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", + "type": "graph/subgraph", + "pos": [ + 89, + 458 + ], + "size": [ + 200, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 14, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "width", + "type": "number", + "links": [ + "2486cdf8-cc57-45cc-82bc-30eeca736f0f" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "height", + "type": "number", + "links": [ + "83217cc8-be20-4337-9851-59b2fa5d52db" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "Dim. Sliders", + "properties": { + "enabled": true, + "tags": [ + "hr", + "hrPixelSize" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "6a4aa170-b899-4246-9941-73737a151fa3", + "type": "graph/output", + "pos": [ + 410, + -31 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "8a4da085-5cc2-441a-ab97-69a499db00f6", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "width", + "type": "number", + "subgraphID": "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", + "tags": [] + } + }, + { + "id": "31c57d04-1a47-43a8-9980-631e1f71ce11", + "type": "graph/output", + "pos": [ + 410, + 51 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "48bf0ac5-fc6a-41f4-896e-4f25f7a3a2d9", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "height", + "type": "number", + "subgraphID": "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", + "tags": [] + } + }, + { + "id": "e770fe92-5bba-4192-9744-4f45c64d8f11", + "type": "actions/swap", + "pos": [ + 200, + -3 + ], + "size": [ + 140, + 66 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "52220d37-ee8a-46be-95dc-ecf7c3591eae", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "18f4e925-e07a-4f3c-ad0b-c3dac88c8a8d", + "properties": {} + }, + { + "name": "swap", + "type": -1, + "link": "aa76cccd-1c29-4336-a5fe-c2c7470ef4cd", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "B", + "type": -2, + "links": [ + "c8b56de0-d7e4-444f-9cba-d9bfe820cce0" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "A", + "type": -2, + "links": [ + "a8710f7a-5b61-4148-9ade-e3504d8bd962" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Comfy.SwapAction", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "760a76a9-1784-4c0a-a107-caec9d5ba23b", + "type": "ui/number", + "pos": [ + 47, + 16 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "c8b56de0-d7e4-444f-9cba-d9bfe820cce0", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "52220d37-ee8a-46be-95dc-ecf7c3591eae", + "8a4da085-5cc2-441a-ab97-69a499db00f6" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [ + "hr", + "hrPixelSize" + ], + "defaultValue": 512, + "min": 64, + "max": 2048, + "step": 64, + "precision": 0 + }, + "widgets_values": [ + "512.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 512, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "e895b0ce-8df2-42fc-8618-c8b713ca4747", + "type": "ui/number", + "pos": [ + 45, + 49 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": "a8710f7a-5b61-4148-9ade-e3504d8bd962", + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "18f4e925-e07a-4f3c-ad0b-c3dac88c8a8d", + "48bf0ac5-fc6a-41f4-896e-4f25f7a3a2d9" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [ + "hr", + "hrPixelSize" + ], + "defaultValue": 512, + "min": 64, + "max": 2048, + "step": 64, + "precision": 0 + }, + "widgets_values": [ + "512.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 512, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "060493ab-465d-4705-935e-2e53506b2369", + "type": "ui/button", + "pos": [ + 28, + 85 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 2, + "inputs": [], + "outputs": [ + { + "name": "clicked", + "type": -2, + "links": [ + "aa76cccd-1c29-4336-a5fe-c2c7470ef4cd" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + } + ], + "title": "UI.Button", + "properties": { + "tags": [ + "hr", + "hrPixelSize" + ], + "defaultValue": false, + "param": "bang" + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + } + ], + "links": [ + [ + "52220d37-ee8a-46be-95dc-ecf7c3591eae", + "760a76a9-1784-4c0a-a107-caec9d5ba23b", + 0, + "e770fe92-5bba-4192-9744-4f45c64d8f11", + 0, + "*" + ], + [ + "18f4e925-e07a-4f3c-ad0b-c3dac88c8a8d", + "e895b0ce-8df2-42fc-8618-c8b713ca4747", + 0, + "e770fe92-5bba-4192-9744-4f45c64d8f11", + 1, + "*" + ], + [ + "aa76cccd-1c29-4336-a5fe-c2c7470ef4cd", + "060493ab-465d-4705-935e-2e53506b2369", + 0, + "e770fe92-5bba-4192-9744-4f45c64d8f11", + 2, + -1 + ], + [ + "a8710f7a-5b61-4148-9ade-e3504d8bd962", + "e770fe92-5bba-4192-9744-4f45c64d8f11", + 1, + "e895b0ce-8df2-42fc-8618-c8b713ca4747", + 0, + -1 + ], + [ + "c8b56de0-d7e4-444f-9cba-d9bfe820cce0", + "e770fe92-5bba-4192-9744-4f45c64d8f11", + 0, + "760a76a9-1784-4c0a-a107-caec9d5ba23b", + 0, + -1 + ], + [ + "8a4da085-5cc2-441a-ab97-69a499db00f6", + "760a76a9-1784-4c0a-a107-caec9d5ba23b", + 0, + "6a4aa170-b899-4246-9941-73737a151fa3", + 0, + "number" + ], + [ + "48bf0ac5-fc6a-41f4-896e-4f25f7a3a2d9", + "e895b0ce-8df2-42fc-8618-c8b713ca4747", + 0, + "31c57d04-1a47-43a8-9980-631e1f71ce11", + 0, + "number" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "df4ba5a6-ad14-4689-9c60-448e4967c90c", + "type": "events/filter", + "pos": [ + 1379.0263629882813, + -744.5000000000001 + ], + "size": [ + 210, + 150 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "event", + "type": -1, + "link": "6feaa2b5-64ea-4923-b7a9-bcfd6554ab19", + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "compare_value", + "type": "*", + "link": "304ce158-7b36-4320-9864-8d07344f63b0", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "accept", + "type": -2, + "links": [ + "6cbb38f4-6421-4638-95ff-a741940c16ad" + ], + "properties": {}, + "shape": 1 + }, + { + "name": "reject", + "type": -2, + "links": [ + "7fde6a31-c3aa-4ca9-ad1a-800b27a400d3" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "Filter Event", + "properties": { + "compareValue": true, + "propertyName": "", + "mode": "param", + "operation": "==", + "tags": [] + } + }, + { + "id": "c9bce373-fa36-4b2a-9fbb-72e7fa476025", + "type": "basic/boolean", + "pos": [ + 1290.0263629882813, + -699.5000000000001 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "bool", + "type": "boolean", + "links": [ + "304ce158-7b36-4320-9864-8d07344f63b0" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Const Boolean", + "properties": { + "value": true, + "tags": [] + } + }, + { + "id": "2435034b-6c0c-4330-860e-247924dd5a4c", + "type": "actions/set_node_mode_advanced", + "pos": [ + 1356, + -398 + ], + "size": [ + 260.4, + 102 + ], + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "enabled", + "type": "boolean", + "link": null, + "properties": {} + }, + { + "name": "set", + "type": -1, + "link": "7fde6a31-c3aa-4ca9-ad1a-800b27a400d3", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.SetNodeModeAdvancedAction", + "properties": { + "targetTags": [ + { + "tag": "hrScaleSize", + "enable": false + }, + { + "tag": "hrPixelSize", + "enable": true + } + ], + "enable": true, + "tags": [] + }, + "boxcolor": "#666", + "saveUserState": true + }, + { + "id": "f26dbd56-16e8-4248-9cc8-74b19863cfb6", + "type": "actions/set_node_mode_advanced", + "pos": [ + 1351, + -551 + ], + "size": [ + 260.4, + 102 + ], + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "enabled", + "type": "boolean", + "link": null, + "properties": {} + }, + { + "name": "set", + "type": -1, + "link": "6cbb38f4-6421-4638-95ff-a741940c16ad", + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "outputs": [], + "title": "Comfy.SetNodeModeAdvancedAction", + "properties": { + "targetTags": [ + { + "tag": "hrScaleSize", + "enable": true + }, + { + "tag": "hrPixelSize", + "enable": false + } + ], + "enable": true, + "tags": [] + }, + "boxcolor": "#666", + "saveUserState": true + }, + { + "id": "3ae03484-08e1-4fde-8ff9-47e6250f49d3", + "type": "ui/checkbox", + "pos": [ + 1109, + -601 + ], + "size": [ + 210, + 78 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "boolean", + "links": [], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [ + "6feaa2b5-64ea-4923-b7a9-bcfd6554ab19" + ], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Checkbox", + "properties": { + "tags": [], + "defaultValue": false + }, + "widgets_values": [ + "true" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": true, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "3baf6d47-78cb-4698-be9a-77d66cb636e4", + "type": "graph/input", + "pos": [ + 70, + 179 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "links": [ + "afd82e76-7f9d-4176-adbc-bb3bcfd5e47e", + "464e2e44-d973-4701-b6c7-258304d48f5e", + "f0741048-991e-4cdb-9fad-2baced82a2d7" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "image", + "type": "string", + "value": "", + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "6d957ff0-8932-45e2-9712-d85d639729ed", + "type": "basic/is_null", + "pos": [ + 43.376408715251735, + -113.76709241172048 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "*", + "link": "464e2e44-d973-4701-b6c7-258304d48f5e", + "properties": {} + } + ], + "outputs": [ + { + "name": "is_null", + "type": "boolean", + "links": [ + "97f565f4-b48b-40d3-91ee-d47f68a9b373" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "== Null", + "properties": { + "strictEquality": false, + "tags": [] + } + }, + { + "id": "eef31822-d423-4b55-983c-d9b7439b194e", + "type": "basic/CompareValues", + "pos": [ + 33.37640871525173, + -80.76709241172048 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": 0, + "link": "f0741048-991e-4cdb-9fad-2baced82a2d7", + "properties": {} + }, + { + "name": "B", + "type": 0, + "link": "db985b2d-bbe4-4601-8199-6127335904cf", + "properties": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "true", + "type": "boolean", + "links": [ + "dce5e24f-e898-4b03-9efa-0122e4bef771" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "false", + "type": "boolean", + "links": [], + "properties": {} + } + ], + "title": "GenericCompare", + "properties": { + "A": null, + "B": "", + "OP": "==", + "enabled": true, + "tags": [] + } + }, + { + "id": "6adceb60-ae44-4544-a149-e45e82767ad4", + "type": "basic/string", + "pos": [ + -31.623591284748287, + -78.76709241172048 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "string", + "type": "string", + "links": [ + "db985b2d-bbe4-4601-8199-6127335904cf" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Const String", + "properties": { + "value": "", + "tags": [] + } + }, + { + "id": "b3ba21f5-95f6-4d60-85b5-0bc9c53e6ec8", + "type": "logic/NOT", + "pos": [ + 139.37640871525167, + -113.76709241172048 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "boolean", + "link": "97f565f4-b48b-40d3-91ee-d47f68a9b373", + "properties": {} + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "3ad98d1f-c637-47c2-a4bc-c95a5957e8ab" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "NOT", + "properties": { + "tags": [] + } + }, + { + "id": "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + "type": "KSampler", + "pos": [ + 752, + 95 + ], + "size": [ + 161.2, + 206 + ], + "flags": {}, + "order": 43, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "6494ccd2-651f-4c4f-b439-bc26997ecc4c", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "seed", + "type": "number", + "link": "54713e33-bc69-437e-826d-8003a4847b04", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true, + "slot_index": 1 + }, + { + "name": "steps", + "type": "number", + "link": "23d7ea2c-9b9b-4339-b5ab-9602654317c0", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true, + "slot_index": 2 + }, + { + "name": "cfg", + "type": "number", + "link": "c5c4aa54-c6cb-4f4d-8600-9fea6ba21194", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true, + "slot_index": 3 + }, + { + "name": "sampler_name", + "type": "string", + "link": "3495f139-629e-4ff2-8f40-af27de6ca393", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true, + "slot_index": 4 + }, + { + "name": "scheduler", + "type": "string", + "link": "4caca8dd-4c69-410e-8df9-58c2ec868302", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true, + "slot_index": 5 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": "53a2dedf-850b-47d7-9bd7-5abc3b83c6aa", + "properties": {}, + "slot_index": 6, + "config": {} + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": "f970330a-6fe5-4e68-b944-a1bb6661a997", + "properties": {}, + "slot_index": 7, + "config": {} + }, + { + "name": "latent_image", + "type": "LATENT", + "link": "ca39f644-a58b-428f-b3ee-f3f600316979", + "properties": {}, + "config": {} + }, + { + "name": "denoise", + "type": "number", + "link": "363012c8-1a37-4c4c-adee-de52958ef49c", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true, + "slot_index": 9 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + "a35b997f-4fc7-4842-8713-afd26d7b4ea8" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "KSampler", + "properties": { + "tags": [ + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "5811add3-c3e2-44b7-83f5-9cb9f75c385e", + "type": "utils/pick_first", + "pos": [ + 351, + 425 + ], + "size": [ + 210, + 122 + ], + "flags": { + "collapsed": true + }, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "c28cc938-304d-4fca-92b0-f132739ba33a", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "2486cdf8-cc57-45cc-82bc-30eeca736f0f", + "properties": {} + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + "44a6f57c-1035-4d3c-a87a-a5d8f1326c57" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [ + "hr" + ], + "mode": "dataNonNull" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "f2e278f2-d48a-49a8-8513-fd705ac566c5", + "type": "utils/pick_first", + "pos": [ + 353, + 449 + ], + "size": [ + 210, + 122 + ], + "flags": { + "collapsed": true + }, + "order": 36, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "47a6d9fb-7157-47c4-b2bf-79dad3ba49ba", + "properties": {} + }, + { + "name": "B", + "type": "*", + "link": "83217cc8-be20-4337-9851-59b2fa5d52db", + "properties": {} + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "*", + "links": [ + "07e30e7f-d301-4a05-a0d2-06bc54975323" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [ + "hr" + ], + "mode": "dataNonNull" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "3c32f0ff-d950-4c7a-a257-91324f3668b2", + "type": "graph/subgraph", + "pos": [ + 84, + 423 + ], + "size": [ + 200, + 50 + ], + "flags": { + "collapsed": false + }, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "height", + "type": "number", + "link": "0d6eb900-712d-4b5f-a29b-eb17cb79e844", + "properties": {} + }, + { + "name": "width", + "type": "number", + "link": "0824441f-157f-41fb-a1c2-66013f020194", + "properties": {} + } + ], + "outputs": [ + { + "name": "height", + "type": "number", + "links": [ + "47a6d9fb-7157-47c4-b2bf-79dad3ba49ba" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "width", + "type": "number", + "links": [ + "c28cc938-304d-4fca-92b0-f132739ba33a" + ], + "properties": {}, + "slot_index": 1 + } + ], + "title": "Scale By Slider", + "properties": { + "enabled": true, + "tags": [ + "hr", + "hrScaleSize" + ] + }, + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "49c1a535-4c3d-4e09-b64e-40f8d1c024d8", + "type": "graph/input", + "pos": [ + 408.0700000000001, + 403.89 + ], + "size": [ + 210, + 86 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "c87429e4-204c-40cc-8053-5668c10792e7" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "height", + "type": "number", + "value": 0, + "subgraphID": "3c32f0ff-d950-4c7a-a257-91324f3668b2", + "tags": [] + } + }, + { + "id": "cce110a1-94dd-4f4e-8337-f44c8c13dac6", + "type": "math/operation", + "pos": [ + 884, + 402 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "number,array,object", + "link": "c87429e4-204c-40cc-8053-5668c10792e7", + "properties": {}, + "slot_index": 0 + }, + { + "name": "B", + "type": "number", + "link": "5b00f682-1dcc-49e0-b0ee-cf1174fd8615", + "properties": {} + } + ], + "outputs": [ + { + "name": "=", + "type": "number", + "links": [ + "7fa6b0be-2e63-47c2-abb4-93b6d09a51b7" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Operation", + "properties": { + "A": 0, + "B": 2, + "OP": "*", + "tags": [] + } + }, + { + "id": "da389077-c937-483f-b688-4ef954561465", + "type": "math/operation", + "pos": [ + 881, + 329 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "number,array,object", + "link": "2d27a8b9-7e1b-4394-9d57-ec8806420222", + "properties": {}, + "slot_index": 0 + }, + { + "name": "B", + "type": "number", + "link": "43e3da1c-68c9-43e6-917b-62b0326233ff", + "properties": {} + } + ], + "outputs": [ + { + "name": "=", + "type": "number", + "links": [ + "eec77bcd-6dfd-431e-9d47-fe0a1231764d" + ], + "properties": {} + } + ], + "title": "Operation", + "properties": { + "A": 0, + "B": 2, + "OP": "*", + "tags": [] + } + }, + { + "id": "772f92b1-4233-4d95-b590-99db6c857e83", + "type": "math/floor", + "pos": [ + 966, + 405 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "number", + "link": "7fa6b0be-2e63-47c2-abb4-93b6d09a51b7", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": "number", + "links": [ + "3efab7e4-fce6-4b3d-9dca-01939f9177ee", + "ea8d6ce9-4028-4249-ac73-0a04c8daee73" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Floor", + "properties": { + "tags": [] + } + }, + { + "id": "9dbf5f21-3c1c-4215-ae88-3486eb335737", + "type": "math/floor", + "pos": [ + 967, + 331 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "number", + "link": "eec77bcd-6dfd-431e-9d47-fe0a1231764d", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": "number", + "links": [ + "a1b7ae71-e599-4723-af13-d405000029b9", + "8e096bea-8581-4edc-9432-1f5637ceaba5" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Floor", + "properties": { + "tags": [] + } + }, + { + "id": "8d0a8180-4e86-415a-8807-c12838513482", + "type": "graph/output", + "pos": [ + 1220, + 378 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "ea8d6ce9-4028-4249-ac73-0a04c8daee73", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "height", + "type": "number", + "subgraphID": "3c32f0ff-d950-4c7a-a257-91324f3668b2", + "tags": [] + } + }, + { + "id": "d90e9948-0d2b-4c96-b919-4513248c0008", + "type": "graph/output", + "pos": [ + 1222, + 277 + ], + "size": [ + 210, + 62 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "number", + "link": "8e096bea-8581-4edc-9432-1f5637ceaba5", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "width", + "type": "number", + "subgraphID": "3c32f0ff-d950-4c7a-a257-91324f3668b2", + "tags": [] + } + }, + { + "id": "a5226375-a5bb-450c-b7ad-6ba353125c58", + "type": "graph/input", + "pos": [ + 410, + 278 + ], + "size": [ + 210, + 86 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "2d27a8b9-7e1b-4394-9d57-ec8806420222" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "width", + "type": "number", + "value": 0, + "subgraphID": "3c32f0ff-d950-4c7a-a257-91324f3668b2", + "tags": [] + } + }, + { + "id": "26e28942-e1f0-486d-8e22-d97016c1fc89", + "type": "ui/number", + "pos": [ + 680, + 370 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "43e3da1c-68c9-43e6-917b-62b0326233ff", + "5b00f682-1dcc-49e0-b0ee-cf1174fd8615" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [ + "hr", + "hrScaleSize" + ], + "defaultValue": 0, + "min": 1, + "max": 4, + "step": 0.05, + "precision": 1 + }, + "widgets_values": [ + "2.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 2, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "cd542742-1fcf-4ec7-9c42-01abdf6948e9", + "type": "string/toString", + "pos": [ + 1005, + 235 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "", + "link": "a1b7ae71-e599-4723-af13-d405000029b9", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": "string", + "links": [ + "b000f774-8d8f-4742-b1fd-89dfc7879566" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "ToString", + "properties": { + "tags": [] + } + }, + { + "id": "e9800a0c-7e3c-4b0f-ab24-d80e877ec065", + "type": "string/toString", + "pos": [ + 1020, + 473 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "", + "link": "3efab7e4-fce6-4b3d-9dca-01939f9177ee", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "out", + "type": "string", + "links": [ + "5257c68e-98e8-4e28-9fce-5a2e2923a20b" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "ToString", + "properties": { + "tags": [] + } + }, + { + "id": "16b6d36c-edd8-4349-a0f4-9dad35b041ae", + "type": "ui/text", + "pos": [ + 1128, + 473 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "string", + "link": "5257c68e-98e8-4e28-9fce-5a2e2923a20b", + "properties": {}, + "slot_index": 0 + }, + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Text", + "properties": { + "tags": [ + "hr", + "hrScaleSize" + ], + "defaultValue": "", + "multiline": false + }, + "widgets_values": [ + "0" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "0", + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "ce81af45-6815-4878-8bf2-ccbc5c620e31", + "type": "ui/text", + "pos": [ + 1108, + 233 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "value", + "type": "string", + "link": "b000f774-8d8f-4742-b1fd-89dfc7879566", + "properties": {} + }, + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Text", + "properties": { + "tags": [ + "hr", + "hrScaleSize" + ], + "defaultValue": "", + "multiline": false + }, + "widgets_values": [ + "0" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": "0", + "shownOutputProperties": {}, + "saveUserState": true + } + ], + "links": [ + [ + "43e3da1c-68c9-43e6-917b-62b0326233ff", + "26e28942-e1f0-486d-8e22-d97016c1fc89", + 0, + "da389077-c937-483f-b688-4ef954561465", + 1, + "number" + ], + [ + "5b00f682-1dcc-49e0-b0ee-cf1174fd8615", + "26e28942-e1f0-486d-8e22-d97016c1fc89", + 0, + "cce110a1-94dd-4f4e-8337-f44c8c13dac6", + 1, + "number" + ], + [ + "2d27a8b9-7e1b-4394-9d57-ec8806420222", + "a5226375-a5bb-450c-b7ad-6ba353125c58", + 0, + "da389077-c937-483f-b688-4ef954561465", + 0, + "number" + ], + [ + "c87429e4-204c-40cc-8053-5668c10792e7", + "49c1a535-4c3d-4e09-b64e-40f8d1c024d8", + 0, + "cce110a1-94dd-4f4e-8337-f44c8c13dac6", + 0, + "number" + ], + [ + "7fa6b0be-2e63-47c2-abb4-93b6d09a51b7", + "cce110a1-94dd-4f4e-8337-f44c8c13dac6", + 0, + "772f92b1-4233-4d95-b590-99db6c857e83", + 0, + "number" + ], + [ + "eec77bcd-6dfd-431e-9d47-fe0a1231764d", + "da389077-c937-483f-b688-4ef954561465", + 0, + "9dbf5f21-3c1c-4215-ae88-3486eb335737", + 0, + "number" + ], + [ + "a1b7ae71-e599-4723-af13-d405000029b9", + "9dbf5f21-3c1c-4215-ae88-3486eb335737", + 0, + "cd542742-1fcf-4ec7-9c42-01abdf6948e9", + 0, + "number" + ], + [ + "3efab7e4-fce6-4b3d-9dca-01939f9177ee", + "772f92b1-4233-4d95-b590-99db6c857e83", + 0, + "e9800a0c-7e3c-4b0f-ab24-d80e877ec065", + 0, + "number" + ], + [ + "ea8d6ce9-4028-4249-ac73-0a04c8daee73", + "772f92b1-4233-4d95-b590-99db6c857e83", + 0, + "8d0a8180-4e86-415a-8807-c12838513482", + 0, + "number" + ], + [ + "8e096bea-8581-4edc-9432-1f5637ceaba5", + "9dbf5f21-3c1c-4215-ae88-3486eb335737", + 0, + "d90e9948-0d2b-4c96-b919-4513248c0008", + 0, + "number" + ], + [ + "b000f774-8d8f-4742-b1fd-89dfc7879566", + "cd542742-1fcf-4ec7-9c42-01abdf6948e9", + 0, + "ce81af45-6815-4878-8bf2-ccbc5c620e31", + 0, + "string" + ], + [ + "5257c68e-98e8-4e28-9fce-5a2e2923a20b", + "e9800a0c-7e3c-4b0f-ab24-d80e877ec065", + 0, + "16b6d36c-edd8-4349-a0f4-9dad35b041ae", + 0, + "string" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } + }, + { + "id": "db6e3af5-a5a9-405b-91c6-8d8aef19b7b2", + "type": "graph/input", + "pos": [ + -32, + 475 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 19, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "0d6eb900-712d-4b5f-a29b-eb17cb79e844" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "height", + "type": "number", + "value": 0, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "186971da-ed44-4d15-b66f-99196e0968d9", + "type": "utils/reroute", + "pos": [ + 916, + 7 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": "c36105ab-4457-4086-be92-5d9c5cfb357d", + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "number", + "links": [], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.Reroute", + "properties": { + "tags": [ + "hr" + ], + "showOutputText": false, + "horizontal": false, + "ignoreTypes": false + }, + "saveUserState": true + }, + { + "id": "26f95ae7-d422-4555-bf69-7de7ef3de87b", + "type": "ui/number", + "pos": [ + 305.2727272727274, + 311.2727272727269 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "b18981ac-984d-4797-97ec-9ce677abb3b2" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + }, + { + "name": "@min", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@max", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@step", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "@precision", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "UI.Number", + "properties": { + "tags": [], + "defaultValue": 1, + "min": 1, + "max": 16, + "step": 1, + "precision": 0 + }, + "widgets_values": [ + "1.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 1, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "802b653e-584c-4d18-874c-b8b66485c801", + "type": "LatentUpscale", + "pos": [ + 498, + 359 + ], + "size": [ + 178, + 106 + ], + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": "01d6858a-4a85-40e6-8cfb-347cf69aa26a", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "upscale_method", + "type": "string", + "link": "2f254406-6615-4781-b6fa-dc736e06d1e2", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + }, + { + "name": "width", + "type": "number", + "link": "44a6f57c-1035-4d3c-a87a-a5d8f1326c57", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "height", + "type": "number", + "link": "07e30e7f-d301-4a05-a0d2-06bc54975323", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + }, + { + "name": "crop", + "type": "string", + "link": "7a2601c6-4e43-4cfc-9994-784bdcb13d63", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + "ca39f644-a58b-428f-b3ee-f3f600316979" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "Upscale Latent", + "properties": { + "tags": [ + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "f7defa19-6e11-412a-a1ba-7738596e4754", + "type": "RepeatLatentBatch", + "pos": [ + 438, + 269 + ], + "size": [ + 159.6, + 46 + ], + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": "e743c359-26a4-4596-952f-72a4836b68e8", + "properties": {}, + "config": {} + }, + { + "name": "amount", + "type": "number", + "link": "b18981ac-984d-4797-97ec-9ce677abb3b2", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + "01d6858a-4a85-40e6-8cfb-347cf69aa26a" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "Repeat Latent Batch", + "properties": { + "tags": [ + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "2da624e1-3555-4e15-924f-f83650ba1301", + "type": "events/branch", + "pos": [ + 414, + -146 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 44, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": -1, + "link": "2178013c-b1fb-4f11-bea5-df2be5578b1c", + "properties": {}, + "shape": 1 + }, + { + "name": "cond", + "type": "boolean", + "link": "6f9deae0-4349-4ed3-b8c4-86a3f5fb4476", + "properties": {} + } + ], + "outputs": [ + { + "name": "true", + "type": -2, + "links": [ + "126a645d-bc14-4bf6-ad06-ce0599037868", + "e93ebb6d-0d98-4ce1-9348-880556c8254e" + ], + "properties": {}, + "shape": 1, + "slot_index": 0 + }, + { + "name": "false", + "type": -2, + "links": [ + "8f73a986-05df-481d-8997-72e67d71637a" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "Branch", + "properties": { + "tags": [] + } + }, + { + "id": "56144161-2e68-42fa-b955-88ea8dced157", + "type": "logic/AND", + "pos": [ + 345, + -96 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 42, + "mode": 0, + "inputs": [ + { + "name": "a", + "type": "boolean", + "link": "b4f3aac1-5179-4c60-a265-0edb68bbe148", + "properties": {} + }, + { + "name": "b", + "type": "boolean", + "link": "08df5eb9-125e-407f-b72f-3dc27a4c32ea", + "properties": {} + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "6f9deae0-4349-4ed3-b8c4-86a3f5fb4476" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "AND", + "properties": { + "tags": [] + } + }, + { + "id": "176f5889-ed85-4673-bda6-ad7c16b5f242", + "type": "logic/AND", + "pos": [ + 246, + -96 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 40, + "mode": 0, + "inputs": [ + { + "name": "a", + "type": "boolean", + "link": "3ad98d1f-c637-47c2-a4bc-c95a5957e8ab", + "properties": {} + }, + { + "name": "b", + "type": "boolean", + "link": "6259c8bd-edb0-4118-b0f9-36b82189b6df", + "properties": {} + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "08df5eb9-125e-407f-b72f-3dc27a4c32ea" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "AND", + "properties": { + "tags": [] + } + }, + { + "id": "189bd380-0869-4422-9782-435229f3bb1d", + "type": "logic/NOT", + "pos": [ + 132, + -81 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "boolean", + "link": "dce5e24f-e898-4b03-9efa-0122e4bef771", + "properties": {} + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "6259c8bd-edb0-4118-b0f9-36b82189b6df" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "NOT", + "properties": { + "tags": [] + } + }, + { + "id": "af9372d2-64a4-4e70-a1fb-ece84d362cba", + "type": "logic/NOT", + "pos": [ + 127, + -47 + ], + "size": [ + 140, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "in", + "type": "boolean", + "link": "2e18ff0e-aa86-46b8-9e87-4f60cdc29c5b", + "properties": {} + } + ], + "outputs": [ + { + "name": "out", + "type": "boolean", + "links": [ + "b4f3aac1-5179-4c60-a265-0edb68bbe148" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "NOT", + "properties": { + "tags": [] + } + }, + { + "id": "c1a6ffdf-07c2-4d1b-a83e-bdafc00b9e72", + "type": "math/approx_eq", + "pos": [ + 6, + -45 + ], + "size": [ + 140, + 66 + ], + "flags": { + "collapsed": true + }, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "number", + "link": "0a35ade9-7212-420c-b8d7-22607682e086", + "properties": {} + }, + { + "name": "B", + "type": "number", + "link": "25bcbe05-5ce2-43cf-b496-d453fdce40d2", + "properties": {}, + "slot_index": 1 + }, + { + "name": "epsilon", + "type": "number", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "true", + "type": "boolean", + "links": [ + "2e18ff0e-aa86-46b8-9e87-4f60cdc29c5b" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "false", + "type": "boolean", + "links": [], + "properties": {} + } + ], + "title": "Approx. Eq", + "properties": { + "tags": [] + } + }, + { + "id": "33d088ba-ad04-4b71-9a37-171521ef5443", + "type": "basic/number", + "pos": [ + -60, + -44 + ], + "size": [ + 210, + 38 + ], + "flags": { + "collapsed": true + }, + "order": 21, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "25bcbe05-5ce2-43cf-b496-d453fdce40d2" + ], + "properties": {}, + "label": "0.000" + } + ], + "title": "Const Number", + "properties": { + "value": 0, + "tags": [] + } + }, + { + "id": "2b453f7d-e511-4531-aa60-72cea33dd183", + "type": "graph/input", + "pos": [ + 347, + 32 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 22, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "VAE", + "links": [ + "b48b7fdb-0128-492f-b5e2-839b51777dfa", + "c36105ab-4457-4086-be92-5d9c5cfb357d", + "0f7d6ecf-0309-4244-9d37-56f2a6c6109d" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "vae", + "type": "VAE", + "value": null, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + }, + { + "id": "ca3b8dec-bf22-48d3-a63f-4b5c40eb6be3", + "type": "VAEEncode", + "pos": [ + 406, + 163 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": "75ca312d-59fc-47f7-956e-86cf03ec744f", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "vae", + "type": "VAE", + "link": "b48b7fdb-0128-492f-b5e2-839b51777dfa", + "properties": {}, + "slot_index": 1, + "config": {} + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + "e743c359-26a4-4596-952f-72a4836b68e8" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "VAE Encode", + "properties": { + "tags": [ + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "d1316cca-081d-4e6a-857e-958d796580e7", + "type": "VAEDecode", + "pos": [ + 1051, + 93 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": "a35b997f-4fc7-4842-8713-afd26d7b4ea8", + "properties": {}, + "config": {} + }, + { + "name": "vae", + "type": "VAE", + "link": "0f7d6ecf-0309-4244-9d37-56f2a6c6109d", + "properties": {}, + "config": {}, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + "928ac2b7-3d97-443b-8c21-84ba1bd0ae54" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "VAE Decode", + "properties": { + "tags": [ + "hr" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "4f24d51e-f352-4d47-b276-bafd200e11de", + "type": "graph/input", + "pos": [ + -30, + 446 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 23, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "0824441f-157f-41fb-a1c2-66013f020194", + "0a35ade9-7212-420c-b8d7-22607682e086" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "width", + "type": "number", + "value": 0, + "subgraphID": "de5f256a-91ab-42c2-86cd-645066b3c714", + "tags": [] + } + } + ], + "links": [ + [ + "afd82e76-7f9d-4176-adbc-bb3bcfd5e47e", + "3baf6d47-78cb-4698-be9a-77d66cb636e4", + 0, + "389aeb57-a635-401d-9672-34aedc14f736", + 0, + "string" + ], + [ + "6494ccd2-651f-4c4f-b439-bc26997ecc4c", + "f7f51185-b2d8-46ac-8605-83051b972ad3", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 0, + "MODEL" + ], + [ + "54713e33-bc69-437e-826d-8003a4847b04", + "271fb970-b797-45bc-b01d-a921f07033b7", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 1, + "number" + ], + [ + "23d7ea2c-9b9b-4339-b5ab-9602654317c0", + "b25be03c-47a0-4bab-bd7d-dff944763286", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 2, + "number" + ], + [ + "c5c4aa54-c6cb-4f4d-8600-9fea6ba21194", + "e5b933b8-c925-4c93-b1d3-14034a3a2b58", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 3, + "number" + ], + [ + "3495f139-629e-4ff2-8f40-af27de6ca393", + "ea3d61d2-53cb-445c-aed4-0e71db9375fa", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 4, + "string" + ], + [ + "4caca8dd-4c69-410e-8df9-58c2ec868302", + "0b3a21e4-914e-4948-9a00-f1153a65cd66", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 5, + "string" + ], + [ + "53a2dedf-850b-47d7-9bd7-5abc3b83c6aa", + "a9b42639-2d98-4af1-b4ad-051e9600f352", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 6, + "CONDITIONING" + ], + [ + "f970330a-6fe5-4e68-b944-a1bb6661a997", + "f1a592df-59b5-4011-a3b2-1e11a5c5d17c", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 7, + "CONDITIONING" + ], + [ + "75ca312d-59fc-47f7-956e-86cf03ec744f", + "389aeb57-a635-401d-9672-34aedc14f736", + 0, + "ca3b8dec-bf22-48d3-a63f-4b5c40eb6be3", + 0, + "IMAGE" + ], + [ + "b48b7fdb-0128-492f-b5e2-839b51777dfa", + "2b453f7d-e511-4531-aa60-72cea33dd183", + 0, + "ca3b8dec-bf22-48d3-a63f-4b5c40eb6be3", + 1, + "VAE" + ], + [ + "2f254406-6615-4781-b6fa-dc736e06d1e2", + "fcfb2720-0382-4ca0-bc77-e820858db088", + 0, + "802b653e-584c-4d18-874c-b8b66485c801", + 1, + "string" + ], + [ + "7a2601c6-4e43-4cfc-9994-784bdcb13d63", + "3e63c209-da43-42d3-8785-ff6db26868e1", + 0, + "802b653e-584c-4d18-874c-b8b66485c801", + 4, + "string" + ], + [ + "ca39f644-a58b-428f-b3ee-f3f600316979", + "802b653e-584c-4d18-874c-b8b66485c801", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 8, + "LATENT" + ], + [ + "363012c8-1a37-4c4c-adee-de52958ef49c", + "ce549cfe-41ca-4499-8c8f-f3acd411b92c", + 0, + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 9, + "number" + ], + [ + "a35b997f-4fc7-4842-8713-afd26d7b4ea8", + "936b2589-6acc-46b0-8c23-7bdb9b82e75c", + 0, + "d1316cca-081d-4e6a-857e-958d796580e7", + 0, + "LATENT" + ], + [ + "c36105ab-4457-4086-be92-5d9c5cfb357d", + "2b453f7d-e511-4531-aa60-72cea33dd183", + 0, + "186971da-ed44-4d15-b66f-99196e0968d9", + 0, + "VAE" + ], + [ + "928ac2b7-3d97-443b-8c21-84ba1bd0ae54", + "d1316cca-081d-4e6a-857e-958d796580e7", + 0, + "10abd4b1-756f-462d-a95e-f557805accef", + 0, + "IMAGE" + ], + [ + "464e2e44-d973-4701-b6c7-258304d48f5e", + "3baf6d47-78cb-4698-be9a-77d66cb636e4", + 0, + "6d957ff0-8932-45e2-9712-d85d639729ed", + 0, + "string" + ], + [ + "97f565f4-b48b-40d3-91ee-d47f68a9b373", + "6d957ff0-8932-45e2-9712-d85d639729ed", + 0, + "b3ba21f5-95f6-4d60-85b5-0bc9c53e6ec8", + 0, + "boolean" + ], + [ + "2178013c-b1fb-4f11-bea5-df2be5578b1c", + "c10a25d1-3f64-4cb3-847c-684dd97ec516", + 0, + "2da624e1-3555-4e15-924f-f83650ba1301", + 0, + -1 + ], + [ + "8f73a986-05df-481d-8997-72e67d71637a", + "2da624e1-3555-4e15-924f-f83650ba1301", + 1, + "add70fa6-27cf-445a-bcb2-4fdc6857da97", + 1, + -1 + ], + [ + "b2ebce1b-346a-4d4e-87c1-2589aa2f6e8e", + "f48a7c93-0ede-432b-95d0-13ffbdb53ed6", + 0, + "add70fa6-27cf-445a-bcb2-4fdc6857da97", + 0, + "string" + ], + [ + "126a645d-bc14-4bf6-ad06-ce0599037868", + "2da624e1-3555-4e15-924f-f83650ba1301", + 0, + "711b0ea5-ab0c-46d1-8ad0-583bd3307498", + 0, + -1 + ], + [ + "0d48dee8-f59d-44de-9b5f-e7d7568b7c5f", + "9c471580-d0a2-42a3-91e8-adc007dc32ec", + 0, + "33285152-0904-4cb9-a533-08d40b36117a", + 0, + "string" + ], + [ + "e93ebb6d-0d98-4ce1-9348-880556c8254e", + "2da624e1-3555-4e15-924f-f83650ba1301", + 0, + "33285152-0904-4cb9-a533-08d40b36117a", + 1, + -1 + ], + [ + "c28cc938-304d-4fca-92b0-f132739ba33a", + "3c32f0ff-d950-4c7a-a257-91324f3668b2", + 1, + "5811add3-c3e2-44b7-83f5-9cb9f75c385e", + 0, + "*" + ], + [ + "2486cdf8-cc57-45cc-82bc-30eeca736f0f", + "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", + 0, + "5811add3-c3e2-44b7-83f5-9cb9f75c385e", + 1, + "*" + ], + [ + "83217cc8-be20-4337-9851-59b2fa5d52db", + "5ed14352-4cc1-4b49-ac3a-acc42c2fbd4f", + 1, + "f2e278f2-d48a-49a8-8513-fd705ac566c5", + 1, + "*" + ], + [ + "47a6d9fb-7157-47c4-b2bf-79dad3ba49ba", + "3c32f0ff-d950-4c7a-a257-91324f3668b2", + 0, + "f2e278f2-d48a-49a8-8513-fd705ac566c5", + 0, + "*" + ], + [ + "44a6f57c-1035-4d3c-a87a-a5d8f1326c57", + "5811add3-c3e2-44b7-83f5-9cb9f75c385e", + 0, + "802b653e-584c-4d18-874c-b8b66485c801", + 2, + "number" + ], + [ + "07e30e7f-d301-4a05-a0d2-06bc54975323", + "f2e278f2-d48a-49a8-8513-fd705ac566c5", + 0, + "802b653e-584c-4d18-874c-b8b66485c801", + 3, + "number" + ], + [ + "6feaa2b5-64ea-4923-b7a9-bcfd6554ab19", + "3ae03484-08e1-4fde-8ff9-47e6250f49d3", + 1, + "df4ba5a6-ad14-4689-9c60-448e4967c90c", + 0, + -1 + ], + [ + "304ce158-7b36-4320-9864-8d07344f63b0", + "c9bce373-fa36-4b2a-9fbb-72e7fa476025", + 0, + "df4ba5a6-ad14-4689-9c60-448e4967c90c", + 1, + "*" + ], + [ + "6cbb38f4-6421-4638-95ff-a741940c16ad", + "df4ba5a6-ad14-4689-9c60-448e4967c90c", + 0, + "f26dbd56-16e8-4248-9cc8-74b19863cfb6", + 1, + -1 + ], + [ + "7fde6a31-c3aa-4ca9-ad1a-800b27a400d3", + "df4ba5a6-ad14-4689-9c60-448e4967c90c", + 1, + "2435034b-6c0c-4330-860e-247924dd5a4c", + 1, + -1 + ], + [ + "3ad98d1f-c637-47c2-a4bc-c95a5957e8ab", + "b3ba21f5-95f6-4d60-85b5-0bc9c53e6ec8", + 0, + "176f5889-ed85-4673-bda6-ad7c16b5f242", + 0, + "boolean" + ], + [ + "f0741048-991e-4cdb-9fad-2baced82a2d7", + "3baf6d47-78cb-4698-be9a-77d66cb636e4", + 0, + "eef31822-d423-4b55-983c-d9b7439b194e", + 0, + "string" + ], + [ + "db985b2d-bbe4-4601-8199-6127335904cf", + "6adceb60-ae44-4544-a149-e45e82767ad4", + 0, + "eef31822-d423-4b55-983c-d9b7439b194e", + 1, + "string" + ], + [ + "dce5e24f-e898-4b03-9efa-0122e4bef771", + "eef31822-d423-4b55-983c-d9b7439b194e", + 0, + "189bd380-0869-4422-9782-435229f3bb1d", + 0, + "boolean" + ], + [ + "6259c8bd-edb0-4118-b0f9-36b82189b6df", + "189bd380-0869-4422-9782-435229f3bb1d", + 0, + "176f5889-ed85-4673-bda6-ad7c16b5f242", + 1, + "boolean" + ], + [ + "0824441f-157f-41fb-a1c2-66013f020194", + "4f24d51e-f352-4d47-b276-bafd200e11de", + 0, + "3c32f0ff-d950-4c7a-a257-91324f3668b2", + 1, + "number" + ], + [ + "0d6eb900-712d-4b5f-a29b-eb17cb79e844", + "db6e3af5-a5a9-405b-91c6-8d8aef19b7b2", + 0, + "3c32f0ff-d950-4c7a-a257-91324f3668b2", + 0, + "number" + ], + [ + "b18981ac-984d-4797-97ec-9ce677abb3b2", + "26f95ae7-d422-4555-bf69-7de7ef3de87b", + 0, + "f7defa19-6e11-412a-a1ba-7738596e4754", + 1, + "number" + ], + [ + "e743c359-26a4-4596-952f-72a4836b68e8", + "ca3b8dec-bf22-48d3-a63f-4b5c40eb6be3", + 0, + "f7defa19-6e11-412a-a1ba-7738596e4754", + 0, + "LATENT" + ], + [ + "01d6858a-4a85-40e6-8cfb-347cf69aa26a", + "f7defa19-6e11-412a-a1ba-7738596e4754", + 0, + "802b653e-584c-4d18-874c-b8b66485c801", + 0, + "LATENT" + ], + [ + "25bcbe05-5ce2-43cf-b496-d453fdce40d2", + "33d088ba-ad04-4b71-9a37-171521ef5443", + 0, + "c1a6ffdf-07c2-4d1b-a83e-bdafc00b9e72", + 1, + "number" + ], + [ + "0a35ade9-7212-420c-b8d7-22607682e086", + "4f24d51e-f352-4d47-b276-bafd200e11de", + 0, + "c1a6ffdf-07c2-4d1b-a83e-bdafc00b9e72", + 0, + "number" + ], + [ + "2e18ff0e-aa86-46b8-9e87-4f60cdc29c5b", + "c1a6ffdf-07c2-4d1b-a83e-bdafc00b9e72", + 0, + "af9372d2-64a4-4e70-a1fb-ece84d362cba", + 0, + "boolean" + ], + [ + "b4f3aac1-5179-4c60-a265-0edb68bbe148", + "af9372d2-64a4-4e70-a1fb-ece84d362cba", + 0, + "56144161-2e68-42fa-b955-88ea8dced157", + 0, + "boolean" + ], + [ + "08df5eb9-125e-407f-b72f-3dc27a4c32ea", + "176f5889-ed85-4673-bda6-ad7c16b5f242", + 0, + "56144161-2e68-42fa-b955-88ea8dced157", + 1, + "boolean" + ], + [ + "6f9deae0-4349-4ed3-b8c4-86a3f5fb4476", + "56144161-2e68-42fa-b955-88ea8dced157", + 0, + "2da624e1-3555-4e15-924f-f83650ba1301", + 1, + "boolean" + ], + [ + "0f7d6ecf-0309-4244-9d37-56f2a6c6109d", + "2b453f7d-e511-4531-aa60-72cea33dd183", + 0, + "d1316cca-081d-4e6a-857e-958d796580e7", + 1, + "VAE" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } }, { - "id": "8d451189-3388-4580-b1e2-3536fe9fa4ac", - "type": "actions/set_prompt_thumbnails", + "id": "55a269ee-5de4-45b7-833f-cbea5fc36e9a", + "type": "graph/subgraph", "pos": [ - 1116, - 772 + 393, + 318 ], "size": [ - 260.4, - 26 + 200, + 70 ], - "flags": { - "collapsed": true - }, - "order": 244, + "flags": {}, + "order": 31, "mode": 0, "inputs": [ { - "name": "filenames", - "type": "*", - "link": "f5776162-4dad-40bf-93c6-6fe5e475db45" + "name": "model", + "type": "MODEL", + "link": "3130f01b-569e-41ee-8a0a-d91b374f21e7", + "properties": {} + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": "a0072557-0d6b-470e-b93a-d58b5dbf1c4a", + "properties": {} + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": "482abd71-9f0c-4dcb-bfb6-6b5643145d89", + "properties": {} } ], - "outputs": [], - "title": "Comfy.SetPromptThumbnailsAction", + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + "7627d820-6bba-4263-b023-906c0752410a", + "e1a75b66-2558-41f5-b604-3d152d28d154" + ], + "properties": {}, + "slot_index": 1 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + "2da0832c-5de3-4989-bf49-b5c3e7a0196d", + "65c3a5fd-0bfd-4162-ac80-5373a4a3d258" + ], + "properties": {}, + "slot_index": 2 + } + ], + "title": "ControlNet", "properties": { + "enabled": true, "tags": [ + "gen", "hr" - ], - "defaultFolderType": "input" + ] }, - "saveUserState": true + "color": "#2a363b", + "bgColor": "#3f5159", + "subgraph": { + "last_node_id": 0, + "last_link_id": 0, + "nodes": [ + { + "id": "14a8903c-4011-4f35-8e5e-2222eee6cc1e", + "type": "ui/combo", + "pos": [ + 576.8020629882812, + 300 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "links": [ + "2e4084a3-e483-4ece-934d-e4b86778fd36" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.Combo", + "properties": { + "tags": [ + "controlnet" + ], + "defaultValue": null, + "values": [], + "convertValueToLabelCode": "" + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": "A", + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "10cbb926-c5f9-4870-996d-0bd4cfdfd45f", + "type": "ui/number", + "pos": [ + 1000.8020629882812, + 239 + ], + "size": [ + 210, + 158 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "number", + "links": [ + "6c755243-7893-4ca3-ae10-329b69abc7ba" + ], + "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": [ + "controlnet" + ], + "defaultValue": 1, + "min": 0, + "max": 2, + "step": 0.01, + "precision": 0 + }, + "widgets_values": [ + "0.550" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0.55, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "c9e61616-a12c-48ab-8be4-71a783908ff9", + "type": "ui/number", + "pos": [ + 1004, + 420 + ], + "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": [ + "f40eb893-53d2-42b1-bf75-8f4ddcbf5a64" + ], + "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": [ + "controlnet" + ], + "defaultValue": 1, + "min": 0, + "max": 2, + "step": 0.01, + "precision": 0 + }, + "widgets_values": [ + "0.000" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": 0, + "shownOutputProperties": { + "min": { + "type": "number", + "outputName": "@min" + }, + "max": { + "type": "number", + "outputName": "@max" + }, + "step": { + "type": "number", + "outputName": "@step" + }, + "precision": { + "type": "number", + "outputName": "@precision" + } + }, + "saveUserState": true + }, + { + "id": "f587febd-0054-4ab2-9ffc-6306757927d7", + "type": "ControlNetApply", + "pos": [ + 1125, + 95 + ], + "size": [ + 211.6, + 86 + ], + "flags": { + "collapsed": false + }, + "order": 14, + "mode": 2, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": "75b89374-323e-4eea-af04-89416703c73e", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": "9c32c2af-37f3-4541-bb51-caa30930dd21", + "properties": {}, + "config": {} + }, + { + "name": "image", + "type": "IMAGE", + "link": "a952a83c-3870-4ee5-aee2-3fb64568efed", + "properties": {}, + "config": {} + }, + { + "name": "strength", + "type": "number", + "link": "6c755243-7893-4ca3-ae10-329b69abc7ba", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + "7ecf9141-3774-45bf-96bc-fc09d9284710" + ], + "properties": {}, + "shape": 3 + } + ], + "title": "Apply ControlNet", + "properties": { + "tags": [ + "gen", + "hr", + "controlnet" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "cb6c2a74-efdc-4d12-8d18-619fa32c85ea", + "type": "ControlNetApply", + "pos": [ + 1134, + 336 + ], + "size": [ + 211.6, + 86 + ], + "flags": { + "collapsed": false + }, + "order": 13, + "mode": 2, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": "741db1cc-287d-4741-ad23-c4454e5bd3ea", + "properties": {}, + "config": {}, + "slot_index": 0 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": "d1a178eb-1e57-4ec0-b6d2-d457477bc024", + "properties": {}, + "config": {} + }, + { + "name": "image", + "type": "IMAGE", + "link": "bfb7e39e-782d-42b4-a397-5796a263b78c", + "properties": {}, + "config": {} + }, + { + "name": "strength", + "type": "number", + "link": "f40eb893-53d2-42b1-bf75-8f4ddcbf5a64", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/number", + "serialize": true + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + "7426925b-ae20-4aa1-8c2d-9447c4acf5ea" + ], + "properties": {}, + "shape": 3 + } + ], + "title": "Apply ControlNet", + "properties": { + "tags": [ + "gen", + "hr", + "controlnet" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "f5e0644b-2ccd-4417-985e-3c400c61ae94", + "type": "DiffControlNetLoader", + "pos": [ + 707, + 256 + ], + "size": [ + 236.8, + 46 + ], + "flags": {}, + "order": 10, + "mode": 2, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": "082b07f6-01f9-421d-b7c7-63484088f53f", + "properties": {}, + "slot_index": 0, + "config": {} + }, + { + "name": "control_net_name", + "type": "string", + "link": "2e4084a3-e483-4ece-934d-e4b86778fd36", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true + } + ], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + "9c32c2af-37f3-4541-bb51-caa30930dd21", + "d1a178eb-1e57-4ec0-b6d2-d457477bc024" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + } + ], + "title": "Load ControlNet Model (diff)", + "properties": { + "tags": [ + "gen", + "hr", + "controlnet" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "6b664bf7-4bf6-4df5-a724-1e9dedde16b2", + "type": "LoadImage", + "pos": [ + 702, + 374 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 12, + "mode": 2, + "inputs": [ + { + "name": "image", + "type": "string", + "link": "0d61a1e6-67b5-48a2-9c73-4c944bee9a83", + "properties": {}, + "config": {}, + "defaultWidgetNode": null, + "widgetNodeType": "ui/combo", + "serialize": true, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + "bfb7e39e-782d-42b4-a397-5796a263b78c", + "a952a83c-3870-4ee5-aee2-3fb64568efed" + ], + "properties": {}, + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [], + "properties": {}, + "shape": 3 + } + ], + "title": "Load Image", + "properties": { + "tags": [ + "gen", + "hr", + "controlnet" + ] + }, + "color": "#432", + "bgColor": "#653", + "saveUserState": true + }, + { + "id": "5609d422-1b11-4de7-a076-bffed63be521", + "type": "actions/set_node_mode", + "pos": [ + 995.2960000000002, + -111.97200000000004 + ], + "size": [ + 210, + 102 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "enabled", + "type": "boolean", + "link": "837e1074-9ccd-4026-8729-70eb916c9518", + "properties": {} + }, + { + "name": "set", + "type": -1, + "link": "9ac235e8-33f1-4ae1-8928-2f728ddda7ae", + "properties": {}, + "shape": 1 + } + ], + "outputs": [], + "title": "Comfy.SetNodeModeAction", + "properties": { + "targetTags": "controlnet", + "enable": false, + "tags": [] + }, + "saveUserState": true + }, + { + "id": "c66ce82f-ff3a-407c-a0d7-9eb034273ade", + "type": "utils/pick_first", + "pos": [ + 1368, + 91 + ], + "size": [ + 210, + 122 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "7ecf9141-3774-45bf-96bc-fc09d9284710", + "properties": {}, + "slot_index": 0 + }, + { + "name": "B", + "type": "*", + "link": "ba0a0894-24c4-4093-9bfe-241d9d2d987a", + "properties": {} + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "number", + "links": [ + "8433f10b-112a-488f-b34d-29156b692bde" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [ + "gen", + "hr" + ], + "mode": "anyActiveLink" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "3e449b25-d413-460a-a394-356a1908febe", + "type": "graph/output", + "pos": [ + 1613, + 117 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "CONDITIONING", + "link": "8433f10b-112a-488f-b34d-29156b692bde", + "properties": {} + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "positive", + "type": "CONDITIONING", + "subgraphID": "55a269ee-5de4-45b7-833f-cbea5fc36e9a", + "tags": [] + } + }, + { + "id": "cc4a59b6-fff0-43a1-a349-f25f6c004fe2", + "type": "ui/image_upload", + "pos": [ + 316, + 401 + ], + "size": [ + 210, + 78 + ], + "flags": { + "collapsed": true + }, + "order": 3, + "mode": 2, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES", + "links": [ + "42b27afc-9093-46dd-b612-863db283ef00" + ], + "properties": {} + }, + { + "name": "changed", + "type": -2, + "links": [], + "properties": {}, + "shape": 1 + } + ], + "title": "UI.ImageUpload", + "properties": { + "defaultValue": null, + "tags": [ + "controlnet" + ] + }, + "widgets_values": [], + "color": "#223", + "bgColor": "#335", + "comfyValue": [], + "shownOutputProperties": {}, + "saveUserState": false + }, + { + "id": "c7447417-a2a6-4dff-b79e-f2eaf5e3d1fa", + "type": "image/pick_image", + "pos": [ + 464, + 376 + ], + "size": [ + 210, + 190 + ], + "flags": { + "collapsed": false + }, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "COMFYBOX_IMAGES,COMFYBOX_IMAGE", + "link": "42b27afc-9093-46dd-b612-863db283ef00", + "properties": {}, + "slot_index": 0 + }, + { + "name": "index", + "type": "number", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "image", + "type": "COMFYBOX_IMAGE", + "links": [ + "84687a04-1bf3-4ffd-b9dc-dfe6fb3ec4b0" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "filename", + "type": "string", + "links": [ + "0d61a1e6-67b5-48a2-9c73-4c944bee9a83" + ], + "properties": {}, + "slot_index": 1 + }, + { + "name": "width", + "type": "number", + "links": [], + "properties": {} + }, + { + "name": "height", + "type": "number", + "links": [], + "properties": {} + } + ], + "title": "Comfy.PickImage", + "properties": { + "tags": [] + }, + "saveUserState": true + }, + { + "id": "897e70d8-f807-45e4-9018-0b2138bf9b33", + "type": "actions/set_prompt_thumbnails", + "pos": [ + 810, + 480 + ], + "size": [ + 260.4, + 26 + ], + "flags": {}, + "order": 11, + "mode": 2, + "inputs": [ + { + "name": "filenames", + "type": "*", + "link": "84687a04-1bf3-4ffd-b9dc-dfe6fb3ec4b0", + "properties": {} + } + ], + "outputs": [], + "title": "Comfy.SetPromptThumbnailsAction", + "properties": { + "tags": [ + "controlnet", + "gen", + "hr" + ], + "defaultFolderType": "input" + }, + "saveUserState": true + }, + { + "id": "280e84f4-49b0-43e3-93ef-3964800b4d2c", + "type": "ui/checkbox", + "pos": [ + 732, + -107 + ], + "size": [ + 210, + 78 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "store", + "type": -1, + "link": null, + "properties": {}, + "shape": 1 + } + ], + "outputs": [ + { + "name": "value", + "type": "boolean", + "links": [ + "837e1074-9ccd-4026-8729-70eb916c9518" + ], + "properties": {}, + "slot_index": 0 + }, + { + "name": "changed", + "type": -2, + "links": [ + "9ac235e8-33f1-4ae1-8928-2f728ddda7ae" + ], + "properties": {}, + "shape": 1, + "slot_index": 1 + } + ], + "title": "UI.Checkbox", + "properties": { + "tags": [], + "defaultValue": false + }, + "widgets_values": [ + "false" + ], + "color": "#223", + "bgColor": "#335", + "comfyValue": false, + "shownOutputProperties": {}, + "saveUserState": true + }, + { + "id": "8d960d27-859e-4fa9-98e5-a224b28ee16f", + "type": "graph/input", + "pos": [ + 998, + 49 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + "75b89374-323e-4eea-af04-89416703c73e", + "ba0a0894-24c4-4093-9bfe-241d9d2d987a" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "positive", + "type": "CONDITIONING", + "value": null, + "subgraphID": "55a269ee-5de4-45b7-833f-cbea5fc36e9a", + "tags": [] + } + }, + { + "id": "8836b415-101e-41b2-b048-82e7319909f6", + "type": "graph/input", + "pos": [ + 1024, + 286 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + "741db1cc-287d-4741-ad23-c4454e5bd3ea", + "cb0c53cb-9ef2-4421-9341-631818541ad8" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Input", + "properties": { + "name": "negative", + "type": "CONDITIONING", + "value": null, + "subgraphID": "55a269ee-5de4-45b7-833f-cbea5fc36e9a", + "tags": [] + } + }, + { + "id": "39db9118-34cf-406e-a2d5-1c06b18b637a", + "type": "graph/input", + "pos": [ + 584, + 276 + ], + "size": [ + 210, + 86 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "MODEL", + "links": [ + "082b07f6-01f9-421d-b7c7-63484088f53f" + ], + "properties": {} + } + ], + "title": "Input", + "properties": { + "name": "model", + "type": "MODEL", + "value": null, + "subgraphID": "55a269ee-5de4-45b7-833f-cbea5fc36e9a", + "tags": [] + } + }, + { + "id": "b423640f-f39d-47ab-8e79-150b04f98ca9", + "type": "utils/pick_first", + "pos": [ + 1380, + 331 + ], + "size": [ + 210, + 122 + ], + "flags": { + "collapsed": false + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "A", + "type": "*", + "link": "7426925b-ae20-4aa1-8c2d-9447c4acf5ea", + "properties": {}, + "slot_index": 0 + }, + { + "name": "B", + "type": "*", + "link": "cb0c53cb-9ef2-4421-9341-631818541ad8", + "properties": {} + }, + { + "name": "C", + "type": "*", + "link": null, + "properties": {} + } + ], + "outputs": [ + { + "name": "", + "type": "CONDITIONING", + "links": [ + "b72d7a78-1e85-423d-9332-0c2be7c6fd84" + ], + "properties": {}, + "slot_index": 0 + } + ], + "title": "Comfy.PickFirst", + "properties": { + "tags": [ + "gen", + "hr" + ], + "mode": "anyActiveLink" + }, + "color": "#232", + "bgColor": "#353", + "saveUserState": true + }, + { + "id": "929ac2c4-63a7-4c87-97b3-01256b491ef5", + "type": "graph/output", + "pos": [ + 1612, + 357 + ], + "size": [ + 210, + 62 + ], + "flags": { + "collapsed": true + }, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "CONDITIONING", + "link": "b72d7a78-1e85-423d-9332-0c2be7c6fd84", + "properties": {}, + "slot_index": 0 + } + ], + "outputs": [], + "title": "Output", + "properties": { + "name": "negative", + "type": "CONDITIONING", + "subgraphID": "55a269ee-5de4-45b7-833f-cbea5fc36e9a", + "tags": [] + } + } + ], + "links": [ + [ + "2e4084a3-e483-4ece-934d-e4b86778fd36", + "14a8903c-4011-4f35-8e5e-2222eee6cc1e", + 0, + "f5e0644b-2ccd-4417-985e-3c400c61ae94", + 1, + "string" + ], + [ + "082b07f6-01f9-421d-b7c7-63484088f53f", + "39db9118-34cf-406e-a2d5-1c06b18b637a", + 0, + "f5e0644b-2ccd-4417-985e-3c400c61ae94", + 0, + "MODEL" + ], + [ + "6c755243-7893-4ca3-ae10-329b69abc7ba", + "10cbb926-c5f9-4870-996d-0bd4cfdfd45f", + 0, + "f587febd-0054-4ab2-9ffc-6306757927d7", + 3, + "number" + ], + [ + "f40eb893-53d2-42b1-bf75-8f4ddcbf5a64", + "c9e61616-a12c-48ab-8be4-71a783908ff9", + 0, + "cb6c2a74-efdc-4d12-8d18-619fa32c85ea", + 3, + "number" + ], + [ + "42b27afc-9093-46dd-b612-863db283ef00", + "cc4a59b6-fff0-43a1-a349-f25f6c004fe2", + 0, + "c7447417-a2a6-4dff-b79e-f2eaf5e3d1fa", + 0, + "COMFYBOX_IMAGES,COMFYBOX_IMAGE" + ], + [ + "0d61a1e6-67b5-48a2-9c73-4c944bee9a83", + "c7447417-a2a6-4dff-b79e-f2eaf5e3d1fa", + 1, + "6b664bf7-4bf6-4df5-a724-1e9dedde16b2", + 0, + "string" + ], + [ + "bfb7e39e-782d-42b4-a397-5796a263b78c", + "6b664bf7-4bf6-4df5-a724-1e9dedde16b2", + 0, + "cb6c2a74-efdc-4d12-8d18-619fa32c85ea", + 2, + "IMAGE" + ], + [ + "a952a83c-3870-4ee5-aee2-3fb64568efed", + "6b664bf7-4bf6-4df5-a724-1e9dedde16b2", + 0, + "f587febd-0054-4ab2-9ffc-6306757927d7", + 2, + "IMAGE" + ], + [ + "9c32c2af-37f3-4541-bb51-caa30930dd21", + "f5e0644b-2ccd-4417-985e-3c400c61ae94", + 0, + "f587febd-0054-4ab2-9ffc-6306757927d7", + 1, + "CONTROL_NET" + ], + [ + "d1a178eb-1e57-4ec0-b6d2-d457477bc024", + "f5e0644b-2ccd-4417-985e-3c400c61ae94", + 0, + "cb6c2a74-efdc-4d12-8d18-619fa32c85ea", + 1, + "CONTROL_NET" + ], + [ + "75b89374-323e-4eea-af04-89416703c73e", + "8d960d27-859e-4fa9-98e5-a224b28ee16f", + 0, + "f587febd-0054-4ab2-9ffc-6306757927d7", + 0, + "CONDITIONING" + ], + [ + "741db1cc-287d-4741-ad23-c4454e5bd3ea", + "8836b415-101e-41b2-b048-82e7319909f6", + 0, + "cb6c2a74-efdc-4d12-8d18-619fa32c85ea", + 0, + "CONDITIONING" + ], + [ + "7426925b-ae20-4aa1-8c2d-9447c4acf5ea", + "cb6c2a74-efdc-4d12-8d18-619fa32c85ea", + 0, + "b423640f-f39d-47ab-8e79-150b04f98ca9", + 0, + "*" + ], + [ + "7ecf9141-3774-45bf-96bc-fc09d9284710", + "f587febd-0054-4ab2-9ffc-6306757927d7", + 0, + "c66ce82f-ff3a-407c-a0d7-9eb034273ade", + 0, + "*" + ], + [ + "ba0a0894-24c4-4093-9bfe-241d9d2d987a", + "8d960d27-859e-4fa9-98e5-a224b28ee16f", + 0, + "c66ce82f-ff3a-407c-a0d7-9eb034273ade", + 1, + "CONDITIONING" + ], + [ + "8433f10b-112a-488f-b34d-29156b692bde", + "c66ce82f-ff3a-407c-a0d7-9eb034273ade", + 0, + "3e449b25-d413-460a-a394-356a1908febe", + 0, + "CONDITIONING" + ], + [ + "837e1074-9ccd-4026-8729-70eb916c9518", + "280e84f4-49b0-43e3-93ef-3964800b4d2c", + 0, + "5609d422-1b11-4de7-a076-bffed63be521", + 0, + "boolean" + ], + [ + "9ac235e8-33f1-4ae1-8928-2f728ddda7ae", + "280e84f4-49b0-43e3-93ef-3964800b4d2c", + 1, + "5609d422-1b11-4de7-a076-bffed63be521", + 1, + -1 + ], + [ + "84687a04-1bf3-4ffd-b9dc-dfe6fb3ec4b0", + "c7447417-a2a6-4dff-b79e-f2eaf5e3d1fa", + 0, + "897e70d8-f807-45e4-9018-0b2138bf9b33", + 0, + "*" + ], + [ + "cb0c53cb-9ef2-4421-9341-631818541ad8", + "8836b415-101e-41b2-b048-82e7319909f6", + 0, + "b423640f-f39d-47ab-8e79-150b04f98ca9", + 1, + "*" + ], + [ + "b72d7a78-1e85-423d-9332-0c2be7c6fd84", + "b423640f-f39d-47ab-8e79-150b04f98ca9", + 0, + "929ac2c4-63a7-4c87-97b3-01256b491ef5", + 0, + "CONDITIONING" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 10 + } } ], "links": [ [ - "d3e63e4f-735b-4811-abb5-6fdf82803cbc", - "54ac52a2-5346-41b1-9f82-b1945a6e7602", + "250486b4-7eae-4049-aa6f-1ff826687c9c", + "70361963-27f5-471d-b735-dbe2351a5ebd", 0, - "63779084-b869-4908-bc3b-f29a8329d19f", - 2, - "number" + "d61b7ac0-b5f7-4a88-8226-28f9b017f3f4", + 0, + "IMAGE" ], [ - "48873cd2-e7a5-4e31-914e-bdbf64aede2a", - "d2ef3441-0116-4f38-80c4-2d28a35134c0", - 0, - "63779084-b869-4908-bc3b-f29a8329d19f", + "f26f80aa-abf3-403f-b83e-f2f92e99d0d8", + "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + 2, + "70361963-27f5-471d-b735-dbe2351a5ebd", 3, - "number" + "VAE" ], [ - "5500a636-e7df-42f1-9da9-25cced64d97e", - "a2d692aa-0680-4e1f-bff2-04112c165503", + "c84ab5d2-3d2a-4304-b2a0-5fd29403a809", + "f8051ab6-d9f7-44fe-898a-ad26cfde916e", 0, - "63779084-b869-4908-bc3b-f29a8329d19f", - 4, - "string" - ], - [ - "07e0280d-dac1-452a-848a-6bf300f2f2d8", - "a4c71591-9e1d-4968-bcfc-03a4eb0f80f3", - 0, - "63779084-b869-4908-bc3b-f29a8329d19f", - 5, - "string" - ], - [ - "b826d95a-c763-4f58-967c-300bfa31a7af", - "e904e413-5e98-4146-8938-8524c7c9bc22", - 0, - "789740f5-5197-48fb-b180-9abef784108a", - 0, - "string" - ], - [ - "61456917-a538-47c4-a18a-a43ad6d03a5b", - "64e05c57-f669-432e-8e20-a2b51870067d", - 0, - "eef6c92e-ae99-4562-ac2c-d93c1774ad09", - 0, - "string" - ], - [ - "8e65f426-a461-4570-b3d8-9ec36535c702", - "b115fc1a-799e-4c2f-8ab7-9714398e8e46", - 0, - "289d7951-ac7a-45f3-8789-91b3feb8871b", - 2, - "number" - ], - [ - "069ae825-5673-40ad-b321-27be9bbd122b", - "63779084-b869-4908-bc3b-f29a8329d19f", - 0, - "d1bc8e23-3942-475c-946f-062c8e95a548", - 0, - "LATENT" - ], - [ - "e913d5da-a017-4f6d-b356-6fc50729cc6b", - "91b10565-8fef-44da-804f-95d80ef18667", - 0, - "2505875c-c94f-4066-b43a-339a031a1633", - 2, - "string" - ], - [ - "0dee43bd-01c1-414d-86d9-d0db5fc8a801", - "3c50e176-6a83-4664-8fe4-6f12faef4247", - 0, - "2505875c-c94f-4066-b43a-339a031a1633", - 0, - "number" - ], - [ - "b2f311bc-a516-4620-98fe-b161ec2545b3", - "3c50e176-6a83-4664-8fe4-6f12faef4247", - 2, - "2505875c-c94f-4066-b43a-339a031a1633", - 3, - "number" - ], - [ - "a870c7cb-104d-4fa3-a31f-a3d7cbb80ab4", - "3c50e176-6a83-4664-8fe4-6f12faef4247", - 3, - "2505875c-c94f-4066-b43a-339a031a1633", + "70361963-27f5-471d-b735-dbe2351a5ebd", 4, "number" ], [ - "971a1412-8ee7-41f9-bb96-573d9d326425", - "da19d3aa-7bbe-4f5a-8717-7b874341baf8", + "c004a9a1-6ebc-40f0-9fa5-dc9557f8b697", + "956ef877-9a36-40d4-9f86-e824ff6f6dd5", 0, - "c7f6f012-53df-40ea-a6ff-21ea64a48c3a", - 0, - "boolean" - ], - [ - "0eec7cfc-9d1a-45e5-88f2-60e0f9a4657b", - "3c50e176-6a83-4664-8fe4-6f12faef4247", - 4, - "c7f6f012-53df-40ea-a6ff-21ea64a48c3a", - 1, - "*" - ], - [ - "cc69b201-6831-4991-ba02-ecc1f88e7996", - "48689d10-97a8-4d1b-9926-ca5060dcd501", - 0, - "da19d3aa-7bbe-4f5a-8717-7b874341baf8", - 0, - "string" - ], - [ - "75d6921c-e2f5-435c-8c89-cd00b91fbd51", - "91b10565-8fef-44da-804f-95d80ef18667", - 0, - "da19d3aa-7bbe-4f5a-8717-7b874341baf8", - 1, - "string" - ], - [ - "8737da30-cf75-4b0f-87da-273353eb7b79", - "3c50e176-6a83-4664-8fe4-6f12faef4247", - 0, - "63779084-b869-4908-bc3b-f29a8329d19f", - 1, - "number" - ], - [ - "04143b80-0a0d-4186-ba18-9c0e37ec5d9a", - "b115fc1a-799e-4c2f-8ab7-9714398e8e46", - 0, - "8c613f7b-1861-42c0-a25d-b3db1d3fe9bb", - 1, - "number" - ], - [ - "d21d31ef-6533-4fc7-9142-fbf6f29d0481", - "8e913cd1-f309-4c0e-849f-d693b37e33ab", - 0, - "8c613f7b-1861-42c0-a25d-b3db1d3fe9bb", - 0, - "number,array,object" - ], - [ - "2f013f49-ab12-487a-a710-ff7240b233b1", - "8c613f7b-1861-42c0-a25d-b3db1d3fe9bb", - 0, - "c7f6f012-53df-40ea-a6ff-21ea64a48c3a", - 2, - "*" - ], - [ - "1216193d-08db-419c-b128-4d8b85630b61", - "c7f6f012-53df-40ea-a6ff-21ea64a48c3a", - 0, - "3954475b-6cf0-4b2e-98fb-536efe151034", - 0, - "*" - ], - [ - "c9f3fb6f-3e41-4d2f-aefb-21df893a38ee", - "c7f6f012-53df-40ea-a6ff-21ea64a48c3a", - 0, - "2505875c-c94f-4066-b43a-339a031a1633", + "70361963-27f5-471d-b735-dbe2351a5ebd", 5, "number" ], [ - "c8254019-4caf-4878-86c1-5e346e624c89", - "17d2f326-75f0-461e-9cfc-5ff314310a6a", + "dc5a9b82-233e-484a-9e58-cd90fbeff07d", + "956ef877-9a36-40d4-9f86-e824ff6f6dd5", 0, - "289d7951-ac7a-45f3-8789-91b3feb8871b", + "f8051ab6-d9f7-44fe-898a-ad26cfde916e", 0, "number" ], [ - "0cff6a0f-57f9-43e6-9124-a96923e4a0d5", - "bff57d22-e589-4a2a-b82d-94d035a40bf2", + "eeb1dfa6-eaaa-4ba6-b2a6-b13ae69c3462", + "d61b7ac0-b5f7-4a88-8226-28f9b017f3f4", 0, - "289d7951-ac7a-45f3-8789-91b3feb8871b", - 1, - "number" - ], - [ - "cc7609c0-7f34-471b-a54c-45c389bf6c22", - "45bd8775-867b-40f5-8a26-93dc2374bb32", - 0, - "fceffaba-f887-4a99-ba3a-d7e3a04b2933", - 0, - "string" - ], - [ - "1ae0dce3-0167-4be9-91a7-18b6b3f0f209", - "4214aa59-b6e2-4992-9a89-2c57936d6192", - 0, - "d08a5ebb-d43a-4590-b770-d0c444feb2b9", - 0, - "string" - ], - [ - "7a12401b-dbe6-4a97-8ea3-48477764ae1a", - "1bb03060-082b-4327-8e5b-0925dd7fc0a5", - 0, - "a1872da9-0350-488c-ba1a-2d13075afd39", - 2, - "string" - ], - [ - "8618fff5-2607-427e-861d-95a7be09c795", - "906ec488-068d-4f6d-905d-efbdd964b444", - 0, - "a1872da9-0350-488c-ba1a-2d13075afd39", - 3, - "number" - ], - [ - "eda51f16-0650-44c2-b14a-c255a1d180eb", - "196174de-3e4e-4371-a3af-6baeced08071", - 0, - "a1872da9-0350-488c-ba1a-2d13075afd39", - 4, - "number" - ], - [ - "8955ebb4-e7c6-4af5-9e2c-084a59d93900", - "fceffaba-f887-4a99-ba3a-d7e3a04b2933", - 1, - "a1872da9-0350-488c-ba1a-2d13075afd39", - 1, - "CLIP" - ], - [ - "c7de3e3a-fcaa-4d47-bc61-1f35cfd7e33c", - "2efcc025-0064-42e7-add6-ff6215d3dd43", - 0, - "a0066185-4ed0-404b-8d1f-faa42fc5d4ab", - 1, - "string" - ], - [ - "485c23c7-d4ab-4585-b85c-2ebdf22b6f54", - "f1a583bb-c0d6-4193-b6ca-4481139a5f4c", - 0, - "a0066185-4ed0-404b-8d1f-faa42fc5d4ab", - 4, - "string" - ], - [ - "00c81cf4-bb65-4404-9267-57db533f3d2c", - "88b01c2b-0347-49ed-8d51-5ef3128b2c00", - 0, - "a0066185-4ed0-404b-8d1f-faa42fc5d4ab", - 0, - "LATENT" - ], - [ - "e3bbfab3-2d0b-40f6-853e-a8024e2a5cac", - "5ca140ae-b710-412c-a7fa-d82a7dd78151", - 0, - "2505875c-c94f-4066-b43a-339a031a1633", - 1, - -1 - ], - [ - "b4af86f2-d3eb-4c6f-abe3-6e6045aafa0a", - "58ace50f-3aa2-4993-bd28-58dcac966ab4", - 0, - "88b01c2b-0347-49ed-8d51-5ef3128b2c00", - 0, - "IMAGE" - ], - [ - "57778f45-23ce-4970-b182-44981d877343", - "230b5c3e-1df1-402a-a72d-fab3e992fa17", - 0, - "58ace50f-3aa2-4993-bd28-58dcac966ab4", - 0, - "string" - ], - [ - "08fad1be-6a2e-43a8-bbef-2bb1758fbe42", - "230b5c3e-1df1-402a-a72d-fab3e992fa17", - 1, - "25bb8709-aadd-40f3-a98f-4461471d8341", - 0, - "string" - ], - [ - "80515880-2466-4721-ba9c-c231ee7c779e", - "353215bf-8ea6-4b00-a1e9-6cf404ba2e13", - 0, - "230b5c3e-1df1-402a-a72d-fab3e992fa17", - 1, - "number" - ], - [ - "03a1a3b0-af11-4f85-b90f-8fe6ad4db970", - "3443baf2-ed35-4567-96a0-7821f3806232", - 0, - "9564d326-d463-4095-9372-6f55648e43bd", - 9, - "number" - ], - [ - "05fe18c1-89f8-424a-a8a1-b06fa2f8ba5c", - "a0066185-4ed0-404b-8d1f-faa42fc5d4ab", - 0, - "9564d326-d463-4095-9372-6f55648e43bd", - 8, - "LATENT" - ], - [ - "4eb8a330-4985-4142-9685-af37c75ebac6", - "a2d692aa-0680-4e1f-bff2-04112c165503", - 0, - "9564d326-d463-4095-9372-6f55648e43bd", - 4, - "string" - ], - [ - "61f924c0-0e8a-4fc9-b90d-9008165c2b68", - "a4c71591-9e1d-4968-bcfc-03a4eb0f80f3", - 0, - "9564d326-d463-4095-9372-6f55648e43bd", - 5, - "string" - ], - [ - "6f8eced5-57d8-4f88-9ef7-3bb11460b79d", - "3c50e176-6a83-4664-8fe4-6f12faef4247", - 0, - "9564d326-d463-4095-9372-6f55648e43bd", - 1, - "number" - ], - [ - "3a892f13-2b1e-4722-8a83-cf847c4edf35", - "d2ef3441-0116-4f38-80c4-2d28a35134c0", - 0, - "9564d326-d463-4095-9372-6f55648e43bd", - 3, - "number" - ], - [ - "5d256808-05f8-4a60-a342-0c6f27c67da3", - "9564d326-d463-4095-9372-6f55648e43bd", - 0, - "571d748a-6ed9-4db6-bf11-c59abfc17293", - 0, - "LATENT" - ], - [ - "b50a2726-2104-4eeb-91f0-a8395e0ee5db", - "4142e5f2-731f-49ee-8f0c-1c7cce32d05a", - 0, - "9564d326-d463-4095-9372-6f55648e43bd", - 2, - "number" - ], - [ - "4d383a81-ef83-421e-9a96-8da91027bac1", - "353215bf-8ea6-4b00-a1e9-6cf404ba2e13", - 0, - "5f405265-b768-4d1e-8222-5048b40ec94d", - 0, - "number" - ], - [ - "417c3100-99e3-4257-a48d-622ef5b0ea9d", - "890deda7-c326-4c8c-a363-036ee9e0a25c", - 0, - "02959e62-f41b-402e-bee0-2dcc80526ac9", - 0, - "string" - ], - [ - "09ff7df7-34cc-4694-b051-70376183593c", - "7a7f0af3-7ea5-43ab-be95-08c934a5071b", - 0, - "ed5e2222-743f-436d-aa4f-527309a42f14", - 0, - "number,array,object" - ], - [ - "12d55f18-b8b1-4f38-8068-204d0fc6d93e", - "7a7f0af3-7ea5-43ab-be95-08c934a5071b", - 0, - "55767680-524c-4b33-925c-51ccab92909c", - 0, - "number,array,object" - ], - [ - "c72f1693-aedf-433a-8fd6-93632671f1ee", - "b824419b-cd5f-4f56-901a-665d195bdaa9", - 0, - "c4ba75a0-317d-43d4-b15e-bee231fd14a6", - 0, - "string" - ], - [ - "b3fea20b-3e28-47ae-9d4b-1abb80f4cff9", - "b166ce94-434f-4f5c-acd1-d2e757609b11", - 0, - "635d2566-dad4-49c0-b232-ad8ad1aec4ed", - 0, - "string" - ], - [ - "8b04c703-a04d-4a54-9d41-92f185e70844", - "55767680-524c-4b33-925c-51ccab92909c", - 0, - "0e375aeb-c513-46f1-a73e-d8104ee21c05", - 0, - "number" - ], - [ - "5784e50a-b97a-4b4c-a076-f10faa1a3faa", - "0e375aeb-c513-46f1-a73e-d8104ee21c05", - 0, - "a0066185-4ed0-404b-8d1f-faa42fc5d4ab", - 2, - "number" - ], - [ - "9561dbe8-8386-4bbe-b3d7-297528995e8a", - "0e375aeb-c513-46f1-a73e-d8104ee21c05", - 0, - "b166ce94-434f-4f5c-acd1-d2e757609b11", - 0, - "number" - ], - [ - "e3fd1190-697e-4f1b-a417-68c8fa8e999d", - "ed5e2222-743f-436d-aa4f-527309a42f14", - 0, - "88cf540c-c724-4241-8437-032f295bf903", - 0, - "number" - ], - [ - "25571cbe-8b15-4a5c-8c0b-2d9650485057", - "88cf540c-c724-4241-8437-032f295bf903", - 0, - "b824419b-cd5f-4f56-901a-665d195bdaa9", - 0, - "number" - ], - [ - "27df1bd3-03bf-4b3d-a4a0-d9b2baa67e35", - "88cf540c-c724-4241-8437-032f295bf903", - 0, - "a0066185-4ed0-404b-8d1f-faa42fc5d4ab", - 3, - "number" - ], - [ - "19928967-1935-41bc-a847-9d3edba6bc03", - "473e8614-7ef5-4e15-92fc-3e866c61d529", - 0, - "e7582d89-e93c-4219-90c7-12256639c4fb", + "928a13d8-cfc6-417e-9088-53503efb1cd3", 0, -1 ], [ - "9f6d846a-22c7-4eeb-bf17-67324450391f", - "e7582d89-e93c-4219-90c7-12256639c4fb", + "0f1bc87b-d1d6-4c04-be03-699eb7d1ab2a", + "928a13d8-cfc6-417e-9088-53503efb1cd3", 0, - "5fbe0f70-ea32-413e-b952-72d28a903e35", - 0, - -1 - ], - [ - "d8308050-0705-49a3-a671-846a3190f7e9", - "f613340c-15cb-4def-89c9-3cf0f942e937", - 0, - "2bbc3288-22a9-4c3d-824a-321da397fed1", - 0, - -1 - ], - [ - "17d2dc0b-8811-4a07-af34-296a23f7cb23", - "2bbc3288-22a9-4c3d-824a-321da397fed1", - 0, - "9faf9a00-7fce-49b1-b55e-526089398a07", - 0, - -1 - ], - [ - "8fc55e18-7809-4ea8-b7f2-f8042730c075", - "c71b6f87-c4f8-4219-a924-3e7d59296f50", - 0, - "0abc5885-4e47-4793-abfa-ceb7a08a3da6", + "c5dde6e2-d6a9-4c7e-b396-3083b11573f5", 1, -1 ], [ - "899833ef-9bc6-4768-ad5c-0d348c3b6a6f", - "9aeb00ca-291d-4483-b747-a1fbf7a5954a", + "27e9b2c9-72c5-48b0-aa80-2646590d8c2b", + "e41be48f-eb22-4269-93dc-d56a40d57f2c", 0, - "0abc5885-4e47-4793-abfa-ceb7a08a3da6", + "928a13d8-cfc6-417e-9088-53503efb1cd3", + 1, + -1 + ], + [ + "794ce3c6-a8de-4f4d-ba55-5bb3d5092993", + "5f099bc5-043a-4658-a6ac-83f01f72eefd", 0, + "62204d27-0c28-4901-8319-453605d911f0", + 0, + -1 + ], + [ + "8d3265e3-4f5b-4124-b20f-51e14647a7f7", + "62204d27-0c28-4901-8319-453605d911f0", + 0, + "e41be48f-eb22-4269-93dc-d56a40d57f2c", + 0, + -1 + ], + [ + "bda9da8b-686f-4e8a-ae78-347f4cde9018", + "a16a0898-b754-4a3a-a118-31cb2c9e76d7", + 0, + "59d83912-13a7-4b7f-a353-e7e2a0ecf3b8", + 0, + -1 + ], + [ + "422c4c43-7ae9-40d5-bb16-afc6c8017917", + "23565dd5-d004-4010-bfa9-ffd9e4dc7cba", + 0, + "59d83912-13a7-4b7f-a353-e7e2a0ecf3b8", + 1, "*" ], [ - "1d8acfbf-3039-4e56-85a4-30217d4f5eb3", - "9faf9a00-7fce-49b1-b55e-526089398a07", + "75383097-6487-4344-9930-4814b5742aa1", + "59d83912-13a7-4b7f-a353-e7e2a0ecf3b8", 0, - "a1573c65-f532-4d2d-887c-23da55d529f3", + "5e21407a-fb86-4694-8c1a-77cc4b3f3c39", 0, -1 ], [ - "a2c85610-e55e-4280-a168-0efd297d6e44", - "a6eb8e45-e9c8-40a8-aaa8-c8e6de894bcf", + "edb164b9-1b4c-4de0-b653-0e750128730e", + "63a83c93-647f-4882-84f0-606c4d070e43", 0, - "a1573c65-f532-4d2d-887c-23da55d529f3", + "49b8f233-abf9-4604-ab0c-8179178d1731", 1, "boolean" ], [ - "cecf8da2-150b-464d-b0bc-b3e7d25d6cdd", - "5fbe0f70-ea32-413e-b952-72d28a903e35", - 0, - "e12144af-aaa9-449f-97a0-7bef3c2e7040", - 0, - -1 - ], - [ - "8ad4677f-0bf6-4ef5-b81b-396b32133041", - "a6eb8e45-e9c8-40a8-aaa8-c8e6de894bcf", - 0, - "e12144af-aaa9-449f-97a0-7bef3c2e7040", + "8e8938d1-bba9-4ffc-a075-440aefbda06a", + "49b8f233-abf9-4604-ab0c-8179178d1731", 1, - "boolean" - ], - [ - "9b231026-03e1-4088-abd5-7afcb74c8ac9", - "571d748a-6ed9-4db6-bf11-c59abfc17293", - 0, - "3c8f66e3-7626-4b76-9d36-e40be2776ffe", - 0, - "IMAGE" - ], - [ - "f0eb469b-9d4c-4c9c-b035-08b8a9ee817b", - "3c8f66e3-7626-4b76-9d36-e40be2776ffe", - 0, - "3ef4a249-ae9e-4698-a24a-a21d7c44abd8", + "62204d27-0c28-4901-8319-453605d911f0", 1, -1 ], [ - "dabb4cc1-1e4e-4098-9710-435b7bf8e0dc", - "3c8f66e3-7626-4b76-9d36-e40be2776ffe", + "32fc2993-3360-4911-9965-184662fdd8f8", + "5e21407a-fb86-4694-8c1a-77cc4b3f3c39", 0, - "02959e62-f41b-402e-bee0-2dcc80526ac9", + "49b8f233-abf9-4604-ab0c-8179178d1731", + 0, + -1 + ], + [ + "ce514e38-b125-4803-a246-9a66e9f75235", + "eb08f8f4-50d2-429f-b625-ea69f0e219f6", + 0, + "e41be48f-eb22-4269-93dc-d56a40d57f2c", 1, - -1 + "object" ], [ - "1c991a6c-ee1e-40b4-8c5c-520d92159551", - "2cc5cdd4-b77e-452c-8d07-4feaab14821f", + "c4ff06f7-3f0a-475b-9d14-48d639bdfdda", + "c5dde6e2-d6a9-4c7e-b396-3083b11573f5", 0, - "230b5c3e-1df1-402a-a72d-fab3e992fa17", - 2, - -1 + "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", + 0, + "COMFYBOX_IMAGES,COMFYBOX_IMAGE" ], [ - "0eef5fe4-88bf-435b-96ff-3dc6eeed5566", - "2cc5cdd4-b77e-452c-8d07-4feaab14821f", - 0, - "353215bf-8ea6-4b00-a1e9-6cf404ba2e13", + "ca9c18cc-dfe1-4b64-bbaa-9666f11d6e6d", + "c5dde6e2-d6a9-4c7e-b396-3083b11573f5", 1, - -1 + "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", + 1, + "number" ], [ - "42243ad7-dd24-4c95-8eb9-f3faa163a4fd", - "d1bc8e23-3942-475c-946f-062c8e95a548", + "817eb77b-92fe-408e-a3f7-9aff4993728d", + "e7e68c8c-fa9c-42ab-985e-789c1dc91ae5", 0, - "2cc5cdd4-b77e-452c-8d07-4feaab14821f", - 0, - "IMAGE" - ], - [ - "499bfefe-3f06-4995-9ff2-92e895d4ff7b", - "c5c93866-9aab-49b2-8dda-1b508ceda73b", - 0, - "634a2bc3-eabd-40ed-a2f6-bb4cef18c0a8", - 0, - "IMAGE" - ], - [ - "205f1046-36b0-41df-bb6f-e35679b59f38", - "25dc4525-8956-41f2-a3de-0d4c34543fc5", - 0, - "649f1060-1e02-4e9a-a1d6-c1436c4b8e52", - 0, - "string" - ], - [ - "951bd876-36eb-4157-8331-3cada10c435b", - "649f1060-1e02-4e9a-a1d6-c1436c4b8e52", - 0, - "7553cbc9-2ac9-4b62-908b-a67db7df27b9", + "5ea1f249-c68c-4290-aa00-b676a19f5a0c", 0, "*" ], [ - "872f936a-68b4-4861-b1f9-8d690ce4105e", - "1ab803a3-c4eb-4264-ad92-81406473c1e6", - 1, - "5d75bf78-6052-4530-b6d6-93800d62503f", - 1, - -1 - ], - [ - "0971ffb0-c863-4906-9c71-672885a4b001", - "fceffaba-f887-4a99-ba3a-d7e3a04b2933", - 2, - "7553cbc9-2ac9-4b62-908b-a67db7df27b9", + "3f4c065d-a110-4196-b44f-e615d3645a4d", + "5827b359-e7c6-46b9-86c3-ff12b197c558", + 0, + "5ea1f249-c68c-4290-aa00-b676a19f5a0c", 1, "*" ], [ - "6478e106-ab51-4984-84ca-43d8a7578b7b", - "1ab803a3-c4eb-4264-ad92-81406473c1e6", + "8770aeee-7c02-418c-a925-36b57fa1d032", + "5ea1f249-c68c-4290-aa00-b676a19f5a0c", 0, - "15eaeb86-c7de-4d5e-b980-9c09173a8146", - 0, - "boolean" - ], - [ - "082d00ef-4874-4dc1-8d11-cc65d195bb15", - "15eaeb86-c7de-4d5e-b980-9c09173a8146", - 0, - "5d75bf78-6052-4530-b6d6-93800d62503f", - 0, - "boolean" - ], - [ - "7c37e201-bd6f-4de2-b75c-e6cbd0a73c03", - "7553cbc9-2ac9-4b62-908b-a67db7df27b9", - 0, - "88b01c2b-0347-49ed-8d51-5ef3128b2c00", - 1, - "VAE" - ], - [ - "12d42a0a-f318-40ab-8517-ab65719a5a44", - "7553cbc9-2ac9-4b62-908b-a67db7df27b9", - 0, - "d1bc8e23-3942-475c-946f-062c8e95a548", - 1, - "VAE" - ], - [ - "926e9a52-9093-45d5-956e-f08cba963100", - "7553cbc9-2ac9-4b62-908b-a67db7df27b9", - 0, - "571d748a-6ed9-4db6-bf11-c59abfc17293", - 1, - "VAE" - ], - [ - "78c3c43b-eabc-4cca-9643-a873e0b8dbea", - "7553cbc9-2ac9-4b62-908b-a67db7df27b9", - 0, - "634a2bc3-eabd-40ed-a2f6-bb4cef18c0a8", - 1, - "VAE" - ], - [ - "cd0adabc-7002-4e81-98a7-fbbe5cc7c9ef", - "634a2bc3-eabd-40ed-a2f6-bb4cef18c0a8", - 0, - "1b15b725-0302-4167-be46-8ed6e0f8c3ab", - 0, - "LATENT" - ], - [ - "71106f75-4a04-4722-ad85-27398cd46c9e", - "fe367602-079d-41fb-a2c4-ee2b3f596362", - 0, - "1b15b725-0302-4167-be46-8ed6e0f8c3ab", + "d61b7ac0-b5f7-4a88-8226-28f9b017f3f4", 1, "string" ], [ - "f83bfdd7-b4f2-4c63-8a64-1e8cea2c34bc", - "5a20a836-5022-4dcb-8cc9-5620d95e3c40", + "02e201d5-1d1e-4340-abd9-85c512cd03e7", + "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", + 1, + "de5f256a-91ab-42c2-86cd-645066b3c714", 0, - "1b15b725-0302-4167-be46-8ed6e0f8c3ab", - 4, "string" ], [ - "bfbbe29e-59b9-4000-b9e9-673f156cb099", - "289d7951-ac7a-45f3-8789-91b3feb8871b", + "7bf1ecb5-3b6b-4f44-9c42-c8436c207895", + "d5a2ba8b-f1bc-4830-b00f-ef2543d65d5e", 0, - "fd374f7a-1933-4180-9844-8c8ee4c91768", - 0, - "*" - ], - [ - "c2cb7d47-918c-401c-9492-e12ef502102b", - "1b15b725-0302-4167-be46-8ed6e0f8c3ab", - 0, - "fd374f7a-1933-4180-9844-8c8ee4c91768", + "de5f256a-91ab-42c2-86cd-645066b3c714", 1, - "*" - ], - [ - "ebfad1b7-7f26-46d1-8b2e-eb7e7b3996fb", - "fd374f7a-1933-4180-9844-8c8ee4c91768", - 0, - "63779084-b869-4908-bc3b-f29a8329d19f", - 8, - "LATENT" - ], - [ - "e65fb1de-1239-4952-bd1e-aae0b39b827e", - "fceffaba-f887-4a99-ba3a-d7e3a04b2933", - 0, - "a1872da9-0350-488c-ba1a-2d13075afd39", - 0, "MODEL" ], [ - "86626a55-74bc-4870-817d-d21a30e74888", - "82d42caa-d50a-4d3b-970b-442c21e3c516", + "f98dfcf1-2d97-42a3-835d-201357467e03", + "d02b1827-8ace-49db-95fe-27c218f5e25e", 0, - "ec7888b2-e6de-4e67-853a-cd22555ac697", - 1, - "*" + "d5a2ba8b-f1bc-4830-b00f-ef2543d65d5e", + 0, + "" ], [ - "d4511fe8-568a-4c30-a148-71f80b877d00", - "cddf8874-747f-4e1f-9cbd-4398389ede89", + "dc954f40-1a55-47d5-a1e5-9395203b73f3", + "f8051ab6-d9f7-44fe-898a-ad26cfde916e", 0, - "ec7888b2-e6de-4e67-853a-cd22555ac697", - 0, - "*" - ], - [ - "1f4e7ba8-810f-4f2d-810c-3a9dce5d509f", - "ec7888b2-e6de-4e67-853a-cd22555ac697", - 0, - "63779084-b869-4908-bc3b-f29a8329d19f", - 9, - "number" - ], - [ - "e64c580f-b498-40e4-9640-2ef53e111c1e", - "567795b3-8d35-41c8-9438-daf9325f70bd", - 0, - "6fde8268-fea5-464e-bc56-2953af935f25", - 2, - -1 - ], - [ - "4a7c0747-04c1-4bee-95c5-2f9e1951c9b6", - "17d2f326-75f0-461e-9cfc-5ff314310a6a", - 0, - "6fde8268-fea5-464e-bc56-2953af935f25", - 0, - "*" - ], - [ - "8a05fa61-4434-43a3-a5fe-e1d75d63a271", - "bff57d22-e589-4a2a-b82d-94d035a40bf2", - 0, - "6fde8268-fea5-464e-bc56-2953af935f25", - 1, - "*" - ], - [ - "8a665f41-0c06-46ba-9e6b-a3cefead4b0c", - "6fde8268-fea5-464e-bc56-2953af935f25", - 0, - "bff57d22-e589-4a2a-b82d-94d035a40bf2", - 1, - -1 - ], - [ - "aa929f74-111e-4fc6-9536-d5d774d00920", - "6fde8268-fea5-464e-bc56-2953af935f25", - 1, - "17d2f326-75f0-461e-9cfc-5ff314310a6a", - 1, - -1 - ], - [ - "8a310004-db45-4e0e-9526-8d3eda901ef2", - "2505875c-c94f-4066-b43a-339a031a1633", - 1, - "3c50e176-6a83-4664-8fe4-6f12faef4247", - 1, - -1 - ], - [ - "bb4b7405-711c-4bdc-bda5-b5f8d3b96fd0", - "7e99a3e9-3704-47c8-9e0d-1a4a244a6f58", - 0, - "b9dea03f-794d-42bd-a909-df03eee9b59d", - 0, - "*" - ], - [ - "fbfd7577-7b2b-42e4-94f7-f05b3a45a353", - "af9d4fee-93fa-48b2-95be-9fa6ed35d01c", - 0, - "b9dea03f-794d-42bd-a909-df03eee9b59d", - 1, - "*" - ], - [ - "99637781-7a3d-4137-9546-f1bbaacff63e", - "b9dea03f-794d-42bd-a909-df03eee9b59d", - 0, - "2cc5cdd4-b77e-452c-8d07-4feaab14821f", - 1, - "string" - ], - [ - "da7c9013-a2fa-4a98-8857-0a6a0b2cf12e", - "b9dea03f-794d-42bd-a909-df03eee9b59d", - 0, - "3c8f66e3-7626-4b76-9d36-e40be2776ffe", - 1, - "string" - ], - [ - "62db19eb-680a-41dc-8999-e6f4e9e18fd1", - "e1b6fdfc-08ff-4d62-93fe-010a81f53344", - 0, - "5d24e8a9-fe6f-473d-bb62-2a0f8fef3463", - 2, - -1 - ], - [ - "d4af7e97-d77b-463e-8a6d-ad1ea579fa44", - "878f671b-b24e-49dd-b024-85326d74c46b", - 0, - "5d24e8a9-fe6f-473d-bb62-2a0f8fef3463", - 0, - "*" - ], - [ - "33083275-85f3-4a50-ba87-5b1dfaf6685e", - "91789924-bd62-40bd-ba13-b4a494211b13", - 0, - "5d24e8a9-fe6f-473d-bb62-2a0f8fef3463", - 1, - "*" - ], - [ - "492b40b0-7c7a-4ac3-aa4e-0eb40addf89c", - "62b5f0bf-3f71-4506-90ac-b0e2e101e207", - 0, - "c0fbe50d-f7c8-40f4-a2bb-4b52025d776e", - 0, - "number,array,object" - ], - [ - "08c6c6dc-c681-4f6e-be1a-53d22a5bb93e", - "62b5f0bf-3f71-4506-90ac-b0e2e101e207", - 0, - "1cd7a845-a790-47df-b87e-3dbc857513e9", - 0, - "number,array,object" - ], - [ - "e4e4cec8-31ce-4bf2-93fd-9d5b9a9552c4", - "fd3e7353-03a0-4cd3-b7d9-f31e2b19cc6c", - 0, - "e45ae255-7ad0-4638-ac86-c879f89790ea", - 0, - "string" - ], - [ - "2c65b0ce-27e5-4757-a53f-95c05076145f", - "2c55f615-3d45-4f26-8afc-79ecac5510b6", - 0, - "0c416f37-4dc1-4dc2-8df2-a21d121863e5", - 0, - "string" - ], - [ - "539358ff-a4ee-498f-b973-8cb926ec7f69", - "ba2c7b54-2bf2-4f76-802c-21c329395919", - 0, - "2c55f615-3d45-4f26-8afc-79ecac5510b6", + "9ab5e29a-fcf2-4252-9620-0ce47552c529", 0, "number" ], [ - "9e147ba9-a8fd-435c-85fd-b4dd1fae4f87", - "2fe65f15-6b89-46e1-999f-c1e87f33178c", + "a6141a50-6a98-42ef-accd-acb4823c88da", + "f3ca5c31-3277-495e-b41c-5eff5f263bd7", 0, - "fd3e7353-03a0-4cd3-b7d9-f31e2b19cc6c", - 0, - "number" - ], - [ - "87687adc-c5db-42ef-a970-aa9806efa875", - "1cd7a845-a790-47df-b87e-3dbc857513e9", - 0, - "2fe65f15-6b89-46e1-999f-c1e87f33178c", - 0, - "number" - ], - [ - "02f43c62-bc3c-4f2f-b8cc-15ad3400f20e", - "c0fbe50d-f7c8-40f4-a2bb-4b52025d776e", - 0, - "ba2c7b54-2bf2-4f76-802c-21c329395919", - 0, - "number" - ], - [ - "14f069e4-4c73-4cec-86d6-2f2b8a6555c2", - "2fe65f15-6b89-46e1-999f-c1e87f33178c", - 0, - "0f5ebd30-28b2-4492-9760-afe9133f3cb1", - 0, - "*" - ], - [ - "b3d93a2a-3d5f-4677-b690-2f533d8e7921", - "ba2c7b54-2bf2-4f76-802c-21c329395919", - 0, - "59a9807c-7ffe-4fd4-aa8f-b844247095ad", - 0, - "*" - ], - [ - "72bd737d-2937-4cd7-a6c2-deb24ddba61b", - "91789924-bd62-40bd-ba13-b4a494211b13", - 0, - "59a9807c-7ffe-4fd4-aa8f-b844247095ad", - 1, - "*" - ], - [ - "0aa5872b-1ca4-4342-b158-9a002816ef64", - "878f671b-b24e-49dd-b024-85326d74c46b", - 0, - "0f5ebd30-28b2-4492-9760-afe9133f3cb1", - 1, - "*" - ], - [ - "5afc01db-8e31-4bf6-a5b9-856bb130fabd", - "0f5ebd30-28b2-4492-9760-afe9133f3cb1", - 0, - "1b15b725-0302-4167-be46-8ed6e0f8c3ab", + "de5f256a-91ab-42c2-86cd-645066b3c714", 2, "number" ], [ - "098070ac-bfa0-4910-8a9c-6ace3b61cfc5", - "59a9807c-7ffe-4fd4-aa8f-b844247095ad", + "3c0ea9e3-005f-4a0f-be04-248cee08632a", + "f723f393-1b70-4056-887c-aeef1217969e", 0, - "1b15b725-0302-4167-be46-8ed6e0f8c3ab", - 3, - "number" - ], - [ - "a83b554c-65a2-4cd8-9254-22d01df50bcd", - "353215bf-8ea6-4b00-a1e9-6cf404ba2e13", - 1, - "55767680-524c-4b33-925c-51ccab92909c", - 1, - "number" - ], - [ - "d90a451d-c5c6-4759-a84c-435d43ae00a8", - "353215bf-8ea6-4b00-a1e9-6cf404ba2e13", - 2, - "ed5e2222-743f-436d-aa4f-527309a42f14", - 1, - "number" - ], - [ - "90ab6eab-d319-4399-9db6-99ec91487230", - "5d24e8a9-fe6f-473d-bb62-2a0f8fef3463", - 0, - "91789924-bd62-40bd-ba13-b4a494211b13", - 1, - -1 - ], - [ - "5ab3dc31-7f75-4a8e-ad6d-8e9c9f9b468a", - "5d24e8a9-fe6f-473d-bb62-2a0f8fef3463", - 1, - "878f671b-b24e-49dd-b024-85326d74c46b", - 1, - -1 - ], - [ - "c1ba8ca9-6ece-43dc-bcc0-10a3406030b4", - "c88ffd5e-0dca-43a6-8c08-28a662c217c8", - 0, - "2664dea6-5adb-4485-b14b-ce85c8f47cf6", - 0, - -1 - ], - [ - "216dd5ea-f513-4dfa-8517-67eed0fca91a", - "2664dea6-5adb-4485-b14b-ce85c8f47cf6", - 0, - "3c5fd255-f3da-48dd-a216-042da8858845", - 0, - -1 - ], - [ - "3befef74-f599-47b0-9fe0-7cdb4eba6cbd", - "2664dea6-5adb-4485-b14b-ce85c8f47cf6", - 1, - "090dce20-ef66-4778-8246-5398e237823c", - 1, - -1 - ], - [ - "793cf260-782b-495d-a09f-f636c19f5fc4", - "62d1201f-b57d-40fe-8c4c-17f8ee0266d6", - 0, - "090dce20-ef66-4778-8246-5398e237823c", - 0, - "string" - ], - [ - "11553aed-6d67-4562-8f98-8ab990fceb4d", - "1015c35d-3385-4f73-987c-235c3e5ae154", - 0, - "f5df9e5f-a76f-423d-83d0-70257d3085a9", - 1, - "string" - ], - [ - "d22fa3f8-a441-424e-8bcf-3bde6271472a", - "8996f14d-b177-4604-b91d-e42f02b71edb", - 0, - "f5df9e5f-a76f-423d-83d0-70257d3085a9", - 0, - "string" - ], - [ - "cdeadb57-9a95-417b-956d-2835d812fa2d", - "f5df9e5f-a76f-423d-83d0-70257d3085a9", - 0, - "4c1daf73-b305-4497-8394-6779f195d5b9", - 0, - "boolean" - ], - [ - "79b2eb3a-005d-4886-8c18-eb76d10e0913", - "4443d08f-7013-4c33-b76d-f324b96874c4", - 0, - "fac977c9-f9e2-4da8-90af-e0a7a14450ac", - 1, - "string" - ], - [ - "5f9eaee2-612c-4068-ae5b-db9c884c0d9b", - "fac977c9-f9e2-4da8-90af-e0a7a14450ac", - 0, - "4c1daf73-b305-4497-8394-6779f195d5b9", - 1, - "boolean" - ], - [ - "77e6951f-6b0f-478c-812e-c1c1f55d1b0b", - "4c1daf73-b305-4497-8394-6779f195d5b9", - 0, - "41abe31a-03d3-4ed2-b9ca-2b3710378d95", - 0, - "boolean" - ], - [ - "0faa4f98-5c8a-4d1d-aa98-b3b85359152b", - "41abe31a-03d3-4ed2-b9ca-2b3710378d95", - 0, - "bd4fed48-7be1-4f43-b9c4-073ef741b764", - 1, - "boolean" - ], - [ - "36c6d73a-9a33-4441-834c-a63793ccc646", - "8a59c197-3ecf-4f37-b366-43705b0dbf03", - 0, - "c0f0a426-9f8e-4100-86de-2a290e5e07fd", - 0, - "string" - ], - [ - "86e611bd-9709-4822-a3bf-7dbcdfed2d11", - "bd4fed48-7be1-4f43-b9c4-073ef741b764", - 1, - "c0f0a426-9f8e-4100-86de-2a290e5e07fd", - 1, - -1 - ], - [ - "fdf7a5d3-d2c1-4525-b588-ef47aa3f9abb", - "d049060c-eaec-47d6-a403-93d5b7264068", - 0, - "3680a25d-9fa2-4ce3-a70e-4d1fd7c88f25", - 1, - "*" - ], - [ - "597715eb-cd1a-4406-b011-ae052d7365b9", - "8996f14d-b177-4604-b91d-e42f02b71edb", - 2, - "a11e108f-127d-427b-a343-7b095749f3ca", - 0, - -1 - ], - [ - "7044d598-07ca-426e-bdb1-2f51f73a19d4", - "8996f14d-b177-4604-b91d-e42f02b71edb", - 2, - "cc25dc77-63b2-4869-919e-97acb8f86e79", - 0, - -1 - ], - [ - "b466313e-e92e-490b-a11c-d683049d3d20", - "cc25dc77-63b2-4869-919e-97acb8f86e79", - 0, - "3680a25d-9fa2-4ce3-a70e-4d1fd7c88f25", - 0, - -1 - ], - [ - "470197fa-079b-462e-8b64-d22402d4c644", - "a11e108f-127d-427b-a343-7b095749f3ca", - 0, - "173e6f9c-0d5a-4a35-b2a1-bff479eba39b", - 1, - -1 - ], - [ - "e24f466b-a3c0-4b18-a9de-9db3d1c768ac", - "cc25dc77-63b2-4869-919e-97acb8f86e79", - 0, - "d41b80c1-bc3e-46b1-a0ed-ccf0b5561440", - 1, - -1 - ], - [ - "c928aa17-012c-456c-a2e6-5cfb21a5b7aa", - "d0fe7a77-314d-4bd7-b746-5587ce94ce2c", - 0, - "ce984d57-3d2f-4fc7-9829-f817dc8dcbd0", - 1, - "*" - ], - [ - "fd111301-6059-441a-b8fc-84e25f1dcfdb", - "bf90c19d-1ebd-44aa-9b1a-5e7302abe9fb", - 1, - "ce984d57-3d2f-4fc7-9829-f817dc8dcbd0", - 0, - -1 - ], - [ - "b369e885-ed85-495b-bbac-5d14b02026cc", - "ce984d57-3d2f-4fc7-9829-f817dc8dcbd0", - 0, - "5013189b-16f3-4f30-bc53-a2a809416c89", - 1, - -1 - ], - [ - "11b7329b-a9b2-4ef6-b9c9-9f6b8c26bcc4", - "ce984d57-3d2f-4fc7-9829-f817dc8dcbd0", - 1, - "42f512a9-4312-42ca-a4b1-07e0ec57ee44", - 1, - -1 - ], - [ - "8947fb09-c603-40be-bf16-32d723bf9142", - "50f8d159-54bb-49d3-af76-6619005bda4e", - 0, - "23ce9065-4613-42f5-83d7-5d0b897ceaa7", - 0, - "string" - ], - [ - "1cf67330-7b90-4ec4-b116-de5fd9a95975", - "8996f14d-b177-4604-b91d-e42f02b71edb", - 0, - "50f8d159-54bb-49d3-af76-6619005bda4e", - 0, - "string,array" - ], - [ - "b4dc8e22-e5d6-46ba-befa-246845285da7", - "23ce9065-4613-42f5-83d7-5d0b897ceaa7", - 1, - "f0ced758-010a-43b4-8418-b318acb8c858", - 0, - -1 - ], - [ - "7ca16b53-f9bf-4db7-ab4b-5989ce8dd05f", - "8996f14d-b177-4604-b91d-e42f02b71edb", - 2, - "50f8d159-54bb-49d3-af76-6619005bda4e", - 2, - -1 - ], - [ - "68979cea-ed80-4566-af17-045d4f5af8f9", - "2cc5cdd4-b77e-452c-8d07-4feaab14821f", - 0, - "d08a5ebb-d43a-4590-b770-d0c444feb2b9", - 1, - -1 - ], - [ - "83beeb50-4d1d-40a3-aae1-8d8036c76791", - "3680a25d-9fa2-4ce3-a70e-4d1fd7c88f25", - 0, - "bf90c19d-1ebd-44aa-9b1a-5e7302abe9fb", - 1, - -1 - ], - [ - "1d646e0d-177c-40a6-a0bb-1cb46a7d15be", - "b3397c7a-e4a9-486d-acd3-7ed7920ab01e", - 0, - "fb8d72cd-cb80-40a2-8662-0db5ef8a9ec5", - 0, - -1 - ], - [ - "6c08d4ca-f44b-4980-bf4a-dc8c6ab2c4c7", - "c52fc513-84b7-42bb-b3ab-16124410f2be", - 2, - "fb8d72cd-cb80-40a2-8662-0db5ef8a9ec5", - 1, - -1 - ], - [ - "1985979f-a7e5-4599-be55-33855ed2bfa9", - "fb8d72cd-cb80-40a2-8662-0db5ef8a9ec5", - 0, - "bd4fed48-7be1-4f43-b9c4-073ef741b764", - 0, - -1 - ], - [ - "e8a6d5d0-1b59-49f3-8ead-8a86efb0799c", - "33878591-0f55-4c60-8ef5-3858434af153", - 0, - "71b1c184-23c0-4455-a6e3-79cf4f2e8cad", - 0, - "string" - ], - [ - "fd27143b-a4e4-401b-aa20-5e5be5fdf4db", - "b77d58e2-baf8-4be3-8117-f6600e335959", - 0, - "a643fd0a-1260-458a-80bf-f2a322e97295", - 0, - "string" - ], - [ - "e69578b0-2527-4971-a465-e418499b2037", - "2664dea6-5adb-4485-b14b-ce85c8f47cf6", - 0, - "a643fd0a-1260-458a-80bf-f2a322e97295", - 1, - -1 - ], - [ - "c6c14d5f-31ab-4c07-b428-a56bc85fc648", - "3c8f66e3-7626-4b76-9d36-e40be2776ffe", - 0, - "8065a276-719c-47cc-bced-150638b45f30", - 1, - -1 - ], - [ - "e9ed9364-7312-4779-9b03-00cd3da00b58", - "2cc5cdd4-b77e-452c-8d07-4feaab14821f", - 0, - "8f80ac4b-839e-40b5-805c-3e004adf6e3a", - 1, - -1 - ], - [ - "90b7e3d2-0bd5-45d8-b717-6fe45b614caf", - "b5dbaae9-443b-4221-81bf-cc4efe6a4ac7", - 0, - "01148666-c268-4868-af9c-89e135697ef2", - 1, - "boolean" - ], - [ - "51a63d6b-ca92-4b2f-b58c-528f711986b4", - "0abc5885-4e47-4793-abfa-ceb7a08a3da6", - 0, - "8f7575c0-9bbd-4b9a-9f96-fbf85772115d", - 0, - -1 - ], - [ - "61d8c514-9a03-40ef-bdf6-fdbc8e4b4878", - "8f7575c0-9bbd-4b9a-9f96-fbf85772115d", - 0, - "196174de-3e4e-4371-a3af-6baeced08071", - 1, - -1 - ], - [ - "e5b0bee2-a35c-4aa3-b83b-44049a882869", - "196174de-3e4e-4371-a3af-6baeced08071", - 1, - "01148666-c268-4868-af9c-89e135697ef2", - 0, - -1 - ], - [ - "0961f878-e04a-49b0-be1f-51bbd63a5f79", - "01148666-c268-4868-af9c-89e135697ef2", - 0, - "d5068b0b-adb0-406f-a885-26244d0004d1", - 0, - -1 - ], - [ - "561e4cdf-b249-48da-a6a3-1cb5fe0f92ca", - "0abc5885-4e47-4793-abfa-ceb7a08a3da6", - 0, - "73f504e6-4fa2-4485-9fa5-59909eb50f73", - 0, - -1 - ], - [ - "24aee005-7316-42c7-805d-5e9c2cb473c7", - "d5068b0b-adb0-406f-a885-26244d0004d1", - 0, - "73f504e6-4fa2-4485-9fa5-59909eb50f73", - 1, - -1 - ], - [ - "b24cdc3e-9373-41a2-8565-7ded0f3450be", - "73f504e6-4fa2-4485-9fa5-59909eb50f73", - 0, - "906ec488-068d-4f6d-905d-efbdd964b444", - 1, - -1 - ], - [ - "b7967f7a-9b8c-4e24-a6b2-496eb78397e9", - "b5dbaae9-443b-4221-81bf-cc4efe6a4ac7", - 0, - "2a252875-fa42-4cab-9ff8-9a32e349205b", - 1, - "boolean" - ], - [ - "873e0bff-ef3c-4b0e-a429-c9f85abbaf25", - "906ec488-068d-4f6d-905d-efbdd964b444", - 1, - "2a252875-fa42-4cab-9ff8-9a32e349205b", - 0, - -1 - ], - [ - "eeeb838f-ef79-4d21-a15c-a6d390452fd8", - "2a252875-fa42-4cab-9ff8-9a32e349205b", - 0, - "e6f99466-8b99-4907-8410-34e60a7e13ff", - 0, - -1 - ], - [ - "6ff75959-329f-450d-93c0-6e2d0143036e", - "e6f99466-8b99-4907-8410-34e60a7e13ff", - 0, - "8f7575c0-9bbd-4b9a-9f96-fbf85772115d", - 1, - -1 - ], - [ - "c881e907-6302-438a-83c6-ae649d7b5bb9", - "ff1b301a-552a-4b53-abf3-288b0a46d14b", - 0, - "12856e82-6fbf-4f83-9d50-e87867bad2cc", - 2, - "string" - ], - [ - "99c0d400-72c1-474a-86ff-fcc2b10cbecd", - "37a0caec-96c3-4896-9427-e7e3a49cbf00", - 0, - "12856e82-6fbf-4f83-9d50-e87867bad2cc", - 3, - "number" - ], - [ - "59b3457b-7970-48e4-a357-037bb9ae86fe", - "af297914-1f5a-4790-8a9b-aadf02b63653", - 0, - "12856e82-6fbf-4f83-9d50-e87867bad2cc", - 4, - "number" - ], - [ - "1de1578c-69ec-4dd0-a107-b44d8d96bf16", - "70e06503-de12-4961-a28e-e11e0c1c1eb8", - 0, - "37a0caec-96c3-4896-9427-e7e3a49cbf00", - 1, - -1 - ], - [ - "95b2c6e3-f103-4cac-b144-ef43b5063eed", - "4c1af864-f259-45bf-8bf5-36da40bb8e9e", - 0, - "af297914-1f5a-4790-8a9b-aadf02b63653", - 1, - -1 - ], - [ - "66a40917-f96f-4afb-b62c-dcc8726c7a49", - "9fe7feb8-a378-4bc7-929f-f48de6358def", - 0, - "e83dfe24-5c64-43a2-b3a6-c42c522ab5b9", - 0, - "*" - ], - [ - "f2fcbff0-ae24-496d-a933-44878b39cdc0", - "7dde8deb-6909-46c7-a27f-8ba91b2d8118", - 0, - "e83dfe24-5c64-43a2-b3a6-c42c522ab5b9", - 1, - -1 - ], - [ - "55bdfe70-f28b-4a6b-8a92-2c0e5935d6b4", - "af297914-1f5a-4790-8a9b-aadf02b63653", - 1, - "d042ab43-83b7-4bde-96af-e05fa01ba9f1", - 0, - -1 - ], - [ - "03eb7f4d-790f-41da-8066-52233b3aa0c0", - "e83dfe24-5c64-43a2-b3a6-c42c522ab5b9", - 0, - "4c1af864-f259-45bf-8bf5-36da40bb8e9e", - 0, - -1 - ], - [ - "b7acfe86-ee09-4f25-923d-1d1b9942c052", - "24714654-aedd-41af-9986-9f1d0d117f1d", - 0, - "4c1af864-f259-45bf-8bf5-36da40bb8e9e", - 1, - -1 - ], - [ - "d9cbad7f-c792-4fb1-9153-548a256924ea", - "d042ab43-83b7-4bde-96af-e05fa01ba9f1", - 0, - "799d7159-aafd-4f79-85ca-b04a89100ccf", - 0, - -1 - ], - [ - "01202778-c90b-4823-82a1-90ac3521736e", - "e83dfe24-5c64-43a2-b3a6-c42c522ab5b9", - 0, - "70e06503-de12-4961-a28e-e11e0c1c1eb8", - 0, - -1 - ], - [ - "50d9602c-c4b9-4754-ac0d-810b55968c38", - "799d7159-aafd-4f79-85ca-b04a89100ccf", - 0, - "70e06503-de12-4961-a28e-e11e0c1c1eb8", - 1, - -1 - ], - [ - "026e7072-cb55-4676-968e-cfbaddd1b447", - "37a0caec-96c3-4896-9427-e7e3a49cbf00", - 1, - "97c151ca-f711-4b43-abb1-a596391d2e1f", - 0, - -1 - ], - [ - "802193a5-8420-4aea-aa06-3282e3f2a2df", - "97c151ca-f711-4b43-abb1-a596391d2e1f", - 0, - "24714654-aedd-41af-9986-9f1d0d117f1d", - 0, - -1 - ], - [ - "166fbf57-a1bf-4847-9645-e1a27b78df44", - "3585749f-d3e5-46de-aab3-81698f0a626e", - 0, - "4b114908-3894-4689-a13c-25843b9a5aae", - 2, - "string" - ], - [ - "b69df36c-0744-4f0e-9e48-604f8574d01d", - "eb95dd75-c834-4e7d-b36b-bfb308b3769d", - 0, - "4b114908-3894-4689-a13c-25843b9a5aae", - 3, - "number" - ], - [ - "4b5e5d4d-3dc3-40e5-9a86-16c616abc803", - "2dced316-62a1-4537-82b9-5a739dfe7987", - 0, - "4b114908-3894-4689-a13c-25843b9a5aae", - 4, - "number" - ], - [ - "12c2885d-45ec-4b77-97ad-b11008ec6281", - "2a99ac88-b508-4eb8-b60a-c349214c25f5", - 0, - "eb95dd75-c834-4e7d-b36b-bfb308b3769d", - 1, - -1 - ], - [ - "d5321e9f-6219-4d30-9ea6-d58dad4fd724", - "4752794a-0893-4592-ad5d-9fa14360f987", - 0, - "2dced316-62a1-4537-82b9-5a739dfe7987", - 1, - -1 - ], - [ - "86224c37-7029-4618-b295-448dfef357d3", - "0d901f28-980d-4c0b-a03d-b25574c914d1", - 0, - "b02af7e0-e6da-4c70-a9aa-44e44141b037", - 0, - "*" - ], - [ - "a4e6bc64-36ac-49ff-b03a-e593d2d18262", - "d12389d4-c7e5-4d38-b6cc-ae0ec3e356de", - 0, - "b02af7e0-e6da-4c70-a9aa-44e44141b037", - 1, - -1 - ], - [ - "63dddbfe-ebec-4346-991e-dd718240b982", - "2dced316-62a1-4537-82b9-5a739dfe7987", - 1, - "4421a37a-7d4c-4442-ab9e-11c664d1a527", - 0, - -1 - ], - [ - "b734da8d-c391-4aa5-a6af-2668ae89b817", - "b02af7e0-e6da-4c70-a9aa-44e44141b037", - 0, - "4752794a-0893-4592-ad5d-9fa14360f987", - 0, - -1 - ], - [ - "e43667b6-d08c-44d3-bafb-c3d945bb55ac", - "c9f17c9e-620e-4b85-91bf-1b3d0aac7fb1", - 0, - "4752794a-0893-4592-ad5d-9fa14360f987", - 1, - -1 - ], - [ - "e6d2eede-bbb4-45ee-b7b6-6206e078f5b5", - "4421a37a-7d4c-4442-ab9e-11c664d1a527", - 0, - "f24f15ed-57df-4126-b2b2-b5190a6df08b", - 0, - -1 - ], - [ - "7067b057-843f-4fde-bbd0-4e6a6aa1f2db", - "b02af7e0-e6da-4c70-a9aa-44e44141b037", - 0, - "2a99ac88-b508-4eb8-b60a-c349214c25f5", - 0, - -1 - ], - [ - "187d30c5-d8ea-40ef-b755-7a756f273664", - "f24f15ed-57df-4126-b2b2-b5190a6df08b", - 0, - "2a99ac88-b508-4eb8-b60a-c349214c25f5", - 1, - -1 - ], - [ - "25daddf8-4a2a-4517-9bd4-1e115bd64e79", - "eb95dd75-c834-4e7d-b36b-bfb308b3769d", - 1, - "23319601-cd23-44ed-95c3-9589a245ab32", - 0, - -1 - ], - [ - "4886f5d4-e169-4af0-8ece-a02326c877cd", - "23319601-cd23-44ed-95c3-9589a245ab32", - 0, - "c9f17c9e-620e-4b85-91bf-1b3d0aac7fb1", - 0, - -1 - ], - [ - "85aaf44a-3fcf-4917-bba4-9530b28617de", - "51bd9371-9711-4cdb-98b7-92ba8d87ab62", - 0, - "362f9dea-bb82-4989-95f0-bb56a85b28fe", - 2, - "string" - ], - [ - "25e12f44-63c8-4bbc-adad-5dca0f94657f", - "7eab2ed7-f071-4fa9-a408-8d748b265d63", - 0, - "362f9dea-bb82-4989-95f0-bb56a85b28fe", - 3, - "number" - ], - [ - "846074c4-5563-4620-97ff-b11b4f1c6a43", - "c2428843-22a3-49de-8d9a-b7e4d2b3da1c", - 0, - "362f9dea-bb82-4989-95f0-bb56a85b28fe", - 4, - "number" - ], - [ - "8639ed3a-184a-438f-b25a-db0aa7f8cde9", - "793b4e31-f837-446c-937d-6d0c685bfa4a", - 0, - "7eab2ed7-f071-4fa9-a408-8d748b265d63", - 1, - -1 - ], - [ - "7dd95856-6065-4ae7-8e6a-3d3741ccfb74", - "b0bfdaf3-47d2-4673-97b3-1da540157884", - 0, - "c2428843-22a3-49de-8d9a-b7e4d2b3da1c", - 1, - -1 - ], - [ - "5af67cf6-7dce-440c-a53c-b9cfaf4d0be5", - "1656dd5f-237f-4a9d-a128-8cc512382d01", - 0, - "195eee27-2693-4db2-9651-b5361ba2d607", - 0, - "*" - ], - [ - "6a476d5f-16a2-4d3a-a0f0-3acde2917785", - "edb15d59-980e-4259-b755-2695f53b372b", - 0, - "195eee27-2693-4db2-9651-b5361ba2d607", - 1, - -1 - ], - [ - "142b7c44-4cf5-4cca-92ec-42b82d19dfd7", - "c2428843-22a3-49de-8d9a-b7e4d2b3da1c", - 1, - "5f8eb486-250d-4b80-bc48-ed2b79b00d99", - 0, - -1 - ], - [ - "33473eac-737b-4391-9827-85b17af577eb", - "195eee27-2693-4db2-9651-b5361ba2d607", - 0, - "b0bfdaf3-47d2-4673-97b3-1da540157884", - 0, - -1 - ], - [ - "5067de73-ecf8-45db-9876-5be05e92f0ac", - "74914c3d-be2e-4676-b0c9-7aa777807c9c", - 0, - "b0bfdaf3-47d2-4673-97b3-1da540157884", - 1, - -1 - ], - [ - "f62c7d6a-7603-4308-866d-c8e33dca4fb2", - "5f8eb486-250d-4b80-bc48-ed2b79b00d99", - 0, - "fda858ab-4646-4bb4-afb0-dc8c85e75388", - 0, - -1 - ], - [ - "252b0f7c-b4e6-4153-b921-2396ebd1824a", - "195eee27-2693-4db2-9651-b5361ba2d607", - 0, - "793b4e31-f837-446c-937d-6d0c685bfa4a", - 0, - -1 - ], - [ - "eccdbaa9-79a4-4f37-abbd-00d91d65a113", - "fda858ab-4646-4bb4-afb0-dc8c85e75388", - 0, - "793b4e31-f837-446c-937d-6d0c685bfa4a", - 1, - -1 - ], - [ - "39389ec8-1961-47af-b119-a4041334d3a1", - "7eab2ed7-f071-4fa9-a408-8d748b265d63", - 1, - "dd41e1e1-1735-4f0e-8984-037a0bab5292", - 0, - -1 - ], - [ - "bbd22841-8aa0-4a29-82b0-861a85b73673", - "dd41e1e1-1735-4f0e-8984-037a0bab5292", - 0, - "74914c3d-be2e-4676-b0c9-7aa777807c9c", - 0, - -1 - ], - [ - "4c62af9b-88d5-4fa8-a7b0-cdc7cf92ec16", - "db17379a-d8c6-419b-8303-91c930a44d81", - 0, - "a129cd00-f18e-414b-8e9e-e3041199ad1b", - 2, - "string" - ], - [ - "6066f4e8-4991-4019-904b-497dce9071d4", - "be27330e-65f6-45eb-89ee-ba962be1116e", - 0, - "a129cd00-f18e-414b-8e9e-e3041199ad1b", - 3, - "number" - ], - [ - "4843d112-20a7-4027-9399-67bb5d0466b8", - "53a81df2-3c68-4e5f-855b-fd95d87b50f2", - 0, - "a129cd00-f18e-414b-8e9e-e3041199ad1b", - 4, - "number" - ], - [ - "abb86d75-9cf3-46aa-a012-570e9e3ed829", - "ef036340-c9d3-43f6-bf0a-38449aabf72c", - 0, - "be27330e-65f6-45eb-89ee-ba962be1116e", - 1, - -1 - ], - [ - "3a68323a-cd0e-4b0e-9531-1fc24dc35061", - "b02a68e5-8fee-45d5-9f55-1e2f939df0cb", - 0, - "53a81df2-3c68-4e5f-855b-fd95d87b50f2", - 1, - -1 - ], - [ - "abefd1cc-5048-4283-9342-0f70c0690228", - "3f8a61cb-d094-40dc-b358-1ba9fab161d9", - 0, - "68f472ed-9f1e-40e7-86ba-0ae798a9cd95", - 0, - "*" - ], - [ - "aa924ae7-c81c-49be-83d3-ca61103b526a", - "871dc4f9-229e-49f7-b3bc-5b4f84471237", - 0, - "68f472ed-9f1e-40e7-86ba-0ae798a9cd95", - 1, - -1 - ], - [ - "caa1587b-4c36-41d8-a279-0d229d40a398", - "53a81df2-3c68-4e5f-855b-fd95d87b50f2", - 1, - "a9bdf8d6-c781-4df6-857a-b48fad9e17e5", - 0, - -1 - ], - [ - "6c401eb5-96f0-45c2-bcca-624731211941", - "68f472ed-9f1e-40e7-86ba-0ae798a9cd95", - 0, - "b02a68e5-8fee-45d5-9f55-1e2f939df0cb", - 0, - -1 - ], - [ - "4efa2aa5-7c97-47ce-8ace-fa077cb32acd", - "664dbc73-4232-4319-ad4a-1c5a9e8860fb", - 0, - "b02a68e5-8fee-45d5-9f55-1e2f939df0cb", - 1, - -1 - ], - [ - "e6c3a1d2-1bad-4c08-825c-a70af7995149", - "a9bdf8d6-c781-4df6-857a-b48fad9e17e5", - 0, - "0319a35f-bc20-48f7-954c-488ea3263f0f", - 0, - -1 - ], - [ - "b8b069e2-0d46-42a9-a988-d8b9bebfbfed", - "68f472ed-9f1e-40e7-86ba-0ae798a9cd95", - 0, - "ef036340-c9d3-43f6-bf0a-38449aabf72c", - 0, - -1 - ], - [ - "9c420e4e-db00-4229-9e9d-52fc110665d0", - "0319a35f-bc20-48f7-954c-488ea3263f0f", - 0, - "ef036340-c9d3-43f6-bf0a-38449aabf72c", - 1, - -1 - ], - [ - "5da4b5b8-2f62-4d2e-84fb-8c018d3000e2", - "be27330e-65f6-45eb-89ee-ba962be1116e", - 1, - "9ddc7369-1605-4851-b101-bbebcdf33928", - 0, - -1 - ], - [ - "22ffa73e-9c2d-435e-8b5c-bac7fd985e6b", - "9ddc7369-1605-4851-b101-bbebcdf33928", - 0, - "664dbc73-4232-4319-ad4a-1c5a9e8860fb", - 0, - -1 - ], - [ - "85a9cd98-4b42-417e-a833-0e44382b974c", - "b5dbaae9-443b-4221-81bf-cc4efe6a4ac7", - 0, - "d042ab43-83b7-4bde-96af-e05fa01ba9f1", - 1, - "boolean" - ], - [ - "cd5df31a-9d7e-40ed-974e-4e881b624af6", - "b5dbaae9-443b-4221-81bf-cc4efe6a4ac7", - 0, - "97c151ca-f711-4b43-abb1-a596391d2e1f", - 1, - "boolean" - ], - [ - "67a471e3-476f-4cb0-adcc-c8ae67092927", - "b5dbaae9-443b-4221-81bf-cc4efe6a4ac7", - 0, - "4421a37a-7d4c-4442-ab9e-11c664d1a527", - 1, - "boolean" - ], - [ - "62a33350-3222-476e-b41e-e4de81c673a5", - "b5dbaae9-443b-4221-81bf-cc4efe6a4ac7", - 0, - "23319601-cd23-44ed-95c3-9589a245ab32", - 1, - "boolean" - ], - [ - "6e99f9b7-f2c6-40ba-8e42-abef472eae42", - "b5dbaae9-443b-4221-81bf-cc4efe6a4ac7", - 0, - "5f8eb486-250d-4b80-bc48-ed2b79b00d99", - 1, - "boolean" - ], - [ - "d76f53e2-d4fc-4cac-aa32-fb88f306fde4", - "b5dbaae9-443b-4221-81bf-cc4efe6a4ac7", - 0, - "dd41e1e1-1735-4f0e-8984-037a0bab5292", - 1, - "boolean" - ], - [ - "f6b2f2d0-d054-4a7a-b7bc-dd7eafde44e5", - "b5dbaae9-443b-4221-81bf-cc4efe6a4ac7", - 0, - "a9bdf8d6-c781-4df6-857a-b48fad9e17e5", - 1, - "boolean" - ], - [ - "6ea938f4-334b-497e-896b-9b0e5daa5c98", - "b5dbaae9-443b-4221-81bf-cc4efe6a4ac7", - 0, - "9ddc7369-1605-4851-b101-bbebcdf33928", - 1, - "boolean" - ], - [ - "1f322c07-5031-4ff5-b2ce-1daa1b40f413", - "a1872da9-0350-488c-ba1a-2d13075afd39", - 1, - "12856e82-6fbf-4f83-9d50-e87867bad2cc", - 1, - "CLIP" - ], - [ - "58a92b1d-7f39-4b79-8623-eb1586f04572", - "12856e82-6fbf-4f83-9d50-e87867bad2cc", - 1, - "4b114908-3894-4689-a13c-25843b9a5aae", - 1, - "CLIP" - ], - [ - "6e0243b1-77ce-4651-90d2-50efd7ad0278", - "4b114908-3894-4689-a13c-25843b9a5aae", - 1, - "362f9dea-bb82-4989-95f0-bb56a85b28fe", - 1, - "CLIP" - ], - [ - "91f33fdf-59a6-4b8f-bccd-6404bb7238bd", - "362f9dea-bb82-4989-95f0-bb56a85b28fe", - 1, - "a129cd00-f18e-414b-8e9e-e3041199ad1b", - 1, - "CLIP" - ], - [ - "6988b01a-312a-492f-9f3b-83f5bc18c78e", - "f1b405a1-ca77-41aa-917d-d0ec0c1b9296", - 0, - "789740f5-5197-48fb-b180-9abef784108a", - 1, - "CLIP" - ], - [ - "66a02c79-e211-44a6-a405-7f59611540d5", - "f1b405a1-ca77-41aa-917d-d0ec0c1b9296", - 0, - "eef6c92e-ae99-4562-ac2c-d93c1774ad09", - 1, - "CLIP" - ], - [ - "c9938068-f193-43f0-82d9-7655055b6839", - "362f9dea-bb82-4989-95f0-bb56a85b28fe", - 0, - "a129cd00-f18e-414b-8e9e-e3041199ad1b", - 0, - "MODEL" - ], - [ - "38a5d721-65c2-4ed2-b5dd-7182d89eb3c1", - "4b114908-3894-4689-a13c-25843b9a5aae", - 0, - "362f9dea-bb82-4989-95f0-bb56a85b28fe", - 0, - "MODEL" - ], - [ - "29fc2083-fa99-4367-bf9a-1c5decd36464", - "12856e82-6fbf-4f83-9d50-e87867bad2cc", - 0, - "4b114908-3894-4689-a13c-25843b9a5aae", - 0, - "MODEL" - ], - [ - "3a93c4b2-bba4-49b4-9965-caacdb97e157", - "a1872da9-0350-488c-ba1a-2d13075afd39", - 0, - "12856e82-6fbf-4f83-9d50-e87867bad2cc", - 0, - "MODEL" - ], - [ - "9134eef8-2ecf-4cf8-ac13-c323234fd3a9", - "410a9a96-0188-48d8-9166-18742d44857d", - 0, - "da43ec81-0638-49cb-8933-759a8b0d9519", - 1, - "string" - ], - [ - "ce8a1cbd-b0fd-46e4-85ed-022a91b1bdf6", - "31bba00f-7d11-4e58-aa51-09c89f83e9aa", - 0, - "da43ec81-0638-49cb-8933-759a8b0d9519", - 0, - "MODEL" - ], - [ - "cd498f3d-ca33-4c4c-b164-4232088c531b", - "deb48f01-b06d-46d3-8eed-8bbc281d29f0", - 0, - "05a3bc9f-65dd-4045-bf0f-47f94539b40a", - 3, - "number" - ], - [ - "bcec3a3d-16ac-4b9f-8225-feb6bc31c8bb", - "a230045e-03b0-45ee-9b4c-b272c9f131ba", - 0, - "05a3bc9f-65dd-4045-bf0f-47f94539b40a", - 2, - "IMAGE" - ], - [ - "8a68c72a-0111-4df1-8118-340415ff4b61", - "da43ec81-0638-49cb-8933-759a8b0d9519", - 0, - "05a3bc9f-65dd-4045-bf0f-47f94539b40a", - 1, - "CONTROL_NET" - ], - [ - "7d5f192e-540d-4ace-b53c-a09b6ee39ce1", - "a230045e-03b0-45ee-9b4c-b272c9f131ba", - 0, - "08b689a2-42c6-4a87-9043-4d4da623eed8", - 2, - "IMAGE" - ], - [ - "9e1036cb-f41d-46a6-af06-aeb3b07d5062", - "da43ec81-0638-49cb-8933-759a8b0d9519", - 0, - "08b689a2-42c6-4a87-9043-4d4da623eed8", - 1, - "CONTROL_NET" - ], - [ - "bd4482e3-0a43-476f-9587-589439263c9d", - "789740f5-5197-48fb-b180-9abef784108a", - 0, - "05a3bc9f-65dd-4045-bf0f-47f94539b40a", - 0, - "CONDITIONING" - ], - [ - "33301452-deaf-4fe7-9fc2-b59a3eeb3096", - "eef6c92e-ae99-4562-ac2c-d93c1774ad09", - 0, - "08b689a2-42c6-4a87-9043-4d4da623eed8", - 0, - "CONDITIONING" - ], - [ - "7804c62d-de12-4888-b35b-81a392ddaf22", - "deb48f01-b06d-46d3-8eed-8bbc281d29f0", - 0, - "08b689a2-42c6-4a87-9043-4d4da623eed8", - 3, - "number" - ], - [ - "3ec7bbac-1c6c-44db-aa86-04d294bbe27e", - "d2fc48d4-a7a9-44c8-9be8-69c7722aa1e7", - 0, - "3a262171-2303-4219-8c74-50b07d3a1a4b", - 0, - "*" - ], - [ - "004971a3-84bc-471f-8132-7f6201832350", - "cc371bd0-9fbd-4655-ae2c-bf0777de66c8", - 0, - "3a262171-2303-4219-8c74-50b07d3a1a4b", - 1, - -1 - ], - [ - "dc4c339e-9c9a-40cf-a1fb-182e4327655f", - "3a262171-2303-4219-8c74-50b07d3a1a4b", - 0, - "deb48f01-b06d-46d3-8eed-8bbc281d29f0", - 1, - -1 - ], - [ - "f00279dc-33dc-4b96-9957-8fecfa237750", - "85bf4605-fc2b-4d17-9c08-edff76734990", - 0, - "a230045e-03b0-45ee-9b4c-b272c9f131ba", - 0, - "string" - ], - [ - "5b600061-367a-4ab6-87e8-c3d564173e34", - "d88047d6-932e-46e3-abd8-858f84b6baab", - 0, - "fac977c9-f9e2-4da8-90af-e0a7a14450ac", - 0, - "string" - ], - [ - "d78d4f6c-ee23-4a22-b034-7523c4ec6458", - "d88047d6-932e-46e3-abd8-858f84b6baab", - 0, - "c5c93866-9aab-49b2-8dda-1b508ceda73b", - 0, - "string" - ], - [ - "7ce16e3a-17aa-46b1-8f80-4071ca1b0554", - "d88047d6-932e-46e3-abd8-858f84b6baab", - 2, - "c0fbe50d-f7c8-40f4-a2bb-4b52025d776e", - 1, - "number" - ], - [ - "63704a2f-d07b-4307-a7c1-a1886c5fe9ec", - "d88047d6-932e-46e3-abd8-858f84b6baab", - 1, - "1cd7a845-a790-47df-b87e-3dbc857513e9", - 1, - "number" - ], - [ - "7c8b4a1a-0972-477e-be91-dcfd537f4930", - "85bf4605-fc2b-4d17-9c08-edff76734990", - 3, - "b41624ab-d64a-4a11-be3d-ef0fcda7db08", - 1, - "number" - ], - [ - "edccd601-ab59-445b-aad8-2f9e40717856", - "c6f25547-8c95-4882-9cf1-75e763b0829d", - 0, - "b41624ab-d64a-4a11-be3d-ef0fcda7db08", - 0, - "number" - ], - [ - "da5a6bf3-2c5d-4b97-bbaa-88dcd7916e7d", - "b41624ab-d64a-4a11-be3d-ef0fcda7db08", - 0, - "65f9ea9d-98c0-4572-86c6-493a630c73c1", - 1, - "boolean" - ], - [ - "70d2df87-3759-4556-b919-731d588ef174", - "65f9ea9d-98c0-4572-86c6-493a630c73c1", - 0, - "8018a8b1-0661-4c1d-82c7-c1624723b5d7", - 0, - "boolean" - ], - [ - "bd30e78c-9073-4a5b-b70f-247530cdb565", - "8018a8b1-0661-4c1d-82c7-c1624723b5d7", - 0, - "e133e0b3-5b6e-4627-95fa-1826c9dba3c6", - 1, - "boolean" - ], - [ - "3792e6ce-b609-4358-bd97-a697b8708ce6", - "bd4fed48-7be1-4f43-b9c4-073ef741b764", - 0, - "e133e0b3-5b6e-4627-95fa-1826c9dba3c6", - 0, - -1 - ], - [ - "cae06ca9-f2d2-42b9-a3b8-87a0bfaf19db", - "e133e0b3-5b6e-4627-95fa-1826c9dba3c6", - 0, - "71b1c184-23c0-4455-a6e3-79cf4f2e8cad", - 1, - -1 - ], - [ - "9a84f74c-a63d-4357-9bc8-9597f7938d6f", - "e133e0b3-5b6e-4627-95fa-1826c9dba3c6", - 0, - "f0fccc04-29e8-4c09-939d-c250d15e6a71", - 0, - -1 - ], - [ - "1b6ec849-fa46-407b-ab8d-25a5d6a0eee7", - "4c95de29-ef11-40e6-bdb7-1b14f6e82029", - 0, - "cb106480-6e33-43b0-9dc8-f4c7678e985b", - 0, - "string" - ], - [ - "7ca43588-82fe-4196-a9b2-e54e4edbcfc3", - "e133e0b3-5b6e-4627-95fa-1826c9dba3c6", - 1, - "cb106480-6e33-43b0-9dc8-f4c7678e985b", - 1, - -1 - ], - [ - "30a01a1c-8991-4f60-a58a-2dc3d14c31e5", - "05a3bc9f-65dd-4045-bf0f-47f94539b40a", - 0, - "cd9dcb1c-21bf-48a8-9de7-a607444d2e7c", - 0, - "*" - ], - [ - "9d5e3ba5-255d-4f7d-9b8e-6c33bffaa7d5", - "08b689a2-42c6-4a87-9043-4d4da623eed8", - 0, - "6855c812-87cd-4d50-820b-490345216bd7", - 0, - "*" - ], - [ - "f9ed6e64-f513-426c-9964-63a5d3e72b3d", - "6855c812-87cd-4d50-820b-490345216bd7", - 0, - "9564d326-d463-4095-9372-6f55648e43bd", - 7, - "CONDITIONING" - ], - [ - "cb02958e-42e8-41d6-8032-2a4bc15361e6", - "cd9dcb1c-21bf-48a8-9de7-a607444d2e7c", - 0, - "9564d326-d463-4095-9372-6f55648e43bd", + "de5f256a-91ab-42c2-86cd-645066b3c714", 6, "CONDITIONING" ], [ - "2e96ceba-0e7a-49df-b634-37a50ef7ab86", - "789740f5-5197-48fb-b180-9abef784108a", + "f8299a81-0070-41e2-ace6-bf6fd5a47e73", + "ab681ebc-8042-4e00-807b-c3e505e4ff30", 0, - "cd9dcb1c-21bf-48a8-9de7-a607444d2e7c", - 1, - "*" + "f723f393-1b70-4056-887c-aeef1217969e", + 0, + "" ], [ - "41976ca5-7371-4058-b290-a4cf299b08df", - "eef6c92e-ae99-4562-ac2c-d93c1774ad09", + "31281b4a-4d23-4e90-8000-6ddf09803d64", + "3e181ad2-d98a-4efa-a634-b23cdca9f3e1", 0, - "6855c812-87cd-4d50-820b-490345216bd7", - 1, - "*" - ], - [ - "6df9b158-647a-4aca-a9bc-65bd2b5f090c", - "c736e06d-7153-432f-8451-3842fa78ba29", - 1, - "8d1047c3-696f-4306-8e1b-5348827ee3e0", - 1, - -1 - ], - [ - "4c8d9d3f-8feb-4d29-80f3-e0cdaec616de", - "c736e06d-7153-432f-8451-3842fa78ba29", - 0, - "8d1047c3-696f-4306-8e1b-5348827ee3e0", - 0, - "boolean" - ], - [ - "0a560476-ef29-45e1-ac1d-573c886f1321", - "c736e06d-7153-432f-8451-3842fa78ba29", - 0, - "1bcad626-7070-451c-8560-e47147dbde4c", - 1, - "boolean" - ], - [ - "0828acf5-aaa6-4051-a953-a4aac7ff5937", - "86c57fb8-6d23-4d99-b81f-22ffb1af5132", - 0, - "1bcad626-7070-451c-8560-e47147dbde4c", - 0, - "boolean" - ], - [ - "6ed1e727-6f39-4a5d-8912-9af5823f4b88", - "1bcad626-7070-451c-8560-e47147dbde4c", - 0, - "65f9ea9d-98c0-4572-86c6-493a630c73c1", - 0, - "boolean" - ], - [ - "d765ef48-6db1-4714-8c86-5c22537af970", - "a1573c65-f532-4d2d-887c-23da55d529f3", - 1, - "c3b4a5fd-ab70-476d-8743-4b52e8c7f9af", - 0, - -1 - ], - [ - "6b1884fc-d6bb-4b4e-a1b1-654c4f3ee9ec", - "c3b4a5fd-ab70-476d-8743-4b52e8c7f9af", - 0, - "353215bf-8ea6-4b00-a1e9-6cf404ba2e13", - 2, - -1 - ], - [ - "882fffe9-17f5-483c-ae91-1e6bd57fedc2", - "c3b4a5fd-ab70-476d-8743-4b52e8c7f9af", - 1, - "230b5c3e-1df1-402a-a72d-fab3e992fa17", - 3, - -1 - ], - [ - "8e3c42a9-fbf3-43bd-8e9e-e63a3e9426be", - "3b3f87be-de96-4f80-a182-da28c9cdf0a4", - 0, - "c3b4a5fd-ab70-476d-8743-4b52e8c7f9af", - 1, - -1 - ], - [ - "9e2062f6-d177-45a8-b2ab-53b2361b8c2c", - "e12144af-aaa9-449f-97a0-7bef3c2e7040", - 1, - "24f68519-ca21-45cf-bed6-14d3ff01b4c8", - 0, - -1 - ], - [ - "12958c44-ecc8-4d1e-91bb-d4272c6e6854", - "24f68519-ca21-45cf-bed6-14d3ff01b4c8", - 0, - "3ef4a249-ae9e-4698-a24a-a21d7c44abd8", - 2, - -1 - ], - [ - "25883048-4570-4f5b-b695-2744c0c14076", - "3b3f87be-de96-4f80-a182-da28c9cdf0a4", - 0, - "24f68519-ca21-45cf-bed6-14d3ff01b4c8", - 1, - -1 - ], - [ - "0c21b916-5e32-4c68-ba0d-ff9b3faf92e9", - "6855c812-87cd-4d50-820b-490345216bd7", - 0, - "63779084-b869-4908-bc3b-f29a8329d19f", + "de5f256a-91ab-42c2-86cd-645066b3c714", 7, "CONDITIONING" ], [ - "74fdd396-3228-4457-840d-43255bc1478a", - "cd9dcb1c-21bf-48a8-9de7-a607444d2e7c", + "e735e83c-b418-4c76-a7e8-ae86299e4f30", + "cdeff152-cd59-4943-a002-8414626e8a1c", 0, - "63779084-b869-4908-bc3b-f29a8329d19f", + "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 + ], + [ + "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 + ], + [ + "857760be-9202-4c7f-84a2-465ee7e0ee21", + "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + 0, + "de0b7278-0276-431e-9993-c797c62e7d5b", + 0, + "MODEL" + ], + [ + "39f6a12b-1267-45b5-adce-9160d1378c6d", + "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + 1, + "de0b7278-0276-431e-9993-c797c62e7d5b", + 1, + "CLIP" + ], + [ + "021af64b-7869-45db-966e-a43f8bfcd6fd", + "de0b7278-0276-431e-9993-c797c62e7d5b", + 1, + "ac57884f-e48c-4bf5-b98e-191f75c0f2ea", + 0, + "CLIP" + ], + [ + "dd461061-2eaf-4cb3-821c-547955223eb3", + "de0b7278-0276-431e-9993-c797c62e7d5b", + 0, + "70361963-27f5-471d-b735-dbe2351a5ebd", + 0, + "MODEL" + ], + [ + "a0072557-0d6b-470e-b93a-d58b5dbf1c4a", + "ac57884f-e48c-4bf5-b98e-191f75c0f2ea", + 0, + "55a269ee-5de4-45b7-833f-cbea5fc36e9a", + 1, "CONDITIONING" ], [ - "6343bbab-9c22-4dab-8995-1fd5c0f00e65", - "353215bf-8ea6-4b00-a1e9-6cf404ba2e13", - 3, - "24e3c5fb-f90c-4406-a9f2-da28aa4b2f22", + "7627d820-6bba-4263-b023-906c0752410a", + "55a269ee-5de4-45b7-833f-cbea5fc36e9a", 0, - "*" + "ab681ebc-8042-4e00-807b-c3e505e4ff30", + 0, + "CONDITIONING" ], [ - "431f8600-71de-431c-8b5f-249be41e4904", - "24e3c5fb-f90c-4406-a9f2-da28aa4b2f22", + "e1a75b66-2558-41f5-b604-3d152d28d154", + "55a269ee-5de4-45b7-833f-cbea5fc36e9a", 0, - "04e36027-15c6-4a1c-a021-a5bbc76ff91e", - 0, - "boolean" - ], - [ - "a815a363-a2aa-48ea-95a3-29c2fe9f5943", - "04e36027-15c6-4a1c-a021-a5bbc76ff91e", - 0, - "2664dea6-5adb-4485-b14b-ce85c8f47cf6", + "70361963-27f5-471d-b735-dbe2351a5ebd", 1, - "boolean" + "CONDITIONING" ], [ - "d1012af6-2de7-4f08-a75d-343d11811c0e", - "04e36027-15c6-4a1c-a021-a5bbc76ff91e", - 0, - "5204d934-60e5-4a34-b9f0-b8f8d6e28af2", + "2da0832c-5de3-4989-bf49-b5c3e7a0196d", + "55a269ee-5de4-45b7-833f-cbea5fc36e9a", 1, - "boolean" + "70361963-27f5-471d-b735-dbe2351a5ebd", + 2, + "CONDITIONING" ], [ - "ac4c48b3-e4f7-4b6b-8248-fc9431134eaa", - "8cc355e4-cc53-413f-94eb-15729c1e2171", - 0, - "465c3780-5e6e-4a56-a850-82221ed93b3b", - 0, - "string" - ], - [ - "41cf3439-0144-4580-a5f9-a03170d8951a", - "5204d934-60e5-4a34-b9f0-b8f8d6e28af2", + "482abd71-9f0c-4dcb-bfb6-6b5643145d89", + "ac57884f-e48c-4bf5-b98e-191f75c0f2ea", 1, - "465c3780-5e6e-4a56-a850-82221ed93b3b", + "55a269ee-5de4-45b7-833f-cbea5fc36e9a", + 2, + "CONDITIONING" + ], + [ + "65c3a5fd-0bfd-4162-ac80-5373a4a3d258", + "55a269ee-5de4-45b7-833f-cbea5fc36e9a", 1, - -1 + "7737291d-4469-40bf-ab4f-3bcaf85d81cb", + 0, + "CONDITIONING" ], [ - "07fd37a4-af3c-41fb-8b52-6b601aab1d1d", - "22f6b2b1-994c-4ada-9e67-2ee285b8c267", + "3130f01b-569e-41ee-8a0a-d91b374f21e7", + "de0b7278-0276-431e-9993-c797c62e7d5b", 0, - "5204d934-60e5-4a34-b9f0-b8f8d6e28af2", - 0, - -1 - ], - [ - "ef629f14-4cf2-4af4-b721-053498759116", - "230b5c3e-1df1-402a-a72d-fab3e992fa17", - 0, - "81e33843-aa51-4e39-87f0-6524b19055dc", - 1, - "string" - ], - [ - "059f8df9-bb97-4a00-93e2-4104f798a976", - "5204d934-60e5-4a34-b9f0-b8f8d6e28af2", - 0, - "81e33843-aa51-4e39-87f0-6524b19055dc", - 0, - -1 - ], - [ - "cb996fc5-4838-4093-a72f-693018c685c6", - "ae9117c6-aa69-4b52-9ea5-b9868aaa2488", - 0, - "4545ed77-a0ff-4547-9d3a-a7e26152fc1f", - 0, - -1 - ], - [ - "8e3a9d8a-ed23-4141-9640-b1f252ed2ac4", - "3ef4a249-ae9e-4698-a24a-a21d7c44abd8", - 3, - "ef2505ae-9c48-47cd-9262-1e3e5aa6e219", - 0, - "*" - ], - [ - "da9c995d-3cb7-43f2-8fb7-a7a0a9a6b9be", - "ef2505ae-9c48-47cd-9262-1e3e5aa6e219", - 0, - "3f118e90-9074-4522-bf4b-ba922adbaaa7", - 0, - "boolean" - ], - [ - "22a275d5-d9e0-47fe-a7d2-09033282aa06", - "3f118e90-9074-4522-bf4b-ba922adbaaa7", - 0, - "4545ed77-a0ff-4547-9d3a-a7e26152fc1f", - 1, - "boolean" - ], - [ - "1bf1c273-a50f-40c9-8b33-9f820f17ebc0", - "53d5b840-aff0-4d1c-8d7b-90f0ce5be953", - 0, - "882580d1-03ec-4b0b-a202-9a96e98ccbf3", - 0, - "string" - ], - [ - "bfd118b0-24e7-4e8f-bdd9-2ec4144cf3e9", - "4545ed77-a0ff-4547-9d3a-a7e26152fc1f", - 1, - "882580d1-03ec-4b0b-a202-9a96e98ccbf3", - 1, - -1 - ], - [ - "2867f069-1fb1-4c01-814f-e771496e44d8", - "3ef4a249-ae9e-4698-a24a-a21d7c44abd8", - 3, - "789c3954-2682-4540-a59f-3e2bd0f116b5", - 0, - "string" - ], - [ - "fac8e77d-35a0-4172-b827-136f5cfbd5d2", - "4545ed77-a0ff-4547-9d3a-a7e26152fc1f", - 0, - "789c3954-2682-4540-a59f-3e2bd0f116b5", - 1, - -1 - ], - [ - "cfa73ad8-2377-409b-b0bb-ba9cbef368fd", - "81e33843-aa51-4e39-87f0-6524b19055dc", - 0, - "e799d21a-6ff8-4536-b764-7c6d7e157862", - 0, - -1 - ], - [ - "5efcafb8-323d-4a86-a87a-a37883260c37", - "e799d21a-6ff8-4536-b764-7c6d7e157862", - 0, - "d88047d6-932e-46e3-abd8-858f84b6baab", - 0, - -1 - ], - [ - "3c8794ef-e088-4e2d-a04c-f92baebc4719", - "789c3954-2682-4540-a59f-3e2bd0f116b5", - 1, - "e799d21a-6ff8-4536-b764-7c6d7e157862", - 1, - -1 - ], - [ - "f1947a06-7d0c-467a-a917-8cbc8893ef2c", - "a129cd00-f18e-414b-8e9e-e3041199ad1b", - 0, - "26ab4b79-5a64-41d2-8f29-3444916ca69d", - 0, - "*" - ], - [ - "6146a832-4734-44f8-b657-aa5f81f252a9", - "a129cd00-f18e-414b-8e9e-e3041199ad1b", - 1, - "4188f908-645c-4866-b951-0380e834ec95", - 0, - "*" - ], - [ - "4c97d994-3151-49dd-9f39-80c2c839052c", - "fceffaba-f887-4a99-ba3a-d7e3a04b2933", - 0, - "26ab4b79-5a64-41d2-8f29-3444916ca69d", - 1, - "*" - ], - [ - "25aebe80-1b65-4b2a-beed-e507efb4b203", - "fceffaba-f887-4a99-ba3a-d7e3a04b2933", - 1, - "4188f908-645c-4866-b951-0380e834ec95", - 1, - "*" - ], - [ - "ecf2f7e7-70dd-416b-98c4-d899c3845439", - "4188f908-645c-4866-b951-0380e834ec95", - 0, - "f1b405a1-ca77-41aa-917d-d0ec0c1b9296", - 0, - "*" - ], - [ - "0a17e550-e2c2-4d6e-8ee1-efe70aff4cbc", - "26ab4b79-5a64-41d2-8f29-3444916ca69d", - 0, - "31bba00f-7d11-4e58-aa51-09c89f83e9aa", - 0, - "*" - ], - [ - "fc7bdedd-3c65-49d9-bf84-e3ee1e523070", - "adad5a15-78eb-4dc2-b9b8-33bd52eb772f", - 0, - "1c07d853-4fe3-480a-9017-00a81092f5ea", - 0, - "boolean" - ], - [ - "5da8b6b4-9e71-48e5-a3e8-e153b550b2d5", - "adad5a15-78eb-4dc2-b9b8-33bd52eb772f", - 1, - "1c07d853-4fe3-480a-9017-00a81092f5ea", - 1, - -1 - ], - [ - "b1652c92-a878-4f8a-ac99-afc84d23f67b", - "31bba00f-7d11-4e58-aa51-09c89f83e9aa", - 0, - "63779084-b869-4908-bc3b-f29a8329d19f", + "55a269ee-5de4-45b7-833f-cbea5fc36e9a", 0, "MODEL" ], [ - "467b017d-b20f-4f92-bcef-d0ad5948393e", - "31bba00f-7d11-4e58-aa51-09c89f83e9aa", + "a008d49f-dcc2-4a20-8a6f-1634349cf675", + "de0b7278-0276-431e-9993-c797c62e7d5b", 0, - "9564d326-d463-4095-9372-6f55648e43bd", + "d02b1827-8ace-49db-95fe-27c218f5e25e", 0, "MODEL" ], [ - "81985fb4-fba7-45cb-93cc-de1542f7cb9a", - "d88047d6-932e-46e3-abd8-858f84b6baab", + "ba66d9be-19c3-4da8-84e0-823ef35f7f32", + "a08c7fc7-79a3-49ed-abba-03fee5d35ce7", 0, - "96e72804-00a8-4b9f-a4c6-d866f7867f23", + "bbf920e2-f9ee-4778-aa0f-78eb203737e6", 0, "*" ], [ - "f5776162-4dad-40bf-93c6-6fe5e475db45", - "353215bf-8ea6-4b00-a1e9-6cf404ba2e13", - 3, - "8d451189-3388-4580-b1e2-3536fe9fa4ac", + "2c5441e2-cf6c-4eff-9d97-ffa1a6d8989c", + "cf967f03-bf63-49ca-a0ab-01705d340bb8", 0, - "*" + "cdeff152-cd59-4943-a002-8414626e8a1c", + 0, + "" + ], + [ + "49b7145b-029e-471d-860d-cd17ea3fc5d1", + "438b9e76-5a39-4e3c-a1e0-0cd338d34518", + 2, + "cf967f03-bf63-49ca-a0ab-01705d340bb8", + 0, + "VAE" + ], + [ + "11e9c032-7961-4386-b701-b6c2eeb502b3", + "24f6dbeb-f675-4f84-9560-050c43f7e519", + 0, + "ba76aa27-d4e0-4640-9312-0dac597f3a25", + 0, + "string" + ], + [ + "506fe533-e2dc-4eba-b814-0b6447950167", + "d61b7ac0-b5f7-4a88-8226-28f9b017f3f4", + 0, + "ba76aa27-d4e0-4640-9312-0dac597f3a25", + 1, + -1 + ], + [ + "b6a0feb1-9333-472f-b025-4a187fc691b2", + "d61b7ac0-b5f7-4a88-8226-28f9b017f3f4", + 0, + "e49e00a6-c300-4a61-a5a8-d0296bd2535b", + 1, + -1 + ], + [ + "1a455af8-653b-47f6-87d9-50d9e46be039", + "c57336fc-0e27-42ba-95b5-bf4a9071aebd", + 0, + "e49e00a6-c300-4a61-a5a8-d0296bd2535b", + 0, + "string" + ], + [ + "7447eb89-883e-45cb-ab57-28b52f718447", + "ae3a9de2-5eae-4c69-9405-6bffd0ac628e", + 0, + "55e5761e-ac95-4025-b8c1-378b989d0943", + 0, + "string" + ], + [ + "a3ad2d86-5a90-4e40-a8ee-bdcbcf7623ed", + "368b245b-3454-4959-a2da-8b51a291e78b", + 0, + "5040035d-4fd5-4708-8c80-08829b0b4598", + 0, + "string" + ], + [ + "f9a02de5-ef6d-4279-a801-dabd2c00fa9e", + "4b86217c-eac6-4e44-88f1-fba72d182795", + 0, + "55e5761e-ac95-4025-b8c1-378b989d0943", + 1, + -1 + ], + [ + "d6a150e9-d000-41d1-8460-bb4614e7527c", + "4b86217c-eac6-4e44-88f1-fba72d182795", + 0, + "5040035d-4fd5-4708-8c80-08829b0b4598", + 1, + -1 ] ], "groups": [ { - "title": "txt2img", + "title": "Clear Outputs", "bounding": [ - -282, - -159, - 883, - 757 + 1246, + 658, + 850, + 516 ], - "color": "#3f789e" + "color": "#88A" }, { - "title": "HR Fix", + "title": "Clear HR Fix Outputs", "bounding": [ - 1185, - -176, - 1128, - 569 + 2644, + 615, + 633, + 573 ], - "color": "#b06634" - }, - { - "title": "Seed Randomizer", - "bounding": [ - -1170, - 181, - 749, - 301 - ], - "color": "#8A8" - }, - { - "title": "img2img", - "bounding": [ - -412, - 731, - 883, - 270 - ], - "color": "#A88" - }, - { - "title": "Mode Switcher", - "bounding": [ - -2109, - 329, - 707, - 745 - ], - "color": "#b58b2a" - }, - { - "title": "LoRA", - "bounding": [ - -1946, - -675, - 1146, - 772 - ], - "color": "#A88" + "color": "#88A" } ], "config": {}, @@ -16885,12 +22681,12 @@ "version": 10 }, "layout": { - "root": "02f0116a-7553-4df4-8f9b-53b1954a58fd", + "root": "35003345-c9e8-46c8-8583-3c40e61b377f", "allItems": { - "0": { + "35003345-c9e8-46c8-8583-3c40e61b377f": { "dragItem": { "type": "container", - "id": "02f0116a-7553-4df4-8f9b-53b1954a58fd", + "id": "35003345-c9e8-46c8-8583-3c40e61b377f", "attrs": { "title": "", "hidden": false, @@ -16898,29 +22694,24 @@ "direction": "horizontal", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": false, - "blockVariant": "block" + "tags": [] } }, "children": [ - "2937706d-c35c-4ac1-8825-a021935a2b91", - "4fe0005d-4566-488a-8af7-90f41a4f4a85" + "f203b596-b87c-493c-b2c1-57f646fdafc7", + "dc8657e0-cbf8-472c-8b5d-55d55ae25d1f" ] }, - "1": { + "f203b596-b87c-493c-b2c1-57f646fdafc7": { "dragItem": { "type": "container", - "id": "2937706d-c35c-4ac1-8825-a021935a2b91", + "id": "f203b596-b87c-493c-b2c1-57f646fdafc7", "attrs": { "title": "", "hidden": false, @@ -16928,1531 +22719,106 @@ "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": false, - "blockVariant": "block" - } - }, - "children": [ - "f536a48e-2544-4778-bb2e-620932a612b1", - "17029b6d-a36f-4a61-9f77-257addbd9f7e", - "bc774396-904b-4db3-a5f2-d353886304e6", - "b4e52163-9122-45d3-be55-60ec18de4bb8", - "e1e0954a-6cb2-445d-aa13-2bbe24606b6a", - "2e926e02-3728-4861-8a2e-5b3f0de8e589", - "dd813b51-5c4c-458d-a44d-a3fe48246b05", - "4740ac63-1026-445c-a9c6-c649b9ab7a23" - ], - "parent": "02f0116a-7553-4df4-8f9b-53b1954a58fd" - }, - "2": { - "dragItem": { - "type": "container", - "id": "4fe0005d-4566-488a-8af7-90f41a4f4a85", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": false, - "blockVariant": "block" - } - }, - "children": [ - "ba3cd1b5-ad47-4526-8079-fcd90020ac98" - ], - "parent": "02f0116a-7553-4df4-8f9b-53b1954a58fd" - }, - "10": { - "dragItem": { - "type": "widget", - "id": "bc5319a3-c00d-46af-b142-8bd0d917673e", - "nodeId": "3c50e176-6a83-4664-8fe4-6f12faef4247", - "attrs": { - "title": "Seed", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "52e13b9c-68d6-4c6e-9a34-cde1e6352c22" - }, - "11": { - "dragItem": { - "type": "widget", - "id": "6cf9d51e-bef8-478d-a986-a9414d8a401e", - "nodeId": "54ac52a2-5346-41b1-9f82-b1945a6e7602", - "attrs": { - "title": "Steps", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "2f92f3ac-2963-4ec9-b3a7-678601421fc1" - }, - "12": { - "dragItem": { - "type": "widget", - "id": "7707edab-128e-4dbf-9085-f526d4545b63", - "nodeId": "d2ef3441-0116-4f38-80c4-2d28a35134c0", - "attrs": { - "title": "CFG Scale", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "2f92f3ac-2963-4ec9-b3a7-678601421fc1" - }, - "13": { - "dragItem": { - "type": "widget", - "id": "acc048a6-43ec-4cdb-9b2e-154aef2d5baf", - "nodeId": "a2d692aa-0680-4e1f-bff2-04112c165503", - "attrs": { - "title": "Sampler", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": false - } - }, - "children": [], - "parent": "0a652312-b0f3-4574-94f8-53e676f12132" - }, - "14": { - "dragItem": { - "type": "widget", - "id": "57be03a7-684b-440f-9c86-50ccf907fbc9", - "nodeId": "a4c71591-9e1d-4968-bcfc-03a4eb0f80f3", - "attrs": { - "title": "Scheduler", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": false - } - }, - "children": [], - "parent": "0a652312-b0f3-4574-94f8-53e676f12132" - }, - "15": { - "dragItem": { - "type": "widget", - "id": "1441c9eb-1a6c-498a-a2d5-a276608d2dda", - "nodeId": "3443baf2-ed35-4567-96a0-7821f3806232", - "attrs": { - "title": "Denoise", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "max": 2 - } - }, - "children": [], - "parent": "ee99d346-9add-432c-a55b-2510256c0b38" - }, - "16": { - "dragItem": { - "type": "container", - "id": "b4e52163-9122-45d3-be55-60ec18de4bb8", - "attrs": { - "title": "KSampler", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "block", - "openOnStartup": true, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "block" - } - }, - "children": [ - "0a652312-b0f3-4574-94f8-53e676f12132", - "2f92f3ac-2963-4ec9-b3a7-678601421fc1", - "52e13b9c-68d6-4c6e-9a34-cde1e6352c22", - "5170ce54-2dd1-4451-9a9b-0f6fc1e5d532" - ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" - }, - "26": { - "dragItem": { - "type": "widget", - "id": "c724476f-8cf7-4cbe-b94d-518560baf33a", - "nodeId": "e904e413-5e98-4146-8938-8524c7c9bc22", - "attrs": { - "title": "Positive", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "17029b6d-a36f-4a61-9f77-257addbd9f7e" - }, - "27": { - "dragItem": { - "type": "container", - "id": "17029b6d-a36f-4a61-9f77-257addbd9f7e", - "attrs": { - "title": "Prompt", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "hidden", - "openOnStartup": true, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden", - "tabNames": [ - "Positive", - "Negative" - ] - } - }, - "children": [ - "c724476f-8cf7-4cbe-b94d-518560baf33a", - "11ce6cb1-942b-4296-9f17-d8fc2a1e0a99" - ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" - }, - "28": { - "dragItem": { - "type": "widget", - "id": "11ce6cb1-942b-4296-9f17-d8fc2a1e0a99", - "nodeId": "64e05c57-f669-432e-8e20-a2b51870067d", - "attrs": { - "title": "Negative", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "17029b6d-a36f-4a61-9f77-257addbd9f7e" - }, - "30": { - "dragItem": { - "type": "widget", - "id": "9399c424-6fce-4bc2-8056-27a42b4f0db9", - "nodeId": "17d2f326-75f0-461e-9cfc-5ff314310a6a", - "attrs": { - "title": "Width", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "92cdca89-f0de-4437-92ea-ec982e4dcf41" - }, - "31": { - "dragItem": { - "type": "widget", - "id": "22ad6a22-1ac9-434e-a0a1-6887629be858", - "nodeId": "bff57d22-e589-4a2a-b82d-94d035a40bf2", - "attrs": { - "title": "Height", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "92cdca89-f0de-4437-92ea-ec982e4dcf41" - }, - "32": { - "dragItem": { - "type": "widget", - "id": "ed35a0b5-9fee-4842-bb25-c66cfdefe156", - "nodeId": "b115fc1a-799e-4c2f-8ab7-9714398e8e46", - "attrs": { - "title": "Batch Size", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "465db817-02cf-4102-8c05-300169cf7437" - }, - "33": { - "dragItem": { - "type": "container", - "id": "bc774396-904b-4db3-a5f2-d353886304e6", - "attrs": { - "title": "Latent Image", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "block", - "openOnStartup": true, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "block" - } - }, - "children": [ - "19fbdfaa-50d2-4a98-b91b-dc9c1893b6c0", - "92cdca89-f0de-4437-92ea-ec982e4dcf41", - "61cda320-726c-4181-8f65-1c112a2fe4db", - "465db817-02cf-4102-8c05-300169cf7437", - "82516e5b-6bbf-4883-9562-f46e66cb8953", - "57fe08ba-389d-481e-a883-0c065e81a283" - ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" - }, - "34": { - "dragItem": { - "type": "widget", - "id": "71cd0824-19cf-4317-b347-0379bfffbc9a", - "nodeId": "7e99a3e9-3704-47c8-9e0d-1a4a244a6f58", - "attrs": { - "title": "Filename Prefix", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "0aa39d1f-6745-4ae0-8615-141c4fffd872" - }, - "41": { - "dragItem": { - "type": "container", - "id": "dd813b51-5c4c-458d-a44d-a3fe48246b05", - "attrs": { - "title": "Copy Test", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "block" - } - }, - "children": [], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" - }, - "42": { - "dragItem": { - "type": "widget", - "id": "fa64b076-84d4-47ac-bfc3-b4dbcd37c229", - "nodeId": "91b10565-8fef-44da-804f-95d80ef18667", - "attrs": { - "title": "Seed Action", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "testClas", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "52e13b9c-68d6-4c6e-9a34-cde1e6352c22" - }, - "46": { - "dragItem": { - "type": "widget", - "id": "3979aaff-1e58-4228-af8d-155c52bd1130", - "nodeId": "567795b3-8d35-41c8-9438-daf9325f70bd", - "attrs": { - "title": "\u2b80", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 1, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "92cdca89-f0de-4437-92ea-ec982e4dcf41" - }, - "47": { - "dragItem": { - "type": "container", - "id": "92cdca89-f0de-4437-92ea-ec982e4dcf41", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [ - "t2i" - ], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" + "tags": [] } }, "children": [ - "9399c424-6fce-4bc2-8056-27a42b4f0db9", - "3979aaff-1e58-4228-af8d-155c52bd1130", - "22ad6a22-1ac9-434e-a0a1-6887629be858" + "3ef335f4-9cbc-4914-846f-b71104da1ef1", + "6b258844-4787-465b-8b6f-38b169b3b639", + "b0a78c4f-3cd7-470a-a0aa-2c6e6bfe4f86", + "7351b30f-72b8-42b9-82a7-80a3350337a6", + "1bb9866a-9f6a-42e0-8aa3-7cb0f393db71", + "54b4be3e-5c13-4e13-af38-a267fa0098ff", + "eae32e42-1ccc-4a4a-923f-7ab4ccdac97a" ], - "parent": "bc774396-904b-4db3-a5f2-d353886304e6" + "parent": "35003345-c9e8-46c8-8583-3c40e61b377f" }, - "48": { + "dc8657e0-cbf8-472c-8b5d-55d55ae25d1f": { "dragItem": { "type": "container", - "id": "52e13b9c-68d6-4c6e-9a34-cde1e6352c22", + "id": "dc8657e0-cbf8-472c-8b5d-55d55ae25d1f", "attrs": { "title": "", "hidden": false, "disabled": false, - "direction": "horizontal", + "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" + "tags": [] } }, "children": [ - "bc5319a3-c00d-46af-b142-8bd0d917673e", - "fa64b076-84d4-47ac-bfc3-b4dbcd37c229" + "e557874b-4856-42a3-b783-a210f6d0d1dc" ], - "parent": "b4e52163-9122-45d3-be55-60ec18de4bb8" + "parent": "35003345-c9e8-46c8-8583-3c40e61b377f" }, - "51": { + "e665ac4e-9f0a-4001-92ee-52ffabfb5939": { "dragItem": { "type": "widget", - "id": "c803e216-3492-453e-a4e1-1d6f27f16b00", - "nodeId": "45bd8775-867b-40f5-8a26-93dc2374bb32", + "id": "e665ac4e-9f0a-4001-92ee-52ffabfb5939", + "nodeId": "56becd49-01fc-4cdd-9726-515db368471c", "attrs": { "title": "Checkpoint", "hidden": false, "disabled": false, - "direction": "horizontal", + "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "return \"!!!\";", - "flexGrow": 100, - "height": "auto", - "showTitle": true + "tags": [] } }, "children": [], - "parent": "f9b92b02-34ae-4a17-a142-8aa91a6bf915" + "parent": "0d5ae12f-6024-45ea-ad3e-53b48bd9c66b" }, - "53": { + "3ef335f4-9cbc-4914-846f-b71104da1ef1": { "dragItem": { "type": "container", - "id": "0a652312-b0f3-4574-94f8-53e676f12132", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": false, - "blockVariant": "hidden" - } - }, - "children": [ - "acc048a6-43ec-4cdb-9b2e-154aef2d5baf", - "57be03a7-684b-440f-9c86-50ccf907fbc9" - ], - "parent": "b4e52163-9122-45d3-be55-60ec18de4bb8" - }, - "54": { - "dragItem": { - "type": "container", - "id": "2f92f3ac-2963-4ec9-b3a7-678601421fc1", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" - } - }, - "children": [ - "7707edab-128e-4dbf-9085-f526d4545b63", - "6cf9d51e-bef8-478d-a986-a9414d8a401e" - ], - "parent": "b4e52163-9122-45d3-be55-60ec18de4bb8" - }, - "55": { - "dragItem": { - "type": "widget", - "id": "3adccb81-e232-47ef-b6ee-7898edc2c97b", - "nodeId": "1bb03060-082b-4327-8e5b-0925dd7fc0a5", + "id": "3ef335f4-9cbc-4914-846f-b71104da1ef1", "attrs": { "title": "Model", "hidden": false, "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "ea664a3d-9bbd-489e-ba1c-3f34823fe9ff" - }, - "56": { - "dragItem": { - "type": "widget", - "id": "f05973be-ca4d-4326-bf25-aae5b32c28a9", - "nodeId": "906ec488-068d-4f6d-905d-efbdd964b444", - "attrs": { - "title": "UNet", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "e6fca681-7f9b-4836-a62d-d16eefe55ce3" - }, - "57": { - "dragItem": { - "type": "widget", - "id": "53eaaa01-0ee2-402c-9353-205dbe5a35d5", - "nodeId": "196174de-3e4e-4371-a3af-6baeced08071", - "attrs": { - "title": "TEnc", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "e6fca681-7f9b-4836-a62d-d16eefe55ce3" - }, - "58": { - "dragItem": { - "type": "container", - "id": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a", - "attrs": { - "title": "LoraLoader", - "hidden": false, - "disabled": false, "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "accordion", "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "block" - } - }, - "children": [ - "b3edaa31-151a-4595-88c4-1d55d00644b1", - "66a5f360-22cd-487c-ad42-fe3c220888f7", - "ea664a3d-9bbd-489e-ba1c-3f34823fe9ff", - "c7352574-b50c-4071-abbf-7bc9d37bbbbb", - "78c030e1-d7b9-4740-9d7f-0d3bcc95fa9c", - "4a31d6a7-2f19-4cdd-8c1a-7ec5768b3633", - "646c1c6f-e6da-4585-ab1d-9cdda5a9a83a" - ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" - }, - "64": { - "dragItem": { - "type": "widget", - "id": "51bc8db1-f603-4127-aae6-8a81c7dcb3ad", - "nodeId": "2efcc025-0064-42e7-add6-ff6215d3dd43", - "attrs": { - "title": "Upscale Method", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "d5d47a76-bb75-4a17-8d61-9ec35e68964a" - }, - "66": { - "dragItem": { - "type": "widget", - "id": "ae385181-5483-4424-8f22-19417c4031db", - "nodeId": "7a7f0af3-7ea5-43ab-be95-08c934a5071b", - "attrs": { - "title": "Scale By", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "fc08f30d-d137-4374-bead-49667f8cff68" - }, - "67": { - "dragItem": { - "type": "widget", - "id": "ab31f9d0-af01-4a7a-a87a-5f34f45d0447", - "nodeId": "f1a583bb-c0d6-4193-b6ca-4481139a5f4c", - "attrs": { - "title": "Crop", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "d5d47a76-bb75-4a17-8d61-9ec35e68964a" - }, - "73": { - "dragItem": { - "type": "widget", - "id": "4e5fd89d-98a3-4fe4-b248-33343dfcf7fe", - "nodeId": "3ef4a249-ae9e-4698-a24a-a21d7c44abd8", - "attrs": { - "title": "HiRes Fix", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "ba3cd1b5-ad47-4526-8079-fcd90020ac98" - }, - "74": { - "dragItem": { - "type": "container", - "id": "fc08f30d-d137-4374-bead-49667f8cff68", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" - } - }, - "children": [ - "ae385181-5483-4424-8f22-19417c4031db" - ], - "parent": "2e926e02-3728-4861-8a2e-5b3f0de8e589" - }, - "75": { - "dragItem": { - "type": "container", - "id": "d5d47a76-bb75-4a17-8d61-9ec35e68964a", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" - } - }, - "children": [ - "ab31f9d0-af01-4a7a-a87a-5f34f45d0447", - "51bc8db1-f603-4127-aae6-8a81c7dcb3ad" - ], - "parent": "2e926e02-3728-4861-8a2e-5b3f0de8e589" - }, - "76": { - "dragItem": { - "type": "widget", - "id": "45456f1f-ad02-4947-ac8e-8585f59d0508", - "nodeId": "353215bf-8ea6-4b00-a1e9-6cf404ba2e13", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "ba3cd1b5-ad47-4526-8079-fcd90020ac98" - }, - "77": { - "dragItem": { - "type": "widget", - "id": "11499414-aaa0-4bdf-99f4-c6026892a318", - "nodeId": "25bb8709-aadd-40f3-a98f-4461471d8341", - "attrs": { - "title": "State", - "hidden": false, - "disabled": true, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "7a66d28c-bf64-4e65-9936-70e3362314a1" - }, - "78": { - "dragItem": { - "type": "widget", - "id": "5b8e56dc-0640-41de-8663-f25ce5ed3f50", - "nodeId": "c88ffd5e-0dca-43a6-8c08-28a662c217c8", - "attrs": { - "title": "Upscale", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "7a66d28c-bf64-4e65-9936-70e3362314a1" - }, - "79": { - "dragItem": { - "type": "container", - "id": "2e926e02-3728-4861-8a2e-5b3f0de8e589", - "attrs": { - "title": "HR Fix", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "block" - } - }, - "children": [ - "fc08f30d-d137-4374-bead-49667f8cff68", - "3913c74b-8279-4953-92c8-f187a0a1e976", - "ee99d346-9add-432c-a55b-2510256c0b38", - "d5d47a76-bb75-4a17-8d61-9ec35e68964a", - "7a66d28c-bf64-4e65-9936-70e3362314a1" - ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" - }, - "82": { - "dragItem": { - "type": "container", - "id": "7a66d28c-bf64-4e65-9936-70e3362314a1", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "block", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" - } - }, - "children": [ - "11499414-aaa0-4bdf-99f4-c6026892a318", - "5b8e56dc-0640-41de-8663-f25ce5ed3f50" - ], - "parent": "2e926e02-3728-4861-8a2e-5b3f0de8e589" - }, - "83": { - "dragItem": { - "type": "container", - "id": "ee99d346-9add-432c-a55b-2510256c0b38", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" - } - }, - "children": [ - "b5b02dc7-e614-4c2a-9bea-1362868a9a93", - "1441c9eb-1a6c-498a-a2d5-a276608d2dda" - ], - "parent": "2e926e02-3728-4861-8a2e-5b3f0de8e589" - }, - "84": { - "dragItem": { - "type": "widget", - "id": "b5b02dc7-e614-4c2a-9bea-1362868a9a93", - "nodeId": "4142e5f2-731f-49ee-8f0c-1c7cce32d05a", - "attrs": { - "title": "Steps", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "ee99d346-9add-432c-a55b-2510256c0b38" - }, - "87": { - "dragItem": { - "type": "widget", - "id": "067d6917-9359-470d-aafa-a3f672ccb4d7", - "nodeId": "b3397c7a-e4a9-486d-acd3-7ed7920ab01e", - "attrs": { - "title": "Generate", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "5170ce54-2dd1-4451-9a9b-0f6fc1e5d532" - }, - "88": { - "dragItem": { - "type": "container", - "id": "5170ce54-2dd1-4451-9a9b-0f6fc1e5d532", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [ - "067d6917-9359-470d-aafa-a3f672ccb4d7" - ], - "parent": "b4e52163-9122-45d3-be55-60ec18de4bb8" - }, - "89": { - "dragItem": { - "type": "widget", - "id": "e225e587-055f-4a9f-91f7-0a5bbece3875", - "nodeId": "635d2566-dad4-49c0-b232-ad8ad1aec4ed", - "attrs": { - "title": "Width", - "hidden": false, - "disabled": true, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "3913c74b-8279-4953-92c8-f187a0a1e976" - }, - "90": { - "dragItem": { - "type": "widget", - "id": "91bad9ac-d606-4b1e-af13-971351ed92cc", - "nodeId": "c4ba75a0-317d-43d4-b15e-bee231fd14a6", - "attrs": { - "title": "Height", - "hidden": false, - "disabled": true, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "3913c74b-8279-4953-92c8-f187a0a1e976" - }, - "91": { - "dragItem": { - "type": "container", - "id": "3913c74b-8279-4953-92c8-f187a0a1e976", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "block", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [ - "e225e587-055f-4a9f-91f7-0a5bbece3875", - "91bad9ac-d606-4b1e-af13-971351ed92cc" - ], - "parent": "2e926e02-3728-4861-8a2e-5b3f0de8e589" - }, - "92": { - "dragItem": { - "type": "widget", - "id": "6c122f6a-da1c-4038-bbe3-87838186247b", - "nodeId": "c71b6f87-c4f8-4219-a924-3e7d59296f50", - "attrs": { - "title": "\ud83d\uddd9", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 1, - "height": "auto" - } - }, - "children": [], - "parent": "e6fca681-7f9b-4836-a62d-d16eefe55ce3" - }, - "93": { - "dragItem": { - "type": "widget", - "id": "afda8665-ffa2-4a5a-b1d6-f00eec7c3c08", - "nodeId": "a6eb8e45-e9c8-40a8-aaa8-c8e6de894bcf", - "attrs": { - "title": "Preserve Outputs", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [], - "parent": "0aa39d1f-6745-4ae0-8615-141c4fffd872" - }, - "94": { - "dragItem": { - "type": "container", - "id": "0aa39d1f-6745-4ae0-8615-141c4fffd872", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "block", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [ - "71cd0824-19cf-4317-b347-0379bfffbc9a", - "afda8665-ffa2-4a5a-b1d6-f00eec7c3c08", - "8efba0a3-6481-465f-a305-29a7e4fccb4a" - ], - "parent": "ba3cd1b5-ad47-4526-8079-fcd90020ac98" - }, - "95": { - "dragItem": { - "type": "container", - "id": "ba3cd1b5-ad47-4526-8079-fcd90020ac98", - "attrs": { - "title": "Result", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "hidden", "openOnStartup": true, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" + "tags": [] } }, "children": [ - "45456f1f-ad02-4947-ac8e-8585f59d0508", - "4e5fd89d-98a3-4fe4-b248-33343dfcf7fe", - "0aa39d1f-6745-4ae0-8615-141c4fffd872" + "0d5ae12f-6024-45ea-ad3e-53b48bd9c66b", + "18871f76-9d1f-4f40-92d8-23bca3501d1d" ], - "parent": "4fe0005d-4566-488a-8af7-90f41a4f4a85" + "parent": "f203b596-b87c-493c-b2c1-57f646fdafc7" }, - "102": { + "128ab0d0-735e-4b6e-aaee-7528a31f3590": { "dragItem": { "type": "widget", - "id": "37948070-1540-4576-b2c6-dcce3c14b1ea", - "nodeId": "8996f14d-b177-4604-b91d-e42f02b71edb", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [], - "parent": "19fbdfaa-50d2-4a98-b91b-dc9c1893b6c0" - }, - "103": { - "dragItem": { - "type": "widget", - "id": "2e86cd2c-320d-448f-998b-b4eae62e1d13", - "nodeId": "25dc4525-8956-41f2-a3de-0d4c34543fc5", + "id": "128ab0d0-735e-4b6e-aaee-7528a31f3590", + "nodeId": "4c3ba829-f067-4c75-b468-d8b1a0ad3f11", "attrs": { "title": "VAE", "hidden": false, @@ -18462,1940 +22828,164 @@ "style": "", "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [], - "parent": "f9b92b02-34ae-4a17-a142-8aa91a6bf915" - }, - "104": { - "dragItem": { - "type": "container", - "id": "f536a48e-2544-4778-bb2e-620932a612b1", - "attrs": { - "title": "Models", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "block", - "openOnStartup": true, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [ - "f9b92b02-34ae-4a17-a142-8aa91a6bf915", - "d45e0380-9c17-4bc4-b792-23f5a56ec87f" - ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" - }, - "105": { - "dragItem": { - "type": "widget", - "id": "d45e0380-9c17-4bc4-b792-23f5a56ec87f", - "nodeId": "1ab803a3-c4eb-4264-ad92-81406473c1e6", - "attrs": { - "title": "Use Internal VAE", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [], - "parent": "f536a48e-2544-4778-bb2e-620932a612b1" - }, - "106": { - "dragItem": { - "type": "widget", - "id": "e10fad41-efcf-49d8-85f0-a7e3e43c2c15", - "nodeId": "fe367602-079d-41fb-a2c4-ee2b3f596362", - "attrs": { - "title": "Upscale Method", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [], - "parent": "1dc2b67f-3620-439c-ab6e-2117733f7bd9" - }, - "107": { - "dragItem": { - "type": "widget", - "id": "0593aadf-ef5c-46d9-8e53-801b4fbcd1a7", - "nodeId": "5a20a836-5022-4dcb-8cc9-5620d95e3c40", - "attrs": { - "title": "Crop", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [], - "parent": "1dc2b67f-3620-439c-ab6e-2117733f7bd9" - }, - "108": { - "dragItem": { - "type": "container", - "id": "1dc2b67f-3620-439c-ab6e-2117733f7bd9", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [ - "i2i" - ], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [ - "0593aadf-ef5c-46d9-8e53-801b4fbcd1a7", - "e10fad41-efcf-49d8-85f0-a7e3e43c2c15" - ], - "parent": "57fe08ba-389d-481e-a883-0c065e81a283" - }, - "109": { - "dragItem": { - "type": "container", - "id": "57fe08ba-389d-481e-a883-0c065e81a283", - "attrs": { - "title": "img2img", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "block", - "openOnStartup": true, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "i2i" - ], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [ - "355e76cc-2e46-49e1-bf22-a414fb5bb9ef", - "9ddf553b-7d88-4d89-949b-3fec78506dc1", - "1dc2b67f-3620-439c-ab6e-2117733f7bd9" - ], - "parent": "bc774396-904b-4db3-a5f2-d353886304e6" - }, - "111": { - "dragItem": { - "type": "container", - "id": "465db817-02cf-4102-8c05-300169cf7437", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [ - "ed35a0b5-9fee-4842-bb25-c66cfdefe156", - "6f4b396d-b3e5-45a7-8ccd-3edecb0351b6" - ], - "parent": "bc774396-904b-4db3-a5f2-d353886304e6" - }, - "114": { - "dragItem": { - "type": "widget", - "id": "6f4b396d-b3e5-45a7-8ccd-3edecb0351b6", - "nodeId": "cddf8874-747f-4e1f-9cbd-4398389ede89", - "attrs": { - "title": "Denoise", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [], - "parent": "465db817-02cf-4102-8c05-300169cf7437" - }, - "115": { - "dragItem": { - "type": "container", - "id": "f9b92b02-34ae-4a17-a142-8aa91a6bf915", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [ - "c803e216-3492-453e-a4e1-1d6f27f16b00", - "2e86cd2c-320d-448f-998b-b4eae62e1d13" - ], - "parent": "f536a48e-2544-4778-bb2e-620932a612b1" - }, - "118": { - "dragItem": { - "type": "widget", - "id": "4888175f-d44e-4f02-9f28-95040962ca43", - "nodeId": "91789924-bd62-40bd-ba13-b4a494211b13", - "attrs": { - "title": "Height", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "61cda320-726c-4181-8f65-1c112a2fe4db" - }, - "119": { - "dragItem": { - "type": "widget", - "id": "531690df-f953-4f88-be85-a9a53adc5644", - "nodeId": "878f671b-b24e-49dd-b024-85326d74c46b", - "attrs": { - "title": "Width", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "61cda320-726c-4181-8f65-1c112a2fe4db" - }, - "120": { - "dragItem": { - "type": "widget", - "id": "b4c6602b-8748-41be-827b-123c9d4e287e", - "nodeId": "e1b6fdfc-08ff-4d62-93fe-010a81f53344", - "attrs": { - "title": "\u2b80", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "61cda320-726c-4181-8f65-1c112a2fe4db" - }, - "122": { - "dragItem": { - "type": "container", - "id": "61cda320-726c-4181-8f65-1c112a2fe4db", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "i2i" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "531690df-f953-4f88-be85-a9a53adc5644", - "b4c6602b-8748-41be-827b-123c9d4e287e", - "4888175f-d44e-4f02-9f28-95040962ca43", - "b1c5e233-0b0d-440e-9e68-8d59b34330de" - ], - "parent": "bc774396-904b-4db3-a5f2-d353886304e6" - }, - "124": { - "dragItem": { - "type": "widget", - "id": "b1c5e233-0b0d-440e-9e68-8d59b34330de", - "nodeId": "62b5f0bf-3f71-4506-90ac-b0e2e101e207", - "attrs": { - "title": "Scale By", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "61cda320-726c-4181-8f65-1c112a2fe4db" - }, - "125": { - "dragItem": { - "type": "widget", - "id": "295a28a2-3eff-4b40-9f0e-7ecc73f2b799", - "nodeId": "e45ae255-7ad0-4638-ac86-c879f89790ea", - "attrs": { - "title": "Height", - "hidden": false, - "disabled": true, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "82516e5b-6bbf-4883-9562-f46e66cb8953" - }, - "126": { - "dragItem": { - "type": "widget", - "id": "a370a856-38fd-4539-bab7-662caedf1909", - "nodeId": "0c416f37-4dc1-4dc2-8df2-a21d121863e5", - "attrs": { - "title": "Width", - "hidden": false, - "disabled": true, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "82516e5b-6bbf-4883-9562-f46e66cb8953" - }, - "127": { - "dragItem": { - "type": "container", - "id": "82516e5b-6bbf-4883-9562-f46e66cb8953", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "i2i", - "i2iScaleSize" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "a370a856-38fd-4539-bab7-662caedf1909", - "295a28a2-3eff-4b40-9f0e-7ecc73f2b799" - ], - "parent": "bc774396-904b-4db3-a5f2-d353886304e6" - }, - "128": { - "dragItem": { - "type": "widget", - "id": "88f46eb2-6452-4109-9d8f-7e11b630a073", - "nodeId": "bf90c19d-1ebd-44aa-9b1a-5e7302abe9fb", - "attrs": { - "title": "Scale Image Size", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "19fbdfaa-50d2-4a98-b91b-dc9c1893b6c0" - }, - "129": { - "dragItem": { - "type": "container", - "id": "19fbdfaa-50d2-4a98-b91b-dc9c1893b6c0", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [ - "37948070-1540-4576-b2c6-dcce3c14b1ea", - "88f46eb2-6452-4109-9d8f-7e11b630a073" - ], - "parent": "bc774396-904b-4db3-a5f2-d353886304e6" - }, - "157": { - "dragItem": { - "type": "container", - "id": "ea664a3d-9bbd-489e-ba1c-3f34823fe9ff", - "attrs": { - "title": "LoRA 1", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "3adccb81-e232-47ef-b6ee-7898edc2c97b", - "e6fca681-7f9b-4836-a62d-d16eefe55ce3" - ], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" - }, - "162": { - "dragItem": { - "type": "widget", - "id": "66a5f360-22cd-487c-ad42-fe3c220888f7", - "nodeId": "b5dbaae9-443b-4221-81bf-cc4efe6a4ac7", - "attrs": { - "title": "Link Weights", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" - }, - "168": { - "dragItem": { - "type": "widget", - "id": "594f9024-f05f-43a3-bcd2-946f42613e5a", - "nodeId": "ff1b301a-552a-4b53-abf3-288b0a46d14b", - "attrs": { - "title": "Model", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "c7352574-b50c-4071-abbf-7bc9d37bbbbb" - }, - "169": { - "dragItem": { - "type": "widget", - "id": "5c3402a7-9296-4056-8843-6a0d047bcd5d", - "nodeId": "37a0caec-96c3-4896-9427-e7e3a49cbf00", - "attrs": { - "title": "UNet", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "9c8a06bd-334c-4430-b3ba-9f3cf8251444" - }, - "170": { - "dragItem": { - "type": "widget", - "id": "c26b3b78-4d9e-46af-894a-96b59c975cbe", - "nodeId": "af297914-1f5a-4790-8a9b-aadf02b63653", - "attrs": { - "title": "TEnc", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "9c8a06bd-334c-4430-b3ba-9f3cf8251444" - }, - "171": { - "dragItem": { - "type": "widget", - "id": "53cff502-2c99-4c87-8458-be02cbc34b2d", - "nodeId": "7dde8deb-6909-46c7-a27f-8ba91b2d8118", - "attrs": { - "title": "\ud83d\uddd9", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "9c8a06bd-334c-4430-b3ba-9f3cf8251444" - }, - "173": { - "dragItem": { - "type": "widget", - "id": "368a37bd-ec42-447c-9c2a-f140c38c52ae", - "nodeId": "3585749f-d3e5-46de-aab3-81698f0a626e", - "attrs": { - "title": "Model", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "78c030e1-d7b9-4740-9d7f-0d3bcc95fa9c" - }, - "174": { - "dragItem": { - "type": "widget", - "id": "adf717d3-ff57-4411-b447-d51fac011314", - "nodeId": "eb95dd75-c834-4e7d-b36b-bfb308b3769d", - "attrs": { - "title": "UNet", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "8362b08e-6b30-4a46-9c6c-92671adb4415" - }, - "175": { - "dragItem": { - "type": "widget", - "id": "78b4f3d7-8402-4b9a-b278-ef49414e46cb", - "nodeId": "2dced316-62a1-4537-82b9-5a739dfe7987", - "attrs": { - "title": "TEnc", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "8362b08e-6b30-4a46-9c6c-92671adb4415" - }, - "176": { - "dragItem": { - "type": "widget", - "id": "12ab8539-61ed-4c66-8e66-39b09421d4be", - "nodeId": "d12389d4-c7e5-4d38-b6cc-ae0ec3e356de", - "attrs": { - "title": "\ud83d\uddd9", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "8362b08e-6b30-4a46-9c6c-92671adb4415" - }, - "178": { - "dragItem": { - "type": "widget", - "id": "33c98562-5d37-40a1-8b5e-95250f20d96a", - "nodeId": "51bd9371-9711-4cdb-98b7-92ba8d87ab62", - "attrs": { - "title": "Model", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "4a31d6a7-2f19-4cdd-8c1a-7ec5768b3633" - }, - "179": { - "dragItem": { - "type": "widget", - "id": "373154be-983f-409d-a357-263b1e503420", - "nodeId": "7eab2ed7-f071-4fa9-a408-8d748b265d63", - "attrs": { - "title": "UNet", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "1de193ec-2154-49da-b18d-2107b6351e15" - }, - "180": { - "dragItem": { - "type": "widget", - "id": "e64dd0a3-b8e3-4ef5-8806-ad7f53dce903", - "nodeId": "c2428843-22a3-49de-8d9a-b7e4d2b3da1c", - "attrs": { - "title": "TEnc", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "1de193ec-2154-49da-b18d-2107b6351e15" - }, - "181": { - "dragItem": { - "type": "widget", - "id": "74aa1386-535d-4738-85d6-f9129d26f335", - "nodeId": "edb15d59-980e-4259-b755-2695f53b372b", - "attrs": { - "title": "\ud83d\uddd9", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "1de193ec-2154-49da-b18d-2107b6351e15" - }, - "183": { - "dragItem": { - "type": "widget", - "id": "1f56e119-2986-4a39-805b-2e530b7e233e", - "nodeId": "db17379a-d8c6-419b-8303-91c930a44d81", - "attrs": { - "title": "Model", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "646c1c6f-e6da-4585-ab1d-9cdda5a9a83a" - }, - "184": { - "dragItem": { - "type": "widget", - "id": "c0a424b7-628c-4c76-9821-fb1e44bf9ba2", - "nodeId": "be27330e-65f6-45eb-89ee-ba962be1116e", - "attrs": { - "title": "UNet", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "ef8a38b9-418e-4831-9d91-2406da5bd819" - }, - "185": { - "dragItem": { - "type": "widget", - "id": "741f3514-8d71-40e8-afb1-a228804db835", - "nodeId": "53a81df2-3c68-4e5f-855b-fd95d87b50f2", - "attrs": { - "title": "TEnc", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "ef8a38b9-418e-4831-9d91-2406da5bd819" - }, - "186": { - "dragItem": { - "type": "widget", - "id": "fffb1fe4-9b01-4876-b910-ebe7a7866ae1", - "nodeId": "871dc4f9-229e-49f7-b3bc-5b4f84471237", - "attrs": { - "title": "\ud83d\uddd9", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "ef8a38b9-418e-4831-9d91-2406da5bd819" - }, - "188": { - "dragItem": { - "type": "container", - "id": "c7352574-b50c-4071-abbf-7bc9d37bbbbb", - "attrs": { - "title": "LoRA 2", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "594f9024-f05f-43a3-bcd2-946f42613e5a", - "9c8a06bd-334c-4430-b3ba-9f3cf8251444" - ], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" - }, - "189": { - "dragItem": { - "type": "container", - "id": "78c030e1-d7b9-4740-9d7f-0d3bcc95fa9c", - "attrs": { - "title": "LoRA 3", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "368a37bd-ec42-447c-9c2a-f140c38c52ae", - "8362b08e-6b30-4a46-9c6c-92671adb4415" - ], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" - }, - "190": { - "dragItem": { - "type": "container", - "id": "4a31d6a7-2f19-4cdd-8c1a-7ec5768b3633", - "attrs": { - "title": "LoRA 4", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "33c98562-5d37-40a1-8b5e-95250f20d96a", - "1de193ec-2154-49da-b18d-2107b6351e15" - ], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" - }, - "191": { - "dragItem": { - "type": "container", - "id": "646c1c6f-e6da-4585-ab1d-9cdda5a9a83a", - "attrs": { - "title": "LoRA 5", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "1f56e119-2986-4a39-805b-2e530b7e233e", - "ef8a38b9-418e-4831-9d91-2406da5bd819" - ], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" - }, - "198": { - "dragItem": { - "type": "widget", - "id": "e8a1cb19-e5aa-4788-8d2a-4eeb21b35bbb", - "nodeId": "410a9a96-0188-48d8-9166-18742d44857d", - "attrs": { - "title": "Model", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "6c5c77d2-00ba-4248-94b3-009e3ac80c37" - }, - "199": { - "dragItem": { - "type": "container", - "id": "6c5c77d2-00ba-4248-94b3-009e3ac80c37", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "controlNet" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "e8a1cb19-e5aa-4788-8d2a-4eeb21b35bbb" - ], - "parent": "4740ac63-1026-445c-a9c6-c649b9ab7a23" - }, - "200": { - "dragItem": { - "type": "widget", - "id": "45e343ae-0d46-4618-8499-38053e7390ee", - "nodeId": "deb48f01-b06d-46d3-8eed-8bbc281d29f0", - "attrs": { - "title": "Strength", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "bd3101cc-22b1-4662-92af-a34eb359f568" - }, - "201": { - "dragItem": { - "type": "container", - "id": "bd3101cc-22b1-4662-92af-a34eb359f568", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "controlNet", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "controlNet" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "45e343ae-0d46-4618-8499-38053e7390ee", - "09e0e9fb-46e9-4778-a800-a1ec9eb1de28" - ], - "parent": "4740ac63-1026-445c-a9c6-c649b9ab7a23" - }, - "202": { - "dragItem": { - "type": "container", - "id": "4740ac63-1026-445c-a9c6-c649b9ab7a23", - "attrs": { - "title": "ControlNet", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [ - "5b9eaf4e-7602-45a0-a7a9-776ce69c1270", - "8b5f06cd-8fa7-48f4-a88a-14ef354248b0", - "6c5c77d2-00ba-4248-94b3-009e3ac80c37", - "bd3101cc-22b1-4662-92af-a34eb359f568" - ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" - }, - "207": { - "dragItem": { - "type": "widget", - "id": "09e0e9fb-46e9-4778-a800-a1ec9eb1de28", - "nodeId": "cc371bd0-9fbd-4655-ae2c-bf0777de66c8", - "attrs": { - "title": "\ud83d\uddd9", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "bd3101cc-22b1-4662-92af-a34eb359f568" - }, - "208": { - "dragItem": { - "type": "container", - "id": "8b5f06cd-8fa7-48f4-a88a-14ef354248b0", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "controlNet" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "28ea2e98-1350-4d21-ab3d-b77229ff6bd7" - ], - "parent": "4740ac63-1026-445c-a9c6-c649b9ab7a23" - }, - "209": { - "dragItem": { - "type": "widget", - "id": "28ea2e98-1350-4d21-ab3d-b77229ff6bd7", - "nodeId": "85bf4605-fc2b-4d17-9c08-edff76734990", - "attrs": { - "title": "ControlNet Image", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "8b5f06cd-8fa7-48f4-a88a-14ef354248b0" - }, - "210": { - "dragItem": { - "type": "widget", - "id": "f76c72a4-19bb-419d-8566-909ded308c38", - "nodeId": "d88047d6-932e-46e3-abd8-858f84b6baab", - "attrs": { - "title": "Image", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "355e76cc-2e46-49e1-bf22-a414fb5bb9ef" - }, - "211": { - "dragItem": { - "type": "container", - "id": "355e76cc-2e46-49e1-bf22-a414fb5bb9ef", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "i2i" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "f76c72a4-19bb-419d-8566-909ded308c38" - ], - "parent": "57fe08ba-389d-481e-a883-0c065e81a283" - }, - "212": { - "dragItem": { - "type": "widget", - "id": "5b9eaf4e-7602-45a0-a7a9-776ce69c1270", - "nodeId": "c736e06d-7153-432f-8451-3842fa78ba29", - "attrs": { - "title": "Enable", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "4740ac63-1026-445c-a9c6-c649b9ab7a23" - }, - "213": { - "dragItem": { - "type": "widget", - "id": "8efba0a3-6481-465f-a305-29a7e4fccb4a", - "nodeId": "3b3f87be-de96-4f80-a182-da28c9cdf0a4", - "attrs": { - "title": "\ud83d\uddd1\ufe0f", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "0aa39d1f-6745-4ae0-8615-141c4fffd872" - }, - "214": { - "dragItem": { - "type": "container", - "id": "e6fca681-7f9b-4836-a62d-d16eefe55ce3", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ] - } - }, - "children": [ - "f05973be-ca4d-4326-bf25-aae5b32c28a9", - "53eaaa01-0ee2-402c-9353-205dbe5a35d5", - "6c122f6a-da1c-4038-bbe3-87838186247b" - ], - "parent": "ea664a3d-9bbd-489e-ba1c-3f34823fe9ff" - }, - "215": { - "dragItem": { - "type": "container", - "id": "9c8a06bd-334c-4430-b3ba-9f3cf8251444", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ] - } - }, - "children": [ - "5c3402a7-9296-4056-8843-6a0d047bcd5d", - "c26b3b78-4d9e-46af-894a-96b59c975cbe", - "53cff502-2c99-4c87-8458-be02cbc34b2d" - ], - "parent": "c7352574-b50c-4071-abbf-7bc9d37bbbbb" - }, - "216": { - "dragItem": { - "type": "container", - "id": "8362b08e-6b30-4a46-9c6c-92671adb4415", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ] - } - }, - "children": [ - "adf717d3-ff57-4411-b447-d51fac011314", - "78b4f3d7-8402-4b9a-b278-ef49414e46cb", - "12ab8539-61ed-4c66-8e66-39b09421d4be" - ], - "parent": "78c030e1-d7b9-4740-9d7f-0d3bcc95fa9c" - }, - "217": { - "dragItem": { - "type": "container", - "id": "1de193ec-2154-49da-b18d-2107b6351e15", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ] - } - }, - "children": [ - "373154be-983f-409d-a357-263b1e503420", - "e64dd0a3-b8e3-4ef5-8806-ad7f53dce903", - "74aa1386-535d-4738-85d6-f9129d26f335" - ], - "parent": "4a31d6a7-2f19-4cdd-8c1a-7ec5768b3633" - }, - "218": { - "dragItem": { - "type": "container", - "id": "ef8a38b9-418e-4831-9d91-2406da5bd819", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ] - } - }, - "children": [ - "c0a424b7-628c-4c76-9821-fb1e44bf9ba2", - "741f3514-8d71-40e8-afb1-a228804db835", - "fffb1fe4-9b01-4876-b910-ebe7a7866ae1" - ], - "parent": "646c1c6f-e6da-4585-ab1d-9cdda5a9a83a" - }, - "219": { - "dragItem": { - "type": "widget", - "id": "28a75152-9135-48d0-8173-de7d59442ffb", - "nodeId": "ae9117c6-aa69-4b52-9ea5-b9868aaa2488", - "attrs": { - "title": "From HR. Fix", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [], - "parent": "9ddf553b-7d88-4d89-949b-3fec78506dc1" - }, - "221": { - "dragItem": { - "type": "widget", - "id": "23aca8f1-4dc0-4e1c-9892-9474d8fbf178", - "nodeId": "22f6b2b1-994c-4ada-9e67-2ee285b8c267", - "attrs": { - "title": "From Results", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [], - "parent": "9ddf553b-7d88-4d89-949b-3fec78506dc1" - }, - "222": { - "dragItem": { - "type": "container", - "id": "9ddf553b-7d88-4d89-949b-3fec78506dc1", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [ - "23aca8f1-4dc0-4e1c-9892-9474d8fbf178", - "28a75152-9135-48d0-8173-de7d59442ffb" - ], - "parent": "57fe08ba-389d-481e-a883-0c065e81a283" - }, - "223": { - "dragItem": { - "type": "widget", - "id": "b3edaa31-151a-4595-88c4-1d55d00644b1", - "nodeId": "adad5a15-78eb-4dc2-b9b8-33bd52eb772f", - "attrs": { - "title": "Enable", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", "tags": [] } }, "children": [], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" + "parent": "0d5ae12f-6024-45ea-ad3e-53b48bd9c66b" }, - "02f0116a-7553-4df4-8f9b-53b1954a58fd": { - "dragItem": { - "type": "container", - "id": "02f0116a-7553-4df4-8f9b-53b1954a58fd", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": false, - "blockVariant": "block" - } - }, - "children": [ - "2937706d-c35c-4ac1-8825-a021935a2b91", - "4fe0005d-4566-488a-8af7-90f41a4f4a85" - ] - }, - "2937706d-c35c-4ac1-8825-a021935a2b91": { - "dragItem": { - "type": "container", - "id": "2937706d-c35c-4ac1-8825-a021935a2b91", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": false, - "blockVariant": "block" - } - }, - "children": [ - "f536a48e-2544-4778-bb2e-620932a612b1", - "17029b6d-a36f-4a61-9f77-257addbd9f7e", - "bc774396-904b-4db3-a5f2-d353886304e6", - "b4e52163-9122-45d3-be55-60ec18de4bb8", - "e1e0954a-6cb2-445d-aa13-2bbe24606b6a", - "2e926e02-3728-4861-8a2e-5b3f0de8e589", - "dd813b51-5c4c-458d-a44d-a3fe48246b05", - "4740ac63-1026-445c-a9c6-c649b9ab7a23" - ], - "parent": "02f0116a-7553-4df4-8f9b-53b1954a58fd" - }, - "4fe0005d-4566-488a-8af7-90f41a4f4a85": { - "dragItem": { - "type": "container", - "id": "4fe0005d-4566-488a-8af7-90f41a4f4a85", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": false, - "blockVariant": "block" - } - }, - "children": [ - "ba3cd1b5-ad47-4526-8079-fcd90020ac98" - ], - "parent": "02f0116a-7553-4df4-8f9b-53b1954a58fd" - }, - "bc5319a3-c00d-46af-b142-8bd0d917673e": { + "d698a64e-0206-4692-807e-1ffcbf68e066": { "dragItem": { "type": "widget", - "id": "bc5319a3-c00d-46af-b142-8bd0d917673e", - "nodeId": "3c50e176-6a83-4664-8fe4-6f12faef4247", + "id": "d698a64e-0206-4692-807e-1ffcbf68e066", + "nodeId": "cb8299a3-b0c7-47b4-8d63-f809a84dc8d5", "attrs": { "title": "Seed", "hidden": false, "disabled": false, - "direction": "horizontal", + "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true + "tags": [] } }, "children": [], - "parent": "52e13b9c-68d6-4c6e-9a34-cde1e6352c22" + "parent": "d3a5e1ee-88f2-4dc8-be17-a3edb966522b" }, - "6cf9d51e-bef8-478d-a986-a9414d8a401e": { + "87709254-d08e-479d-9738-234c1099a342": { "dragItem": { "type": "widget", - "id": "6cf9d51e-bef8-478d-a986-a9414d8a401e", - "nodeId": "54ac52a2-5346-41b1-9f82-b1945a6e7602", + "id": "87709254-d08e-479d-9738-234c1099a342", + "nodeId": "8752488d-6558-4111-aa69-083abe980619", "attrs": { "title": "Steps", "hidden": false, "disabled": false, - "direction": "horizontal", + "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true + "tags": [] } }, "children": [], - "parent": "2f92f3ac-2963-4ec9-b3a7-678601421fc1" + "parent": "dab05861-aea7-4353-b08b-3f68bbb95864" }, - "7707edab-128e-4dbf-9085-f526d4545b63": { + "e031c160-f733-4e62-a3b9-3c12b4c127b6": { "dragItem": { "type": "widget", - "id": "7707edab-128e-4dbf-9085-f526d4545b63", - "nodeId": "d2ef3441-0116-4f38-80c4-2d28a35134c0", + "id": "e031c160-f733-4e62-a3b9-3c12b4c127b6", + "nodeId": "084703e8-986f-43ba-bead-fc339de8cce5", "attrs": { "title": "CFG Scale", "hidden": false, "disabled": false, - "direction": "horizontal", + "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true + "tags": [] } }, "children": [], - "parent": "2f92f3ac-2963-4ec9-b3a7-678601421fc1" + "parent": "dab05861-aea7-4353-b08b-3f68bbb95864" }, - "acc048a6-43ec-4cdb-9b2e-154aef2d5baf": { + "e0675206-b51b-42b4-bd2b-4a8bdc80a7d4": { "dragItem": { "type": "widget", - "id": "acc048a6-43ec-4cdb-9b2e-154aef2d5baf", - "nodeId": "a2d692aa-0680-4e1f-bff2-04112c165503", + "id": "e0675206-b51b-42b4-bd2b-4a8bdc80a7d4", + "nodeId": "6dec6532-214e-47e8-9ecf-5151ddcd1ca4", "attrs": { - "title": "Sampler", + "title": "Sampler Name", "hidden": false, "disabled": false, - "direction": "horizontal", + "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": false + "tags": [] } }, "children": [], - "parent": "0a652312-b0f3-4574-94f8-53e676f12132" + "parent": "ec37646a-f7d5-43f9-9664-9018c034d642" }, - "57be03a7-684b-440f-9c86-50ccf907fbc9": { + "669377f7-46ce-4856-b6ab-b8a814c26727": { "dragItem": { "type": "widget", - "id": "57be03a7-684b-440f-9c86-50ccf907fbc9", - "nodeId": "a4c71591-9e1d-4968-bcfc-03a4eb0f80f3", + "id": "669377f7-46ce-4856-b6ab-b8a814c26727", + "nodeId": "3661b109-0d21-4987-a386-a8e4f53ff6fa", "attrs": { "title": "Scheduler", "hidden": false, "disabled": false, - "direction": "horizontal", + "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": false + "tags": [] } }, "children": [], - "parent": "0a652312-b0f3-4574-94f8-53e676f12132" + "parent": "ec37646a-f7d5-43f9-9664-9018c034d642" }, - "1441c9eb-1a6c-498a-a2d5-a276608d2dda": { + "70c619f1-e65f-447b-98d7-edd999fed5ae": { "dragItem": { "type": "widget", - "id": "1441c9eb-1a6c-498a-a2d5-a276608d2dda", - "nodeId": "3443baf2-ed35-4567-96a0-7821f3806232", + "id": "70c619f1-e65f-447b-98d7-edd999fed5ae", + "nodeId": "6391469c-22aa-45cf-b49b-c093ba92efa2", "attrs": { "title": "Denoise", "hidden": false, "disabled": false, - "direction": "horizontal", + "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "max": 2 + "tags": [] } }, "children": [], - "parent": "ee99d346-9add-432c-a55b-2510256c0b38" + "parent": "b490914f-c697-42a4-a569-9d08212aaf06" }, - "b4e52163-9122-45d3-be55-60ec18de4bb8": { + "b0a78c4f-3cd7-470a-a0aa-2c6e6bfe4f86": { "dragItem": { "type": "container", - "id": "b4e52163-9122-45d3-be55-60ec18de4bb8", + "id": "b0a78c4f-3cd7-470a-a0aa-2c6e6bfe4f86", "attrs": { "title": "KSampler", "hidden": false, @@ -20403,512 +22993,150 @@ "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "accordion", "containerVariant": "block", "openOnStartup": true, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "block" + "tags": [] } }, "children": [ - "0a652312-b0f3-4574-94f8-53e676f12132", - "2f92f3ac-2963-4ec9-b3a7-678601421fc1", - "52e13b9c-68d6-4c6e-9a34-cde1e6352c22", - "5170ce54-2dd1-4451-9a9b-0f6fc1e5d532" + "d3a5e1ee-88f2-4dc8-be17-a3edb966522b", + "dab05861-aea7-4353-b08b-3f68bbb95864", + "ec37646a-f7d5-43f9-9664-9018c034d642" ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" + "parent": "f203b596-b87c-493c-b2c1-57f646fdafc7" }, - "c724476f-8cf7-4cbe-b94d-518560baf33a": { + "77aacb49-8211-4500-9466-3580583aa1a1": { "dragItem": { "type": "widget", - "id": "c724476f-8cf7-4cbe-b94d-518560baf33a", - "nodeId": "e904e413-5e98-4146-8938-8524c7c9bc22", + "id": "77aacb49-8211-4500-9466-3580583aa1a1", + "nodeId": "c10e1869-b88f-4f88-9c1f-bd07c3ba1cdf", "attrs": { "title": "Positive", "hidden": false, "disabled": false, - "direction": "horizontal", + "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true + "tags": [] } }, "children": [], - "parent": "17029b6d-a36f-4a61-9f77-257addbd9f7e" + "parent": "6b258844-4787-465b-8b6f-38b169b3b639" }, - "17029b6d-a36f-4a61-9f77-257addbd9f7e": { + "6b258844-4787-465b-8b6f-38b169b3b639": { "dragItem": { "type": "container", - "id": "17029b6d-a36f-4a61-9f77-257addbd9f7e", + "id": "6b258844-4787-465b-8b6f-38b169b3b639", "attrs": { "title": "Prompt", "hidden": false, "disabled": false, - "direction": "horizontal", + "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "accordion", - "containerVariant": "hidden", + "containerVariant": "block", "openOnStartup": true, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden", - "tabNames": [ - "Positive", - "Negative" - ] + "tags": [] } }, "children": [ - "c724476f-8cf7-4cbe-b94d-518560baf33a", - "11ce6cb1-942b-4296-9f17-d8fc2a1e0a99" + "77aacb49-8211-4500-9466-3580583aa1a1", + "f9e0eb67-3165-46a2-b28f-6dcb4dde07aa" ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" + "parent": "f203b596-b87c-493c-b2c1-57f646fdafc7" }, - "11ce6cb1-942b-4296-9f17-d8fc2a1e0a99": { + "f9e0eb67-3165-46a2-b28f-6dcb4dde07aa": { "dragItem": { "type": "widget", - "id": "11ce6cb1-942b-4296-9f17-d8fc2a1e0a99", - "nodeId": "64e05c57-f669-432e-8e20-a2b51870067d", + "id": "f9e0eb67-3165-46a2-b28f-6dcb4dde07aa", + "nodeId": "efc39968-f678-4ab0-8998-73aa51e27dfb", "attrs": { "title": "Negative", "hidden": false, "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "17029b6d-a36f-4a61-9f77-257addbd9f7e" - }, - "9399c424-6fce-4bc2-8056-27a42b4f0db9": { - "dragItem": { - "type": "widget", - "id": "9399c424-6fce-4bc2-8056-27a42b4f0db9", - "nodeId": "17d2f326-75f0-461e-9cfc-5ff314310a6a", - "attrs": { - "title": "Width", - "hidden": false, - "disabled": false, - "direction": "horizontal", + "direction": "vertical", "classes": "", "style": "", "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true + "tags": [] } }, "children": [], - "parent": "92cdca89-f0de-4437-92ea-ec982e4dcf41" + "parent": "6b258844-4787-465b-8b6f-38b169b3b639" }, - "22ad6a22-1ac9-434e-a0a1-6887629be858": { + "a669f342-3023-4198-9231-332ca06a2c99": { "dragItem": { "type": "widget", - "id": "22ad6a22-1ac9-434e-a0a1-6887629be858", - "nodeId": "bff57d22-e589-4a2a-b82d-94d035a40bf2", - "attrs": { - "title": "Height", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "92cdca89-f0de-4437-92ea-ec982e4dcf41" - }, - "ed35a0b5-9fee-4842-bb25-c66cfdefe156": { - "dragItem": { - "type": "widget", - "id": "ed35a0b5-9fee-4842-bb25-c66cfdefe156", - "nodeId": "b115fc1a-799e-4c2f-8ab7-9714398e8e46", + "id": "a669f342-3023-4198-9231-332ca06a2c99", + "nodeId": "956ef877-9a36-40d4-9f86-e824ff6f6dd5", "attrs": { "title": "Batch Size", "hidden": false, "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "465db817-02cf-4102-8c05-300169cf7437" - }, - "bc774396-904b-4db3-a5f2-d353886304e6": { - "dragItem": { - "type": "container", - "id": "bc774396-904b-4db3-a5f2-d353886304e6", - "attrs": { - "title": "Latent Image", - "hidden": false, - "disabled": false, "direction": "vertical", "classes": "", "style": "", "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "block", - "openOnStartup": true, + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "block" + "tags": [] } }, - "children": [ - "19fbdfaa-50d2-4a98-b91b-dc9c1893b6c0", - "92cdca89-f0de-4437-92ea-ec982e4dcf41", - "61cda320-726c-4181-8f65-1c112a2fe4db", - "465db817-02cf-4102-8c05-300169cf7437", - "82516e5b-6bbf-4883-9562-f46e66cb8953", - "57fe08ba-389d-481e-a883-0c065e81a283" - ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" + "children": [], + "parent": "b490914f-c697-42a4-a569-9d08212aaf06" }, - "71cd0824-19cf-4317-b347-0379bfffbc9a": { + "11b3ac63-f7be-4997-bc8b-fcc3a56eebac": { "dragItem": { "type": "widget", - "id": "71cd0824-19cf-4317-b347-0379bfffbc9a", - "nodeId": "7e99a3e9-3704-47c8-9e0d-1a4a244a6f58", + "id": "11b3ac63-f7be-4997-bc8b-fcc3a56eebac", + "nodeId": "e7e68c8c-fa9c-42ab-985e-789c1dc91ae5", "attrs": { "title": "Filename Prefix", "hidden": false, "disabled": false, - "direction": "horizontal", + "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "0aa39d1f-6745-4ae0-8615-141c4fffd872" - }, - "dd813b51-5c4c-458d-a44d-a3fe48246b05": { - "dragItem": { - "type": "container", - "id": "dd813b51-5c4c-458d-a44d-a3fe48246b05", - "attrs": { - "title": "Copy Test", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "block" - } - }, - "children": [], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" - }, - "fa64b076-84d4-47ac-bfc3-b4dbcd37c229": { - "dragItem": { - "type": "widget", - "id": "fa64b076-84d4-47ac-bfc3-b4dbcd37c229", - "nodeId": "91b10565-8fef-44da-804f-95d80ef18667", - "attrs": { - "title": "Seed Action", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "testClas", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "52e13b9c-68d6-4c6e-9a34-cde1e6352c22" - }, - "3979aaff-1e58-4228-af8d-155c52bd1130": { - "dragItem": { - "type": "widget", - "id": "3979aaff-1e58-4228-af8d-155c52bd1130", - "nodeId": "567795b3-8d35-41c8-9438-daf9325f70bd", - "attrs": { - "title": "\u2b80", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, - "buttonVariant": "secondary", + "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 1, - "height": "auto", - "showTitle": true + "tags": [] } }, "children": [], - "parent": "92cdca89-f0de-4437-92ea-ec982e4dcf41" + "parent": "776f0832-efbb-45a9-a86f-b71b25ae0f82" }, - "92cdca89-f0de-4437-92ea-ec982e4dcf41": { + "776f0832-efbb-45a9-a86f-b71b25ae0f82": { "dragItem": { "type": "container", - "id": "92cdca89-f0de-4437-92ea-ec982e4dcf41", + "id": "776f0832-efbb-45a9-a86f-b71b25ae0f82", "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "t2i" - ], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" - } - }, - "children": [ - "9399c424-6fce-4bc2-8056-27a42b4f0db9", - "3979aaff-1e58-4228-af8d-155c52bd1130", - "22ad6a22-1ac9-434e-a0a1-6887629be858" - ], - "parent": "bc774396-904b-4db3-a5f2-d353886304e6" - }, - "52e13b9c-68d6-4c6e-9a34-cde1e6352c22": { - "dragItem": { - "type": "container", - "id": "52e13b9c-68d6-4c6e-9a34-cde1e6352c22", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" - } - }, - "children": [ - "bc5319a3-c00d-46af-b142-8bd0d917673e", - "fa64b076-84d4-47ac-bfc3-b4dbcd37c229" - ], - "parent": "b4e52163-9122-45d3-be55-60ec18de4bb8" - }, - "c803e216-3492-453e-a4e1-1d6f27f16b00": { - "dragItem": { - "type": "widget", - "id": "c803e216-3492-453e-a4e1-1d6f27f16b00", - "nodeId": "45bd8775-867b-40f5-8a26-93dc2374bb32", - "attrs": { - "title": "Checkpoint", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "return \"!!!\";", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "f9b92b02-34ae-4a17-a142-8aa91a6bf915" - }, - "0a652312-b0f3-4574-94f8-53e676f12132": { - "dragItem": { - "type": "container", - "id": "0a652312-b0f3-4574-94f8-53e676f12132", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": false, - "blockVariant": "hidden" - } - }, - "children": [ - "acc048a6-43ec-4cdb-9b2e-154aef2d5baf", - "57be03a7-684b-440f-9c86-50ccf907fbc9" - ], - "parent": "b4e52163-9122-45d3-be55-60ec18de4bb8" - }, - "2f92f3ac-2963-4ec9-b3a7-678601421fc1": { - "dragItem": { - "type": "container", - "id": "2f92f3ac-2963-4ec9-b3a7-678601421fc1", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" - } - }, - "children": [ - "7707edab-128e-4dbf-9085-f526d4545b63", - "6cf9d51e-bef8-478d-a986-a9414d8a401e" - ], - "parent": "b4e52163-9122-45d3-be55-60ec18de4bb8" - }, - "3adccb81-e232-47ef-b6ee-7898edc2c97b": { - "dragItem": { - "type": "widget", - "id": "3adccb81-e232-47ef-b6ee-7898edc2c97b", - "nodeId": "1bb03060-082b-4327-8e5b-0925dd7fc0a5", - "attrs": { - "title": "Model", + "title": "Save Image", "hidden": false, "disabled": false, "direction": "horizontal", @@ -20920,834 +23148,45 @@ "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "ea664a3d-9bbd-489e-ba1c-3f34823fe9ff" - }, - "f05973be-ca4d-4326-bf25-aae5b32c28a9": { - "dragItem": { - "type": "widget", - "id": "f05973be-ca4d-4326-bf25-aae5b32c28a9", - "nodeId": "906ec488-068d-4f6d-905d-efbdd964b444", - "attrs": { - "title": "UNet", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "e6fca681-7f9b-4836-a62d-d16eefe55ce3" - }, - "53eaaa01-0ee2-402c-9353-205dbe5a35d5": { - "dragItem": { - "type": "widget", - "id": "53eaaa01-0ee2-402c-9353-205dbe5a35d5", - "nodeId": "196174de-3e4e-4371-a3af-6baeced08071", - "attrs": { - "title": "TEnc", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "e6fca681-7f9b-4836-a62d-d16eefe55ce3" - }, - "e1e0954a-6cb2-445d-aa13-2bbe24606b6a": { - "dragItem": { - "type": "container", - "id": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a", - "attrs": { - "title": "LoraLoader", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "block" + "tags": [] } }, "children": [ - "b3edaa31-151a-4595-88c4-1d55d00644b1", - "66a5f360-22cd-487c-ad42-fe3c220888f7", - "ea664a3d-9bbd-489e-ba1c-3f34823fe9ff", - "c7352574-b50c-4071-abbf-7bc9d37bbbbb", - "78c030e1-d7b9-4740-9d7f-0d3bcc95fa9c", - "4a31d6a7-2f19-4cdd-8c1a-7ec5768b3633", - "646c1c6f-e6da-4585-ab1d-9cdda5a9a83a" + "11b3ac63-f7be-4997-bc8b-fcc3a56eebac", + "a1bc8382-1186-4b33-821e-484694e5f961", + "ab4b8793-7d33-4560-8462-643497d36ce9" ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" + "parent": "e557874b-4856-42a3-b783-a210f6d0d1dc" }, - "51bc8db1-f603-4127-aae6-8a81c7dcb3ad": { + "0a49da6f-cd15-428b-b28a-a3623b6e3294": { "dragItem": { "type": "widget", - "id": "51bc8db1-f603-4127-aae6-8a81c7dcb3ad", - "nodeId": "2efcc025-0064-42e7-add6-ff6215d3dd43", - "attrs": { - "title": "Upscale Method", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "d5d47a76-bb75-4a17-8d61-9ec35e68964a" - }, - "ae385181-5483-4424-8f22-19417c4031db": { - "dragItem": { - "type": "widget", - "id": "ae385181-5483-4424-8f22-19417c4031db", - "nodeId": "7a7f0af3-7ea5-43ab-be95-08c934a5071b", - "attrs": { - "title": "Scale By", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "fc08f30d-d137-4374-bead-49667f8cff68" - }, - "ab31f9d0-af01-4a7a-a87a-5f34f45d0447": { - "dragItem": { - "type": "widget", - "id": "ab31f9d0-af01-4a7a-a87a-5f34f45d0447", - "nodeId": "f1a583bb-c0d6-4193-b6ca-4481139a5f4c", - "attrs": { - "title": "Crop", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "d5d47a76-bb75-4a17-8d61-9ec35e68964a" - }, - "4e5fd89d-98a3-4fe4-b248-33343dfcf7fe": { - "dragItem": { - "type": "widget", - "id": "4e5fd89d-98a3-4fe4-b248-33343dfcf7fe", - "nodeId": "3ef4a249-ae9e-4698-a24a-a21d7c44abd8", - "attrs": { - "title": "HiRes Fix", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "ba3cd1b5-ad47-4526-8079-fcd90020ac98" - }, - "fc08f30d-d137-4374-bead-49667f8cff68": { - "dragItem": { - "type": "container", - "id": "fc08f30d-d137-4374-bead-49667f8cff68", + "id": "0a49da6f-cd15-428b-b28a-a3623b6e3294", + "nodeId": "c5dde6e2-d6a9-4c7e-b396-3083b11573f5", "attrs": { "title": "", "hidden": false, "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" - } - }, - "children": [ - "ae385181-5483-4424-8f22-19417c4031db" - ], - "parent": "2e926e02-3728-4861-8a2e-5b3f0de8e589" - }, - "d5d47a76-bb75-4a17-8d61-9ec35e68964a": { - "dragItem": { - "type": "container", - "id": "d5d47a76-bb75-4a17-8d61-9ec35e68964a", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" - } - }, - "children": [ - "ab31f9d0-af01-4a7a-a87a-5f34f45d0447", - "51bc8db1-f603-4127-aae6-8a81c7dcb3ad" - ], - "parent": "2e926e02-3728-4861-8a2e-5b3f0de8e589" - }, - "45456f1f-ad02-4947-ac8e-8585f59d0508": { - "dragItem": { - "type": "widget", - "id": "45456f1f-ad02-4947-ac8e-8585f59d0508", - "nodeId": "353215bf-8ea6-4b00-a1e9-6cf404ba2e13", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "ba3cd1b5-ad47-4526-8079-fcd90020ac98" - }, - "11499414-aaa0-4bdf-99f4-c6026892a318": { - "dragItem": { - "type": "widget", - "id": "11499414-aaa0-4bdf-99f4-c6026892a318", - "nodeId": "25bb8709-aadd-40f3-a98f-4461471d8341", - "attrs": { - "title": "State", - "hidden": false, - "disabled": true, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "7a66d28c-bf64-4e65-9936-70e3362314a1" - }, - "5b8e56dc-0640-41de-8663-f25ce5ed3f50": { - "dragItem": { - "type": "widget", - "id": "5b8e56dc-0640-41de-8663-f25ce5ed3f50", - "nodeId": "c88ffd5e-0dca-43a6-8c08-28a662c217c8", - "attrs": { - "title": "Upscale", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "7a66d28c-bf64-4e65-9936-70e3362314a1" - }, - "2e926e02-3728-4861-8a2e-5b3f0de8e589": { - "dragItem": { - "type": "container", - "id": "2e926e02-3728-4861-8a2e-5b3f0de8e589", - "attrs": { - "title": "HR Fix", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "block" - } - }, - "children": [ - "fc08f30d-d137-4374-bead-49667f8cff68", - "3913c74b-8279-4953-92c8-f187a0a1e976", - "ee99d346-9add-432c-a55b-2510256c0b38", - "d5d47a76-bb75-4a17-8d61-9ec35e68964a", - "7a66d28c-bf64-4e65-9936-70e3362314a1" - ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" - }, - "7a66d28c-bf64-4e65-9936-70e3362314a1": { - "dragItem": { - "type": "container", - "id": "7a66d28c-bf64-4e65-9936-70e3362314a1", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "block", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" - } - }, - "children": [ - "11499414-aaa0-4bdf-99f4-c6026892a318", - "5b8e56dc-0640-41de-8663-f25ce5ed3f50" - ], - "parent": "2e926e02-3728-4861-8a2e-5b3f0de8e589" - }, - "ee99d346-9add-432c-a55b-2510256c0b38": { - "dragItem": { - "type": "container", - "id": "ee99d346-9add-432c-a55b-2510256c0b38", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true, - "blockVariant": "hidden" - } - }, - "children": [ - "b5b02dc7-e614-4c2a-9bea-1362868a9a93", - "1441c9eb-1a6c-498a-a2d5-a276608d2dda" - ], - "parent": "2e926e02-3728-4861-8a2e-5b3f0de8e589" - }, - "b5b02dc7-e614-4c2a-9bea-1362868a9a93": { - "dragItem": { - "type": "widget", - "id": "b5b02dc7-e614-4c2a-9bea-1362868a9a93", - "nodeId": "4142e5f2-731f-49ee-8f0c-1c7cce32d05a", - "attrs": { - "title": "Steps", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "ee99d346-9add-432c-a55b-2510256c0b38" - }, - "067d6917-9359-470d-aafa-a3f672ccb4d7": { - "dragItem": { - "type": "widget", - "id": "067d6917-9359-470d-aafa-a3f672ccb4d7", - "nodeId": "b3397c7a-e4a9-486d-acd3-7ed7920ab01e", - "attrs": { - "title": "Generate", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "5170ce54-2dd1-4451-9a9b-0f6fc1e5d532" - }, - "5170ce54-2dd1-4451-9a9b-0f6fc1e5d532": { - "dragItem": { - "type": "container", - "id": "5170ce54-2dd1-4451-9a9b-0f6fc1e5d532", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [ - "067d6917-9359-470d-aafa-a3f672ccb4d7" - ], - "parent": "b4e52163-9122-45d3-be55-60ec18de4bb8" - }, - "e225e587-055f-4a9f-91f7-0a5bbece3875": { - "dragItem": { - "type": "widget", - "id": "e225e587-055f-4a9f-91f7-0a5bbece3875", - "nodeId": "635d2566-dad4-49c0-b232-ad8ad1aec4ed", - "attrs": { - "title": "Width", - "hidden": false, - "disabled": true, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "3913c74b-8279-4953-92c8-f187a0a1e976" - }, - "91bad9ac-d606-4b1e-af13-971351ed92cc": { - "dragItem": { - "type": "widget", - "id": "91bad9ac-d606-4b1e-af13-971351ed92cc", - "nodeId": "c4ba75a0-317d-43d4-b15e-bee231fd14a6", - "attrs": { - "title": "Height", - "hidden": false, - "disabled": true, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [], - "parent": "3913c74b-8279-4953-92c8-f187a0a1e976" - }, - "3913c74b-8279-4953-92c8-f187a0a1e976": { - "dragItem": { - "type": "container", - "id": "3913c74b-8279-4953-92c8-f187a0a1e976", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "block", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto", - "showTitle": true - } - }, - "children": [ - "e225e587-055f-4a9f-91f7-0a5bbece3875", - "91bad9ac-d606-4b1e-af13-971351ed92cc" - ], - "parent": "2e926e02-3728-4861-8a2e-5b3f0de8e589" - }, - "6c122f6a-da1c-4038-bbe3-87838186247b": { - "dragItem": { - "type": "widget", - "id": "6c122f6a-da1c-4038-bbe3-87838186247b", - "nodeId": "c71b6f87-c4f8-4219-a924-3e7d59296f50", - "attrs": { - "title": "\ud83d\uddd9", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 1, - "height": "auto" - } - }, - "children": [], - "parent": "e6fca681-7f9b-4836-a62d-d16eefe55ce3" - }, - "afda8665-ffa2-4a5a-b1d6-f00eec7c3c08": { - "dragItem": { - "type": "widget", - "id": "afda8665-ffa2-4a5a-b1d6-f00eec7c3c08", - "nodeId": "a6eb8e45-e9c8-40a8-aaa8-c8e6de894bcf", - "attrs": { - "title": "Preserve Outputs", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [], - "parent": "0aa39d1f-6745-4ae0-8615-141c4fffd872" - }, - "0aa39d1f-6745-4ae0-8615-141c4fffd872": { - "dragItem": { - "type": "container", - "id": "0aa39d1f-6745-4ae0-8615-141c4fffd872", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "block", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [ - "71cd0824-19cf-4317-b347-0379bfffbc9a", - "afda8665-ffa2-4a5a-b1d6-f00eec7c3c08", - "8efba0a3-6481-465f-a305-29a7e4fccb4a" - ], - "parent": "ba3cd1b5-ad47-4526-8079-fcd90020ac98" - }, - "ba3cd1b5-ad47-4526-8079-fcd90020ac98": { - "dragItem": { - "type": "container", - "id": "ba3cd1b5-ad47-4526-8079-fcd90020ac98", - "attrs": { - "title": "Result", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "hidden", - "openOnStartup": true, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [ - "45456f1f-ad02-4947-ac8e-8585f59d0508", - "4e5fd89d-98a3-4fe4-b248-33343dfcf7fe", - "0aa39d1f-6745-4ae0-8615-141c4fffd872" - ], - "parent": "4fe0005d-4566-488a-8af7-90f41a4f4a85" - }, - "37948070-1540-4576-b2c6-dcce3c14b1ea": { - "dragItem": { - "type": "widget", - "id": "37948070-1540-4576-b2c6-dcce3c14b1ea", - "nodeId": "8996f14d-b177-4604-b91d-e42f02b71edb", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [], - "parent": "19fbdfaa-50d2-4a98-b91b-dc9c1893b6c0" - }, - "2e86cd2c-320d-448f-998b-b4eae62e1d13": { - "dragItem": { - "type": "widget", - "id": "2e86cd2c-320d-448f-998b-b4eae62e1d13", - "nodeId": "25dc4525-8956-41f2-a3de-0d4c34543fc5", - "attrs": { - "title": "VAE", - "hidden": false, - "disabled": false, "direction": "vertical", "classes": "", "style": "", "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" + "tags": [] } }, "children": [], - "parent": "f9b92b02-34ae-4a17-a142-8aa91a6bf915" + "parent": "e557874b-4856-42a3-b783-a210f6d0d1dc" }, - "f536a48e-2544-4778-bb2e-620932a612b1": { - "dragItem": { - "type": "container", - "id": "f536a48e-2544-4778-bb2e-620932a612b1", - "attrs": { - "title": "Models", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "block", - "openOnStartup": true, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [ - "f9b92b02-34ae-4a17-a142-8aa91a6bf915", - "d45e0380-9c17-4bc4-b792-23f5a56ec87f" - ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" - }, - "d45e0380-9c17-4bc4-b792-23f5a56ec87f": { + "18871f76-9d1f-4f40-92d8-23bca3501d1d": { "dragItem": { "type": "widget", - "id": "d45e0380-9c17-4bc4-b792-23f5a56ec87f", - "nodeId": "1ab803a3-c4eb-4264-ad92-81406473c1e6", + "id": "18871f76-9d1f-4f40-92d8-23bca3501d1d", + "nodeId": "b9759212-cb72-4c03-b14b-5de6c0670a85", "attrs": { "title": "Use Internal VAE", "hidden": false, @@ -21755,26 +23194,23 @@ "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" + "tags": [] } }, "children": [], - "parent": "f536a48e-2544-4778-bb2e-620932a612b1" + "parent": "3ef335f4-9cbc-4914-846f-b71104da1ef1" }, - "e10fad41-efcf-49d8-85f0-a7e3e43c2c15": { + "cacc852b-7e8d-4b34-98d1-7e04c2e428df": { "dragItem": { "type": "widget", - "id": "e10fad41-efcf-49d8-85f0-a7e3e43c2c15", - "nodeId": "fe367602-079d-41fb-a2c4-ee2b3f596362", + "id": "cacc852b-7e8d-4b34-98d1-7e04c2e428df", + "nodeId": "aae3b454-d5ef-49f4-ab65-d4ae360010b1", "attrs": { "title": "Upscale Method", "hidden": false, @@ -21782,26 +23218,71 @@ "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" + "tags": [] } }, "children": [], - "parent": "1dc2b67f-3620-439c-ab6e-2117733f7bd9" + "parent": "2a2c4fd9-32a9-4402-ae04-5c65d2fc6042" }, - "0593aadf-ef5c-46d9-8e53-801b4fbcd1a7": { + "be36d2f5-a1c4-4f17-ae42-4bdfcef37ed4": { "dragItem": { "type": "widget", - "id": "0593aadf-ef5c-46d9-8e53-801b4fbcd1a7", - "nodeId": "5a20a836-5022-4dcb-8cc9-5620d95e3c40", + "id": "be36d2f5-a1c4-4f17-ae42-4bdfcef37ed4", + "nodeId": "d8ea1bf0-1148-4d78-a797-7d57bf36786a", + "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": "b6c702b4-5926-4c43-a8eb-4187079d7ba5" + }, + "cf8066bb-5c0b-4e27-8bc0-9fcb65ef2edd": { + "dragItem": { + "type": "widget", + "id": "cf8066bb-5c0b-4e27-8bc0-9fcb65ef2edd", + "nodeId": "36315f44-7341-45d5-8927-4fbe39a7b3cc", + "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": "b6c702b4-5926-4c43-a8eb-4187079d7ba5" + }, + "aec088b7-b1e9-4619-8ebe-6bae7ba32111": { + "dragItem": { + "type": "widget", + "id": "aec088b7-b1e9-4619-8ebe-6bae7ba32111", + "nodeId": "099185ef-d84a-4f4d-8467-eeb5a9c36cc2", "attrs": { "title": "Crop", "hidden": false, @@ -21809,25 +23290,102 @@ "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "2a2c4fd9-32a9-4402-ae04-5c65d2fc6042" + }, + "7351b30f-72b8-42b9-82a7-80a3350337a6": { + "dragItem": { + "type": "container", + "id": "7351b30f-72b8-42b9-82a7-80a3350337a6", + "attrs": { + "title": "Latent Image", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "accordion", + "containerVariant": "block", + "openOnStartup": true, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "92f44bc0-f4a7-4c5c-8a2a-f9406ab4d4e2", + "61eccb00-9ab8-4bab-bfa2-dd6cf1ed4629", + "b6c702b4-5926-4c43-a8eb-4187079d7ba5", + "efac2e0f-401c-4eb6-b8f2-c47c8edf6d18", + "b490914f-c697-42a4-a569-9d08212aaf06", + "bdaf54c5-8808-47c6-8875-7277a5711369" + ], + "parent": "f203b596-b87c-493c-b2c1-57f646fdafc7" + }, + "0d5ae12f-6024-45ea-ad3e-53b48bd9c66b": { + "dragItem": { + "type": "container", + "id": "0d5ae12f-6024-45ea-ad3e-53b48bd9c66b", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", "variant": "gallery", "containerVariant": "block", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" + "tags": [] + } + }, + "children": [ + "e665ac4e-9f0a-4001-92ee-52ffabfb5939", + "128ab0d0-735e-4b6e-aaee-7528a31f3590" + ], + "parent": "3ef335f4-9cbc-4914-846f-b71104da1ef1" + }, + "0d741a3b-64a6-4ccc-83dd-6f317b520897": { + "dragItem": { + "type": "widget", + "id": "0d741a3b-64a6-4ccc-83dd-6f317b520897", + "nodeId": "d36165ef-188c-4a4c-9bb1-971ce04cec6f", + "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": "1dc2b67f-3620-439c-ab6e-2117733f7bd9" + "parent": "b6c702b4-5926-4c43-a8eb-4187079d7ba5" }, - "1dc2b67f-3620-439c-ab6e-2117733f7bd9": { + "b6c702b4-5926-4c43-a8eb-4187079d7ba5": { "dragItem": { "type": "container", - "id": "1dc2b67f-3620-439c-ab6e-2117733f7bd9", + "id": "b6c702b4-5926-4c43-a8eb-4187079d7ba5", "attrs": { "title": "", "hidden": true, @@ -21835,30 +23393,260 @@ "direction": "horizontal", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [ + "img2img" + ] + } + }, + "children": [ + "be36d2f5-a1c4-4f17-ae42-4bdfcef37ed4", + "0d741a3b-64a6-4ccc-83dd-6f317b520897", + "cf8066bb-5c0b-4e27-8bc0-9fcb65ef2edd", + "743b6c18-ccdf-491e-bd86-99adfd404d20" + ], + "parent": "7351b30f-72b8-42b9-82a7-80a3350337a6" + }, + "2a2c4fd9-32a9-4402-ae04-5c65d2fc6042": { + "dragItem": { + "type": "container", + "id": "2a2c4fd9-32a9-4402-ae04-5c65d2fc6042", + "attrs": { + "title": "", + "hidden": true, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [ + "img2img" + ] + } + }, + "children": [ + "cacc852b-7e8d-4b34-98d1-7e04c2e428df", + "aec088b7-b1e9-4619-8ebe-6bae7ba32111" + ], + "parent": "bdaf54c5-8808-47c6-8875-7277a5711369" + }, + "ec37646a-f7d5-43f9-9664-9018c034d642": { + "dragItem": { + "type": "container", + "id": "ec37646a-f7d5-43f9-9664-9018c034d642", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "e0675206-b51b-42b4-bd2b-4a8bdc80a7d4", + "669377f7-46ce-4856-b6ab-b8a814c26727" + ], + "parent": "b0a78c4f-3cd7-470a-a0aa-2c6e6bfe4f86" + }, + "022c5e6d-e61a-4de9-b814-5b76c53d001a": { + "dragItem": { + "type": "widget", + "id": "022c5e6d-e61a-4de9-b814-5b76c53d001a", + "nodeId": "c0795591-7179-4de0-a104-0750d41c636b", + "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": "61eccb00-9ab8-4bab-bfa2-dd6cf1ed4629" + }, + "97b4c210-db2c-41e3-885a-04d579e15dbc": { + "dragItem": { + "type": "widget", + "id": "97b4c210-db2c-41e3-885a-04d579e15dbc", + "nodeId": "5d0afab9-6cea-46c2-8f2c-e75a2d48f786", + "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": "61eccb00-9ab8-4bab-bfa2-dd6cf1ed4629" + }, + "580c39d7-c26b-4fd1-9a43-57038e2c1923": { + "dragItem": { + "type": "widget", + "id": "580c39d7-c26b-4fd1-9a43-57038e2c1923", + "nodeId": "9b6252b2-8b18-42bb-87f5-c8427a3a9121", + "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": "61eccb00-9ab8-4bab-bfa2-dd6cf1ed4629" + }, + "61eccb00-9ab8-4bab-bfa2-dd6cf1ed4629": { + "dragItem": { + "type": "container", + "id": "61eccb00-9ab8-4bab-bfa2-dd6cf1ed4629", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", "tags": [ - "i2i" - ], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" + "txt2img" + ] } }, "children": [ - "0593aadf-ef5c-46d9-8e53-801b4fbcd1a7", - "e10fad41-efcf-49d8-85f0-a7e3e43c2c15" + "97b4c210-db2c-41e3-885a-04d579e15dbc", + "022c5e6d-e61a-4de9-b814-5b76c53d001a", + "580c39d7-c26b-4fd1-9a43-57038e2c1923" ], - "parent": "57fe08ba-389d-481e-a883-0c065e81a283" + "parent": "7351b30f-72b8-42b9-82a7-80a3350337a6" }, - "57fe08ba-389d-481e-a883-0c065e81a283": { + "dab05861-aea7-4353-b08b-3f68bbb95864": { "dragItem": { "type": "container", - "id": "57fe08ba-389d-481e-a883-0c065e81a283", + "id": "dab05861-aea7-4353-b08b-3f68bbb95864", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "e031c160-f733-4e62-a3b9-3c12b4c127b6", + "87709254-d08e-479d-9738-234c1099a342" + ], + "parent": "b0a78c4f-3cd7-470a-a0aa-2c6e6bfe4f86" + }, + "b490914f-c697-42a4-a569-9d08212aaf06": { + "dragItem": { + "type": "container", + "id": "b490914f-c697-42a4-a569-9d08212aaf06", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "a669f342-3023-4198-9231-332ca06a2c99", + "70c619f1-e65f-447b-98d7-edd999fed5ae" + ], + "parent": "7351b30f-72b8-42b9-82a7-80a3350337a6" + }, + "c41037d0-201f-4ed5-90ab-0b66ad902d12": { + "dragItem": { + "type": "widget", + "id": "c41037d0-201f-4ed5-90ab-0b66ad902d12", + "nodeId": "5d3fc9ab-a7b8-45b5-a824-d70f98c97a96", + "attrs": { + "title": "UI.ImageUpload", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "bdaf54c5-8808-47c6-8875-7277a5711369" + }, + "bdaf54c5-8808-47c6-8875-7277a5711369": { + "dragItem": { + "type": "container", + "id": "bdaf54c5-8808-47c6-8875-7277a5711369", "attrs": { "title": "img2img", "hidden": true, @@ -21866,328 +23654,52 @@ "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "accordion", "containerVariant": "block", "openOnStartup": true, "buttonVariant": "primary", "buttonSize": "large", "tags": [ - "i2i" - ], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" + "img2img" + ] } }, "children": [ - "355e76cc-2e46-49e1-bf22-a414fb5bb9ef", - "9ddf553b-7d88-4d89-949b-3fec78506dc1", - "1dc2b67f-3620-439c-ab6e-2117733f7bd9" + "c41037d0-201f-4ed5-90ab-0b66ad902d12", + "2a2c4fd9-32a9-4402-ae04-5c65d2fc6042" ], - "parent": "bc774396-904b-4db3-a5f2-d353886304e6" + "parent": "7351b30f-72b8-42b9-82a7-80a3350337a6" }, - "465db817-02cf-4102-8c05-300169cf7437": { + "3bf12d82-c99a-4e49-86bf-1a3b37c5a78a": { "dragItem": { - "type": "container", - "id": "465db817-02cf-4102-8c05-300169cf7437", + "type": "widget", + "id": "3bf12d82-c99a-4e49-86bf-1a3b37c5a78a", + "nodeId": "a7b48551-2311-4830-8181-110f5b9035e5", "attrs": { "title": "", "hidden": false, "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [ - "ed35a0b5-9fee-4842-bb25-c66cfdefe156", - "6f4b396d-b3e5-45a7-8ccd-3edecb0351b6" - ], - "parent": "bc774396-904b-4db3-a5f2-d353886304e6" - }, - "6f4b396d-b3e5-45a7-8ccd-3edecb0351b6": { - "dragItem": { - "type": "widget", - "id": "6f4b396d-b3e5-45a7-8ccd-3edecb0351b6", - "nodeId": "cddf8874-747f-4e1f-9cbd-4398389ede89", - "attrs": { - "title": "Denoise", - "hidden": false, - "disabled": false, "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "hidden", + "nodeDisabledState": "visible", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" + "tags": [] } }, "children": [], - "parent": "465db817-02cf-4102-8c05-300169cf7437" + "parent": "92f44bc0-f4a7-4c5c-8a2a-f9406ab4d4e2" }, - "f9b92b02-34ae-4a17-a142-8aa91a6bf915": { - "dragItem": { - "type": "container", - "id": "f9b92b02-34ae-4a17-a142-8aa91a6bf915", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "", - "flexGrow": 100, - "height": "auto" - } - }, - "children": [ - "c803e216-3492-453e-a4e1-1d6f27f16b00", - "2e86cd2c-320d-448f-998b-b4eae62e1d13" - ], - "parent": "f536a48e-2544-4778-bb2e-620932a612b1" - }, - "4888175f-d44e-4f02-9f28-95040962ca43": { + "3424644f-20f6-4beb-9c93-f718ee74d543": { "dragItem": { "type": "widget", - "id": "4888175f-d44e-4f02-9f28-95040962ca43", - "nodeId": "91789924-bd62-40bd-ba13-b4a494211b13", - "attrs": { - "title": "Height", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "61cda320-726c-4181-8f65-1c112a2fe4db" - }, - "531690df-f953-4f88-be85-a9a53adc5644": { - "dragItem": { - "type": "widget", - "id": "531690df-f953-4f88-be85-a9a53adc5644", - "nodeId": "878f671b-b24e-49dd-b024-85326d74c46b", - "attrs": { - "title": "Width", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "61cda320-726c-4181-8f65-1c112a2fe4db" - }, - "b4c6602b-8748-41be-827b-123c9d4e287e": { - "dragItem": { - "type": "widget", - "id": "b4c6602b-8748-41be-827b-123c9d4e287e", - "nodeId": "e1b6fdfc-08ff-4d62-93fe-010a81f53344", - "attrs": { - "title": "\u2b80", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "61cda320-726c-4181-8f65-1c112a2fe4db" - }, - "61cda320-726c-4181-8f65-1c112a2fe4db": { - "dragItem": { - "type": "container", - "id": "61cda320-726c-4181-8f65-1c112a2fe4db", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "i2i" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "531690df-f953-4f88-be85-a9a53adc5644", - "b4c6602b-8748-41be-827b-123c9d4e287e", - "4888175f-d44e-4f02-9f28-95040962ca43", - "b1c5e233-0b0d-440e-9e68-8d59b34330de" - ], - "parent": "bc774396-904b-4db3-a5f2-d353886304e6" - }, - "b1c5e233-0b0d-440e-9e68-8d59b34330de": { - "dragItem": { - "type": "widget", - "id": "b1c5e233-0b0d-440e-9e68-8d59b34330de", - "nodeId": "62b5f0bf-3f71-4506-90ac-b0e2e101e207", - "attrs": { - "title": "Scale By", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "61cda320-726c-4181-8f65-1c112a2fe4db" - }, - "295a28a2-3eff-4b40-9f0e-7ecc73f2b799": { - "dragItem": { - "type": "widget", - "id": "295a28a2-3eff-4b40-9f0e-7ecc73f2b799", - "nodeId": "e45ae255-7ad0-4638-ac86-c879f89790ea", - "attrs": { - "title": "Height", - "hidden": false, - "disabled": true, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "82516e5b-6bbf-4883-9562-f46e66cb8953" - }, - "a370a856-38fd-4539-bab7-662caedf1909": { - "dragItem": { - "type": "widget", - "id": "a370a856-38fd-4539-bab7-662caedf1909", - "nodeId": "0c416f37-4dc1-4dc2-8df2-a21d121863e5", - "attrs": { - "title": "Width", - "hidden": false, - "disabled": true, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "82516e5b-6bbf-4883-9562-f46e66cb8953" - }, - "82516e5b-6bbf-4883-9562-f46e66cb8953": { - "dragItem": { - "type": "container", - "id": "82516e5b-6bbf-4883-9562-f46e66cb8953", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "i2i", - "i2iScaleSize" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "a370a856-38fd-4539-bab7-662caedf1909", - "295a28a2-3eff-4b40-9f0e-7ecc73f2b799" - ], - "parent": "bc774396-904b-4db3-a5f2-d353886304e6" - }, - "88f46eb2-6452-4109-9d8f-7e11b630a073": { - "dragItem": { - "type": "widget", - "id": "88f46eb2-6452-4109-9d8f-7e11b630a073", - "nodeId": "bf90c19d-1ebd-44aa-9b1a-5e7302abe9fb", + "id": "3424644f-20f6-4beb-9c93-f718ee74d543", + "nodeId": "c6a16ab9-6816-4262-8b8c-8a4d3285d190", "attrs": { "title": "Scale Image Size", "hidden": false, @@ -22197,21 +23709,20 @@ "style": "", "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" + "tags": [] } }, "children": [], - "parent": "19fbdfaa-50d2-4a98-b91b-dc9c1893b6c0" + "parent": "92f44bc0-f4a7-4c5c-8a2a-f9406ab4d4e2" }, - "19fbdfaa-50d2-4a98-b91b-dc9c1893b6c0": { + "92f44bc0-f4a7-4c5c-8a2a-f9406ab4d4e2": { "dragItem": { "type": "container", - "id": "19fbdfaa-50d2-4a98-b91b-dc9c1893b6c0", + "id": "92f44bc0-f4a7-4c5c-8a2a-f9406ab4d4e2", "attrs": { "title": "", "hidden": false, @@ -22219,26 +23730,930 @@ "direction": "horizontal", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "3bf12d82-c99a-4e49-86bf-1a3b37c5a78a", + "3424644f-20f6-4beb-9c93-f718ee74d543" + ], + "parent": "7351b30f-72b8-42b9-82a7-80a3350337a6" + }, + "743b6c18-ccdf-491e-bd86-99adfd404d20": { + "dragItem": { + "type": "widget", + "id": "743b6c18-ccdf-491e-bd86-99adfd404d20", + "nodeId": "4f97b299-282f-4198-bb70-42ce83ce71c2", + "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": [], - "convertValueToLabelCode": "" + "tags": [] + } + }, + "children": [], + "parent": "b6c702b4-5926-4c43-a8eb-4187079d7ba5" + }, + "0e98417d-007b-4b68-a809-5c26287c33af": { + "dragItem": { + "type": "widget", + "id": "0e98417d-007b-4b68-a809-5c26287c33af", + "nodeId": "53c0e65d-3f57-481b-b163-cc5aa48f1a85", + "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": "efac2e0f-401c-4eb6-b8f2-c47c8edf6d18" + }, + "f11dbca0-5e26-42f4-b5b9-21bd6312db3f": { + "dragItem": { + "type": "widget", + "id": "f11dbca0-5e26-42f4-b5b9-21bd6312db3f", + "nodeId": "b54a1fc0-44e9-461c-b743-62e9f651db12", + "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": "efac2e0f-401c-4eb6-b8f2-c47c8edf6d18" + }, + "efac2e0f-401c-4eb6-b8f2-c47c8edf6d18": { + "dragItem": { + "type": "container", + "id": "efac2e0f-401c-4eb6-b8f2-c47c8edf6d18", + "attrs": { + "title": "", + "hidden": true, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [ + "img2img", + "img2imgScaleSize" + ] } }, "children": [ - "37948070-1540-4576-b2c6-dcce3c14b1ea", - "88f46eb2-6452-4109-9d8f-7e11b630a073" + "0e98417d-007b-4b68-a809-5c26287c33af", + "f11dbca0-5e26-42f4-b5b9-21bd6312db3f" ], - "parent": "bc774396-904b-4db3-a5f2-d353886304e6" + "parent": "7351b30f-72b8-42b9-82a7-80a3350337a6" }, - "ea664a3d-9bbd-489e-ba1c-3f34823fe9ff": { + "4ed77669-8a9a-4523-8977-f3666c3e01ca": { + "dragItem": { + "type": "widget", + "id": "4ed77669-8a9a-4523-8977-f3666c3e01ca", + "nodeId": "b335460b-8c5c-44e8-9063-b85bc72357a0", + "attrs": { + "title": "Seed Action", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "d3a5e1ee-88f2-4dc8-be17-a3edb966522b" + }, + "ab4b8793-7d33-4560-8462-643497d36ce9": { + "dragItem": { + "type": "widget", + "id": "ab4b8793-7d33-4560-8462-643497d36ce9", + "nodeId": "5f099bc5-043a-4658-a6ac-83f01f72eefd", + "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": "776f0832-efbb-45a9-a86f-b71b25ae0f82" + }, + "a1bc8382-1186-4b33-821e-484694e5f961": { + "dragItem": { + "type": "widget", + "id": "a1bc8382-1186-4b33-821e-484694e5f961", + "nodeId": "63a83c93-647f-4882-84f0-606c4d070e43", + "attrs": { + "title": "Preserve Outputs", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "flex-grow: 10; min-width: 0;", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "776f0832-efbb-45a9-a86f-b71b25ae0f82" + }, + "d3a5e1ee-88f2-4dc8-be17-a3edb966522b": { "dragItem": { "type": "container", - "id": "ea664a3d-9bbd-489e-ba1c-3f34823fe9ff", + "id": "d3a5e1ee-88f2-4dc8-be17-a3edb966522b", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "d698a64e-0206-4692-807e-1ffcbf68e066", + "4ed77669-8a9a-4523-8977-f3666c3e01ca" + ], + "parent": "b0a78c4f-3cd7-470a-a0aa-2c6e6bfe4f86" + }, + "e557874b-4856-42a3-b783-a210f6d0d1dc": { + "dragItem": { + "type": "container", + "id": "e557874b-4856-42a3-b783-a210f6d0d1dc", + "attrs": { + "title": "Output", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "accordion", + "containerVariant": "block", + "openOnStartup": true, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "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": [ + "8bfe372f-b7b1-40ca-96f2-5859f4b13ac2", + "96bca5ce-1e3d-4e96-9b97-ecaea0666af2" + ], + "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" + }, + "17591b1d-a654-476d-954c-b74746cd7cfd": { + "dragItem": { + "type": "widget", + "id": "17591b1d-a654-476d-954c-b74746cd7cfd", + "nodeId": "5c1b52bc-95b7-4a0e-8768-540531195cb8", + "attrs": { + "title": "Model", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "75cc826a-c769-4ae6-a51e-3e187b8bfe7c" + }, + "6202aa57-f42d-4536-9c6b-84d79d5e1642": { + "dragItem": { + "type": "widget", + "id": "6202aa57-f42d-4536-9c6b-84d79d5e1642", + "nodeId": "a082cbd4-577c-4450-8a5c-58ee227faca0", + "attrs": { + "title": "UNet", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "fff5da1b-35aa-49a5-9eb0-9901c22e491d" + }, + "b3e9936e-4fb6-4d0c-a7a2-32f9214165e0": { + "dragItem": { + "type": "widget", + "id": "b3e9936e-4fb6-4d0c-a7a2-32f9214165e0", + "nodeId": "33599c67-a132-47bf-8401-ead87bd64a5f", + "attrs": { + "title": "TEnc", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "fff5da1b-35aa-49a5-9eb0-9901c22e491d" + }, + "54b4be3e-5c13-4e13-af38-a267fa0098ff": { + "dragItem": { + "type": "container", + "id": "54b4be3e-5c13-4e13-af38-a267fa0098ff", + "attrs": { + "title": "LoRA Loader", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "accordion", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "55f46ff7-a089-42a6-9c0b-c39d35401186", + "796eab49-e39f-4da7-93bb-d023d5162def", + "abe8e63b-0ca1-40e6-ba21-cfc9227cf0cf", + "22bf2779-b328-47f6-8721-ab6c280cf2f7", + "d59e94f5-39ad-4efa-b152-98ea230058c7", + "836a8ff3-a590-4133-a236-a53fd580f534" + ], + "parent": "f203b596-b87c-493c-b2c1-57f646fdafc7" + }, + "a942bccc-ae00-4ebd-907e-5e64a65b396b": { + "dragItem": { + "type": "widget", + "id": "a942bccc-ae00-4ebd-907e-5e64a65b396b", + "nodeId": "004e21c9-fb0c-45d7-b10a-d077faf786d0", + "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": "fff5da1b-35aa-49a5-9eb0-9901c22e491d" + }, + "fff5da1b-35aa-49a5-9eb0-9901c22e491d": { + "dragItem": { + "type": "container", + "id": "fff5da1b-35aa-49a5-9eb0-9901c22e491d", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "6202aa57-f42d-4536-9c6b-84d79d5e1642", + "b3e9936e-4fb6-4d0c-a7a2-32f9214165e0", + "a942bccc-ae00-4ebd-907e-5e64a65b396b" + ], + "parent": "796eab49-e39f-4da7-93bb-d023d5162def" + }, + "796eab49-e39f-4da7-93bb-d023d5162def": { + "dragItem": { + "type": "container", + "id": "796eab49-e39f-4da7-93bb-d023d5162def", "attrs": { "title": "LoRA 1", "hidden": true, @@ -22246,29 +24661,807 @@ "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "hidden", + "containerVariant": "block", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", "tags": [ "lora" - ], - "convertValueToLabelCode": "" + ] } }, "children": [ - "3adccb81-e232-47ef-b6ee-7898edc2c97b", - "e6fca681-7f9b-4836-a62d-d16eefe55ce3" + "75cc826a-c769-4ae6-a51e-3e187b8bfe7c", + "fff5da1b-35aa-49a5-9eb0-9901c22e491d" ], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" + "parent": "54b4be3e-5c13-4e13-af38-a267fa0098ff" }, - "66a5f360-22cd-487c-ad42-fe3c220888f7": { + "75cc826a-c769-4ae6-a51e-3e187b8bfe7c": { + "dragItem": { + "type": "container", + "id": "75cc826a-c769-4ae6-a51e-3e187b8bfe7c", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "17591b1d-a654-476d-954c-b74746cd7cfd" + ], + "parent": "796eab49-e39f-4da7-93bb-d023d5162def" + }, + "e3cb44d9-1ca4-47cd-9f05-6823c93248cc": { "dragItem": { "type": "widget", - "id": "66a5f360-22cd-487c-ad42-fe3c220888f7", - "nodeId": "b5dbaae9-443b-4221-81bf-cc4efe6a4ac7", + "id": "e3cb44d9-1ca4-47cd-9f05-6823c93248cc", + "nodeId": "17a50de4-87c3-4467-9373-d5333e398883", + "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": "e5995365-2529-4b90-9e3b-80150e5be70c" + }, + "c6f6c604-4739-4e10-8d6f-6f240e63bdcc": { + "dragItem": { + "type": "widget", + "id": "c6f6c604-4739-4e10-8d6f-6f240e63bdcc", + "nodeId": "a63e6905-d3f2-4537-9251-c3a6f8030024", + "attrs": { + "title": "Model", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "1839179a-afc5-4a37-a99e-b56580cc91f9" + }, + "736b81ec-01e1-4552-9110-a5b586224fba": { + "dragItem": { + "type": "widget", + "id": "736b81ec-01e1-4552-9110-a5b586224fba", + "nodeId": "7dee43c0-80ab-4a9e-af35-df873b2e8aaf", + "attrs": { + "title": "TEnc", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "e5995365-2529-4b90-9e3b-80150e5be70c" + }, + "1404cd8a-e3a4-4004-a750-6e811003db91": { + "dragItem": { + "type": "widget", + "id": "1404cd8a-e3a4-4004-a750-6e811003db91", + "nodeId": "15b8a5de-b8a9-45c5-947b-bc23a9195bc0", + "attrs": { + "title": "UNet", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "e5995365-2529-4b90-9e3b-80150e5be70c" + }, + "ac6e8f43-cc1f-4e93-a545-c8d002f1f16f": { + "dragItem": { + "type": "widget", + "id": "ac6e8f43-cc1f-4e93-a545-c8d002f1f16f", + "nodeId": "85e8113c-250b-4ad9-b58a-9c300225b884", + "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": "52dcdfbb-c04e-4256-bd20-8cf482314d4a" + }, + "73c32e42-8de9-42df-b063-2e22cd0ae496": { + "dragItem": { + "type": "widget", + "id": "73c32e42-8de9-42df-b063-2e22cd0ae496", + "nodeId": "4548d4ba-0a7c-45c7-bc78-83f5c7ce7fcc", + "attrs": { + "title": "Model", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "c39d4d24-ef7e-4c35-aa08-4277a55b74ff" + }, + "1b9851a6-d05d-40fc-9288-aeb94def5b9b": { + "dragItem": { + "type": "widget", + "id": "1b9851a6-d05d-40fc-9288-aeb94def5b9b", + "nodeId": "9b07803e-52a6-450b-b8a0-0010dcf6496b", + "attrs": { + "title": "TEnc", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "52dcdfbb-c04e-4256-bd20-8cf482314d4a" + }, + "0c79fd2c-dc69-43b1-a6dd-f38c72ac5532": { + "dragItem": { + "type": "widget", + "id": "0c79fd2c-dc69-43b1-a6dd-f38c72ac5532", + "nodeId": "10200022-d68e-42fc-8f35-e2f8ca0bb614", + "attrs": { + "title": "UNet", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "52dcdfbb-c04e-4256-bd20-8cf482314d4a" + }, + "20517be4-2798-471b-84ec-7b65855da498": { + "dragItem": { + "type": "widget", + "id": "20517be4-2798-471b-84ec-7b65855da498", + "nodeId": "e2dee436-3ea0-4755-b039-5ffca9884181", + "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": "d4940387-2dae-484c-9691-cf2cf5ae3a91" + }, + "551b03d5-bdd9-4c36-af4c-d02b4a89b800": { + "dragItem": { + "type": "widget", + "id": "551b03d5-bdd9-4c36-af4c-d02b4a89b800", + "nodeId": "9e148e69-4b2d-4636-a9bd-90c0cd9b6495", + "attrs": { + "title": "Model", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "598648f1-d960-4d0b-864e-89ee2cd8c1be" + }, + "a498db7c-5e72-47d7-ab29-e8009c72ee54": { + "dragItem": { + "type": "widget", + "id": "a498db7c-5e72-47d7-ab29-e8009c72ee54", + "nodeId": "9d7b16f3-357e-45b5-bff3-f4d5188d3d07", + "attrs": { + "title": "TEnc", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "d4940387-2dae-484c-9691-cf2cf5ae3a91" + }, + "948e1698-49fe-4237-aa00-36ade64158b0": { + "dragItem": { + "type": "widget", + "id": "948e1698-49fe-4237-aa00-36ade64158b0", + "nodeId": "1a9157c7-ef67-435a-b6b3-8849f1197a96", + "attrs": { + "title": "UNet", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "d4940387-2dae-484c-9691-cf2cf5ae3a91" + }, + "0e530b04-889b-4c8e-977e-be37074fea9b": { + "dragItem": { + "type": "widget", + "id": "0e530b04-889b-4c8e-977e-be37074fea9b", + "nodeId": "7c62e438-5ffa-4d31-b482-5c1ac9222ca7", + "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": "ad3be005-b29a-4740-9407-917ec1e7def9" + }, + "90f89ebe-dda8-4253-9aa1-108c4fadc1cc": { + "dragItem": { + "type": "widget", + "id": "90f89ebe-dda8-4253-9aa1-108c4fadc1cc", + "nodeId": "1e0594ba-4264-4fa5-a1cb-2c48bc9f572f", + "attrs": { + "title": "Model", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "35991782-2f4f-4e69-ba57-9aa22fcec03a" + }, + "00957ea8-ecc6-489a-b573-8aa38da562c8": { + "dragItem": { + "type": "widget", + "id": "00957ea8-ecc6-489a-b573-8aa38da562c8", + "nodeId": "2bf6bc8d-3caf-4233-94d5-e7d2dc0b043c", + "attrs": { + "title": "TEnc", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "ad3be005-b29a-4740-9407-917ec1e7def9" + }, + "dabb1ca4-cf81-408e-a813-d3b5af906127": { + "dragItem": { + "type": "widget", + "id": "dabb1ca4-cf81-408e-a813-d3b5af906127", + "nodeId": "b84ad46f-1562-48c0-87d3-322a1e90d035", + "attrs": { + "title": "UNet", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "ad3be005-b29a-4740-9407-917ec1e7def9" + }, + "10326ea0-1888-45e9-9df6-78f0b33b68be": { + "dragItem": { + "type": "widget", + "id": "10326ea0-1888-45e9-9df6-78f0b33b68be", + "nodeId": "2e2e6b6f-0437-4cac-b5e0-b2de5e6dac00", + "attrs": { + "title": "Enable", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "55f46ff7-a089-42a6-9c0b-c39d35401186" + }, + "e5995365-2529-4b90-9e3b-80150e5be70c": { + "dragItem": { + "type": "container", + "id": "e5995365-2529-4b90-9e3b-80150e5be70c", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "1404cd8a-e3a4-4004-a750-6e811003db91", + "736b81ec-01e1-4552-9110-a5b586224fba", + "e3cb44d9-1ca4-47cd-9f05-6823c93248cc" + ], + "parent": "abe8e63b-0ca1-40e6-ba21-cfc9227cf0cf" + }, + "52dcdfbb-c04e-4256-bd20-8cf482314d4a": { + "dragItem": { + "type": "container", + "id": "52dcdfbb-c04e-4256-bd20-8cf482314d4a", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "0c79fd2c-dc69-43b1-a6dd-f38c72ac5532", + "1b9851a6-d05d-40fc-9288-aeb94def5b9b", + "ac6e8f43-cc1f-4e93-a545-c8d002f1f16f" + ], + "parent": "22bf2779-b328-47f6-8721-ab6c280cf2f7" + }, + "d4940387-2dae-484c-9691-cf2cf5ae3a91": { + "dragItem": { + "type": "container", + "id": "d4940387-2dae-484c-9691-cf2cf5ae3a91", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "948e1698-49fe-4237-aa00-36ade64158b0", + "a498db7c-5e72-47d7-ab29-e8009c72ee54", + "20517be4-2798-471b-84ec-7b65855da498" + ], + "parent": "d59e94f5-39ad-4efa-b152-98ea230058c7" + }, + "ad3be005-b29a-4740-9407-917ec1e7def9": { + "dragItem": { + "type": "container", + "id": "ad3be005-b29a-4740-9407-917ec1e7def9", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "dabb1ca4-cf81-408e-a813-d3b5af906127", + "00957ea8-ecc6-489a-b573-8aa38da562c8", + "0e530b04-889b-4c8e-977e-be37074fea9b" + ], + "parent": "836a8ff3-a590-4133-a236-a53fd580f534" + }, + "1839179a-afc5-4a37-a99e-b56580cc91f9": { + "dragItem": { + "type": "container", + "id": "1839179a-afc5-4a37-a99e-b56580cc91f9", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "c6f6c604-4739-4e10-8d6f-6f240e63bdcc" + ], + "parent": "abe8e63b-0ca1-40e6-ba21-cfc9227cf0cf" + }, + "c39d4d24-ef7e-4c35-aa08-4277a55b74ff": { + "dragItem": { + "type": "container", + "id": "c39d4d24-ef7e-4c35-aa08-4277a55b74ff", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "73c32e42-8de9-42df-b063-2e22cd0ae496" + ], + "parent": "22bf2779-b328-47f6-8721-ab6c280cf2f7" + }, + "598648f1-d960-4d0b-864e-89ee2cd8c1be": { + "dragItem": { + "type": "container", + "id": "598648f1-d960-4d0b-864e-89ee2cd8c1be", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "551b03d5-bdd9-4c36-af4c-d02b4a89b800" + ], + "parent": "d59e94f5-39ad-4efa-b152-98ea230058c7" + }, + "35991782-2f4f-4e69-ba57-9aa22fcec03a": { + "dragItem": { + "type": "container", + "id": "35991782-2f4f-4e69-ba57-9aa22fcec03a", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "90f89ebe-dda8-4253-9aa1-108c4fadc1cc" + ], + "parent": "836a8ff3-a590-4133-a236-a53fd580f534" + }, + "abe8e63b-0ca1-40e6-ba21-cfc9227cf0cf": { + "dragItem": { + "type": "container", + "id": "abe8e63b-0ca1-40e6-ba21-cfc9227cf0cf", + "attrs": { + "title": "LoRA 2", + "hidden": true, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [ + "lora" + ] + } + }, + "children": [ + "1839179a-afc5-4a37-a99e-b56580cc91f9", + "e5995365-2529-4b90-9e3b-80150e5be70c" + ], + "parent": "54b4be3e-5c13-4e13-af38-a267fa0098ff" + }, + "22bf2779-b328-47f6-8721-ab6c280cf2f7": { + "dragItem": { + "type": "container", + "id": "22bf2779-b328-47f6-8721-ab6c280cf2f7", + "attrs": { + "title": "LoRA 3", + "hidden": true, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [ + "lora" + ] + } + }, + "children": [ + "c39d4d24-ef7e-4c35-aa08-4277a55b74ff", + "52dcdfbb-c04e-4256-bd20-8cf482314d4a" + ], + "parent": "54b4be3e-5c13-4e13-af38-a267fa0098ff" + }, + "d59e94f5-39ad-4efa-b152-98ea230058c7": { + "dragItem": { + "type": "container", + "id": "d59e94f5-39ad-4efa-b152-98ea230058c7", + "attrs": { + "title": "LoRA 4", + "hidden": true, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [ + "lora" + ] + } + }, + "children": [ + "598648f1-d960-4d0b-864e-89ee2cd8c1be", + "d4940387-2dae-484c-9691-cf2cf5ae3a91" + ], + "parent": "54b4be3e-5c13-4e13-af38-a267fa0098ff" + }, + "836a8ff3-a590-4133-a236-a53fd580f534": { + "dragItem": { + "type": "container", + "id": "836a8ff3-a590-4133-a236-a53fd580f534", + "attrs": { + "title": "LoRA 5", + "hidden": true, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [ + "lora" + ] + } + }, + "children": [ + "35991782-2f4f-4e69-ba57-9aa22fcec03a", + "ad3be005-b29a-4740-9407-917ec1e7def9" + ], + "parent": "54b4be3e-5c13-4e13-af38-a267fa0098ff" + }, + "55f46ff7-a089-42a6-9c0b-c39d35401186": { + "dragItem": { + "type": "container", + "id": "55f46ff7-a089-42a6-9c0b-c39d35401186", + "attrs": { + "title": "", + "hidden": false, + "disabled": false, + "direction": "horizontal", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "block", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [ + "10326ea0-1888-45e9-9df6-78f0b33b68be", + "d94d5897-2ca7-440c-b443-5c55504a6292" + ], + "parent": "54b4be3e-5c13-4e13-af38-a267fa0098ff" + }, + "d94d5897-2ca7-440c-b443-5c55504a6292": { + "dragItem": { + "type": "widget", + "id": "d94d5897-2ca7-440c-b443-5c55504a6292", + "nodeId": "b953c754-2ab7-458f-b67b-bdd0107ca239", "attrs": { "title": "Link Weights", "hidden": false, @@ -22278,24 +25471,23 @@ "style": "", "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" + "tags": [] } }, "children": [], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" + "parent": "55f46ff7-a089-42a6-9c0b-c39d35401186" }, - "594f9024-f05f-43a3-bcd2-946f42613e5a": { + "dffd745a-e2ab-4f9f-99c9-d2c6ae3c85ef": { "dragItem": { "type": "widget", - "id": "594f9024-f05f-43a3-bcd2-946f42613e5a", - "nodeId": "ff1b301a-552a-4b53-abf3-288b0a46d14b", + "id": "dffd745a-e2ab-4f9f-99c9-d2c6ae3c85ef", + "nodeId": "14a8903c-4011-4f35-8e5e-2222eee6cc1e", "attrs": { - "title": "Model", + "title": "ControlNet Model", "hidden": false, "disabled": false, "direction": "vertical", @@ -22303,537 +25495,20 @@ "style": "", "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "c7352574-b50c-4071-abbf-7bc9d37bbbbb" - }, - "5c3402a7-9296-4056-8843-6a0d047bcd5d": { - "dragItem": { - "type": "widget", - "id": "5c3402a7-9296-4056-8843-6a0d047bcd5d", - "nodeId": "37a0caec-96c3-4896-9427-e7e3a49cbf00", - "attrs": { - "title": "UNet", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "9c8a06bd-334c-4430-b3ba-9f3cf8251444" - }, - "c26b3b78-4d9e-46af-894a-96b59c975cbe": { - "dragItem": { - "type": "widget", - "id": "c26b3b78-4d9e-46af-894a-96b59c975cbe", - "nodeId": "af297914-1f5a-4790-8a9b-aadf02b63653", - "attrs": { - "title": "TEnc", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "9c8a06bd-334c-4430-b3ba-9f3cf8251444" - }, - "53cff502-2c99-4c87-8458-be02cbc34b2d": { - "dragItem": { - "type": "widget", - "id": "53cff502-2c99-4c87-8458-be02cbc34b2d", - "nodeId": "7dde8deb-6909-46c7-a27f-8ba91b2d8118", - "attrs": { - "title": "\ud83d\uddd9", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "9c8a06bd-334c-4430-b3ba-9f3cf8251444" - }, - "368a37bd-ec42-447c-9c2a-f140c38c52ae": { - "dragItem": { - "type": "widget", - "id": "368a37bd-ec42-447c-9c2a-f140c38c52ae", - "nodeId": "3585749f-d3e5-46de-aab3-81698f0a626e", - "attrs": { - "title": "Model", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "78c030e1-d7b9-4740-9d7f-0d3bcc95fa9c" - }, - "adf717d3-ff57-4411-b447-d51fac011314": { - "dragItem": { - "type": "widget", - "id": "adf717d3-ff57-4411-b447-d51fac011314", - "nodeId": "eb95dd75-c834-4e7d-b36b-bfb308b3769d", - "attrs": { - "title": "UNet", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "8362b08e-6b30-4a46-9c6c-92671adb4415" - }, - "78b4f3d7-8402-4b9a-b278-ef49414e46cb": { - "dragItem": { - "type": "widget", - "id": "78b4f3d7-8402-4b9a-b278-ef49414e46cb", - "nodeId": "2dced316-62a1-4537-82b9-5a739dfe7987", - "attrs": { - "title": "TEnc", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "8362b08e-6b30-4a46-9c6c-92671adb4415" - }, - "12ab8539-61ed-4c66-8e66-39b09421d4be": { - "dragItem": { - "type": "widget", - "id": "12ab8539-61ed-4c66-8e66-39b09421d4be", - "nodeId": "d12389d4-c7e5-4d38-b6cc-ae0ec3e356de", - "attrs": { - "title": "\ud83d\uddd9", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "8362b08e-6b30-4a46-9c6c-92671adb4415" - }, - "33c98562-5d37-40a1-8b5e-95250f20d96a": { - "dragItem": { - "type": "widget", - "id": "33c98562-5d37-40a1-8b5e-95250f20d96a", - "nodeId": "51bd9371-9711-4cdb-98b7-92ba8d87ab62", - "attrs": { - "title": "Model", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "4a31d6a7-2f19-4cdd-8c1a-7ec5768b3633" - }, - "373154be-983f-409d-a357-263b1e503420": { - "dragItem": { - "type": "widget", - "id": "373154be-983f-409d-a357-263b1e503420", - "nodeId": "7eab2ed7-f071-4fa9-a408-8d748b265d63", - "attrs": { - "title": "UNet", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "1de193ec-2154-49da-b18d-2107b6351e15" - }, - "e64dd0a3-b8e3-4ef5-8806-ad7f53dce903": { - "dragItem": { - "type": "widget", - "id": "e64dd0a3-b8e3-4ef5-8806-ad7f53dce903", - "nodeId": "c2428843-22a3-49de-8d9a-b7e4d2b3da1c", - "attrs": { - "title": "TEnc", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "1de193ec-2154-49da-b18d-2107b6351e15" - }, - "74aa1386-535d-4738-85d6-f9129d26f335": { - "dragItem": { - "type": "widget", - "id": "74aa1386-535d-4738-85d6-f9129d26f335", - "nodeId": "edb15d59-980e-4259-b755-2695f53b372b", - "attrs": { - "title": "\ud83d\uddd9", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "1de193ec-2154-49da-b18d-2107b6351e15" - }, - "1f56e119-2986-4a39-805b-2e530b7e233e": { - "dragItem": { - "type": "widget", - "id": "1f56e119-2986-4a39-805b-2e530b7e233e", - "nodeId": "db17379a-d8c6-419b-8303-91c930a44d81", - "attrs": { - "title": "Model", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "646c1c6f-e6da-4585-ab1d-9cdda5a9a83a" - }, - "c0a424b7-628c-4c76-9821-fb1e44bf9ba2": { - "dragItem": { - "type": "widget", - "id": "c0a424b7-628c-4c76-9821-fb1e44bf9ba2", - "nodeId": "be27330e-65f6-45eb-89ee-ba962be1116e", - "attrs": { - "title": "UNet", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "ef8a38b9-418e-4831-9d91-2406da5bd819" - }, - "741f3514-8d71-40e8-afb1-a228804db835": { - "dragItem": { - "type": "widget", - "id": "741f3514-8d71-40e8-afb1-a228804db835", - "nodeId": "53a81df2-3c68-4e5f-855b-fd95d87b50f2", - "attrs": { - "title": "TEnc", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "ef8a38b9-418e-4831-9d91-2406da5bd819" - }, - "fffb1fe4-9b01-4876-b910-ebe7a7866ae1": { - "dragItem": { - "type": "widget", - "id": "fffb1fe4-9b01-4876-b910-ebe7a7866ae1", - "nodeId": "871dc4f9-229e-49f7-b3bc-5b4f84471237", - "attrs": { - "title": "\ud83d\uddd9", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "ef8a38b9-418e-4831-9d91-2406da5bd819" - }, - "c7352574-b50c-4071-abbf-7bc9d37bbbbb": { - "dragItem": { - "type": "container", - "id": "c7352574-b50c-4071-abbf-7bc9d37bbbbb", - "attrs": { - "title": "LoRA 2", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [ - "lora" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "594f9024-f05f-43a3-bcd2-946f42613e5a", - "9c8a06bd-334c-4430-b3ba-9f3cf8251444" - ], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" - }, - "78c030e1-d7b9-4740-9d7f-0d3bcc95fa9c": { - "dragItem": { - "type": "container", - "id": "78c030e1-d7b9-4740-9d7f-0d3bcc95fa9c", - "attrs": { - "title": "LoRA 3", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "368a37bd-ec42-447c-9c2a-f140c38c52ae", - "8362b08e-6b30-4a46-9c6c-92671adb4415" - ], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" - }, - "4a31d6a7-2f19-4cdd-8c1a-7ec5768b3633": { - "dragItem": { - "type": "container", - "id": "4a31d6a7-2f19-4cdd-8c1a-7ec5768b3633", - "attrs": { - "title": "LoRA 4", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "33c98562-5d37-40a1-8b5e-95250f20d96a", - "1de193ec-2154-49da-b18d-2107b6351e15" - ], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" - }, - "646c1c6f-e6da-4585-ab1d-9cdda5a9a83a": { - "dragItem": { - "type": "container", - "id": "646c1c6f-e6da-4585-ab1d-9cdda5a9a83a", - "attrs": { - "title": "LoRA 5", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "1f56e119-2986-4a39-805b-2e530b7e233e", - "ef8a38b9-418e-4831-9d91-2406da5bd819" - ], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" - }, - "e8a1cb19-e5aa-4788-8d2a-4eeb21b35bbb": { - "dragItem": { - "type": "widget", - "id": "e8a1cb19-e5aa-4788-8d2a-4eeb21b35bbb", - "nodeId": "410a9a96-0188-48d8-9166-18742d44857d", - "attrs": { - "title": "Model", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" + "tags": [] } }, "children": [], - "parent": "6c5c77d2-00ba-4248-94b3-009e3ac80c37" + "parent": "5a2b936a-0f47-4d4f-bd9b-369c58f61828" }, - "6c5c77d2-00ba-4248-94b3-009e3ac80c37": { + "5a2b936a-0f47-4d4f-bd9b-369c58f61828": { "dragItem": { "type": "container", - "id": "6c5c77d2-00ba-4248-94b3-009e3ac80c37", + "id": "5a2b936a-0f47-4d4f-bd9b-369c58f61828", "attrs": { "title": "", "hidden": true, @@ -22841,30 +25516,29 @@ "direction": "vertical", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "hidden", + "containerVariant": "block", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", "tags": [ - "controlNet" - ], - "convertValueToLabelCode": "" + "controlnet" + ] } }, "children": [ - "e8a1cb19-e5aa-4788-8d2a-4eeb21b35bbb" + "dffd745a-e2ab-4f9f-99c9-d2c6ae3c85ef" ], - "parent": "4740ac63-1026-445c-a9c6-c649b9ab7a23" + "parent": "eae32e42-1ccc-4a4a-923f-7ab4ccdac97a" }, - "45e343ae-0d46-4618-8499-38053e7390ee": { + "72a84a89-0ec9-4015-bfb0-2f8bcd7b2b03": { "dragItem": { "type": "widget", - "id": "45e343ae-0d46-4618-8499-38053e7390ee", - "nodeId": "deb48f01-b06d-46d3-8eed-8bbc281d29f0", + "id": "72a84a89-0ec9-4015-bfb0-2f8bcd7b2b03", + "nodeId": "10cbb926-c5f9-4870-996d-0bd4cfdfd45f", "attrs": { - "title": "Strength", + "title": "Positive", "hidden": false, "disabled": false, "direction": "vertical", @@ -22872,133 +25546,45 @@ "style": "", "nodeDisabledState": "hidden", "variant": "gallery", - "containerVariant": "block", + "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" + "tags": [] } }, "children": [], - "parent": "bd3101cc-22b1-4662-92af-a34eb359f568" + "parent": "20c11948-8ff6-4e31-bcc4-45cff750586b" }, - "bd3101cc-22b1-4662-92af-a34eb359f568": { + "e291c8c4-aa8a-4ee4-ab57-c4b084686c5a": { "dragItem": { - "type": "container", - "id": "bd3101cc-22b1-4662-92af-a34eb359f568", + "type": "widget", + "id": "e291c8c4-aa8a-4ee4-ab57-c4b084686c5a", + "nodeId": "c9e61616-a12c-48ab-8be4-71a783908ff9", "attrs": { - "title": "", - "hidden": true, + "title": "Negative", + "hidden": false, "disabled": false, - "direction": "horizontal", + "direction": "vertical", "classes": "", - "style": "controlNet", - "nodeDisabledState": "disabled", + "style": "", + "nodeDisabledState": "hidden", "variant": "gallery", "containerVariant": "hidden", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [ - "controlNet" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "45e343ae-0d46-4618-8499-38053e7390ee", - "09e0e9fb-46e9-4778-a800-a1ec9eb1de28" - ], - "parent": "4740ac63-1026-445c-a9c6-c649b9ab7a23" - }, - "4740ac63-1026-445c-a9c6-c649b9ab7a23": { - "dragItem": { - "type": "container", - "id": "4740ac63-1026-445c-a9c6-c649b9ab7a23", - "attrs": { - "title": "ControlNet", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "accordion", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [ - "5b9eaf4e-7602-45a0-a7a9-776ce69c1270", - "8b5f06cd-8fa7-48f4-a88a-14ef354248b0", - "6c5c77d2-00ba-4248-94b3-009e3ac80c37", - "bd3101cc-22b1-4662-92af-a34eb359f568" - ], - "parent": "2937706d-c35c-4ac1-8825-a021935a2b91" - }, - "09e0e9fb-46e9-4778-a800-a1ec9eb1de28": { - "dragItem": { - "type": "widget", - "id": "09e0e9fb-46e9-4778-a800-a1ec9eb1de28", - "nodeId": "cc371bd0-9fbd-4655-ae2c-bf0777de66c8", - "attrs": { - "title": "\ud83d\uddd9", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "hidden", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "" + "tags": [] } }, "children": [], - "parent": "bd3101cc-22b1-4662-92af-a34eb359f568" + "parent": "20c11948-8ff6-4e31-bcc4-45cff750586b" }, - "8b5f06cd-8fa7-48f4-a88a-14ef354248b0": { - "dragItem": { - "type": "container", - "id": "8b5f06cd-8fa7-48f4-a88a-14ef354248b0", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "controlNet" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "28ea2e98-1350-4d21-ab3d-b77229ff6bd7" - ], - "parent": "4740ac63-1026-445c-a9c6-c649b9ab7a23" - }, - "28ea2e98-1350-4d21-ab3d-b77229ff6bd7": { + "4519d1e0-5a11-4b1b-abe3-4758dcc4f427": { "dragItem": { "type": "widget", - "id": "28ea2e98-1350-4d21-ab3d-b77229ff6bd7", - "nodeId": "85bf4605-fc2b-4d17-9c08-edff76734990", + "id": "4519d1e0-5a11-4b1b-abe3-4758dcc4f427", + "nodeId": "cc4a59b6-fff0-43a1-a349-f25f6c004fe2", "attrs": { "title": "ControlNet Image", "hidden": false, @@ -23008,27 +25594,77 @@ "style": "", "nodeDisabledState": "hidden", "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "eae32e42-1ccc-4a4a-923f-7ab4ccdac97a" + }, + "ef9ea5f5-3341-48f5-a236-4044c7849764": { + "dragItem": { + "type": "widget", + "id": "ef9ea5f5-3341-48f5-a236-4044c7849764", + "nodeId": "280e84f4-49b0-43e3-93ef-3964800b4d2c", + "attrs": { + "title": "Enable", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "gallery", + "containerVariant": "hidden", + "openOnStartup": false, + "buttonVariant": "primary", + "buttonSize": "large", + "tags": [] + } + }, + "children": [], + "parent": "6b34b9b9-1e48-4b45-95bb-e3df5de5aedd" + }, + "eae32e42-1ccc-4a4a-923f-7ab4ccdac97a": { + "dragItem": { + "type": "container", + "id": "eae32e42-1ccc-4a4a-923f-7ab4ccdac97a", + "attrs": { + "title": "ControlNet", + "hidden": false, + "disabled": false, + "direction": "vertical", + "classes": "", + "style": "", + "nodeDisabledState": "hidden", + "variant": "accordion", "containerVariant": "block", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" + "tags": [] } }, - "children": [], - "parent": "8b5f06cd-8fa7-48f4-a88a-14ef354248b0" + "children": [ + "6b34b9b9-1e48-4b45-95bb-e3df5de5aedd", + "4519d1e0-5a11-4b1b-abe3-4758dcc4f427", + "5a2b936a-0f47-4d4f-bd9b-369c58f61828", + "20c11948-8ff6-4e31-bcc4-45cff750586b" + ], + "parent": "f203b596-b87c-493c-b2c1-57f646fdafc7" }, - "f76c72a4-19bb-419d-8566-909ded308c38": { + "6b34b9b9-1e48-4b45-95bb-e3df5de5aedd": { "dragItem": { - "type": "widget", - "id": "f76c72a4-19bb-419d-8566-909ded308c38", - "nodeId": "d88047d6-932e-46e3-abd8-858f84b6baab", + "type": "container", + "id": "6b34b9b9-1e48-4b45-95bb-e3df5de5aedd", "attrs": { - "title": "Image", + "title": "", "hidden": false, "disabled": false, - "direction": "vertical", + "direction": "horizontal", "classes": "", "style": "", "nodeDisabledState": "hidden", @@ -23037,347 +25673,53 @@ "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "355e76cc-2e46-49e1-bf22-a414fb5bb9ef" - }, - "355e76cc-2e46-49e1-bf22-a414fb5bb9ef": { - "dragItem": { - "type": "container", - "id": "355e76cc-2e46-49e1-bf22-a414fb5bb9ef", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "i2i" - ], - "convertValueToLabelCode": "" - } - }, - "children": [ - "f76c72a4-19bb-419d-8566-909ded308c38" - ], - "parent": "57fe08ba-389d-481e-a883-0c065e81a283" - }, - "5b9eaf4e-7602-45a0-a7a9-776ce69c1270": { - "dragItem": { - "type": "widget", - "id": "5b9eaf4e-7602-45a0-a7a9-776ce69c1270", - "nodeId": "c736e06d-7153-432f-8451-3842fa78ba29", - "attrs": { - "title": "Enable", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "4740ac63-1026-445c-a9c6-c649b9ab7a23" - }, - "8efba0a3-6481-465f-a305-29a7e4fccb4a": { - "dragItem": { - "type": "widget", - "id": "8efba0a3-6481-465f-a305-29a7e4fccb4a", - "nodeId": "3b3f87be-de96-4f80-a182-da28c9cdf0a4", - "attrs": { - "title": "\ud83d\uddd1\ufe0f", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "flex-grow: 1; min-width: unset;", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "small", - "tags": [], - "convertValueToLabelCode": "" - } - }, - "children": [], - "parent": "0aa39d1f-6745-4ae0-8615-141c4fffd872" - }, - "e6fca681-7f9b-4836-a62d-d16eefe55ce3": { - "dragItem": { - "type": "container", - "id": "e6fca681-7f9b-4836-a62d-d16eefe55ce3", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ] - } - }, - "children": [ - "f05973be-ca4d-4326-bf25-aae5b32c28a9", - "53eaaa01-0ee2-402c-9353-205dbe5a35d5", - "6c122f6a-da1c-4038-bbe3-87838186247b" - ], - "parent": "ea664a3d-9bbd-489e-ba1c-3f34823fe9ff" - }, - "9c8a06bd-334c-4430-b3ba-9f3cf8251444": { - "dragItem": { - "type": "container", - "id": "9c8a06bd-334c-4430-b3ba-9f3cf8251444", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ] - } - }, - "children": [ - "5c3402a7-9296-4056-8843-6a0d047bcd5d", - "c26b3b78-4d9e-46af-894a-96b59c975cbe", - "53cff502-2c99-4c87-8458-be02cbc34b2d" - ], - "parent": "c7352574-b50c-4071-abbf-7bc9d37bbbbb" - }, - "8362b08e-6b30-4a46-9c6c-92671adb4415": { - "dragItem": { - "type": "container", - "id": "8362b08e-6b30-4a46-9c6c-92671adb4415", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ] - } - }, - "children": [ - "adf717d3-ff57-4411-b447-d51fac011314", - "78b4f3d7-8402-4b9a-b278-ef49414e46cb", - "12ab8539-61ed-4c66-8e66-39b09421d4be" - ], - "parent": "78c030e1-d7b9-4740-9d7f-0d3bcc95fa9c" - }, - "1de193ec-2154-49da-b18d-2107b6351e15": { - "dragItem": { - "type": "container", - "id": "1de193ec-2154-49da-b18d-2107b6351e15", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ] - } - }, - "children": [ - "373154be-983f-409d-a357-263b1e503420", - "e64dd0a3-b8e3-4ef5-8806-ad7f53dce903", - "74aa1386-535d-4738-85d6-f9129d26f335" - ], - "parent": "4a31d6a7-2f19-4cdd-8c1a-7ec5768b3633" - }, - "ef8a38b9-418e-4831-9d91-2406da5bd819": { - "dragItem": { - "type": "container", - "id": "ef8a38b9-418e-4831-9d91-2406da5bd819", - "attrs": { - "title": "", - "hidden": true, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "hidden", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", - "tags": [ - "lora" - ] - } - }, - "children": [ - "c0a424b7-628c-4c76-9821-fb1e44bf9ba2", - "741f3514-8d71-40e8-afb1-a228804db835", - "fffb1fe4-9b01-4876-b910-ebe7a7866ae1" - ], - "parent": "646c1c6f-e6da-4585-ab1d-9cdda5a9a83a" - }, - "28a75152-9135-48d0-8173-de7d59442ffb": { - "dragItem": { - "type": "widget", - "id": "28a75152-9135-48d0-8173-de7d59442ffb", - "nodeId": "ae9117c6-aa69-4b52-9ea5-b9868aaa2488", - "attrs": { - "title": "From HR. Fix", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [], - "parent": "9ddf553b-7d88-4d89-949b-3fec78506dc1" - }, - "23aca8f1-4dc0-4e1c-9892-9474d8fbf178": { - "dragItem": { - "type": "widget", - "id": "23aca8f1-4dc0-4e1c-9892-9474d8fbf178", - "nodeId": "22f6b2b1-994c-4ada-9e67-2ee285b8c267", - "attrs": { - "title": "From Results", - "hidden": false, - "disabled": false, - "direction": "vertical", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "secondary", - "buttonSize": "large", - "tags": [] - } - }, - "children": [], - "parent": "9ddf553b-7d88-4d89-949b-3fec78506dc1" - }, - "9ddf553b-7d88-4d89-949b-3fec78506dc1": { - "dragItem": { - "type": "container", - "id": "9ddf553b-7d88-4d89-949b-3fec78506dc1", - "attrs": { - "title": "", - "hidden": false, - "disabled": false, - "direction": "horizontal", - "classes": "", - "style": "", - "nodeDisabledState": "disabled", - "variant": "gallery", - "containerVariant": "block", - "openOnStartup": false, - "buttonVariant": "primary", - "buttonSize": "large", "tags": [] } }, "children": [ - "23aca8f1-4dc0-4e1c-9892-9474d8fbf178", - "28a75152-9135-48d0-8173-de7d59442ffb" + "ef9ea5f5-3341-48f5-a236-4044c7849764" ], - "parent": "57fe08ba-389d-481e-a883-0c065e81a283" + "parent": "eae32e42-1ccc-4a4a-923f-7ab4ccdac97a" }, - "b3edaa31-151a-4595-88c4-1d55d00644b1": { + "20c11948-8ff6-4e31-bcc4-45cff750586b": { "dragItem": { - "type": "widget", - "id": "b3edaa31-151a-4595-88c4-1d55d00644b1", - "nodeId": "adad5a15-78eb-4dc2-b9b8-33bd52eb772f", + "type": "container", + "id": "20c11948-8ff6-4e31-bcc4-45cff750586b", "attrs": { - "title": "Enable", - "hidden": false, + "title": "", + "hidden": true, "disabled": false, - "direction": "vertical", + "direction": "horizontal", "classes": "", "style": "", - "nodeDisabledState": "disabled", + "nodeDisabledState": "hidden", "variant": "gallery", "containerVariant": "block", "openOnStartup": false, "buttonVariant": "primary", "buttonSize": "large", - "tags": [] + "tags": [ + "controlnet" + ] } }, - "children": [], - "parent": "e1e0954a-6cb2-445d-aa13-2bbe24606b6a" + "children": [ + "72a84a89-0ec9-4015-bfb0-2f8bcd7b2b03", + "e291c8c4-aa8a-4ee4-ab57-c4b084686c5a" + ], + "parent": "eae32e42-1ccc-4a4a-923f-7ab4ccdac97a" } }, - "currentId": 224, "attrs": { "queuePromptButtonName": "Queue txt2img", - "queuePromptButtonRunWorkflow": false, - "defaultSubgraph": "txt2img" + "queuePromptButtonRunWorkflow": false } }, "canvas": { "offset": [ - 55.778573178994975, - -62.68933903867331 + -131.3087415503123, + 2.7536237065710116 ], - "scale": 0.6209213230591556 + "scale": 0.7513148009015785 } } diff --git a/src/App.svelte b/src/App.svelte index 821d589..11b98f9 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -6,7 +6,7 @@ import { onMount } from 'svelte'; - const app = new ComfyAppState(); + export let app: ComfyAppState; diff --git a/src/AppMobile.svelte b/src/AppMobile.svelte index 8134b60..a120c51 100644 --- a/src/AppMobile.svelte +++ b/src/AppMobile.svelte @@ -53,7 +53,6 @@ onMount(async () => { await app.setup(); - (window as any).app = app; window.addEventListener("backbutton", onBackKeyDown, false); window.addEventListener("popstate", onBackKeyDown, false); }); diff --git a/src/lib/ComfyGraph.ts b/src/lib/ComfyGraph.ts index b0eaa55..578a6fd 100644 --- a/src/lib/ComfyGraph.ts +++ b/src/lib/ComfyGraph.ts @@ -1,4 +1,4 @@ -import { LConnectionKind, LGraph, LGraphNode, type INodeSlot, type SlotIndex, LiteGraph, getStaticProperty, type LGraphAddNodeOptions, LGraphCanvas, type LGraphRemoveNodeOptions } from "@litegraph-ts/core"; +import { LConnectionKind, LGraph, LGraphNode, type INodeSlot, type SlotIndex, LiteGraph, getStaticProperty, type LGraphAddNodeOptions, LGraphCanvas, type LGraphRemoveNodeOptions, Subgraph, type LGraphAddNodeMode } from "@litegraph-ts/core"; import GraphSync from "./GraphSync"; import EventEmitter from "events"; import type TypedEmitter from "typed-emitter"; @@ -8,7 +8,8 @@ import { get } from "svelte/store"; import type ComfyGraphNode from "./nodes/ComfyGraphNode"; import type IComfyInputSlot from "./IComfyInputSlot"; import type { ComfyBackendNode } from "./nodes/ComfyBackendNode"; -import type { ComfyComboNode, ComfyWidgetNode } from "./nodes"; +import type { ComfyComboNode, ComfyWidgetNode } from "./nodes/widgets"; +import selectionState from "./stores/selectionState"; type ComfyGraphEvents = { configured: (graph: LGraph) => void @@ -26,29 +27,48 @@ export default class ComfyGraph extends LGraph { override onConfigure() { console.debug("Configured"); - this.eventBus.emit("configured", this); } override onBeforeChange(graph: LGraph, info: any) { console.debug("BeforeChange", info); - this.eventBus.emit("beforeChange", graph, info); } override onAfterChange(graph: LGraph, info: any) { console.debug("AfterChange", info); - this.eventBus.emit("afterChange", graph, info); } override onAfterExecute() { this.eventBus.emit("afterExecute"); } + /* + * NOTE: This function will also be called by child subgraphs on their + * parent graphs. So we have to be sure the node that receives the callback + * is a root graph (this._is_subgraph is false). If a subgraph calls this + * then options.subgraphsh will have the list of subgraphs down the chain. + */ override onNodeAdded(node: LGraphNode, options: LGraphAddNodeOptions) { + // Don't add nodes in subgraphs until this callback reaches the root + // graph + if (node.getRootGraph() == null || this._is_subgraph) + return; + + this.doAddNode(node, options); + + // console.debug("Added", node); + this.eventBus.emit("nodeAdded", node); + } + + /* + * Add widget UI/groups for newly added nodes. + */ + private doAddNode(node: LGraphNode, options: LGraphAddNodeOptions) { layoutState.nodeAdded(node, options) // All nodes whether they come from base litegraph or ComfyBox should // have tags added to them. Can't override serialization for existing - // node types to add `tags` as anew field so putting it in properties is better. + // node types to add `tags` as a new field so putting it in properties + // is better. if (node.properties.tags == null) node.properties.tags = [] @@ -88,7 +108,7 @@ export default class ComfyGraph extends LGraph { if (!("svelteComponentType" in node) && options.addedBy == null) { console.debug("[ComfyGraph] AutoAdd UI") const comfyNode = node as ComfyGraphNode; - const widgetNodesAdded = [] + const widgetNodesAdded: ComfyWidgetNode[] = [] for (let index = 0; index < comfyNode.inputs.length; index++) { const input = comfyNode.inputs[index]; if ("config" in input) { @@ -96,7 +116,7 @@ export default class ComfyGraph extends LGraph { if (comfyInput.defaultWidgetNode) { const widgetNode = LiteGraph.createNode(comfyInput.defaultWidgetNode) const inputPos = comfyNode.getConnectionPos(true, index); - this.add(widgetNode) + node.graph.add(widgetNode) widgetNode.connect(0, comfyNode, index); widgetNode.collapse(); widgetNode.pos = [inputPos[0] - 140, inputPos[1] + LiteGraph.NODE_SLOT_HEIGHT / 2]; @@ -109,26 +129,44 @@ export default class ComfyGraph extends LGraph { } } } - const dragItems = widgetNodesAdded.map(wn => get(layoutState).allItemsByNode[wn.id]?.dragItem).filter(di => di) - console.debug("[ComfyGraph] Group new widgets", dragItems) + const dragItemIDs = widgetNodesAdded.map(wn => get(layoutState).allItemsByNode[wn.id]?.dragItem?.id).filter(Boolean) + console.debug("[ComfyGraph] Group new widgets", dragItemIDs) - layoutState.groupItems(dragItems, { title: node.title }) + // Use the default node title instead of custom node title, in + // case node was cloned + const reg = LiteGraph.registered_node_types[node.type] + + layoutState.groupItems(dragItemIDs, { title: reg.title }) } } - console.debug("Added", node); - this.eventBus.emit("nodeAdded", node); + // Handle nodes in subgraphs being attached to this graph indirectly + // ************** RECURSION ALERT ! ************** + if (node.is(Subgraph)) { + for (const child of node.subgraph.iterateNodesInOrder()) { + this.doAddNode(child, options) + } + } + // ************** RECURSION ALERT ! ************** } override onNodeRemoved(node: LGraphNode, options: LGraphRemoveNodeOptions) { + selectionState.clear(); // safest option layoutState.nodeRemoved(node, options); - console.debug("Removed", node); + // Handle subgraphs being removed + if (node.is(Subgraph)) { + for (const child of node.subgraph.iterateNodesInOrder()) { + this.onNodeRemoved(child, options) + } + } + + // console.debug("Removed", node); this.eventBus.emit("nodeRemoved", node); } override onNodeConnectionChange(kind: LConnectionKind, node: LGraphNode, slot: SlotIndex, targetNode: LGraphNode, targetSlot: SlotIndex) { - console.debug("ConnectionChange", node); + // console.debug("ConnectionChange", node); this.eventBus.emit("nodeConnectionChanged", kind, node, slot, targetNode, targetSlot); } } diff --git a/src/lib/ComfyGraphCanvas.ts b/src/lib/ComfyGraphCanvas.ts index 3da6311..02c12d9 100644 --- a/src/lib/ComfyGraphCanvas.ts +++ b/src/lib/ComfyGraphCanvas.ts @@ -1,11 +1,13 @@ -import { BuiltInSlotShape, LGraph, LGraphCanvas, LGraphNode, LiteGraph, NodeMode, type MouseEventExt, type Vector2, type Vector4, TitleMode, type ContextMenuItem, type IContextMenuItem, Subgraph, LLink } from "@litegraph-ts/core"; +import { BuiltInSlotShape, LGraph, LGraphCanvas, LGraphNode, LiteGraph, NodeMode, type MouseEventExt, type Vector2, type Vector4, TitleMode, type ContextMenuItem, type IContextMenuItem, Subgraph, LLink, type NodeID } from "@litegraph-ts/core"; import type ComfyApp from "./components/ComfyApp"; import queueState from "./stores/queueState"; -import { get } from "svelte/store"; +import { get, type Unsubscriber } from "svelte/store"; import uiState from "./stores/uiState"; import layoutState from "./stores/layoutState"; import { Watch } from "@litegraph-ts/nodes-basic"; import { ComfyReroute } from "./nodes"; +import type { Progress } from "./components/ComfyApp"; +import selectionState from "./stores/selectionState"; export type SerializedGraphCanvasState = { offset: Vector2, @@ -14,6 +16,7 @@ export type SerializedGraphCanvasState = { export default class ComfyGraphCanvas extends LGraphCanvas { app: ComfyApp | null; + private _unsubscribe: Unsubscriber; constructor( app: ComfyApp, @@ -27,13 +30,33 @@ export default class ComfyGraphCanvas extends LGraphCanvas { ) { super(canvas, app.lGraph, options); this.app = app; + this._unsubscribe = selectionState.subscribe(ss => { + for (const node of Object.values(this.selected_nodes)) { + node.is_selected = false; + } + this.selected_nodes = {} + for (const node of ss.currentSelectionNodes) { + this.selected_nodes[node.id] = node; + node.is_selected = true + } + this._selectedNodes = new Set() + this.setDirty(true, true); + }) } + _selectedNodes: Set = new Set(); + serialize(): SerializedGraphCanvasState { - return { - offset: this.ds.offset, - scale: this.ds.scale + let offset = this.ds.offset; + let scale = this.ds.scale; + + // Use top-level graph for saved offset if we're viewing a subgraph + if (this._graph_stack?.length > 0) { + offset = this._graph_stack[0].offset; + scale = this._graph_stack[0].scale; } + + return { offset, scale } } deserialize(data: SerializedGraphCanvasState) { @@ -58,52 +81,63 @@ export default class ComfyGraphCanvas extends LGraphCanvas { super.drawNodeShape(node, ctx, size, fgColor, bgColor, selected, mouseOver); let state = get(queueState); + let ss = get(selectionState); + const isRunningNode = node.id === state.runningNodeID let color = null; - if (node.id === +state.runningNodeID) { + let thickness = 1; + // if (this._selectedNodes.has(node.id)) { + // color = "yellow"; + // thickness = 5; + // } + if (ss.currentHoveredNodes.has(node.id)) { + color = "lightblue"; + } + else if (isRunningNode) { color = "#0f0"; - // this.app can be null inside the constructor if rendering is taking place already - } else if (this.app && this.app.dragOverNode && node.id === this.app.dragOverNode.id) { - color = "dodgerblue"; } if (color) { - const shape = node.shape || BuiltInSlotShape.ROUND_SHAPE; - ctx.lineWidth = 1; - ctx.globalAlpha = 0.8; - ctx.beginPath(); - if (shape == BuiltInSlotShape.BOX_SHAPE) - ctx.rect(-6, -6 + LiteGraph.NODE_TITLE_HEIGHT, 12 + size[0] + 1, 12 + size[1] + LiteGraph.NODE_TITLE_HEIGHT); - else if (shape == BuiltInSlotShape.ROUND_SHAPE || (shape == BuiltInSlotShape.CARD_SHAPE && node.flags.collapsed)) - ctx.roundRect( - -6, - -6 - LiteGraph.NODE_TITLE_HEIGHT, - 12 + size[0] + 1, - 12 + size[1] + LiteGraph.NODE_TITLE_HEIGHT, - this.round_radius * 2 - ); - else if (shape == BuiltInSlotShape.CARD_SHAPE) - ctx.roundRect( - -6, - -6 + LiteGraph.NODE_TITLE_HEIGHT, - 12 + size[0] + 1, - 12 + size[1] + LiteGraph.NODE_TITLE_HEIGHT, - this.round_radius * 2, - 2 - ); - else if (shape == BuiltInSlotShape.CIRCLE_SHAPE) - ctx.arc(size[0] * 0.5, size[1] * 0.5, size[0] * 0.5 + 6, 0, Math.PI * 2); - ctx.strokeStyle = color; - ctx.stroke(); - ctx.strokeStyle = fgColor; - ctx.globalAlpha = 1; - - if (state.progress) { - ctx.fillStyle = "green"; - ctx.fillRect(0, 0, size[0] * (state.progress.value / state.progress.max), 6); - ctx.fillStyle = bgColor; - } + this.drawNodeOutline(node, ctx, size, fgColor, bgColor, color, thickness) } + + if (isRunningNode && state.progress) { + ctx.fillStyle = "green"; + ctx.fillRect(0, 0, size[0] * (state.progress.value / state.progress.max), 6); + ctx.fillStyle = bgColor; + } + } + + private drawNodeOutline(node: LGraphNode, ctx: CanvasRenderingContext2D, size: Vector2, fgColor: string, bgColor: string, outlineColor: string, outlineThickness: number) { + const shape = node.shape || BuiltInSlotShape.ROUND_SHAPE; + ctx.lineWidth = outlineThickness; + ctx.globalAlpha = 0.8; + ctx.beginPath(); + if (shape == BuiltInSlotShape.BOX_SHAPE) + ctx.rect(-6, -6 + LiteGraph.NODE_TITLE_HEIGHT, 12 + size[0] + 1, 12 + size[1] + LiteGraph.NODE_TITLE_HEIGHT); + else if (shape == BuiltInSlotShape.ROUND_SHAPE || (shape == BuiltInSlotShape.CARD_SHAPE && node.flags.collapsed)) + ctx.roundRect( + -6, + -6 - LiteGraph.NODE_TITLE_HEIGHT, + 12 + size[0] + 1, + 12 + size[1] + LiteGraph.NODE_TITLE_HEIGHT, + this.round_radius * 2 + ); + else if (shape == BuiltInSlotShape.CARD_SHAPE) + ctx.roundRect( + -6, + -6 + LiteGraph.NODE_TITLE_HEIGHT, + 12 + size[0] + 1, + 12 + size[1] + LiteGraph.NODE_TITLE_HEIGHT, + this.round_radius * 2, + 2 + ); + else if (shape == BuiltInSlotShape.CIRCLE_SHAPE) + ctx.arc(size[0] * 0.5, size[1] * 0.5, size[0] * 0.5 + 6, 0, Math.PI * 2); + ctx.strokeStyle = outlineColor; + ctx.stroke(); + ctx.strokeStyle = fgColor; + ctx.globalAlpha = 1; } private alignToGrid(node: LGraphNode, ctx: CanvasRenderingContext2D) { @@ -235,10 +269,43 @@ export default class ComfyGraphCanvas extends LGraphCanvas { } override onSelectionChange(nodes: Record) { - const ls = get(layoutState) - ls.currentSelectionNodes = Object.values(nodes) - ls.currentSelection = [] - layoutState.set(ls) + selectionState.update(ss => { + ss.currentSelectionNodes = Object.values(nodes) + ss.currentSelection = [] + const ls = get(layoutState) + for (const node of ss.currentSelectionNodes) { + const widget = ls.allItemsByNode[node.id] + if (widget) + ss.currentSelection.push(widget.dragItem.id) + } + return ss + }) + } + + override onHoverChange(node: LGraphNode | null) { + selectionState.update(ss => { + ss.currentHoveredNodes.clear() + if (node) { + ss.currentHoveredNodes.add(node.id) + } + ss.currentHovered.clear() + const ls = get(layoutState) + for (const nodeID of ss.currentHoveredNodes) { + const widget = ls.allItemsByNode[nodeID] + if (widget) + ss.currentHovered.add(widget.dragItem.id) + } + return ss + }) + } + + override clear() { + super.clear(); + selectionState.update(ss => { + ss.currentSelectionNodes = []; + ss.currentHoveredNodes.clear() + return ss; + }) } override onNodeMoved(node: LGraphNode) { diff --git a/src/lib/ComfyNodeDef.ts b/src/lib/ComfyNodeDef.ts new file mode 100644 index 0000000..de281ab --- /dev/null +++ b/src/lib/ComfyNodeDef.ts @@ -0,0 +1,60 @@ +import { range } from "./utils" +import ComfyWidgets from "./widgets" + +export type ComfyNodeDef = { + name: string + display_name?: string + category: string + input: ComfyNodeDefInputs + /** Output type like "LATENT" or "IMAGE" */ + output: string[] + output_name: string[] + output_is_list: boolean[] +} + +export type ComfyNodeDefInputs = { + required: Record, + optional?: Record +} +export type ComfyNodeDefInput = [ComfyNodeDefInputType, ComfyNodeDefInputOptions | null] + + +/** + * - Array: Combo widget. Usually the values are strings but they can also be other stuff like booleans. + * - "INT"/"FLOAT"/etc.: Non-combo type widgets. See ComfyWidgets type. + * - other string: Must be an input type, usually something lke "IMAGE" or "LATENT". + */ +export type ComfyNodeDefInputType = any[] | keyof typeof ComfyWidgets | string + +export type ComfyNodeDefInputOptions = { + forceInput?: boolean +} + +// TODO if/when comfy refactors +export type ComfyNodeDefOutput = { + type: string, + name: string, + is_list?: boolean +} + +export function isBackendNodeDefInputType(inputName: string, type: ComfyNodeDefInputType): type is string { + return !Array.isArray(type) && !(type in ComfyWidgets) && !(`${type}:${inputName}` in ComfyWidgets); +} + +export function iterateNodeDefInputs(def: ComfyNodeDef): Iterable<[string, ComfyNodeDefInput]> { + var inputs = def.input.required + if (def.input.optional != null) { + inputs = Object.assign({}, def.input.required, def.input.optional) + } + return Object.entries(inputs); +} + +export function iterateNodeDefOutputs(def: ComfyNodeDef): Iterable { + return range(def.output.length).map(i => { + return { + type: def.output[i], + name: def.output_name[i] || def.output[i], + is_list: def.output_is_list[i], + } + }) +} diff --git a/src/lib/ImageViewer.ts b/src/lib/ImageViewer.ts index efe56f6..8913f4d 100644 --- a/src/lib/ImageViewer.ts +++ b/src/lib/ImageViewer.ts @@ -137,45 +137,22 @@ export class ImageViewer { } } - setupGalleryImageForLightbox(e: HTMLImageElement) { - if (e.dataset.modded === "true") + showLightbox(source: HTMLImageElement) { + const initiallyZoomed = true + this.modalZoomSet(this.modalImage, initiallyZoomed) + + const galleryElem = source.closest("div.block") + console.debug("[ImageViewer] showModal", event, source, galleryElem); + if (!galleryElem || ImageViewer.all_gallery_buttons(galleryElem).length === 0) { + console.error("No buttons found on gallery element!", galleryElem) return; + } - e.dataset.modded = "true"; - e.style.cursor = 'pointer' - e.style.userSelect = 'none' - - var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1 - - // For Firefox, listening on click first switched to next image then shows the lightbox. - // If you know how to fix this without switching to mousedown event, please. - // For other browsers the event is click to make it possiblr to drag picture. - var event = isFirefox ? 'mousedown' : 'click' - - e.addEventListener(event, (evt) => { - // if (!opts.js_modal_lightbox || evt.button != 0) return; - - const initiallyZoomed = true - this.modalZoomSet(this.modalImage, initiallyZoomed) - evt.preventDefault() - - const source = evt.target as HTMLImageElement; - - const galleryElem = source.closest("div.block") - console.debug("[ImageViewer] showModal", event, source, galleryElem); - if (!galleryElem || ImageViewer.all_gallery_buttons(galleryElem).length === 0) { - console.error("No buttons found on gallery element!", galleryElem) - return; - } - - let urls = ImageViewer.get_gallery_urls(galleryElem) - const [_currentButton, index] = ImageViewer.selected_gallery_button(galleryElem) - console.warn("Gallery!", index, urls, galleryElem) - - this.showModal(urls, index, galleryElem) - evt.stopPropagation(); - }, true); + let urls = ImageViewer.get_gallery_urls(galleryElem) + const [_currentButton, index] = ImageViewer.selected_gallery_button(galleryElem) + console.warn("Gallery!", index, urls, galleryElem) + this.showModal(urls, index, galleryElem) } modalZoomSet(modalImage: HTMLImageElement, enable: boolean) { diff --git a/src/lib/api.ts b/src/lib/api.ts index 2ac50e7..8e5097c 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -1,9 +1,10 @@ -import type { Progress, SerializedPrompt, SerializedPromptInputs, SerializedPromptInputsAll, SerializedPromptOutput, SerializedPromptOutputs } from "./components/ComfyApp"; +import type { Progress, SerializedPrompt, SerializedPromptInputs, SerializedPromptInputsAll, SerializedPromptOutputs } from "./components/ComfyApp"; import type TypedEmitter from "typed-emitter"; import EventEmitter from "events"; -import type { ComfyExecutionResult, ComfyImageLocation } from "./nodes/ComfyWidgetNodes"; +import type { ComfyImageLocation } from "$lib/utils"; import type { SerializedLGraph, UUID } from "@litegraph-ts/core"; import type { SerializedLayoutState } from "./stores/layoutState"; +import type { ComfyNodeDef } from "./ComfyNodeDef"; export type ComfyPromptRequest = { client_id?: string, @@ -30,7 +31,7 @@ export type ComfyAPIQueueResponse = { error?: string } -export type NodeID = UUID; +export type ComfyNodeID = UUID; // To distinguish from Litegraph NodeID export type PromptID = UUID; // UUID export type ComfyAPIHistoryItem = [ @@ -38,7 +39,7 @@ export type ComfyAPIHistoryItem = [ PromptID, SerializedPromptInputsAll, ComfyBoxPromptExtraData, - NodeID[] // good outputs + ComfyNodeID[] // good outputs ] export type ComfyAPIPromptResponse = { @@ -76,9 +77,10 @@ type ComfyAPIEvents = { progress: (progress: Progress) => void, reconnecting: () => void, reconnected: () => void, - executing: (promptID: PromptID | null, runningNodeID: NodeID | null) => void, - executed: (promptID: PromptID, nodeID: NodeID, output: SerializedPromptOutput) => void, - execution_cached: (promptID: PromptID, nodes: NodeID[]) => void, + executing: (promptID: PromptID | null, runningNodeID: ComfyNodeID | null) => void, + executed: (promptID: PromptID, nodeID: ComfyNodeID, output: SerializedPromptOutputs) => void, + execution_start: (promptID: PromptID) => void, + execution_cached: (promptID: PromptID, nodes: ComfyNodeID[]) => void, execution_error: (promptID: PromptID, message: string) => void, } @@ -182,6 +184,9 @@ export default class ComfyAPI { case "executed": this.eventBus.emit("executed", msg.data.prompt_id, msg.data.node, msg.data.output); break; + case "execution_start": + this.eventBus.emit("execution_start", msg.data.prompt_id); + break; case "execution_cached": this.eventBus.emit("execution_cached", msg.data.prompt_id, msg.data.nodes); break; @@ -226,7 +231,7 @@ export default class ComfyAPI { * Loads node object definitions for the graph * @returns The node definitions */ - async getNodeDefs(): Promise { + async getNodeDefs(): Promise> { return fetch(this.getBackendUrl() + "/object_info", { cache: "no-store" }) .then(resp => resp.json()) } @@ -248,7 +253,7 @@ export default class ComfyAPI { postBody = JSON.stringify(body) } catch (error) { - return Promise.reject({ error }) + return Promise.reject({ error: error.toString() }) } return fetch(this.getBackendUrl() + "/prompt", { @@ -260,12 +265,12 @@ export default class ComfyAPI { }) .then(async (res) => { if (res.status != 200) { - throw await res.text() + throw await res.json() } return res.json() }) .then(raw => { return { promptID: raw.prompt_id } }) - .catch(error => { return { error } }) + .catch(error => { return error }) } /** diff --git a/src/lib/components/AccordionContainer.svelte b/src/lib/components/AccordionContainer.svelte index 978da9e..ca86d8f 100644 --- a/src/lib/components/AccordionContainer.svelte +++ b/src/lib/components/AccordionContainer.svelte @@ -2,6 +2,7 @@ import { Block, BlockTitle } from "@gradio/atoms"; import Accordion from "$lib/components/gradio/app/Accordion.svelte"; import uiState from "$lib/stores/uiState"; + import selectionState from "$lib/stores/selectionState"; import WidgetContainer from "./WidgetContainer.svelte" import { dndzone, SHADOW_ITEM_MARKER_PROPERTY_NAME, SHADOW_PLACEHOLDER_ITEM_ID } from 'svelte-dnd-action'; @@ -60,10 +61,11 @@ } -{#if container && children} +{#if container && Array.isArray(children)} + {@const selected = $uiState.uiUnlocked && $selectionState.currentSelection.includes(container.id)}
@@ -120,6 +122,10 @@ diff --git a/src/lib/components/gradio/app/Row.svelte b/src/lib/components/gradio/app/Row.svelte index 84a61fa..c009673 100644 --- a/src/lib/components/gradio/app/Row.svelte +++ b/src/lib/components/gradio/app/Row.svelte @@ -2,7 +2,7 @@ import type { Styles } from "@gradio/utils"; export let style: Styles = {}; - export let elem_id: string; + export let elem_id: string | null; export let elem_classes: Array = []; export let visible: boolean = true; export let variant: "default" | "panel" | "compact" = "default"; diff --git a/src/lib/components/gradio/gallery/Gallery.svelte b/src/lib/components/gradio/gallery/Gallery.svelte index 5643dd0..8108ca5 100644 --- a/src/lib/components/gradio/gallery/Gallery.svelte +++ b/src/lib/components/gradio/gallery/Gallery.svelte @@ -21,19 +21,20 @@ object_fit: "cover", height: "auto" }; - export let imageWidth: number = 1; - export let imageHeight: number = 1; + export let imageWidth: number = 0; + export let imageHeight: number = 0; const dispatch = createEventDispatcher<{ select: SelectData; + clicked: HTMLImageElement }>(); // tracks whether the value of the gallery was reset let was_reset: boolean = true; $: if (selected_image == null || was_reset) { - imageWidth = 1; - imageHeight = 1; + imageWidth = 0; + imageHeight = 0; } $: was_reset = value == null || value.length == 0 ? true : was_reset; @@ -142,6 +143,14 @@ let height = 0; let window_height = 0; + + let imgElem = null; + + function onClick() { + // selected_image = next + if (imgElem) + dispatch("clicked", imgElem) + } @@ -166,7 +175,8 @@ (selected_image = null)} /> (selected_image = next)} + on:click={onClick} + bind:this={imgElem} src={_value[selected_image][0].data} alt={_value[selected_image][1] || ""} title={_value[selected_image][1] || null} diff --git a/src/lib/components/gradio/image/StaticImage.svelte b/src/lib/components/gradio/image/StaticImage.svelte index 3780fcf..eda153d 100644 --- a/src/lib/components/gradio/image/StaticImage.svelte +++ b/src/lib/components/gradio/image/StaticImage.svelte @@ -11,8 +11,8 @@ export let label: string | undefined = undefined; export let show_label: boolean; export let selectable: boolean = false; - export let imageWidth: number = 1; - export let imageHeight: number = 1; + export let imageWidth: number = 0; + export let imageHeight: number = 0; let imageElem: HTMLImageElement | null = null; const dispatch = createEventDispatcher<{ @@ -23,8 +23,8 @@ $: value && dispatch("change", value); $: if (value == null || !imageElem) { - imageWidth = 1; - imageHeight = 1; + imageWidth = 0; + imageHeight = 0; } const handle_click = (evt: MouseEvent) => { diff --git a/src/lib/init.ts b/src/lib/init.ts new file mode 100644 index 0000000..4752e6e --- /dev/null +++ b/src/lib/init.ts @@ -0,0 +1,32 @@ +import ComfyGraph from '$lib/ComfyGraph'; +import { LGraphCanvas, LiteGraph, Subgraph } from '@litegraph-ts/core'; +import layoutState from './stores/layoutState'; +import { get } from 'svelte/store'; + +export function configureLitegraph(isMobile: boolean = false) { + LiteGraph.catch_exceptions = false; + + // Must be enabled, otherwise subgraphs won't work (because of non-unique node/link IDs) + LiteGraph.use_uuids = true; + + LiteGraph.search_filter_enabled = true; + LiteGraph.release_link_on_empty_shows_menu = true; + LiteGraph.alt_drag_do_clone_nodes = true; + LiteGraph.middle_click_slot_add_default_node = true; + LiteGraph.dialog_close_on_mouse_leave = false; + LiteGraph.search_hide_on_mouse_leave = false; + LiteGraph.graph_inputs_outputs_use_combo_widget = true; + LiteGraph.search_box_refresh_interval_ms = 150; + + LiteGraph.CANVAS_GRID_SIZE = 32; + + if (isMobile) { + LiteGraph.pointerevents_method = "pointer"; + } + + Subgraph.default_lgraph_factory = () => new ComfyGraph; + + (window as any).LiteGraph = LiteGraph; + (window as any).LGraphCanvas = LGraphCanvas; + (window as any).layoutState = get(layoutState) +} diff --git a/src/lib/nodes/ComfyActionNodes.ts b/src/lib/nodes/ComfyActionNodes.ts index a34fa81..2da838a 100644 --- a/src/lib/nodes/ComfyActionNodes.ts +++ b/src/lib/nodes/ComfyActionNodes.ts @@ -5,10 +5,10 @@ import queueState from "$lib/stores/queueState"; import { BuiltInSlotType, LiteGraph, NodeMode, type ITextWidget, type IToggleWidget, type SerializedLGraphNode, type SlotLayout, type PropertyLayout } from "@litegraph-ts/core"; import { get } from "svelte/store"; import ComfyGraphNode, { type ComfyGraphNodeProperties } from "./ComfyGraphNode"; -import type { ComfyWidgetNode, ComfyExecutionResult, ComfyImageLocation } from "./ComfyWidgetNodes"; +import type { ComfyWidgetNode } from "$lib/nodes/widgets"; import type { NotifyOptions } from "$lib/notify"; import type { FileData as GradioFileData } from "@gradio/upload"; -import { convertComfyOutputToGradio, type ComfyUploadImageAPIResponse } from "$lib/utils"; +import { type ComfyExecutionResult, type ComfyImageLocation, convertComfyOutputToGradio, type ComfyUploadImageAPIResponse, parseWhateverIntoComfyImageLocations } from "$lib/utils"; export class ComfyQueueEvents extends ComfyGraphNode { static slotLayout: SlotLayout = { @@ -59,7 +59,7 @@ LiteGraph.registerNodeType({ class: ComfyQueueEvents, title: "Comfy.QueueEvents", desc: "Triggers a 'bang' event when a prompt is queued.", - type: "actions/queue_events" + type: "events/queue_events" }) export interface ComfyStoreImagesActionProperties extends ComfyGraphNodeProperties { @@ -177,8 +177,8 @@ export class ComfySwapAction extends ComfyGraphNode { override onAction(action: any, param: any) { const a = this.getInputData(0) const b = this.getInputData(1) - this.triggerSlot(0, a) - this.triggerSlot(1, b) + this.triggerSlot(0, b) + this.triggerSlot(1, a) }; } @@ -469,7 +469,7 @@ export class ComfySetNodeModeAdvancedAction extends ComfyGraphNode { } private getModeChanges(action: TagAction, enable: boolean, nodeChanges: Record, widgetChanges: Record) { - for (const node of this.graph._nodes) { + for (const node of this.graph.iterateNodesInOrderRecursive()) { if ("tags" in node.properties) { const comfyNode = node as ComfyGraphNode; const hasTag = comfyNode.properties.tags.indexOf(action.tag) != -1; @@ -482,9 +482,6 @@ export class ComfySetNodeModeAdvancedAction extends ComfyGraphNode { newMode = NodeMode.NEVER; } nodeChanges[node.id] = newMode - node.changeMode(newMode); - if ("notifyPropsChanged" in node) - (node as ComfyWidgetNode).notifyPropsChanged(); } } } @@ -530,7 +527,7 @@ export class ComfySetNodeModeAdvancedAction extends ComfyGraphNode { } for (const [nodeId, newMode] of Object.entries(nodeChanges)) { - this.graph.getNodeById(nodeId).changeMode(newMode); + this.graph.getNodeByIdRecursive(nodeId).changeMode(newMode); } const layout = get(layoutState); @@ -601,27 +598,7 @@ export class ComfySetPromptThumbnailsAction extends ComfyGraphNode { override getPromptThumbnails(): ComfyImageLocation[] | null { const data = this.getInputData(0) - - const folderType = this.properties.folderType || "input"; - - const convertString = (s: string): ComfyImageLocation => { - return { filename: data, subfolder: "", type: folderType } - } - - if (typeof data === "string") { - return [convertString(data)] - } - else if (data != null && typeof data === "object") { - if ("filename" in data && "type" in data) - return [data as ComfyImageLocation]; - } - else if (Array.isArray(data) && data.length > 0) { - if (typeof data[0] === "string") - return data.map(convertString) - else if (typeof data[0] === "object" && "filename" in data[0] && "type" in data[0]) - return data as ComfyImageLocation[] - } - return null; + return parseWhateverIntoComfyImageLocations(data); } } diff --git a/src/lib/nodes/ComfyBackendNode.ts b/src/lib/nodes/ComfyBackendNode.ts index a75c968..c899b19 100644 --- a/src/lib/nodes/ComfyBackendNode.ts +++ b/src/lib/nodes/ComfyBackendNode.ts @@ -1,10 +1,12 @@ import LGraphCanvas from "@litegraph-ts/core/src/LGraphCanvas"; import ComfyGraphNode from "./ComfyGraphNode"; import ComfyWidgets from "$lib/widgets" -import type { ComfyWidgetNode, ComfyExecutionResult } from "./ComfyWidgetNodes"; +import type { ComfyWidgetNode } from "$lib/nodes/widgets"; import { BuiltInSlotShape, BuiltInSlotType, type SerializedLGraphNode } from "@litegraph-ts/core"; import type IComfyInputSlot from "$lib/IComfyInputSlot"; import type { ComfyInputConfig } from "$lib/IComfyInputSlot"; +import { iterateNodeDefOutputs, type ComfyNodeDef, iterateNodeDefInputs } from "$lib/ComfyNodeDef"; +import type { ComfyExecutionResult } from "$lib/utils"; /* * Base class for any node with configuration sent by the backend. @@ -30,29 +32,26 @@ export class ComfyBackendNode extends ComfyGraphNode { // It just returns a hash like { "ui": { "images": results } } internally. // So this will need to be hardcoded for now. if (["PreviewImage", "SaveImage"].indexOf(comfyClass) !== -1) { - this.addOutput("onExecuted", BuiltInSlotType.EVENT, { color_off: "rebeccapurple", color_on: "rebeccapurple" }); + this.addOutput("OUTPUT", BuiltInSlotType.EVENT, { color_off: "rebeccapurple", color_on: "rebeccapurple" }); } } // comfy class -> input name -> input config private static defaultInputConfigs: Record> = {} - private setup(nodeData: any) { - var inputs = nodeData["input"]["required"]; - if (nodeData["input"]["optional"] != undefined) { - inputs = Object.assign({}, nodeData["input"]["required"], nodeData["input"]["optional"]) - } - + private setup(nodeDef: ComfyNodeDef) { ComfyBackendNode.defaultInputConfigs[this.type] = {} - for (const inputName in inputs) { + for (const [inputName, inputData] of iterateNodeDefInputs(nodeDef)) { const config: Partial = {}; - const inputData = inputs[inputName]; - const type = inputData[0]; + const [type, opts] = inputData; - if (inputData[1]?.forceInput) { - this.addInput(inputName, type); + if (opts?.forceInput) { + if (Array.isArray(type)) { + throw new Error(`Can't have forceInput set to true for an enum type! ${type}`) + } + this.addInput(inputName, type as string); } else { if (Array.isArray(type)) { // Enums @@ -73,11 +72,9 @@ export class ComfyBackendNode extends ComfyGraphNode { ComfyBackendNode.defaultInputConfigs[this.type][inputName] = (config as IComfyInputSlot).config } - for (const o in nodeData["output"]) { - const output = nodeData["output"][o]; - const outputName = nodeData["output_name"][o] || output; - const outputShape = nodeData["output_is_list"][o] ? BuiltInSlotShape.GRID_SHAPE : BuiltInSlotShape.CIRCLE_SHAPE; - this.addOutput(outputName, output, { shape: outputShape }); + for (const output of iterateNodeDefOutputs(nodeDef)) { + const outputShape = output.is_list ? BuiltInSlotShape.GRID_SHAPE : BuiltInSlotShape.CIRCLE_SHAPE; + this.addOutput(output.name, output.type, { shape: outputShape }); } this.serialize_widgets = false; diff --git a/src/lib/nodes/ComfyGraphNode.ts b/src/lib/nodes/ComfyGraphNode.ts index 367ae19..1fb1883 100644 --- a/src/lib/nodes/ComfyGraphNode.ts +++ b/src/lib/nodes/ComfyGraphNode.ts @@ -1,9 +1,9 @@ import type { ComfyInputConfig } from "$lib/IComfyInputSlot"; import type { SerializedPrompt } from "$lib/components/ComfyApp"; -import type ComfyWidget from "$lib/components/widgets/ComfyWidget"; import { LGraph, LGraphNode, LLink, LiteGraph, NodeMode, type INodeInputSlot, type SerializedLGraphNode, type Vector2, type INodeOutputSlot, LConnectionKind, type SlotType, LGraphCanvas, getStaticPropertyOnInstance, type PropertyLayout, type SlotLayout } from "@litegraph-ts/core"; import type { SvelteComponentDev } from "svelte/internal"; -import type { ComfyWidgetNode, ComfyExecutionResult, ComfyImageLocation } from "./ComfyWidgetNodes"; +import type { ComfyWidgetNode } from "$lib/nodes/widgets"; +import type { ComfyExecutionResult, ComfyImageLocation } from "$lib/utils" import type IComfyInputSlot from "$lib/IComfyInputSlot"; import uiState from "$lib/stores/uiState"; import { get } from "svelte/store"; diff --git a/src/lib/nodes/ComfyImageToFilepathNode.ts b/src/lib/nodes/ComfyImageToFilepathNode.ts deleted file mode 100644 index 5118d31..0000000 --- a/src/lib/nodes/ComfyImageToFilepathNode.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { LiteGraph, type SlotLayout } from "@litegraph-ts/core"; -import ComfyGraphNode from "./ComfyGraphNode"; -import { comfyFileToAnnotatedFilepath, isComfyBoxImageMetadata, parseWhateverIntoImageMetadata } from "$lib/utils"; - -export default class ComfyImageToFilepathNode extends ComfyGraphNode { - static slotLayout: SlotLayout = { - inputs: [ - { name: "image", type: "COMFYBOX_IMAGES,COMFYBOX_IMAGE" }, - ], - outputs: [ - { name: "filepath", type: "string" }, - ] - } - - override onExecute() { - const data = this.getInputData(0) - const meta = parseWhateverIntoImageMetadata(data); - if (meta == null || meta.length === 0) { - this.setOutputData(0, null) - return; - } - - const path = comfyFileToAnnotatedFilepath(meta[0].comfyUIFile); - this.setOutputData(0, path); - } -} - -LiteGraph.registerNodeType({ - class: ComfyImageToFilepathNode, - title: "Comfy.ImageToFilepath", - desc: "Converts ComfyBox image metadata to an annotated filepath like \"image.png[output]\" for use with ComfyUI.", - type: "image/file_to_filepath" -}) diff --git a/src/lib/nodes/ComfyPickImageNode.ts b/src/lib/nodes/ComfyPickImageNode.ts index 46dfb2c..2253a28 100644 --- a/src/lib/nodes/ComfyPickImageNode.ts +++ b/src/lib/nodes/ComfyPickImageNode.ts @@ -1,35 +1,98 @@ -import { LiteGraph, type SlotLayout } from "@litegraph-ts/core"; +import { LiteGraph, type ITextWidget, type SlotLayout, type INumberWidget } from "@litegraph-ts/core"; import ComfyGraphNode from "./ComfyGraphNode"; -import { isComfyBoxImageMetadataArray } from "$lib/utils"; +import { comfyFileToAnnotatedFilepath, type ComfyBoxImageMetadata } from "$lib/utils"; -/* - * TODO: This is just a temporary workaround until litegraph can handle typed - * array arguments. - */ export default class ComfyPickImageNode extends ComfyGraphNode { static slotLayout: SlotLayout = { inputs: [ - { name: "images", type: "COMFYBOX_IMAGES" }, + { name: "images", type: "COMFYBOX_IMAGES,COMFYBOX_IMAGE" }, + { name: "index", type: "number" }, ], outputs: [ { name: "image", type: "COMFYBOX_IMAGE" }, + { name: "filename", type: "string" }, + { name: "width", type: "number" }, + { name: "height", type: "number" }, ] } + filepathWidget: ITextWidget; + folderWidget: ITextWidget; + widthWidget: INumberWidget; + heightWidget: INumberWidget; + + constructor(title?: string) { + super(title) + this.filepathWidget = this.addWidget("text", "File", "") + this.folderWidget = this.addWidget("text", "Folder", "") + this.widthWidget = this.addWidget("number", "Width", 0) + this.heightWidget = this.addWidget("number", "Height", 0) + for (const widget of this.widgets) + widget.disabled = true; + } + + _value: ComfyBoxImageMetadata[] | null = null; + _image: ComfyBoxImageMetadata | null = null; + _path: string | null = null; + _index: number = 0; + + private setValue(value: ComfyBoxImageMetadata[] | ComfyBoxImageMetadata | null, index: number) { + if (value != null && !Array.isArray(value)) { + value = [value] + index = 0; + } + const changed = this._value != value || this._index != index; + this._value = value as ComfyBoxImageMetadata[]; + this._index = index; + if (changed) { + if (value && value[this._index] != null) { + this._image = value[this._index] + this._path = comfyFileToAnnotatedFilepath(this._image.comfyUIFile); + this.filepathWidget.value = this._image.comfyUIFile.filename + this.folderWidget.value = this._image.comfyUIFile.type + } + else { + this._image = null; + this._path = null; + this.filepathWidget.value = "(None)" + this.folderWidget.value = "" + } + console.log("SET", value, this._image, this._path) + } + } + override onExecute() { const data = this.getInputData(0) - if (data == null || !isComfyBoxImageMetadataArray(data)) { - this.setOutputData(0, null) - return; - } + const index = this.getInputData(1) || 0 + this.setValue(data, index); - this.setOutputData(0, data[0]); + if (this._image == null) { + this.setOutputData(0, null) + this.setOutputData(1, null) + this.setOutputData(2, 0) + this.setOutputData(3, 0) + + this.widthWidget.value = 0 + this.heightWidget.value = 0 + } + else { + this.setOutputData(0, this._image); + this.setOutputData(1, this._path); + this.setOutputData(2, this._image.width); + this.setOutputData(3, this._image.height); + + // XXX: image size doesn't load until the element is ready on + // the page so this can come after several frames' worth of + // execution + this.widthWidget.value = this._image.width + this.heightWidget.value = this._image.height + } } } LiteGraph.registerNodeType({ class: ComfyPickImageNode, title: "Comfy.PickImage", - desc: "Picks out the first image from an array of ComfyBox images.", + desc: "Selects an image from an array of ComfyBox images and returns its properties.", type: "image/pick_image" }) diff --git a/src/lib/nodes/ComfyValueControl.ts b/src/lib/nodes/ComfyValueControl.ts index 7a3485a..f0d476b 100644 --- a/src/lib/nodes/ComfyValueControl.ts +++ b/src/lib/nodes/ComfyValueControl.ts @@ -2,14 +2,15 @@ import { BuiltInSlotType, LiteGraph, type SlotLayout } from "@litegraph-ts/core" import ComfyGraphNode, { type ComfyGraphNodeProperties, type DefaultWidgetLayout } from "./ComfyGraphNode"; import { clamp } from "$lib/utils"; import ComboWidget from "$lib/widgets/ComboWidget.svelte"; -import { ComfyComboNode } from "./ComfyWidgetNodes"; +import { ComfyComboNode } from "./widgets"; export interface ComfyValueControlProperties extends ComfyGraphNodeProperties { value: any, action: "fixed" | "increment" | "decrement" | "randomize", min: number, max: number, - step: number + step: number, + ignoreStepWhenRandom: boolean } const INT_MAX = 1125899906842624; @@ -18,10 +19,11 @@ export default class ComfyValueControl extends ComfyGraphNode { override properties: ComfyValueControlProperties = { tags: [], value: null, - action: "fixed", + action: "randomize", min: -INT_MAX, max: INT_MAX, - step: 1 + step: 1, + ignoreStepWhenRandom: false } static slotLayout: SlotLayout = { @@ -61,15 +63,11 @@ export default class ComfyValueControl extends ComfyGraphNode { } override onExecute() { - this.setProperty("action", this.getInputData(2) || "fixed") - this.setProperty("min", this.getInputData(3)) - this.setProperty("max", this.getInputData(4)) - this.setProperty("step", this.getInputData(5) || 1) - if (this._aboutToChange > 0) { this._aboutToChange -= 1; if (this._aboutToChange <= 0) { const value = this._aboutToChangeValue; + console.warn("ABOUTTOCHANGE", value) this._aboutToChange = 0; this._aboutToChangeValue = null; this.triggerSlot(1, value) @@ -82,8 +80,26 @@ export default class ComfyValueControl extends ComfyGraphNode { if (typeof v !== "number") return - let min = this.properties.min - let max = this.properties.max + let action_ = this.getInputData(2); + if (action_ == null) + action_ = "fixed" + let min = this.getInputData(3); + if (min == null) + min = -INT_MAX + let max = this.getInputData(4); + if (max == null) + max = INT_MAX + let step = this.getInputData(5); + if (step == null) + step = 1 + + this.setProperty("action", action_) + this.setProperty("min", min) + this.setProperty("max", max) + this.setProperty("step", step) + + min = this.properties.min + max = this.properties.max if (min == null) min = -INT_MAX if (max == null) max = INT_MAX @@ -103,7 +119,8 @@ export default class ComfyValueControl extends ComfyGraphNode { v -= this.properties.step; break; case "randomize": - v = Math.floor(Math.random() * range) * (this.properties.step) + min; + const step = this.properties.ignoreStepWhenRandom ? 1 : this.properties.step + v = Math.floor(Math.random() * range) * step + min; default: break; } diff --git a/src/lib/nodes/ComfyWidgetNodes.ts b/src/lib/nodes/ComfyWidgetNodes.ts deleted file mode 100644 index 0185bdc..0000000 --- a/src/lib/nodes/ComfyWidgetNodes.ts +++ /dev/null @@ -1,921 +0,0 @@ -import { LiteGraph, type ContextMenuItem, type LGraphNode, type Vector2, LConnectionKind, LLink, LGraphCanvas, type SlotType, TitleMode, type SlotLayout, LGraph, type INodeInputSlot, type ITextWidget, type INodeOutputSlot, type SerializedLGraphNode, BuiltInSlotType, type PropertyLayout, type IComboWidget, NodeMode, type INumberWidget, type UUID } from "@litegraph-ts/core"; -import ComfyGraphNode, { type ComfyGraphNodeProperties } from "./ComfyGraphNode"; -import type { SvelteComponentDev } from "svelte/internal"; -import { Watch } from "@litegraph-ts/nodes-basic"; -import type IComfyInputSlot from "$lib/IComfyInputSlot"; -import { writable, type Unsubscriber, type Writable, get } from "svelte/store"; -import { clamp, convertComfyOutputToGradio, range, type ComfyUploadImageType, isComfyBoxImageMetadata, filenameToComfyBoxMetadata, type ComfyBoxImageMetadata, isComfyExecutionResult, executionResultToImageMetadata, parseWhateverIntoImageMetadata } from "$lib/utils" -import layoutState from "$lib/stores/layoutState"; -import type { FileData as GradioFileData } from "@gradio/upload"; -import queueState from "$lib/stores/queueState"; - -import ComboWidget from "$lib/widgets/ComboWidget.svelte"; -import RangeWidget from "$lib/widgets/RangeWidget.svelte"; -import TextWidget from "$lib/widgets/TextWidget.svelte"; -import GalleryWidget from "$lib/widgets/GalleryWidget.svelte"; -import ButtonWidget from "$lib/widgets/ButtonWidget.svelte"; -import CheckboxWidget from "$lib/widgets/CheckboxWidget.svelte"; -import RadioWidget from "$lib/widgets/RadioWidget.svelte"; -import ImageUploadWidget from "$lib/widgets/ImageUploadWidget.svelte"; -import ImageEditorWidget from "$lib/widgets/ImageEditorWidget.svelte"; -import type { NodeID } from "$lib/api"; - -export type AutoConfigOptions = { - includeProperties?: Set | null, - setDefaultValue?: boolean - setWidgetTitle?: boolean -} - -/* - * NOTE: If you want to add a new widget but it has the same input/output type - * as another one of the existing widgets, best to create a new "variant" of - * that widget instead. - * - * - Go to layoutState, look for `ALL_ATTRIBUTES,` insert or find a "variant" - * attribute and set `validNodeTypes` to the type of the litegraph node - * - Add a new entry in the `values` array, like "knob" or "dial" for ComfySliderWidget - * - Add an {#if widget.attrs.variant === <...>} statement in the existing Svelte component - * - * Also, BEWARE of calling setOutputData() and triggerSlot() on the same frame! - * You will have to either implement an internal delay on the event triggering - * or use an Event Delay node to ensure the output slot data can propagate to - * the rest of the graph first (see `delayChangedEvent` for details) - */ - -export interface ComfyWidgetProperties extends ComfyGraphNodeProperties { - defaultValue: any -} - -/* - * A node that is tied to a UI widget in the frontend. When the frontend's - * widget is changed, the value of the first output in the node is updated - * in the litegraph instance. - */ -export abstract class ComfyWidgetNode extends ComfyGraphNode { - abstract properties: ComfyWidgetProperties; - - value: Writable - propsChanged: Writable = writable(0) // dummy to indicate if props changed - unsubscribe: Unsubscriber; - - /** Svelte class for the frontend logic */ - abstract svelteComponentType: typeof SvelteComponentDev - - /** If false, user manually set min/max/step, and should not be autoinherited from connected input */ - autoConfig: boolean = true; - - copyFromInputLink: boolean = true; - - /** - * If true wait until next frame update to trigger the changed event. - * Reason is, if the event is triggered immediately then other stuff that wants to run - * their own onExecute on the output value won't have completed yet. - */ - delayChangedEvent: boolean = true; - - private _aboutToChange: number = 0; - private _aboutToChangeValue: any = null; - private _noChangedEvent: boolean = false; - - abstract defaultValue: T; - - /** Names of properties to add as inputs */ - // shownInputProperties: string[] = [] - - /** Names of properties to add as outputs */ - private shownOutputProperties: Record = {} - outputProperties: { name: string, type: string }[] = [] - - override isBackendNode = false; - override serialize_widgets = true; - - - // TODO these are bad, create override methods instead - // input slots - inputIndex: number | null = null; - storeActionName: string | null = "store"; - - // output slots - outputIndex: number | null = 0; - changedIndex: number | null = 1; - - - displayWidget: ITextWidget; - - override size: Vector2 = [60, 40]; - - constructor(name: string, value: T) { - const color = LGraphCanvas.node_colors["blue"] - super(name) - this.value = writable(value) - this.color ||= color.color - this.bgColor ||= color.bgColor - this.displayWidget = this.addWidget( - "text", - "Value", - "" - ); - this.displayWidget.disabled = true; // prevent editing - this.unsubscribe = this.value.subscribe(this.onValueUpdated.bind(this)) - } - - addPropertyAsOutput(propertyName: string, type: string) { - if (this.shownOutputProperties[propertyName]) - return; - - if (!(propertyName in this.properties)) { - throw `No property named ${propertyName} found!` - } - - this.shownOutputProperties[propertyName] = { type, index: this.outputs.length } - this.addOutput(propertyName, type) - } - - formatValue(value: any): string { - return Watch.toString(value) - } - - override changeMode(modeTo: NodeMode): boolean { - const result = super.changeMode(modeTo); - this.notifyPropsChanged(); - return result; - } - - private onValueUpdated(value: any) { - // console.debug("[Widget] valueUpdated", this, value) - this.displayWidget.value = this.formatValue(value) - - if (this.outputIndex !== null && this.outputs.length >= this.outputIndex) { - this.setOutputData(this.outputIndex, get(this.value)) - } - - if (this.changedIndex !== null && this.outputs.length >= this.changedIndex && !this._noChangedEvent) { - if (!this.delayChangedEvent) - this.triggerChangeEvent(get(this.value)) - else { - // console.debug("[Widget] queueChangeEvent", this, value) - this._aboutToChange = 2; // wait 1.5-2 frames, in case we're already in the middle of executing the graph - this._aboutToChangeValue = get(this.value); - } - } - this._noChangedEvent = false; - } - - private triggerChangeEvent(value: any) { - // console.debug("[Widget] trigger changed", this, value) - const changedOutput = this.outputs[this.changedIndex] - if (changedOutput.type === BuiltInSlotType.EVENT) - this.triggerSlot(this.changedIndex, value) - } - - parseValue(value: any): T { return value as T }; - - getValue(): T { - return get(this.value); - } - - setValue(value: any, noChangedEvent: boolean = false) { - if (noChangedEvent) - this._noChangedEvent = true; - - const parsed = this.parseValue(value) - this.value.set(parsed) - - // In case value.set() does not trigger onValueUpdated, we need to reset - // the counter here also. - this._noChangedEvent = false; - } - - override onPropertyChanged(property: string, value: any, prevValue?: any) { - if (this.shownOutputProperties != null) { - const data = this.shownOutputProperties[property] - if (data) - this.setOutputData(data.index, value) - } - } - - /* - * Logic to run if this widget can be treated as output (slider, combo, text) - */ - override onExecute(param: any, options: object) { - if (this.inputIndex != null) { - if (this.inputs.length >= this.inputIndex) { - const data = this.getInputData(this.inputIndex) - if (data != null) { // TODO can "null" be a legitimate value here? - this.setValue(data) - } - } - } - if (this.outputIndex != null) { - if (this.outputs.length >= this.outputIndex) { - this.setOutputData(this.outputIndex, get(this.value)) - } - } - for (const propName in this.shownOutputProperties) { - const data = this.shownOutputProperties[propName] - this.setOutputData(data.index, this.properties[propName]) - } - - // Fire a pending change event after one full step of the graph has - // finished processing - if (this._aboutToChange > 0) { - this._aboutToChange -= 1 - if (this._aboutToChange <= 0) { - const value = this._aboutToChangeValue; - this._aboutToChange = 0; - this._aboutToChangeValue = null; - this.triggerChangeEvent(value); - } - } - } - - override onAction(action: any, param: any, options: { action_call?: string }) { - if (action === this.storeActionName) { - let noChangedEvent = false; - let value = param; - if (param != null && typeof param === "object" && "value" in param) { - value = param.value - if ("noChangedEvent" in param) - noChangedEvent = Boolean(param.noChangedEvent) - } - this.setValue(value, noChangedEvent) - } - } - - onConnectOutput( - outputIndex: number, - inputType: INodeInputSlot["type"], - input: INodeInputSlot, - inputNode: LGraphNode, - inputIndex: number - ): boolean { - const anyConnected = range(this.outputs.length).some(i => this.getOutputLinks(i).length > 0); - - if (this.autoConfig && "config" in input && !anyConnected && (input as IComfyInputSlot).widgetNodeType === this.type) { - this.doAutoConfig(input as IComfyInputSlot) - } - - return true; - } - - doAutoConfig(input: IComfyInputSlot, options: AutoConfigOptions = { setDefaultValue: true, setWidgetTitle: true }) { - // Copy properties from default config in input slot - const comfyInput = input as IComfyInputSlot; - for (const key in comfyInput.config) { - if (options.includeProperties == null || options.includeProperties.has(key)) - this.setProperty(key, comfyInput.config[key]) - } - - if (options.setDefaultValue) { - if ("defaultValue" in this.properties) - this.setValue(this.properties.defaultValue) - } - - if (options.setWidgetTitle) { - const widget = layoutState.findLayoutForNode(this.id as NodeID) - if (widget && input.name !== "") { - widget.attrs.title = input.name; - } - } - - // console.debug("Property copy", input, this.properties) - - this.setValue(get(this.value)) - - this.onAutoConfig(input); - - this.notifyPropsChanged(); - } - - onAutoConfig(input: IComfyInputSlot) { - } - - notifyPropsChanged() { - const layoutEntry = layoutState.findLayoutEntryForNode(this.id as NodeID) - if (layoutEntry && layoutEntry.parent) { - layoutEntry.parent.attrsChanged.set(get(layoutEntry.parent.attrsChanged) + 1) - } - // console.debug("propsChanged", this) - this.propsChanged.set(get(this.propsChanged) + 1) - - } - - override onConnectionsChange( - type: LConnectionKind, - slotIndex: number, - isConnected: boolean, - link: LLink, - ioSlot: (INodeOutputSlot | INodeInputSlot) - ): void { - super.onConnectionsChange(type, slotIndex, isConnected, link, ioSlot); - this.clampConfig(); - } - - clampConfig() { - let changed = false; - for (const link of this.getOutputLinks(0)) { - if (link) { // can be undefined if the link is removed - const node = this.graph._nodes_by_id[link.target_id] - if (node) { - const input = node.inputs[link.target_slot] - if (input && "config" in input) { - this.clampOneConfig(input as IComfyInputSlot) - changed = true; - } - } - } - } - - // Force reactivity change so the frontend can be updated with the new props - this.notifyPropsChanged(); - } - - clampOneConfig(input: IComfyInputSlot) { } - - override onSerialize(o: SerializedLGraphNode) { - (o as any).comfyValue = get(this.value); - (o as any).shownOutputProperties = this.shownOutputProperties - super.onSerialize(o); - } - - override onConfigure(o: SerializedLGraphNode) { - const value = (o as any).comfyValue || LiteGraph.cloneObject(this.defaultValue); - this.value.set(value); - this.shownOutputProperties = (o as any).shownOutputProperties; - } - - override stripUserState(o: SerializedLGraphNode) { - super.stripUserState(o); - (o as any).comfyValue = this.defaultValue; - o.properties.defaultValue = null; - } -} - -export interface ComfySliderProperties extends ComfyWidgetProperties { - min: number, - max: number, - step: number, - precision: number -} - -export class ComfySliderNode extends ComfyWidgetNode { - override properties: ComfySliderProperties = { - tags: [], - defaultValue: 0, - min: 0, - max: 10, - step: 1, - precision: 1 - } - - override svelteComponentType = RangeWidget - override defaultValue = 0; - - static slotLayout: SlotLayout = { - inputs: [ - { name: "value", type: "number" }, - { name: "store", type: BuiltInSlotType.ACTION } - ], - outputs: [ - { name: "value", type: "number" }, - { name: "changed", type: BuiltInSlotType.EVENT }, - ] - } - - override outputProperties = [ - { name: "min", type: "number" }, - { name: "max", type: "number" }, - { name: "step", type: "number" }, - { name: "precision", type: "number" }, - ] - - constructor(name?: string) { - super(name, 0) - } - - override parseValue(value: any): number { - if (typeof value !== "number") - return this.properties.min; - return clamp(value, this.properties.min, this.properties.max) - } - - override clampOneConfig(input: IComfyInputSlot) { - // this.setProperty("min", clamp(this.properties.min, input.config.min, input.config.max)) - // this.setProperty("max", clamp(this.properties.max, input.config.max, input.config.min)) - // this.setProperty("step", Math.min(this.properties.step, input.config.step)) - this.setValue(this.properties.defaultValue) - } -} - -LiteGraph.registerNodeType({ - class: ComfySliderNode, - title: "UI.Slider", - desc: "Slider outputting a number value", - type: "ui/slider" -}) - -export interface ComfyComboProperties extends ComfyWidgetProperties { - values: string[] - - /* JS Function body that takes a parameter named "value" as a parameter and returns the label for each combo entry */ - convertValueToLabelCode: string -} - -export class ComfyComboNode extends ComfyWidgetNode { - override properties: ComfyComboProperties = { - tags: [], - defaultValue: "A", - values: ["A", "B", "C", "D"], - convertValueToLabelCode: "" - } - - static slotLayout: SlotLayout = { - inputs: [ - { name: "value", type: "string" }, - { name: "store", type: BuiltInSlotType.ACTION } - ], - outputs: [ - { name: "value", type: "string" }, - { name: "changed", type: BuiltInSlotType.EVENT } - ] - } - - override svelteComponentType = ComboWidget - override defaultValue = "A"; - override saveUserState = false; - - // True if at least one combo box refresh has taken place - // Wait until the initial graph load for combo to be valid. - firstLoad: Writable; - valuesForCombo: Writable; // Changed when the combo box has values. - - constructor(name?: string) { - super(name, "A") - this.firstLoad = writable(false) - this.valuesForCombo = writable(null) - } - - override onPropertyChanged(property: any, value: any) { - if (property === "values" || property === "convertValueToLabelCode") { - // this.formatValues(this.properties.values) - } - } - - formatValues(values: string[]) { - if (values == null) - return; - - this.properties.values = values; - - let formatter: any; - if (this.properties.convertValueToLabelCode) - formatter = new Function("value", this.properties.convertValueToLabelCode) as (v: string) => string; - else - formatter = (value: any) => `${value}`; - - let valuesForCombo = [] - - try { - valuesForCombo = this.properties.values.map((value, index) => { - return { - value, - label: formatter(value), - index - } - }) - } - catch (err) { - console.error("Failed formatting!", err) - valuesForCombo = this.properties.values.map((value, index) => { - return { - value, - label: `${value}`, - index - } - }) - } - - this.firstLoad.set(true) - this.valuesForCombo.set(valuesForCombo); - } - - onConnectOutput( - outputIndex: number, - inputType: INodeInputSlot["type"], - input: INodeInputSlot, - inputNode: LGraphNode, - inputIndex: number - ): boolean { - if (!super.onConnectOutput(outputIndex, inputType, input, inputNode, inputIndex)) - return false; - - const thisProps = this.properties; - if (!("config" in input)) - return true; - - const comfyInput = input as IComfyInputSlot; - const otherProps = comfyInput.config; - - // Ensure combo options match - if (!(otherProps.values instanceof Array)) - return false; - if (thisProps.values.find((v, i) => otherProps.values.indexOf(v) === -1)) - return false; - - return true; - } - - override parseValue(value: any): string { - if (typeof value !== "string" || this.properties.values.indexOf(value) === -1) - return this.properties.values[0] - return value - } - - override clampOneConfig(input: IComfyInputSlot) { - if (!input.config.values) - this.setValue("") - else if (input.config.values.indexOf(this.properties.value) === -1) { - if (input.config.values.length === 0) - this.setValue("") - else - this.setValue(input.config.defaultValue || input.config.values[0]) - } - } - - override onSerialize(o: SerializedLGraphNode) { - super.onSerialize(o); - // TODO fix saving combo nodes with huge values lists - o.properties.values = [] - } - - override stripUserState(o: SerializedLGraphNode) { - super.stripUserState(o); - o.properties.values = [] - } -} - -LiteGraph.registerNodeType({ - class: ComfyComboNode, - title: "UI.Combo", - desc: "Combo box outputting a string value", - type: "ui/combo" -}) - -export interface ComfyTextProperties extends ComfyWidgetProperties { - multiline: boolean; -} - -export class ComfyTextNode extends ComfyWidgetNode { - override properties: ComfyTextProperties = { - tags: [], - defaultValue: "", - multiline: false - } - - static slotLayout: SlotLayout = { - inputs: [ - { name: "value", type: "string" }, - { name: "store", type: BuiltInSlotType.ACTION } - ], - outputs: [ - { name: "value", type: "string" }, - { name: "changed", type: BuiltInSlotType.EVENT } - ] - } - - override svelteComponentType = TextWidget - override defaultValue = ""; - - constructor(name?: string) { - super(name, "") - } - - override parseValue(value: any): string { - return `${value}` - } -} - -LiteGraph.registerNodeType({ - class: ComfyTextNode, - title: "UI.Text", - desc: "Textbox outputting a string value", - type: "ui/text" -}) - -/** Raw output as received from ComfyUI's backend */ -export interface ComfyExecutionResult { - // Technically this response can contain arbitrary data, but "images" is the - // most frequently used as it's output by LoadImage and PreviewImage, the - // only two output nodes in base ComfyUI. - images: ComfyImageLocation[] | null, -} - -/** Raw output entry as received from ComfyUI's backend */ -export type ComfyImageLocation = { - /* Filename with extension in the subfolder. */ - filename: string, - /* Subfolder in the containing folder. */ - subfolder: string, - /* Base ComfyUI folder where the image is located. */ - type: ComfyUploadImageType -} - -export interface ComfyGalleryProperties extends ComfyWidgetProperties { - index: number, - updateMode: "replace" | "append", -} - -export class ComfyGalleryNode extends ComfyWidgetNode { - override properties: ComfyGalleryProperties = { - tags: [], - defaultValue: [], - index: 0, - updateMode: "replace", - } - - static slotLayout: SlotLayout = { - inputs: [ - { name: "images", type: "OUTPUT" }, - { name: "store", type: BuiltInSlotType.ACTION, options: { color_off: "rebeccapurple", color_on: "rebeccapurple" } } - ], - outputs: [ - { name: "images", type: "COMFYBOX_IMAGES" }, - { name: "selected_index", type: "number" }, - ] - } - - static propertyLayout: PropertyLayout = [ - { name: "updateMode", defaultValue: "replace", type: "enum", options: { values: ["replace", "append"] } } - ] - - override svelteComponentType = GalleryWidget - override defaultValue = [] - override inputIndex = null; - override saveUserState = false; - override outputIndex = null; - override changedIndex = null; - - selectedFilename: string | null = null; - - selectedIndexWidget: ITextWidget; - modeWidget: IComboWidget; - - constructor(name?: string) { - super(name, []) - this.selectedIndexWidget = this.addWidget("text", "Selected", String(this.properties.index), "index") - this.selectedIndexWidget.disabled = true; - this.modeWidget = this.addWidget("combo", "Mode", this.properties.updateMode, null, { property: "updateMode", values: ["replace", "append"] }) - } - - override onPropertyChanged(property: any, value: any) { - if (property === "updateMode") { - this.modeWidget.value = value; - } - } - - override onExecute() { - this.setOutputData(0, get(this.value)) - this.setOutputData(1, this.properties.index) - } - - override onAction(action: any, param: any, options: { action_call?: string }) { - super.onAction(action, param, options) - } - - override formatValue(value: ComfyBoxImageMetadata[] | null): string { - return `Images: ${value?.length || 0}` - } - - override parseValue(param: any): ComfyBoxImageMetadata[] { - const meta = parseWhateverIntoImageMetadata(param) || []; - - console.debug("[ComfyGalleryNode] Received output!", param) - - if (this.properties.updateMode === "append") { - const currentValue = get(this.value) - return currentValue.concat(meta) - } - else { - return meta; - } - } - - override setValue(value: any, noChangedEvent: boolean = false) { - super.setValue(value, noChangedEvent) - this.setProperty("index", null) - } -} - -LiteGraph.registerNodeType({ - class: ComfyGalleryNode, - title: "UI.Gallery", - desc: "Gallery that shows most recent outputs", - type: "ui/gallery" -}) - -export interface ComfyButtonProperties extends ComfyWidgetProperties { - param: string -} - -export class ComfyButtonNode extends ComfyWidgetNode { - override properties: ComfyButtonProperties = { - tags: [], - defaultValue: false, - param: "bang" - } - - static slotLayout: SlotLayout = { - outputs: [ - { name: "clicked", type: BuiltInSlotType.EVENT }, - { name: "isClicked", type: "boolean" }, - ] - } - - override svelteComponentType = ButtonWidget; - override defaultValue = false; - override outputIndex = 1; - - constructor(name?: string) { - super(name, false) - } - - override parseValue(param: any): boolean { - return Boolean(param); - } - - onClick() { - this.setValue(true) - this.triggerSlot(0, this.properties.param); - this.setValue(false) // TODO onRelease - } -} - -LiteGraph.registerNodeType({ - class: ComfyButtonNode, - title: "UI.Button", - desc: "Button that triggers an event when clicked", - type: "ui/button" -}) - -export interface ComfyCheckboxProperties extends ComfyWidgetProperties { -} - -export class ComfyCheckboxNode extends ComfyWidgetNode { - override properties: ComfyCheckboxProperties = { - tags: [], - defaultValue: false, - } - - static slotLayout: SlotLayout = { - inputs: [ - { name: "value", type: "boolean" }, - { name: "store", type: BuiltInSlotType.ACTION } - ], - outputs: [ - { name: "value", type: "boolean" }, - { name: "changed", type: BuiltInSlotType.EVENT }, - ] - } - - override svelteComponentType = CheckboxWidget; - override defaultValue = false; - override changedIndex = 1; - - constructor(name?: string) { - super(name, false) - } - - override parseValue(param: any) { - return Boolean(param); - } -} - -LiteGraph.registerNodeType({ - class: ComfyCheckboxNode, - title: "UI.Checkbox", - desc: "Checkbox that stores a boolean value", - type: "ui/checkbox" -}) - -export interface ComfyRadioProperties extends ComfyWidgetProperties { - choices: string[] -} - -export class ComfyRadioNode extends ComfyWidgetNode { - override properties: ComfyRadioProperties = { - tags: [], - choices: ["Choice A", "Choice B", "Choice C"], - defaultValue: "Choice A", - } - - static slotLayout: SlotLayout = { - inputs: [ - { name: "value", type: "string,number" }, - { name: "store", type: BuiltInSlotType.ACTION } - ], - outputs: [ - { name: "value", type: "string" }, - { name: "index", type: "number" }, - { name: "changed", type: BuiltInSlotType.EVENT }, - ] - } - - override svelteComponentType = RadioWidget; - override defaultValue = ""; - override changedIndex = 2; - - indexWidget: INumberWidget; - - index = 0; - - constructor(name?: string) { - super(name, "Choice A") - this.indexWidget = this.addWidget("number", "Index", this.index) - this.indexWidget.disabled = true; - } - - override onExecute(param: any, options: object) { - super.onExecute(param, options); - this.setOutputData(1, this.index) - } - - override setValue(value: string, noChangedEvent: boolean = false) { - super.setValue(value, noChangedEvent) - - value = get(this.value); - - const index = this.properties.choices.indexOf(value) - if (index === -1) - return; - - this.index = index; - this.indexWidget.value = index; - this.setOutputData(1, this.index) - } - - override parseValue(param: any): string { - if (typeof param === "string") { - if (this.properties.choices.indexOf(param) === -1) - return this.properties.choices[0] - return param - } - else { - const index = clamp(parseInt(param), 0, this.properties.choices.length - 1) - return this.properties.choices[index] || this.properties.defaultValue - } - } -} - -LiteGraph.registerNodeType({ - class: ComfyRadioNode, - title: "UI.Radio", - desc: "Radio that outputs a string and index", - type: "ui/radio" -}) - -export interface ComfyImageEditorNodeProperties extends ComfyWidgetProperties { -} - -export class ComfyImageEditorNode extends ComfyWidgetNode { - override properties: ComfyImageEditorNodeProperties = { - defaultValue: [], - tags: [], - } - - static slotLayout: SlotLayout = { - inputs: [ - { name: "store", type: BuiltInSlotType.ACTION } - ], - outputs: [ - { name: "images", type: "COMFYBOX_IMAGES" }, // TODO support batches - { name: "changed", type: BuiltInSlotType.EVENT }, - ] - } - - override svelteComponentType = ImageEditorWidget; - override defaultValue = []; - override outputIndex = 0; - override inputIndex = null; - override changedIndex = 1; - override storeActionName = "store"; - override saveUserState = false; - - constructor(name?: string) { - super(name, []) - } - - override parseValue(value: any): ComfyBoxImageMetadata[] { - return parseWhateverIntoImageMetadata(value) || []; - } - - override formatValue(value: GradioFileData[]): string { - return `Images: ${value?.length || 0}` - } -} - -LiteGraph.registerNodeType({ - class: ComfyImageEditorNode, - title: "UI.ImageEditor", - desc: "Widget that lets you upload and edit a multi-layered image. Can also act like a standalone image uploader.", - type: "ui/image_editor" -}) diff --git a/src/lib/nodes/index.ts b/src/lib/nodes/index.ts index 19b35cd..fbe0e68 100644 --- a/src/lib/nodes/index.ts +++ b/src/lib/nodes/index.ts @@ -1,5 +1,4 @@ export { default as ComfyReroute } from "./ComfyReroute" -export { ComfyWidgetNode, ComfySliderNode, ComfyComboNode, ComfyTextNode } from "./ComfyWidgetNodes" export { ComfyQueueEvents, ComfyCopyAction, @@ -17,4 +16,3 @@ export { default as ComfySelector } from "./ComfySelector" export { default as ComfyTriggerNewEventNode } from "./ComfyTriggerNewEventNode" export { default as ComfyConfigureQueuePromptButton } from "./ComfyConfigureQueuePromptButton" export { default as ComfyPickImageNode } from "./ComfyPickImageNode" -export { default as ComfyImageToFilepathNode } from "./ComfyImageToFilepathNode" diff --git a/src/lib/nodes/widgets/ComfyButtonNode.ts b/src/lib/nodes/widgets/ComfyButtonNode.ts new file mode 100644 index 0000000..ed82a65 --- /dev/null +++ b/src/lib/nodes/widgets/ComfyButtonNode.ts @@ -0,0 +1,48 @@ +import { BuiltInSlotType, LiteGraph, type SlotLayout } from "@litegraph-ts/core"; + +import ButtonWidget from "$lib/widgets/ButtonWidget.svelte"; +import ComfyWidgetNode, { type ComfyWidgetProperties } from "./ComfyWidgetNode"; + +export interface ComfyButtonProperties extends ComfyWidgetProperties { + param: string +} + +export default class ComfyButtonNode extends ComfyWidgetNode { + override properties: ComfyButtonProperties = { + tags: [], + defaultValue: false, + param: "bang" + } + + static slotLayout: SlotLayout = { + outputs: [ + { name: "clicked", type: BuiltInSlotType.EVENT }, + ] + } + + override svelteComponentType = ButtonWidget; + override defaultValue = false; + override outputSlotName = null; + override changedEventName = null; + + constructor(name?: string) { + super(name, false) + } + + override parseValue(param: any): boolean { + return Boolean(param); + } + + onClick() { + this.setValue(true) + this.triggerSlot(0, this.properties.param); + this.setValue(false) // TODO onRelease + } +} + +LiteGraph.registerNodeType({ + class: ComfyButtonNode, + title: "UI.Button", + desc: "Button that triggers an event when clicked", + type: "ui/button" +}) diff --git a/src/lib/nodes/widgets/ComfyCheckboxNode.ts b/src/lib/nodes/widgets/ComfyCheckboxNode.ts new file mode 100644 index 0000000..91aebf6 --- /dev/null +++ b/src/lib/nodes/widgets/ComfyCheckboxNode.ts @@ -0,0 +1,43 @@ +import { BuiltInSlotType, LiteGraph, type SlotLayout } from "@litegraph-ts/core"; + +import CheckboxWidget from "$lib/widgets/CheckboxWidget.svelte"; +import type { ComfyWidgetProperties } from "./ComfyWidgetNode"; +import ComfyWidgetNode from "./ComfyWidgetNode"; + +export interface ComfyCheckboxProperties extends ComfyWidgetProperties { +} + +export default class ComfyCheckboxNode extends ComfyWidgetNode { + override properties: ComfyCheckboxProperties = { + tags: [], + defaultValue: false, + } + + static slotLayout: SlotLayout = { + inputs: [ + { name: "store", type: BuiltInSlotType.ACTION } + ], + outputs: [ + { name: "value", type: "boolean" }, + { name: "changed", type: BuiltInSlotType.EVENT }, + ] + } + + override svelteComponentType = CheckboxWidget; + override defaultValue = false; + + constructor(name?: string) { + super(name, false) + } + + override parseValue(param: any) { + return Boolean(param); + } +} + +LiteGraph.registerNodeType({ + class: ComfyCheckboxNode, + title: "UI.Checkbox", + desc: "Checkbox that stores a boolean value", + type: "ui/checkbox" +}) diff --git a/src/lib/nodes/widgets/ComfyComboNode.ts b/src/lib/nodes/widgets/ComfyComboNode.ts new file mode 100644 index 0000000..bb8b5f9 --- /dev/null +++ b/src/lib/nodes/widgets/ComfyComboNode.ts @@ -0,0 +1,173 @@ +import type IComfyInputSlot from "$lib/IComfyInputSlot"; +import { BuiltInSlotType, LiteGraph, type INodeInputSlot, type LGraphNode, type SerializedLGraphNode, type SlotLayout } from "@litegraph-ts/core"; +import { get, writable, type Writable } from "svelte/store"; + +import ComboWidget from "$lib/widgets/ComboWidget.svelte"; +import type { ComfyWidgetProperties } from "./ComfyWidgetNode"; +import ComfyWidgetNode from "./ComfyWidgetNode"; + + +export interface ComfyComboProperties extends ComfyWidgetProperties { + values: string[] + + /* JS Function body that takes a parameter named "value" as a parameter and returns the label for each combo entry */ + convertValueToLabelCode: string +} + +export default class ComfyComboNode extends ComfyWidgetNode { + override properties: ComfyComboProperties = { + tags: [], + defaultValue: "A", + values: ["A", "B", "C", "D"], + convertValueToLabelCode: "" + } + + static slotLayout: SlotLayout = { + inputs: [ + { name: "store", type: BuiltInSlotType.ACTION } + ], + outputs: [ + { name: "value", type: "string" }, + { name: "changed", type: BuiltInSlotType.EVENT } + ] + } + + override svelteComponentType = ComboWidget + override defaultValue = "A"; + override saveUserState = false; + + // True if at least one combo box refresh has taken place + // Wait until the initial graph load for combo to be valid. + firstLoad: Writable; + lightUp: Writable; + valuesForCombo: Writable; // Changed when the combo box has values. + + constructor(name?: string) { + super(name, "A") + this.firstLoad = writable(false) + this.lightUp = writable(true) + this.valuesForCombo = writable(null) + } + + override onPropertyChanged(property: any, value: any) { + if (property === "values" || property === "convertValueToLabelCode") { + // this.formatValues(this.properties.values) + } + } + + formatValues(values: string[], defaultValue?: string, lightUp: boolean = false) { + if (values == null) + return; + + let changed = this.properties.values != values; + this.properties.values = values; + + const oldValue = get(this.value) + if (this.properties.values.indexOf(oldValue) === -1) { + changed = true; + this.value.set(defaultValue || this.properties.values[0]) + } + + if (lightUp && get(this.firstLoad) && changed) + this.lightUp.set(true) + + let formatter: any; + if (this.properties.convertValueToLabelCode) + formatter = new Function("value", this.properties.convertValueToLabelCode) as (v: string) => string; + else + formatter = (value: any) => `${value}`; + + let valuesForCombo = [] + + try { + valuesForCombo = this.properties.values.map((value, index) => { + return { + value, + label: formatter(value), + index + } + }) + } + catch (err) { + console.error("Failed formatting!", err) + valuesForCombo = this.properties.values.map((value, index) => { + return { + value, + label: `${value}`, + index + } + }) + } + + this.firstLoad.set(true) + this.valuesForCombo.set(valuesForCombo); + } + + onConnectOutput( + outputIndex: number, + inputType: INodeInputSlot["type"], + input: INodeInputSlot, + inputNode: LGraphNode, + inputIndex: number + ): boolean { + if (!super.onConnectOutput(outputIndex, inputType, input, inputNode, inputIndex)) + return false; + + const thisProps = this.properties; + if (!("config" in input)) + return true; + + const comfyInput = input as IComfyInputSlot; + const otherProps = comfyInput.config; + + console.warn("CHECK COMBO CONNECTION", otherProps, thisProps) + + // Ensure combo options match + if (!(otherProps.values instanceof Array) || otherProps.values.length === 0) + return false; + + thisProps.values = Array.from(otherProps.values); + const value = get(this.value) + if (thisProps.values.indexOf(value) === -1) + this.setValue(otherProps.defaultValue || thisProps.values[0]) + + console.warn("PASSED") + + return true; + } + + override parseValue(value: any): string { + if (typeof value !== "string" || this.properties.values.indexOf(value) === -1) + return this.properties.values[0] + return value + } + + override clampOneConfig(input: IComfyInputSlot) { + if (!input.config.values) + this.setValue("") + else if (input.config.values.indexOf(this.properties.value) === -1) { + if (input.config.values.length === 0) + this.setValue("") + else + this.setValue(input.config.defaultValue || input.config.values[0]) + } + } + + override onSerialize(o: SerializedLGraphNode) { + super.onSerialize(o); + // TODO fix saving combo nodes with huge values lists + o.properties.values = [] + } + + override stripUserState(o: SerializedLGraphNode) { + super.stripUserState(o); + o.properties.values = [] + } +} + +LiteGraph.registerNodeType({ + class: ComfyComboNode, + title: "UI.Combo", + desc: "Combo box outputting a string value", + type: "ui/combo" +}) diff --git a/src/lib/nodes/widgets/ComfyGalleryNode.ts b/src/lib/nodes/widgets/ComfyGalleryNode.ts new file mode 100644 index 0000000..578e990 --- /dev/null +++ b/src/lib/nodes/widgets/ComfyGalleryNode.ts @@ -0,0 +1,113 @@ +import { parseWhateverIntoImageMetadata, type ComfyBoxImageMetadata, type ComfyUploadImageType } from "$lib/utils"; +import { BuiltInSlotType, LiteGraph, type IComboWidget, type ITextWidget, type PropertyLayout, type SlotLayout } from "@litegraph-ts/core"; +import { get, writable, type Writable } from "svelte/store"; + +import GalleryWidget from "$lib/widgets/GalleryWidget.svelte"; +import type { ComfyWidgetProperties } from "./ComfyWidgetNode"; +import ComfyWidgetNode from "./ComfyWidgetNode"; + +export interface ComfyGalleryProperties extends ComfyWidgetProperties { + index: number | null, + updateMode: "replace" | "append", +} + +export default class ComfyGalleryNode extends ComfyWidgetNode { + override properties: ComfyGalleryProperties = { + tags: [], + defaultValue: [], + index: 0, + updateMode: "replace", + } + + static slotLayout: SlotLayout = { + inputs: [ + { name: "images", type: "OUTPUT" }, + { name: "store", type: BuiltInSlotType.ACTION, options: { color_off: "rebeccapurple", color_on: "rebeccapurple" } } + ], + outputs: [ + { name: "images", type: "COMFYBOX_IMAGES" }, + { name: "selected_index", type: "number" }, + ] + } + + static propertyLayout: PropertyLayout = [ + { name: "updateMode", defaultValue: "replace", type: "enum", options: { values: ["replace", "append"] } } + ] + + override svelteComponentType = GalleryWidget + override defaultValue = [] + override saveUserState = false; + override outputSlotName = null; + override changedEventName = null; + + selectedFilename: string | null = null; + + selectedIndexWidget: ITextWidget; + modeWidget: IComboWidget; + + imageWidth: Writable = writable(0); + imageHeight: Writable = writable(0); + + constructor(name?: string) { + super(name, []) + this.selectedIndexWidget = this.addWidget("text", "Selected", String(this.properties.index), "index") + this.selectedIndexWidget.disabled = true; + this.modeWidget = this.addWidget("combo", "Mode", this.properties.updateMode, null, { property: "updateMode", values: ["replace", "append"] }) + } + + override onPropertyChanged(property: any, value: any) { + if (property === "updateMode") { + this.modeWidget.value = value; + } + } + + override onExecute() { + const value = get(this.value) + this.setOutputData(0, value) + this.setOutputData(1, this.properties.index) + + if (this.properties.index != null && value && value[this.properties.index] != null) { + const image = value[this.properties.index]; + image.width = get(this.imageWidth) + image.height = get(this.imageHeight) + } + } + + override onAction(action: any, param: any, options: { action_call?: string }) { + super.onAction(action, param, options) + } + + override formatValue(value: ComfyBoxImageMetadata[] | null): string { + return `Images: ${value?.length || 0}` + } + + override parseValue(param: any): ComfyBoxImageMetadata[] { + if (param == null) + return [] + + const meta = parseWhateverIntoImageMetadata(param) || []; + + console.debug("[ComfyGalleryNode] Received output!", param) + + if (this.properties.updateMode === "append") { + const currentValue = get(this.value) + return currentValue.concat(meta) + } + else { + this.notifyPropsChanged(); + return meta; + } + } + + override setValue(value: any, noChangedEvent: boolean = false) { + super.setValue(value, noChangedEvent) + this.setProperty("index", null) + } +} + +LiteGraph.registerNodeType({ + class: ComfyGalleryNode, + title: "UI.Gallery", + desc: "Gallery that shows most recent outputs", + type: "ui/gallery" +}) diff --git a/src/lib/nodes/widgets/ComfyImageUploadNode.ts b/src/lib/nodes/widgets/ComfyImageUploadNode.ts new file mode 100644 index 0000000..de44ef0 --- /dev/null +++ b/src/lib/nodes/widgets/ComfyImageUploadNode.ts @@ -0,0 +1,65 @@ +import { parseWhateverIntoImageMetadata, type ComfyBoxImageMetadata } from "$lib/utils"; +import type { FileData as GradioFileData } from "@gradio/upload"; +import { BuiltInSlotType, LiteGraph, type SlotLayout } from "@litegraph-ts/core"; + +import ImageUploadWidget from "$lib/widgets/ImageUploadWidget.svelte"; +import type { ComfyWidgetProperties } from "./ComfyWidgetNode"; +import ComfyWidgetNode from "./ComfyWidgetNode"; +import { get, writable, type Writable } from "svelte/store"; + +export interface ComfyImageUploadNodeProperties extends ComfyWidgetProperties { +} + +export default class ComfyImageUploadNode extends ComfyWidgetNode { + properties: ComfyImageUploadNodeProperties = { + defaultValue: [], + tags: [], + } + + static slotLayout: SlotLayout = { + inputs: [ + { name: "store", type: BuiltInSlotType.ACTION } + ], + outputs: [ + { name: "images", type: "COMFYBOX_IMAGES" }, // TODO support batches + { name: "changed", type: BuiltInSlotType.EVENT }, + ] + } + + override svelteComponentType = ImageUploadWidget; + override defaultValue = []; + override outputSlotName = "images"; + override storeActionName = "store"; + override saveUserState = false; + + imgWidth: Writable = writable(0); + imgHeight: Writable = writable(0); + + constructor(name?: string) { + super(name, []) + } + + override onExecute() { + // TODO better way of getting image size? + const value = get(this.value) + if (value && value.length > 0) { + value[0].width = get(this.imgWidth) + value[0].height = get(this.imgHeight) + } + } + + override parseValue(value: any): ComfyBoxImageMetadata[] { + return parseWhateverIntoImageMetadata(value) || []; + } + + override formatValue(value: GradioFileData[]): string { + return `Images: ${value?.length || 0}` + } +} + +LiteGraph.registerNodeType({ + class: ComfyImageUploadNode, + title: "UI.ImageUpload", + desc: "Widget that lets you upload and edit a multi-layered image. Can also act like a standalone image uploader.", + type: "ui/image_upload" +}) diff --git a/src/lib/nodes/widgets/ComfyNumberNode.ts b/src/lib/nodes/widgets/ComfyNumberNode.ts new file mode 100644 index 0000000..ca58b6e --- /dev/null +++ b/src/lib/nodes/widgets/ComfyNumberNode.ts @@ -0,0 +1,69 @@ +import type IComfyInputSlot from "$lib/IComfyInputSlot"; +import { clamp } from "$lib/utils"; +import { BuiltInSlotType, LiteGraph, type SlotLayout } from "@litegraph-ts/core"; + +import NumberWidget from "$lib/widgets/NumberWidget.svelte"; +import type { ComfyWidgetProperties } from "./ComfyWidgetNode"; +import ComfyWidgetNode from "./ComfyWidgetNode"; + +export interface ComfyNumberProperties extends ComfyWidgetProperties { + min: number, + max: number, + step: number, + precision: number +} + +export default class ComfyNumberNode extends ComfyWidgetNode { + override properties: ComfyNumberProperties = { + tags: [], + defaultValue: 0, + min: 0, + max: 10, + step: 1, + precision: 1 + } + + override svelteComponentType = NumberWidget + override defaultValue = 0; + + static slotLayout: SlotLayout = { + inputs: [ + { name: "store", type: BuiltInSlotType.ACTION } + ], + outputs: [ + { name: "value", type: "number" }, + { name: "changed", type: BuiltInSlotType.EVENT }, + ] + } + + override outputProperties = [ + { name: "min", type: "number" }, + { name: "max", type: "number" }, + { name: "step", type: "number" }, + { name: "precision", type: "number" }, + ] + + constructor(name?: string) { + super(name, 0) + } + + override parseValue(value: any): number { + if (typeof value !== "number") + return this.properties.min; + return clamp(value, this.properties.min, this.properties.max) + } + + override clampOneConfig(input: IComfyInputSlot) { + // this.setProperty("min", clamp(this.properties.min, input.config.min, input.config.max)) + // this.setProperty("max", clamp(this.properties.max, input.config.max, input.config.min)) + // this.setProperty("step", Math.min(this.properties.step, input.config.step)) + this.setValue(this.properties.defaultValue) + } +} + +LiteGraph.registerNodeType({ + class: ComfyNumberNode, + title: "UI.Number", + desc: "Displays a number, by default in a slider format.", + type: "ui/number" +}) diff --git a/src/lib/nodes/widgets/ComfyRadioNode.ts b/src/lib/nodes/widgets/ComfyRadioNode.ts new file mode 100644 index 0000000..aee9f86 --- /dev/null +++ b/src/lib/nodes/widgets/ComfyRadioNode.ts @@ -0,0 +1,82 @@ +import { clamp } from "$lib/utils"; +import { BuiltInSlotType, LiteGraph, type INumberWidget, type SlotLayout } from "@litegraph-ts/core"; +import { get } from "svelte/store"; + +import RadioWidget from "$lib/widgets/RadioWidget.svelte"; +import type { ComfyWidgetProperties } from "./ComfyWidgetNode"; +import ComfyWidgetNode from "./ComfyWidgetNode"; + + +export interface ComfyRadioProperties extends ComfyWidgetProperties { + choices: string[] +} + +export default class ComfyRadioNode extends ComfyWidgetNode { + override properties: ComfyRadioProperties = { + tags: [], + choices: ["Choice A", "Choice B", "Choice C"], + defaultValue: "Choice A", + } + + static slotLayout: SlotLayout = { + inputs: [ + { name: "store", type: BuiltInSlotType.ACTION } + ], + outputs: [ + { name: "value", type: "string" }, + { name: "index", type: "number" }, + { name: "changed", type: BuiltInSlotType.EVENT }, + ] + } + + override svelteComponentType = RadioWidget; + override defaultValue = ""; + + indexWidget: INumberWidget; + + index = 0; + + constructor(name?: string) { + super(name, "Choice A") + this.indexWidget = this.addWidget("number", "Index", this.index) + this.indexWidget.disabled = true; + } + + override onExecute(param: any, options: object) { + super.onExecute(param, options); + this.setOutputData(1, this.index) + } + + override setValue(value: string, noChangedEvent: boolean = false) { + super.setValue(value, noChangedEvent) + + value = get(this.value); + + const index = this.properties.choices.indexOf(value) + if (index === -1) + return; + + this.index = index; + this.indexWidget.value = index; + this.setOutputData(1, this.index) + } + + override parseValue(param: any): string { + if (typeof param === "string") { + if (this.properties.choices.indexOf(param) === -1) + return this.properties.choices[0] + return param + } + else { + const index = clamp(parseInt(param), 0, this.properties.choices.length - 1) + return this.properties.choices[index] || this.properties.defaultValue + } + } +} + +LiteGraph.registerNodeType({ + class: ComfyRadioNode, + title: "UI.Radio", + desc: "Radio that outputs a string and index", + type: "ui/radio" +}) diff --git a/src/lib/nodes/widgets/ComfyTextNode.ts b/src/lib/nodes/widgets/ComfyTextNode.ts new file mode 100644 index 0000000..4a8d35e --- /dev/null +++ b/src/lib/nodes/widgets/ComfyTextNode.ts @@ -0,0 +1,46 @@ +import { BuiltInSlotType, LiteGraph, type SlotLayout } from "@litegraph-ts/core"; + +import TextWidget from "$lib/widgets/TextWidget.svelte"; +import ComfyWidgetNode, { type ComfyWidgetProperties } from "./ComfyWidgetNode"; + +export interface ComfyTextProperties extends ComfyWidgetProperties { + multiline: boolean; +} + +export default class ComfyTextNode extends ComfyWidgetNode { + override properties: ComfyTextProperties = { + tags: [], + defaultValue: "", + multiline: false + } + + static slotLayout: SlotLayout = { + inputs: [ + { name: "value", type: "string" }, + { name: "store", type: BuiltInSlotType.ACTION } + ], + outputs: [ + { name: "value", type: "string" }, + { name: "changed", type: BuiltInSlotType.EVENT } + ] + } + + override inputSlotName = "value"; + override svelteComponentType = TextWidget + override defaultValue = ""; + + constructor(name?: string) { + super(name, "") + } + + override parseValue(value: any): string { + return `${value}` + } +} + +LiteGraph.registerNodeType({ + class: ComfyTextNode, + title: "UI.Text", + desc: "Textbox outputting a string value", + type: "ui/text" +}) diff --git a/src/lib/nodes/widgets/ComfyWidgetNode.ts b/src/lib/nodes/widgets/ComfyWidgetNode.ts new file mode 100644 index 0000000..4937bd9 --- /dev/null +++ b/src/lib/nodes/widgets/ComfyWidgetNode.ts @@ -0,0 +1,349 @@ +import type IComfyInputSlot from "$lib/IComfyInputSlot"; +import layoutState from "$lib/stores/layoutState"; +import { range } from "$lib/utils"; +import { LConnectionKind, LGraphCanvas, LLink, LiteGraph, NodeMode, type INodeInputSlot, type INodeOutputSlot, type ITextWidget, type LGraphNode, type SerializedLGraphNode, type Vector2 } from "@litegraph-ts/core"; +import { Watch } from "@litegraph-ts/nodes-basic"; +import type { SvelteComponentDev } from "svelte/internal"; +import { get, writable, type Unsubscriber, type Writable } from "svelte/store"; + +import type { ComfyNodeID } from "$lib/api"; +import type { ComfyGraphNodeProperties } from "../ComfyGraphNode"; +import ComfyGraphNode from "../ComfyGraphNode"; + +export type AutoConfigOptions = { + includeProperties?: Set | null, + setDefaultValue?: boolean + setWidgetTitle?: boolean +} + +/* + * NOTE: If you want to add a new widget but it has the same input/output type + * as another one of the existing widgets, best to create a new "variant" of + * that widget instead. + * + * - Go to layoutState, look for `ALL_ATTRIBUTES,` insert or find a "variant" + * attribute and set `validNodeTypes` to the type of the litegraph node + * - Add a new entry in the `values` array, like "knob" or "dial" for ComfyNumberWidget + * - Add an {#if widget.attrs.variant === <...>} statement in the existing Svelte component + * + * Also, BEWARE of calling setOutputData() and triggerSlot() on the same frame! + * You will have to either implement an internal delay on the event triggering + * or use an Event Delay node to ensure the output slot data can propagate to + * the rest of the graph first (see `delayChangedEvent` for details) + */ + +export interface ComfyWidgetProperties extends ComfyGraphNodeProperties { + defaultValue: any +} + +/* + * A node that is tied to a UI widget in the frontend. When the frontend's + * widget is changed, the value of the first output in the node is updated + * in the litegraph instance. + */ +export default abstract class ComfyWidgetNode extends ComfyGraphNode { + abstract properties: ComfyWidgetProperties; + + value: Writable + propsChanged: Writable = writable(0) // dummy to indicate if props changed + unsubscribe: Unsubscriber; + + /** Svelte class for the frontend logic */ + abstract svelteComponentType: typeof SvelteComponentDev + + /** If false, user manually set min/max/step, and should not be autoinherited from connected input */ + autoConfig: boolean = true; + + copyFromInputLink: boolean = true; + + /** + * If true wait until next frame update to trigger the changed event. + * Reason is, if the event is triggered immediately then other stuff that wants to run + * their own onExecute on the output value won't have completed yet. + */ + delayChangedEvent: boolean = true; + + private _aboutToChange: number = 0; + private _aboutToChangeValue: any = null; + private _noChangedEvent: boolean = false; + + abstract defaultValue: T; + + /** Names of properties to add as inputs */ + // shownInputProperties: string[] = [] + + /** Names of properties to add as outputs */ + private shownOutputProperties: Record = {} + outputProperties: { name: string, type: string }[] = [] + + override isBackendNode = false; + override serialize_widgets = true; + + // input slots + inputSlotName: string | null = "value"; + storeActionName: string | null = "store"; + + // output slots + outputSlotName: string | null = "value"; + changedEventName: string | null = "changed"; + + displayWidget: ITextWidget; + + override size: Vector2 = [60, 40]; + + constructor(name: string, value: T) { + const color = LGraphCanvas.node_colors["blue"] + super(name) + this.value = writable(value) + this.color ||= color.color + this.bgColor ||= color.bgColor + this.displayWidget = this.addWidget( + "text", + "Value", + "" + ); + this.displayWidget.disabled = true; // prevent editing + this.unsubscribe = this.value.subscribe(this.onValueUpdated.bind(this)) + } + + addPropertyAsOutput(propertyName: string, type: string) { + if (this.shownOutputProperties[propertyName]) + return; + + if (!(propertyName in this.properties)) { + throw `No property named ${propertyName} found!` + } + + const outputName = "@" + propertyName; + this.shownOutputProperties[propertyName] = { type, outputName } + this.addOutput(outputName, type) + } + + formatValue(value: any): string { + return Watch.toString(value) + } + + override changeMode(modeTo: NodeMode): boolean { + const result = super.changeMode(modeTo); + this.notifyPropsChanged(); + return result; + } + + private onValueUpdated(value: any) { + // console.debug("[Widget] valueUpdated", this, value) + this.displayWidget.value = this.formatValue(value) + + if (this.outputSlotName !== null) { + const outputIndex = this.findOutputSlotIndexByName(this.outputSlotName) + if (outputIndex !== -1) + this.setOutputData(outputIndex, get(this.value)) + } + + if (this.changedEventName !== null && !this._noChangedEvent) { + if (!this.delayChangedEvent) + this.triggerChangeEvent(get(this.value)) + else { + // console.debug("[Widget] queueChangeEvent", this, value) + this._aboutToChange = 2; // wait 1.5-2 frames, in case we're already in the middle of executing the graph + this._aboutToChangeValue = get(this.value); + } + } + this._noChangedEvent = false; + } + + private triggerChangeEvent(value: any) { + if (this.changedEventName == null) + return; + + // console.debug("[Widget] trigger changed", this, value) + this.trigger(this.changedEventName, value) + } + + parseValue(value: any): T { return value as T }; + + getValue(): T { + return get(this.value); + } + + setValue(value: any, noChangedEvent: boolean = false) { + if (noChangedEvent) + this._noChangedEvent = true; + + const parsed = this.parseValue(value) + this.value.set(parsed) + + // In case value.set() does not trigger onValueUpdated, we need to reset + // the counter here also. + this._noChangedEvent = false; + } + + override onPropertyChanged(property: string, value: any, prevValue?: any) { + if (this.shownOutputProperties != null) { + const data = this.shownOutputProperties[property] + if (data) { + const index = this.findOutputSlotIndexByName(data.outputName) + if (index !== -1) + this.setOutputData(index, value) + } + } + } + + /* + * Logic to run if this widget can be treated as output (slider, combo, text) + */ + override onExecute(param: any, options: object) { + if (this.inputSlotName != null) { + const inputIndex = this.findInputSlotIndexByName(this.inputSlotName) + if (inputIndex !== -1) { + const data = this.getInputData(inputIndex) + if (data != null) { // TODO can "null" be a legitimate value here? + this.setValue(data) + } + } + } + if (this.outputSlotName != null) { + const outputIndex = this.findOutputSlotIndexByName(this.outputSlotName) + if (outputIndex !== -1) + this.setOutputData(outputIndex, get(this.value)) + } + for (const propName in this.shownOutputProperties) { + const data = this.shownOutputProperties[propName] + const index = this.findOutputSlotIndexByName(data.outputName) + if (index !== -1) + this.setOutputData(index, this.properties[propName]) + } + + // Fire a pending change event after one full step of the graph has + // finished processing + if (this._aboutToChange > 0) { + this._aboutToChange -= 1 + if (this._aboutToChange <= 0) { + const value = this._aboutToChangeValue; + this._aboutToChange = 0; + this._aboutToChangeValue = null; + this.triggerChangeEvent(value); + } + } + } + + override onAction(action: any, param: any, options: { action_call?: string }) { + if (action === this.storeActionName) { + let noChangedEvent = false; + let value = param; + if (param != null && typeof param === "object" && "value" in param) { + value = param.value + if ("noChangedEvent" in param) + noChangedEvent = Boolean(param.noChangedEvent) + } + this.setValue(value, noChangedEvent) + } + } + + onConnectOutput( + outputIndex: number, + inputType: INodeInputSlot["type"], + input: INodeInputSlot, + inputNode: LGraphNode, + inputIndex: number + ): boolean { + const anyConnected = range(this.outputs.length).some(i => this.getOutputLinks(i).length > 0); + + if (this.autoConfig && "config" in input && !anyConnected && (input as IComfyInputSlot).widgetNodeType === this.type) { + this.doAutoConfig(input as IComfyInputSlot) + } + + return true; + } + + doAutoConfig(input: IComfyInputSlot, options: AutoConfigOptions = { setDefaultValue: true, setWidgetTitle: true }) { + // Copy properties from default config in input slot + const comfyInput = input as IComfyInputSlot; + for (const key in comfyInput.config) { + if (options.includeProperties == null || options.includeProperties.has(key)) + this.setProperty(key, comfyInput.config[key]) + } + + if (options.setDefaultValue) { + if ("defaultValue" in this.properties) + this.setValue(this.properties.defaultValue) + } + + if (options.setWidgetTitle) { + const widget = layoutState.findLayoutForNode(this.id as ComfyNodeID) + if (widget && input.name !== "") { + widget.attrs.title = input.name; + } + } + + // console.debug("Property copy", input, this.properties) + + this.setValue(get(this.value)) + + this.onAutoConfig(input); + + this.notifyPropsChanged(); + } + + onAutoConfig(input: IComfyInputSlot) { + } + + notifyPropsChanged() { + const layoutEntry = layoutState.findLayoutEntryForNode(this.id as ComfyNodeID) + if (layoutEntry && layoutEntry.parent) { + layoutEntry.parent.attrsChanged.set(get(layoutEntry.parent.attrsChanged) + 1) + } + // console.debug("propsChanged", this) + this.propsChanged.set(get(this.propsChanged) + 1) + + } + + override onConnectionsChange( + type: LConnectionKind, + slotIndex: number, + isConnected: boolean, + link: LLink, + ioSlot: (INodeOutputSlot | INodeInputSlot) + ): void { + super.onConnectionsChange(type, slotIndex, isConnected, link, ioSlot); + this.clampConfig(); + } + + clampConfig() { + let changed = false; + for (const link of this.getOutputLinks(0)) { + if (link) { // can be undefined if the link is removed + const node = this.graph._nodes_by_id[link.target_id] + if (node) { + const input = node.inputs[link.target_slot] + if (input && "config" in input) { + this.clampOneConfig(input as IComfyInputSlot) + changed = true; + } + } + } + } + + // Force reactivity change so the frontend can be updated with the new props + this.notifyPropsChanged(); + } + + clampOneConfig(input: IComfyInputSlot) { } + + override onSerialize(o: SerializedLGraphNode) { + (o as any).comfyValue = get(this.value); + (o as any).shownOutputProperties = this.shownOutputProperties + super.onSerialize(o); + } + + override onConfigure(o: SerializedLGraphNode) { + const value = (o as any).comfyValue || LiteGraph.cloneObject(this.defaultValue); + this.value.set(value); + this.shownOutputProperties = (o as any).shownOutputProperties; + } + + override stripUserState(o: SerializedLGraphNode) { + super.stripUserState(o); + (o as any).comfyValue = this.defaultValue; + o.properties.defaultValue = null; + } +} diff --git a/src/lib/nodes/widgets/index.ts b/src/lib/nodes/widgets/index.ts new file mode 100644 index 0000000..51794cf --- /dev/null +++ b/src/lib/nodes/widgets/index.ts @@ -0,0 +1,9 @@ +export { default as ComfyWidgetNode } from "./ComfyWidgetNode" +export { default as ComfyButtonNode } from "./ComfyButtonNode" +export { default as ComfyCheckboxNode } from "./ComfyCheckboxNode" +export { default as ComfyComboNode } from "./ComfyComboNode" +export { default as ComfyGalleryNode } from "./ComfyGalleryNode" +export { default as ComfyImageUploadNode } from "./ComfyImageUploadNode" +export { default as ComfyRadioNode } from "./ComfyRadioNode" +export { default as ComfyNumberNode } from "./ComfyNumberNode" +export { default as ComfyTextNode } from "./ComfyTextNode" diff --git a/src/lib/stores/layoutState.ts b/src/lib/stores/layoutState.ts index b65d848..e3568c6 100644 --- a/src/lib/stores/layoutState.ts +++ b/src/lib/stores/layoutState.ts @@ -1,11 +1,15 @@ import { get, writable } from 'svelte/store'; import type { Writable } from 'svelte/store'; import type ComfyApp from "$lib/components/ComfyApp" -import { type LGraphNode, type IWidget, type LGraph, NodeMode, type LGraphRemoveNodeOptions, type LGraphAddNodeOptions, type UUID } from "@litegraph-ts/core" +import { type LGraphNode, type IWidget, type LGraph, NodeMode, type LGraphRemoveNodeOptions, type LGraphAddNodeOptions, type UUID, type NodeID, LiteGraph, type GraphIDMapping } from "@litegraph-ts/core" import { SHADOW_PLACEHOLDER_ITEM_ID } from 'svelte-dnd-action'; -import type { ComfyWidgetNode } from '$lib/nodes'; -import type { NodeID } from '$lib/api'; +import type { ComfyNodeID } from '$lib/api'; import { v4 as uuidv4 } from "uuid"; +import type { ComfyWidgetNode } from '$lib/nodes/widgets'; + +function isComfyWidgetNode(node: LGraphNode): node is ComfyWidgetNode { + return "svelteComponentType" in node +} type DragItemEntry = { /* @@ -60,17 +64,7 @@ export type LayoutState = { * Items indexed by the litegraph node they're bound to * Only contains drag items of type "widget" */ - allItemsByNode: Record, - - /* - * Selected drag items. - */ - currentSelection: DragItemID[], - - /* - * Selected LGraphNodes inside the litegraph canvas. - */ - currentSelectionNodes: LGraphNode[], + allItemsByNode: Record, /* * If true, a saved workflow is being deserialized, so ignore any @@ -194,7 +188,7 @@ export type AttributesSpec = { location: "widget" | "nodeProps" | "nodeVars" | "workflow" /* - * Can this attribute be edited in the properties pane. + * Can this attribute be edited in the properties pane? */ editable: boolean, @@ -259,7 +253,12 @@ export type AttributesSpec = { * This should be used if there's a canShow dependent on this property so * the pane can be updated with the new list of valid properties. */ - refreshPanelOnChange?: boolean + refreshPanelOnChange?: boolean, + + /* + * Callback run when this value is changed. + */ + onChanged?: (arg: IDragItem | LGraphNode | LayoutState, value: any, prevValue: any) => void, } /* @@ -283,6 +282,24 @@ const deserializeStringArray = (arg: string) => { return arg.split(",").map(s => s.trim()) } +const setNodeTitle = (arg: IDragItem, value: any) => { + if (arg.type !== "widget") + return + + const widget = arg as WidgetLayout; + if (widget.node == null) + return; + + const reg = LiteGraph.registered_node_types[widget.node.type]; + if (reg == null) + return + + if (value && value !== reg.title) + widget.node.title = `${reg.title} (${value})` + else + widget.node.title = reg.title +} + /* * Attributes that will show up in the properties panel. * Their order in the list is the order they'll appear in the panel. @@ -297,6 +314,7 @@ const ALL_ATTRIBUTES: AttributesSpecList = [ location: "widget", defaultValue: "", editable: true, + // onChanged: setNodeTitle }, { name: "hidden", @@ -341,7 +359,7 @@ const ALL_ATTRIBUTES: AttributesSpecList = [ location: "widget", editable: true, values: ["visible", "disabled", "hidden"], - defaultValue: "disabled", + defaultValue: "hidden", canShow: (di: IDragItem) => di.type === "widget" }, @@ -362,7 +380,7 @@ const ALL_ATTRIBUTES: AttributesSpecList = [ location: "widget", editable: true, values: ["block", "hidden"], - defaultValue: "block", + defaultValue: "hidden", canShow: (di: IDragItem) => di.type === "container" }, @@ -493,7 +511,7 @@ const ALL_ATTRIBUTES: AttributesSpecList = [ defaultValue: 0, min: -2 ^ 16, max: 2 ^ 16, - validNodeTypes: ["ui/slider"], + validNodeTypes: ["ui/number"], }, { name: "max", @@ -503,7 +521,7 @@ const ALL_ATTRIBUTES: AttributesSpecList = [ defaultValue: 10, min: -2 ^ 16, max: 2 ^ 16, - validNodeTypes: ["ui/slider"], + validNodeTypes: ["ui/number"], }, { name: "step", @@ -513,7 +531,7 @@ const ALL_ATTRIBUTES: AttributesSpecList = [ defaultValue: 1, min: -2 ^ 16, max: 2 ^ 16, - validNodeTypes: ["ui/slider"], + validNodeTypes: ["ui/number"], }, // Button @@ -579,6 +597,7 @@ for (const cat of Object.values(ALL_ATTRIBUTES)) { export { ALL_ATTRIBUTES }; +// TODO Should be nested by category for name uniqueness? const defaultWidgetAttributes: Attributes = {} as any const defaultWorkflowAttributes: LayoutAttributes = {} as any for (const cat of Object.values(ALL_ATTRIBUTES)) { @@ -660,11 +679,11 @@ type LayoutStateOps = { updateChildren: (parent: IDragItem, children: IDragItem[]) => IDragItem[], nodeAdded: (node: LGraphNode, options: LGraphAddNodeOptions) => void, nodeRemoved: (node: LGraphNode, options: LGraphRemoveNodeOptions) => void, - groupItems: (dragItems: IDragItem[], attrs?: Partial) => ContainerLayout, + moveItem: (target: IDragItem, to: ContainerLayout, index?: number) => void, + groupItems: (dragItemIDs: DragItemID[], attrs?: Partial) => ContainerLayout, ungroup: (container: ContainerLayout) => void, - getCurrentSelection: () => IDragItem[], - findLayoutEntryForNode: (nodeId: NodeID) => DragItemEntry | null, - findLayoutForNode: (nodeId: NodeID) => IDragItem | null, + findLayoutEntryForNode: (nodeId: ComfyNodeID) => DragItemEntry | null, + findLayoutForNode: (nodeId: ComfyNodeID) => IDragItem | null, serialize: () => SerializedLayoutState, deserialize: (data: SerializedLayoutState, graph: LGraph) => void, initDefaultLayout: () => void, @@ -676,8 +695,6 @@ const store: Writable = writable({ root: null, allItems: {}, allItemsByNode: {}, - currentSelection: [], - currentSelectionNodes: [], isMenuOpen: false, isConfiguring: true, refreshPropsPanel: writable(0), @@ -686,6 +703,20 @@ const store: Writable = writable({ } }) +function clear() { + store.set({ + root: null, + allItems: {}, + allItemsByNode: {}, + isMenuOpen: false, + isConfiguring: true, + refreshPropsPanel: writable(0), + attrs: { + ...defaultWorkflowAttributes + } + }) +} + function findDefaultContainerForInsertion(): ContainerLayout | null { const state = get(store); @@ -706,6 +737,16 @@ function findDefaultContainerForInsertion(): ContainerLayout | null { return null } +function runOnChangedForWidgetDefaults(dragItem: IDragItem) { + for (const cat of Object.values(ALL_ATTRIBUTES)) { + for (const spec of Object.values(cat.specs)) { + if (defaultWidgetAttributes[spec.name] !== undefined && spec.onChanged != null) { + spec.onChanged(dragItem, dragItem.attrs[spec.name], dragItem.attrs[spec.name]) + } + } + } +} + function addContainer(parent: ContainerLayout | null, attrs: Partial = {}, index?: number): ContainerLayout { const state = get(store); const dragItem: ContainerLayout = { @@ -718,19 +759,26 @@ function addContainer(parent: ContainerLayout | null, attrs: Partial ...attrs } } + const entry: DragItemEntry = { dragItem, children: [], parent: null }; + + if (state.allItemsByNode[dragItem.id] != null) + throw new Error(`Container with ID ${dragItem.id} already registered!!!`) state.allItems[dragItem.id] = entry; + if (parent) { moveItem(dragItem, parent, index) } + console.debug("[layoutState] addContainer", state) store.set(state) + // runOnChangedForWidgetDefaults(dragItem) return dragItem; } function addWidget(parent: ContainerLayout, node: ComfyWidgetNode, attrs: Partial = {}, index?: number): WidgetLayout { const state = get(store); - const widgetName = "Widget" + const widgetName = node.title || "Widget" const dragItem: WidgetLayout = { type: "widget", id: uuidv4(), @@ -739,16 +787,23 @@ function addWidget(parent: ContainerLayout, node: ComfyWidgetNode, attrs: Partia attrs: { ...defaultWidgetAttributes, title: widgetName, - nodeDisabledState: "disabled", ...attrs } } - const parentEntry = state.allItems[parent.id] + const entry: DragItemEntry = { dragItem, children: [], parent: null }; + + if (state.allItems[dragItem.id] != null) + throw new Error(`Widget with ID ${dragItem.id} already registered!!!`) state.allItems[dragItem.id] = entry; + + if (state.allItemsByNode[node.id] != null) + throw new Error(`Widget's node with ID ${node.id} already registered!!!`) state.allItemsByNode[node.id] = entry; + console.debug("[layoutState] addWidget", state) moveItem(dragItem, parent, index) + // runOnChangedForWidgetDefaults(dragItem) return dragItem; } @@ -784,24 +839,62 @@ function removeEntry(state: LayoutState, id: DragItemID) { } function nodeAdded(node: LGraphNode, options: LGraphAddNodeOptions) { + // Only concern ourselves with widget nodes + if (!isComfyWidgetNode(node)) + return; + const state = get(store) if (state.isConfiguring) return; + let attrs: Partial = {} + if (options.addedBy === "moveIntoSubgraph" || options.addedBy === "moveOutOfSubgraph") { // All we need to do is update the nodeID linked to this node. - const item = state.allItemsByNode[options.prevNodeId] - delete state.allItemsByNode[options.prevNodeId] + const item = state.allItemsByNode[options.prevNodeID] + delete state.allItemsByNode[options.prevNodeID] state.allItemsByNode[node.id] = item return; } + else if ((options.addedBy === "cloneSelection" || options.addedBy === "paste") && options.prevNodeID != null) { + console.warn("WASCLONED", options.addedBy, options.prevNodeID, Object.keys(state.allItemsByNode), options.prevNode, options.subgraphs) + // Grab layout state information and clone it too. + + let prevWidget = state.allItemsByNode[node.id] + if (prevWidget == null) { + // If a subgraph was cloned, try looking for the original widget node corresponding to the new widget node being added. + // `node` is the new ComfyWidgetNode instance to copy attrs to. + // `options.cloneData` should contain the results of Subgraph.clone(), called "subgraphNewIDMapping". + // `options.cloneData` is attached to the onNodeAdded options if a node is added to a graph after being + // selection-cloned or pasted, as they both call clone() internally. + const cloneData = options.cloneData.forNode[options.prevNodeID] + if (cloneData && cloneData.subgraphNewIDMapping != null) { + // At this point we know options.prevNodeID points to a subgraph. + const mapping = cloneData.subgraphNewIDMapping as GraphIDMapping + + // This mapping is two-way, so oldID -> newID *and* newID -> oldID are supported. + // Take the cloned node's ID and look up what the original node's ID was. + const nodeIDInLayoutState = mapping.nodeIDs[node.id]; + + if (nodeIDInLayoutState) { + // Gottem. + prevWidget = state.allItemsByNode[nodeIDInLayoutState] + console.warn("FOUND CLONED SUBGRAPH NODE", node.id, "=>", nodeIDInLayoutState, prevWidget) + } + } + } + + if (prevWidget) { + console.warn("FOUND", prevWidget.dragItem.attrs) + // XXX: Will this work for most properties? + attrs = structuredClone(prevWidget.dragItem.attrs) + } + } const parent = findDefaultContainerForInsertion(); - console.debug("[layoutState] nodeAdded", node) - if ("svelteComponentType" in node) { - addWidget(parent, node as ComfyWidgetNode); - } + console.debug("[layoutState] nodeAdded", node.id) + addWidget(parent, node, attrs); } function nodeRemoved(node: LGraphNode, options: LGraphRemoveNodeOptions) { @@ -830,7 +923,7 @@ function nodeRemoved(node: LGraphNode, options: LGraphRemoveNodeOptions) { function moveItem(target: IDragItem, to: ContainerLayout, index?: number) { const state = get(store) const entry = state.allItems[target.id] - if (entry.parent && entry.parent.id === to.id) + if (!entry || (entry.parent && entry.parent.id === to.id && entry.children.indexOf(target) === index)) return; if (entry.parent) { @@ -858,33 +951,27 @@ function moveItem(target: IDragItem, to: ContainerLayout, index?: number) { store.set(state) } -function getCurrentSelection(): IDragItem[] { - const state = get(store) - return state.currentSelection.map(id => state.allItems[id].dragItem) -} - -function groupItems(dragItems: IDragItem[], attrs: Partial = {}): ContainerLayout { - if (dragItems.length === 0) +function groupItems(dragItemIDs: DragItemID[], attrs: Partial = {}): ContainerLayout { + if (dragItemIDs.length === 0) return; const state = get(store) - const parent = state.allItems[dragItems[0].id].parent || findDefaultContainerForInsertion(); + const parent = state.allItems[dragItemIDs[0]].parent || findDefaultContainerForInsertion(); if (parent === null || parent.type !== "container") return; let index = undefined; if (parent) { - const indexFound = state.allItems[parent.id].children.findIndex(c => c.id === dragItems[0].id) + const indexFound = state.allItems[parent.id].children.findIndex(c => c.id === dragItemIDs[0]) if (indexFound !== -1) index = indexFound } - const title = dragItems.length <= 1 ? "" : "Group"; + const container = addContainer(parent as ContainerLayout, { title: "", containerVariant: "block", ...attrs }, index) - const container = addContainer(parent as ContainerLayout, { title, ...attrs }, index) - - for (const item of dragItems) { + for (const itemID of dragItemIDs) { + const item = state.allItems[itemID].dragItem; moveItem(item, container) } @@ -924,7 +1011,7 @@ function ungroup(container: ContainerLayout) { store.set(state) } -function findLayoutEntryForNode(nodeId: NodeID): DragItemEntry | null { +function findLayoutEntryForNode(nodeId: ComfyNodeID): DragItemEntry | null { const state = get(store) const found = Object.entries(state.allItems).find(pair => pair[1].dragItem.type === "widget" @@ -934,7 +1021,7 @@ function findLayoutEntryForNode(nodeId: NodeID): DragItemEntry | null { return null; } -function findLayoutForNode(nodeId: NodeID): WidgetLayout | null { +function findLayoutForNode(nodeId: ComfyNodeID): WidgetLayout | null { const found = findLayoutEntryForNode(nodeId); if (!found) return null; @@ -946,8 +1033,6 @@ function initDefaultLayout() { root: null, allItems: {}, allItemsByNode: {}, - currentSelection: [], - currentSelectionNodes: [], isMenuOpen: false, isConfiguring: false, refreshPropsPanel: writable(0), @@ -1034,7 +1119,9 @@ function deserialize(data: SerializedLayoutState, graph: LGraph) { if (dragItem.type === "widget") { const widget = dragItem as WidgetLayout; - widget.node = graph.getNodeById(entry.dragItem.nodeId) as ComfyWidgetNode + widget.node = graph.getNodeByIdRecursive(entry.dragItem.nodeId) as ComfyWidgetNode + if (widget.node == null) + throw (`Node in litegraph not found! ${entry.dragItem.nodeId}`) allItemsByNode[entry.dragItem.nodeId] = dragEntry } } @@ -1059,8 +1146,6 @@ function deserialize(data: SerializedLayoutState, graph: LGraph) { root, allItems, allItemsByNode, - currentSelection: [], - currentSelectionNodes: [], isMenuOpen: false, isConfiguring: false, refreshPropsPanel: writable(0), @@ -1091,7 +1176,7 @@ const layoutStateStore: WritableLayoutStateStore = updateChildren, nodeAdded, nodeRemoved, - getCurrentSelection, + moveItem, groupItems, findLayoutEntryForNode, findLayoutForNode, diff --git a/src/lib/stores/queueState.ts b/src/lib/stores/queueState.ts index 32a9f4d..bcc2b6c 100644 --- a/src/lib/stores/queueState.ts +++ b/src/lib/stores/queueState.ts @@ -1,4 +1,4 @@ -import type { ComfyAPIHistoryEntry, ComfyAPIHistoryItem, ComfyAPIHistoryResponse, ComfyAPIQueueResponse, ComfyAPIStatusResponse, ComfyBoxPromptExtraData, NodeID, PromptID } from "$lib/api"; +import type { ComfyAPIHistoryEntry, ComfyAPIHistoryItem, ComfyAPIHistoryResponse, ComfyAPIQueueResponse, ComfyAPIStatusResponse, ComfyBoxPromptExtraData, ComfyNodeID, PromptID } from "$lib/api"; import type { Progress, SerializedPromptInputsAll, SerializedPromptOutputs } from "$lib/components/ComfyApp"; import type { ComfyExecutionResult } from "$lib/nodes/ComfyWidgetNodes"; import notify from "$lib/notify"; @@ -14,12 +14,13 @@ type QueueStateOps = { queueUpdated: (resp: ComfyAPIQueueResponse) => void, historyUpdated: (resp: ComfyAPIHistoryResponse) => void, statusUpdated: (status: ComfyAPIStatusResponse | null) => void, - executingUpdated: (promptID: PromptID | null, runningNodeID: NodeID | null) => void, - executionCached: (promptID: PromptID, nodes: NodeID[]) => void, + executionStart: (promptID: PromptID) => void, + executingUpdated: (promptID: PromptID | null, runningNodeID: ComfyNodeID | null) => void, + executionCached: (promptID: PromptID, nodes: ComfyNodeID[]) => void, executionError: (promptID: PromptID, message: string) => void, progressUpdated: (progress: Progress) => void afterQueued: (promptID: PromptID, number: number, prompt: SerializedPromptInputsAll, extraData: any) => void - onExecuted: (promptID: PromptID, nodeID: NodeID, output: ComfyExecutionResult) => void + onExecuted: (promptID: PromptID, nodeID: ComfyNodeID, output: ComfyExecutionResult) => void } export type QueueEntry = { @@ -30,7 +31,7 @@ export type QueueEntry = { promptID: PromptID, prompt: SerializedPromptInputsAll, extraData: ComfyBoxPromptExtraData, - goodOutputs: NodeID[], + goodOutputs: ComfyNodeID[], /* Data not sent by ComfyUI's API, lost on page refresh */ @@ -38,8 +39,8 @@ export type QueueEntry = { outputs: SerializedPromptOutputs, /* Nodes in of the workflow that have finished running so far. */ - nodesRan: Set, - cachedNodes: Set + nodesRan: Set, + cachedNodes: Set } export type CompletedQueueEntry = { @@ -54,7 +55,7 @@ export type QueueState = { queuePending: Writable, queueCompleted: Writable, queueRemaining: number | "X" | null; - runningNodeID: NodeID | null; + runningNodeID: ComfyNodeID | null; progress: Progress | null, isInterrupting: boolean } @@ -161,7 +162,7 @@ function moveToCompleted(index: number, queue: Writable, status: Q store.set(state) } -function executingUpdated(promptID: PromptID, runningNodeID: NodeID | null) { +function executingUpdated(promptID: PromptID, runningNodeID: ComfyNodeID | null) { console.debug("[queueState] executingUpdated", promptID, runningNodeID) store.update((s) => { s.progress = null; @@ -199,7 +200,7 @@ function executingUpdated(promptID: PromptID, runningNodeID: NodeID | null) { }) } -function executionCached(promptID: PromptID, nodes: NodeID[]) { +function executionCached(promptID: PromptID, nodes: ComfyNodeID[]) { console.debug("[queueState] executionCached", promptID, nodes) store.update(s => { const [index, entry, queue] = findEntryInPending(promptID); @@ -235,29 +236,57 @@ function executionError(promptID: PromptID, message: string) { }) } -function afterQueued(promptID: PromptID, number: number, prompt: SerializedPromptInputsAll, extraData: any) { - console.debug("[queueState] afterQueued", promptID, Object.keys(prompt)) +function createNewQueueEntry(promptID: PromptID, number: number = -1, prompt: SerializedPromptInputsAll = {}, extraData: any = {}): QueueEntry { + return { + number, + queuedAt: new Date(), // Now + finishedAt: null, + promptID, + prompt, + extraData, + goodOutputs: [], + outputs: {}, + nodesRan: new Set(), + cachedNodes: new Set() + } +} + +function executionStart(promptID: PromptID) { + console.debug("[queueState] executionStart", promptID) store.update(s => { - const entry: QueueEntry = { - number, - queuedAt: new Date(), // Now - finishedAt: null, - promptID, - prompt, - extraData, - goodOutputs: [], - outputs: {}, - nodesRan: new Set(), - cachedNodes: new Set() + const [index, entry, queue] = findEntryInPending(promptID); + if (entry == null) { + const entry = createNewQueueEntry(promptID); + s.queuePending.update(qp => { qp.push(entry); return qp }) + console.debug("[queueState] ADD PROMPT", promptID) } - s.queuePending.update(qp => { qp.push(entry); return qp }) - console.debug("[queueState] ADD PROMPT", promptID) s.isInterrupting = false; return s }) } -function onExecuted(promptID: PromptID, nodeID: NodeID, output: ComfyExecutionResult) { +function afterQueued(promptID: PromptID, number: number, prompt: SerializedPromptInputsAll, extraData: any) { + console.debug("[queueState] afterQueued", promptID, Object.keys(prompt)) + store.update(s => { + const [index, entry, queue] = findEntryInPending(promptID); + if (entry == null) { + const entry = createNewQueueEntry(promptID, number, prompt, extraData); + s.queuePending.update(qp => { qp.push(entry); return qp }) + console.debug("[queueState] ADD PROMPT", promptID) + } + else { + entry.number = number; + entry.prompt = prompt + entry.extraData = extraData + queue.set(get(queue)) + console.warn("[queueState] UPDATE PROMPT", promptID) + } + s.isInterrupting = false; + return s + }) +} + +function onExecuted(promptID: PromptID, nodeID: ComfyNodeID, output: ComfyExecutionResult) { console.debug("[queueState] onExecuted", promptID, nodeID, output) store.update(s => { const [index, entry, queue] = findEntryInPending(promptID) @@ -279,6 +308,7 @@ const queueStateStore: WritableQueueStateStore = historyUpdated, statusUpdated, progressUpdated, + executionStart, executingUpdated, executionCached, executionError, diff --git a/src/lib/stores/selectionState.ts b/src/lib/stores/selectionState.ts new file mode 100644 index 0000000..8b0daf0 --- /dev/null +++ b/src/lib/stores/selectionState.ts @@ -0,0 +1,57 @@ +import { writable } from 'svelte/store'; +import type { Readable, Writable } from 'svelte/store'; +import type { DragItemID, IDragItem } from './layoutState'; +import type { LGraphNode, NodeID } from '@litegraph-ts/core'; + +export type SelectionState = { + /* + * Selected drag items. + * NOTE: Order is important, for node grouping actions. + */ + currentSelection: DragItemID[], + + /* + * Hovered drag items. + */ + currentHovered: Set, + + /* + * Selected LGraphNodes inside the litegraph canvas. + * NOTE: Order is important, for node grouping actions. + */ + currentSelectionNodes: LGraphNode[], + + /* + * Currently hovered nodes. + */ + currentHoveredNodes: Set +} + +type SelectionStateOps = { + clear: () => void, +} + +export type WritableSelectionStateStore = Writable & SelectionStateOps; +const store: Writable = writable( + { + currentSelection: [], + currentSelectionNodes: [], + currentHovered: new Set(), + currentHoveredNodes: new Set(), + }) + +function clear() { + store.set({ + currentSelection: [], + currentSelectionNodes: [], + currentHovered: new Set(), + currentHoveredNodes: new Set(), + }) +} + +const uiStateStore: WritableSelectionStateStore = +{ + ...store, + clear +} +export default uiStateStore; diff --git a/src/lib/utils.ts b/src/lib/utils.ts index 9c0cdc1..4509436 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -1,13 +1,10 @@ -import ComfyApp, { type SerializedPrompt } from "./components/ComfyApp"; -import ComboWidget from "$lib/widgets/ComboWidget.svelte"; -import RangeWidget from "$lib/widgets/RangeWidget.svelte"; -import TextWidget from "$lib/widgets/TextWidget.svelte"; -import { get } from "svelte/store" -import layoutState from "$lib/stores/layoutState" -import type { SvelteComponentDev } from "svelte/internal"; -import type { SerializedLGraph } from "@litegraph-ts/core"; -import type { FileNameOrGalleryData, ComfyExecutionResult, ComfyImageLocation } from "./nodes/ComfyWidgetNodes"; +import layoutState, { type WidgetLayout } from "$lib/stores/layoutState"; +import selectionState from "$lib/stores/selectionState"; import type { FileData as GradioFileData } from "@gradio/upload"; +import { Subgraph, type LGraph, type LGraphNode, type LLink, type SerializedLGraph, type UUID } from "@litegraph-ts/core"; +import { get } from "svelte/store"; +import type { ComfyNodeID } from "./api"; +import { type SerializedPrompt } from "./components/ComfyApp"; export function clamp(n: number, min: number, max: number): number { return Math.min(Math.max(n, min), max) @@ -21,6 +18,13 @@ export function range(size: number, startAt: number = 0): ReadonlyArray return [...Array(size).keys()].map(i => i + startAt); } +export function* enumerate(iterable: Iterable): Iterable<[number, T]> { + let index = 0; + for (const value of iterable) { + yield [index++, value]; + } +} + export function download(filename: string, text: string, type: string = "text/plain") { const blob = new Blob([text], { type: type }); const url = URL.createObjectURL(blob); @@ -37,11 +41,12 @@ export function download(filename: string, text: string, type: string = "text/pl export function startDrag(evt: MouseEvent) { const dragItemId: string = evt.target.dataset["dragItemId"]; + const ss = get(selectionState) const ls = get(layoutState) if (evt.button !== 0) { - if (ls.currentSelection.length <= 1 && !ls.isMenuOpen) - ls.currentSelection = [dragItemId] + if (ss.currentSelection.length <= 1 && !ls.isMenuOpen) + ss.currentSelection = [dragItemId] return; } @@ -50,24 +55,110 @@ export function startDrag(evt: MouseEvent) { console.debug("startDrag", item) if (evt.ctrlKey) { - const index = ls.currentSelection.indexOf(item.id) + const index = ss.currentSelection.indexOf(item.id) if (index === -1) - ls.currentSelection.push(item.id); + ss.currentSelection.push(item.id); else - ls.currentSelection.splice(index, 1); - ls.currentSelection = ls.currentSelection; + ss.currentSelection.splice(index, 1); + ss.currentSelection = ss.currentSelection; } else { - ls.currentSelection = [item.id] + ss.currentSelection = [item.id] + } + ss.currentSelectionNodes = []; + for (const id of ss.currentSelection) { + const item = ls.allItems[id].dragItem + if (item.type === "widget") { + const node = (item as WidgetLayout).node; + if (node) { + ss.currentSelectionNodes.push(node) + } + } } - ls.currentSelectionNodes = []; layoutState.set(ls) + selectionState.set(ss) }; export function stopDrag(evt: MouseEvent) { }; +export function graphToGraphVis(graph: LGraph): string { + let links: string[] = [] + let seenLinks = new Set() + let subgraphs: Record = {} + let subgraphNodes: Record = {} + let idToInt: Record = {} + let curId = 0; + + const convId = (id: number | UUID): number => { + if (idToInt[id] == null) { + idToInt[id] = curId++; + } + return idToInt[id]; + } + + const addLink = (node: LGraphNode, link: LLink): string => { + const nodeA = node.graph.getNodeById(link.origin_id) + const nodeB = node.graph.getNodeById(link.target_id); + seenLinks.add(link.id) + return ` "${convId(nodeA.id)}_${nodeA.title}" -> "${convId(nodeB.id)}_${nodeB.title}";\n`; + } + + for (const node of graph.iterateNodesInOrderRecursive()) { + for (let [index, input] of enumerate(node.iterateInputInfo())) { + const link = node.getInputLink(index); + if (link && !seenLinks.has(link.id)) { + const linkText = addLink(node, link) + if (node.graph != graph) { + subgraphs[node.graph._subgraph_node.id] ||= [node.graph._subgraph_node, []] + subgraphs[node.graph._subgraph_node.id][1].push(linkText) + subgraphNodes[node.graph._subgraph_node.id] = node.graph._subgraph_node + } + else { + links.push(linkText) + } + } + } + for (let [index, output] of enumerate(node.iterateOutputInfo())) { + for (const link of node.getOutputLinks(index)) { + if (!seenLinks.has(link.id)) { + const linkText = addLink(node, link) + if (node.graph != graph) { + subgraphs[node.graph._subgraph_node.id] ||= [node.graph._subgraph_node, []] + subgraphs[node.graph._subgraph_node.id][1].push(linkText) + subgraphNodes[node.graph._subgraph_node.id] = node.graph._subgraph_node + } + else { + links.push(linkText) + } + } + } + } + } + + let out = "digraph {\n" + out += ' fontname="Helvetica,Arial,sans-serif"\n' + out += ' node [fontname="Helvetica,Arial,sans-serif"]\n' + out += ' edge [fontname="Helvetica,Arial,sans-serif"]\n' + out += ' node [shape=box style=filled fillcolor="#DDDDDD"]\n' + + for (const [subgraph, links] of Object.values(subgraphs)) { + // Subgraph name has to be prefixed with "cluster" to show up as a cluster... + out += ` subgraph cluster_subgraph_${convId(subgraph.id)} {\n` + out += ` label="${convId(subgraph.id)}_${subgraph.title}";\n`; + out += " color=red;\n"; + // out += " style=grey;\n"; + out += " " + links.join(" ") + out += " }\n" + } + + out += links.join("") + + out += "}" + return out +} + export function workflowToGraphVis(workflow: SerializedLGraph): string { let out = "digraph {\n" @@ -87,17 +178,21 @@ export function promptToGraphVis(prompt: SerializedPrompt): string { for (const pair of Object.entries(prompt.output)) { const [id, o] = pair; const outNode = prompt.workflow.nodes.find(n => n.id == id) - for (const pair2 of Object.entries(o.inputs)) { - const [inpName, i] = pair2; + if (outNode) { + for (const pair2 of Object.entries(o.inputs)) { + const [inpName, i] = pair2; - if (Array.isArray(i) && i.length === 2 && typeof i[0] === "string" && typeof i[1] === "number") { - // Link - const inpNode = prompt.workflow.nodes.find(n => n.id == i[0]) - out += `"${inpNode.title}" -> "${outNode.title}"\n` - } - else { - // Value - out += `"${id}-${inpName}-${i}" -> "${outNode.title}"\n` + if (Array.isArray(i) && i.length === 2 && typeof i[0] === "string" && typeof i[1] === "number") { + // Link + const inpNode = prompt.workflow.nodes.find(n => n.id == i[0]) + if (inpNode) { + out += `"${inpNode.title}" -> "${outNode.title}"\n` + } + } + else { + // Value + out += `"${id}-${inpName}-${i}" -> "${outNode.title}"\n` + } } } } @@ -106,13 +201,15 @@ export function promptToGraphVis(prompt: SerializedPrompt): string { return out } -export function getNodeInfo(nodeId: NodeID): string { +export function getNodeInfo(nodeId: ComfyNodeID): string { let app = (window as any).app; if (!app || !app.lGraph) return String(nodeId); - const title = app.lGraph.getNodeById(nodeId)?.title || String(nodeId); - return title + " (" + nodeId + ")" + const displayNodeID = nodeId ? (nodeId.split("-")[0]) : String(nodeId); + + const title = app.lGraph.getNodeByIdRecursive(nodeId)?.title || String(nodeId); + return title + " (" + displayNodeID + ")" } export const debounce = (callback: Function, wait = 250) => { @@ -231,6 +328,24 @@ export async function uploadImageToComfyUI(blob: Blob, filename: string, type: C }); } +/** Raw output as received from ComfyUI's backend */ +export interface ComfyExecutionResult { + // Technically this response can contain arbitrary data, but "images" is the + // most frequently used as it's output by LoadImage and PreviewImage, the + // only two output nodes in base ComfyUI. + images: ComfyImageLocation[] | null, +} + +/** Raw output entry as received from ComfyUI's backend */ +export type ComfyImageLocation = { + /* Filename with extension in the subfolder. */ + filename: string, + /* Subfolder in the containing folder. */ + subfolder: string, + /* Base ComfyUI folder where the image is located. */ + type: ComfyUploadImageType +} + /* * Convenient type for passing around image filepaths and their metadata with * wires. Needs to be converted to a filename for use with LoadImage. @@ -304,6 +419,12 @@ export function executionResultToImageMetadata(result: ComfyExecutionResult): Co return result.images.map(comfyFileToComfyBoxMetadata) } +export function isComfyImageLocation(param: any): param is ComfyImageLocation { + return param != null && typeof param === "object" + && typeof param.filename === "string" + && typeof param.type === "string" +} + export function parseWhateverIntoImageMetadata(param: any): ComfyBoxImageMetadata[] | null { let meta: ComfyBoxImageMetadata[] | null = null @@ -314,12 +435,26 @@ export function parseWhateverIntoImageMetadata(param: any): ComfyBoxImageMetadat meta = param } else if (isComfyExecutionResult(param)) { - meta = executionResultToImageMetadata(param) + meta = executionResultToImageMetadata(param); + } + else if (isComfyImageLocation(param)) { + meta = [comfyFileToComfyBoxMetadata(param)] + } + else if (Array.isArray(param) && param.every(isComfyImageLocation)) { + meta = param.map(comfyFileToComfyBoxMetadata) } return meta; } +export function parseWhateverIntoComfyImageLocations(param: any): ComfyImageLocation[] | null { + const meta = parseWhateverIntoImageMetadata(param); + if (!Array.isArray(meta)) + return null + + return meta.map(m => m.comfyUIFile); +} + export function comfyBoxImageToComfyFile(image: ComfyBoxImageMetadata): ComfyImageLocation { return image.comfyUIFile } diff --git a/src/lib/widgets.ts b/src/lib/widgets.ts index e3083aa..8a67428 100644 --- a/src/lib/widgets.ts +++ b/src/lib/widgets.ts @@ -1,9 +1,7 @@ -import type { IWidget, LGraphNode } from "@litegraph-js/core"; -import ComfyValueControlWidget from "./widgets/ComfyValueControlWidget"; -import type { ComfyInputConfig } from "./IComfyInputSlot"; +import { LGraphNode, LiteGraph } from "@litegraph-ts/core"; import type IComfyInputSlot from "./IComfyInputSlot"; -import { BuiltInSlotShape, LiteGraph } from "@litegraph-ts/core"; -import { ComfyComboNode, ComfySliderNode, ComfyTextNode } from "./nodes"; +import type { ComfyInputConfig } from "./IComfyInputSlot"; +import { ComfyComboNode, ComfyNumberNode, ComfyTextNode } from "./nodes/widgets"; type WidgetFactory = (node: LGraphNode, inputName: string, inputData: any) => IComfyInputSlot; @@ -37,12 +35,12 @@ function addComfyInput(node: LGraphNode, inputName: string, extraInfo: Partial { const config = getNumberDefaults(inputData, 0.5); - return addComfyInput(node, inputName, { type: "number", config, defaultWidgetNode: ComfySliderNode }) + return addComfyInput(node, inputName, { type: "number", config, defaultWidgetNode: ComfyNumberNode }) } const INT: WidgetFactory = (node: LGraphNode, inputName: string, inputData: any): IComfyInputSlot => { const config = getNumberDefaults(inputData, 1); - return addComfyInput(node, inputName, { type: "number", config, defaultWidgetNode: ComfySliderNode }) + return addComfyInput(node, inputName, { type: "number", config, defaultWidgetNode: ComfyNumberNode }) }; const STRING: WidgetFactory = (node: LGraphNode, inputName: string, inputData: any): IComfyInputSlot => { diff --git a/src/lib/widgets/ButtonWidget.svelte b/src/lib/widgets/ButtonWidget.svelte index c92b6f5..7f5f1b1 100644 --- a/src/lib/widgets/ButtonWidget.svelte +++ b/src/lib/widgets/ButtonWidget.svelte @@ -1,10 +1,9 @@ -
+
{#key $valuesForCombo} {#if node !== null && nodeValue !== null} {#if $valuesForCombo == null} @@ -172,10 +166,11 @@
{#if filteredItems.length > 0} {@const itemSize = isMobile ? 50 : 25} + {@const itemsToShow = isMobile ? 10 : 30} implements IWidget { - name: string; - value: V; - node: ComfyGraphNode; - - constructor(name: string, value: V, node: ComfyGraphNode) { - this.name = name; - this.value = value - this.node = node; - } - - isVirtual?: boolean; - options?: T; - type?: WidgetTypes | string | any; - y?: number; - property?: string; - last_y?: number; - width?: number; - clicked?: boolean; - marker?: boolean; - disabled?: boolean; - callback?: WidgetCallback; - - setValue(value: V) { - this.value = value; - } - - draw?(ctx: CanvasRenderingContext2D, node: LGraphNode, width: number, posY: number, height: number): void; - - mouse?(event: MouseEvent, pos: Vector2, node: LGraphNode): boolean; - - computeSize?(width: number): [number, number]; - - afterQueued?(): void; - - serializeValue?(serialized: SerializedLGraphNode, slot: number): Promise; -} diff --git a/src/lib/widgets/GalleryWidget.svelte b/src/lib/widgets/GalleryWidget.svelte index acb9f9d..53e9fa9 100644 --- a/src/lib/widgets/GalleryWidget.svelte +++ b/src/lib/widgets/GalleryWidget.svelte @@ -6,12 +6,12 @@ import { StaticImage } from "$lib/components/gradio/image"; import type { Styles } from "@gradio/utils"; import type { WidgetLayout } from "$lib/stores/layoutState"; - import type { Writable } from "svelte/store"; - import type { ComfyGalleryNode } from "$lib/nodes/ComfyWidgetNodes"; + import { writable, type Writable } from "svelte/store"; import type { FileData as GradioFileData } from "@gradio/upload"; import type { SelectData as GradioSelectData } from "@gradio/utils"; import { clamp, comfyBoxImageToComfyURL, type ComfyBoxImageMetadata } from "$lib/utils"; import { f7 } from "framework7-svelte"; + import type { ComfyGalleryNode } from "$lib/nodes/widgets"; export let widget: WidgetLayout | null = null; export let isMobile: boolean = false; @@ -19,8 +19,8 @@ let nodeValue: Writable | null = null; let propsChanged: Writable | null = null; let option: number | null = null; - let imageWidth: number = 1; - let imageHeight: number = 1; + let imageWidth: Writable = writable(0); + let imageHeight: Writable = writable(0); let selected_image: number | null = null; $: widget && setNodeValue(widget); @@ -30,6 +30,8 @@ node = widget.node as ComfyGalleryNode nodeValue = node.value; propsChanged = node.propsChanged; + imageWidth = node.imageWidth + imageHeight = node.imageHeight if ($nodeValue != null) { if (node.properties.index < 0 || node.properties.index >= $nodeValue.length) { @@ -45,18 +47,9 @@ } let element: HTMLDivElement; - $: if (node) { - if (imageWidth > 1 || imageHeight > 1) { - node.imageSize = [imageWidth, imageHeight] - } - else { - node.imageSize = [1, 1] - } - } - let mobileLightbox = null; - function showMobileLightbox(event: Event) { + function showMobileLightbox(source: HTMLImageElement) { if (!f7) return @@ -65,16 +58,14 @@ mobileLightbox = null; } - const source = (event.target || event.srcElement) as HTMLImageElement; const galleryElem = source.closest("div.block") - console.debug("[ImageViewer] showModal", event, source, galleryElem); + console.debug("[ImageViewer] showModal", source, galleryElem); if (!galleryElem || ImageViewer.all_gallery_buttons(galleryElem).length === 0) { console.error("No buttons found on gallery element!", galleryElem) return; } const allGalleryButtons = ImageViewer.all_gallery_buttons(galleryElem); - const selectedSource = source.src const images = allGalleryButtons.map(button => { return { @@ -91,56 +82,29 @@ type: 'popup', }); mobileLightbox.open(selected_image) - - event.stopPropagation() } - function setupImageForMobileLightbox(e: HTMLImageElement) { - if (e.dataset.modded === "true") - return; - - e.dataset.modded = "true"; - e.style.cursor = "pointer"; - e.style.userSelect = "none"; - - var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1 - - // For Firefox, listening on click first switched to next image then shows the lightbox. - // If you know how to fix this without switching to mousedown event, please. - // For other browsers the event is click to make it possiblr to drag picture. - var event = isFirefox ? 'mousedown' : 'click' - - e.addEventListener(event, (evt) => { - evt.preventDefault() - showMobileLightbox(evt) - }, true); + function onClicked(e: CustomEvent) { + if (isMobile) { + showMobileLightbox(e.detail) + } + else { + ImageViewer.instance.showLightbox(e.detail) + } } function onSelect(e: CustomEvent) { - // Setup lightbox - // Wait for gradio gallery to show the large preview image, if no timeout then - // the event might fire too early - - const callback = isMobile ? setupImageForMobileLightbox - : ImageViewer.instance.setupGalleryImageForLightbox.bind(ImageViewer.instance) - - setTimeout(() => { - const images = element.querySelectorAll('div.block div > img') - if (images != null) { - images.forEach(callback); - } - ImageViewer.instance.refreshImages(); - }, 200) - // Update index node.setProperty("index", e.detail.index as number) } $: if ($propsChanged > -1 && widget && $nodeValue) { if (widget.attrs.variant === "image") { - selected_image = $nodeValue.length - 1 node.setProperty("index", selected_image) } + else { + node.setProperty("index", $nodeValue.length > 0 ? 0 : null) + } } else { node.setProperty("index", null) @@ -160,8 +124,8 @@ value={url} show_label={widget.attrs.title != ""} label={widget.attrs.title} - bind:imageWidth - bind:imageHeight + bind:imageWidth={$imageWidth} + bind:imageHeight={$imageHeight} /> {:else} @@ -181,8 +145,9 @@ root={""} root_url={""} on:select={onSelect} - bind:imageWidth - bind:imageHeight + on:clicked={onClicked} + bind:imageWidth={$imageWidth} + bind:imageHeight={$imageHeight} bind:selected_image />
diff --git a/src/lib/widgets/ImageEditorWidget.svelte b/src/lib/widgets/ImageEditorWidget.svelte deleted file mode 100644 index e302a32..0000000 --- a/src/lib/widgets/ImageEditorWidget.svelte +++ /dev/null @@ -1,343 +0,0 @@ - - -
- {#if widget.attrs.variant === "fileUpload" || isMobile} - - {:else} -
- - -
-
- -
-
-
-
- - -
- - - {#if !$nodeValue || $nodeValue.length === 0} - - - -
- -
- {#if uploadError} -
- Upload error: {uploadError} -
- {/if} -
- - - - -
- {:else} - - -
- -
- {#if uploadError} -
- Upload error: {uploadError} -
- {/if} -
- {/if} -
-
- {/if} -
- - diff --git a/src/lib/widgets/ImageUploadWidget.svelte b/src/lib/widgets/ImageUploadWidget.svelte index e69de29..603afe6 100644 --- a/src/lib/widgets/ImageUploadWidget.svelte +++ b/src/lib/widgets/ImageUploadWidget.svelte @@ -0,0 +1,333 @@ + + +
+ {#if widget.attrs.variant === "fileUpload" || isMobile} + + {:else} +
+ + +
+
+ +
+
+
+
+ + +
+ + + {#if !$nodeValue || $nodeValue.length === 0} + + + +
+ +
+ {#if uploadError} +
+ Upload error: {uploadError} +
+ {/if} +
+ + + + +
+ {:else} + + +
+ +
+ {#if uploadError} +
+ Upload error: {uploadError} +
+ {/if} +
+ {/if} +
+
+ {/if} +
+ + diff --git a/src/lib/widgets/RangeWidget.svelte b/src/lib/widgets/NumberWidget.svelte similarity index 95% rename from src/lib/widgets/RangeWidget.svelte rename to src/lib/widgets/NumberWidget.svelte index 8cbeb4e..87c9294 100644 --- a/src/lib/widgets/RangeWidget.svelte +++ b/src/lib/widgets/NumberWidget.svelte @@ -1,14 +1,14 @@