From 930101535b71b4954f8539eca96974eb27735939 Mon Sep 17 00:00:00 2001 From: FengWen <109639975+ccssu@users.noreply.github.com> Date: Fri, 25 Oct 2024 14:09:20 +0800 Subject: [PATCH 1/7] add sd3.5 ConditioningSetTimestepRange ConditioningZeroOut (#183) * support sd3.5 ConditioningSetTimestepRange ConditioningZeroOut * refine --- nodes.py | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/nodes.py b/nodes.py index 8c7352f9..971d5ec6 100644 --- a/nodes.py +++ b/nodes.py @@ -956,3 +956,37 @@ def INPUT_TYPES(s): # FUNCTION = "append" NODE_DISPLAY_NAME = "Conditioning (Set Mask)" CATEGORY = "conditioning" + + +class ConditioningZeroOut(BizyAirBaseNode): + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": (data_types.CONDITIONING,)}} + + RETURN_TYPES = (data_types.CONDITIONING,) + # FUNCTION = "zero_out" + + CATEGORY = "advanced/conditioning" + + +class ConditioningSetTimestepRange(BizyAirBaseNode): + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "conditioning": (data_types.CONDITIONING,), + "start": ( + "FLOAT", + {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.001}, + ), + "end": ( + "FLOAT", + {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.001}, + ), + } + } + + RETURN_TYPES = (data_types.CONDITIONING,) + # FUNCTION = "set_range" + + CATEGORY = "advanced/conditioning" From aa7ba1aed26849dbf3f06bffbb7d0b1e2cdd50e2 Mon Sep 17 00:00:00 2001 From: FengWen <109639975+ccssu@users.noreply.github.com> Date: Fri, 25 Oct 2024 16:33:01 +0800 Subject: [PATCH 2/7] Refine SD3.5 nodes (#185) --- bizyair_extras/__init__.py | 1 + bizyair_extras/nodes_model_advanced.py | 21 + examples/bizyair_sd3_5_txt2img.json | 674 +++++++++++++++++++------ 3 files changed, 544 insertions(+), 152 deletions(-) create mode 100644 bizyair_extras/nodes_model_advanced.py diff --git a/bizyair_extras/__init__.py b/bizyair_extras/__init__.py index 5663f8e8..cd41b545 100644 --- a/bizyair_extras/__init__.py +++ b/bizyair_extras/__init__.py @@ -5,6 +5,7 @@ from .nodes_image_utils import * from .nodes_ipadapter_plus.nodes_ipadapter_plus import * from .nodes_kolors_mz import * +from .nodes_model_advanced import * from .nodes_sd3 import * from .nodes_testing_utils import * from .nodes_ultimatesdupscale import * diff --git a/bizyair_extras/nodes_model_advanced.py b/bizyair_extras/nodes_model_advanced.py new file mode 100644 index 00000000..6aaa8bf0 --- /dev/null +++ b/bizyair_extras/nodes_model_advanced.py @@ -0,0 +1,21 @@ +# ComfyUI/comfy_extras/nodes_model_advanced.py +from bizyair import BizyAirBaseNode, BizyAirNodeIO, data_types + + +class ModelSamplingSD3(BizyAirBaseNode): + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "model": (data_types.MODEL,), + "shift": ( + "FLOAT", + {"default": 3.0, "min": 0.0, "max": 100.0, "step": 0.01}, + ), + } + } + + RETURN_TYPES = (data_types.MODEL,) + # FUNCTION = "patch" + + CATEGORY = "advanced/model" diff --git a/examples/bizyair_sd3_5_txt2img.json b/examples/bizyair_sd3_5_txt2img.json index 0a07f272..7688cbea 100644 --- a/examples/bizyair_sd3_5_txt2img.json +++ b/examples/bizyair_sd3_5_txt2img.json @@ -1,13 +1,13 @@ { - "last_node_id": 65, - "last_link_id": 117, + "last_node_id": 318, + "last_link_id": 626, "nodes": [ { - "id": 57, - "type": "BizyAir_CLIPTextEncode", + "id": 302, + "type": "BizyAir_CheckpointLoaderSimple", "pos": { - "0": 696, - "1": -794, + "0": -576, + "1": 152, "2": 0, "3": 0, "4": 0, @@ -18,43 +18,52 @@ "9": 0 }, "size": { - "0": 424.08001708984375, - "1": 99.33573913574219 + "0": 315, + "1": 98 }, "flags": {}, - "order": 3, + "order": 0, "mode": 0, - "inputs": [ + "inputs": [], + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 617 + ], + "shape": 3, + "slot_index": 0 + }, { "name": "clip", "type": "BIZYAIR_CLIP", - "link": 116 - } - ], - "outputs": [ + "links": null, + "shape": 3 + }, { - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", + "name": "vae", + "type": "BIZYAIR_VAE", "links": [ - 108 + 619 ], - "slot_index": 0, - "shape": 3 + "shape": 3, + "slot_index": 2 } ], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" }, "widgets_values": [ - "a bottle with a rainbow galaxy inside it on top of a wooden table on a snowy mountain top with the ocean and clouds in the background with a shot glass beside containing darkness beside a snow sculpture in the shape of a fox" + "sd3.5_large.safetensors" ] }, { - "id": 63, - "type": "PreviewImage", + "id": 316, + "type": "Reroute", "pos": { - "0": 1699, - "1": -946, + "0": -574, + "1": 656, "2": 0, "3": 0, "4": 0, @@ -65,30 +74,41 @@ "9": 0 }, "size": [ - 749.7970507508453, - 767.9814033077387 + 75, + 26 ], "flags": {}, - "order": 7, + "order": 5, "mode": 0, "inputs": [ { - "name": "images", - "type": "IMAGE", - "link": 115 + "name": "", + "type": "*", + "link": 623 + } + ], + "outputs": [ + { + "name": "", + "type": "BIZYAIR_CLIP", + "links": [ + 624, + 625 + ], + "slot_index": 0 } ], - "outputs": [], "properties": { - "Node name for S&R": "PreviewImage" + "showOutputText": false, + "horizontal": false } }, { - "id": 58, - "type": "BizyAir_CLIPTextEncode", + "id": 307, + "type": "BizyAir_ConditioningZeroOut", "pos": { - "0": 702, - "1": -613, + "0": -562, + "1": 595, "2": 0, "3": 0, "4": 0, @@ -99,43 +119,135 @@ "9": 0 }, "size": [ - 411.492453094595, - 76 + 330.8026697243233, + 26 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 609 + } + ], + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 610 + ], + "slot_index": 0, + "shape": 3 + } ], + "properties": { + "Node name for S&R": "BizyAir_ConditioningZeroOut" + } + }, + { + "id": 312, + "type": "BizyAir_ModelSamplingSD3", + "pos": { + "0": -157, + "1": 152, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 327.5999755859375, + "1": 58 + }, "flags": {}, "order": 4, "mode": 0, "inputs": [ { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 117 + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 617 } ], "outputs": [ { - "name": "CONDITIONING", + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 616 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ModelSamplingSD3" + }, + "widgets_values": [ + 3 + ] + }, + { + "id": 308, + "type": "BizyAir_ConditioningSetTimestepRange", + "pos": { + "0": -161, + "1": 273, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 319.20001220703125, + "1": 82 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 610 + } + ], + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", "type": "BIZYAIR_CONDITIONING", "links": [ - 109 + 612 ], "slot_index": 0, "shape": 3 } ], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" + "Node name for S&R": "BizyAir_ConditioningSetTimestepRange" }, "widgets_values": [ - "" + 0.1, + 1 ] }, { - "id": 61, - "type": "BizyAir_VAEDecode", + "id": 309, + "type": "BizyAir_ConditioningSetTimestepRange", "pos": { - "0": 1283, - "1": -821, + "0": -166, + "1": 434, "2": 0, "3": 0, "4": 0, @@ -146,45 +258,93 @@ "9": 0 }, "size": { - "0": 329.052978515625, - "1": 46 + "0": 319.20001220703125, + "1": 82 }, "flags": {}, - "order": 6, + "order": 9, "mode": 0, "inputs": [ { - "name": "samples", - "type": "LATENT", - "link": 112 + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 611 + } + ], + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 613 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ConditioningSetTimestepRange" + }, + "widgets_values": [ + 0, + 0.1 + ] + }, + { + "id": 310, + "type": "BizyAir_ConditioningCombine", + "pos": { + "0": -146, + "1": 560, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 295.6000061035156, + 48.88832420898143 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "conditioning_1", + "type": "BIZYAIR_CONDITIONING", + "link": 612 }, { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 113 + "name": "conditioning_2", + "type": "BIZYAIR_CONDITIONING", + "link": 613 } ], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 115 + 614 ], "slot_index": 0, "shape": 3 } ], "properties": { - "Node name for S&R": "BizyAir_VAEDecode" + "Node name for S&R": "BizyAir_ConditioningCombine" } }, { - "id": 59, + "id": 311, "type": "BizyAir_KSampler", "pos": { - "0": 1287, - "1": -710, + "0": 212, + "1": 154, "2": 0, "3": 0, "4": 0, @@ -194,33 +354,33 @@ "8": 0, "9": 0 }, - "size": { - "0": 315, - "1": 262 - }, + "size": [ + 414.3464250291672, + 341.17207635187214 + ], "flags": {}, - "order": 5, + "order": 12, "mode": 0, "inputs": [ { "name": "model", "type": "BIZYAIR_MODEL", - "link": 114 + "link": 616 }, { "name": "positive", "type": "BIZYAIR_CONDITIONING", - "link": 108 + "link": 615 }, { "name": "negative", "type": "BIZYAIR_CONDITIONING", - "link": 109 + "link": 614 }, { "name": "latent_image", "type": "LATENT", - "link": 110 + "link": 622 } ], "outputs": [ @@ -228,31 +388,31 @@ "name": "LATENT", "type": "LATENT", "links": [ - 112 + 620 ], - "slot_index": 0, - "shape": 3 + "shape": 3, + "slot_index": 0 } ], "properties": { "Node name for S&R": "BizyAir_KSampler" }, "widgets_values": [ - 714772221606588, + 66155038679131, "fixed", 20, - 5.5, - "euler", + 4.5, + "dpmpp_2m", "sgm_uniform", 1 ] }, { - "id": 53, - "type": "EmptySD3LatentImage", + "id": 314, + "type": "BizyAir_VAEDecode", "pos": { - "0": 819, - "1": -380, + "0": 213, + "1": 546, "2": 0, "3": 0, "4": 0, @@ -262,12 +422,61 @@ "8": 0, "9": 0 }, - "size": { - "0": 315, - "1": 106 + "size": [ + 410.82029954369864, + 46 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 620 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 619 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 621 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 135, + "type": "EmptySD3LatentImage", + "pos": { + "0": 184, + "1": 662, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 }, + "size": [ + 429.6782662645969, + 120.64879714988001 + ], "flags": {}, - "order": 0, + "order": 1, "mode": 0, "inputs": [], "outputs": [ @@ -275,7 +484,7 @@ "name": "LATENT", "type": "LATENT", "links": [ - 110 + 622 ], "slot_index": 0, "shape": 3 @@ -291,11 +500,44 @@ ] }, { - "id": 54, + "id": 105, + "type": "Note", + "pos": { + "0": -80, + "1": 667, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 210, + "1": 110.18948364257812 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" + }, + "widgets_values": [ + "Make sure the resolution is multiple of 64 pixels and adds up to around 1 megapixel. " + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 303, "type": "BizyAir_TripleCLIPLoader", "pos": { - "0": 293, - "1": -738, + "0": -559, + "1": 691, "2": 0, "3": 0, "4": 0, @@ -310,7 +552,7 @@ "1": 106 }, "flags": {}, - "order": 1, + "order": 3, "mode": 0, "inputs": [], "outputs": [ @@ -318,8 +560,7 @@ "name": "BIZYAIR_CLIP", "type": "BIZYAIR_CLIP", "links": [ - 116, - 117 + 623 ], "slot_index": 0, "shape": 3 @@ -335,11 +576,11 @@ ] }, { - "id": 62, - "type": "BizyAir_CheckpointLoaderSimple", + "id": 315, + "type": "PreviewImage", "pos": { - "0": 369, - "1": -473, + "0": 678, + "1": 131, "2": 0, "3": 0, "4": 0, @@ -349,118 +590,247 @@ "8": 0, "9": 0 }, - "size": { - "0": 315, - "1": 98 + "size": [ + 1013.231539037605, + 1031.6655356407784 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 621 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 306, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": -569, + "1": 448, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 }, + "size": [ + 338.0171946891671, + 76 + ], "flags": {}, - "order": 2, + "order": 6, "mode": 0, - "inputs": [], + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 624 + } + ], "outputs": [ { - "name": "model", - "type": "BIZYAIR_MODEL", + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 114 + 609, + 611 ], "slot_index": 0, "shape": 3 - }, + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 304, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": -572, + "1": 309, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 343.6167902699452, + 92.59419942758745 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ { "name": "clip", "type": "BIZYAIR_CLIP", - "links": null, - "shape": 3 - }, + "link": 625 + } + ], + "outputs": [ { - "name": "vae", - "type": "BIZYAIR_VAE", + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 113 + 615 ], - "slot_index": 2, + "slot_index": 0, "shape": 3 } ], "properties": { - "Node name for S&R": "BizyAir_CheckpointLoaderSimple" + "Node name for S&R": "BizyAir_CLIPTextEncode" }, "widgets_values": [ - "sd3.5_large.safetensors" + "insulated cup nestled within, displaying the text 'bizyair' in bold letters. The surrounding area is a simple, pure canvas with no additional distractions, highlighting the central theme of the product. Ensure the overall composition is both elegant and serene, with attention to detail in both the cup and the background." ] } ], "links": [ [ - 108, - 57, + 609, + 306, + 0, + 307, + 0, + "BIZYAIR_CONDITIONING" + ], + [ + 610, + 307, + 0, + 308, + 0, + "BIZYAIR_CONDITIONING" + ], + [ + 611, + 306, + 0, + 309, + 0, + "BIZYAIR_CONDITIONING" + ], + [ + 612, + 308, + 0, + 310, + 0, + "BIZYAIR_CONDITIONING" + ], + [ + 613, + 309, 0, - 59, + 310, 1, "BIZYAIR_CONDITIONING" ], [ - 109, - 58, + 614, + 310, 0, - 59, + 311, 2, "BIZYAIR_CONDITIONING" ], [ - 110, - 53, + 615, + 304, 0, - 59, - 3, - "LATENT" + 311, + 1, + "BIZYAIR_CONDITIONING" ], [ - 112, - 59, + 616, + 312, 0, - 61, + 311, 0, - "LATENT" + "BIZYAIR_MODEL" + ], + [ + 617, + 302, + 0, + 312, + 0, + "BIZYAIR_MODEL" ], [ - 113, - 62, + 619, + 302, 2, - 61, + 314, 1, "BIZYAIR_VAE" ], [ - 114, - 62, + 620, + 311, 0, - 59, + 314, 0, - "BIZYAIR_MODEL" + "LATENT" ], [ - 115, - 61, + 621, + 314, 0, - 63, + 315, 0, "IMAGE" ], [ - 116, - 54, + 622, + 135, + 0, + 311, + 3, + "LATENT" + ], + [ + 623, + 303, + 0, + 316, + 0, + "*" + ], + [ + 624, + 316, 0, - 57, + 306, 0, "BIZYAIR_CLIP" ], [ - 117, - 54, + 625, + 316, 0, - 58, + 304, 0, "BIZYAIR_CLIP" ] @@ -469,10 +839,10 @@ "config": {}, "extra": { "ds": { - "scale": 0.6830134553650711, + "scale": 0.4240976183724853, "offset": [ - -468.8509593979157, - 950.4200831762071 + 1390.5504319089619, + 569.5428869938895 ] } }, From d1922394ce425ae9ac6c2e9b785c4d1055ee8563 Mon Sep 17 00:00:00 2001 From: Yao Chi Date: Sat, 26 Oct 2024 15:07:44 +0800 Subject: [PATCH 3/7] Remove result in UI after executed (#186) * add sr deprecated message * remove the ui update after executed * Update llm.py * reformat * refine ci * cacne in progress ci --- .github/workflows/workflow-ci.yml | 10 +++- js/siliconcloud_llm_api.js | 90 ------------------------------- llm.py | 6 +-- 3 files changed, 12 insertions(+), 94 deletions(-) diff --git a/.github/workflows/workflow-ci.yml b/.github/workflows/workflow-ci.yml index 581697cb..ad3dd480 100644 --- a/.github/workflows/workflow-ci.yml +++ b/.github/workflows/workflow-ci.yml @@ -5,6 +5,10 @@ on: branches: - master +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true + jobs: check-modified-files: runs-on: ubuntu-latest @@ -16,10 +20,14 @@ jobs: with: fetch-depth: 0 + - name: Fetch target branch + run: | + git fetch origin ${{ github.base_ref }} --depth=1 + - name: Check modified files id: check_files run: | - modified_files=$(git diff --name-only ${{ github.event.before }} ${{ github.event.after }}) + modified_files=$(git diff --name-only origin/${{ github.base_ref }}...HEAD) only_non_code_files=true for file in $modified_files; do if [[ "$file" == *.py ]] || [[ "$file" == *.js ]] || [[ "$file" == *.json ]]; then diff --git a/js/siliconcloud_llm_api.js b/js/siliconcloud_llm_api.js index 8c2f1eb4..551c8a5d 100644 --- a/js/siliconcloud_llm_api.js +++ b/js/siliconcloud_llm_api.js @@ -1,95 +1,5 @@ import { app } from "../../scripts/app.js"; -import { ComfyWidgets } from "../../scripts/widgets.js"; -app.registerExtension({ - name: "bizyair.siliconcloud.llm.api.populate", - async beforeRegisterNodeDef(nodeType, nodeData, app) { - if (nodeData.name === "BizyAirSiliconCloudLLMAPI") { - function populate(text) { - if (this.widgets) { - const pos = this.widgets.findIndex((w) => w.name === "showtext"); - if (pos !== -1) { - for (let i = pos; i < this.widgets.length; i++) { - this.widgets[i].onRemove?.(); - } - this.widgets.length = pos; - } - } - - for (const list of text) { - const w = ComfyWidgets["STRING"](this, "showtext", ["STRING", { multiline: true }], app).widget; - w.inputEl.readOnly = true; - w.inputEl.style.opacity = 0.6; - w.value = list; - } - - requestAnimationFrame(() => { - const sz = this.computeSize(); - if (sz[0] < this.size[0]) { - sz[0] = this.size[0]; - } - if (sz[1] < this.size[1]) { - sz[1] = this.size[1]; - } - this.onResize?.(sz); - app.graph.setDirtyCanvas(true, false); - }); - } - - const onExecuted = nodeType.prototype.onExecuted; - nodeType.prototype.onExecuted = function (message) { - onExecuted?.apply(this, arguments); - populate.call(this, message.text); - }; - } - }, -}); - -app.registerExtension({ - name: "bizyair.siliconcloud.vlm.api.populate", - async beforeRegisterNodeDef(nodeType, nodeData, app) { - if (nodeData.name === "BizyAirSiliconCloudVLMAPI") { - function populate(text) { - if (this.widgets) { - const pos = this.widgets.findIndex((w) => w.name === "showtext"); - if (pos !== -1) { - for (let i = pos; i < this.widgets.length; i++) { - this.widgets[i].onRemove?.(); - } - this.widgets.length = pos; - } - } - - for (const list of text) { - const w = ComfyWidgets["STRING"](this, "showtext", ["STRING", { multiline: true }], app).widget; - w.inputEl.readOnly = true; - w.inputEl.style.opacity = 0.6; - w.value = list; - } - - requestAnimationFrame(() => { - const sz = this.computeSize(); - if (sz[0] < this.size[0]) { - sz[0] = this.size[0]; - } - if (sz[1] < this.size[1]) { - sz[1] = this.size[1]; - } - this.onResize?.(sz); - app.graph.setDirtyCanvas(true, false); - }); - } - - const onExecuted = nodeType.prototype.onExecuted; - nodeType.prototype.onExecuted = function (message) { - onExecuted?.apply(this, arguments); - populate.call(this, message.text); - }; - } - }, -}); - -// 通用的模型获取和更新函数 const createModelFetchExtension = (nodeName, endpoint) => { return { name: `bizyair.siliconcloud.${nodeName.toLowerCase()}.api.model_fetch`, diff --git a/llm.py b/llm.py index b1275d37..e7424781 100644 --- a/llm.py +++ b/llm.py @@ -116,7 +116,7 @@ def get_llm_model_response( ) ret = json.loads(response) text = ret["choices"][0]["message"]["content"] - return {"ui": {"text": (text,)}, "result": (text,)} + return (text,) # if update ui: {"ui": {"text": (text,)}, "result": (text,)} class SiliconCloudVLMAPI: @@ -183,7 +183,7 @@ def get_vlm_model_response( ) ret = json.loads(response) text = ret["choices"][0]["message"]["content"] - return {"ui": {"text": (text,)}, "result": (text,)} + return (text,) class BizyAirJoyCaption: @@ -269,7 +269,7 @@ def joycaption(self, image, do_sample, temperature, max_tokens): raise Exception(f"Unexpected response type: {msg}") caption = msg["data"] - return {"ui": {"text": (caption,)}, "result": (caption,)} + return (caption,) NODE_CLASS_MAPPINGS = { From 751954f72a7f6f1f1e8a38e811d7b8c9d018455d Mon Sep 17 00:00:00 2001 From: caylaxiao <157781916+caylaxiao@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:44:03 +0800 Subject: [PATCH 4/7] Modified examples (#165) * Modified examples * Check Black Formatting * Second modification * black formatting again * Modified the image size --------- Co-authored-by: Yao Chi --- ...anime_image_super_resolution_workflow.json | 143 +- ...yair_controlnet_preprocessor_workflow.json | 1761 ++++++++++------- .../bizyair_controlnet_union_workflow.json | 377 ++-- examples/bizyair_flux_dev_workflow.json | 584 +++--- examples/bizyair_flux_img2img_workflow.json | 666 ++++--- ...yair_flux_joycaption_img2img_workflow.json | 761 ++++--- examples/bizyair_flux_pulid.json | 1058 +++++----- examples/bizyair_flux_schnell_workflow.json | 618 +++--- .../bizyair_flux_simple_lora_workflow.json | 1439 ++++++++------ ...nerate_photorealistic_images_workflow.json | 103 +- examples/bizyair_kolors_controlnet.json | 679 ++++--- examples/bizyair_kolors_inpainting.json | 686 ++++--- examples/bizyair_kolors_ipa.json | 663 ++++--- examples/bizyair_kolors_txt2img.json | 497 +++-- .../bizyair_remove_background_workflow.json | 148 +- examples/bizyair_sdxl_InstantID_basic.json | 862 ++++---- .../bizyair_showcase_interior_design.json | 342 ++-- .../bizyair_showcase_ksampler_controlnet.json | 650 +++--- .../bizyair_showcase_ksampler_img2img.json | 478 +++-- .../bizyair_showcase_ksampler_ipadapter.json | 794 +++++--- examples/bizyair_showcase_ksampler_lora.json | 511 +++-- .../bizyair_showcase_ksampler_txt2img.json | 456 +++-- ...ir_showcase_realistic_superresolution.json | 164 +- .../bizyair_showcase_remove_background.json | 217 +- .../bizyair_showcase_shark_submarine.json | 394 ++-- .../bizyair_text_guided_segment-anything.json | 138 +- examples/bizyair_ultimate_sd_upscale.json | 886 +++++---- 27 files changed, 9458 insertions(+), 6617 deletions(-) diff --git a/examples/bizyair_anime_image_super_resolution_workflow.json b/examples/bizyair_anime_image_super_resolution_workflow.json index 6eb43e0e..6e8fbff5 100644 --- a/examples/bizyair_anime_image_super_resolution_workflow.json +++ b/examples/bizyair_anime_image_super_resolution_workflow.json @@ -2,17 +2,45 @@ "last_node_id": 35, "last_link_id": 47, "nodes": [ + { + "id": 35, + "type": "PreviewImage", + "pos": { + "0": 1771, + "1": 566 + }, + "size": [ + 316, + 333 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 47, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "shape": 1 + }, { "id": 34, "type": "BizyAirSuperResolution", - "pos": [ - 2158, - 623 - ], - "size": { - "0": 315, - "1": 58 + "pos": { + "0": 1384, + "1": 580 }, + "size": [ + 351, + 309 + ], "flags": {}, "order": 1, "mode": 0, @@ -20,7 +48,8 @@ { "name": "image", "type": "IMAGE", - "link": 46 + "link": 46, + "label": "image" } ], "outputs": [ @@ -30,8 +59,9 @@ "links": [ 47 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { @@ -39,22 +69,24 @@ }, "widgets_values": [ "2x" - ] + ], + "shape": 1 }, { "id": 33, "type": "LoadImage", - "pos": [ - 1830, - 614 - ], + "pos": { + "0": 1008, + "1": 565 + }, "size": [ - 315, - 314 + 338, + 331 ], "flags": {}, "order": 0, "mode": 0, + "inputs": [], "outputs": [ { "name": "IMAGE", @@ -62,14 +94,16 @@ "links": [ 46 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, - "shape": 3 + "shape": 3, + "label": "MASK" } ], "properties": { @@ -78,32 +112,8 @@ "widgets_values": [ "葫芦娃吐火.webp", "image" - ] - }, - { - "id": 35, - "type": "PreviewImage", - "pos": [ - 2165, - 721 - ], - "size": [ - 321.3333740234375, - 364.0000305175781 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 47 - } ], - "properties": { - "Node name for S&R": "PreviewImage" - } + "shape": 1 } ], "links": [ @@ -124,15 +134,52 @@ "IMAGE" ] ], - "groups": [], + "groups": [ + { + "title": "参考图", + "bounding": [ + 990, + 488, + 373, + 429 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 1753, + 488, + 347, + 428 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "图像处理", + "bounding": [ + 1365, + 488, + 386, + 428 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { "scale": 1, - "offset": { - "0": -918, - "1": -317.33331298828125 - } + "offset": [ + -891, + -226 + ] } }, "version": 0.4 diff --git a/examples/bizyair_controlnet_preprocessor_workflow.json b/examples/bizyair_controlnet_preprocessor_workflow.json index 2a56e42a..b5a16dec 100644 --- a/examples/bizyair_controlnet_preprocessor_workflow.json +++ b/examples/bizyair_controlnet_preprocessor_workflow.json @@ -2,57 +2,17 @@ "last_node_id": 58, "last_link_id": 48, "nodes": [ - { - "id": 4, - "type": "BizyAirCannyEdgePreprocessor", - "pos": [ - 515, - 530 - ], - "size": { - "0": 315, - "1": 106 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 3 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 21 - ], - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "BizyAirCannyEdgePreprocessor" - }, - "widgets_values": [ - 100, - 200, - 512 - ] - }, { "id": 5, "type": "BizyAirSAMPreprocessor", - "pos": [ - 515, - 766 - ], - "size": { - "0": 315, - "1": 58 + "pos": { + "0": 1194.114990234375, + "1": 937.1026611328125 }, + "size": [ + 345.136582654, + 80.85722921552076 + ], "flags": {}, "order": 5, "mode": 0, @@ -60,7 +20,8 @@ { "name": "image", "type": "IMAGE", - "link": 4 + "link": 4, + "label": "image" } ], "outputs": [ @@ -70,7 +31,8 @@ "links": [ 22 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { @@ -78,27 +40,29 @@ }, "widgets_values": [ 512 - ] + ], + "shape": 1 }, { - "id": 8, - "type": "BizyAirBinaryPreprocessor", - "pos": [ - 515, - 954 - ], - "size": { - "0": 315, - "1": 82 + "id": 11, + "type": "BizyAirUniFormer_SemSegPreprocessor", + "pos": { + "0": 1190.114990234375, + "1": 463.1022033691406 }, + "size": [ + 345.59346065399995, + 133.94132121552127 + ], "flags": {}, - "order": 6, + "order": 9, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 5 + "link": 8, + "label": "image" } ], "outputs": [ @@ -106,38 +70,40 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 23 + 26 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirBinaryPreprocessor" + "Node name for S&R": "BizyAirUniFormer_SemSegPreprocessor" }, "widgets_values": [ - 100, 512 - ] + ], + "shape": 1 }, { - "id": 9, - "type": "BizyAirScribblePreprocessor", - "pos": [ - 515, - 1166 - ], - "size": { - "0": 315, - "1": 82 + "id": 20, + "type": "BizyAirOneFormer_ADE20K_SemSegPreprocessor", + "pos": { + "0": 1192.114990234375, + "1": 797.1026611328125 }, + "size": [ + 360.136582654, + 77.70576421552084 + ], "flags": {}, - "order": 7, + "order": 17, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 6 + "link": 16, + "label": "image" } ], "outputs": [ @@ -145,38 +111,40 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 24 + 35 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirScribblePreprocessor" + "Node name for S&R": "BizyAirOneFormer_ADE20K_SemSegPreprocessor" }, "widgets_values": [ - "enable", 512 - ] + ], + "shape": 1 }, { - "id": 10, - "type": "BizyAirM_LSDPreprocessor", - "pos": [ - 515, - 1378 - ], - "size": { - "0": 315, - "1": 106 + "id": 19, + "type": "BizyAirOneFormer_COCO_SemSegPreprocessor", + "pos": { + "0": 1190.114990234375, + "1": 643.1026611328125 }, + "size": [ + 355.67970465400003, + 101.46805521552108 + ], "flags": {}, - "order": 8, + "order": 16, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 7 + "link": 15, + "label": "image" } ], "outputs": [ @@ -184,39 +152,40 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 25 + 34 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirM_LSDPreprocessor" + "Node name for S&R": "BizyAirOneFormer_COCO_SemSegPreprocessor" }, "widgets_values": [ - 0.1, - 0.1, 512 - ] + ], + "shape": 1 }, { - "id": 11, - "type": "BizyAirUniFormer_SemSegPreprocessor", - "pos": [ - 515, - 1614 - ], - "size": { - "0": 315, - "1": 58 + "id": 3, + "type": "BizyAirColorPreprocessor", + "pos": { + "0": 1173.1025390625, + "1": 1139.1025390625 }, + "size": [ + 394.1181873609994, + 318.0726992125201 + ], "flags": {}, - "order": 9, + "order": 3, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 8 + "link": 2, + "label": "image" } ], "outputs": [ @@ -224,37 +193,40 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 26 + 20 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirUniFormer_SemSegPreprocessor" + "Node name for S&R": "BizyAirColorPreprocessor" }, "widgets_values": [ 512 - ] + ], + "shape": 1 }, { - "id": 3, - "type": "BizyAirColorPreprocessor", - "pos": [ - 515, - 342 - ], + "id": 22, + "type": "BizyAirFakeScribblePreprocessor", + "pos": { + "0": 1627.1025390625, + "1": 1378.1025390625 + }, "size": { - "0": 315, - "1": 58 + "0": 403.20001220703125, + "1": 82 }, "flags": {}, - "order": 3, + "order": 19, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 2 + "link": 18, + "label": "image" } ], "outputs": [ @@ -262,37 +234,41 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 20 + 37 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirColorPreprocessor" + "Node name for S&R": "BizyAirFakeScribblePreprocessor" }, "widgets_values": [ + "enable", 512 - ] + ], + "shape": 1 }, { - "id": 2, - "type": "BizyAirPiDiNetPreprocessor", - "pos": [ - 515, - 130 - ], - "size": { - "0": 315, - "1": 82 + "id": 57, + "type": "BizyAirOpenposePreprocessor", + "pos": { + "0": 746.1025390625, + "1": 964.1026000976562 }, + "size": [ + 379.8887461640006, + 496.8090385555204 + ], "flags": {}, - "order": 2, + "order": 25, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 1 + "link": 48, + "label": "image" } ], "outputs": [ @@ -300,99 +276,103 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 19 + 30 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" + }, + { + "name": "POSE_KEYPOINT", + "type": "POSE_KEYPOINT", + "links": null, + "shape": 3, + "label": "POSE_KEYPOINT" } ], "properties": { - "Node name for S&R": "BizyAirPiDiNetPreprocessor" + "Node name for S&R": "BizyAirOpenposePreprocessor" }, "widgets_values": [ + "enable", + "enable", "enable", 512 - ] + ], + "shape": 1 }, { - "id": 1, - "type": "LoadImage", - "pos": [ - 100, - 130 - ], - "size": { - "0": 315, - "1": 314 + "id": 55, + "type": "BizyAirDWPreprocessor", + "pos": { + "0": 747.1025390625, + "1": 489.10247802734375 }, + "size": [ + 394.78618036400053, + 397.0144018555211 + ], "flags": {}, - "order": 0, + "order": 24, "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 46, + "label": "image" + } + ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 38, - 40, - 42, - 44, - 46, - 48 + 47 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" }, { - "name": "MASK", - "type": "MASK", + "name": "POSE_KEYPOINT", + "type": "POSE_KEYPOINT", "links": null, - "shape": 3 + "shape": 3, + "label": "POSE_KEYPOINT" } ], "properties": { - "Node name for S&R": "LoadImage" + "Node name for S&R": "BizyAirDWPreprocessor" }, "widgets_values": [ - "welcome_to_siliconflow.webp", - "image" - ] + "enable", + "enable", + "enable", + 512, + "yolox_l.onnx", + "dw-ll_ucoco_384_bs5.torchscript.pt" + ], + "shape": 1 }, { - "id": 13, - "type": "BizyAirMiDaS_NormalMapPreprocessor", - "pos": [ - 86, - 531 - ], - "size": { - "0": 315, - "1": 106 + "id": 48, + "type": "BizyAirMetric3D_DepthMapPreprocessor", + "pos": { + "0": 303.10260009765625, + "1": 419.10235595703125 }, + "size": [ + 362.9658525640011, + 130 + ], "flags": {}, - "order": 11, + "order": 22, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 10 + "link": 42, + "label": "image" } ], "outputs": [ @@ -400,31 +380,34 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 28 + 43 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirMiDaS_NormalMapPreprocessor" + "Node name for S&R": "BizyAirMetric3D_DepthMapPreprocessor" }, "widgets_values": [ - 6.28, - 0.1, + "vit-small", + 1000, + 1000, 512 - ] + ], + "shape": 1 }, { "id": 14, "type": "BizyAirMiDaS_DepthMapPreprocessor", - "pos": [ - 86, - 742 - ], - "size": { - "0": 315, - "1": 106 + "pos": { + "0": 304.10260009765625, + "1": 1372.1025390625 }, + "size": [ + 407.3636900120018, + 114.97731202552018 + ], "flags": {}, "order": 12, "mode": 0, @@ -432,7 +415,8 @@ { "name": "image", "type": "IMAGE", - "link": 11 + "link": 11, + "label": "image" } ], "outputs": [ @@ -442,7 +426,8 @@ "links": [ 29 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { @@ -450,29 +435,31 @@ }, "widgets_values": [ 6.15, - 1, + 0.9, 512 - ] + ], + "shape": 1 }, { - "id": 16, - "type": "BizyAirLineArtPreprocessor", - "pos": [ - 85, - 953 - ], - "size": { - "0": 315, - "1": 82 + "id": 53, + "type": "BizyAirMetric3D_NormalMapPreprocessor", + "pos": { + "0": 305.10260009765625, + "1": 1191.1025390625 }, + "size": [ + 404.51753871200174, + 149.23379272552052 + ], "flags": {}, - "order": 13, + "order": 23, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 12 + "link": 44, + "label": "image" } ], "outputs": [ @@ -480,38 +467,43 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 31 + 45 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirLineArtPreprocessor" + "Node name for S&R": "BizyAirMetric3D_NormalMapPreprocessor" }, "widgets_values": [ - "enable", - 512 - ] + "vit-small", + 1000, + 1000, + 512 + ], + "shape": 1 }, { - "id": 17, - "type": "BizyAirLeReS_DepthMapPreprocessor", - "pos": [ - 67, - 1115 - ], + "id": 13, + "type": "BizyAirMiDaS_NormalMapPreprocessor", + "pos": { + "0": 311.10260009765625, + "1": 1056.1025390625 + }, "size": [ - 436.79998779296875, - 130 + 390.62010451200183, + 106 ], "flags": {}, - "order": 14, + "order": 11, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 13 + "link": 10, + "label": "image" } ], "outputs": [ @@ -519,40 +511,42 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 32 + 28 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirLeReS_DepthMapPreprocessor" + "Node name for S&R": "BizyAirMiDaS_NormalMapPreprocessor" }, "widgets_values": [ - 0, - 0, - "enable", - 512 - ] + 6.28, + 0.1, + 576 + ], + "shape": 1 }, { - "id": 18, - "type": "BizyAirBAE_NormalMapPreprocessor", - "pos": [ - 77, - 1396 - ], - "size": { - "0": 315, - "1": 58 + "id": 12, + "type": "BizyAirZoe_DepthMapPreprocessor", + "pos": { + "0": 302.10260009765625, + "1": 582.1026000976562 }, + "size": [ + 361.9145696640012, + 62.6042379555214 + ], "flags": {}, - "order": 15, + "order": 10, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 14 + "link": 9, + "label": "image" } ], "outputs": [ @@ -560,37 +554,40 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 33 + 27 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirBAE_NormalMapPreprocessor" + "Node name for S&R": "BizyAirZoe_DepthMapPreprocessor" }, "widgets_values": [ 512 - ] + ], + "shape": 1 }, { - "id": 20, - "type": "BizyAirOneFormer_ADE20K_SemSegPreprocessor", - "pos": [ - 77, - 1738 - ], - "size": { - "0": 315, - "1": 58 + "id": 18, + "type": "BizyAirBAE_NormalMapPreprocessor", + "pos": { + "0": 306.10260009765625, + "1": 678.1026000976562 }, + "size": [ + 362.9145696640012, + 58 + ], "flags": {}, - "order": 17, + "order": 15, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 16 + "link": 14, + "label": "image" } ], "outputs": [ @@ -598,37 +595,40 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 35 + 33 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirOneFormer_ADE20K_SemSegPreprocessor" + "Node name for S&R": "BizyAirBAE_NormalMapPreprocessor" }, "widgets_values": [ 512 - ] + ], + "shape": 1 }, { - "id": 19, - "type": "BizyAirOneFormer_COCO_SemSegPreprocessor", - "pos": [ - 82, - 1590 - ], - "size": { - "0": 315, - "1": 58 + "id": 17, + "type": "BizyAirLeReS_DepthMapPreprocessor", + "pos": { + "0": 287.10260009765625, + "1": 774.1026000976562 }, + "size": [ + 436.79998779296875, + 130 + ], "flags": {}, - "order": 16, + "order": 14, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 15 + "link": 13, + "label": "image" } ], "outputs": [ @@ -636,37 +636,43 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 34 + 32 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirOneFormer_COCO_SemSegPreprocessor" + "Node name for S&R": "BizyAirLeReS_DepthMapPreprocessor" }, "widgets_values": [ + 0, + 0, + "enable", 512 - ] + ], + "shape": 1 }, { - "id": 44, - "type": "BizyAirTilePreprocessor", - "pos": [ - 64, - 1872 - ], + "id": 46, + "type": "BizyAirDepthAnythingV2Preprocessor", + "pos": { + "0": 330.10260009765625, + "1": 940.1026000976562 + }, "size": { - "0": 315, + "0": 319.20001220703125, "1": 82 }, "flags": {}, - "order": 20, + "order": 21, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 38 + "link": 40, + "label": "image" } ], "outputs": [ @@ -674,38 +680,41 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 39 + 41 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirTilePreprocessor" + "Node name for S&R": "BizyAirDepthAnythingV2Preprocessor" }, "widgets_values": [ - 3, + "depth_anything_v2_vitl.pth", 512 - ] + ], + "shape": 1 }, { - "id": 12, - "type": "BizyAirZoe_DepthMapPreprocessor", - "pos": [ - 513, - 1754 - ], - "size": { - "0": 315, - "1": 58 + "id": 4, + "type": "BizyAirCannyEdgePreprocessor", + "pos": { + "0": 1614, + "1": 478 }, + "size": [ + 422.32947592799997, + 106 + ], "flags": {}, - "order": 10, + "order": 4, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 9 + "link": 3, + "label": "image" } ], "outputs": [ @@ -713,301 +722,318 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 27 + 21 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirZoe_DepthMapPreprocessor" + "Node name for S&R": "BizyAirCannyEdgePreprocessor" }, "widgets_values": [ + 34, + 200, 512 - ] + ], + "shape": 1 }, { - "id": 46, - "type": "BizyAirDepthAnythingV2Preprocessor", - "pos": [ - 492, - 1897 - ], - "size": { - "0": 319.20001220703125, - "1": 82 + "id": 1, + "type": "LoadImage", + "pos": { + "0": 292, + "1": 39 }, + "size": [ + 1756.8759232119992, + 288.02909142552215 + ], "flags": {}, - "order": 21, + "order": 0, "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 40 - } - ], + "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ - 41 + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 38, + 40, + 42, + 44, + 46, + 48 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" } ], "properties": { - "Node name for S&R": "BizyAirDepthAnythingV2Preprocessor" + "Node name for S&R": "LoadImage" }, "widgets_values": [ - "depth_anything_v2_vitl.pth", - 512 - ] + "welcome_to_siliconflow.webp", + "image" + ], + "shape": 1 }, { - "id": 24, - "type": "PreviewImage", - "pos": [ - 851, - 131 - ], - "size": { - "0": 210, - "1": 246 + "id": 16, + "type": "BizyAirLineArtPreprocessor", + "pos": { + "0": 1620, + "1": 625 }, + "size": [ + 416.43204172799983, + 82 + ], "flags": {}, - "order": 26, + "order": 13, "mode": 0, "inputs": [ { - "name": "images", + "name": "image", "type": "IMAGE", - "link": 19 + "link": 12, + "label": "image" } ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 29, - "type": "PreviewImage", - "pos": [ - 1100, - 132 - ], - "size": { - "0": 210, - "1": 246 - }, - "flags": {}, - "order": 30, - "mode": 0, - "inputs": [ + "outputs": [ { - "name": "images", + "name": "IMAGE", "type": "IMAGE", - "link": 23 + "links": [ + 31 + ], + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "PreviewImage" - } + "Node name for S&R": "BizyAirLineArtPreprocessor" + }, + "widgets_values": [ + "enable", + 512 + ], + "shape": 1 }, { - "id": 33, - "type": "PreviewImage", - "pos": [ - 1347, - 138 - ], - "size": { - "0": 210, - "1": 246 + "id": 2, + "type": "BizyAirPiDiNetPreprocessor", + "pos": { + "0": 1623, + "1": 737 }, + "size": [ + 418.483324628, + 82 + ], "flags": {}, - "order": 34, + "order": 2, "mode": 0, "inputs": [ { - "name": "images", + "name": "image", "type": "IMAGE", - "link": 27 + "link": 1, + "label": "image" } ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 38, - "type": "PreviewImage", - "pos": [ - 1589, - 141 - ], - "size": { - "0": 210, - "1": 246 - }, - "flags": {}, - "order": 38, - "mode": 0, - "inputs": [ + "outputs": [ { - "name": "images", + "name": "IMAGE", "type": "IMAGE", - "link": 32 + "links": [ + 19 + ], + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "PreviewImage" - } + "Node name for S&R": "BizyAirPiDiNetPreprocessor" + }, + "widgets_values": [ + "enable", + 512 + ], + "shape": 1 }, { - "id": 25, - "type": "PreviewImage", - "pos": [ - 860, - 455 - ], - "size": { - "0": 210, - "1": 246 + "id": 10, + "type": "BizyAirM_LSDPreprocessor", + "pos": { + "0": 1616, + "1": 983 }, + "size": [ + 423.43204172799983, + 106 + ], "flags": {}, - "order": 27, + "order": 8, "mode": 0, "inputs": [ { - "name": "images", + "name": "image", "type": "IMAGE", - "link": 20 + "link": 7, + "label": "image" } ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 26, - "type": "PreviewImage", - "pos": [ - 868, - 771 - ], - "size": { - "0": 210, - "1": 246 - }, - "flags": {}, - "order": 28, - "mode": 0, - "inputs": [ + "outputs": [ { - "name": "images", + "name": "IMAGE", "type": "IMAGE", - "link": 21 + "links": [ + 25 + ], + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "PreviewImage" - } + "Node name for S&R": "BizyAirM_LSDPreprocessor" + }, + "widgets_values": [ + 0.1, + 0.1, + 512 + ], + "shape": 1 }, { - "id": 27, - "type": "PreviewImage", - "pos": [ - 867, - 1085 - ], - "size": { - "0": 210, - "1": 246 + "id": 8, + "type": "BizyAirBinaryPreprocessor", + "pos": { + "0": 1614, + "1": 853 }, + "size": [ + 424.3807588279999, + 88.45663126400018 + ], "flags": {}, - "order": 29, + "order": 6, "mode": 0, "inputs": [ { - "name": "images", + "name": "image", "type": "IMAGE", - "link": 22 + "link": 5, + "label": "image" } ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 30, - "type": "PreviewImage", - "pos": [ - 1103, - 466 - ], - "size": { - "0": 210, - "1": 246 - }, - "flags": {}, - "order": 31, - "mode": 0, - "inputs": [ + "outputs": [ { - "name": "images", + "name": "IMAGE", "type": "IMAGE", - "link": 24 + "links": [ + 23 + ], + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "PreviewImage" - } + "Node name for S&R": "BizyAirBinaryPreprocessor" + }, + "widgets_values": [ + 100, + 512 + ], + "shape": 1 }, { - "id": 34, - "type": "PreviewImage", - "pos": [ - 1351, - 470 - ], - "size": { - "0": 210, - "1": 246 + "id": 9, + "type": "BizyAirScribblePreprocessor", + "pos": { + "0": 1616, + "1": 1130 }, + "size": [ + 425.3807588279999, + 82 + ], "flags": {}, - "order": 35, + "order": 7, "mode": 0, "inputs": [ { - "name": "images", + "name": "image", "type": "IMAGE", - "link": 28 + "link": 6, + "label": "image" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 24 + ], + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "PreviewImage" - } + "Node name for S&R": "BizyAirScribblePreprocessor" + }, + "widgets_values": [ + "disable", + 512 + ], + "shape": 1 }, { - "id": 48, - "type": "BizyAirMetric3D_DepthMapPreprocessor", - "pos": [ - 856, - 1833 - ], - "size": { - "0": 315, - "1": 130 + "id": 21, + "type": "BizyAirHEDPreprocessor", + "pos": { + "0": 1614, + "1": 1254 }, + "size": [ + 421.43204172799983, + 82 + ], "flags": {}, - "order": 22, + "order": 18, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 42 + "link": 17, + "label": "image" } ], "outputs": [ @@ -1015,40 +1041,41 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 43 + 36 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirMetric3D_DepthMapPreprocessor" + "Node name for S&R": "BizyAirHEDPreprocessor" }, "widgets_values": [ - "vit-small", - 1000, - 1000, + "enable", 512 - ] + ], + "shape": 1 }, { - "id": 53, - "type": "BizyAirMetric3D_NormalMapPreprocessor", - "pos": [ - 1218, - 1826 - ], - "size": { - "0": 315, - "1": 130 + "id": 44, + "type": "BizyAirTilePreprocessor", + "pos": { + "0": 2142, + "1": 8 }, + "size": [ + 532.1317875299978, + 1447.45115013352 + ], "flags": {}, - "order": 23, + "order": 20, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", - "link": 44 + "link": 38, + "label": "image" } ], "outputs": [ @@ -1056,170 +1083,206 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 45 + 39 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirMetric3D_NormalMapPreprocessor" + "Node name for S&R": "BizyAirTilePreprocessor" }, "widgets_values": [ - "vit-small", - 980, - 1000, + 3, 512 - ] + ], + "shape": 1 }, { - "id": 21, - "type": "BizyAirHEDPreprocessor", - "pos": [ - 878, - 1659 - ], + "id": 32, + "type": "PreviewImage", + "pos": { + "0": 3031, + "1": 1127 + }, "size": { - "0": 315, - "1": 82 + "0": 210, + "1": 246 }, "flags": {}, - "order": 18, + "order": 33, "mode": 0, "inputs": [ { - "name": "image", + "name": "images", "type": "IMAGE", - "link": 17 + "link": 26, + "label": "images" } ], - "outputs": [ + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 27, + "type": "PreviewImage", + "pos": { + "0": 2763, + "1": 1135 + }, + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ { - "name": "IMAGE", + "name": "images", "type": "IMAGE", - "links": [ - 36 - ], - "shape": 3 + "link": 22, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAirHEDPreprocessor" - }, - "widgets_values": [ - "enable", - 512 - ] + "Node name for S&R": "PreviewImage" + } }, { - "id": 22, - "type": "BizyAirFakeScribblePreprocessor", - "pos": [ - 1225, - 1650 - ], + "id": 37, + "type": "PreviewImage", + "pos": { + "0": 3288, + "1": 1105 + }, "size": { - "0": 403.20001220703125, - "1": 82 + "0": 210, + "1": 246 }, "flags": {}, - "order": 19, + "order": 37, "mode": 0, "inputs": [ { - "name": "image", + "name": "images", "type": "IMAGE", - "link": 18 + "link": 31, + "label": "images" } ], - "outputs": [ + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 41, + "type": "PreviewImage", + "pos": { + "0": 3537, + "1": 1090 + }, + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ { - "name": "IMAGE", + "name": "images", "type": "IMAGE", - "links": [ - 37 - ], - "shape": 3 + "link": 35, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAirFakeScribblePreprocessor" - }, - "widgets_values": [ - "enable", - 512 - ] + "Node name for S&R": "PreviewImage" + } }, { - "id": 39, + "id": 47, "type": "PreviewImage", - "pos": [ - 1595, - 479 - ], + "pos": { + "0": 3767, + "1": 1091 + }, "size": { "0": 210, "1": 246 }, "flags": {}, - "order": 39, + "order": 45, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 33 + "link": 41, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } }, { - "id": 43, + "id": 56, "type": "PreviewImage", - "pos": [ - 1847, - 481 - ], + "pos": { + "0": 4016, + "1": 1091 + }, "size": { "0": 210, "1": 246 }, "flags": {}, - "order": 43, + "order": 48, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 37 + "link": 47, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } }, { - "id": 54, + "id": 26, "type": "PreviewImage", - "pos": [ - 2086, - 481 - ], + "pos": { + "0": 2763, + "1": 776 + }, "size": { "0": 210, "1": 246 }, "flags": {}, - "order": 47, + "order": 28, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 45 + "link": 21, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } @@ -1227,10 +1290,10 @@ { "id": 31, "type": "PreviewImage", - "pos": [ - 1114, - 778 - ], + "pos": { + "0": 3032, + "1": 759 + }, "size": { "0": 210, "1": 246 @@ -1242,9 +1305,11 @@ { "name": "images", "type": "IMAGE", - "link": 25 + "link": 25, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } @@ -1252,10 +1317,10 @@ { "id": 35, "type": "PreviewImage", - "pos": [ - 1358, - 783 - ], + "pos": { + "0": 3283, + "1": 767 + }, "size": { "0": 210, "1": 246 @@ -1267,9 +1332,11 @@ { "name": "images", "type": "IMAGE", - "link": 29 + "link": 29, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } @@ -1277,10 +1344,10 @@ { "id": 40, "type": "PreviewImage", - "pos": [ - 1610, - 789 - ], + "pos": { + "0": 3530, + "1": 779 + }, "size": { "0": 210, "1": 246 @@ -1292,9 +1359,11 @@ { "name": "images", "type": "IMAGE", - "link": 34 + "link": 34, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } @@ -1302,10 +1371,10 @@ { "id": 45, "type": "PreviewImage", - "pos": [ - 1858, - 796 - ], + "pos": { + "0": 3776, + "1": 736 + }, "size": { "0": 210, "1": 246 @@ -1317,9 +1386,11 @@ { "name": "images", "type": "IMAGE", - "link": 39 + "link": 39, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } @@ -1327,10 +1398,10 @@ { "id": 36, "type": "PreviewImage", - "pos": [ - 2095, - 804 - ], + "pos": { + "0": 4017, + "1": 749 + }, "size": { "0": 210, "1": 246 @@ -1342,306 +1413,363 @@ { "name": "images", "type": "IMAGE", - "link": 30 + "link": 30, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } }, { - "id": 32, + "id": 25, "type": "PreviewImage", - "pos": [ - 1117, - 1093 - ], + "pos": { + "0": 2766, + "1": 433 + }, "size": { "0": 210, "1": 246 }, "flags": {}, - "order": 33, + "order": 27, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 26 + "link": 20, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } }, { - "id": 37, + "id": 30, "type": "PreviewImage", - "pos": [ - 1373, - 1100 - ], + "pos": { + "0": 3021, + "1": 422 + }, "size": { "0": 210, "1": 246 }, "flags": {}, - "order": 37, + "order": 31, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 31 + "link": 24, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } }, { - "id": 41, + "id": 34, "type": "PreviewImage", - "pos": [ - 1619, - 1107 - ], + "pos": { + "0": 3267, + "1": 416 + }, "size": { "0": 210, "1": 246 }, "flags": {}, - "order": 41, + "order": 35, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 35 + "link": 28, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } }, { - "id": 47, + "id": 39, "type": "PreviewImage", - "pos": [ - 1864, - 1118 - ], + "pos": { + "0": 3499, + "1": 424 + }, "size": { "0": 210, "1": 246 }, "flags": {}, - "order": 45, + "order": 39, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 41 + "link": 33, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } }, { - "id": 56, + "id": 43, "type": "PreviewImage", - "pos": [ - 2103, - 1125 - ], + "pos": { + "0": 3739, + "1": 416 + }, "size": { "0": 210, "1": 246 }, "flags": {}, - "order": 48, + "order": 43, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 47 + "link": 37, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } }, { - "id": 49, + "id": 54, "type": "PreviewImage", - "pos": [ - 2076, - 145 - ], + "pos": { + "0": 4006, + "1": 421 + }, "size": { "0": 210, "1": 246 }, "flags": {}, - "order": 46, + "order": 47, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 43 + "link": 45, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } }, { - "id": 42, + "id": 29, "type": "PreviewImage", - "pos": [ - 1839, - 143 - ], + "pos": { + "0": 2782, + "1": 94 + }, "size": { "0": 210, "1": 246 }, "flags": {}, - "order": 42, + "order": 30, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 36 + "link": 23, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } }, { - "id": 58, - "type": "Note", - "pos": [ - 2313, - 143 - ], - "size": [ - 481.3421604898458, - 1229.3401854305428 - ], + "id": 24, + "type": "PreviewImage", + "pos": { + "0": 3010, + "1": 87 + }, + "size": { + "0": 210, + "1": 246 + }, "flags": {}, - "order": 1, + "order": 26, "mode": 0, - "properties": { - "text": "" - }, - "widgets_values": [ - "ControlNet 预处理器可以将普通图片处理为 ControlNet 模型所需要的 Image Prompt。\n\nBizyAir 支持了几乎所有的 ControlNet 预处理器。\n" + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 19, + "label": "images" + } ], - "color": "#432", - "bgcolor": "#653" + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } }, { - "id": 55, - "type": "BizyAirDWPreprocessor", - "pos": [ - 897, - 1390 - ], + "id": 33, + "type": "PreviewImage", + "pos": { + "0": 3248, + "1": 85 + }, "size": { - "0": 315, - "1": 198 + "0": 210, + "1": 246 }, "flags": {}, - "order": 24, + "order": 34, "mode": 0, "inputs": [ { - "name": "image", + "name": "images", "type": "IMAGE", - "link": 46 + "link": 27, + "label": "images" } ], - "outputs": [ + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 38, + "type": "PreviewImage", + "pos": { + "0": 3492, + "1": 91 + }, + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 38, + "mode": 0, + "inputs": [ { - "name": "IMAGE", + "name": "images", "type": "IMAGE", - "links": [ - 47 - ], - "shape": 3 - }, - { - "name": "POSE_KEYPOINT", - "type": "POSE_KEYPOINT", - "links": null, - "shape": 3 + "link": 32, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAirDWPreprocessor" - }, - "widgets_values": [ - "enable", - "enable", - "enable", - 512, - "yolox_l.onnx", - "dw-ll_ucoco_384_bs5.torchscript.pt" - ] + "Node name for S&R": "PreviewImage" + } }, { - "id": 57, - "type": "BizyAirOpenposePreprocessor", - "pos": [ - 1269, - 1423 - ], + "id": 42, + "type": "PreviewImage", + "pos": { + "0": 3731, + "1": 78 + }, "size": { - "0": 315, - "1": 150 + "0": 210, + "1": 246 }, "flags": {}, - "order": 25, + "order": 42, "mode": 0, "inputs": [ { - "name": "image", + "name": "images", "type": "IMAGE", - "link": 48 + "link": 36, + "label": "images" } ], - "outputs": [ + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 49, + "type": "PreviewImage", + "pos": { + "0": 3979, + "1": 84 + }, + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 46, + "mode": 0, + "inputs": [ { - "name": "IMAGE", + "name": "images", "type": "IMAGE", - "links": [ - 30 - ], - "shape": 3 - }, - { - "name": "POSE_KEYPOINT", - "type": "POSE_KEYPOINT", - "links": null, - "shape": 3 + "link": 43, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAirOpenposePreprocessor" + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 58, + "type": "Note", + "pos": { + "0": 4264, + "1": -60 + }, + "size": [ + 543.7903432669937, + 1562.31473166152 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" }, "widgets_values": [ - "enable", - "enable", - "enable", - 512 - ] + "ControlNet 预处理器可以将普通图片处理为 ControlNet 模型所需要的 Image Prompt。\n\nBizyAir 支持了几乎所有的 ControlNet 预处理器。\n" + ], + "color": "#432", + "bgcolor": "#653" } ], "links": [ @@ -2030,15 +2158,124 @@ "IMAGE" ] ], - "groups": [], + "groups": [ + { + "title": "模型和参考图", + "bounding": [ + 276, + -90, + 1807, + 1598 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "金字塔采样", + "bounding": [ + 2084, + -89, + 635, + 1596 + ], + "color": "#b06634", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + 284, + 348, + 1782, + 1145 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 2724, + -89, + 1525, + 1596 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "处理图像边缘信息", + "bounding": [ + 1595, + 392, + 457, + 1085 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "图像分割", + "bounding": [ + 1165, + 391, + 410, + 646 + ], + "color": "#A88", + "font_size": 24, + "flags": {} + }, + { + "title": "识别人物骨骼", + "bounding": [ + 731, + 389, + 413, + 1088 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "保持图像画风一致", + "bounding": [ + 1164, + 1053, + 417, + 424 + ], + "color": "#b06634", + "font_size": 24, + "flags": {} + }, + { + "title": "参考图", + "bounding": [ + 288, + -39, + 1780, + 372 + ], + "color": "#88A", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 0.5131581182307068, - "offset": { - "0": 628.0009002710915, - "1": 331.9803863952385 - } + "scale": 0.28531167061100027, + "offset": [ + 1543.1632176587982, + 434.9029385818999 + ] } }, "version": 0.4 diff --git a/examples/bizyair_controlnet_union_workflow.json b/examples/bizyair_controlnet_union_workflow.json index fab6c63b..4d929821 100644 --- a/examples/bizyair_controlnet_union_workflow.json +++ b/examples/bizyair_controlnet_union_workflow.json @@ -1,72 +1,89 @@ { - "last_node_id": 67, - "last_link_id": 72, + "last_node_id": 64, + "last_link_id": 70, "nodes": [ { - "id": 62, - "type": "PreviewImage", + "id": 63, + "type": "BizyAirGenerateLightningImage", "pos": { - "0": 427, - "1": 865 - }, - "size": { - "0": 385.400390625, - "1": 315.51861572265625 + "0": -817.8043212890625, + "1": 842.0202026367188 }, + "size": [ + 336, + 464.90530178311997 + ], "flags": {}, - "order": 5, + "order": 0, "mode": 0, - "inputs": [ + "inputs": [], + "outputs": [ { - "name": "images", + "name": "IMAGE", "type": "IMAGE", - "link": 68 + "links": [ + 69, + 70 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" } ], - "outputs": [], "properties": { - "Node name for S&R": "PreviewImage" + "Node name for S&R": "BizyAirGenerateLightningImage" }, - "widgets_values": [] + "widgets_values": [ + "a dog", + 493871336398282, + "fixed", + 1024, + 1024, + 1.5, + 2 + ], + "shape": 1 }, { - "id": 51, + "id": 64, "type": "PreviewImage", "pos": { - "0": 879, - "1": 1018 - }, - "size": { - "0": 801.9078369140625, - "1": 862.51708984375 + "0": -446.80413818359375, + "1": 847.0202026367188 }, + "size": [ + 489.3362051087445, + 459.99293657195153 + ], "flags": {}, - "order": 6, + "order": 3, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 59 + "link": 70, + "label": "images" } ], "outputs": [], "properties": { "Node name for S&R": "PreviewImage" }, - "widgets_values": [] + "widgets_values": [], + "shape": 1 }, { "id": 61, "type": "BizyAirDepthAnythingV2Preprocessor", "pos": { - "0": 422, - "1": 1245 - }, - "size": { - "0": 409.1106872558594, - "1": 82 + "0": 121, + "1": 855 }, + "size": [ + 437.5979604419417, + 461.9773364288287 + ], "flags": {}, "order": 2, "mode": 0, @@ -74,7 +91,8 @@ { "name": "image", "type": "IMAGE", - "link": 69 + "link": 69, + "label": "image" } ], "outputs": [ @@ -86,7 +104,8 @@ 68 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { @@ -95,86 +114,20 @@ "widgets_values": [ "depth_anything_v2_vitl.pth", 1024 - ] - }, - { - "id": 63, - "type": "BizyAirGenerateLightningImage", - "pos": { - "0": 427, - "1": 1383 - }, - "size": { - "0": 400, - "1": 220 - }, - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 69, - 70 - ], - "slot_index": 0, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "BizyAirGenerateLightningImage" - }, - "widgets_values": [ - "a dog", - 493871336398282, - "fixed", - 1024, - 1024, - 1.5, - 1 - ] - }, - { - "id": 64, - "type": "PreviewImage", - "pos": { - "0": 430, - "1": 1648 - }, - "size": { - "0": 399.92510986328125, - "1": 330.7376708984375 - }, - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 70 - } ], - "outputs": [], - "properties": { - "Node name for S&R": "PreviewImage" - }, - "widgets_values": [] + "shape": 1 }, { "id": 54, "type": "StableDiffusionXLControlNetUnionPipeline", "pos": { - "0": 889, - "1": 582 - }, - "size": { - "0": 795.5317993164062, - "1": 342 + "0": 1148, + "1": 849 }, + "size": [ + 435.6257136282984, + 471.8020668511658 + ], "flags": {}, "order": 4, "mode": 0, @@ -184,18 +137,21 @@ "type": "IMAGE", "link": null, "slot_index": 0, + "label": "openpose_image", "shape": 7 }, { "name": "depth_image", "type": "IMAGE", "link": 67, + "label": "depth_image", "shape": 7 }, { "name": "hed_pidi_scribble_ted_image", "type": "IMAGE", "link": null, + "label": "hed_pidi_scribble_ted_image", "shape": 7 }, { @@ -203,27 +159,31 @@ "type": "IMAGE", "link": null, "slot_index": 3, + "label": "canny_lineart_anime_lineart_mlsd_image", "shape": 7 }, { "name": "normal_image", "type": "IMAGE", "link": null, + "label": "normal_image", "shape": 7 }, { "name": "segment_image", "type": "IMAGE", "link": null, + "label": "segment_image", "shape": 7 }, { "name": "prompt", "type": "STRING", - "link": 71, + "link": 57, "widget": { "name": "prompt" - } + }, + "label": "prompt" }, { "name": "negative_prompt", @@ -231,7 +191,8 @@ "link": null, "widget": { "name": "negative_prompt" - } + }, + "label": "negative_prompt" } ], "outputs": [ @@ -242,7 +203,8 @@ 59 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { @@ -254,22 +216,52 @@ 28, 1, 5, - "A Siberian Husky painted in the style of Vincent van Gogh, with swirling brushstrokes and vibrant colors, set against a starry night background.", + "", "", 0, 0.5 - ] + ], + "shape": 1 + }, + { + "id": 62, + "type": "PreviewImage", + "pos": { + "0": 609, + "1": 377 + }, + "size": [ + 492.7096804138175, + 377.7419643452673 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 68, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 }, { - "id": 65, - "type": "PrimitiveNode", + "id": 39, + "type": "BizyAirSiliconCloudLLMAPI", "pos": { - "0": 427, - "1": 572 + "0": 615, + "1": 855 }, "size": [ - 379.19244692280597, - 219.53684276937474 + 469.2354891468058, + 465.9773364288287 ], "flags": {}, "order": 1, @@ -280,23 +272,65 @@ "name": "STRING", "type": "STRING", "links": [ - 71 + 57 ], "slot_index": 0, - "widget": { - "name": "prompt" - } + "shape": 3, + "label": "STRING" } ], "properties": { - "Run widget replace on values": false + "Node name for S&R": "BizyAirSiliconCloudLLMAPI" }, "widgets_values": [ - "A Siberian Husky painted in the style of Vincent van Gogh, with swirling brushstrokes and vibrant colors, set against a starry night background." - ] + "(Free)GLM4 9B Chat", + "你是一个 stable diffusion prompt 专家,为我生成适用于 Stable Diffusion 模型的prompt。\n我给你相关的单词,你帮我扩写为适合 Stable Diffusion 文生图的 prompt。要求:\n1. 英文输出\n2. 除了 prompt 外,不要输出任何其它的信息\n", + "哈士奇,梵高风格", + 510, + 0.8200000000000001, + "\nVibrant and playful Siberian Husky, depicted in a Van Gogh-inspired style with swirling brushstrokes and vivid colors, capturing the essence of the artist's signature technique" + ], + "shape": 1 + }, + { + "id": 51, + "type": "PreviewImage", + "pos": { + "0": 1640, + "1": 848 + }, + "size": [ + 483.1756075443309, + 474.6267972735029 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 59, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 } ], "links": [ + [ + 57, + 39, + 0, + 54, + 6, + "STRING" + ], [ 59, 54, @@ -336,24 +370,89 @@ 64, 0, "IMAGE" - ], - [ - 71, - 65, - 0, - 54, - 6, - "STRING" ] ], - "groups": [], + "groups": [ + { + "title": "预览图", + "bounding": [ + 1622, + 769, + 518, + 575 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 586, + 767, + 525, + 575 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + 89, + 765, + 496, + 577 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "参考图", + "bounding": [ + -855, + 766, + 941, + 575 + ], + "color": "#88A", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 1113, + 768, + 505, + 574 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 586, + 301, + 533, + 469 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 0.8390545288824038, + "scale": 0.5229126707387326, "offset": [ - 112.69896413596035, - -429.2242760224681 + 732.7744575299156, + -79.22190188250214 ] } }, diff --git a/examples/bizyair_flux_dev_workflow.json b/examples/bizyair_flux_dev_workflow.json index 9af81023..708644d2 100644 --- a/examples/bizyair_flux_dev_workflow.json +++ b/examples/bizyair_flux_dev_workflow.json @@ -1,21 +1,22 @@ { - "last_node_id": 64, + "last_node_id": 65, "last_link_id": 80, "nodes": [ { "id": 60, "type": "BizyAir_KSamplerSelect", - "pos": [ - -246, - 1197 - ], + "pos": { + "0": 573.770263671875, + "1": 854.9493408203125 + }, "size": { - "0": 259.05419921875, - "1": 58 + "0": 324.61834716796875, + "1": 74.58428192138672 }, "flags": {}, "order": 0, "mode": 0, + "inputs": [], "outputs": [ { "name": "SAMPLER", @@ -23,8 +24,9 @@ "links": [ 75 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "SAMPLER" } ], "properties": { @@ -32,94 +34,112 @@ }, "widgets_values": [ "euler" - ] + ], + "shape": 1 }, { - "id": 47, - "type": "BizyAir_BasicGuider", - "pos": [ - -239, - 1078 - ], + "id": 58, + "type": "BizyAir_BasicScheduler", + "pos": { + "0": 581.770263671875, + "1": 979.9493408203125 + }, "size": { - "0": 253.01522827148438, - "1": 52.98030471801758 + "0": 322.08660888671875, + "1": 138.83518981933594 }, "flags": {}, - "order": 8, + "order": 6, "mode": 0, "inputs": [ { "name": "model", "type": "BIZYAIR_MODEL", - "link": 59, - "slot_index": 0 - }, - { - "name": "conditioning", - "type": "BIZYAIR_CONDITIONING", - "link": 60, - "slot_index": 1 + "link": 72, + "slot_index": 0, + "label": "model" } ], "outputs": [ { - "name": "GUIDER", - "type": "GUIDER", + "name": "SIGMAS", + "type": "SIGMAS", "links": [ - 61 + 73 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "SIGMAS" } ], "properties": { - "Node name for S&R": "BizyAir_BasicGuider" - } + "Node name for S&R": "BizyAir_BasicScheduler" + }, + "widgets_values": [ + "normal", + 20, + 1 + ], + "shape": 1 }, { - "id": 51, - "type": "EmptyLatentImage", - "pos": [ - 30, - 919 - ], + "id": 47, + "type": "BizyAir_BasicGuider", + "pos": { + "0": 573.770263671875, + "1": 710.9493408203125 + }, "size": { - "0": 315, - "1": 106 + "0": 315.08660888671875, + "1": 96.21989440917969 }, "flags": {}, - "order": 1, + "order": 8, "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 59, + "slot_index": 0, + "label": "model" + }, + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 60, + "slot_index": 1, + "label": "conditioning" + } + ], "outputs": [ { - "name": "LATENT", - "type": "LATENT", + "name": "GUIDER", + "type": "GUIDER", "links": [ - 63 + 61 ], - "shape": 3 + "slot_index": 0, + "shape": 3, + "label": "GUIDER" } ], "properties": { - "Node name for S&R": "EmptyLatentImage" + "Node name for S&R": "BizyAir_BasicGuider" }, - "widgets_values": [ - 1024, - 1024, - 1 - ] + "widgets_values": [], + "shape": 1 }, { "id": 50, "type": "BizyAir_SamplerCustomAdvanced", - "pos": [ - 51, - 1082 - ], + "pos": { + "0": 948.770263671875, + "1": 714.9493408203125 + }, "size": { - "0": 260.3999938964844, - "1": 106 + "0": 442.21466064453125, + "1": 405.63006591796875 }, "flags": {}, "order": 9, @@ -128,29 +148,34 @@ { "name": "noise", "type": "NOISE", - "link": 74 + "link": 74, + "label": "noise" }, { "name": "guider", "type": "GUIDER", - "link": 61 + "link": 61, + "label": "guider" }, { "name": "sampler", "type": "SAMPLER", "link": 75, - "slot_index": 2 + "slot_index": 2, + "label": "sampler" }, { "name": "sigmas", "type": "SIGMAS", - "link": 73 + "link": 73, + "label": "sigmas" }, { "name": "latent_image", "type": "LATENT", "link": 63, - "slot_index": 4 + "slot_index": 4, + "label": "latent_image" } ], "outputs": [ @@ -160,300 +185,322 @@ "links": [ 66 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "output" }, { "name": "denoised_output", "type": "LATENT", "links": null, - "shape": 3 + "shape": 3, + "label": "denoised_output" } ], "properties": { "Node name for S&R": "BizyAir_SamplerCustomAdvanced" - } + }, + "widgets_values": [], + "shape": 1 }, { - "id": 54, - "type": "BizyAir_VAEDecode", - "pos": [ - 55, - 1232 - ], + "id": 37, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": 108, + "1": 704 + }, "size": { - "0": 271.0523681640625, - "1": 46 + "0": 431.06109619140625, + "1": 410.9120178222656 }, "flags": {}, - "order": 10, + "order": 7, "mode": 0, "inputs": [ { - "name": "samples", - "type": "LATENT", - "link": 66, - "slot_index": 0 - }, - { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 67, - "slot_index": 1 + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 56, + "label": "clip" } ], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 68 + 60 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_VAEDecode" - } + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "black forest gateau cake spelling out the words \"BizyAir\", tasty, food photography, dynamic shot" + ], + "shape": 1 }, { - "id": 55, - "type": "BizyAir_VAELoader", - "pos": [ - 91, - 1341 - ], + "id": 48, + "type": "BizyAir_UNETLoader", + "pos": { + "0": -479, + "1": 930 + }, "size": { - "0": 273.7454833984375, - "1": 58 + "0": 546.3690185546875, + "1": 196.42486572265625 }, "flags": {}, - "order": 2, + "order": 1, "mode": 0, + "inputs": [], "outputs": [ { - "name": "vae", - "type": "BIZYAIR_VAE", + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", "links": [ - 67 + 59, + 72 ], - "shape": 3 + "slot_index": 0, + "shape": 3, + "label": "BIZYAIR_MODEL" } ], "properties": { - "Node name for S&R": "BizyAir_VAELoader" + "Node name for S&R": "BizyAir_UNETLoader" }, "widgets_values": [ - "flux/ae.sft" - ] + "flux/flux1-dev.sft", + "default" + ], + "shape": 1 }, { - "id": 37, - "type": "BizyAir_CLIPTextEncode", - "pos": [ - -627, - 1284 - ], + "id": 36, + "type": "BizyAir_DualCLIPLoader", + "pos": { + "0": -479, + "1": 707 + }, "size": { - "0": 344.9754943847656, - "1": 127.23637390136719 + "0": 542.5740966796875, + "1": 177.96340942382812 }, "flags": {}, - "order": 7, + "order": 2, "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 56 - } - ], + "inputs": [], "outputs": [ { - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", "links": [ - 60 + 56 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_CLIP" } ], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" + "Node name for S&R": "BizyAir_DualCLIPLoader" }, "widgets_values": [ - "black forest gateau cake spelling out the words \"BizyAir\", tasty, food photography, dynamic shot" - ] + "t5xxl_fp16.safetensors", + "clip_l.safetensors", + "flux" + ], + "shape": 1 }, { - "id": 56, - "type": "PreviewImage", - "pos": [ - 388, - 929 - ], + "id": 54, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 1448, + "1": 955 + }, "size": { - "0": 335.19036865234375, - "1": 471.16204833984375 + "0": 422.39385986328125, + "1": 163.70693969726562 }, "flags": {}, - "order": 11, + "order": 10, "mode": 0, "inputs": [ { - "name": "images", + "name": "samples", + "type": "LATENT", + "link": 66, + "slot_index": 0, + "label": "samples" + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 67, + "slot_index": 1, + "label": "vae" + } + ], + "outputs": [ + { + "name": "IMAGE", "type": "IMAGE", - "link": 68 + "links": [ + 68 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "PreviewImage" - } + "Node name for S&R": "BizyAir_VAEDecode" + }, + "widgets_values": [], + "shape": 1 }, { - "id": 58, - "type": "BizyAir_BasicScheduler", - "pos": [ - -239, - 1319 - ], + "id": 56, + "type": "PreviewImage", + "pos": { + "0": 1937, + "1": 706 + }, "size": { - "0": 315, - "1": 106 + "0": 377.3936462402344, + "1": 424.7581787109375 }, "flags": {}, - "order": 6, + "order": 11, "mode": 0, "inputs": [ { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 72, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "SIGMAS", - "type": "SIGMAS", - "links": [ - 73 - ], - "shape": 3, - "slot_index": 0 + "name": "images", + "type": "IMAGE", + "link": 68, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAir_BasicScheduler" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "normal", - 20, - 1 - ] + "widgets_values": [], + "shape": 1 }, { - "id": 48, - "type": "BizyAir_UNETLoader", - "pos": [ - -585, - 944 - ], + "id": 55, + "type": "BizyAir_VAELoader", + "pos": { + "0": 1457, + "1": 728 + }, "size": { - "0": 315, - "1": 82 + "0": 404.85540771484375, + "1": 167.32240295410156 }, "flags": {}, "order": 3, "mode": 0, + "inputs": [], "outputs": [ { - "name": "BIZYAIR_MODEL", - "type": "BIZYAIR_MODEL", + "name": "vae", + "type": "BIZYAIR_VAE", "links": [ - 59, - 72 + 67 ], "shape": 3, - "slot_index": 0 + "label": "vae" } ], "properties": { - "Node name for S&R": "BizyAir_UNETLoader" + "Node name for S&R": "BizyAir_VAELoader" }, "widgets_values": [ - "flux/flux1-dev.sft", - "default" - ] + "flux/ae.sft" + ], + "shape": 1 }, { - "id": 36, - "type": "BizyAir_DualCLIPLoader", - "pos": [ - -595, - 1093 - ], + "id": 59, + "type": "BizyAir_RandomNoise", + "pos": { + "0": 103.89743041992188, + "1": 482.69281005859375 + }, "size": { - "0": 315, - "1": 106 + "0": 440.85595703125, + "1": 119.50199890136719 }, "flags": {}, "order": 4, "mode": 0, + "inputs": [], "outputs": [ { - "name": "BIZYAIR_CLIP", - "type": "BIZYAIR_CLIP", + "name": "NOISE", + "type": "NOISE", "links": [ - 56 + 74 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "NOISE" } ], "properties": { - "Node name for S&R": "BizyAir_DualCLIPLoader" + "Node name for S&R": "BizyAir_RandomNoise" }, "widgets_values": [ - "t5xxl_fp16.safetensors", - "clip_l.safetensors", - "flux" - ] + 438153234912084, + "fixed" + ], + "shape": 1 }, { - "id": 59, - "type": "BizyAir_RandomNoise", - "pos": [ - -238, - 933 - ], + "id": 51, + "type": "EmptyLatentImage", + "pos": { + "0": 272, + "1": 1283 + }, "size": { - "0": 244.64930725097656, - "1": 82 + "0": 445.8046875, + "1": 106 }, "flags": {}, "order": 5, "mode": 0, + "inputs": [], "outputs": [ { - "name": "NOISE", - "type": "NOISE", + "name": "LATENT", + "type": "LATENT", "links": [ - 74 + 63 ], "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { - "Node name for S&R": "BizyAir_RandomNoise" + "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ - 438153234912084, - "fixed" - ] + 1488, + 1024, + 1 + ], + "shape": 1 } ], "links": [ @@ -554,14 +601,99 @@ "SAMPLER" ] ], - "groups": [], + "groups": [ + { + "title": "预览图", + "bounding": [ + 1900, + 627, + 436, + 517 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 561, + 627, + 861, + 515 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 85, + 627, + 474, + 517 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + -495, + 627, + 578, + 517 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "噪声", + "bounding": [ + 85, + 394, + 473, + 229 + ], + "color": "#A88", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE", + "bounding": [ + 1426, + 627, + 473, + 517 + ], + "color": "#b06634", + "font_size": 24, + "flags": {} + }, + { + "title": "垫图", + "bounding": [ + 258, + 1206, + 472, + 201 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 1.2100000000000002, + "scale": 0.5131581182307068, "offset": [ - 1055.046459481697, - -717.7928080199758 + 476.59431142100306, + -58.17235345800032 ] } }, diff --git a/examples/bizyair_flux_img2img_workflow.json b/examples/bizyair_flux_img2img_workflow.json index 4809f94f..fc6374dd 100644 --- a/examples/bizyair_flux_img2img_workflow.json +++ b/examples/bizyair_flux_img2img_workflow.json @@ -2,20 +2,151 @@ "last_node_id": 66, "last_link_id": 83, "nodes": [ + { + "id": 65, + "type": "LoadImage", + "pos": { + "0": -1715.914306640625, + "1": 828.2049560546875 + }, + "size": { + "0": 324.1668701171875, + "1": 667.0117797851562 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 81 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "example.png", + "image" + ], + "shape": 1 + }, + { + "id": 37, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": -450.48760986328125, + "1": 827.8970947265625 + }, + "size": { + "0": 450.33880615234375, + "1": 670.6404418945312 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 56, + "label": "clip" + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 60 + ], + "slot_index": 0, + "shape": 3, + "label": "CONDITIONING" + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "black forest gateau cake spelling out the words \"BizyAir\", tasty, food photography, dynamic shot" + ], + "shape": 1 + }, + { + "id": 58, + "type": "BizyAir_BasicScheduler", + "pos": { + "0": 46.20484161376953, + "1": 1331.794921875 + }, + "size": { + "0": 369.056640625, + "1": 167.2618408203125 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 72, + "slot_index": 0, + "label": "model" + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 73 + ], + "slot_index": 0, + "shape": 3, + "label": "SIGMAS" + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicScheduler" + }, + "widgets_values": [ + "normal", + 20, + 0.85 + ], + "shape": 1 + }, { "id": 60, "type": "BizyAir_KSamplerSelect", - "pos": [ - -246, - 1197 - ], + "pos": { + "0": 47.204837799072266, + "1": 1109.794921875 + }, "size": { - "0": 259.05419921875, - "1": 58 + "0": 367.5697326660156, + "1": 169.7233428955078 }, "flags": {}, - "order": 0, + "order": 1, "mode": 0, + "inputs": [], "outputs": [ { "name": "SAMPLER", @@ -23,8 +154,9 @@ "links": [ 75 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "SAMPLER" } ], "properties": { @@ -32,18 +164,19 @@ }, "widgets_values": [ "euler" - ] + ], + "shape": 1 }, { "id": 47, "type": "BizyAir_BasicGuider", - "pos": [ - -239, - 1078 - ], + "pos": { + "0": 49.204837799072266, + "1": 835.7947998046875 + }, "size": { - "0": 253.01522827148438, - "1": 52.98030471801758 + "0": 344.1338195800781, + "1": 199.82601928710938 }, "flags": {}, "order": 9, @@ -53,13 +186,15 @@ "name": "model", "type": "BIZYAIR_MODEL", "link": 59, - "slot_index": 0 + "slot_index": 0, + "label": "model" }, { "name": "conditioning", "type": "BIZYAIR_CONDITIONING", "link": 60, - "slot_index": 1 + "slot_index": 1, + "label": "conditioning" } ], "outputs": [ @@ -69,24 +204,27 @@ "links": [ 61 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "GUIDER" } ], "properties": { "Node name for S&R": "BizyAir_BasicGuider" - } + }, + "widgets_values": [], + "shape": 1 }, { "id": 50, "type": "BizyAir_SamplerCustomAdvanced", - "pos": [ - 51, - 1082 - ], + "pos": { + "0": 442.2050476074219, + "1": 833.7947998046875 + }, "size": { - "0": 260.3999938964844, - "1": 106 + "0": 444.1592712402344, + "1": 650.0309448242188 }, "flags": {}, "order": 10, @@ -95,29 +233,34 @@ { "name": "noise", "type": "NOISE", - "link": 74 + "link": 74, + "label": "noise" }, { "name": "guider", "type": "GUIDER", - "link": 61 + "link": 61, + "label": "guider" }, { "name": "sampler", "type": "SAMPLER", "link": 75, - "slot_index": 2 + "slot_index": 2, + "label": "sampler" }, { "name": "sigmas", "type": "SIGMAS", - "link": 73 + "link": 73, + "label": "sigmas" }, { "name": "latent_image", "type": "LATENT", "link": 83, - "slot_index": 4 + "slot_index": 4, + "label": "latent_image" } ], "outputs": [ @@ -127,77 +270,39 @@ "links": [ 66 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "output" }, { "name": "denoised_output", "type": "LATENT", "links": null, - "shape": 3 + "shape": 3, + "label": "denoised_output" } ], "properties": { "Node name for S&R": "BizyAir_SamplerCustomAdvanced" - } - }, - { - "id": 54, - "type": "BizyAir_VAEDecode", - "pos": [ - 55, - 1232 - ], - "size": { - "0": 271.0523681640625, - "1": 46 }, - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": 66, - "slot_index": 0 - }, - { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 67, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 68 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "BizyAir_VAEDecode" - } + "widgets_values": [], + "shape": 1 }, { "id": 48, "type": "BizyAir_UNETLoader", - "pos": [ - -585, - 944 - ], + "pos": { + "0": -916.384521484375, + "1": 836.9998779296875 + }, "size": { - "0": 315, - "1": 82 + "0": 406.73114013671875, + "1": 308.4751892089844 }, "flags": {}, - "order": 1, + "order": 2, "mode": 0, + "inputs": [], "outputs": [ { "name": "BIZYAIR_MODEL", @@ -206,8 +311,9 @@ 59, 72 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_MODEL" } ], "properties": { @@ -216,22 +322,24 @@ "widgets_values": [ "flux/flux1-dev.sft", "default" - ] + ], + "shape": 1 }, { "id": 36, "type": "BizyAir_DualCLIPLoader", - "pos": [ - -595, - 1093 - ], + "pos": { + "0": -913.384521484375, + "1": 1189 + }, "size": { - "0": 315, - "1": 106 + "0": 421.26959228515625, + "1": 307.2442626953125 }, "flags": {}, - "order": 2, + "order": 3, "mode": 0, + "inputs": [], "outputs": [ { "name": "BIZYAIR_CLIP", @@ -239,8 +347,9 @@ "links": [ 56 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_CLIP" } ], "properties": { @@ -250,123 +359,132 @@ "t5xxl_fp16.safetensors", "clip_l.safetensors", "flux" - ] + ], + "shape": 1 }, { - "id": 59, - "type": "BizyAir_RandomNoise", - "pos": [ - -238, - 933 - ], + "id": 56, + "type": "PreviewImage", + "pos": { + "0": 1274.923583984375, + "1": 828.7943115234375 + }, "size": { - "0": 244.64930725097656, - "1": 82 + "0": 412.41937255859375, + "1": 674.7813110351562 }, "flags": {}, - "order": 3, + "order": 12, "mode": 0, - "outputs": [ + "inputs": [ { - "name": "NOISE", - "type": "NOISE", - "links": [ - 74 - ], - "shape": 3, - "slot_index": 0 + "name": "images", + "type": "IMAGE", + "link": 68, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAir_RandomNoise" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - 438153234912084, - "fixed" - ] + "widgets_values": [], + "shape": 1 }, { - "id": 55, - "type": "BizyAir_VAELoader", - "pos": [ - 91, - 1341 - ], + "id": 54, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 929.5133056640625, + "1": 831.794921875 + }, "size": { - "0": 273.7454833984375, - "1": 58 + "0": 283.5361328125, + "1": 663.0769653320312 }, "flags": {}, - "order": 4, + "order": 11, "mode": 0, - "outputs": [ + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 66, + "slot_index": 0, + "label": "samples" + }, { "name": "vae", "type": "BIZYAIR_VAE", + "link": 67, + "slot_index": 1, + "label": "vae" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", "links": [ - 67, - 82 + 68 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAir_VAELoader" + "Node name for S&R": "BizyAir_VAEDecode" }, - "widgets_values": [ - "flux/ae.sft" - ] + "widgets_values": [], + "shape": 1 }, { - "id": 37, - "type": "BizyAir_CLIPTextEncode", - "pos": [ - -614, - 1242 - ], + "id": 55, + "type": "BizyAir_VAELoader", + "pos": { + "0": -1367, + "1": 826 + }, "size": { - "0": 344.9754943847656, - "1": 127.23637390136719 + "0": 399.1780090332031, + "1": 302.6155700683594 }, "flags": {}, - "order": 7, + "order": 4, "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 56 - } - ], + "inputs": [], "outputs": [ { - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", + "name": "vae", + "type": "BIZYAIR_VAE", "links": [ - 60 + 67, + 82 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "vae" } ], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" + "Node name for S&R": "BizyAir_VAELoader" }, "widgets_values": [ - "black forest gateau cake spelling out the words \"BizyAir\", tasty, food photography, dynamic shot" - ] + "flux/ae.sft" + ], + "shape": 1 }, { "id": 66, "type": "BizyAir_VAEEncode", - "pos": [ - 47, - 966 - ], + "pos": { + "0": -1362, + "1": 1190 + }, "size": { - "0": 254.9784393310547, - "1": 46 + "0": 401.972900390625, + "1": 306.923095703125 }, "flags": {}, "order": 8, @@ -375,12 +493,14 @@ { "name": "pixels", "type": "IMAGE", - "link": 81 + "link": 81, + "label": "pixels" }, { "name": "vae", "type": "BIZYAIR_VAE", - "link": 82 + "link": 82, + "label": "vae" } ], "outputs": [ @@ -390,119 +510,52 @@ "links": [ 83 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { "Node name for S&R": "BizyAir_VAEEncode" - } - }, - { - "id": 56, - "type": "PreviewImage", - "pos": [ - 773, - 952 - ], - "size": [ - 386.4439322732096, - 402.4732824195107 - ], - "flags": {}, - "order": 12, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 68 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 65, - "type": "LoadImage", - "pos": [ - 348, - 918 - ], - "size": [ - 397.68643049764137, - 430.62481606652796 - ], - "flags": {}, - "order": 5, - "mode": 0, - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 81 - ], - "shape": 3, - "slot_index": 0 - }, - { - "name": "MASK", - "type": "MASK", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "LoadImage" }, - "widgets_values": [ - "example.png", - "image" - ] + "widgets_values": [], + "shape": 1 }, { - "id": 58, - "type": "BizyAir_BasicScheduler", - "pos": [ - -239, - 1319 - ], + "id": 59, + "type": "BizyAir_RandomNoise", + "pos": { + "0": -514.9483642578125, + "1": 500.2052307128906 + }, "size": { - "0": 315, - "1": 106 + "0": 836.0343627929688, + "1": 214.7171630859375 }, "flags": {}, - "order": 6, + "order": 5, "mode": 0, - "inputs": [ - { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 72, - "slot_index": 0 - } - ], + "inputs": [], "outputs": [ { - "name": "SIGMAS", - "type": "SIGMAS", + "name": "NOISE", + "type": "NOISE", "links": [ - 73 + 74 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "NOISE" } ], "properties": { - "Node name for S&R": "BizyAir_BasicScheduler" + "Node name for S&R": "BizyAir_RandomNoise" }, "widgets_values": [ - "normal", - 20, - 0.85 - ] + 438153234912084, + "fixed" + ], + "shape": 1 } ], "links": [ @@ -619,14 +672,111 @@ "LATENT" ] ], - "groups": [], + "groups": [ + { + "title": "预览图", + "bounding": [ + 1234, + 747, + 478, + 772 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "参考图", + "bounding": [ + -1729, + 745, + 347, + 773 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + -467, + 746, + 489, + 772 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 26, + 747, + 891, + 770 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + -941, + 745, + 468, + 773 + ], + "color": "#A88", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE编码器", + "bounding": [ + 916, + 747, + 313, + 766 + ], + "color": "#b06634", + "font_size": 24, + "flags": {} + }, + { + "title": "随机噪声", + "bounding": [ + -541, + 414, + 887, + 330 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE解码器", + "bounding": [ + -1382, + 745, + 443, + 771 + ], + "color": "#b06634", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 1.1, + "scale": 0.5131581182307071, "offset": [ - 948.7378859086087, - -666.7460096922381 + 1493.2039081203986, + -103.65468260129991 ] } }, diff --git a/examples/bizyair_flux_joycaption_img2img_workflow.json b/examples/bizyair_flux_joycaption_img2img_workflow.json index 7481119a..3e78184b 100644 --- a/examples/bizyair_flux_joycaption_img2img_workflow.json +++ b/examples/bizyair_flux_joycaption_img2img_workflow.json @@ -3,166 +3,214 @@ "last_link_id": 89, "nodes": [ { - "id": 54, - "type": "BizyAir_VAEDecode", - "pos": [ - 2171.0771484375, - 130 - ], + "id": 59, + "type": "BizyAir_RandomNoise", + "pos": { + "0": 1144, + "1": -29 + }, "size": { - "0": 271.0523681640625, - "1": 46 + "0": 295.0357666015625, + "1": 118.47659301757812 }, "flags": {}, - "order": 12, + "order": 0, "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": 66, - "slot_index": 0 - }, + "inputs": [], + "outputs": [ { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 67, - "slot_index": 1 + "name": "NOISE", + "type": "NOISE", + "links": [ + 74 + ], + "slot_index": 0, + "shape": 3, + "label": "NOISE" } ], + "properties": { + "Node name for S&R": "BizyAir_RandomNoise" + }, + "widgets_values": [ + 438153234912084, + "fixed" + ], + "shape": 1 + }, + { + "id": 36, + "type": "BizyAir_DualCLIPLoader", + "pos": { + "0": 1141, + "1": 331 + }, + "size": { + "0": 294.4998779296875, + "1": 131.89389038085938 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", "links": [ - 68 + 56 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_CLIP" } ], "properties": { - "Node name for S&R": "BizyAir_VAEDecode" - } + "Node name for S&R": "BizyAir_DualCLIPLoader" + }, + "widgets_values": [ + "t5xxl_fp16.safetensors", + "clip_l.safetensors", + "flux" + ], + "shape": 1 }, { - "id": 50, - "type": "BizyAir_SamplerCustomAdvanced", - "pos": [ - 2167, - 231 - ], + "id": 48, + "type": "BizyAir_UNETLoader", + "pos": { + "0": 1139, + "1": 131 + }, "size": { - "0": 260.3999938964844, - "1": 106 + "0": 296.0357666015625, + "1": 152.73779296875 }, "flags": {}, - "order": 11, + "order": 2, "mode": 0, - "inputs": [ - { - "name": "noise", - "type": "NOISE", - "link": 74 - }, - { - "name": "guider", - "type": "GUIDER", - "link": 61 - }, - { - "name": "sampler", - "type": "SAMPLER", - "link": 75, - "slot_index": 2 - }, - { - "name": "sigmas", - "type": "SIGMAS", - "link": 73 - }, + "inputs": [], + "outputs": [ { - "name": "latent_image", - "type": "LATENT", - "link": 83, - "slot_index": 4 + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 59, + 72 + ], + "slot_index": 0, + "shape": 3, + "label": "BIZYAIR_MODEL" } ], + "properties": { + "Node name for S&R": "BizyAir_UNETLoader" + }, + "widgets_values": [ + "flux/flux1-dev.sft", + "default" + ], + "shape": 1 + }, + { + "id": 65, + "type": "LoadImage", + "pos": { + "0": 73, + "1": -28 + }, + "size": { + "0": 394.94207763671875, + "1": 490.8938903808594 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], "outputs": [ { - "name": "output", - "type": "LATENT", + "name": "IMAGE", + "type": "IMAGE", "links": [ - 66 + 81, + 88 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" }, { - "name": "denoised_output", - "type": "LATENT", + "name": "MASK", + "type": "MASK", "links": null, - "shape": 3 + "shape": 3, + "label": "MASK" } ], "properties": { - "Node name for S&R": "BizyAir_SamplerCustomAdvanced" - } + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "example.png", + "image" + ], + "shape": 1 }, { - "id": 47, - "type": "BizyAir_BasicGuider", - "pos": [ - 2163, - 389 - ], - "size": { - "0": 253.01522827148438, - "1": 52.98030471801758 + "id": 69, + "type": "BizyAirJoyCaption", + "pos": { + "0": 1473, + "1": -22 }, + "size": [ + 294.14966534090854, + 483.47196368824365 + ], "flags": {}, - "order": 10, + "order": 7, "mode": 0, "inputs": [ { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 59, - "slot_index": 0 - }, - { - "name": "conditioning", - "type": "BIZYAIR_CONDITIONING", - "link": 60, - "slot_index": 1 + "name": "image", + "type": "IMAGE", + "link": 88, + "label": "image" } ], "outputs": [ { - "name": "GUIDER", - "type": "GUIDER", + "name": "STRING", + "type": "STRING", "links": [ - 61 + 89 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "STRING" } ], "properties": { - "Node name for S&R": "BizyAir_BasicGuider" - } + "Node name for S&R": "BizyAirJoyCaption" + }, + "widgets_values": [ + "enable", + 0.5, + 256 + ], + "shape": 1 }, { "id": 37, "type": "BizyAir_CLIPTextEncode", - "pos": [ - 2123, - 499 - ], - "size": { - "0": 344.9754943847656, - "1": 127.23637390136719 + "pos": { + "0": 1797, + "1": -23 }, + "size": [ + 295.225809090909, + 479.6540636363637 + ], "flags": {}, "order": 9, "mode": 0, @@ -170,7 +218,8 @@ { "name": "clip", "type": "BIZYAIR_CLIP", - "link": 56 + "link": 56, + "label": "clip" }, { "name": "text", @@ -178,7 +227,8 @@ "link": 89, "widget": { "name": "text" - } + }, + "label": "text" } ], "outputs": [ @@ -188,8 +238,9 @@ "links": [ 60 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "CONDITIONING" } ], "properties": { @@ -197,18 +248,19 @@ }, "widgets_values": [ "black forest gateau cake spelling out the words \"BizyAir\", tasty, food photography, dynamic shot" - ] + ], + "shape": 1 }, { "id": 58, "type": "BizyAir_BasicScheduler", - "pos": [ - 1784, - 167 - ], + "pos": { + "0": 2131, + "1": 79 + }, "size": { - "0": 315, - "1": 106 + "0": 477.8776550292969, + "1": 106.78668975830078 }, "flags": {}, "order": 6, @@ -218,7 +270,8 @@ "name": "model", "type": "BIZYAIR_MODEL", "link": 72, - "slot_index": 0 + "slot_index": 0, + "label": "model" } ], "outputs": [ @@ -228,8 +281,9 @@ "links": [ 73 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "SIGMAS" } ], "properties": { @@ -239,90 +293,145 @@ "normal", 20, 0.85 - ] + ], + "shape": 1 }, { - "id": 36, - "type": "BizyAir_DualCLIPLoader", - "pos": [ - 1326, - 684 - ], + "id": 50, + "type": "BizyAir_SamplerCustomAdvanced", + "pos": { + "0": 2132, + "1": 227 + }, "size": { - "0": 315, - "1": 106 + "0": 468.41357421875, + "1": 114.83769226074219 }, "flags": {}, - "order": 0, + "order": 11, "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 74, + "label": "noise" + }, + { + "name": "guider", + "type": "GUIDER", + "link": 61, + "label": "guider" + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 75, + "slot_index": 2, + "label": "sampler" + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 73, + "label": "sigmas" + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 83, + "slot_index": 4, + "label": "latent_image" + } + ], "outputs": [ { - "name": "BIZYAIR_CLIP", - "type": "BIZYAIR_CLIP", + "name": "output", + "type": "LATENT", "links": [ - 56 + 66 ], + "slot_index": 0, + "shape": 3, + "label": "output" + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": null, "shape": 3, - "slot_index": 0 + "label": "denoised_output" } ], "properties": { - "Node name for S&R": "BizyAir_DualCLIPLoader" + "Node name for S&R": "BizyAir_SamplerCustomAdvanced" }, - "widgets_values": [ - "t5xxl_fp16.safetensors", - "clip_l.safetensors", - "flux" - ] + "widgets_values": [], + "shape": 1 }, { - "id": 48, - "type": "BizyAir_UNETLoader", - "pos": [ - 1326, - 534 - ], + "id": 47, + "type": "BizyAir_BasicGuider", + "pos": { + "0": 2131, + "1": 388 + }, "size": { - "0": 315, - "1": 82 + "0": 477.949462890625, + "1": 65.57339477539062 }, "flags": {}, - "order": 1, + "order": 10, "mode": 0, - "outputs": [ + "inputs": [ { - "name": "BIZYAIR_MODEL", + "name": "model", "type": "BIZYAIR_MODEL", + "link": 59, + "slot_index": 0, + "label": "model" + }, + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 60, + "slot_index": 1, + "label": "conditioning" + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", "links": [ - 59, - 72 + 61 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "GUIDER" } ], "properties": { - "Node name for S&R": "BizyAir_UNETLoader" + "Node name for S&R": "BizyAir_BasicGuider" }, - "widgets_values": [ - "flux/flux1-dev.sft", - "default" - ] + "widgets_values": [], + "shape": 1 }, { "id": 60, "type": "BizyAir_KSamplerSelect", - "pos": [ - 1340, - 419 - ], + "pos": { + "0": 2139, + "1": -33 + }, "size": { - "0": 259.05419921875, + "0": 481.8776550292969, "1": 58 }, "flags": {}, - "order": 2, + "order": 4, "mode": 0, + "inputs": [], "outputs": [ { "name": "SAMPLER", @@ -330,8 +439,9 @@ "links": [ 75 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "SAMPLER" } ], "properties": { @@ -339,220 +449,168 @@ }, "widgets_values": [ "euler" - ] - }, - { - "id": 59, - "type": "BizyAir_RandomNoise", - "pos": [ - 1354, - 281 - ], - "size": { - "0": 244.64930725097656, - "1": 82 - }, - "flags": {}, - "order": 3, - "mode": 0, - "outputs": [ - { - "name": "NOISE", - "type": "NOISE", - "links": [ - 74 - ], - "shape": 3, - "slot_index": 0 - } ], - "properties": { - "Node name for S&R": "BizyAir_RandomNoise" - }, - "widgets_values": [ - 438153234912084, - "fixed" - ] + "shape": 1 }, { - "id": 55, - "type": "BizyAir_VAELoader", - "pos": [ - 1369, - 164 - ], + "id": 56, + "type": "PreviewImage", + "pos": { + "0": 2960.29541015625, + "1": -20.233558654785156 + }, "size": { - "0": 273.7454833984375, - "1": 58 + "0": 439.9588623046875, + "1": 474.1092834472656 }, "flags": {}, - "order": 4, + "order": 13, "mode": 0, - "outputs": [ + "inputs": [ { - "name": "vae", - "type": "BIZYAIR_VAE", - "links": [ - 67, - 82 - ], - "shape": 3, - "slot_index": 0 + "name": "images", + "type": "IMAGE", + "link": 68, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAir_VAELoader" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "flux/ae.sft" - ] + "widgets_values": [], + "color": "#222", + "bgcolor": "#000" }, { - "id": 66, - "type": "BizyAir_VAEEncode", - "pos": [ - 1801, - 331 - ], - "size": { - "0": 254.9784393310547, - "1": 46 + "id": 54, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 2649, + "1": -16 }, + "size": [ + 264.73132084849794, + 459.27157907500276 + ], "flags": {}, - "order": 7, + "order": 12, "mode": 0, "inputs": [ { - "name": "pixels", - "type": "IMAGE", - "link": 81 + "name": "samples", + "type": "LATENT", + "link": 66, + "slot_index": 0, + "label": "samples" }, { "name": "vae", "type": "BIZYAIR_VAE", - "link": 82 + "link": 67, + "slot_index": 1, + "label": "vae" } ], "outputs": [ { - "name": "LATENT", - "type": "LATENT", + "name": "IMAGE", + "type": "IMAGE", "links": [ - 83 + 68 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAir_VAEEncode" - } - }, - { - "id": 56, - "type": "PreviewImage", - "pos": [ - 2919, - 144 - ], - "size": { - "0": 386.4439392089844, - "1": 402.4732971191406 + "Node name for S&R": "BizyAir_VAEDecode" }, - "flags": {}, - "order": 13, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 68 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } + "widgets_values": [], + "shape": 1 }, { - "id": 65, - "type": "LoadImage", - "pos": [ - 2495, - 126 - ], - "size": { - "0": 397.6864318847656, - "1": 430.62481689453125 + "id": 55, + "type": "BizyAir_VAELoader", + "pos": { + "0": 515, + "1": 44 }, + "size": [ + 273.77993145418975, + 392.3650984630237 + ], "flags": {}, "order": 5, "mode": 0, + "inputs": [], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "vae", + "type": "BIZYAIR_VAE", "links": [ - 81, - 88 + 67, + 82 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 - }, - { - "name": "MASK", - "type": "MASK", - "links": null, - "shape": 3 + "label": "vae" } ], "properties": { - "Node name for S&R": "LoadImage" + "Node name for S&R": "BizyAir_VAELoader" }, "widgets_values": [ - "example.png", - "image" - ] + "flux/ae.sft" + ], + "shape": 1 }, { - "id": 69, - "type": "BizyAirJoyCaption", - "pos": [ - 1741, - 458 - ], - "size": { - "0": 329.83148193359375, - "1": 279.5472717285156 + "id": 66, + "type": "BizyAir_VAEEncode", + "pos": { + "0": 807, + "1": 35 }, + "size": [ + 297.95403662997114, + 400.3651404246936 + ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { - "name": "image", + "name": "pixels", "type": "IMAGE", - "link": 88 + "link": 81, + "label": "pixels" + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 82, + "label": "vae" } ], "outputs": [ { - "name": "STRING", - "type": "STRING", + "name": "LATENT", + "type": "LATENT", "links": [ - 89 + 83 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { - "Node name for S&R": "BizyAirJoyCaption" + "Node name for S&R": "BizyAir_VAEEncode" }, - "widgets_values": [ - "enable", - 0.5, - 256 - ] + "widgets_values": [], + "shape": 1 } ], "links": [ @@ -685,14 +743,99 @@ "STRING" ] ], - "groups": [], + "groups": [ + { + "title": "VAE解码", + "bounding": [ + 2631, + -106, + 300, + 580 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE编码", + "bounding": [ + 503, + -57, + 616, + 508 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 2933, + -108, + 486, + 580 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 2117, + -105, + 511, + 580 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 1454, + -105, + 663, + 582 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "参考图", + "bounding": [ + 49, + -107, + 432, + 583 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + 484, + -107, + 970, + 586 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 0.7513148009015777, + "scale": 0.6115909044841465, "offset": [ - -621.5853896595721, - 217.98403398673898 + -95.49622758837884, + 373.9144800451922 ] } }, diff --git a/examples/bizyair_flux_pulid.json b/examples/bizyair_flux_pulid.json index cd2df30f..4294ccf9 100644 --- a/examples/bizyair_flux_pulid.json +++ b/examples/bizyair_flux_pulid.json @@ -3,64 +3,41 @@ "last_link_id": 142, "nodes": [ { - "id": 78, - "type": "BizyAir_PulidFluxModelLoader", + "id": 107, + "type": "Note", "pos": { - "0": 787, - "1": 1846, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": -1205, + "1": 779 }, "size": { - "0": 302.4410400390625, - "1": 58 + "0": 734.2400512695312, + "1": 186.00302124023438 + }, + "flags": { + "collapsed": false }, - "flags": {}, "order": 0, "mode": 0, "inputs": [], - "outputs": [ - { - "name": "pulid_flux", - "type": "BIZYAIR_PULIDFLUX", - "links": [ - 126 - ], - "slot_index": 0, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "BizyAir_PulidFluxModelLoader" - }, + "outputs": [], + "properties": {}, "widgets_values": [ - "pulid_flux_v0.9.0.safetensors" - ] + "ComfyUI-PuLID-Flux Limitations:\n\n1. **LoRA Not Supported**\n2. **Maximum Output Size**: 1x1024x1024 (batch_size=1, height=1024, width=1024)" + ], + "color": "#322", + "bgcolor": "#533", + "shape": 1 }, { "id": 79, "type": "BizyAir_PulidFluxEvaClipLoader", "pos": { - "0": 799, - "1": 1959, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 1031.0018310546875, + "1": 2874.659912109375 }, "size": { - "0": 302.3999938964844, - "1": 26 + "0": 372.364013671875, + "1": 30.23356056213379 }, "flags": {}, "order": 1, @@ -74,31 +51,26 @@ 127 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "eva_clip" } ], "properties": { "Node name for S&R": "BizyAir_PulidFluxEvaClipLoader" - } + }, + "widgets_values": [], + "shape": 1 }, { - "id": 81, - "type": "BizyAir_PulidFluxInsightFaceLoader", + "id": 78, + "type": "BizyAir_PulidFluxModelLoader", "pos": { - "0": 793, - "1": 2030, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 1027, + "1": 2599 }, "size": { - "0": 327.6000061035156, - "1": 58 + "0": 371.5924377441406, + "1": 67.05643463134766 }, "flags": {}, "order": 2, @@ -106,36 +78,30 @@ "inputs": [], "outputs": [ { - "name": "face_analysis", - "type": "BIZYAIR_FACEANALYSIS", + "name": "pulid_flux", + "type": "BIZYAIR_PULIDFLUX", "links": [ - 129 + 126 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "pulid_flux" } ], "properties": { - "Node name for S&R": "BizyAir_PulidFluxInsightFaceLoader" + "Node name for S&R": "BizyAir_PulidFluxModelLoader" }, "widgets_values": [ - "CUDA" - ] + "pulid_flux_v0.9.0.safetensors" + ], + "shape": 1 }, { "id": 83, "type": "BizyAir_UNETLoader", "pos": { - "0": 355, - "1": 1012, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 1039, + "1": 2720 }, "size": { "0": 378, @@ -153,7 +119,8 @@ 125 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "BIZYAIR_MODEL" } ], "properties": { @@ -162,257 +129,319 @@ "widgets_values": [ "flux/flux1-dev.sft", "fp8_e4m3fn" - ] + ], + "shape": 1 }, { - "id": 85, - "type": "BizyAir_CLIPTextEncodeFlux", + "id": 81, + "type": "BizyAir_PulidFluxInsightFaceLoader", "pos": { - "0": 792, - "1": 1034, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 466.6143493652344, - "1": 350.7861022949219 + "0": 1031, + "1": 2972 }, + "size": [ + 381.5538980229153, + 137.50708277431568 + ], "flags": {}, - "order": 12, + "order": 4, "mode": 0, - "inputs": [ + "inputs": [], + "outputs": [ { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 113 + "name": "face_analysis", + "type": "BIZYAIR_FACEANALYSIS", + "links": [ + 129 + ], + "slot_index": 0, + "shape": 3, + "label": "face_analysis" } ], + "properties": { + "Node name for S&R": "BizyAir_PulidFluxInsightFaceLoader" + }, + "widgets_values": [ + "CUDA" + ], + "shape": 1 + }, + { + "id": 108, + "type": "BizyAir_LoadImageURL", + "pos": { + "0": 211, + "1": 2409 + }, + "size": [ + 365.5387507700757, + 686.8094635603697 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], "outputs": [ { - "name": "conditioning", - "type": "BIZYAIR_CONDITIONING", + "name": "IMAGE", + "type": "IMAGE", "links": [ - 121 + 141, + 142 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" } ], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncodeFlux" + "Node name for S&R": "BizyAir_LoadImageURL" }, "widgets_values": [ - "a woman holding sign with glowing green text \"PuLID for FLUX\"", - "a woman holding sign with glowing green text \"PuLID for FLUX\"", - 3.5 - ] + "https://bizy-air.oss-cn-beijing.aliyuncs.com/examples_asset/bizyair-instantid-example.webp" + ], + "shape": 1 }, { - "id": 95, - "type": "BizyAir_BasicGuider", + "id": 109, + "type": "PreviewImage", "pos": { - "0": 1348, - "1": 1025, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 594, + "1": 2394 }, - "size": { - "0": 264.5999755859375, - "1": 46 + "size": [ + 354.1478208304343, + 700.3230272801284 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 142, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 + }, + { + "id": 97, + "type": "BizyAir_ApplyPulidFlux", + "pos": { + "0": 1479, + "1": 2857 }, + "size": [ + 530.4633249228182, + 239.70132532851494 + ], "flags": {}, - "order": 15, + "order": 11, "mode": 0, "inputs": [ { "name": "model", "type": "BIZYAIR_MODEL", - "link": 124 + "link": 125, + "label": "model" }, { - "name": "conditioning", - "type": "BIZYAIR_CONDITIONING", - "link": 121 + "name": "pulid_flux", + "type": "BIZYAIR_PULIDFLUX", + "link": 126, + "label": "pulid_flux" + }, + { + "name": "eva_clip", + "type": "BIZYAIR_EVA_CLIP", + "link": 127, + "label": "eva_clip" + }, + { + "name": "face_analysis", + "type": "BIZYAIR_FACEANALYSIS", + "link": 129, + "label": "face_analysis" + }, + { + "name": "image", + "type": "IMAGE", + "link": 141, + "label": "image" + }, + { + "name": "attn_mask", + "type": "MASK", + "link": null, + "label": "attn_mask", + "shape": 7 } ], "outputs": [ { - "name": "GUIDER", - "type": "GUIDER", + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", "links": [ - 122 + 124, + 130 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "BIZYAIR_MODEL" } ], "properties": { - "Node name for S&R": "BizyAir_BasicGuider" - } + "Node name for S&R": "BizyAir_ApplyPulidFlux" + }, + "widgets_values": [ + 0.8, + 0, + 1 + ], + "shape": 1 }, { - "id": 87, - "type": "BizyAir_KSamplerSelect", + "id": 84, + "type": "BizyAir_DualCLIPLoader", "pos": { - "0": 1349, - "1": 1142, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 1006, + "1": 2414 }, "size": { - "0": 259.90234375, - "1": 58 + "0": 371.9352722167969, + "1": 118.8632583618164 }, "flags": {}, - "order": 4, + "order": 6, "mode": 0, "inputs": [], "outputs": [ { - "name": "SAMPLER", - "type": "SAMPLER", + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", "links": [ - 115 + 113 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "BIZYAIR_CLIP" } ], "properties": { - "Node name for S&R": "BizyAir_KSamplerSelect" + "Node name for S&R": "BizyAir_DualCLIPLoader" }, "widgets_values": [ - "euler" - ] + "t5xxl_fp8_e4m3fn.safetensors", + "clip_l.safetensors", + "flux" + ], + "shape": 1 }, { - "id": 88, - "type": "BizyAir_RandomNoise", + "id": 85, + "type": "BizyAir_CLIPTextEncodeFlux", "pos": { - "0": 1354, - "1": 1271, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 248.53359985351562, - "1": 82 + "0": 1483, + "1": 2399 }, + "size": [ + 503.84227060827334, + 396.41677975913353 + ], "flags": {}, - "order": 5, + "order": 13, "mode": 0, - "inputs": [], + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 113, + "label": "clip" + } + ], "outputs": [ { - "name": "NOISE", - "type": "NOISE", + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", "links": [ - 114 + 121 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "conditioning" } ], "properties": { - "Node name for S&R": "BizyAir_RandomNoise" + "Node name for S&R": "BizyAir_CLIPTextEncodeFlux" }, "widgets_values": [ - 60, - "increment" - ] + "a woman holding sign with glowing green text \"PuLID for FLUX\"", + "a woman holding sign with glowing green text \"PuLID for FLUX\"", + 3.5 + ], + "shape": 1 }, { - "id": 86, - "type": "BizyAir_BasicScheduler", + "id": 87, + "type": "BizyAir_KSamplerSelect", "pos": { - "0": 1357, - "1": 1427, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 242.97654724121094, - "1": 106 + "0": 2511, + "1": 2422 }, + "size": [ + 437.41168631852634, + 239.8276743566862 + ], "flags": {}, - "order": 16, + "order": 7, "mode": 0, - "inputs": [ - { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 130 - } - ], + "inputs": [], "outputs": [ { - "name": "SIGMAS", - "type": "SIGMAS", + "name": "SAMPLER", + "type": "SAMPLER", "links": [ - 116 + 115 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "SAMPLER" } ], "properties": { - "Node name for S&R": "BizyAir_BasicScheduler" + "Node name for S&R": "BizyAir_KSamplerSelect" }, "widgets_values": [ - "simple", - 20, - 1 - ] + "euler" + ], + "shape": 1 }, { "id": 89, "type": "BizyAir_SamplerCustomAdvanced", "pos": { - "0": 1732, - "1": 1022, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 390.5999755859375, - "1": 106 + "0": 2521, + "1": 2729 }, + "size": [ + 416.6201589239736, + 274.5593751841916 + ], "flags": {}, "order": 17, "mode": 0, @@ -420,27 +449,32 @@ { "name": "noise", "type": "NOISE", - "link": 114 + "link": 114, + "label": "noise" }, { "name": "guider", "type": "GUIDER", - "link": 122 + "link": 122, + "label": "guider" }, { "name": "sampler", "type": "SAMPLER", - "link": 115 + "link": 115, + "label": "sampler" }, { "name": "sigmas", "type": "SIGMAS", - "link": 116 + "link": 116, + "label": "sigmas" }, { "name": "latent_image", "type": "LATENT", - "link": 133 + "link": 133, + "label": "latent_image" } ], "outputs": [ @@ -451,82 +485,34 @@ 117 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "output" }, { "name": "denoised_output", "type": "LATENT", "links": null, - "shape": 3 + "shape": 3, + "label": "denoised_output" } ], "properties": { "Node name for S&R": "BizyAir_SamplerCustomAdvanced" - } - }, - { - "id": 106, - "type": "Reroute", - "pos": { - "0": 2015, - "1": 1166, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 139 - } - ], - "outputs": [ - { - "name": "", - "type": "BIZYAIR_VAE", - "links": [ - 140 - ], - "slot_index": 0 - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } + }, + "widgets_values": [], + "shape": 1 }, { "id": 90, "type": "BizyAir_VAEDecode", "pos": { - "0": 1854, - "1": 1294, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 252, - "1": 46 + "0": 2992.9453125, + "1": 2855.10791015625 }, + "size": [ + 440.43324327521805, + 189.3226605605878 + ], "flags": {}, "order": 18, "mode": 0, @@ -534,12 +520,14 @@ { "name": "samples", "type": "LATENT", - "link": 117 + "link": 117, + "label": "samples" }, { "name": "vae", "type": "BIZYAIR_VAE", - "link": 140 + "link": 140, + "label": "vae" } ], "outputs": [ @@ -550,34 +538,67 @@ 119 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "IMAGE" } ], "properties": { "Node name for S&R": "BizyAir_VAEDecode" + }, + "widgets_values": [], + "shape": 1 + }, + { + "id": 106, + "type": "Reroute", + "pos": { + "0": 3133.9453125, + "1": 2668.10791015625 + }, + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 139, + "label": "" + } + ], + "outputs": [ + { + "name": "", + "type": "BIZYAIR_VAE", + "links": [ + 140 + ], + "slot_index": 0, + "label": "" + } + ], + "properties": { + "showOutputText": false, + "horizontal": false } }, { "id": 91, "type": "BizyAir_VAELoader", "pos": { - "0": 355, - "1": 1334, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 365.0637512207031, - "1": 58.98834991455078 + "0": 3035.9453125, + "1": 2435.10791015625 }, + "size": [ + 399.2318311743102, + 186.65450427393625 + ], "flags": {}, - "order": 6, + "order": 8, "mode": 0, "inputs": [], "outputs": [ @@ -588,7 +609,8 @@ 139 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "vae" } ], "properties": { @@ -596,182 +618,135 @@ }, "widgets_values": [ "flux/ae.sft" - ] + ], + "shape": 1 }, { - "id": 84, - "type": "BizyAir_DualCLIPLoader", + "id": 92, + "type": "PreviewImage", "pos": { - "0": 356, - "1": 1155, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 367.9985046386719, - "1": 106 + "0": 3497, + "1": 2401 }, + "size": [ + 440.9003745595819, + 658.6185506343254 + ], "flags": {}, - "order": 7, + "order": 19, "mode": 0, - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "BIZYAIR_CLIP", - "type": "BIZYAIR_CLIP", - "links": [ - 113 - ], - "slot_index": 0, - "shape": 3 + "name": "images", + "type": "IMAGE", + "link": 119, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAir_DualCLIPLoader" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "t5xxl_fp8_e4m3fn.safetensors", - "clip_l.safetensors", - "flux" - ] + "widgets_values": [], + "shape": 1 }, { - "id": 97, - "type": "BizyAir_ApplyPulidFlux", + "id": 95, + "type": "BizyAir_BasicGuider", "pos": { - "0": 1196, - "1": 1832, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 404.95245361328125, - "1": 219.5450439453125 + "0": 2048, + "1": 2395 }, + "size": [ + 409.4098394391149, + 109.28595633612622 + ], "flags": {}, - "order": 13, + "order": 16, "mode": 0, "inputs": [ { "name": "model", "type": "BIZYAIR_MODEL", - "link": 125 - }, - { - "name": "pulid_flux", - "type": "BIZYAIR_PULIDFLUX", - "link": 126 - }, - { - "name": "eva_clip", - "type": "BIZYAIR_EVA_CLIP", - "link": 127 - }, - { - "name": "face_analysis", - "type": "BIZYAIR_FACEANALYSIS", - "link": 129 - }, - { - "name": "image", - "type": "IMAGE", - "link": 141 + "link": 124, + "label": "model" }, { - "name": "attn_mask", - "type": "MASK", - "link": null + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 121, + "label": "conditioning" } ], "outputs": [ { - "name": "BIZYAIR_MODEL", - "type": "BIZYAIR_MODEL", + "name": "GUIDER", + "type": "GUIDER", "links": [ - 124, - 130 + 122 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "GUIDER" } ], "properties": { - "Node name for S&R": "BizyAir_ApplyPulidFlux" + "Node name for S&R": "BizyAir_BasicGuider" }, - "widgets_values": [ - 0.8, - 0, - 1 - ] + "widgets_values": [], + "shape": 1 }, { - "id": 107, - "type": "Note", + "id": 88, + "type": "BizyAir_RandomNoise", "pos": { - "0": 366, - "1": 1470, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 380.41119384765625, - "1": 183.65455627441406 + "0": 2049, + "1": 2557 }, - "flags": { - "collapsed": false - }, - "order": 8, + "size": [ + 424.7606385217705, + 100.9834677130907 + ], + "flags": {}, + "order": 9, "mode": 0, "inputs": [], - "outputs": [], - "properties": {}, + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 114 + ], + "slot_index": 0, + "shape": 3, + "label": "NOISE" + } + ], + "properties": { + "Node name for S&R": "BizyAir_RandomNoise" + }, "widgets_values": [ - "ComfyUI-PuLID-Flux Limitations:\n\n1. **LoRA Not Supported**\n2. **Maximum Output Size**: 1x1024x1024 (batch_size=1, height=1024, width=1024)" + 172, + "increment" ], - "color": "#322", - "bgcolor": "#533" + "shape": 1 }, { "id": 60, "type": "EmptyLatentImage", "pos": { - "0": 769, - "1": 1482, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 331.86749267578125, - "1": 172.31396484375 + "0": 2049, + "1": 2705 }, + "size": [ + 416.5852389804427, + 242.39261147609795 + ], "flags": { "collapsed": false }, - "order": 9, + "order": 10, "mode": 0, "inputs": [], "outputs": [ @@ -783,7 +758,7 @@ ], "slot_index": 0, "shape": 3, - "label": "Latent" + "label": "LATENT" } ], "properties": { @@ -793,123 +768,52 @@ 512, 512, 1 - ] + ], + "shape": 1 }, { - "id": 108, - "type": "BizyAir_LoadImageURL", + "id": 86, + "type": "BizyAir_BasicScheduler", "pos": { - "0": 440, - "1": 1862, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 2044, + "1": 2996 }, "size": [ - 327.91456932528456, - 100.70831190960143 + 413.4098394391149, + 108.36028266959329 ], "flags": {}, - "order": 10, + "order": 15, "mode": 0, - "inputs": [], + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 130, + "label": "model" + } + ], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "SIGMAS", + "type": "SIGMAS", "links": [ - 141, - 142 + 116 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 - }, - { - "name": "MASK", - "type": "MASK", - "links": null, - "shape": 3 + "label": "SIGMAS" } ], "properties": { - "Node name for S&R": "BizyAir_LoadImageURL" + "Node name for S&R": "BizyAir_BasicScheduler" }, "widgets_values": [ - "https://bizy-air.oss-cn-beijing.aliyuncs.com/examples_asset/bizyair-instantid-example.webp" - ] - }, - { - "id": 109, - "type": "PreviewImage", - "pos": { - "0": 1658, - "1": 1764, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": [ - 434.71131188337495, - 458.62693605652476 - ], - "flags": {}, - "order": 14, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 142 - } - ], - "outputs": [], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 92, - "type": "PreviewImage", - "pos": { - "0": 2103, - "1": 1760, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": [ - 441.48189101203707, - 467.08426786587825 - ], - "flags": {}, - "order": 19, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 119 - } + "simple", + 28, + 0.99 ], - "outputs": [], - "properties": { - "Node name for S&R": "PreviewImage" - } + "shape": 1 } ], "links": [ @@ -1068,37 +972,85 @@ ], "groups": [ { - "title": "Apply Pulid", + "title": "噪声及垫图", + "bounding": [ + 2027, + 2320, + 452, + 799 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE", "bounding": [ - 420, - 1728, - 1195, - 498 + 2969, + 2321, + 486, + 796 ], "color": "#3f789e", "font_size": 24, - "locked": false + "flags": {} }, { "title": "Flux txtimg", "bounding": [ - 302, - 869, - 1853, - 828 + 962, + 2320, + 1062, + 800 ], - "color": "#3f789e", + "color": "#A88", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 2484, + 2321, + 477, + 798 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "输入图", + "bounding": [ + 191, + 2319, + 771, + 804 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 3457, + 2320, + 503, + 796 + ], + "color": "#444", "font_size": 24, - "locked": false + "flags": {} } ], "config": {}, "extra": { "ds": { - "scale": 0.6209213230591554, + "scale": 0.505447028499295, "offset": [ - -396.4968633103375, - -1067.3994774159783 + -659.5773472646, + -1949.6259744547374 ] }, "0246.VERSION": [ diff --git a/examples/bizyair_flux_schnell_workflow.json b/examples/bizyair_flux_schnell_workflow.json index 7bce3ce2..702210d7 100644 --- a/examples/bizyair_flux_schnell_workflow.json +++ b/examples/bizyair_flux_schnell_workflow.json @@ -3,199 +3,170 @@ "last_link_id": 80, "nodes": [ { - "id": 60, - "type": "BizyAir_KSamplerSelect", - "pos": [ - -246, - 1197 - ], - "size": { - "0": 259.05419921875, - "1": 58 - }, - "flags": {}, - "order": 0, - "mode": 0, - "outputs": [ - { - "name": "SAMPLER", - "type": "SAMPLER", - "links": [ - 75 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "BizyAir_KSamplerSelect" + "id": 37, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": -1311.2598876953125, + "1": 855.540283203125 }, - "widgets_values": [ - "euler" - ] - }, - { - "id": 47, - "type": "BizyAir_BasicGuider", - "pos": [ - -239, - 1078 - ], "size": { - "0": 253.01522827148438, - "1": 52.98030471801758 + "0": 347.74420166015625, + "1": 495.5002136230469 }, "flags": {}, - "order": 8, + "order": 6, "mode": 0, "inputs": [ { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 59, - "slot_index": 0 - }, - { - "name": "conditioning", - "type": "BIZYAIR_CONDITIONING", - "link": 60, - "slot_index": 1 + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 56, + "label": "clip" } ], "outputs": [ { - "name": "GUIDER", - "type": "GUIDER", + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 61 + 60 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_BasicGuider" - } + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "black forest gateau cake spelling out the words \"BizyAir\", tasty, food photography, dynamic shot" + ], + "shape": 1 }, { - "id": 58, - "type": "BizyAir_BasicScheduler", - "pos": [ - -239, - 1319 - ], + "id": 56, + "type": "PreviewImage", + "pos": { + "0": 130.16998291015625, + "1": 862.4693603515625 + }, "size": { - "0": 315, - "1": 106 + "0": 340.9342041015625, + "1": 490.8702087402344 }, "flags": {}, - "order": 6, + "order": 11, "mode": 0, "inputs": [ { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 72, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "SIGMAS", - "type": "SIGMAS", - "links": [ - 73 - ], - "shape": 3, - "slot_index": 0 + "name": "images", + "type": "IMAGE", + "link": 68, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAir_BasicScheduler" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "normal", - 4, - 1 - ] + "widgets_values": [], + "shape": 1 }, { - "id": 59, - "type": "BizyAir_RandomNoise", - "pos": [ - -238, - 933 - ], - "size": { - "0": 244.64930725097656, - "1": 82 + "id": 60, + "type": "BizyAir_KSamplerSelect", + "pos": { + "0": -933, + "1": 856 }, + "size": [ + 352.4129999999989, + 117.06200000000013 + ], "flags": {}, - "order": 1, + "order": 0, "mode": 0, + "inputs": [], "outputs": [ { - "name": "NOISE", - "type": "NOISE", + "name": "SAMPLER", + "type": "SAMPLER", "links": [ - 74 + 75 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "SAMPLER" } ], "properties": { - "Node name for S&R": "BizyAir_RandomNoise" + "Node name for S&R": "BizyAir_KSamplerSelect" }, "widgets_values": [ - 438153234912083, - "fixed" - ] + "euler" + ], + "shape": 1 }, { - "id": 51, - "type": "EmptyLatentImage", - "pos": [ - 30, - 919 - ], - "size": { - "0": 315, - "1": 106 + "id": 47, + "type": "BizyAir_BasicGuider", + "pos": { + "0": -929, + "1": 1019 }, + "size": [ + 348.4129999999989, + 99.14100000000008 + ], "flags": {}, - "order": 2, + "order": 8, "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 59, + "slot_index": 0, + "label": "model" + }, + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 60, + "slot_index": 1, + "label": "conditioning" + } + ], "outputs": [ { - "name": "LATENT", - "type": "LATENT", + "name": "GUIDER", + "type": "GUIDER", "links": [ - 63 + 61 ], - "shape": 3 + "slot_index": 0, + "shape": 3, + "label": "GUIDER" } ], "properties": { - "Node name for S&R": "EmptyLatentImage" + "Node name for S&R": "BizyAir_BasicGuider" }, - "widgets_values": [ - 1024, - 1024, - 1 - ] + "widgets_values": [], + "shape": 1 }, { "id": 50, "type": "BizyAir_SamplerCustomAdvanced", - "pos": [ - 51, - 1082 - ], - "size": { - "0": 260.3999938964844, - "1": 106 + "pos": { + "0": -551, + "1": 855 }, + "size": [ + 288.8669999999988, + 493.4040000000002 + ], "flags": {}, "order": 9, "mode": 0, @@ -203,29 +174,34 @@ { "name": "noise", "type": "NOISE", - "link": 74 + "link": 74, + "label": "noise" }, { "name": "guider", "type": "GUIDER", - "link": 61 + "link": 61, + "label": "guider" }, { "name": "sampler", "type": "SAMPLER", "link": 75, - "slot_index": 2 + "slot_index": 2, + "label": "sampler" }, { "name": "sigmas", "type": "SIGMAS", - "link": 73 + "link": 73, + "label": "sigmas" }, { "name": "latent_image", "type": "LATENT", "link": 63, - "slot_index": 4 + "slot_index": 4, + "label": "latent_image" } ], "outputs": [ @@ -235,108 +211,157 @@ "links": [ 66 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "output" }, { "name": "denoised_output", "type": "LATENT", "links": null, - "shape": 3 + "shape": 3, + "label": "denoised_output" } ], "properties": { "Node name for S&R": "BizyAir_SamplerCustomAdvanced" - } + }, + "widgets_values": [], + "shape": 1 }, { - "id": 54, - "type": "BizyAir_VAEDecode", - "pos": [ - 55, - 1232 - ], - "size": { - "0": 271.0523681640625, - "1": 46 + "id": 58, + "type": "BizyAir_BasicScheduler", + "pos": { + "0": -924, + "1": 1175 }, + "size": [ + 347.4129999999989, + 174.7420000000002 + ], "flags": {}, - "order": 10, + "order": 7, "mode": 0, "inputs": [ { - "name": "samples", - "type": "LATENT", - "link": 66, - "slot_index": 0 - }, - { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 67, - "slot_index": 1 + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 72, + "slot_index": 0, + "label": "model" } ], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "SIGMAS", + "type": "SIGMAS", "links": [ - 68 + 73 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "SIGMAS" } ], "properties": { - "Node name for S&R": "BizyAir_VAEDecode" - } + "Node name for S&R": "BizyAir_BasicScheduler" + }, + "widgets_values": [ + "normal", + 4, + 1 + ], + "shape": 1 }, { - "id": 55, - "type": "BizyAir_VAELoader", - "pos": [ - 91, - 1341 + "id": 59, + "type": "BizyAir_RandomNoise", + "pos": { + "0": -1658, + "1": 1166 + }, + "size": { + "0": 313.49420166015625, + "1": 184.03021240234375 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 74 + ], + "slot_index": 0, + "shape": 3, + "label": "NOISE" + } + ], + "properties": { + "Node name for S&R": "BizyAir_RandomNoise" + }, + "widgets_values": [ + 438153234912083, + "fixed" ], + "shape": 1 + }, + { + "id": 36, + "type": "BizyAir_DualCLIPLoader", + "pos": { + "0": -1662, + "1": 988 + }, "size": { - "0": 273.7454833984375, - "1": 58 + "0": 308.4441833496094, + "1": 121.13021087646484 }, "flags": {}, - "order": 3, + "order": 2, "mode": 0, + "inputs": [], "outputs": [ { - "name": "vae", - "type": "BIZYAIR_VAE", + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", "links": [ - 67 + 56 ], - "shape": 3 + "slot_index": 0, + "shape": 3, + "label": "BIZYAIR_CLIP" } ], "properties": { - "Node name for S&R": "BizyAir_VAELoader" + "Node name for S&R": "BizyAir_DualCLIPLoader" }, "widgets_values": [ - "flux/ae.sft" - ] + "t5xxl_fp8_e4m3fn.safetensors", + "clip_l.safetensors", + "flux" + ], + "shape": 1 }, { "id": 48, "type": "BizyAir_UNETLoader", - "pos": [ - -585, - 944 - ], + "pos": { + "0": -1662, + "1": 857 + }, "size": { "0": 315, "1": 82 }, "flags": {}, - "order": 4, + "order": 3, "mode": 0, + "inputs": [], "outputs": [ { "name": "BIZYAIR_MODEL", @@ -345,8 +370,9 @@ 59, 72 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_MODEL" } ], "properties": { @@ -355,105 +381,126 @@ "widgets_values": [ "flux/flux1-schnell.sft", "fp8_e4m3fn" - ] + ], + "shape": 1 }, { - "id": 37, - "type": "BizyAir_CLIPTextEncode", - "pos": [ - -627, - 1284 - ], + "id": 51, + "type": "EmptyLatentImage", + "pos": { + "0": -933, + "1": 667 + }, "size": [ - 344.9754950153326, - 127.23637622600563 + 343.09600000000023, + 106 ], "flags": {}, - "order": 7, + "order": 4, "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 56 - } - ], + "inputs": [], "outputs": [ { - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", + "name": "LATENT", + "type": "LATENT", "links": [ - 60 + 63 ], "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" + "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ - "black forest gateau cake spelling out the words \"BizyAir\", tasty, food photography, dynamic shot" - ] + 1024, + 1024, + 1 + ], + "shape": 1 }, { - "id": 36, - "type": "BizyAir_DualCLIPLoader", - "pos": [ - -595, - 1093 - ], - "size": { - "0": 315, - "1": 106 + "id": 54, + "type": "BizyAir_VAEDecode", + "pos": { + "0": -223, + "1": 1109 }, + "size": [ + 307.1967000000011, + 242.6365999999996 + ], "flags": {}, - "order": 5, + "order": 10, "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 66, + "slot_index": 0, + "label": "samples" + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 67, + "slot_index": 1, + "label": "vae" + } + ], "outputs": [ { - "name": "BIZYAIR_CLIP", - "type": "BIZYAIR_CLIP", + "name": "IMAGE", + "type": "IMAGE", "links": [ - 56 + 68 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAir_DualCLIPLoader" + "Node name for S&R": "BizyAir_VAEDecode" }, - "widgets_values": [ - "t5xxl_fp8_e4m3fn.safetensors", - "clip_l.safetensors", - "flux" - ] + "widgets_values": [], + "shape": 1 }, { - "id": 56, - "type": "PreviewImage", - "pos": [ - 388, - 929 - ], + "id": 55, + "type": "BizyAir_VAELoader", + "pos": { + "0": -227, + "1": 868 + }, "size": [ - 335.1903710483905, - 471.1620465029944 + 316.4454000000012, + 196.32339999999976 ], "flags": {}, - "order": 11, + "order": 5, "mode": 0, - "inputs": [ + "inputs": [], + "outputs": [ { - "name": "images", - "type": "IMAGE", - "link": 68 + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 67 + ], + "shape": 3, + "label": "vae" } ], "properties": { - "Node name for S&R": "PreviewImage" - } + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "flux/ae.sft" + ], + "shape": 1 } ], "links": [ @@ -554,14 +601,87 @@ "SAMPLER" ] ], - "groups": [], + "groups": [ + { + "title": "VAE", + "bounding": [ + -246, + 779, + 346, + 589 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 101, + 779, + 391, + 590 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + -1678, + 778, + 347, + 590 + ], + "color": "#A88", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + -1330, + 778, + 384, + 591 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + -945, + 779, + 697, + 589 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "垫图", + "bounding": [ + -946, + 597, + 371, + 180 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 1.2100000000000002, + "scale": 0.620921323059155, "offset": [ - 1647.8840091168986, - -660.4925745731134 + 1702.5522399999998, + -376.55861999999945 ] } }, diff --git a/examples/bizyair_flux_simple_lora_workflow.json b/examples/bizyair_flux_simple_lora_workflow.json index 5e0ed484..757597ab 100644 --- a/examples/bizyair_flux_simple_lora_workflow.json +++ b/examples/bizyair_flux_simple_lora_workflow.json @@ -1,656 +1,839 @@ { - "last_node_id": 69, - "last_link_id": 87, - "nodes": [{ - "id": 54, - "type": "BizyAir_VAEDecode", - "pos": { - "0": 558, - "1": 760 - }, - "size": { - "0": 258.5177917480469, - "1": 46 - }, - "flags": {}, - "order": 12, - "mode": 0, - "inputs": [{ - "name": "samples", - "type": "LATENT", - "link": 66, - "slot_index": 0 - }, - { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 67, - "slot_index": 1 - } - ], - "outputs": [{ - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 68 - ], - "slot_index": 0, - "shape": 3 - }], - "properties": { - "Node name for S&R": "BizyAir_VAEDecode" - } - }, + "last_node_id": 69, + "last_link_id": 87, + "nodes": [ + { + "id": 60, + "type": "BizyAir_KSamplerSelect", + "pos": { + "0": 562.1180419921875, + "1": 577.323974609375 + }, + "size": [ + 358.2629999999983, + 165.0600000000003 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ { - "id": 50, - "type": "BizyAir_SamplerCustomAdvanced", - "pos": { - "0": 560, - "1": 854 - }, - "size": { - "0": 260.3999938964844, - "1": 106 - }, - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [{ - "name": "noise", - "type": "NOISE", - "link": 74 - }, - { - "name": "guider", - "type": "GUIDER", - "link": 61 - }, - { - "name": "sampler", - "type": "SAMPLER", - "link": 75, - "slot_index": 2 - }, - { - "name": "sigmas", - "type": "SIGMAS", - "link": 73 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 63, - "slot_index": 4 - } - ], - "outputs": [{ - "name": "output", - "type": "LATENT", - "links": [ - 66 - ], - "slot_index": 0, - "shape": 3 - }, - { - "name": "denoised_output", - "type": "LATENT", - "links": null, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "BizyAir_SamplerCustomAdvanced" - } - }, + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 75 + ], + "slot_index": 0, + "shape": 3, + "label": "SAMPLER" + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSamplerSelect" + }, + "widgets_values": [ + "euler" + ], + "shape": 1 + }, + { + "id": 58, + "type": "BizyAir_BasicScheduler", + "pos": { + "0": 563.1180419921875, + "1": 1020.323974609375 + }, + "size": [ + 354.6009999999983, + 201.22000000000025 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ { - "id": 55, - "type": "BizyAir_VAELoader", - "pos": { - "0": 562, - "1": 1024 - }, - "size": { - "0": 256.4846496582031, - "1": 58 - }, - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [{ - "name": "vae", - "type": "BIZYAIR_VAE", - "links": [ - 67 - ], - "shape": 3 - }], - "properties": { - "Node name for S&R": "BizyAir_VAELoader" - }, - "widgets_values": [ - "flux/ae.sft" - ] - }, + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 83, + "slot_index": 0, + "label": "model" + } + ], + "outputs": [ { - "id": 47, - "type": "BizyAir_BasicGuider", - "pos": { - "0": 238, - "1": 608 - }, - "size": { - "0": 290.18109130859375, - "1": 46 - }, - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [{ - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 82, - "slot_index": 0 - }, - { - "name": "conditioning", - "type": "BIZYAIR_CONDITIONING", - "link": 87, - "slot_index": 1 - } - ], - "outputs": [{ - "name": "GUIDER", - "type": "GUIDER", - "links": [ - 61 - ], - "slot_index": 0, - "shape": 3 - }], - "properties": { - "Node name for S&R": "BizyAir_BasicGuider" - } - }, + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 73 + ], + "slot_index": 0, + "shape": 3, + "label": "SIGMAS" + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicScheduler" + }, + "widgets_values": [ + "normal", + 20, + 1 + ], + "shape": 1 + }, + { + "id": 50, + "type": "BizyAir_SamplerCustomAdvanced", + "pos": { + "0": 940.1179809570312, + "1": 581.323974609375 + }, + "size": [ + 322.66099999999847, + 637.8890000000004 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ { - "id": 51, - "type": "EmptyLatentImage", - "pos": { - "0": 231, - "1": 968 - }, - "size": { - "0": 299.1900329589844, - "1": 106 - }, - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [{ - "name": "LATENT", - "type": "LATENT", - "links": [ - 63 - ], - "shape": 3 - }], - "properties": { - "Node name for S&R": "EmptyLatentImage" - }, - "widgets_values": [ - 1024, - 1024, - 1 - ] + "name": "noise", + "type": "NOISE", + "link": 74, + "label": "noise" }, { - "id": 48, - "type": "BizyAir_UNETLoader", - "pos": { - "0": -438, - "1": 610 - }, - "size": { - "0": 282.984375, - "1": 82 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [{ - "name": "BIZYAIR_MODEL", - "type": "BIZYAIR_MODEL", - "links": [ - 81 - ], - "slot_index": 0, - "shape": 3 - }], - "properties": { - "Node name for S&R": "BizyAir_UNETLoader" - }, - "widgets_values": [ - "flux/flux1-dev.sft", - "fp8_e4m3fn" - ] + "name": "guider", + "type": "GUIDER", + "link": 61, + "label": "guider" }, { - "id": 65, - "type": "BizyAir_LoraLoader", - "pos": { - "0": -117, - "1": 927 - }, - "size": { - "0": 311.6243896484375, - "1": 126 - }, - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [{ - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 81 - }, - { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 84 - } - ], - "outputs": [{ - "name": "MODEL", - "type": "BIZYAIR_MODEL", - "links": [ - 82, - 83 - ], - "slot_index": 0, - "shape": 3 - }, - { - "name": "CLIP", - "type": "BIZYAIR_CLIP", - "links": [ - 85 - ], - "slot_index": 1, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "BizyAir_LoraLoader" - }, - "widgets_values": [ - "flux/meijia_flux_lora_rank16_bf16.safetensors", - 1, - 1 - ] + "name": "sampler", + "type": "SAMPLER", + "link": 75, + "slot_index": 2, + "label": "sampler" }, { - "id": 67, - "type": "BizyAir_FluxGuidance", - "pos": { - "0": -117, - "1": 608 - }, - "size": { - "0": 316.972412109375, - "1": 60.8155403137207 - }, - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [{ - "name": "conditioning", - "type": "BIZYAIR_CONDITIONING", - "link": 86 - }], - "outputs": [{ - "name": "BIZYAIR_CONDITIONING", - "type": "BIZYAIR_CONDITIONING", - "links": [ - 87 - ], - "slot_index": 0, - "shape": 3 - }], - "properties": { - "Node name for S&R": "BizyAir_FluxGuidance" - }, - "widgets_values": [ - 3.5 - ] + "name": "sigmas", + "type": "SIGMAS", + "link": 73, + "label": "sigmas" }, { - "id": 37, - "type": "BizyAir_CLIPTextEncode", - "pos": { - "0": -122, - "1": 724 - }, - "size": { - "0": 317.7966003417969, - "1": 162.465087890625 - }, - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [{ - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 85 - }], - "outputs": [{ - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", - "links": [ - 86 - ], - "slot_index": 0, - "shape": 3 - }], - "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" - }, - "widgets_values": [ - "meijia,4k\npose: Five fingers are extended with the thumb slightly bent.\nshape: The nails are long and square-shaped with a smooth finish.\ncolor: The nail polish is a pale red with a subtle gradient towards the tips.\ntexture: There is a floral pattern embellished on some of the nails using clear rhinestones." - ] + "name": "latent_image", + "type": "LATENT", + "link": 63, + "slot_index": 4, + "label": "latent_image" + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 66 + ], + "slot_index": 0, + "shape": 3, + "label": "output" }, { - "id": 58, - "type": "BizyAir_BasicScheduler", - "pos": { - "0": 550, - "1": 606 - }, - "size": { - "0": 253.22842407226562, - "1": 106 - }, - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [{ - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 83, - "slot_index": 0 - }], - "outputs": [{ - "name": "SIGMAS", - "type": "SIGMAS", - "links": [ - 73 - ], - "slot_index": 0, - "shape": 3 - }], - "properties": { - "Node name for S&R": "BizyAir_BasicScheduler" - }, - "widgets_values": [ - "normal", - 20, - 1 - ] + "name": "denoised_output", + "type": "LATENT", + "links": null, + "shape": 3, + "label": "denoised_output" + } + ], + "properties": { + "Node name for S&R": "BizyAir_SamplerCustomAdvanced" + }, + "widgets_values": [], + "shape": 1 + }, + { + "id": 51, + "type": "EmptyLatentImage", + "pos": { + "0": 563, + "1": 258 + }, + "size": [ + 335.1949999999981, + 235.8250000000004 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 63 + ], + "shape": 3, + "label": "LATENT" + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ], + "shape": 1 + }, + { + "id": 59, + "type": "BizyAir_RandomNoise", + "pos": { + "0": 915, + "1": 256 + }, + "size": [ + 361.19899999999825, + 231.1700000000004 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 74 + ], + "slot_index": 0, + "shape": 3, + "label": "NOISE" + } + ], + "properties": { + "Node name for S&R": "BizyAir_RandomNoise" + }, + "widgets_values": [ + 6, + "fixed" + ], + "shape": 1 + }, + { + "id": 67, + "type": "BizyAir_FluxGuidance", + "pos": { + "0": 149, + "1": 251 + }, + "size": [ + 380.02973061460943, + 234.86291013862723 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 86, + "label": "conditioning" + } + ], + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 87 + ], + "slot_index": 0, + "shape": 3, + "label": "BIZYAIR_CONDITIONING" + } + ], + "properties": { + "Node name for S&R": "BizyAir_FluxGuidance" + }, + "widgets_values": [ + 3.5 + ], + "shape": 1 + }, + { + "id": 37, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": 140, + "1": 586 + }, + "size": { + "0": 393.2560729980469, + "1": 650.0499877929688 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 85, + "label": "clip" + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 86 + ], + "slot_index": 0, + "shape": 3, + "label": "CONDITIONING" + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "meijia,4k\npose: Five fingers are extended with the thumb slightly bent.\nshape: The nails are long and square-shaped with a smooth finish.\ncolor: The nail polish is a pale red with a subtle gradient towards the tips.\ntexture: There is a floral pattern embellished on some of the nails using clear rhinestones." + ], + "shape": 1 + }, + { + "id": 47, + "type": "BizyAir_BasicGuider", + "pos": { + "0": 571, + "1": 797 + }, + "size": [ + 341.9529999999984, + 173.34400000000028 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 82, + "slot_index": 0, + "label": "model" }, { - "id": 36, - "type": "BizyAir_DualCLIPLoader", - "pos": { - "0": -442, - "1": 749 - }, - "size": { - "0": 288.4751892089844, - "1": 106 - }, - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [{ - "name": "BIZYAIR_CLIP", - "type": "BIZYAIR_CLIP", - "links": [ - 84 - ], - "slot_index": 0, - "shape": 3 - }], - "properties": { - "Node name for S&R": "BizyAir_DualCLIPLoader" - }, - "widgets_values": [ - "t5xxl_fp8_e4m3fn.safetensors", - "clip_l.safetensors", - "flux" - ] + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 87, + "slot_index": 1, + "label": "conditioning" + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 61 + ], + "slot_index": 0, + "shape": 3, + "label": "GUIDER" + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicGuider" + }, + "widgets_values": [], + "shape": 1 + }, + { + "id": 65, + "type": "BizyAir_LoraLoader", + "pos": { + "0": -269.04718017578125, + "1": 646.6768798828125 + }, + "size": [ + 344.9816317315501, + 571.6203858353974 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 81, + "label": "model" }, { - "id": 56, - "type": "PreviewImage", - "pos": { - "0": 856, - "1": 596 - }, - "size": [ - 474.6930758561757, - 487.8756816778689 - ], - "flags": {}, - "order": 13, - "mode": 0, - "inputs": [{ - "name": "images", - "type": "IMAGE", - "link": 68 - }], - "outputs": [], - "properties": { - "Node name for S&R": "PreviewImage" - } + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 84, + "label": "clip" + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 82, + 83 + ], + "slot_index": 0, + "shape": 3, + "label": "MODEL" }, { - "id": 60, - "type": "BizyAir_KSamplerSelect", - "pos": { - "0": 230, - "1": 851 - }, - "size": { - "0": 301.6421203613281, - "1": 62.05542755126953 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [], - "outputs": [{ - "name": "SAMPLER", - "type": "SAMPLER", - "links": [ - 75 - ], - "slot_index": 0, - "shape": 3 - }], - "properties": { - "Node name for S&R": "BizyAir_KSamplerSelect" - }, - "widgets_values": [ - "euler" - ] + "name": "CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 85 + ], + "slot_index": 1, + "shape": 3, + "label": "CLIP" + } + ], + "properties": { + "Node name for S&R": "BizyAir_LoraLoader" + }, + "widgets_values": [ + "flux/meijia_flux_lora_rank16_bf16.safetensors", + 1, + 1 + ], + "shape": 1 + }, + { + "id": 48, + "type": "BizyAir_UNETLoader", + "pos": { + "0": -666, + "1": 594 + }, + "size": [ + 356.3392914626789, + 285.71486807806264 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 81 + ], + "slot_index": 0, + "shape": 3, + "label": "BIZYAIR_MODEL" + } + ], + "properties": { + "Node name for S&R": "BizyAir_UNETLoader" + }, + "widgets_values": [ + "flux/flux1-dev.sft", + "fp8_e4m3fn" + ], + "shape": 1 + }, + { + "id": 36, + "type": "BizyAir_DualCLIPLoader", + "pos": { + "0": -665, + "1": 930 + }, + "size": [ + 353.3392914626789, + 294.8917810517289 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 84 + ], + "slot_index": 0, + "shape": 3, + "label": "BIZYAIR_CLIP" + } + ], + "properties": { + "Node name for S&R": "BizyAir_DualCLIPLoader" + }, + "widgets_values": [ + "t5xxl_fp8_e4m3fn.safetensors", + "clip_l.safetensors", + "flux" + ], + "shape": 1 + }, + { + "id": 54, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 1522, + "1": 244 + }, + "size": [ + 275.78441379715514, + 252.38491802733063 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 66, + "slot_index": 0, + "label": "samples" }, { - "id": 59, - "type": "BizyAir_RandomNoise", - "pos": { - "0": 226, - "1": 720 - }, - "size": { - "0": 303.2338562011719, - "1": 82 - }, - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [], - "outputs": [{ - "name": "NOISE", - "type": "NOISE", - "links": [ - 74 - ], - "slot_index": 0, - "shape": 3 - }], - "properties": { - "Node name for S&R": "BizyAir_RandomNoise" - }, - "widgets_values": [ - 6, - "fixed" - ] + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 67, + "slot_index": 1, + "label": "vae" } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 68 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + }, + "widgets_values": [], + "shape": 1 + }, + { + "id": 55, + "type": "BizyAir_VAELoader", + "pos": { + "0": 1301, + "1": 251 + }, + "size": [ + 211.8984816298771, + 246.83103951041323 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 67 + ], + "shape": 3, + "label": "vae" + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "flux/ae.sft" + ], + "shape": 1 + }, + { + "id": 56, + "type": "PreviewImage", + "pos": { + "0": 1827.314697265625, + "1": 254.9999542236328 + }, + "size": [ + 493.9656934074428, + 226.92374897287146 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 68, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 + } + ], + "links": [ + [ + 61, + 47, + 0, + 50, + 1, + "GUIDER" ], - "links": [ - [ - 61, - 47, - 0, - 50, - 1, - "GUIDER" - ], - [ - 63, - 51, - 0, - 50, - 4, - "LATENT" - ], - [ - 66, - 50, - 0, - 54, - 0, - "LATENT" - ], - [ - 67, - 55, - 0, - 54, - 1, - "BIZYAIR_VAE" - ], - [ - 68, - 54, - 0, - 56, - 0, - "IMAGE" - ], - [ - 73, - 58, - 0, - 50, - 3, - "SIGMAS" - ], - [ - 74, - 59, - 0, - 50, - 0, - "NOISE" - ], - [ - 75, - 60, - 0, - 50, - 2, - "SAMPLER" - ], - [ - 81, - 48, - 0, - 65, - 0, - "BIZYAIR_MODEL" - ], - [ - 82, - 65, - 0, - 47, - 0, - "BIZYAIR_MODEL" - ], - [ - 83, - 65, - 0, - 58, - 0, - "BIZYAIR_MODEL" - ], - [ - 84, - 36, - 0, - 65, - 1, - "BIZYAIR_CLIP" - ], - [ - 85, - 65, - 1, - 37, - 0, - "BIZYAIR_CLIP" - ], - [ - 86, - 37, - 0, - 67, - 0, - "BIZYAIR_CONDITIONING" - ], - [ - 87, - 67, - 0, - 47, - 1, - "BIZYAIR_CONDITIONING" - ] + [ + 63, + 51, + 0, + 50, + 4, + "LATENT" ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 0.9090909090909094, - "offset": [ - 366.4002511628796, -253.67310820882074 - ] - } + [ + 66, + 50, + 0, + 54, + 0, + "LATENT" + ], + [ + 67, + 55, + 0, + 54, + 1, + "BIZYAIR_VAE" + ], + [ + 68, + 54, + 0, + 56, + 0, + "IMAGE" + ], + [ + 73, + 58, + 0, + 50, + 3, + "SIGMAS" + ], + [ + 74, + 59, + 0, + 50, + 0, + "NOISE" + ], + [ + 75, + 60, + 0, + 50, + 2, + "SAMPLER" + ], + [ + 81, + 48, + 0, + 65, + 0, + "BIZYAIR_MODEL" + ], + [ + 82, + 65, + 0, + 47, + 0, + "BIZYAIR_MODEL" + ], + [ + 83, + 65, + 0, + 58, + 0, + "BIZYAIR_MODEL" + ], + [ + 84, + 36, + 0, + 65, + 1, + "BIZYAIR_CLIP" + ], + [ + 85, + 65, + 1, + 37, + 0, + "BIZYAIR_CLIP" + ], + [ + 86, + 37, + 0, + 67, + 0, + "BIZYAIR_CONDITIONING" + ], + [ + 87, + 67, + 0, + 47, + 1, + "BIZYAIR_CONDITIONING" + ] + ], + "groups": [ + { + "title": "条件节点", + "bounding": [ + 118, + 175, + 433, + 332 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "噪声和垫图", + "bounding": [ + 552, + 175, + 735, + 329 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 1810, + 174, + 521, + 333 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 552, + 504, + 736, + 743 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE", + "bounding": [ + -687, + 507, + 803, + 743 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "LoRA", + "bounding": [ + -288, + 561, + 385, + 672 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 118, + 507, + 433, + 743 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} }, - "version": 0.4 + { + "title": "Group", + "bounding": [ + 1289, + 174, + 517, + 333 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.5714916005742737, + "offset": [ + 530.7628855914486, + 70.05625376860507 + ] + } + }, + "version": 0.4 } diff --git a/examples/bizyair_generate_photorealistic_images_workflow.json b/examples/bizyair_generate_photorealistic_images_workflow.json index fa3defc0..d2611f3f 100644 --- a/examples/bizyair_generate_photorealistic_images_workflow.json +++ b/examples/bizyair_generate_photorealistic_images_workflow.json @@ -2,20 +2,49 @@ "last_node_id": 2, "last_link_id": 1, "nodes": [ + { + "id": 2, + "type": "PreviewImage", + "pos": { + "0": 1195, + "1": 140 + }, + "size": [ + 294, + 265 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "shape": 1 + }, { "id": 1, "type": "BizyAirGenerateLightningImage", - "pos": [ - 788.6666870117188, - 186 - ], - "size": { - "0": 400, - "1": 220 + "pos": { + "0": 736, + "1": 137 }, + "size": [ + 429, + 269 + ], "flags": {}, "order": 0, "mode": 0, + "inputs": [], "outputs": [ { "name": "IMAGE", @@ -23,8 +52,9 @@ "links": [ 1 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { @@ -38,32 +68,8 @@ 1024, 1.5, 1 - ] - }, - { - "id": 2, - "type": "PreviewImage", - "pos": [ - 1205, - 192 ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 1 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } + "shape": 1 } ], "links": [ @@ -76,14 +82,39 @@ "IMAGE" ] ], - "groups": [], + "groups": [ + { + "title": "提示词", + "bounding": [ + 725, + 65, + 454, + 350 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 1180, + 65, + 323, + 350 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { "scale": 1, "offset": [ - 0, - 0 + -605, + 128 ] } }, diff --git a/examples/bizyair_kolors_controlnet.json b/examples/bizyair_kolors_controlnet.json index ad9b7ab6..3e78d4cc 100644 --- a/examples/bizyair_kolors_controlnet.json +++ b/examples/bizyair_kolors_controlnet.json @@ -2,16 +2,86 @@ "last_node_id": 91, "last_link_id": 151, "nodes": [ + { + "id": 84, + "type": "BizyAir_MZ_KolorsControlNetLoader", + "pos": { + "0": 1540.22216796875, + "1": 1303.8807373046875 + }, + "size": { + "0": 412.025390625, + "1": 163.6925048828125 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "ControlNet", + "type": "BIZYAIR_CONTROL_NET", + "links": [ + 141 + ], + "slot_index": 0, + "shape": 3, + "label": "ControlNet" + } + ], + "properties": { + "Node name for S&R": "BizyAir_MZ_KolorsControlNetLoader" + }, + "widgets_values": [ + "kolors/Kolors-ControlNet-Depth.safetensors" + ], + "shape": 1 + }, + { + "id": 70, + "type": "BizyAir_MZ_KolorsUNETLoaderV2", + "pos": { + "0": 1540.22216796875, + "1": 1107.8809814453125 + }, + "size": { + "0": 404.70489501953125, + "1": 134.22109985351562 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 125 + ], + "slot_index": 0, + "shape": 3, + "label": "model" + } + ], + "properties": { + "Node name for S&R": "BizyAir_MZ_KolorsUNETLoaderV2" + }, + "widgets_values": [ + "kolors/Kolors.safetensors" + ], + "shape": 1 + }, { "id": 73, "type": "BizyAir_KSampler", - "pos": [ - 1925, - 1274 - ], + "pos": { + "0": 2436.07666015625, + "1": 868.810791015625 + }, "size": { - "0": 315, - "1": 262 + "0": 333.6129455566406, + "1": 607.9432983398438 }, "flags": {}, "order": 11, @@ -20,23 +90,27 @@ { "name": "model", "type": "BIZYAIR_MODEL", - "link": 125 + "link": 125, + "label": "model" }, { "name": "positive", "type": "BIZYAIR_CONDITIONING", - "link": 142 + "link": 142, + "label": "positive" }, { "name": "negative", "type": "BIZYAIR_CONDITIONING", - "link": 143 + "link": 143, + "label": "negative" }, { "name": "latent_image", "type": "LATENT", "link": 144, - "slot_index": 3 + "slot_index": 3, + "label": "latent_image" } ], "outputs": [ @@ -46,8 +120,9 @@ "links": [ 130 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { @@ -61,126 +136,70 @@ "euler", "ddim_uniform", 1 - ] - }, - { - "id": 76, - "type": "BizyAir_VAEDecode", - "pos": [ - 2256, - 1282 ], - "size": [ - 503.94573135312385, - 46 - ], - "flags": {}, - "order": 12, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": 130 - }, - { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 129 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 145 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "BizyAir_VAEDecode" - } + "shape": 1 }, { - "id": 85, - "type": "EmptyLatentImage", - "pos": [ - 1922, - 1585 - ], + "id": 75, + "type": "BizyAir_VAELoader", + "pos": { + "0": 2808, + "1": 878 + }, "size": { - "0": 315, - "1": 106 + "0": 362.5466003417969, + "1": 251.60716247558594 }, "flags": {}, - "order": 0, + "order": 2, "mode": 0, + "inputs": [], "outputs": [ { - "name": "LATENT", - "type": "LATENT", + "name": "vae", + "type": "BIZYAIR_VAE", "links": [ - 144 + 129 ], - "shape": 3 + "slot_index": 0, + "shape": 3, + "label": "vae" } ], "properties": { - "Node name for S&R": "EmptyLatentImage" + "Node name for S&R": "BizyAir_VAELoader" }, "widgets_values": [ - 1024, - 1024, - 1 - ] - }, - { - "id": 88, - "type": "PreviewImage", - "pos": [ - 1928, - 1735 - ], - "size": [ - 315.96198171874903, - 263.6386796683562 - ], - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 150 - } + "sdxl/sdxl_vae.safetensors" ], - "properties": { - "Node name for S&R": "PreviewImage" - } + "shape": 1 }, { - "id": 89, - "type": "BizyAirDepthAnythingV2Preprocessor", - "pos": [ - 1513, - 1497 - ], - "size": [ - 361.25380940312425, - 82 - ], + "id": 76, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 2811, + "1": 1180 + }, + "size": { + "0": 365.5991516113281, + "1": 268.70916748046875 + }, "flags": {}, - "order": 8, + "order": 12, "mode": 0, "inputs": [ { - "name": "image", - "type": "IMAGE", - "link": 149 + "name": "samples", + "type": "LATENT", + "link": 130, + "label": "samples" + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 129, + "label": "vae" } ], "outputs": [ @@ -188,69 +207,58 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 150, - 151 + 145 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAirDepthAnythingV2Preprocessor" + "Node name for S&R": "BizyAir_VAEDecode" }, - "widgets_values": [ - "depth_anything_v2_vitl.pth", - 1024 - ] + "widgets_values": [], + "shape": 1 }, { - "id": 90, - "type": "BizyAirGenerateLightningImage", - "pos": [ - 1524, - 1627 - ], - "size": [ - 336, - 219.9999542236328 - ], + "id": 86, + "type": "PreviewImage", + "pos": { + "0": 3252, + "1": 875 + }, + "size": { + "0": 322.5527648925781, + "1": 578.3197021484375 + }, "flags": {}, - "order": 1, + "order": 13, "mode": 0, - "outputs": [ + "inputs": [ { - "name": "IMAGE", + "name": "images", "type": "IMAGE", - "links": [ - 149 - ], - "shape": 3, - "slot_index": 0 + "link": 145, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAirGenerateLightningImage" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "a hawk", - 1, - "fixed", - 1024, - 1024, - 1.5, - 1 - ] + "widgets_values": [], + "shape": 1 }, { "id": 71, "type": "BizyAir_ControlNetApplyAdvanced", - "pos": [ - 1500, - 1269 - ], + "pos": { + "0": 2002, + "1": 858 + }, "size": { - "0": 386.8606872558594, - "1": 174.17922973632812 + "0": 381.9786071777344, + "1": 613.9796752929688 }, "flags": {}, "order": 10, @@ -260,24 +268,28 @@ "name": "positive", "type": "BIZYAIR_CONDITIONING", "link": 132, - "slot_index": 0 + "slot_index": 0, + "label": "positive" }, { "name": "negative", "type": "BIZYAIR_CONDITIONING", - "link": 133 + "link": 133, + "label": "negative" }, { "name": "control_net", "type": "BIZYAIR_CONTROL_NET", "link": 141, - "slot_index": 2 + "slot_index": 2, + "label": "control_net" }, { "name": "image", "type": "IMAGE", "link": 151, - "slot_index": 3 + "slot_index": 3, + "label": "image" } ], "outputs": [ @@ -287,8 +299,9 @@ "links": [ 142 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "positive" }, { "name": "negative", @@ -296,8 +309,9 @@ "links": [ 143 ], + "slot_index": 1, "shape": 3, - "slot_index": 1 + "label": "negative" } ], "properties": { @@ -307,22 +321,68 @@ 0.8, 0, 1 - ] + ], + "shape": 1 }, { - "id": 80, - "type": "BizyAir_MinusZoneChatGLM3TextEncode", - "pos": [ - 1081, - 1377 + "id": 89, + "type": "BizyAirDepthAnythingV2Preprocessor", + "pos": { + "0": 1550, + "1": 875 + }, + "size": { + "0": 411.6330871582031, + "1": 169.95989990234375 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 149, + "label": "image" + } ], - "size": [ - 389.3432087656254, - 76 + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 150, + 151 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + } ], + "properties": { + "Node name for S&R": "BizyAirDepthAnythingV2Preprocessor" + }, + "widgets_values": [ + "depth_anything_v2_vitl.pth", + 1024 + ], + "shape": 1 + }, + { + "id": 80, + "type": "BizyAir_MinusZoneChatGLM3TextEncode", + "pos": { + "0": 1064, + "1": 1190 + }, + "size": { + "0": 405.53448486328125, + "1": 277.0566101074219 + }, "flags": {}, - "order": 2, + "order": 3, "mode": 0, + "inputs": [], "outputs": [ { "name": "BIZYAIR_CONDITIONING", @@ -330,8 +390,9 @@ "links": [ 132 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_CONDITIONING" } ], "properties": { @@ -339,22 +400,24 @@ }, "widgets_values": [ "宇宙飞船在烈火中飞向太空" - ] + ], + "shape": 1 }, { "id": 81, "type": "BizyAir_MinusZoneChatGLM3TextEncode", - "pos": [ - 1083, - 1504 - ], - "size": [ - 379.91404509375025, - 76 - ], + "pos": { + "0": 1064, + "1": 876 + }, + "size": { + "0": 407.5857849121094, + "1": 253.5438690185547 + }, "flags": {}, - "order": 3, + "order": 4, "mode": 0, + "inputs": [], "outputs": [ { "name": "BIZYAIR_CONDITIONING", @@ -362,8 +425,9 @@ "links": [ 133 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_CONDITIONING" } ], "properties": { @@ -371,143 +435,131 @@ }, "widgets_values": [ "nsfw,脸部阴影,低分辨率,jpeg伪影、模糊、糟糕,黑脸,霓虹灯" - ] + ], + "shape": 1 }, { - "id": 75, - "type": "BizyAir_VAELoader", - "pos": [ - 1084, - 1628 - ], + "id": 90, + "type": "BizyAirGenerateLightningImage", + "pos": { + "0": 1058, + "1": 507 + }, "size": [ - 374.6246896250004, - 58 + 419.0659620299964, + 259.06385639700125 ], "flags": {}, - "order": 4, + "order": 5, "mode": 0, + "inputs": [], "outputs": [ { - "name": "vae", - "type": "BIZYAIR_VAE", + "name": "IMAGE", + "type": "IMAGE", "links": [ - 129 + 149 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAir_VAELoader" + "Node name for S&R": "BizyAirGenerateLightningImage" }, "widgets_values": [ - "sdxl/sdxl_vae.safetensors" - ] + "a hawk", + 1, + "fixed", + 1024, + 1024, + 1.5, + 1 + ], + "shape": 1 }, { - "id": 86, + "id": 88, "type": "PreviewImage", - "pos": [ - 2267, - 1378 - ], - "size": [ - 494.58218337499875, - 545.8929832179654 - ], + "pos": { + "0": 2039, + "1": 501 + }, + "size": { + "0": 315.96197509765625, + "1": 263.638671875 + }, "flags": {}, - "order": 13, + "order": 9, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 145 + "link": 150, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" - } - }, - { - "id": 70, - "type": "BizyAir_MZ_KolorsUNETLoaderV2", - "pos": [ - 1073, - 1272 - ], - "size": { - "0": 398.9453430175781, - "1": 58 - }, - "flags": {}, - "order": 5, - "mode": 0, - "outputs": [ - { - "name": "model", - "type": "BIZYAIR_MODEL", - "links": [ - 125 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "BizyAir_MZ_KolorsUNETLoaderV2" }, - "widgets_values": [ - "kolors/Kolors.safetensors" - ] + "widgets_values": [], + "shape": 1 }, { - "id": 84, - "type": "BizyAir_MZ_KolorsControlNetLoader", - "pos": [ - 1089, - 1742 - ], + "id": 85, + "type": "EmptyLatentImage", + "pos": { + "0": 2016.283935546875, + "1": 1581 + }, "size": [ - 366.3647794687504, - 58 + 366.7324679206213, + 188.554823131376 ], "flags": {}, "order": 6, "mode": 0, + "inputs": [], "outputs": [ { - "name": "ControlNet", - "type": "BIZYAIR_CONTROL_NET", + "name": "LATENT", + "type": "LATENT", "links": [ - 141 + 144 ], "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { - "Node name for S&R": "BizyAir_MZ_KolorsControlNetLoader" + "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ - "kolors/Kolors-ControlNet-Depth.safetensors" - ] + 1024, + 1024, + 1 + ], + "shape": 1 }, { "id": 91, "type": "Note", - "pos": [ - 1073, - 1146 - ], + "pos": { + "0": 1030, + "1": 1585 + }, "size": [ - 485.88076725000064, - 65.17527988984284 + 918.844310029996, + 152.36645539700066 ], "flags": {}, "order": 7, "mode": 0, + "inputs": [], + "outputs": [], "properties": { "text": "" }, @@ -624,15 +676,112 @@ "IMAGE" ] ], - "groups": [], + "groups": [ + { + "title": "参考图提示词", + "bounding": [ + 1031, + 421, + 473, + 360 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 3211, + 782, + 402, + 712 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "垫图", + "bounding": [ + 2005, + 1501, + 394, + 302 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 2404, + 784, + 376, + 713 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 1032, + 782, + 465, + 714 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE", + "bounding": [ + 2783, + 783, + 425, + 712 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + 1498, + 783, + 903, + 714 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "中间预览图", + "bounding": [ + 1999, + 422, + 397, + 362 + ], + "color": "#444", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 0.5644739300537776, - "offset": { - "0": -660.5678572070321, - "1": -897.6366635304679 - } + "scale": 0.5131581182307069, + "offset": [ + -1097.906461829997, + -175.641731497001 + ] }, "workspace_info": { "id": "ckS1tBu-IMHBxD8SZ6K-k", diff --git a/examples/bizyair_kolors_inpainting.json b/examples/bizyair_kolors_inpainting.json index 5efd9472..fcfce850 100644 --- a/examples/bizyair_kolors_inpainting.json +++ b/examples/bizyair_kolors_inpainting.json @@ -3,126 +3,98 @@ "last_link_id": 56, "nodes": [ { - "id": 25, - "type": "BizyAir_MZ_KolorsUNETLoaderV2", - "pos": [ - 1025, - 816 - ], + "id": 29, + "type": "BizyAir_MinusZoneChatGLM3TextEncode", + "pos": { + "0": 285.1164855957031, + "1": 1016.7921142578125 + }, "size": { - "0": 342.2160949707031, - "1": 58 + "0": 422.229248046875, + "1": 256.33843994140625 }, "flags": {}, "order": 0, "mode": 0, + "inputs": [], "outputs": [ { - "name": "model", - "type": "BIZYAIR_MODEL", + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 31 + 43 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_MZ_KolorsUNETLoaderV2" + "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" }, "widgets_values": [ - "kolors/Kolors-Inpainting.safetensors" - ] - }, - { - "id": 32, - "type": "BizyAir_VAEDecode", - "pos": [ - 1415, - 813 - ], - "size": { - "0": 371.14935302734375, - "1": 46 - }, - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": 35 - }, - { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 36, - "slot_index": 1 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 53 - ], - "shape": 3, - "slot_index": 0 - } + "一个开朗的女孩,在埃及金字塔旁边" ], - "properties": { - "Node name for S&R": "BizyAir_VAEDecode" - } + "shape": 1 }, { - "id": 27, - "type": "BizyAir_VAELoader", - "pos": [ - 593, - 801 - ], + "id": 37, + "type": "BizyAirGenerateLightningImage", + "pos": { + "0": 287.1164855957031, + "1": 680.7921142578125 + }, "size": { - "0": 407.9100646972656, - "1": 63.83865737915039 + "0": 421.76513671875, + "1": 289.2697448730469 }, "flags": {}, "order": 1, "mode": 0, + "inputs": [], "outputs": [ { - "name": "vae", - "type": "BIZYAIR_VAE", + "name": "IMAGE", + "type": "IMAGE", "links": [ - 30, - 36 + 48, + 50, + 51 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAir_VAELoader" + "Node name for S&R": "BizyAirGenerateLightningImage" }, "widgets_values": [ - "sdxl/sdxl_vae.safetensors" - ] + "\nA joyful young girl, with a bright, genuine smile, surrounded by a serene garden with colorful flowers and butterflies fluttering around her. She is wearing a casual dress, playing with a fluffy dog, her eyes sparkling with happiness and wonder.", + 20, + "fixed", + 1024, + 1024, + 1.5, + 1 + ], + "shape": 1 }, { "id": 30, "type": "BizyAir_MinusZoneChatGLM3TextEncode", - "pos": [ - 595, - 1107 - ], + "pos": { + "0": 283.1164855957031, + "1": 551.7920532226562 + }, "size": { - "0": 406.75457763671875, - "1": 76 + "0": 430.76513671875, + "1": 82.74213409423828 }, "flags": {}, "order": 2, "mode": 0, + "inputs": [], "outputs": [ { "name": "BIZYAIR_CONDITIONING", @@ -130,8 +102,9 @@ "links": [ 44 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_CONDITIONING" } ], "properties": { @@ -139,102 +112,86 @@ }, "widgets_values": [ "nsfw,脸部阴影,低分辨率,jpeg伪影、模糊、糟糕,黑脸,霓虹灯" - ] - }, - { - "id": 39, - "type": "PreviewImage", - "pos": [ - 1418, - 927 ], - "size": { - "0": 387.0735168457031, - "1": 420.3405456542969 - }, - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 51 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } + "shape": 1 }, { - "id": 41, - "type": "PreviewImage", - "pos": [ - 1821, - 934 - ], + "id": 28, + "type": "BizyAir_KSampler", + "pos": { + "0": 1436, + "1": 548 + }, "size": { - "0": 387.0735168457031, - "1": 420.3405456542969 + "0": 409.5643310546875, + "1": 722.8025512695312 }, "flags": {}, - "order": 12, + "order": 10, "mode": 0, "inputs": [ { - "name": "images", - "type": "IMAGE", - "link": 53, - "slot_index": 0 + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 31, + "label": "model" + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 43, + "label": "positive" + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 44, + "label": "negative" + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 45, + "label": "latent_image" } ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 29, - "type": "BizyAir_MinusZoneChatGLM3TextEncode", - "pos": [ - 595, - 927 - ], - "size": { - "0": 407.5237121582031, - "1": 126.94926452636719 - }, - "flags": {}, - "order": 3, - "mode": 0, "outputs": [ { - "name": "BIZYAIR_CONDITIONING", - "type": "BIZYAIR_CONDITIONING", + "name": "LATENT", + "type": "LATENT", "links": [ - 43 + 35 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { - "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" + "Node name for S&R": "BizyAir_KSampler" }, "widgets_values": [ - "一个开朗的女孩,在埃及金字塔旁边" - ] + 13, + "increment", + 20, + 5, + "euler", + "ddim_uniform", + 1 + ], + "shape": 1 }, { "id": 36, "type": "BizyAirRemoveBackground", - "pos": [ - 597, - 1222 - ], - "size": { - "0": 359.3028869628906, - "1": 46.24819564819336 + "pos": { + "0": 768, + "1": 549 }, + "size": [ + 312.06341667298534, + 242.0471057508987 + ], "flags": {}, "order": 6, "mode": 0, @@ -242,7 +199,8 @@ { "name": "image", "type": "IMAGE", - "link": 48 + "link": 48, + "label": "image" } ], "outputs": [ @@ -250,8 +208,9 @@ "name": "IMAGE", "type": "IMAGE", "links": [], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" }, { "name": "MASK", @@ -259,61 +218,146 @@ "links": [ 54 ], + "slot_index": 1, "shape": 3, - "slot_index": 1 + "label": "MASK" } ], "properties": { "Node name for S&R": "BizyAirRemoveBackground" - } + }, + "widgets_values": [], + "shape": 1 }, { - "id": 43, - "type": "InvertMask", - "pos": [ - 599, - 1312 + "id": 27, + "type": "BizyAir_VAELoader", + "pos": { + "0": 761, + "1": 920 + }, + "size": [ + 284.3967720729852, + 354.2776636508986 ], - "size": { - "0": 356.19500732421875, - "1": 26 + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 30, + 36 + ], + "slot_index": 0, + "shape": 3, + "label": "vae" + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "sdxl/sdxl_vae.safetensors" + ], + "shape": 1 + }, + { + "id": 25, + "type": "BizyAir_MZ_KolorsUNETLoaderV2", + "pos": { + "0": -232, + "1": 552 }, + "size": [ + 466.9653977891862, + 723.2855281425987 + ], "flags": {}, - "order": 8, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 31 + ], + "slot_index": 0, + "shape": 3, + "label": "model" + } + ], + "properties": { + "Node name for S&R": "BizyAir_MZ_KolorsUNETLoaderV2" + }, + "widgets_values": [ + "kolors/Kolors-Inpainting.safetensors" + ], + "shape": 1 + }, + { + "id": 32, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 1891, + "1": 559 + }, + "size": [ + 422.0064507891848, + 145.700691142599 + ], + "flags": {}, + "order": 11, "mode": 0, "inputs": [ { - "name": "mask", - "type": "MASK", - "link": 54 + "name": "samples", + "type": "LATENT", + "link": 35, + "label": "samples" + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 36, + "slot_index": 1, + "label": "vae" } ], "outputs": [ { - "name": "MASK", - "type": "MASK", + "name": "IMAGE", + "type": "IMAGE", "links": [ - 55 + 53 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "InvertMask" - } + "Node name for S&R": "BizyAir_VAEDecode" + }, + "widgets_values": [], + "shape": 1 }, { "id": 26, "type": "BizyAir_VAEEncodeForInpaint", - "pos": [ - 1026, - 1240 - ], - "size": { - "0": 334.1416015625, - "1": 98 + "pos": { + "0": 1070, + "1": 910 }, + "size": [ + 310.79998779296875, + 360.1273441117987 + ], "flags": {}, "order": 9, "mode": 0, @@ -321,17 +365,20 @@ { "name": "pixels", "type": "IMAGE", - "link": 50 + "link": 50, + "label": "pixels" }, { "name": "vae", "type": "BIZYAIR_VAE", - "link": 30 + "link": 30, + "label": "vae" }, { "name": "mask", "type": "MASK", - "link": 55 + "link": 55, + "label": "mask" } ], "outputs": [ @@ -341,8 +388,9 @@ "links": [ 45 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { @@ -350,123 +398,95 @@ }, "widgets_values": [ 0 - ] + ], + "shape": 1 }, { - "id": 28, - "type": "BizyAir_KSampler", - "pos": [ - 1021, - 927 - ], - "size": { - "0": 350.941162109375, - "1": 267.5857849121094 + "id": 43, + "type": "InvertMask", + "pos": { + "0": 1106, + "1": 553 }, + "size": [ + 279.2171329729854, + 230.6625005508987 + ], "flags": {}, - "order": 10, + "order": 8, "mode": 0, "inputs": [ { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 31 - }, - { - "name": "positive", - "type": "BIZYAIR_CONDITIONING", - "link": 43 - }, - { - "name": "negative", - "type": "BIZYAIR_CONDITIONING", - "link": 44 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 45 + "name": "mask", + "type": "MASK", + "link": 54, + "label": "mask" } ], "outputs": [ { - "name": "LATENT", - "type": "LATENT", + "name": "MASK", + "type": "MASK", "links": [ - 35 + 55 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "MASK" } ], "properties": { - "Node name for S&R": "BizyAir_KSampler" + "Node name for S&R": "InvertMask" }, - "widgets_values": [ - 12, - "increment", - 20, - 5, - "euler", - "ddim_uniform", - 1 - ] + "widgets_values": [], + "shape": 1 }, { - "id": 37, - "type": "BizyAirGenerateLightningImage", - "pos": [ - 182, - 1095 - ], + "id": 41, + "type": "PreviewImage", + "pos": { + "0": 2371, + "1": 542 + }, "size": [ - 400, - 220.00001525878906 + 452.64921975848665, + 727.7408880076996 ], "flags": {}, - "order": 4, + "order": 12, "mode": 0, - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "IMAGE", + "name": "images", "type": "IMAGE", - "links": [ - 48, - 50, - 51 - ], - "shape": 3, - "slot_index": 0 + "link": 53, + "slot_index": 0, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAirGenerateLightningImage" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "\nA joyful young girl, with a bright, genuine smile, surrounded by a serene garden with colorful flowers and butterflies fluttering around her. She is wearing a casual dress, playing with a fluffy dog, her eyes sparkling with happiness and wonder.", - 20, - "fixed", - 1024, - 1024, - 1.5, - 1 - ] + "widgets_values": [], + "shape": 1 }, { "id": 42, "type": "Note", - "pos": [ - 199, - 800 - ], - "size": [ - 371.351732598283, - 217.24020650869352 - ], + "pos": { + "0": -372, + "1": -167 + }, + "size": { + "0": 1938.815673828125, + "1": 219.7587127685547 + }, "flags": {}, "order": 5, "mode": 0, + "inputs": [], + "outputs": [], "properties": { "text": "" }, @@ -475,6 +495,35 @@ ], "color": "#432", "bgcolor": "#653" + }, + { + "id": 39, + "type": "PreviewImage", + "pos": { + "0": 890, + "1": 169 + }, + "size": [ + 353.624389258488, + 247.38227180770014 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 51, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 } ], "links": [ @@ -583,18 +632,115 @@ "MASK" ] ], - "groups": [], + "groups": [ + { + "title": "VAE解码", + "bounding": [ + 1862, + 468, + 476, + 263 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 2343, + 470, + 503, + 823 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 1405, + 468, + 454, + 823 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + -249, + 468, + 510, + 824 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 262, + 468, + 468, + 823 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE编码", + "bounding": [ + 735, + 817, + 669, + 477 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "抠图", + "bounding": [ + 733, + 468, + 671, + 344 + ], + "color": "#A88", + "font_size": 24, + "flags": {} + }, + { + "title": "中间生成图", + "bounding": [ + 864, + 90, + 409, + 340 + ], + "color": "#444", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { + "ds": { + "scale": 0.5131581182307071, + "offset": [ + 79.15977240151102, + 381.21223911229947 + ] + }, "workspace_info": { "id": "TKSZ5XMzonRsm7MzObd2l" - }, - "ds": { - "scale": 0.9090909090909095, - "offset": { - "0": 280.58162311460734, - "1": -434.57352865224834 - } } }, "version": 0.4 diff --git a/examples/bizyair_kolors_ipa.json b/examples/bizyair_kolors_ipa.json index c976492f..25f4b12d 100644 --- a/examples/bizyair_kolors_ipa.json +++ b/examples/bizyair_kolors_ipa.json @@ -5,13 +5,13 @@ { "id": 52, "type": "BizyAir_KSampler", - "pos": [ - 1337, - 973 - ], + "pos": { + "0": 1690.660400390625, + "1": 814.3382568359375 + }, "size": { - "0": 346.7946472167969, - "1": 308.3153381347656 + "0": 366.4524841308594, + "1": 761.7720947265625 }, "flags": {}, "order": 11, @@ -20,25 +20,29 @@ { "name": "model", "type": "BIZYAIR_MODEL", - "link": 77 + "link": 77, + "label": "model" }, { "name": "positive", "type": "BIZYAIR_CONDITIONING", "link": 92, - "slot_index": 1 + "slot_index": 1, + "label": "positive" }, { "name": "negative", "type": "BIZYAIR_CONDITIONING", "link": 93, - "slot_index": 2 + "slot_index": 2, + "label": "negative" }, { "name": "latent_image", "type": "LATENT", "link": 94, - "slot_index": 3 + "slot_index": 3, + "label": "latent_image" } ], "outputs": [ @@ -48,8 +52,9 @@ "links": [ 85 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { @@ -63,118 +68,164 @@ "dpmpp_2m_sde_gpu", "karras", 1 - ] + ], + "shape": 1 }, { - "id": 51, - "type": "BizyAir_MZ_KolorsUNETLoaderV2", - "pos": [ - 504, - 1068 - ], + "id": 71, + "type": "Note", + "pos": { + "0": 286, + "1": 648 + }, "size": { - "0": 336, - "1": 58 + "0": 2230.911865234375, + "1": 67.56360626220703 }, "flags": {}, "order": 0, "mode": 0, - "outputs": [ - { - "name": "model", - "type": "BIZYAIR_MODEL", - "links": [ - 76 - ], - "shape": 3, - "slot_index": 0 - } - ], + "inputs": [], + "outputs": [], "properties": { - "Node name for S&R": "BizyAir_MZ_KolorsUNETLoaderV2" + "text": "" }, "widgets_values": [ - "kolors/Kolors.safetensors" - ] + "IPAdapter 可以将图片作为 Image prompt 影响出图的效果。常用于风格转换、人脸变换、构图控制等。" + ], + "color": "#432", + "bgcolor": "#653" }, { - "id": 54, - "type": "BizyAir_CLIPVisionLoader", - "pos": [ - 500, - 951 - ], + "id": 59, + "type": "BizyAir_IPAdapterAdvanced", + "pos": { + "0": 778.6619873046875, + "1": 800.6619873046875 + }, "size": { - "0": 331.6002197265625, - "1": 60.51792526245117 + "0": 386.3514709472656, + "1": 776.2362060546875 }, "flags": {}, - "order": 1, + "order": 10, "mode": 0, - "outputs": [ + "inputs": [ { - "name": "CLIP_VISION", + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 76, + "label": "model" + }, + { + "name": "ipadapter", + "type": "IPADAPTER", + "link": 83, + "label": "ipadapter" + }, + { + "name": "image", + "type": "IMAGE", + "link": 95, + "label": "image" + }, + { + "name": "image_negative", + "type": "IMAGE", + "link": null, + "label": "image_negative", + "shape": 7 + }, + { + "name": "attn_mask", + "type": "MASK", + "link": null, + "label": "attn_mask", + "shape": 7 + }, + { + "name": "clip_vision", "type": "CLIP_VISION", + "link": 81, + "label": "clip_vision", + "shape": 7 + } + ], + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", "links": [ - 81 + 77 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "model" } ], "properties": { - "Node name for S&R": "BizyAir_CLIPVisionLoader" + "Node name for S&R": "BizyAir_IPAdapterAdvanced" }, "widgets_values": [ - "kolors/pytorch_model.bin" - ] + 0.6, + "linear", + "concat", + 0, + 1, + "V only" + ], + "shape": 1 }, { - "id": 50, - "type": "BizyAir_VAELoader", - "pos": [ - 504, - 826 - ], - "size": { - "0": 324.6021728515625, - "1": 58 + "id": 53, + "type": "BizyAir_MinusZoneChatGLM3TextEncode", + "pos": { + "0": 1199, + "1": 1166 }, + "size": [ + 439.9370000000001, + 397.394 + ], "flags": {}, - "order": 2, + "order": 1, "mode": 0, + "inputs": [], "outputs": [ { - "name": "vae", - "type": "BIZYAIR_VAE", + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 84 + 93 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_VAELoader" + "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" }, "widgets_values": [ - "sdxl/sdxl_vae.safetensors" - ] + "花" + ], + "shape": 1 }, { "id": 68, "type": "BizyAirGenerateLightningImage", - "pos": [ - 507, - 1183 - ], + "pos": { + "0": 323.946044921875, + "1": 1197.0601806640625 + }, "size": { - "0": 336, - "1": 220.00003051757812 + "0": 418.3993835449219, + "1": 340.8439025878906 }, "flags": {}, - "order": 3, + "order": 2, "mode": 0, + "inputs": [], "outputs": [ { "name": "IMAGE", @@ -183,8 +234,9 @@ 95, 96 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { @@ -198,22 +250,24 @@ 1024, 1.5, 1 - ] + ], + "shape": 1 }, { "id": 58, "type": "BizyAir_IPAdapterModelLoader", - "pos": [ - 1336, - 841 - ], + "pos": { + "0": 306, + "1": 805 + }, "size": { - "0": 365.2294616699219, - "1": 73.92222595214844 + "0": 441.5470886230469, + "1": 58 }, "flags": {}, - "order": 4, + "order": 3, "mode": 0, + "inputs": [], "outputs": [ { "name": "IPADAPTER", @@ -221,8 +275,9 @@ "links": [ 83 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IPADAPTER" } ], "properties": { @@ -230,44 +285,125 @@ }, "widgets_values": [ "kolors/ip_adapter_plus_general.bin" - ] + ], + "shape": 1 }, { - "id": 69, - "type": "PreviewImage", - "pos": [ - 1726, - 1032 + "id": 51, + "type": "BizyAir_MZ_KolorsUNETLoaderV2", + "pos": { + "0": 299, + "1": 1029 + }, + "size": { + "0": 438.4034729003906, + "1": 58 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 76 + ], + "slot_index": 0, + "shape": 3, + "label": "model" + } ], + "properties": { + "Node name for S&R": "BizyAir_MZ_KolorsUNETLoaderV2" + }, + "widgets_values": [ + "kolors/Kolors.safetensors" + ], + "shape": 1 + }, + { + "id": 54, + "type": "BizyAir_CLIPVisionLoader", + "pos": { + "0": 306, + "1": 917 + }, "size": { - "0": 331.33270263671875, - "1": 338.9947509765625 + "0": 437.93939208984375, + "1": 58 }, "flags": {}, - "order": 9, + "order": 5, "mode": 0, - "inputs": [ + "inputs": [], + "outputs": [ { - "name": "images", - "type": "IMAGE", - "link": 96 + "name": "CLIP_VISION", + "type": "CLIP_VISION", + "links": [ + 81 + ], + "slot_index": 0, + "shape": 3, + "label": "CLIP_VISION" } ], "properties": { - "Node name for S&R": "PreviewImage" - } + "Node name for S&R": "BizyAir_CLIPVisionLoader" + }, + "widgets_values": [ + "kolors/pytorch_model.bin" + ], + "shape": 1 + }, + { + "id": 50, + "type": "BizyAir_VAELoader", + "pos": { + "0": 2108.36962890625, + "1": 812.6458740234375 + }, + "size": [ + 415.4125570000001, + 118.85323400000004 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 84 + ], + "slot_index": 0, + "shape": 3, + "label": "vae" + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "sdxl/sdxl_vae.safetensors" + ], + "shape": 1 }, { "id": 61, "type": "BizyAir_VAEDecode", - "pos": [ - 1733, - 849 - ], - "size": { - "0": 318.7030029296875, - "1": 50.580413818359375 + "pos": { + "0": 2112.36962890625, + "1": 983.6455078125 }, + "size": [ + 416.6409960000001, + 104.20748000000003 + ], "flags": {}, "order": 12, "mode": 0, @@ -275,12 +411,14 @@ { "name": "samples", "type": "LATENT", - "link": 85 + "link": 85, + "label": "samples" }, { "name": "vae", "type": "BIZYAIR_VAE", - "link": 84 + "link": 84, + "label": "vae" } ], "outputs": [ @@ -290,25 +428,28 @@ "links": [ 97 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { "Node name for S&R": "BizyAir_VAEDecode" - } + }, + "widgets_values": [], + "shape": 1 }, { "id": 70, "type": "PreviewImage", - "pos": [ - 2075, - 1033 - ], - "size": { - "0": 331.33270263671875, - "1": 338.9947509765625 + "pos": { + "0": 2564.541015625, + "1": 814.3218994140625 }, + "size": [ + 408.8036841250005, + 273.708519945312 + ], "flags": {}, "order": 13, "mode": 0, @@ -316,27 +457,32 @@ { "name": "images", "type": "IMAGE", - "link": 97 + "link": 97, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" - } + }, + "widgets_values": [], + "shape": 1 }, { "id": 67, "type": "EmptyLatentImage", - "pos": [ - 1347, - 1337 - ], - "size": { - "0": 315, - "1": 106 + "pos": { + "0": 1201, + "1": 1683 }, + "size": [ + 443.9025420000007, + 132.6850499999996 + ], "flags": {}, - "order": 5, + "order": 7, "mode": 0, + "inputs": [], "outputs": [ { "name": "LATENT", @@ -344,7 +490,8 @@ "links": [ 94 ], - "shape": 3 + "shape": 3, + "label": "LATENT" } ], "properties": { @@ -354,91 +501,53 @@ 1024, 1024, 1 - ] + ], + "shape": 1 }, { - "id": 59, - "type": "BizyAir_IPAdapterAdvanced", - "pos": [ - 878, - 829 - ], - "size": { - "0": 395.66741943359375, - "1": 278 + "id": 69, + "type": "PreviewImage", + "pos": { + "0": 669.906494140625, + "1": 1817.233154296875 }, + "size": [ + 410.049703, + 317.82012699999905 + ], "flags": {}, - "order": 10, + "order": 9, "mode": 0, "inputs": [ { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 76 - }, - { - "name": "ipadapter", - "type": "IPADAPTER", - "link": 83 - }, - { - "name": "image", - "type": "IMAGE", - "link": 95 - }, - { - "name": "image_negative", + "name": "images", "type": "IMAGE", - "link": null - }, - { - "name": "attn_mask", - "type": "MASK", - "link": null - }, - { - "name": "clip_vision", - "type": "CLIP_VISION", - "link": 81 - } - ], - "outputs": [ - { - "name": "model", - "type": "BIZYAIR_MODEL", - "links": [ - 77 - ], - "shape": 3, - "slot_index": 0 + "link": 96, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAir_IPAdapterAdvanced" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - 0.6, - "linear", - "concat", - 0, - 1, - "V only" - ] + "widgets_values": [], + "shape": 1 }, { "id": 48, "type": "BizyAir_MinusZoneChatGLM3TextEncode", - "pos": [ - 875, - 1178 - ], - "size": { - "0": 406.06903076171875, - "1": 123.93048095703125 + "pos": { + "0": 1200, + "1": 810 }, + "size": [ + 427.6360227135003, + 298.8694137809987 + ], "flags": {}, - "order": 6, + "order": 8, "mode": 0, + "inputs": [], "outputs": [ { "name": "BIZYAIR_CONDITIONING", @@ -446,8 +555,9 @@ "links": [ 92 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_CONDITIONING" } ], "properties": { @@ -455,62 +565,8 @@ }, "widgets_values": [ "一只开心的狗正在跳跃" - ] - }, - { - "id": 53, - "type": "BizyAir_MinusZoneChatGLM3TextEncode", - "pos": [ - 877, - 1356 - ], - "size": { - "0": 416.0997009277344, - "1": 118.98899841308594 - }, - "flags": {}, - "order": 7, - "mode": 0, - "outputs": [ - { - "name": "BIZYAIR_CONDITIONING", - "type": "BIZYAIR_CONDITIONING", - "links": [ - 93 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" - }, - "widgets_values": [ - "花" - ] - }, - { - "id": 71, - "type": "Note", - "pos": [ - 517, - 707 - ], - "size": [ - 775.910428276944, - 64.41963966035382 - ], - "flags": {}, - "order": 8, - "mode": 0, - "properties": { - "text": "" - }, - "widgets_values": [ - "IPAdapter 可以将图片作为 Image prompt 影响出图的效果。常用于风格转换、人脸变换、构图控制等。" ], - "color": "#432", - "bgcolor": "#653" + "shape": 1 } ], "links": [ @@ -611,15 +667,112 @@ "IMAGE" ] ], - "groups": [], + "groups": [ + { + "title": "中间预览图", + "bounding": [ + 637, + 1730, + 461, + 419 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE", + "bounding": [ + 2089, + 730, + 457, + 381 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 1182, + 729, + 476, + 871 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "模型与输入图", + "bounding": [ + 285, + 731, + 896, + 871 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 1660, + 728, + 426, + 871 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 2551, + 729, + 435, + 382 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "输入图(提示词版)", + "bounding": [ + 302, + 1110, + 464, + 451 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "垫图", + "bounding": [ + 1182, + 1605, + 486, + 235 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { "scale": 0.5131581182307069, - "offset": { - "0": -53.98534358241278, - "1": -463.78672483574496 - } + "offset": [ + -181.68793451350035, + -709.3824082809989 + ] } }, "version": 0.4 diff --git a/examples/bizyair_kolors_txt2img.json b/examples/bizyair_kolors_txt2img.json index 05379770..dffa5e10 100644 --- a/examples/bizyair_kolors_txt2img.json +++ b/examples/bizyair_kolors_txt2img.json @@ -3,116 +3,222 @@ "last_link_id": 154, "nodes": [ { - "id": 85, - "type": "EmptyLatentImage", - "pos": [ - 1922, - 1585 + "id": 86, + "type": "PreviewImage", + "pos": { + "0": 2143.0849609375, + "1": 1280.9951171875 + }, + "size": { + "0": 368.9090881347656, + "1": 498.7901306152344 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 145, + "label": "images" + } ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 + }, + { + "id": 73, + "type": "BizyAir_KSampler", + "pos": { + "0": 1308.774169921875, + "1": 1282.923583984375 + }, "size": { - "0": 315, - "1": 106 + "0": 326.47442626953125, + "1": 494.9170227050781 }, "flags": {}, - "order": 0, + "order": 6, "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 125, + "label": "model" + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 152, + "label": "positive" + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 154, + "label": "negative" + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 144, + "slot_index": 3, + "label": "latent_image" + } + ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ - 144 + 130 ], - "shape": 3 + "slot_index": 0, + "shape": 3, + "label": "LATENT" } ], "properties": { - "Node name for S&R": "EmptyLatentImage" + "Node name for S&R": "BizyAir_KSampler" }, "widgets_values": [ - 768, - 1024, + 20, + "fixed", + 20, + 4.5, + "dpmpp_sde_gpu", + "karras", 1 - ] + ], + "shape": 1 }, { - "id": 70, - "type": "BizyAir_MZ_KolorsUNETLoaderV2", - "pos": [ - 1509, - 1279 - ], + "id": 76, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 1679.92822265625, + "1": 1568.1435546875 + }, "size": { - "0": 398.9453430175781, - "1": 58 + "0": 430.4276123046875, + "1": 197.4331817626953 }, "flags": {}, - "order": 1, + "order": 7, "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 130, + "label": "samples" + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 129, + "label": "vae" + } + ], "outputs": [ { - "name": "model", - "type": "BIZYAIR_MODEL", + "name": "IMAGE", + "type": "IMAGE", "links": [ - 125 + 145 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAir_MZ_KolorsUNETLoaderV2" + "Node name for S&R": "BizyAir_VAEDecode" }, - "widgets_values": [ - "kolors/Kolors.safetensors" - ] + "widgets_values": [], + "shape": 1 }, { - "id": 80, - "type": "BizyAir_MinusZoneChatGLM3TextEncode", - "pos": [ - 1512, - 1386 - ], + "id": 75, + "type": "BizyAir_VAELoader", + "pos": { + "0": 1674.92822265625, + "1": 1283.1435546875 + }, "size": { - "0": 389.34320068359375, - "1": 76 + "0": 429.57122802734375, + "1": 215.9669952392578 }, "flags": {}, - "order": 2, + "order": 0, "mode": 0, + "inputs": [], "outputs": [ { - "name": "BIZYAIR_CONDITIONING", - "type": "BIZYAIR_CONDITIONING", + "name": "vae", + "type": "BIZYAIR_VAE", "links": [ - 152 + 129 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "vae" } ], "properties": { - "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" + "Node name for S&R": "BizyAir_VAELoader" }, "widgets_values": [ - "真实的照片,20岁女生,红色外套,城市夜景" - ] + "sdxl/sdxl_vae.safetensors" + ], + "shape": 1 + }, + { + "id": 91, + "type": "Note", + "pos": { + "0": 645, + "1": 1024 + }, + "size": { + "0": 1688.4444580078125, + "1": 78.69702911376953 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" + }, + "widgets_values": [ + "Kolors 文生图示例。\n你可以在 ChatGLM3 文本节点中填写正向提示词、反向提示词。\n可以在 Empty Latent Image 里调整生成的图片大小以及数量。\n在 KSampler 里设置种子等参数。" + ], + "color": "#432", + "bgcolor": "#653" }, { "id": 81, "type": "BizyAir_MinusZoneChatGLM3TextEncode", - "pos": [ - 1509, - 1510 - ], + "pos": { + "0": 890.9641723632812, + "1": 1518.8515625 + }, "size": { - "0": 379.9140319824219, - "1": 76 + "0": 377.0544128417969, + "1": 256.75701904296875 }, "flags": {}, - "order": 3, + "order": 2, "mode": 0, + "inputs": [], "outputs": [ { "name": "BIZYAIR_CONDITIONING", @@ -120,8 +226,9 @@ "links": [ 154 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_CONDITIONING" } ], "properties": { @@ -129,189 +236,114 @@ }, "widgets_values": [ "nsfw,脸部阴影,低分辨率,jpeg伪影、模糊、糟糕,黑脸,霓虹灯" - ] + ], + "shape": 1 }, { - "id": 75, - "type": "BizyAir_VAELoader", - "pos": [ - 1516, - 1637 - ], + "id": 80, + "type": "BizyAir_MinusZoneChatGLM3TextEncode", + "pos": { + "0": 894.9641723632812, + "1": 1276.8515625 + }, "size": { - "0": 374.62469482421875, - "1": 58 + "0": 373.6344299316406, + "1": 196.2570343017578 }, "flags": {}, - "order": 4, + "order": 3, "mode": 0, + "inputs": [], "outputs": [ { - "name": "vae", - "type": "BIZYAIR_VAE", + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 129 + 152 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_VAELoader" + "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" }, "widgets_values": [ - "sdxl/sdxl_vae.safetensors" - ] + "真实的照片,20岁女生,红色外套,城市夜景" + ], + "shape": 1 }, { - "id": 73, - "type": "BizyAir_KSampler", - "pos": [ - 1925, - 1274 - ], + "id": 70, + "type": "BizyAir_MZ_KolorsUNETLoaderV2", + "pos": { + "0": 402, + "1": 1283 + }, "size": { - "0": 315, - "1": 262 + "0": 460.8042297363281, + "1": 490.1127014160156 }, "flags": {}, - "order": 6, + "order": 4, "mode": 0, - "inputs": [ + "inputs": [], + "outputs": [ { "name": "model", "type": "BIZYAIR_MODEL", - "link": 125 - }, - { - "name": "positive", - "type": "BIZYAIR_CONDITIONING", - "link": 152 - }, - { - "name": "negative", - "type": "BIZYAIR_CONDITIONING", - "link": 154 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 144, - "slot_index": 3 - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", "links": [ - 130 + 125 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "model" } ], "properties": { - "Node name for S&R": "BizyAir_KSampler" + "Node name for S&R": "BizyAir_MZ_KolorsUNETLoaderV2" }, "widgets_values": [ - 20, - "fixed", - 20, - 4.5, - "dpmpp_sde_gpu", - "karras", - 1 - ] + "kolors/Kolors.safetensors" + ], + "shape": 1 }, { - "id": 76, - "type": "BizyAir_VAEDecode", - "pos": [ - 2256, - 1282 - ], - "size": [ - 365.067931062501, - 46 - ], + "id": 85, + "type": "EmptyLatentImage", + "pos": { + "0": 900.34326171875, + "1": 1876.0048828125 + }, + "size": { + "0": 370.619140625, + "1": 119.36380767822266 + }, "flags": {}, - "order": 7, + "order": 5, "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": 130 - }, - { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 129 - } - ], + "inputs": [], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "LATENT", + "type": "LATENT", "links": [ - 145 + 144 ], "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { - "Node name for S&R": "BizyAir_VAEDecode" - } - }, - { - "id": 86, - "type": "PreviewImage", - "pos": [ - 2263, - 1366 - ], - "size": [ - 368.909100984376, - 498.7901410304694 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 145 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 91, - "type": "Note", - "pos": [ - 1518, - 1149 - ], - "size": [ - 487.48251075000076, - 79.2967855617203 - ], - "flags": {}, - "order": 5, - "mode": 0, - "properties": { - "text": "" + "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ - "Kolors 文生图示例。\n你可以在 ChatGLM3 文本节点中填写正向提示词、反向提示词。\n可以在 Empty Latent Image 里调整生成的图片大小以及数量。\n在 KSampler 里设置种子等参数。" + 1024, + 1024, + 1 ], - "color": "#432", - "bgcolor": "#653" + "shape": 1 } ], "links": [ @@ -372,15 +404,88 @@ "BIZYAIR_CONDITIONING" ] ], - "groups": [], + "groups": [ + { + "title": "垫图", + "bounding": [ + 880, + 1801, + 407, + 212 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 2121, + 1201, + 412, + 594 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 880, + 1200, + 407, + 598 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + 381, + 1201, + 499, + 597 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 1287, + 1202, + 369, + 594 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE解码器", + "bounding": [ + 1660, + 1201, + 461, + 595 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 0.683013455365071, - "offset": { - "0": -1024.060822078126, - "1": -965.1305297023464 - } + "scale": 0.6209213230591555, + "offset": [ + -537.3240125683011, + -796.4697601885002 + ] }, "workspace_info": { "id": "ckS1tBu-IMHBxD8SZ6K-k", diff --git a/examples/bizyair_remove_background_workflow.json b/examples/bizyair_remove_background_workflow.json index 0d72a1a7..6f6e1867 100644 --- a/examples/bizyair_remove_background_workflow.json +++ b/examples/bizyair_remove_background_workflow.json @@ -5,17 +5,18 @@ { "id": 33, "type": "LoadImage", - "pos": [ - 1830, - 614 - ], + "pos": { + "0": 1762, + "1": 589 + }, "size": [ - 315, - 314 + 324, + 223.33331298828125 ], "flags": {}, "order": 0, "mode": 0, + "inputs": [], "outputs": [ { "name": "IMAGE", @@ -23,14 +24,16 @@ "links": [ 49 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, - "shape": 3 + "shape": 3, + "label": "MASK" } ], "properties": { @@ -39,19 +42,48 @@ "widgets_values": [ "ComfyUI_00018_.png", "image" - ] + ], + "shape": 1 + }, + { + "id": 37, + "type": "PreviewImage", + "pos": { + "0": 2505, + "1": 591 + }, + "size": [ + 286, + 217.33331298828125 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 50, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "shape": 1 }, { "id": 36, "type": "BizyAirRemoveBackground", - "pos": [ - 2167, - 619 - ], - "size": { - "0": 210, - "1": 46 + "pos": { + "0": 2127, + "1": 592 }, + "size": [ + 336, + 217.33331298828125 + ], "flags": {}, "order": 1, "mode": 0, @@ -59,7 +91,8 @@ { "name": "image", "type": "IMAGE", - "link": 49 + "link": 49, + "label": "image" } ], "outputs": [ @@ -69,44 +102,22 @@ "links": [ 50 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, - "shape": 3 + "shape": 3, + "label": "MASK" } ], "properties": { "Node name for S&R": "BizyAirRemoveBackground" - } - }, - { - "id": 37, - "type": "PreviewImage", - "pos": [ - 2416, - 627 - ], - "size": [ - 210, - 246 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 50 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } + }, + "shape": 1 } ], "links": [ @@ -127,15 +138,52 @@ "IMAGE" ] ], - "groups": [], + "groups": [ + { + "title": "模型", + "bounding": [ + 2107, + 509, + 374, + 318 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "参考图", + "bounding": [ + 1745, + 509, + 361, + 318 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 2483, + 509, + 327, + 318 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { "scale": 1, - "offset": { - "0": -918, - "1": -317.33331298828125 - } + "offset": [ + -1568, + -276.33331298828125 + ] } }, "version": 0.4 diff --git a/examples/bizyair_sdxl_InstantID_basic.json b/examples/bizyair_sdxl_InstantID_basic.json index 90f518a8..486d62e7 100644 --- a/examples/bizyair_sdxl_InstantID_basic.json +++ b/examples/bizyair_sdxl_InstantID_basic.json @@ -1,25 +1,60 @@ { - "last_node_id": 125, + "last_node_id": 126, "last_link_id": 312, "nodes": [ + { + "id": 122, + "type": "BizyAir_LoadImageURL", + "pos": { + "0": -688.2122802734375, + "1": -1295.440673828125 + }, + "size": { + "0": 289.0152587890625, + "1": 579.897705078125 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 308, + 309 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "label": "MASK" + } + ], + "properties": { + "Node name for S&R": "BizyAir_LoadImageURL" + }, + "widgets_values": [ + "https://bizy-air.oss-cn-beijing.aliyuncs.com/examples_asset/bizyair-instantid-example.webp" + ], + "shape": 1 + }, { "id": 95, "type": "BizyAir_KSampler", "pos": { - "0": 2073, - "1": -1134, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 951.4533081054688, + "1": -1289.368408203125 }, "size": { - "0": 315, - "1": 262 + "0": 359.1701354980469, + "1": 567.1951293945312 }, "flags": {}, "order": 10, @@ -28,22 +63,26 @@ { "name": "model", "type": "BIZYAIR_MODEL", - "link": 259 + "link": 259, + "label": "model" }, { "name": "positive", "type": "BIZYAIR_CONDITIONING", - "link": 311 + "link": 311, + "label": "positive" }, { "name": "negative", "type": "BIZYAIR_CONDITIONING", - "link": 312 + "link": 312, + "label": "negative" }, { "name": "latent_image", "type": "LATENT", - "link": 262 + "link": 262, + "label": "latent_image" } ], "outputs": [ @@ -54,7 +93,8 @@ 272 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "LATENT" } ], "properties": { @@ -68,345 +108,251 @@ "ddpm", "karras", 1 - ] + ], + "shape": 1 }, { - "id": 92, - "type": "BizyAir_ControlNetLoader", + "id": 97, + "type": "PreviewImage", "pos": { - "0": 1223, - "1": -1098, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 1743.5711669921875, + "1": -1001.368896484375 }, "size": { - "0": 415.8472595214844, - "1": 58 + "0": 471.4228515625, + "1": 276.49249267578125 }, "flags": {}, - "order": 0, + "order": 12, "mode": 0, - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "CONTROL_NET", - "type": "BIZYAIR_CONTROL_NET", - "links": [ - 252 - ], - "shape": 3 + "name": "images", + "type": "IMAGE", + "link": 267, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAir_ControlNetLoader" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "instantid/diffusion_pytorch_model.safetensors" - ] + "widgets_values": [], + "shape": 1 }, { - "id": 122, - "type": "BizyAir_LoadImageURL", + "id": 123, + "type": "PreviewImage", "pos": { - "0": 1232, - "1": -1246, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 1742.5712890625, + "1": -1290.368896484375 }, "size": { - "0": 398.8588562011719, - "1": 96 + "0": 469.4228515625, + "1": 246 }, "flags": {}, - "order": 1, + "order": 6, "mode": 0, - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "IMAGE", + "name": "images", "type": "IMAGE", - "links": [ - 308, - 309 - ], - "slot_index": 0, - "shape": 3 - }, - { - "name": "MASK", - "type": "MASK", - "links": null, - "shape": 3 + "link": 309, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAir_LoadImageURL" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "https://bizy-air.oss-cn-beijing.aliyuncs.com/examples_asset/bizyair-instantid-example.webp" - ] + "widgets_values": [], + "shape": 1 }, { - "id": 91, - "type": "BizyAir_ApplyInstantID", + "id": 93, + "type": "BizyAir_CLIPTextEncode", "pos": { - "0": 1716, - "1": -1252, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 161.9123992919922, + "1": -958.3693237304688 }, "size": { - "0": 326.1368408203125, - "1": 266 + "0": 352.18365478515625, + "1": 238.0712890625 }, "flags": {}, - "order": 9, + "order": 7, "mode": 0, "inputs": [ { - "name": "instantid", - "type": "BIZYAIR_INSTANTID", - "link": 250 - }, - { - "name": "insightface", - "type": "BIZYAIR_FACEANALYSIS", - "link": 251 - }, - { - "name": "control_net", - "type": "BIZYAIR_CONTROL_NET", - "link": 252 - }, - { - "name": "image", - "type": "IMAGE", - "link": 308 - }, - { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 253 - }, - { - "name": "positive", - "type": "BIZYAIR_CONDITIONING", - "link": 257 - }, - { - "name": "negative", - "type": "BIZYAIR_CONDITIONING", - "link": 258 - }, - { - "name": "image_kps", - "type": "IMAGE", - "link": null - }, - { - "name": "mask", - "type": "MASK", - "link": null + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 255, + "label": "clip" } ], "outputs": [ { - "name": "MODEL", - "type": "BIZYAIR_MODEL", - "links": [ - 259 - ], - "slot_index": 0, - "shape": 3 - }, - { - "name": "positive", - "type": "BIZYAIR_CONDITIONING", - "links": [ - 311 - ], - "slot_index": 1, - "shape": 3 - }, - { - "name": "negative", + "name": "CONDITIONING", "type": "BIZYAIR_CONDITIONING", "links": [ - 312 + 257 ], - "slot_index": 2, - "shape": 3 + "slot_index": 0, + "shape": 3, + "label": "CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_ApplyInstantID" + "Node name for S&R": "BizyAir_CLIPTextEncode" }, "widgets_values": [ - 0.8, - 0, - 1 - ] + "comic character. graphic illustration, comic art, graphic novel art, vibrant, highly detailed" + ], + "shape": 1 }, { - "id": 83, - "type": "BizyAir_InstantIDModelLoader", + "id": 92, + "type": "BizyAir_ControlNetLoader", "pos": { - "0": 1722, - "1": -928, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": -355, + "1": -1287 }, "size": { - "0": 318.3161926269531, - "1": 58 + "0": 466.72210693359375, + "1": 238.01937866210938 }, "flags": {}, - "order": 2, + "order": 1, "mode": 0, "inputs": [], "outputs": [ { - "name": "BIZYAIR_INSTANTID", - "type": "BIZYAIR_INSTANTID", + "name": "CONTROL_NET", + "type": "BIZYAIR_CONTROL_NET", "links": [ - 250 + 252 ], - "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "CONTROL_NET" } ], "properties": { - "Node name for S&R": "BizyAir_InstantIDModelLoader" + "Node name for S&R": "BizyAir_ControlNetLoader" }, "widgets_values": [ - "ip-adapter.bin" - ] + "instantid/diffusion_pytorch_model.safetensors" + ], + "shape": 1 }, { - "id": 96, - "type": "BizyAir_VAEDecode", + "id": 90, + "type": "BizyAir_CheckpointLoaderSimple", "pos": { - "0": 2084, - "1": -1243, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": -356, + "1": -974 }, "size": { - "0": 296.0434265136719, - "1": 46 + "0": 488.2195129394531, + "1": 254.44187927246094 }, "flags": {}, - "order": 11, + "order": 2, "mode": 0, - "inputs": [ + "inputs": [], + "outputs": [ { - "name": "samples", - "type": "LATENT", - "link": 272 + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 253 + ], + "slot_index": 0, + "shape": 3, + "label": "model" + }, + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "links": [ + 255, + 256 + ], + "slot_index": 1, + "shape": 3, + "label": "clip" }, { "name": "vae", "type": "BIZYAIR_VAE", - "link": 266 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", "links": [ - 267 + 266 ], - "slot_index": 0, - "shape": 3 + "slot_index": 2, + "shape": 3, + "label": "vae" } ], "properties": { - "Node name for S&R": "BizyAir_VAEDecode" - } + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" + }, + "widgets_values": [ + "sdxl/samaritan3dCartoon_v40SDXL.safetensors" + ], + "shape": 1 }, { - "id": 123, - "type": "PreviewImage", + "id": 94, + "type": "BizyAir_CLIPTextEncode", "pos": { - "0": 2459, - "1": -1252, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 164.04673767089844, + "1": -1291.636474609375 }, "size": { - "0": 559.7613525390625, - "1": 560.9844360351562 + "0": 348.83233642578125, + "1": 294.600341796875 }, "flags": {}, - "order": 6, + "order": 8, "mode": 0, "inputs": [ { - "name": "images", - "type": "IMAGE", - "link": 309 + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 256, + "label": "clip" + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 258 + ], + "slot_index": 0, + "shape": 3, + "label": "CONDITIONING" } ], - "outputs": [], "properties": { - "Node name for S&R": "PreviewImage" - } + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "photograph, deformed, glitch, noisy, realistic, stock photo" + ], + "shape": 1 }, { "id": 85, "type": "BizyAir_InstantIDFaceAnalysis", "pos": { - "0": 1725, - "1": -768, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 542, + "1": -805 }, "size": { - "0": 323.09515380859375, - "1": 64.16976928710938 + "0": 379.4406433105469, + "1": 71.97943878173828 }, "flags": {}, "order": 3, @@ -420,7 +366,8 @@ 251 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "BIZYAIR_FACEANALYSIS" } ], "properties": { @@ -428,196 +375,214 @@ }, "widgets_values": [ "CUDA" - ] + ], + "shape": 1 }, { - "id": 94, - "type": "BizyAir_CLIPTextEncode", + "id": 83, + "type": "BizyAir_InstantIDModelLoader", "pos": { - "0": 1238, - "1": -785, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 540, + "1": -946 }, "size": { - "0": 417.4436340332031, - "1": 76 + "0": 376.38671875, + "1": 70.06453704833984 }, "flags": {}, - "order": 8, + "order": 4, "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 256 - } - ], + "inputs": [], "outputs": [ { - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", + "name": "BIZYAIR_INSTANTID", + "type": "BIZYAIR_INSTANTID", "links": [ - 258 + 250 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "BIZYAIR_INSTANTID" } ], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" + "Node name for S&R": "BizyAir_InstantIDModelLoader" }, "widgets_values": [ - "photograph, deformed, glitch, noisy, realistic, stock photo" - ] + "ip-adapter.bin" + ], + "shape": 1 }, { - "id": 93, - "type": "BizyAir_CLIPTextEncode", + "id": 91, + "type": "BizyAir_ApplyInstantID", "pos": { - "0": 1232, - "1": -951, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 537, + "1": -1284 }, "size": { - "0": 415.1671447753906, - "1": 85.4674301147461 + "0": 374.035400390625, + "1": 275.5548400878906 }, "flags": {}, - "order": 7, + "order": 9, "mode": 0, "inputs": [ { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 255 + "name": "instantid", + "type": "BIZYAIR_INSTANTID", + "link": 250, + "label": "instantid" + }, + { + "name": "insightface", + "type": "BIZYAIR_FACEANALYSIS", + "link": 251, + "label": "insightface" + }, + { + "name": "control_net", + "type": "BIZYAIR_CONTROL_NET", + "link": 252, + "label": "control_net" + }, + { + "name": "image", + "type": "IMAGE", + "link": 308, + "label": "image" + }, + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 253, + "label": "model" + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 257, + "label": "positive" + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 258, + "label": "negative" + }, + { + "name": "image_kps", + "type": "IMAGE", + "link": null, + "label": "image_kps", + "shape": 7 + }, + { + "name": "mask", + "type": "MASK", + "link": null, + "label": "mask", + "shape": 7 } ], "outputs": [ { - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", + "name": "MODEL", + "type": "BIZYAIR_MODEL", "links": [ - 257 + 259 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "MODEL" + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 311 + ], + "slot_index": 1, + "shape": 3, + "label": "positive" + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 312 + ], + "slot_index": 2, + "shape": 3, + "label": "negative" } ], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" + "Node name for S&R": "BizyAir_ApplyInstantID" }, "widgets_values": [ - "comic character. graphic illustration, comic art, graphic novel art, vibrant, highly detailed" - ] + 0.8, + 0, + 1 + ], + "shape": 1 }, { - "id": 97, - "type": "PreviewImage", + "id": 96, + "type": "BizyAir_VAEDecode", "pos": { - "0": 3040, - "1": -1255, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 1354, + "1": -1291 }, "size": { - "0": 534.6394653320312, - "1": 565.498291015625 + "0": 351.8055114746094, + "1": 563.3419799804688 }, "flags": {}, - "order": 12, + "order": 11, "mode": 0, "inputs": [ { - "name": "images", - "type": "IMAGE", - "link": 267 + "name": "samples", + "type": "LATENT", + "link": 272, + "label": "samples" + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 266, + "label": "vae" } ], - "outputs": [], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 5, - "type": "EmptyLatentImage", - "pos": { - "0": 2075, - "1": -803, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 315, - "1": 106 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [], "outputs": [ { - "name": "LATENT", - "type": "LATENT", + "name": "IMAGE", + "type": "IMAGE", "links": [ - 262 + 267 ], - "slot_index": 0 + "slot_index": 0, + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "EmptyLatentImage" + "Node name for S&R": "BizyAir_VAEDecode" }, - "widgets_values": [ - 1016, - 1016, - 1 - ] + "widgets_values": [], + "shape": 1 }, { - "id": 90, - "type": "BizyAir_CheckpointLoaderSimple", + "id": 5, + "type": "EmptyLatentImage", "pos": { - "0": 809, - "1": -1258, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 467.71759033203125, + "1": -493.7902526855469 }, "size": { - "0": 343.9351806640625, - "1": 98 + "0": 432.20556640625, + "1": 186.78692626953125 }, "flags": {}, "order": 5, @@ -625,40 +590,24 @@ "inputs": [], "outputs": [ { - "name": "model", - "type": "BIZYAIR_MODEL", + "name": "LATENT", + "type": "LATENT", "links": [ - 253 + 262 ], "slot_index": 0, - "shape": 3 - }, - { - "name": "clip", - "type": "BIZYAIR_CLIP", - "links": [ - 255, - 256 - ], - "slot_index": 1, - "shape": 3 - }, - { - "name": "vae", - "type": "BIZYAIR_VAE", - "links": [ - 266 - ], - "slot_index": 2, - "shape": 3 + "label": "LATENT" } ], "properties": { - "Node name for S&R": "BizyAir_CheckpointLoaderSimple" + "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ - "sdxl/samaritan3dCartoon_v40SDXL.safetensors" - ] + 1024, + 1024, + 1 + ], + "shape": 1 } ], "links": [ @@ -799,14 +748,111 @@ "BIZYAIR_CONDITIONING" ] ], - "groups": [], + "groups": [ + { + "title": "垫图", + "bounding": [ + 458, + -581, + 455, + 313 + ], + "color": "#b06634", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 1722, + -1377, + 514, + 675 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 925, + -1378, + 409, + 675 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "参考图", + "bounding": [ + -710, + -1378, + 325, + 677 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "脸部一致性模型", + "bounding": [ + 530, + -1378, + 394, + 675 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + -384, + -1377, + 528, + 676 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE", + "bounding": [ + 1336, + -1378, + 383, + 674 + ], + "color": "#A88", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 146, + -1377, + 380, + 675 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 1.7449402268886804, + "scale": 0.6830134553650713, "offset": [ - -698.7654009040159, - 1431.2066920107438 + 123.05559928115872, + 1470.1543403999835 ] } }, diff --git a/examples/bizyair_showcase_interior_design.json b/examples/bizyair_showcase_interior_design.json index a4e2341d..f8df35a9 100644 --- a/examples/bizyair_showcase_interior_design.json +++ b/examples/bizyair_showcase_interior_design.json @@ -2,16 +2,87 @@ "last_node_id": 74, "last_link_id": 81, "nodes": [ + { + "id": 63, + "type": "BizyAirGenerateLightningImage", + "pos": { + "0": -16.400287628173828, + "1": 700.99951171875 + }, + "size": { + "0": 390.3213195800781, + "1": 601.9373779296875 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 74, + 75 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" + } + ], + "properties": { + "Node name for S&R": "BizyAirGenerateLightningImage" + }, + "widgets_values": [ + "a living room", + 493871336398282, + "fixed", + 1024, + 1024, + 1.5, + 1 + ], + "shape": 1 + }, + { + "id": 72, + "type": "PreviewImage", + "pos": { + "0": 415, + "1": 910 + }, + "size": [ + 400.96757000000025, + 380.63805999999977 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 80, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 + }, { "id": 67, "type": "BizyAirCannyEdgePreprocessor", - "pos": [ - 420, - 640 - ], + "pos": { + "0": 414, + "1": 723 + }, "size": { - "0": 390.9926452636719, - "1": 106 + "0": 395.78131103515625, + "1": 117.03739929199219 }, "flags": {}, "order": 3, @@ -20,7 +91,8 @@ { "name": "image", "type": "IMAGE", - "link": 75 + "link": 75, + "label": "image" } ], "outputs": [ @@ -31,30 +103,32 @@ 77, 80 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { "Node name for S&R": "BizyAirCannyEdgePreprocessor" }, "widgets_values": [ - 100, + 96, 200, 512 - ] + ], + "shape": 1 }, { "id": 69, "type": "StableDiffusionXLControlNetUnionPipeline", - "pos": [ - 840, - 590 - ], - "size": { - "0": 576.3480834960938, - "1": 414 + "pos": { + "0": 862, + "1": 708 }, + "size": [ + 416.18394000000035, + 574.5855099999999 + ], "flags": {}, "order": 4, "mode": 0, @@ -62,32 +136,44 @@ { "name": "openpose_image", "type": "IMAGE", - "link": null + "link": null, + "label": "openpose_image", + "shape": 7 }, { "name": "depth_image", "type": "IMAGE", - "link": null + "link": null, + "label": "depth_image", + "shape": 7 }, { "name": "hed_pidi_scribble_ted_image", "type": "IMAGE", - "link": null + "link": null, + "label": "hed_pidi_scribble_ted_image", + "shape": 7 }, { "name": "canny_lineart_anime_lineart_mlsd_image", "type": "IMAGE", - "link": 77 + "link": 77, + "label": "canny_lineart_anime_lineart_mlsd_image", + "shape": 7 }, { "name": "normal_image", "type": "IMAGE", - "link": null + "link": null, + "label": "normal_image", + "shape": 7 }, { "name": "segment_image", "type": "IMAGE", - "link": null + "link": null, + "label": "segment_image", + "shape": 7 } ], "outputs": [ @@ -97,8 +183,9 @@ "links": [ 81 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { @@ -114,62 +201,54 @@ "watermark, text", 0, 0.5 - ] + ], + "shape": 1 }, { - "id": 63, - "type": "BizyAirGenerateLightningImage", - "pos": [ - 410, - 810 - ], - "size": { - "0": 393.21099853515625, - "1": 220 + "id": 73, + "type": "PreviewImage", + "pos": { + "0": 1334.779052734375, + "1": 714 }, + "size": [ + 360.9165400000004, + 570.1960199999999 + ], "flags": {}, - "order": 0, + "order": 6, "mode": 0, - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "IMAGE", + "name": "images", "type": "IMAGE", - "links": [ - 74, - 75 - ], - "shape": 3, - "slot_index": 0 + "link": 81, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAirGenerateLightningImage" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "a living room", - 493871336398282, - "fixed", - 1024, - 1024, - 1.5, - 1 - ] + "widgets_values": [], + "shape": 1 }, { "id": 74, "type": "Note", - "pos": [ - 430, - 1080 - ], + "pos": { + "0": 721, + "1": 395 + }, "size": { - "0": 377.661376953125, - "1": 264.20611572265625 + "0": 1202.641357421875, + "1": 148.23739624023438 }, "flags": {}, "order": 1, "mode": 0, + "inputs": [], + "outputs": [], "properties": { "text": "" }, @@ -182,77 +261,31 @@ { "id": 66, "type": "PreviewImage", - "pos": [ - 840, - 1040 - ], - "size": { - "0": 319.8609924316406, - "1": 342.8357849121094 + "pos": { + "0": 276, + "1": 346 }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 74 - } + "size": [ + 300.5491943359375, + 246 ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 72, - "type": "PreviewImage", - "pos": [ - 1170, - 1040 - ], - "size": { - "0": 319.8609924316406, - "1": 342.8357849121094 - }, "flags": {}, - "order": 5, + "order": 2, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 80 + "link": 74, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" - } - }, - { - "id": 73, - "type": "PreviewImage", - "pos": [ - 1511, - 1041 - ], - "size": { - "0": 319.8609924316406, - "1": 342.8357849121094 }, - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 81 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } + "widgets_values": [], + "shape": 1 } ], "links": [ @@ -297,15 +330,76 @@ "IMAGE" ] ], - "groups": [], + "groups": [ + { + "title": "预览图", + "bounding": [ + 1304, + 623, + 414, + 697 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "边缘检测模型", + "bounding": [ + 398, + 622, + 436, + 700 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + -37, + 622, + 433, + 699 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + 835, + 622, + 467, + 699 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "中间预览图", + "bounding": [ + 233, + 271, + 393, + 332 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 0.9090909090909114, - "offset": { - "0": 351.868691104778, - "1": -335.9473992739569 - } + "scale": 0.620921323059155, + "offset": [ + 237.30596999999975, + -105.30269999999958 + ] } }, "version": 0.4 diff --git a/examples/bizyair_showcase_ksampler_controlnet.json b/examples/bizyair_showcase_ksampler_controlnet.json index 0cde9363..460d453e 100644 --- a/examples/bizyair_showcase_ksampler_controlnet.json +++ b/examples/bizyair_showcase_ksampler_controlnet.json @@ -3,184 +3,114 @@ "last_link_id": 80, "nodes": [ { - "id": 32, - "type": "BizyAir_CLIPTextEncode", - "pos": [ - 1170, - -448 - ], + "id": 27, + "type": "BizyAir_KSampler", + "pos": { + "0": 1804.511962890625, + "1": -735.066650390625 + }, "size": { - "0": 388.74163818359375, - "1": 76 + "0": 328.00860595703125, + "1": 643.0760498046875 }, "flags": {}, - "order": 6, + "order": 8, "mode": 0, "inputs": [ { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 80, - "slot_index": 0 - } - ], - "outputs": [ + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 78, + "label": "model" + }, { - "name": "CONDITIONING", + "name": "positive", "type": "BIZYAIR_CONDITIONING", - "links": [ - 41 - ], - "shape": 3 + "link": 74, + "slot_index": 1, + "label": "positive" + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 41, + "slot_index": 2, + "label": "negative" + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 65, + "slot_index": 3, + "label": "latent_image" } ], - "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" - }, - "widgets_values": [ - "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed" - ] - }, - { - "id": 33, - "type": "EmptyLatentImage", - "pos": [ - 1178, - -322 - ], - "size": { - "0": 379.7643737792969, - "1": 106 - }, - "flags": {}, - "order": 0, - "mode": 0, "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ - 65 + 45 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { - "Node name for S&R": "EmptyLatentImage" + "Node name for S&R": "BizyAir_KSampler" }, "widgets_values": [ - 1024, - 1024, + 1, + "fixed", + 20, + 8, + "euler", + "normal", 1 - ] - }, - { - "id": 34, - "type": "BizyAir_VAEDecode", - "pos": [ - 1182, - -172 - ], - "size": { - "0": 373.3127746582031, - "1": 46 - }, - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": 45 - }, - { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 44 - } ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 46 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "BizyAir_VAEDecode" - } + "shape": 1 }, { - "id": 50, - "type": "BizyAir_ControlNetApply", - "pos": [ - 1581, - -226 - ], + "id": 53, + "type": "Note", + "pos": { + "0": 255, + "1": -1199 + }, "size": { - "0": 302.2201843261719, - "1": 98 + "0": 1984.5662841796875, + "1": 152.79811096191406 }, "flags": {}, - "order": 7, + "order": 0, "mode": 0, - "inputs": [ - { - "name": "conditioning", - "type": "BIZYAIR_CONDITIONING", - "link": 73, - "slot_index": 0 - }, - { - "name": "control_net", - "type": "BIZYAIR_CONTROL_NET", - "link": 72 - }, - { - "name": "image", - "type": "IMAGE", - "link": 75, - "slot_index": 2 - } - ], - "outputs": [ - { - "name": "CONTROL_NET", - "type": "BIZYAIR_CONDITIONING", - "links": [ - 74 - ], - "shape": 3, - "slot_index": 0 - } - ], + "inputs": [], + "outputs": [], "properties": { - "Node name for S&R": "BizyAir_ControlNetApply" + "text": "" }, "widgets_values": [ - 1 - ] + "ControlNet 工作流示例。\n\nBizyAir Load ControlNet Model 节点,可以用于加载 ControlNet。BizyAir Apply ContolNet 模型,可以将 ControlNet 应用到控制条件上。使得最终生成的图片,与参考图片有一定的一致性。" + ], + "color": "#432", + "bgcolor": "#653" }, { "id": 51, "type": "LoadImage", - "pos": [ - 1906, - -535 - ], + "pos": { + "0": 12, + "1": -738 + }, "size": { - "0": 231.78855895996094, - "1": 399.8204040527344 + "0": 296.5235900878906, + "1": 648.4070434570312 }, "flags": {}, "order": 1, "mode": 0, + "inputs": [], "outputs": [ { "name": "IMAGE", @@ -188,13 +118,15 @@ "links": [ 75 ], - "shape": 3 + "shape": 3, + "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, - "shape": 3 + "shape": 3, + "label": "MASK" } ], "properties": { @@ -203,22 +135,53 @@ "widgets_values": [ "example.png", "image" - ] + ], + "shape": 1 + }, + { + "id": 35, + "type": "PreviewImage", + "pos": { + "0": 2546.86767578125, + "1": -740.98876953125 + }, + "size": { + "0": 379.95660400390625, + "1": 651.4000244140625 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 46, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 }, { "id": 28, "type": "BizyAir_CheckpointLoaderSimple", - "pos": [ - 762, - -546 - ], - "size": { - "0": 393.10528564453125, - "1": 98 + "pos": { + "0": 350, + "1": -737 }, + "size": [ + 429.2432274555074, + 639.8076921882209 + ], "flags": {}, "order": 2, "mode": 0, + "inputs": [], "outputs": [ { "name": "model", @@ -226,7 +189,8 @@ "links": [ 78 ], - "shape": 3 + "shape": 3, + "label": "model" }, { "name": "clip", @@ -235,8 +199,9 @@ 79, 80 ], + "slot_index": 1, "shape": 3, - "slot_index": 1 + "label": "clip" }, { "name": "vae", @@ -244,8 +209,9 @@ "links": [ 44 ], + "slot_index": 2, "shape": 3, - "slot_index": 2 + "label": "vae" } ], "properties": { @@ -253,146 +219,199 @@ }, "widgets_values": [ "sdxl/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors" - ] + ], + "shape": 1 }, { - "id": 49, - "type": "BizyAir_ControlNetLoader", - "pos": [ - 761, - -397 - ], + "id": 31, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": 831, + "1": -736 + }, "size": { - "0": 386.44049072265625, - "1": 58 + "0": 361.652587890625, + "1": 296.0230407714844 }, "flags": {}, - "order": 3, + "order": 5, "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 79, + "slot_index": 0, + "label": "clip" + } + ], "outputs": [ { - "name": "CONTROL_NET", - "type": "BIZYAIR_CONTROL_NET", + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 72 + 73 ], "shape": 3, - "slot_index": 0 + "label": "CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_ControlNetLoader" + "Node name for S&R": "BizyAir_CLIPTextEncode" }, "widgets_values": [ - "sdxl/diffusion_pytorch_model_promax.safetensors" - ] + "A futuristic spaceship soaring through a star-filled galaxy with intricate details and advanced technology, reflecting a vibrant blend of sci-fi" + ], + "shape": 1 }, { - "id": 27, - "type": "BizyAir_KSampler", - "pos": [ - 1577, - -541 - ], + "id": 32, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": 839, + "1": -388 + }, "size": { - "0": 315, - "1": 262 + "0": 356.98358154296875, + "1": 300.0760192871094 }, "flags": {}, - "order": 8, + "order": 6, "mode": 0, "inputs": [ { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 78 - }, - { - "name": "positive", - "type": "BIZYAIR_CONDITIONING", - "link": 74, - "slot_index": 1 - }, + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 80, + "slot_index": 0, + "label": "clip" + } + ], + "outputs": [ { - "name": "negative", + "name": "CONDITIONING", "type": "BIZYAIR_CONDITIONING", - "link": 41, - "slot_index": 2 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 65, - "slot_index": 3 + "links": [ + 41 + ], + "shape": 3, + "label": "CONDITIONING" } ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed" + ], + "shape": 1 + }, + { + "id": 33, + "type": "EmptyLatentImage", + "pos": { + "0": 1223, + "1": -352 + }, + "size": [ + 545.974827455507, + 254.8076921882216 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ - 45 + 65 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { - "Node name for S&R": "BizyAir_KSampler" + "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ - 1, - "fixed", - 20, - 8, - "euler", - "normal", + 1024, + 1024, 1 - ] + ], + "shape": 1 }, { - "id": 53, - "type": "Note", - "pos": [ - 752, - -283 - ], - "size": { - "0": 391.2381591796875, - "1": 150.12355041503906 + "id": 49, + "type": "BizyAir_ControlNetLoader", + "pos": { + "0": 1229.92822265625, + "1": -731 }, + "size": [ + 260.3999938964844, + 279.49549218822176 + ], "flags": {}, "order": 4, "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "BIZYAIR_CONTROL_NET", + "links": [ + 72 + ], + "slot_index": 0, + "shape": 3, + "label": "CONTROL_NET" + } + ], "properties": { - "text": "" + "Node name for S&R": "BizyAir_ControlNetLoader" }, "widgets_values": [ - "ControlNet 工作流示例。\n\nBizyAir Load ControlNet Model 节点,可以用于加载 ControlNet。BizyAir Apply ContolNet 模型,可以将 ControlNet 应用到控制条件上。使得最终生成的图片,与参考图片有一定的一致性。" + "sdxl/diffusion_pytorch_model_promax.safetensors" ], - "color": "#432", - "bgcolor": "#653" + "shape": 1 }, { - "id": 31, - "type": "BizyAir_CLIPTextEncode", - "pos": [ - 1170, - -551 - ], - "size": { - "0": 388.9184875488281, - "1": 96 + "id": 50, + "type": "BizyAir_ControlNetApply", + "pos": { + "0": 1504.92822265625, + "1": -738 }, + "size": [ + 269.367127455507, + 282.5672921882217 + ], "flags": {}, - "order": 5, + "order": 7, "mode": 0, "inputs": [ { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 79, - "slot_index": 0 + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 73, + "slot_index": 0, + "label": "conditioning" + }, + { + "name": "control_net", + "type": "BIZYAIR_CONTROL_NET", + "link": 72, + "label": "control_net" + }, + { + "name": "image", + "type": "IMAGE", + "link": 75, + "slot_index": 2, + "label": "image" } ], "outputs": [ @@ -400,42 +419,66 @@ "name": "CONDITIONING", "type": "BIZYAIR_CONDITIONING", "links": [ - 73 + 74 ], - "shape": 3 + "slot_index": 0, + "shape": 3, + "label": "CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" + "Node name for S&R": "BizyAir_ControlNetApply" }, "widgets_values": [ - "A futuristic spaceship soaring through a star-filled galaxy with intricate details and advanced technology, reflecting a vibrant blend of sci-fi" - ] + 1 + ], + "shape": 1 }, { - "id": 35, - "type": "PreviewImage", - "pos": [ - 2163, - -529 - ], + "id": 34, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 2164, + "1": -735 + }, "size": [ - 359.1744333383176, - 393.1894518069802 + 338.48892745550665, + 640.7358921882219 ], "flags": {}, - "order": 10, + "order": 9, "mode": 0, "inputs": [ { - "name": "images", + "name": "samples", + "type": "LATENT", + "link": 45, + "label": "samples" + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 44, + "label": "vae" + } + ], + "outputs": [ + { + "name": "IMAGE", "type": "IMAGE", - "link": 46 + "links": [ + 46 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "PreviewImage" - } + "Node name for S&R": "BizyAir_VAEDecode" + }, + "widgets_values": [], + "shape": 1 } ], "links": [ @@ -536,15 +579,112 @@ "BIZYAIR_CLIP" ] ], - "groups": [], + "groups": [ + { + "title": "预览图", + "bounding": [ + 2524, + -815, + 405, + 739 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 811, + -816, + 398, + 741 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + 330, + -817, + 477, + 741 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "参考图", + "bounding": [ + -4, + -817, + 331, + 742 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 1788, + -815, + 361, + 742 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE", + "bounding": [ + 2150, + -815, + 372, + 740 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "垫图", + "bounding": [ + 1212, + -430, + 575, + 355 + ], + "color": "#b06634", + "font_size": 24, + "flags": {} + }, + { + "title": "ControlNet", + "bounding": [ + 1211, + -816, + 578, + 382 + ], + "color": "#A88", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 1.1, - "offset": { - "0": -465.0579560655903, - "1": 817.9483322839294 - } + "scale": 0.683013455365071, + "offset": [ + -55.9778274555082, + 961.011307811778 + ] } }, "version": 0.4 diff --git a/examples/bizyair_showcase_ksampler_img2img.json b/examples/bizyair_showcase_ksampler_img2img.json index 9e7c9d53..4cecd770 100644 --- a/examples/bizyair_showcase_ksampler_img2img.json +++ b/examples/bizyair_showcase_ksampler_img2img.json @@ -5,17 +5,18 @@ { "id": 51, "type": "LoadImage", - "pos": [ - 690, - -277 - ], - "size": [ - 210, - 300.9166317479702 - ], + "pos": { + "0": 80.39998626708984, + "1": -372.39996337890625 + }, + "size": { + "0": 210, + "1": 314 + }, "flags": {}, "order": 0, "mode": 0, + "inputs": [], "outputs": [ { "name": "IMAGE", @@ -23,14 +24,16 @@ "links": [ 78 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, - "shape": 3 + "shape": 3, + "label": "MASK" } ], "properties": { @@ -39,22 +42,133 @@ "widgets_values": [ "example.png", "image" - ] + ], + "shape": 1 + }, + { + "id": 32, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": 644.00048828125, + "1": -203.99990844726562 + }, + "size": { + "0": 380.0406188964844, + "1": 144.2179412841797 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 82, + "slot_index": 0, + "label": "clip" + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 41 + ], + "shape": 3, + "label": "CONDITIONING" + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed" + ], + "shape": 1 + }, + { + "id": 31, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": 645.00048828125, + "1": -365.9998779296875 + }, + "size": { + "0": 381.0406188964844, + "1": 113.21794891357422 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 83, + "slot_index": 0, + "label": "clip" + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 77 + ], + "shape": 3, + "label": "CONDITIONING" + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "a happy girl with wings, high quality, detailed, diffuse light" + ], + "shape": 1 + }, + { + "id": 53, + "type": "Note", + "pos": { + "0": 229, + "1": -523 + }, + "size": { + "0": 1511.1678466796875, + "1": 58 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" + }, + "widgets_values": [ + "本 workflow 展示了最基础的一种图生图的方法。\n\n1. 加载图片,使用 BizyAir 的 VAE Encode 节点将图片转为 Latent。作为垫图。\n\n2. 将上一步得到的 Latent 作为输入,传递给 BizyAir Ksampler\n\n结合正向、反向提示词,可以得到与垫图相关的输出图像。" + ], + "color": "#432", + "bgcolor": "#653" }, { "id": 28, "type": "BizyAir_CheckpointLoaderSimple", - "pos": [ - 681, - -421 - ], + "pos": { + "0": 328.39984130859375, + "1": -369.2001647949219 + }, "size": [ - 479.95260721065824, - 98 + 285.59818349492457, + 307.8978213726691 ], "flags": {}, - "order": 1, + "order": 2, "mode": 0, + "inputs": [], "outputs": [ { "name": "model", @@ -62,7 +176,8 @@ "links": [ 81 ], - "shape": 3 + "shape": 3, + "label": "model" }, { "name": "clip", @@ -71,8 +186,9 @@ 82, 83 ], + "slot_index": 1, "shape": 3, - "slot_index": 1 + "label": "clip" }, { "name": "vae", @@ -81,8 +197,9 @@ 44, 80 ], + "slot_index": 2, "shape": 3, - "slot_index": 2 + "label": "vae" } ], "properties": { @@ -90,44 +207,20 @@ }, "widgets_values": [ "sdxl/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors" - ] - }, - { - "id": 35, - "type": "PreviewImage", - "pos": [ - 1586, - -417 - ], - "size": [ - 402.00619708669115, - 426.6130418719372 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 46 - } ], - "properties": { - "Node name for S&R": "PreviewImage" - } + "shape": 1 }, { "id": 27, "type": "BizyAir_KSampler", - "pos": [ - 923, - -269 - ], - "size": [ - 225.13662064041046, - 281.78969476449913 - ], + "pos": { + "0": 1565.251708984375, + "1": -348.99993896484375 + }, + "size": { + "0": 239.04061889648438, + "1": 320.21795654296875 + }, "flags": {}, "order": 6, "mode": 0, @@ -135,25 +228,29 @@ { "name": "model", "type": "BIZYAIR_MODEL", - "link": 81 + "link": 81, + "label": "model" }, { "name": "positive", "type": "BIZYAIR_CONDITIONING", "link": 77, - "slot_index": 1 + "slot_index": 1, + "label": "positive" }, { "name": "negative", "type": "BIZYAIR_CONDITIONING", "link": 41, - "slot_index": 2 + "slot_index": 2, + "label": "negative" }, { "name": "latent_image", "type": "LATENT", "link": 79, - "slot_index": 3 + "slot_index": 3, + "label": "latent_image" } ], "outputs": [ @@ -163,8 +260,9 @@ "links": [ 45 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { @@ -178,19 +276,49 @@ "euler", "normal", 0.8 - ] + ], + "shape": 1 + }, + { + "id": 35, + "type": "PreviewImage", + "pos": { + "0": 2247.7998046875, + "1": -397.60015869140625 + }, + "size": { + "0": 213.16781616210938, + "1": 316.26556396484375 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 46, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 }, { "id": 34, "type": "BizyAir_VAEDecode", - "pos": [ - 1182, - -39 - ], - "size": [ - 373.98708551644336, - 46 - ], + "pos": { + "0": 1919, + "1": -246 + }, + "size": { + "0": 289.0406188964844, + "1": 61.21794891357422 + }, "flags": {}, "order": 7, "mode": 0, @@ -198,12 +326,14 @@ { "name": "samples", "type": "LATENT", - "link": 45 + "link": 45, + "label": "samples" }, { "name": "vae", "type": "BIZYAIR_VAE", - "link": 44 + "link": 44, + "label": "vae" } ], "outputs": [ @@ -213,25 +343,28 @@ "links": [ 46 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { "Node name for S&R": "BizyAir_VAEDecode" - } + }, + "widgets_values": [], + "shape": 1 }, { "id": 52, "type": "BizyAir_VAEEncode", - "pos": [ - 1190, - -153 - ], - "size": [ - 370.02492126024504, - 51.0624220372265 - ], + "pos": { + "0": 1143, + "1": -100 + }, + "size": { + "0": 291.0406188964844, + "1": 46 + }, "flags": {}, "order": 5, "mode": 0, @@ -239,12 +372,14 @@ { "name": "pixels", "type": "IMAGE", - "link": 78 + "link": 78, + "label": "pixels" }, { "name": "vae", "type": "BIZYAIR_VAE", - "link": 80 + "link": 80, + "label": "vae" } ], "outputs": [ @@ -254,114 +389,16 @@ "links": [ 79 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { "Node name for S&R": "BizyAir_VAEEncode" - } - }, - { - "id": 32, - "type": "BizyAir_CLIPTextEncode", - "pos": [ - 1181, - -284 - ], - "size": [ - 384.08845431809596, - 76 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 82, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", - "links": [ - 41 - ], - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" - }, - "widgets_values": [ - "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed" - ] - }, - { - "id": 31, - "type": "BizyAir_CLIPTextEncode", - "pos": [ - 1174, - -418 - ], - "size": [ - 395.36996258255886, - 79.17257183061503 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 83, - "slot_index": 0 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", - "links": [ - 77 - ], - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" - }, - "widgets_values": [ - "a happy girl with wings, high quality, detailed, diffuse light" - ] - }, - { - "id": 53, - "type": "Note", - "pos": [ - 449, - -417 - ], - "size": [ - 210.57127973132026, - 442.3413476570613 - ], - "flags": {}, - "order": 2, - "mode": 0, - "properties": { - "text": "" }, - "widgets_values": [ - "本 workflow 展示了最基础的一种图生图的方法。\n\n1. 加载图片,使用 BizyAir 的 VAE Encode 节点将图片转为 Latent。作为垫图。\n\n2. 将上一步得到的 Latent 作为输入,传递给 BizyAir Ksampler\n\n结合正向、反向提示词,可以得到与垫图相关的输出图像。" - ], - "color": "#432", - "bgcolor": "#653" + "widgets_values": [], + "shape": 1 } ], "links": [ @@ -454,15 +491,76 @@ "BIZYAIR_CLIP" ] ], - "groups": [], + "groups": [ + { + "title": "预览图", + "bounding": [ + 2228, + -482, + 254, + 406 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 1548, + -421, + 272, + 406 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 628, + -449, + 413, + 406 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + 311, + -450, + 317, + 406 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "参考图", + "bounding": [ + 59, + -451, + 250, + 406 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 1.2100000000000002, - "offset": { - "0": -101.1645906817331, - "1": 698.7241998635994 - } + "scale": 0.5644739300537776, + "offset": [ + -124.77943349492438, + 900.3694856273308 + ] } }, "version": 0.4 diff --git a/examples/bizyair_showcase_ksampler_ipadapter.json b/examples/bizyair_showcase_ksampler_ipadapter.json index 381efe1f..2c018d6d 100644 --- a/examples/bizyair_showcase_ksampler_ipadapter.json +++ b/examples/bizyair_showcase_ksampler_ipadapter.json @@ -3,54 +3,113 @@ "last_link_id": 67, "nodes": [ { - "id": 48, - "type": "BizyAirGenerateLightningImage", - "pos": [ - 668, - -851 - ], + "id": 27, + "type": "BizyAir_KSampler", + "pos": { + "0": 1509.44921875, + "1": -772.7049560546875 + }, "size": { - "0": 400, - "1": 220.00001525878906 + "0": 361.42022705078125, + "1": 735.8616943359375 }, "flags": {}, - "order": 0, + "order": 11, "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 57, + "label": "model" + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 39, + "slot_index": 1, + "label": "positive" + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 41, + "slot_index": 2, + "label": "negative" + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 43, + "slot_index": 3, + "label": "latent_image" + } + ], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "LATENT", + "type": "LATENT", "links": [ - 65, - 66 + 45 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { - "Node name for S&R": "BizyAirGenerateLightningImage" + "Node name for S&R": "BizyAir_KSampler" }, "widgets_values": [ - "a beautiful red flower", - 900476689672746, + 1, "fixed", - 1024, - 1024, - 1.5, + 20, + 8, + "euler", + "normal", 1 - ] + ], + "shape": 1 + }, + { + "id": 35, + "type": "PreviewImage", + "pos": { + "0": 2402.877685546875, + "1": -769.0511474609375 + }, + "size": [ + 739.0458196700806, + 717.3398497127819 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 46, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 }, { "id": 32, "type": "BizyAir_CLIPTextEncode", - "pos": [ - 1100, - -345 - ], + "pos": { + "0": 613.9840698242188, + "1": -775.356201171875 + }, "size": { - "0": 378.1509094238281, - "1": 76 + "0": 380.56768798828125, + "1": 388.63812255859375 }, "flags": {}, "order": 9, @@ -60,7 +119,8 @@ "name": "clip", "type": "BIZYAIR_CLIP", "link": 42, - "slot_index": 0 + "slot_index": 0, + "label": "clip" } ], "outputs": [ @@ -70,7 +130,8 @@ "links": [ 41 ], - "shape": 3 + "shape": 3, + "label": "CONDITIONING" } ], "properties": { @@ -78,160 +139,108 @@ }, "widgets_values": [ "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed" - ] + ], + "shape": 1 }, { - "id": 27, - "type": "BizyAir_KSampler", - "pos": [ - 1107, - -223 - ], + "id": 31, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": 620.9840698242188, + "1": -333.35614013671875 + }, "size": { - "0": 362.066162109375, - "1": 262 + "0": 388.8916931152344, + "1": 295.4151306152344 }, "flags": {}, - "order": 11, + "order": 8, "mode": 0, "inputs": [ { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 57 - }, - { - "name": "positive", - "type": "BIZYAIR_CONDITIONING", - "link": 39, - "slot_index": 1 - }, - { - "name": "negative", - "type": "BIZYAIR_CONDITIONING", - "link": 41, - "slot_index": 2 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 43, - "slot_index": 3 + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 40, + "slot_index": 0, + "label": "clip" } ], "outputs": [ { - "name": "LATENT", - "type": "LATENT", + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 45 + 39 ], "shape": 3, - "slot_index": 0 + "label": "CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_KSampler" + "Node name for S&R": "BizyAir_CLIPTextEncode" }, "widgets_values": [ - 1, - "fixed", - 20, - 8, - "euler", - "normal", - 1 - ] + "a jumping dog" + ], + "shape": 1 }, { - "id": 44, - "type": "BizyAir_IPAdapterStyleComposition", - "pos": [ - 1093, - -847 - ], - "size": { - "0": 389.1309509277344, - "1": 322 + "id": 48, + "type": "BizyAirGenerateLightningImage", + "pos": { + "0": -600.2733154296875, + "1": -773.67431640625 }, + "size": [ + 553.655404969582, + 358.9658361614154 + ], "flags": {}, - "order": 10, + "order": 0, "mode": 0, - "inputs": [ - { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 55 - }, - { - "name": "ipadapter", - "type": "IPADAPTER", - "link": 56 - }, - { - "name": "image_style", - "type": "IMAGE", - "link": 65 - }, - { - "name": "image_composition", - "type": "IMAGE", - "link": 63 - }, - { - "name": "image_negative", - "type": "IMAGE", - "link": null - }, - { - "name": "attn_mask", - "type": "MASK", - "link": null - }, - { - "name": "clip_vision", - "type": "CLIP_VISION", - "link": null - } - ], + "inputs": [], "outputs": [ { - "name": "model", - "type": "BIZYAIR_MODEL", + "name": "IMAGE", + "type": "IMAGE", "links": [ - 57 + 65, + 66 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAir_IPAdapterStyleComposition" + "Node name for S&R": "BizyAirGenerateLightningImage" }, "widgets_values": [ - 1, - 1, - false, - "average", - 0, - 1, - "V only" - ] + "a beautiful red flower", + 900476689672746, + "fixed", + 1024, + 1024, + 1.5, + 1 + ], + "shape": 1 }, { "id": 46, "type": "BizyAirGenerateLightningImage", - "pos": [ - 661, - -586 - ], - "size": { - "0": 400, - "1": 220 + "pos": { + "0": 9.726921081542969, + "1": -789.67431640625 }, + "size": [ + 540.6694718472678, + 338.88255408845885 + ], "flags": {}, "order": 1, "mode": 0, + "inputs": [], "outputs": [ { "name": "IMAGE", @@ -240,8 +249,9 @@ 63, 64 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { @@ -249,100 +259,26 @@ }, "widgets_values": [ "a jumping dog", - 555639426184849, + 555639426185047, "fixed", 1024, 1024, 1.5, 1 - ] - }, - { - "id": 47, - "type": "PreviewImage", - "pos": [ - 1511, - -534 - ], - "size": { - "0": 210, - "1": 246 - }, - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 64 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 49, - "type": "PreviewImage", - "pos": [ - 1509, - -826 - ], - "size": { - "0": 210, - "1": 246 - }, - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 66 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 35, - "type": "PreviewImage", - "pos": [ - 1737, - -824 ], - "size": { - "0": 515.3231811523438, - "1": 533.6145629882812 - }, - "flags": {}, - "order": 13, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 46 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } + "shape": 1 }, { "id": 29, "type": "BizyAir_IPAdapterUnifiedLoader", - "pos": [ - 661, - -321 - ], - "size": { - "0": 407.4302062988281, - "1": 78 + "pos": { + "0": -17, + "1": -356 }, + "size": [ + 578.3963929288108, + 321.4046388549989 + ], "flags": {}, "order": 7, "mode": 0, @@ -350,12 +286,15 @@ { "name": "model", "type": "BIZYAIR_MODEL", - "link": 67 + "link": 67, + "label": "model" }, { "name": "ipadapter", "type": "IPADAPTER", - "link": null + "link": null, + "label": "ipadapter", + "shape": 7 } ], "outputs": [ @@ -365,8 +304,9 @@ "links": [ 55 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "model" }, { "name": "ipadapter", @@ -374,8 +314,9 @@ "links": [ 56 ], + "slot_index": 1, "shape": 3, - "slot_index": 1 + "label": "ipadapter" } ], "properties": { @@ -383,55 +324,24 @@ }, "widgets_values": [ "PLUS (high strength)" - ] - }, - { - "id": 33, - "type": "EmptyLatentImage", - "pos": [ - 656, - -59 ], - "size": { - "0": 410.8927001953125, - "1": 106 - }, - "flags": {}, - "order": 2, - "mode": 0, - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - 43 - ], - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "EmptyLatentImage" - }, - "widgets_values": [ - 1024, - 1024, - 1 - ] + "shape": 1 }, { "id": 28, "type": "BizyAir_CheckpointLoaderSimple", - "pos": [ - 658, - -199 - ], - "size": { - "0": 412.0559997558594, - "1": 98 + "pos": { + "0": -561, + "1": -359 }, + "size": [ + 515.2192550223413, + 314.99941737529525 + ], "flags": {}, - "order": 3, + "order": 2, "mode": 0, + "inputs": [], "outputs": [ { "name": "model", @@ -439,8 +349,9 @@ "links": [ 67 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "model" }, { "name": "clip", @@ -449,7 +360,8 @@ 40, 42 ], - "shape": 3 + "shape": 3, + "label": "clip" }, { "name": "vae", @@ -457,8 +369,9 @@ "links": [ 44 ], + "slot_index": 2, "shape": 3, - "slot_index": 2 + "label": "vae" } ], "properties": { @@ -466,58 +379,143 @@ }, "widgets_values": [ "sdxl/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors" - ] + ], + "shape": 1 }, { - "id": 31, - "type": "BizyAir_CLIPTextEncode", - "pos": [ - 1105, - -470 - ], - "size": { - "0": 370.95794677734375, - "1": 76 + "id": 44, + "type": "BizyAir_IPAdapterStyleComposition", + "pos": { + "0": 1042, + "1": -778 }, + "size": [ + 407.8382955675884, + 368.111594347733 + ], "flags": {}, - "order": 8, + "order": 10, "mode": 0, "inputs": [ { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 40, - "slot_index": 0 + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 55, + "label": "model" + }, + { + "name": "ipadapter", + "type": "IPADAPTER", + "link": 56, + "label": "ipadapter" + }, + { + "name": "image_style", + "type": "IMAGE", + "link": 65, + "label": "image_style" + }, + { + "name": "image_composition", + "type": "IMAGE", + "link": 63, + "label": "image_composition" + }, + { + "name": "image_negative", + "type": "IMAGE", + "link": null, + "label": "image_negative", + "shape": 7 + }, + { + "name": "attn_mask", + "type": "MASK", + "link": null, + "label": "attn_mask", + "shape": 7 + }, + { + "name": "clip_vision", + "type": "CLIP_VISION", + "link": null, + "label": "clip_vision", + "shape": 7 } ], "outputs": [ { - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", + "name": "model", + "type": "BIZYAIR_MODEL", "links": [ - 39 + 57 ], - "shape": 3 + "slot_index": 0, + "shape": 3, + "label": "model" } ], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" + "Node name for S&R": "BizyAir_IPAdapterStyleComposition" }, "widgets_values": [ - "a jumping dog" - ] + 1, + 1, + false, + "average", + 0, + 1, + "K+V" + ], + "shape": 1 + }, + { + "id": 33, + "type": "EmptyLatentImage", + "pos": { + "0": 1038, + "1": -308 + }, + "size": [ + 421.85911608582774, + 265.76939969918453 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 43 + ], + "shape": 3, + "label": "LATENT" + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ], + "shape": 1 }, { "id": 34, "type": "BizyAir_VAEDecode", - "pos": [ - 1512, - -223 - ], - "size": { - "0": 201.11224365234375, - "1": 46 + "pos": { + "0": 1921, + "1": -759 }, + "size": [ + 428.3120191842045, + 711.1194304554108 + ], "flags": {}, "order": 12, "mode": 0, @@ -525,12 +523,14 @@ { "name": "samples", "type": "LATENT", - "link": 45 + "link": 45, + "label": "samples" }, { "name": "vae", "type": "BIZYAIR_VAE", - "link": 44 + "link": 44, + "label": "vae" } ], "outputs": [ @@ -540,28 +540,33 @@ "links": [ 46 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { "Node name for S&R": "BizyAir_VAEDecode" - } + }, + "widgets_values": [], + "shape": 1 }, { "id": 50, "type": "Note", - "pos": [ - 662, - -1006 - ], + "pos": { + "0": -257, + "1": -1432 + }, "size": [ - 1582.3057162720038, - 91.62963029793445 + 647.4401419310813, + 58 ], "flags": {}, "order": 4, "mode": 0, + "inputs": [], + "outputs": [], "properties": { "text": "nihao" }, @@ -571,6 +576,64 @@ "color": "#232", "bgcolor": "#353", "shape": 2 + }, + { + "id": 49, + "type": "PreviewImage", + "pos": { + "0": 16, + "1": -1279 + }, + "size": { + "0": 280.1155700683594, + "1": 311.6769104003906 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 66, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 + }, + { + "id": 47, + "type": "PreviewImage", + "pos": { + "0": 635, + "1": -1268 + }, + "size": [ + 323.5151126700807, + 311.94570971278176 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 64, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 } ], "links": [ @@ -703,15 +766,112 @@ "BIZYAIR_MODEL" ] ], - "groups": [], + "groups": [ + { + "title": "中间预览图", + "bounding": [ + -160, + -1342, + 1191, + 412 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "保持图像一致", + "bounding": [ + 1021, + -856, + 455, + 467 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE", + "bounding": [ + 1904, + -854, + 465, + 837 + ], + "color": "#b06634", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 1479, + -856, + 421, + 841 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "模型和参考图", + "bounding": [ + -621, + -859, + 1209, + 843 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 588, + -857, + 433, + 844 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 2375, + -857, + 779, + 840 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "垫图", + "bounding": [ + 1022, + -387, + 456, + 374 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 1, - "offset": { - "0": -157.4072787720038, - "1": 1188.1203697020655 - } + "scale": 0.3785761250786953, + "offset": [ + 842.2737651411135, + 1859.0936738249839 + ] } }, "version": 0.4 diff --git a/examples/bizyair_showcase_ksampler_lora.json b/examples/bizyair_showcase_ksampler_lora.json index eed7c22c..bd0d7caa 100644 --- a/examples/bizyair_showcase_ksampler_lora.json +++ b/examples/bizyair_showcase_ksampler_lora.json @@ -5,14 +5,14 @@ { "id": 32, "type": "BizyAir_CLIPTextEncode", - "pos": [ - 1216, - -25 - ], - "size": [ - 428.38484488430913, - 76.84403215759437 - ], + "pos": { + "0": 1229.134521484375, + "1": 178.42047119140625 + }, + "size": { + "0": 368.4900817871094, + "1": 249.05618286132812 + }, "flags": {}, "order": 5, "mode": 0, @@ -21,7 +21,8 @@ "name": "clip", "type": "BIZYAIR_CLIP", "link": 70, - "slot_index": 0 + "slot_index": 0, + "label": "clip" } ], "outputs": [ @@ -31,7 +32,8 @@ "links": [ 41 ], - "shape": 3 + "shape": 3, + "label": "CONDITIONING" } ], "properties": { @@ -39,19 +41,62 @@ }, "widgets_values": [ "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed" - ] + ], + "shape": 1 }, { - "id": 27, - "type": "BizyAir_KSampler", - "pos": [ - 1655, - -177 + "id": 31, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": 1230.134521484375, + "1": -134.5795440673828 + }, + "size": { + "0": 360.8901062011719, + "1": 268.3561706542969 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 69, + "slot_index": 0, + "label": "clip" + } ], - "size": [ - 320.9270828632716, - 262 + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 77 + ], + "shape": 3, + "label": "CONDITIONING" + } ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "in a peaceful spring morning a dog is sitting in a park on a bench. high quality, detailed, diffuse light" + ], + "shape": 1 + }, + { + "id": 27, + "type": "BizyAir_KSampler", + "pos": { + "0": 1640.576904296875, + "1": -134.5794677734375 + }, + "size": { + "0": 337.8901062011719, + "1": 562.0562133789062 + }, "flags": {}, "order": 6, "mode": 0, @@ -59,25 +104,29 @@ { "name": "model", "type": "BIZYAIR_MODEL", - "link": 76 + "link": 76, + "label": "model" }, { "name": "positive", "type": "BIZYAIR_CONDITIONING", "link": 77, - "slot_index": 1 + "slot_index": 1, + "label": "positive" }, { "name": "negative", "type": "BIZYAIR_CONDITIONING", "link": 41, - "slot_index": 2 + "slot_index": 2, + "label": "negative" }, { "name": "latent_image", "type": "LATENT", "link": 65, - "slot_index": 3 + "slot_index": 3, + "label": "latent_image" } ], "outputs": [ @@ -87,8 +136,9 @@ "links": [ 45 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { @@ -102,100 +152,119 @@ "euler", "normal", 1 - ] + ], + "shape": 1 }, { - "id": 33, - "type": "EmptyLatentImage", - "pos": [ - 1222, - 104 - ], - "size": [ - 412.8771204290124, - 106 - ], + "id": 52, + "type": "Note", + "pos": { + "0": 570, + "1": -417 + }, + "size": { + "0": 1711.39013671875, + "1": 80.05618286132812 + }, "flags": {}, "order": 0, "mode": 0, - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - 65 - ], - "shape": 3, - "slot_index": 0 - } - ], + "inputs": [], + "outputs": [], "properties": { - "Node name for S&R": "EmptyLatentImage" + "text": "" }, "widgets_values": [ - 1024, - 1024, - 1 - ] + "LoRA 工作流示例:\n本工作流因为使用了 BizyAir Load LoRA 节点,加载了一个水彩风格的 LoRA 模型。所以生成的图像也是水彩风格的。\n你可以尝试去掉 BizyAir Load LoRA 节点,查看生成图像的变化。" + ], + "color": "#432", + "bgcolor": "#653" }, { - "id": 28, - "type": "BizyAir_CheckpointLoaderSimple", - "pos": [ - 708, - -25 - ], + "id": 34, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 2017.01123046875, + "1": -128.8732452392578 + }, "size": [ - 479.662080045842, - 98 + 370.70366953124994, + 551.8872552392578 ], "flags": {}, - "order": 1, + "order": 7, "mode": 0, - "outputs": [ - { - "name": "model", - "type": "BIZYAIR_MODEL", - "links": [ - 66 - ], - "shape": 3 - }, + "inputs": [ { - "name": "clip", - "type": "BIZYAIR_CLIP", - "links": [ - 67 - ], - "shape": 3 + "name": "samples", + "type": "LATENT", + "link": 45, + "label": "samples" }, { "name": "vae", "type": "BIZYAIR_VAE", + "link": 44, + "label": "vae" + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", "links": [ - 44 + 46 ], + "slot_index": 0, "shape": 3, - "slot_index": 2 + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "BizyAir_CheckpointLoaderSimple" + "Node name for S&R": "BizyAir_VAEDecode" }, - "widgets_values": [ - "sdxl/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors" - ] + "widgets_values": [], + "shape": 1 + }, + { + "id": 35, + "type": "PreviewImage", + "pos": { + "0": 2439, + "1": -134 + }, + "size": { + "0": 354.79010009765625, + "1": 548.356201171875 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 46, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 }, { "id": 48, "type": "BizyAir_LoraLoader", - "pos": [ - 708, - -195 - ], + "pos": { + "0": 700.35546875, + "1": -130.1377410888672 + }, "size": [ - 478.277618175068, - 126 + 499.0241699218748, + 562.4253093896485 ], "flags": {}, "order": 3, @@ -205,13 +274,15 @@ "name": "model", "type": "BIZYAIR_MODEL", "link": 66, - "slot_index": 0 + "slot_index": 0, + "label": "model" }, { "name": "clip", "type": "BIZYAIR_CLIP", "link": 67, - "slot_index": 1 + "slot_index": 1, + "label": "clip" } ], "outputs": [ @@ -221,8 +292,9 @@ "links": [ 76 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "MODEL" }, { "name": "CLIP", @@ -231,8 +303,9 @@ 69, 70 ], + "slot_index": 1, "shape": 3, - "slot_index": 1 + "label": "CLIP" } ], "properties": { @@ -242,135 +315,98 @@ "sdxl/watercolor_v1_sdxl_lora.safetensors", 1, 1 - ] + ], + "shape": 1 }, { - "id": 31, - "type": "BizyAir_CLIPTextEncode", - "pos": [ - 1220, - -185 - ], + "id": 28, + "type": "BizyAir_CheckpointLoaderSimple", + "pos": { + "0": 285, + "1": -123 + }, "size": [ - 421.16351223968104, - 105.50659789763955 + 377.85868999999957, + 547.6245200000001 ], "flags": {}, - "order": 4, + "order": 1, "mode": 0, - "inputs": [ + "inputs": [], + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 66 + ], + "shape": 3, + "label": "model" + }, { "name": "clip", "type": "BIZYAIR_CLIP", - "link": 69, - "slot_index": 0 - } - ], - "outputs": [ + "links": [ + 67 + ], + "shape": 3, + "label": "clip" + }, { - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", + "name": "vae", + "type": "BIZYAIR_VAE", "links": [ - 77 + 44 ], - "shape": 3 + "slot_index": 2, + "shape": 3, + "label": "vae" } ], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" - }, - "widgets_values": [ - "in a peaceful spring morning a dog is sitting in a park on a bench. high quality, detailed, diffuse light" - ] - }, - { - "id": 52, - "type": "Note", - "pos": [ - 711, - 120 - ], - "size": [ - 478.3767917287869, - 89.39007366773717 - ], - "flags": {}, - "order": 2, - "mode": 0, - "properties": { - "text": "" + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" }, "widgets_values": [ - "LoRA 工作流示例:\n本工作流因为使用了 BizyAir Load LoRA 节点,加载了一个水彩风格的 LoRA 模型。所以生成的图像也是水彩风格的。\n你可以尝试去掉 BizyAir Load LoRA 节点,查看生成图像的变化。" + "sdxl/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors" ], - "color": "#432", - "bgcolor": "#653" + "shape": 1 }, { - "id": 34, - "type": "BizyAir_VAEDecode", - "pos": [ - 1664, - 153 - ], - "size": [ - 308.12571171376, - 46 - ], + "id": 33, + "type": "EmptyLatentImage", + "pos": { + "0": 1271, + "1": 656 + }, + "size": { + "0": 477.9900817871094, + "1": 106 + }, "flags": {}, - "order": 7, + "order": 2, "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": 45 - }, - { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 44 - } - ], + "inputs": [], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "LATENT", + "type": "LATENT", "links": [ - 46 + 65 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { - "Node name for S&R": "BizyAir_VAEDecode" - } - }, - { - "id": 35, - "type": "PreviewImage", - "pos": [ - 1996, - -173 - ], - "size": [ - 356.062413441784, - 379.761411008083 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 46 - } + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 ], - "properties": { - "Node name for S&R": "PreviewImage" - } + "shape": 1 } ], "links": [ @@ -463,15 +499,100 @@ "BIZYAIR_CONDITIONING" ] ], - "groups": [], + "groups": [ + { + "title": "垫图", + "bounding": [ + 1258, + 544, + 500, + 262 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE", + "bounding": [ + 1996, + -210, + 413, + 656 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 2410, + -210, + 393, + 655 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "LoRA", + "bounding": [ + 679, + -208, + 533, + 655 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 1211, + -211, + 407, + 656 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 1622, + -210, + 372, + 655 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + 278, + -208, + 399, + 654 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 1.1, - "offset": { - "0": -327.03554689407616, - "1": 451.93472441640984 - } + "scale": 0.620921323059155, + "offset": [ + -807.8045899999994, + 478.87159000000014 + ] } }, "version": 0.4 diff --git a/examples/bizyair_showcase_ksampler_txt2img.json b/examples/bizyair_showcase_ksampler_txt2img.json index 3d2f9bcb..04f04aeb 100644 --- a/examples/bizyair_showcase_ksampler_txt2img.json +++ b/examples/bizyair_showcase_ksampler_txt2img.json @@ -2,67 +2,17 @@ "last_node_id": 54, "last_link_id": 84, "nodes": [ - { - "id": 28, - "type": "BizyAir_CheckpointLoaderSimple", - "pos": [ - 681, - -421 - ], - "size": [ - 479.95260721065824, - 98 - ], - "flags": {}, - "order": 0, - "mode": 0, - "outputs": [ - { - "name": "model", - "type": "BIZYAIR_MODEL", - "links": [ - 81 - ], - "shape": 3 - }, - { - "name": "clip", - "type": "BIZYAIR_CLIP", - "links": [ - 82, - 83 - ], - "shape": 3, - "slot_index": 1 - }, - { - "name": "vae", - "type": "BIZYAIR_VAE", - "links": [ - 44 - ], - "shape": 3, - "slot_index": 2 - } - ], - "properties": { - "Node name for S&R": "BizyAir_CheckpointLoaderSimple" - }, - "widgets_values": [ - "sdxl/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors" - ] - }, { "id": 32, "type": "BizyAir_CLIPTextEncode", - "pos": [ - 1181, - -284 - ], - "size": [ - 384.08845431809596, - 76 - ], + "pos": { + "0": 550.4014892578125, + "1": -216.39996337890625 + }, + "size": { + "0": 382.5166015625, + "1": 179.33389282226562 + }, "flags": {}, "order": 3, "mode": 0, @@ -71,7 +21,8 @@ "name": "clip", "type": "BIZYAIR_CLIP", "link": 82, - "slot_index": 0 + "slot_index": 0, + "label": "clip" } ], "outputs": [ @@ -81,7 +32,8 @@ "links": [ 41 ], - "shape": 3 + "shape": 3, + "label": "CONDITIONING" } ], "properties": { @@ -89,19 +41,20 @@ }, "widgets_values": [ "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed" - ] + ], + "shape": 1 }, { "id": 31, "type": "BizyAir_CLIPTextEncode", - "pos": [ - 1174, - -418 - ], - "size": [ - 395.36996258255886, - 79.17257183061503 - ], + "pos": { + "0": 549.4014892578125, + "1": -370.39996337890625 + }, + "size": { + "0": 383.7165832519531, + "1": 115.83390045166016 + }, "flags": {}, "order": 4, "mode": 0, @@ -110,7 +63,8 @@ "name": "clip", "type": "BIZYAIR_CLIP", "link": 83, - "slot_index": 0 + "slot_index": 0, + "label": "clip" } ], "outputs": [ @@ -120,7 +74,8 @@ "links": [ 77 ], - "shape": 3 + "shape": 3, + "label": "CONDITIONING" } ], "properties": { @@ -128,77 +83,117 @@ }, "widgets_values": [ "a happy girl with wings, high quality, detailed, diffuse light" - ] + ], + "shape": 1 }, { - "id": 35, - "type": "PreviewImage", - "pos": [ - 1611, - -418 - ], - "size": [ - 402.00619708669115, - 426.6130418719372 - ], + "id": 27, + "type": "BizyAir_KSampler", + "pos": { + "0": 969.4016723632812, + "1": -372.59979248046875 + }, + "size": { + "0": 288.31658935546875, + "1": 328.23388671875 + }, "flags": {}, - "order": 7, + "order": 5, "mode": 0, "inputs": [ { - "name": "images", - "type": "IMAGE", - "link": 46 + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 81, + "label": "model" + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 77, + "slot_index": 1, + "label": "positive" + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 41, + "slot_index": 2, + "label": "negative" + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 84, + "slot_index": 3, + "label": "latent_image" } ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 54, - "type": "EmptyLatentImage", - "pos": [ - 1372, - -148 - ], - "size": [ - 210, - 137.066476789293 - ], - "flags": {}, - "order": 1, - "mode": 0, "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ - 84 + 45 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { - "Node name for S&R": "EmptyLatentImage" + "Node name for S&R": "BizyAir_KSampler" }, "widgets_values": [ - 1024, - 1024, + 2, + "fixed", + 20, + 8, + "euler", + "normal", 1 - ] + ], + "shape": 1 + }, + { + "id": 35, + "type": "PreviewImage", + "pos": { + "0": 1556.399169921875, + "1": -370.60003662109375 + }, + "size": { + "0": 281.2165832519531, + "1": 329.23388671875 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 46, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 }, { "id": 34, "type": "BizyAir_VAEDecode", - "pos": [ - 1175, - -138 - ], + "pos": { + "0": 1299.0010986328125, + "1": -376.0000305175781 + }, "size": [ - 180.2027755234833, - 120.71297530401807 + 220.32873802008044, + 326.9124647903053 ], "flags": {}, "order": 6, @@ -207,12 +202,14 @@ { "name": "samples", "type": "LATENT", - "link": 45 + "link": 45, + "label": "samples" }, { "name": "vae", "type": "BIZYAIR_VAE", - "link": 44 + "link": 44, + "label": "vae" } ], "outputs": [ @@ -222,28 +219,33 @@ "links": [ 46 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { "Node name for S&R": "BizyAir_VAEDecode" - } + }, + "widgets_values": [], + "shape": 1 }, { "id": 53, "type": "Note", - "pos": [ - 449, - -417 - ], - "size": [ - 218.85111750832084, - 402.98930547272244 - ], + "pos": { + "0": 335, + "1": -590 + }, + "size": { + "0": 1560.056640625, + "1": 62.43889617919922 + }, "flags": {}, - "order": 2, + "order": 0, "mode": 0, + "inputs": [], + "outputs": [], "properties": { "text": "" }, @@ -254,67 +256,96 @@ "bgcolor": "#653" }, { - "id": 27, - "type": "BizyAir_KSampler", - "pos": [ - 689, - -270 + "id": 54, + "type": "EmptyLatentImage", + "pos": { + "0": 793.199951171875, + "1": 105.80000305175781 + }, + "size": { + "0": 221.61659240722656, + "1": 133.43389892578125 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 84 + ], + "slot_index": 0, + "shape": 3, + "label": "LATENT" + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 ], + "shape": 1 + }, + { + "id": 28, + "type": "BizyAir_CheckpointLoaderSimple", + "pos": { + "0": 67.39997863769531, + "1": -371.1998291015625 + }, "size": [ - 455.81348014454306, - 266.6572567479707 + 451.55685801519826, + 315.09426337428965 ], "flags": {}, - "order": 5, + "order": 2, "mode": 0, - "inputs": [ + "inputs": [], + "outputs": [ { "name": "model", "type": "BIZYAIR_MODEL", - "link": 81 - }, - { - "name": "positive", - "type": "BIZYAIR_CONDITIONING", - "link": 77, - "slot_index": 1 + "links": [ + 81 + ], + "shape": 3, + "label": "model" }, { - "name": "negative", - "type": "BIZYAIR_CONDITIONING", - "link": 41, - "slot_index": 2 + "name": "clip", + "type": "BIZYAIR_CLIP", + "links": [ + 82, + 83 + ], + "slot_index": 1, + "shape": 3, + "label": "clip" }, { - "name": "latent_image", - "type": "LATENT", - "link": 84, - "slot_index": 3 - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", + "name": "vae", + "type": "BIZYAIR_VAE", "links": [ - 45 + 44 ], + "slot_index": 2, "shape": 3, - "slot_index": 0 + "label": "vae" } ], "properties": { - "Node name for S&R": "BizyAir_KSampler" + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" }, "widgets_values": [ - 2, - "fixed", - 20, - 8, - "euler", - "normal", - 1 - ] + "sdxl/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors" + ], + "shape": 1 } ], "links": [ @@ -391,15 +422,88 @@ "LATENT" ] ], - "groups": [], + "groups": [ + { + "title": "垫图", + "bounding": [ + 770, + 37, + 270, + 210 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 1536, + -452, + 319, + 422 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 536, + -450, + 410, + 421 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "VAE", + "bounding": [ + 1282, + -451, + 252, + 420 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + 44, + -450, + 491, + 422 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 947, + -451, + 333, + 421 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 0.9090909090909091, - "offset": { - "0": 205.08340999577732, - "1": 703.1661026598347 - } + "scale": 0.751314800901578, + "offset": [ + -37.134836652893696, + 708.2955657272726 + ] } }, "version": 0.4 diff --git a/examples/bizyair_showcase_realistic_superresolution.json b/examples/bizyair_showcase_realistic_superresolution.json index 03191cea..914d1b0b 100644 --- a/examples/bizyair_showcase_realistic_superresolution.json +++ b/examples/bizyair_showcase_realistic_superresolution.json @@ -2,45 +2,21 @@ "last_node_id": 4, "last_link_id": 3, "nodes": [ - { - "id": 4, - "type": "PreviewImage", - "pos": [ - 895, - 225 - ], - "size": { - "0": 794.525390625, - "1": 737.365966796875 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 3 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, { "id": 1, "type": "BizyAirGenerateLightningImage", - "pos": [ - 547, - 226 - ], - "size": { - "0": 336, - "1": 220 + "pos": { + "0": 690, + "1": 272 }, + "size": [ + 336, + 220 + ], "flags": {}, "order": 0, "mode": 0, + "inputs": [], "outputs": [ { "name": "IMAGE", @@ -49,8 +25,9 @@ 1, 3 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { @@ -64,19 +41,49 @@ 512, 1.5, 1 - ] + ], + "shape": 1 + }, + { + "id": 4, + "type": "PreviewImage", + "pos": { + "0": 700, + "1": 530 + }, + "size": [ + 325.040678900001, + 205.52818099999945 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3, + "label": "images" + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 }, { "id": 2, "type": "BizyAirAuraSR", - "pos": [ - 489, - 507 - ], - "size": { - "0": 394.79998779296875, - "1": 26 + "pos": { + "0": 1062, + "1": 274 }, + "size": [ + 415.58067890000075, + 454.26818099999946 + ], "flags": {}, "order": 1, "mode": 0, @@ -84,7 +91,8 @@ { "name": "image", "type": "IMAGE", - "link": 1 + "link": 1, + "label": "image" } ], "outputs": [ @@ -94,24 +102,27 @@ "links": [ 2 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { "Node name for S&R": "BizyAirAuraSR" - } + }, + "widgets_values": [], + "shape": 1 }, { "id": 3, "type": "PreviewImage", - "pos": [ - 1725, - 233 - ], + "pos": { + "0": 1519, + "1": 293 + }, "size": [ - 818.9532239638515, - 733.3728281929054 + 385.71067890000086, + 401.3881809999996 ], "flags": {}, "order": 3, @@ -120,12 +131,16 @@ { "name": "images", "type": "IMAGE", - "link": 2 + "link": 2, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" - } + }, + "widgets_values": [], + "shape": 1 } ], "links": [ @@ -154,14 +169,51 @@ "IMAGE" ] ], - "groups": [], + "groups": [ + { + "title": "模型", + "bounding": [ + 1049, + 195, + 443, + 551 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词和中间预览图", + "bounding": [ + 678, + 193, + 369, + 553 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 1494, + 194, + 430, + 549 + ], + "color": "#444", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 0.6830134553650709, + "scale": 0.7513148009015781, "offset": [ - 347.48561717394807, - 165.69305143618368 + -382.5306789000013, + 204.27881900000017 ] } }, diff --git a/examples/bizyair_showcase_remove_background.json b/examples/bizyair_showcase_remove_background.json index 943f8d9d..bb48c88d 100644 --- a/examples/bizyair_showcase_remove_background.json +++ b/examples/bizyair_showcase_remove_background.json @@ -3,19 +3,45 @@ "last_link_id": 53, "nodes": [ { - "id": 38, - "type": "BizyAirGenerateLightningImage", - "pos": [ - 821, - 197 - ], + "id": 41, + "type": "Note", + "pos": { + "0": 1048, + "1": -143 + }, "size": { - "0": 398.97265625, - "1": 220 + "0": 929.72265625, + "1": 63.52081298828125 }, "flags": {}, "order": 0, "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" + }, + "widgets_values": [ + "这个例子中,先使用 BizyAir Generate Photorealistic Image 节点生成了一张图片,然后使用 BizyAir Remove Image Background 节点将该图片的背景抠除掉。\n\n你可以对比地看到抠除背景前后的两张图片。 " + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 38, + "type": "BizyAirGenerateLightningImage", + "pos": { + "0": 365, + "1": 168 + }, + "size": [ + 413, + 311 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], "outputs": [ { "name": "IMAGE", @@ -24,8 +50,9 @@ 51, 52 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { @@ -39,19 +66,20 @@ 1024, 1.5, 1 - ] + ], + "shape": 1 }, { "id": 39, "type": "PreviewImage", - "pos": [ - 1233, - 195 - ], - "size": { - "0": 212.87109375, - "1": 310.46612548828125 + "pos": { + "0": 430, + "1": -107 }, + "size": [ + 208, + 162 + ], "flags": {}, "order": 3, "mode": 0, @@ -59,49 +87,27 @@ { "name": "images", "type": "IMAGE", - "link": 52 + "link": 52, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" - } - }, - { - "id": 40, - "type": "PreviewImage", - "pos": [ - 1460, - 199 - ], - "size": { - "0": 212.87109375, - "1": 310.46612548828125 }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 53, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "PreviewImage" - } + "widgets_values": [], + "shape": 1 }, { "id": 36, "type": "BizyAirRemoveBackground", - "pos": [ - 830, - 460 - ], + "pos": { + "0": 823, + "1": 175 + }, "size": [ - 384.16796875, - 46 + 392, + 304 ], "flags": {}, "order": 2, @@ -110,7 +116,8 @@ { "name": "image", "type": "IMAGE", - "link": 51 + "link": 51, + "label": "image" } ], "outputs": [ @@ -120,42 +127,53 @@ "links": [ 53 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, - "shape": 3 + "shape": 3, + "label": "MASK" } ], "properties": { "Node name for S&R": "BizyAirRemoveBackground" - } + }, + "widgets_values": [], + "shape": 1 }, { - "id": 41, - "type": "Note", - "pos": [ - 566, - 200 - ], + "id": 40, + "type": "PreviewImage", + "pos": { + "0": 1252, + "1": 165 + }, "size": [ - 241.35546875, - 302.44268798828125 + 358, + 313 ], "flags": {}, - "order": 1, + "order": 4, "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 53, + "slot_index": 0, + "label": "images" + } + ], + "outputs": [], "properties": { - "text": "" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "这个例子中,先使用 BizyAir Generate Photorealistic Image 节点生成了一张图片,然后使用 BizyAir Remove Image Background 节点将该图片的背景抠除掉。\n\n你可以对比地看到抠除背景前后的两张图片。 " - ], - "color": "#432", - "bgcolor": "#653" + "widgets_values": [], + "shape": 1 } ], "links": [ @@ -184,15 +202,64 @@ "IMAGE" ] ], - "groups": [], + "groups": [ + { + "title": "中间预览图", + "bounding": [ + 418, + -174, + 230, + 233 + ], + "color": "#b06634", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + 802, + 87, + 421, + 412 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 1224, + 88, + 408, + 411 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 341, + 87, + 459, + 413 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 1, - "offset": { - "0": 73.27734375, - "1": 64.47918701171875 - } + "scale": 0.8264462809917354, + "offset": [ + -70.89999999999966, + 350.2 + ] } }, "version": 0.4 diff --git a/examples/bizyair_showcase_shark_submarine.json b/examples/bizyair_showcase_shark_submarine.json index 63aa717f..e30a4bac 100644 --- a/examples/bizyair_showcase_shark_submarine.json +++ b/examples/bizyair_showcase_shark_submarine.json @@ -3,114 +3,103 @@ "last_link_id": 86, "nodes": [ { - "id": 66, - "type": "PreviewImage", - "pos": [ - 846, - 1082 - ], + "id": 63, + "type": "BizyAirGenerateLightningImage", + "pos": { + "0": 77.18540954589844, + "1": 777.7132568359375 + }, "size": { - "0": 319.8609924316406, - "1": 342.8357849121094 + "0": 419.1539306640625, + "1": 612.7685546875 }, "flags": {}, - "order": 2, + "order": 0, "mode": 0, - "inputs": [ + "inputs": [], + "outputs": [ { - "name": "images", + "name": "IMAGE", "type": "IMAGE", - "link": 74 + "links": [ + 74, + 82, + 83 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "PreviewImage" - } + "Node name for S&R": "BizyAirGenerateLightningImage" + }, + "widgets_values": [ + "a great white shark", + 493871336398282, + "fixed", + 1024, + 1024, + 1.5, + 1 + ], + "shape": 1 }, { - "id": 72, - "type": "PreviewImage", - "pos": [ - 1184, - 1084 - ], - "size": { - "0": 319.8609924316406, - "1": 342.8357849121094 + "id": 74, + "type": "BizyAirDepthAnythingV2Preprocessor", + "pos": { + "0": 541, + "1": 788 }, + "size": [ + 527.9573103638907, + 589.1028842157405 + ], "flags": {}, - "order": 4, + "order": 3, "mode": 0, "inputs": [ { - "name": "images", + "name": "image", "type": "IMAGE", - "link": 84 + "link": 83, + "label": "image" } ], - "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 73, - "type": "PreviewImage", - "pos": [ - 1525, - 1090 - ], - "size": { - "0": 319.8609924316406, - "1": 342.8357849121094 - }, - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ + "outputs": [ { - "name": "images", + "name": "IMAGE", "type": "IMAGE", - "link": 81 + "links": [ + 84, + 85 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "PreviewImage" - } - }, - { - "id": 75, - "type": "Note", - "pos": [ - 433, - 1095 - ], - "size": { - "0": 382.9918518066406, - "1": 311.6756286621094 - }, - "flags": {}, - "order": 0, - "mode": 0, - "properties": { - "text": "" + "Node name for S&R": "BizyAirDepthAnythingV2Preprocessor" }, "widgets_values": [ - "这个工作流中:\n\n1. 使用 BizyAir 的 Generate Photorealistic Images 节点,生成一张大白鲨的图片。\n\n2. 使用 BizyAir Controlnet 预处理节点,将大白鲨的图片转为深度图。\n\n3. 使用深度图做 image prompt,结合 text prompt,用 BizyAir Controlnet Union 节点,将深度图重绘为潜水艇。" + "depth_anything_v2_vitl.pth", + 512 ], - "color": "#432", - "bgcolor": "#653" + "shape": 1 }, { "id": 69, "type": "StableDiffusionXLControlNetUnionPipeline", - "pos": [ - 848, - 580 - ], - "size": { - "0": 598.6016235351562, - "1": 454.2467346191406 + "pos": { + "0": 1133, + "1": 774 }, + "size": [ + 396.33473136389057, + 597.6460062157405 + ], "flags": {}, "order": 5, "mode": 0, @@ -118,32 +107,44 @@ { "name": "openpose_image", "type": "IMAGE", - "link": null + "link": null, + "label": "openpose_image", + "shape": 7 }, { "name": "depth_image", "type": "IMAGE", - "link": 85 + "link": 85, + "label": "depth_image", + "shape": 7 }, { "name": "hed_pidi_scribble_ted_image", "type": "IMAGE", - "link": null + "link": null, + "label": "hed_pidi_scribble_ted_image", + "shape": 7 }, { "name": "canny_lineart_anime_lineart_mlsd_image", "type": "IMAGE", - "link": 82 + "link": 82, + "label": "canny_lineart_anime_lineart_mlsd_image", + "shape": 7 }, { "name": "normal_image", "type": "IMAGE", - "link": null + "link": null, + "label": "normal_image", + "shape": 7 }, { "name": "segment_image", "type": "IMAGE", - "link": null + "link": null, + "label": "segment_image", + "shape": 7 } ], "outputs": [ @@ -153,8 +154,9 @@ "links": [ 81 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { @@ -170,89 +172,120 @@ "watermark, text", 0, 0.5 - ] + ], + "shape": 1 }, { - "id": 74, - "type": "BizyAirDepthAnythingV2Preprocessor", - "pos": [ - 435, - 603 - ], - "size": { - "0": 392.11334228515625, - "1": 157.2982940673828 + "id": 73, + "type": "PreviewImage", + "pos": { + "0": 1598, + "1": 808 }, + "size": [ + 535.6141884638905, + 554.6110451157404 + ], "flags": {}, - "order": 3, + "order": 6, "mode": 0, "inputs": [ { - "name": "image", + "name": "images", "type": "IMAGE", - "link": 83 + "link": 81, + "label": "images" } ], - "outputs": [ + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 + }, + { + "id": 72, + "type": "PreviewImage", + "pos": { + "0": 1260.8974609375, + "1": 352 + }, + "size": { + "0": 302.92633056640625, + "1": 273.948486328125 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ { - "name": "IMAGE", + "name": "images", "type": "IMAGE", - "links": [ - 84, - 85 - ], - "shape": 3, - "slot_index": 0 + "link": 84, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAirDepthAnythingV2Preprocessor" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "depth_anything_v2_vitl.pth", - 512 - ] + "widgets_values": [], + "shape": 1 }, { - "id": 63, - "type": "BizyAirGenerateLightningImage", - "pos": [ - 427, - 816 - ], - "size": { - "0": 399.5649108886719, - "1": 220 + "id": 66, + "type": "PreviewImage", + "pos": { + "0": 317, + "1": 1611 }, + "size": [ + 362.8711987638907, + 358.9954186157404 + ], "flags": {}, - "order": 1, + "order": 2, "mode": 0, - "inputs": [], - "outputs": [ + "inputs": [ { - "name": "IMAGE", + "name": "images", "type": "IMAGE", - "links": [ - 74, - 82, - 83 - ], - "shape": 3, - "slot_index": 0 + "link": 74, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAirGenerateLightningImage" + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [], + "shape": 1 + }, + { + "id": 75, + "type": "Note", + "pos": { + "0": 41, + "1": 518 + }, + "size": [ + 999.3838953638904, + 113.84213261574075 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" }, "widgets_values": [ - "a great white shark", - 493871336398282, - "fixed", - 1024, - 1024, - 1.5, - 1 - ] + "这个工作流中:\n\n1. 使用 BizyAir 的 Generate Photorealistic Images 节点,生成一张大白鲨的图片。\n\n2. 使用 BizyAir Controlnet 预处理节点,将大白鲨的图片转为深度图。\n\n3. 使用深度图做 image prompt,结合 text prompt,用 BizyAir Controlnet Union 节点,将深度图重绘为潜水艇。" + ], + "color": "#432", + "bgcolor": "#653" } ], "links": [ @@ -305,15 +338,88 @@ "IMAGE" ] ], - "groups": [], + "groups": [ + { + "title": "中间预览图(生成大白鲨)", + "bounding": [ + 263, + 1525, + 458, + 461 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "SDXL", + "bounding": [ + 1099, + 699, + 450, + 703 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 1549, + 701, + 649, + 699 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + 514, + 698, + 583, + 704 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 59, + 698, + 452, + 703 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "中间预览图(深度图)", + "bounding": [ + 1204, + 263, + 390, + 398 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 0.9090909090909114, - "offset": { - "0": 233.66165985477858, - "1": -343.6244714175116 - } + "scale": 0.5644739300537777, + "offset": [ + 453.6994085361092, + -484.9489796157411 + ] } }, "version": 0.4 diff --git a/examples/bizyair_text_guided_segment-anything.json b/examples/bizyair_text_guided_segment-anything.json index 19c08ef8..cb8ea77b 100644 --- a/examples/bizyair_text_guided_segment-anything.json +++ b/examples/bizyair_text_guided_segment-anything.json @@ -9,10 +9,10 @@ "0": 430, "1": 397 }, - "size": { - "0": 400, - "1": 200 - }, + "size": [ + 413.22141513120516, + 233.04265353118785 + ], "flags": {}, "order": 0, "mode": 0, @@ -26,13 +26,15 @@ 12 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, - "shape": 3 + "shape": 3, + "label": "MASK" } ], "properties": { @@ -40,19 +42,20 @@ }, "widgets_values": [ "https://bizy-air.oss-cn-beijing.aliyuncs.com/examples_asset/bizyair-instantid-example.webp" - ] + ], + "shape": 1 }, { "id": 13, "type": "PreviewImage", "pos": { - "0": 858, + "0": 857, "1": 397 }, - "size": { - "0": 210, - "1": 246 - }, + "size": [ + 224.47041513120507, + 235.70465353118777 + ], "flags": {}, "order": 2, "mode": 0, @@ -60,25 +63,27 @@ { "name": "images", "type": "IMAGE", - "link": 12 + "link": 12, + "label": "images" } ], "outputs": [], "properties": { "Node name for S&R": "PreviewImage" - } + }, + "shape": 1 }, { "id": 1, "type": "BizyAirSegmentAnythingText", "pos": { - "0": 1116, - "1": 417 - }, - "size": { - "0": 315, - "1": 126 + "0": 1127, + "1": 402 }, + "size": [ + 320.49541513120494, + 240.02165353118778 + ], "flags": {}, "order": 1, "mode": 0, @@ -86,7 +91,8 @@ { "name": "image", "type": "IMAGE", - "link": 5 + "link": 5, + "label": "image" } ], "outputs": [ @@ -97,7 +103,8 @@ 2 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "IMAGE" }, { "name": "MASK", @@ -105,8 +112,9 @@ "links": [ 9 ], + "slot_index": 1, "shape": 3, - "slot_index": 1 + "label": "MASK" } ], "properties": { @@ -116,66 +124,71 @@ "hat", 0.3, 0.2 - ] + ], + "shape": 1 }, { - "id": 12, + "id": 3, "type": "PreviewImage", "pos": { - "0": 1835, - "1": 386.386474609375 + "0": 1488, + "1": 386 }, "size": [ - 210, - 246 + 219.040415131205, + 256.0216535311878 ], "flags": {}, - "order": 5, + "order": 3, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 10 + "link": 2, + "label": "images" } ], "outputs": [], "properties": { "Node name for S&R": "PreviewImage" - } + }, + "shape": 1 }, { - "id": 3, + "id": 12, "type": "PreviewImage", "pos": { - "0": 1579, - "1": 384.386474609375 - }, - "size": { - "0": 210, - "1": 246 + "0": 1766, + "1": 389 }, + "size": [ + 225.06541513120465, + 252.69765353118783 + ], "flags": {}, - "order": 3, + "order": 5, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 2 + "link": 10, + "label": "images" } ], "outputs": [], "properties": { "Node name for S&R": "PreviewImage" - } + }, + "shape": 1 }, { "id": 11, "type": "MaskToImage", "pos": { - "0": 1830, - "1": 309.386474609375 + "0": 1611, + "1": 593 }, "size": { "0": 264.5999755859375, @@ -188,7 +201,8 @@ { "name": "mask", "type": "MASK", - "link": 9 + "link": 9, + "label": "mask" } ], "outputs": [ @@ -198,13 +212,15 @@ "links": [ 10 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "IMAGE" } ], "properties": { "Node name for S&R": "MaskToImage" - } + }, + "shape": 1 } ], "links": [ @@ -251,14 +267,14 @@ ], "groups": [ { - "title": "根据文本抠图", + "title": "抠图结果", "bounding": [ - 1114, - 309, - 356, - 339 + 1466, + 314, + 552, + 343 ], - "color": "#A88", + "color": "#b58b2a", "font_size": 24, "flags": {} }, @@ -267,22 +283,22 @@ "bounding": [ 421, 314, - 677, - 334 + 684, + 343 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { - "title": "抠图结果", + "title": "根据文本抠图", "bounding": [ - 1490, - 308, - 642, - 341 + 1108, + 315, + 355, + 342 ], - "color": "#b58b2a", + "color": "#A88", "font_size": 24, "flags": {} } diff --git a/examples/bizyair_ultimate_sd_upscale.json b/examples/bizyair_ultimate_sd_upscale.json index eda7cb44..2181b60f 100644 --- a/examples/bizyair_ultimate_sd_upscale.json +++ b/examples/bizyair_ultimate_sd_upscale.json @@ -1,235 +1,167 @@ { "last_node_id": 74, - "last_link_id": 121, + "last_link_id": 124, "nodes": [ { - "id": 20, - "type": "BizyAir_CheckpointLoaderSimple", - "pos": [ - 1163, - 94 - ], - "size": { - "0": 424.94708251953125, - "1": 98 + "id": 34, + "type": "Reroute", + "pos": { + "0": 2863.62890625, + "1": 1301.456787109375 }, + "size": [ + 75, + 26 + ], "flags": {}, - "order": 0, + "order": 9, "mode": 0, - "outputs": [ - { - "name": "model", - "type": "BIZYAIR_MODEL", - "links": [ - 40, - 114 - ], - "slot_index": 0, - "shape": 3 - }, - { - "name": "clip", - "type": "BIZYAIR_CLIP", - "links": [ - 112, - 113 - ], - "slot_index": 1, - "shape": 3 - }, + "inputs": [ { - "name": "vae", - "type": "BIZYAIR_VAE", - "links": [ - 36, - 119 - ], - "slot_index": 2, - "shape": 3 + "name": "", + "type": "*", + "link": 120, + "label": "" } ], - "properties": { - "Node name for S&R": "BizyAir_CheckpointLoaderSimple" - }, - "widgets_values": [ - "sd15/dreamshaper_8.safetensors" - ] - }, - { - "id": 23, - "type": "BizyAir_UpscaleModelLoader", - "pos": [ - 1632, - -125 - ], - "size": { - "0": 368.3330383300781, - "1": 58 - }, - "flags": {}, - "order": 1, - "mode": 0, "outputs": [ { - "name": "BIZYAIR_UPSCALE_MODEL", - "type": "BIZYAIR_UPSCALE_MODEL", + "name": "", + "type": "IMAGE", "links": [ - 35 + 123, + 124 ], "slot_index": 0, - "shape": 3 + "label": "" } ], "properties": { - "Node name for S&R": "BizyAir_UpscaleModelLoader" + "showOutputText": false, + "horizontal": false }, - "widgets_values": [ - "4x_NMKD-Siax_200k.pth" - ] + "shape": 1 }, { - "id": 29, - "type": "BizyAir_ControlNetApply", - "pos": [ - 1631, - -268 - ], - "size": { - "0": 376.3231506347656, - "1": 98 + "id": 71, + "type": "BizyAir_KSampler", + "pos": { + "0": 2058.044921875, + "1": 1281.7850341796875 }, + "size": [ + 476.4699273598344, + 789.1182149983629 + ], "flags": {}, - "order": 11, + "order": 7, "mode": 0, "inputs": [ { - "name": "conditioning", + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 114, + "label": "model" + }, + { + "name": "positive", "type": "BIZYAIR_CONDITIONING", - "link": 38 + "link": 115, + "label": "positive" }, { - "name": "control_net", - "type": "BIZYAIR_CONTROL_NET", - "link": 46 + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 116, + "label": "negative" }, { - "name": "image", - "type": "IMAGE", - "link": 44 + "name": "latent_image", + "type": "LATENT", + "link": 117, + "label": "latent_image" } ], "outputs": [ { - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", + "name": "LATENT", + "type": "LATENT", "links": [ - 37 + 118 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "LATENT" } ], "properties": { - "Node name for S&R": "BizyAir_ControlNetApply" + "Node name for S&R": "BizyAir_KSampler" }, "widgets_values": [ - 0.36 - ] + 2280177143225, + "randomize", + 28, + 23.400000000000002, + "euler", + "normal", + 1 + ], + "shape": 1 }, { - "id": 31, - "type": "BizyAir_UltimateSDUpscale", - "pos": [ - 2036, - -276 - ], - "size": { - "0": 334.83624267578125, - "1": 782.2352905273438 + "id": 32, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": 1462.067138671875, + "1": 1296.484130859375 }, + "size": [ + 523.2638005629594, + 391.76194231867566 + ], "flags": {}, - "order": 12, + "order": 5, "mode": 0, "inputs": [ { - "name": "image", - "type": "IMAGE", - "link": 43 - }, - { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 40 - }, - { - "name": "positive", - "type": "BIZYAIR_CONDITIONING", - "link": 37 - }, - { - "name": "negative", - "type": "BIZYAIR_CONDITIONING", - "link": 39 - }, - { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 36 - }, - { - "name": "upscale_model", - "type": "BIZYAIR_UPSCALE_MODEL", - "link": 35 + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 112, + "label": "clip" } ], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 45 + 38, + 115 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_UltimateSDUpscale" + "Node name for S&R": "BizyAir_CLIPTextEncode" }, "widgets_values": [ - 4, - 332, - "increment", - 20, - 8, - "euler", - "normal", - 0.2, - "Linear", - 512, - 512, - 8, - 32, - "None", - 1, - 64, - 8, - 16, - true, - false - ] + "A cute cartoon-style kitten" + ], + "shape": 1 }, { "id": 33, "type": "BizyAir_CLIPTextEncode", - "pos": [ - 1160, - -90 - ], - "size": { - "0": 431.5721130371094, - "1": 128.96624755859375 + "pos": { + "0": 1460, + "1": 1731 }, + "size": [ + 518.2446952348344, + 341.6748101780504 + ], "flags": {}, "order": 6, "mode": 0, @@ -237,7 +169,8 @@ { "name": "clip", "type": "BIZYAIR_CLIP", - "link": 113 + "link": 122, + "label": "clip" } ], "outputs": [ @@ -249,7 +182,8 @@ 116 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "CONDITIONING" } ], "properties": { @@ -257,218 +191,323 @@ }, "widgets_values": [ "BadDream, (UnrealisticDream:1.3)" - ] + ], + "shape": 1 }, { - "id": 71, - "type": "BizyAir_KSampler", - "pos": [ - 1630, - 118 - ], - "size": { - "0": 376.6318054199219, - "1": 381.6271057128906 + "id": 72, + "type": "EmptyLatentImage", + "pos": { + "0": 1670.8974609375, + "1": 2284.794921875 }, + "size": [ + 366.85576658583454, + 301.64821462604914 + ], "flags": {}, - "order": 7, + "order": 0, "mode": 0, - "inputs": [ - { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 114 - }, - { - "name": "positive", - "type": "BIZYAIR_CONDITIONING", - "link": 115 - }, - { - "name": "negative", - "type": "BIZYAIR_CONDITIONING", - "link": 116 - }, - { - "name": "latent_image", - "type": "LATENT", - "link": 117 - } - ], + "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ - 118 + 117 ], "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { - "Node name for S&R": "BizyAir_KSampler" + "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ - 594242731533029, - "randomize", - 20, - 8, - "euler", - "normal", + 256, + 256, 1 - ] + ], + "shape": 1 }, { - "id": 34, - "type": "Reroute", - "pos": [ - 1767, - 12 + "id": 24, + "type": "BizyAir_ControlNetLoader", + "pos": { + "0": 2616.62890625, + "1": 1308.456787109375 + }, + "size": [ + 378.9504546408334, + 319.4621360760507 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "BIZYAIR_CONTROL_NET", + "links": [ + 46 + ], + "slot_index": 0, + "shape": 3, + "label": "CONTROL_NET" + } + ], + "properties": { + "Node name for S&R": "BizyAir_ControlNetLoader" + }, + "widgets_values": [ + "sd15/control_v11f1e_sd15_tile.pth" ], + "shape": 1 + }, + { + "id": 73, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 2625.62890625, + "1": 1709.456787109375 + }, "size": [ - 75, - 26 + 368.17889364083294, + 309.97711707605004 ], "flags": {}, - "order": 9, + "order": 8, "mode": 0, "inputs": [ { - "name": "", - "type": "*", - "link": 120 + "name": "samples", + "type": "LATENT", + "link": 118, + "label": "samples" + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 119, + "label": "vae" } ], "outputs": [ { - "name": "", + "name": "IMAGE", "type": "IMAGE", "links": [ - 43, - 44 + 120, + 121 ], - "slot_index": 0 + "slot_index": 0, + "shape": 3, + "label": "IMAGE" } ], "properties": { - "showOutputText": false, - "horizontal": false - } + "Node name for S&R": "BizyAir_VAEDecode" + }, + "widgets_values": [], + "shape": 1 }, { - "id": 24, - "type": "BizyAir_ControlNetLoader", - "pos": [ - 1649, - -34 - ], - "size": { - "0": 362.76934814453125, - "1": 63.50208282470703 + "id": 23, + "type": "BizyAir_UpscaleModelLoader", + "pos": { + "0": 3030.62890625, + "1": 1695.456787109375 }, + "size": [ + 422.0131926408326, + 320.43399507605 + ], "flags": {}, "order": 2, "mode": 0, + "inputs": [], "outputs": [ { - "name": "CONTROL_NET", - "type": "BIZYAIR_CONTROL_NET", + "name": "BIZYAIR_UPSCALE_MODEL", + "type": "BIZYAIR_UPSCALE_MODEL", "links": [ - 46 + 35 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "BIZYAIR_UPSCALE_MODEL" } ], "properties": { - "Node name for S&R": "BizyAir_ControlNetLoader" + "Node name for S&R": "BizyAir_UpscaleModelLoader" }, "widgets_values": [ - "sd15/control_v11f1e_sd15_tile.pth" - ] + "4x_NMKD-Siax_200k.pth" + ], + "shape": 1 }, { - "id": 73, - "type": "BizyAir_VAEDecode", - "pos": [ - 2397, - -17 - ], - "size": { - "0": 210, - "1": 46 + "id": 29, + "type": "BizyAir_ControlNetApply", + "pos": { + "0": 3019.62890625, + "1": 1329.456787109375 }, + "size": [ + 406.4397776408323, + 293.1474530760506 + ], "flags": {}, - "order": 8, + "order": 11, "mode": 0, "inputs": [ { - "name": "samples", - "type": "LATENT", - "link": 118 + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 38, + "label": "conditioning" }, { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 119 + "name": "control_net", + "type": "BIZYAIR_CONTROL_NET", + "link": 46, + "label": "control_net" + }, + { + "name": "image", + "type": "IMAGE", + "link": 124, + "label": "image" } ], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 120, - 121 + 37 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_VAEDecode" - } + "Node name for S&R": "BizyAir_ControlNetApply" + }, + "widgets_values": [ + 0.36 + ], + "shape": 1 }, { - "id": 74, - "type": "PreviewImage", - "pos": [ - 2400, - 83 - ], + "id": 31, + "type": "BizyAir_UltimateSDUpscale", + "pos": { + "0": 3467.62890625, + "1": 1337.456787109375 + }, "size": [ - 205.15975371028344, - 246 + 460.16217464083184, + 677.0330680760499 ], "flags": {}, - "order": 10, + "order": 12, "mode": 0, "inputs": [ { - "name": "images", + "name": "image", + "type": "IMAGE", + "link": 123, + "label": "image" + }, + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 40, + "label": "model" + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 37, + "label": "positive" + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 39, + "label": "negative" + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 36, + "label": "vae" + }, + { + "name": "upscale_model", + "type": "BIZYAIR_UPSCALE_MODEL", + "link": 35, + "label": "upscale_model" + } + ], + "outputs": [ + { + "name": "IMAGE", "type": "IMAGE", - "link": 121 + "links": [ + 45 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" } ], "properties": { - "Node name for S&R": "PreviewImage" - } + "Node name for S&R": "BizyAir_UltimateSDUpscale" + }, + "widgets_values": [ + 4, + 333, + "increment", + 20, + 8, + "euler", + "normal", + 0.2, + "Linear", + 512, + 512, + 8, + 32, + "None", + 1, + 64, + 8, + 16, + true, + false + ], + "shape": 1 }, { "id": 70, "type": "Note", - "pos": [ - 2387, - -275 - ], + "pos": { + "0": 1080, + "1": 997 + }, "size": { - "0": 235.7595672607422, - "1": 59.88801956176758 + "0": 350, + "1": 80 }, "flags": {}, "order": 3, "mode": 0, + "inputs": [], + "outputs": [], "properties": { "text": "" }, @@ -479,102 +518,120 @@ "bgcolor": "#533" }, { - "id": 72, - "type": "EmptyLatentImage", - "pos": [ - 2394, - -170 - ], - "size": { - "0": 217.75877380371094, - "1": 106 + "id": 20, + "type": "BizyAir_CheckpointLoaderSimple", + "pos": { + "0": 838, + "1": 1398 }, + "size": [ + 394.738435637835, + 228.69049228905033 + ], "flags": {}, "order": 4, "mode": 0, + "inputs": [], "outputs": [ { - "name": "LATENT", - "type": "LATENT", + "name": "model", + "type": "BIZYAIR_MODEL", "links": [ - 117 + 40, + 114 + ], + "slot_index": 0, + "shape": 3, + "label": "model" + }, + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "links": [ + 112, + 122 + ], + "slot_index": 1, + "shape": 3, + "label": "clip" + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 36, + 119 ], - "shape": 3 + "slot_index": 2, + "shape": 3, + "label": "vae" } ], "properties": { - "Node name for S&R": "EmptyLatentImage" + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" }, "widgets_values": [ - 256, - 256, - 1 - ] + "sd15/dreamshaper_8.safetensors" + ], + "shape": 1 }, { - "id": 32, - "type": "BizyAir_CLIPTextEncode", - "pos": [ - 1159, - -260 - ], + "id": 35, + "type": "PreviewImage", + "pos": { + "0": 3977, + "1": 1308 + }, "size": [ - 436.08917236328125, - 119.45609283447266 + 384.1164705218389, + 651.3786606751087 ], "flags": {}, - "order": 5, + "order": 13, "mode": 0, "inputs": [ { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 112 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", - "links": [ - 38, - 115 - ], - "slot_index": 0, - "shape": 3 + "name": "images", + "type": "IMAGE", + "link": 45, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "A cute cartoon-style kitten" - ] + "widgets_values": [], + "shape": 1 }, { - "id": 35, + "id": 74, "type": "PreviewImage", - "pos": [ - 2640, - -285 - ], - "size": [ - 546.4706729458721, - 822.0550960809123 - ], + "pos": { + "0": 2792, + "1": 2411 + }, + "size": { + "0": 420, + "1": 310 + }, "flags": {}, - "order": 13, + "order": 10, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 45 + "link": 121, + "label": "images" } ], + "outputs": [], "properties": { "Node name for S&R": "PreviewImage" - } + }, + "widgets_values": [], + "shape": 1 } ], "links": [ @@ -626,22 +683,6 @@ 1, "BIZYAIR_MODEL" ], - [ - 43, - 34, - 0, - 31, - 0, - "IMAGE" - ], - [ - 44, - 34, - 0, - 29, - 2, - "IMAGE" - ], [ 45, 31, @@ -666,14 +707,6 @@ 0, "BIZYAIR_CLIP" ], - [ - 113, - 20, - 1, - 33, - 0, - "BIZYAIR_CLIP" - ], [ 114, 20, @@ -737,16 +770,125 @@ 74, 0, "IMAGE" + ], + [ + 122, + 20, + 1, + 33, + 0, + "BIZYAIR_CLIP" + ], + [ + 123, + 34, + 0, + 31, + 0, + "IMAGE" + ], + [ + 124, + 34, + 0, + 29, + 2, + "IMAGE" ] ], - "groups": [], + "groups": [ + { + "title": "中间预览图", + "bounding": [ + 2723, + 2300, + 514, + 493 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "title": "垫图", + "bounding": [ + 1635, + 2180, + 427, + 440 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + 2573, + 1205, + 1359, + 876 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + 1433, + 1206, + 586, + 880 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 2022, + 1207, + 546, + 876 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "模型加载", + "bounding": [ + 812, + 1327, + 448, + 333 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 3933, + 1206, + 465, + 874 + ], + "color": "#444", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 0.5209868481924634, + "scale": 0.6209213230591555, "offset": [ - -120.17422216905288, - 1128.5739461319354 + -1481.506874911841, + -1060.7462908751118 ] } }, From 03b2b5c316af8e06a0b0bb092057cd7ee275a5ae Mon Sep 17 00:00:00 2001 From: caylaxiao <157781916+caylaxiao@users.noreply.github.com> Date: Mon, 28 Oct 2024 17:01:25 +0800 Subject: [PATCH 5/7] modified sd3_5_txt2img (#189) --- examples/bizyair_sd3_5_txt2img.json | 828 ++++++++++++++-------------- 1 file changed, 414 insertions(+), 414 deletions(-) diff --git a/examples/bizyair_sd3_5_txt2img.json b/examples/bizyair_sd3_5_txt2img.json index 7688cbea..e08bbc3a 100644 --- a/examples/bizyair_sd3_5_txt2img.json +++ b/examples/bizyair_sd3_5_txt2img.json @@ -1,30 +1,83 @@ { "last_node_id": 318, - "last_link_id": 626, + "last_link_id": 627, "nodes": [ { - "id": 302, - "type": "BizyAir_CheckpointLoaderSimple", + "id": 105, + "type": "Note", "pos": { - "0": -576, - "1": 152, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": -528, + "1": -261 }, "size": { - "0": 315, - "1": 98 + "0": 210, + "1": 110.18948364257812 }, "flags": {}, "order": 0, "mode": 0, "inputs": [], + "outputs": [], + "properties": { + "text": "" + }, + "widgets_values": [ + "Make sure the resolution is multiple of 64 pixels and adds up to around 1 megapixel. " + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 303, + "type": "BizyAir_TripleCLIPLoader", + "pos": { + "0": -1142, + "1": 449 + }, + "size": [ + 349.3921858350384, + 202.23654626210953 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 627 + ], + "slot_index": 0, + "shape": 3, + "label": "BIZYAIR_CLIP" + } + ], + "properties": { + "Node name for S&R": "BizyAir_TripleCLIPLoader" + }, + "widgets_values": [ + "clip_l.safetensors", + "clip_g.safetensors", + "t5xxl_fp16.safetensors" + ] + }, + { + "id": 302, + "type": "BizyAir_CheckpointLoaderSimple", + "pos": { + "0": -1143, + "1": 214 + }, + "size": [ + 350.8562858350384, + 187.94204626210978 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], "outputs": [ { "name": "model", @@ -32,14 +85,16 @@ "links": [ 617 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "model" }, { "name": "clip", "type": "BIZYAIR_CLIP", "links": null, - "shape": 3 + "shape": 3, + "label": "clip" }, { "name": "vae", @@ -47,8 +102,9 @@ "links": [ 619 ], + "slot_index": 2, "shape": 3, - "slot_index": 2 + "label": "vae" } ], "properties": { @@ -62,29 +118,22 @@ "id": 316, "type": "Reroute", "pos": { - "0": -574, - "1": 656, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": -772, + "1": 741 }, "size": [ 75, 26 ], "flags": {}, - "order": 5, + "order": 4, "mode": 0, "inputs": [ { "name": "", "type": "*", - "link": 623 + "link": 627, + "label": "" } ], "outputs": [ @@ -95,7 +144,8 @@ 624, 625 ], - "slot_index": 0 + "slot_index": 0, + "label": "" } ], "properties": { @@ -104,259 +154,134 @@ } }, { - "id": 307, - "type": "BizyAir_ConditioningZeroOut", + "id": 304, + "type": "BizyAir_CLIPTextEncode", "pos": { - "0": -562, - "1": 595, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": -752.07177734375, + "1": 213 }, "size": [ - 330.8026697243233, - 26 + 371.80428583503794, + 169.6933462621098 ], "flags": {}, - "order": 8, + "order": 7, "mode": 0, "inputs": [ { - "name": "conditioning", - "type": "BIZYAIR_CONDITIONING", - "link": 609 + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 625, + "label": "clip" } ], "outputs": [ { - "name": "BIZYAIR_CONDITIONING", + "name": "CONDITIONING", "type": "BIZYAIR_CONDITIONING", "links": [ - 610 + 615 ], "slot_index": 0, - "shape": 3 - } - ], - "properties": { - "Node name for S&R": "BizyAir_ConditioningZeroOut" - } - }, - { - "id": 312, - "type": "BizyAir_ModelSamplingSD3", - "pos": { - "0": -157, - "1": 152, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 327.5999755859375, - "1": 58 - }, - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "BIZYAIR_MODEL", - "link": 617 - } - ], - "outputs": [ - { - "name": "BIZYAIR_MODEL", - "type": "BIZYAIR_MODEL", - "links": [ - 616 - ], "shape": 3, - "slot_index": 0 + "label": "CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_ModelSamplingSD3" + "Node name for S&R": "BizyAir_CLIPTextEncode" }, "widgets_values": [ - 3 + "insulated cup nestled within, displaying the text 'bizyair' in bold letters. The surrounding area is a simple, pure canvas with no additional distractions, highlighting the central theme of the product. Ensure the overall composition is both elegant and serene, with attention to detail in both the cup and the background." ] }, { - "id": 308, - "type": "BizyAir_ConditioningSetTimestepRange", + "id": 306, + "type": "BizyAir_CLIPTextEncode", "pos": { - "0": -161, - "1": 273, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 319.20001220703125, - "1": 82 + "0": -752.07177734375, + "1": 446 }, - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "conditioning", - "type": "BIZYAIR_CONDITIONING", - "link": 610 - } - ], - "outputs": [ - { - "name": "BIZYAIR_CONDITIONING", - "type": "BIZYAIR_CONDITIONING", - "links": [ - 612 - ], - "slot_index": 0, - "shape": 3 - } + "size": [ + 371.80428583503794, + 207.5518462621095 ], - "properties": { - "Node name for S&R": "BizyAir_ConditioningSetTimestepRange" - }, - "widgets_values": [ - 0.1, - 1 - ] - }, - { - "id": 309, - "type": "BizyAir_ConditioningSetTimestepRange", - "pos": { - "0": -166, - "1": 434, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 319.20001220703125, - "1": 82 - }, "flags": {}, - "order": 9, + "order": 6, "mode": 0, "inputs": [ { - "name": "conditioning", - "type": "BIZYAIR_CONDITIONING", - "link": 611 + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 624, + "label": "clip" } ], "outputs": [ { - "name": "BIZYAIR_CONDITIONING", + "name": "CONDITIONING", "type": "BIZYAIR_CONDITIONING", "links": [ - 613 + 609, + 611 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_ConditioningSetTimestepRange" + "Node name for S&R": "BizyAir_CLIPTextEncode" }, "widgets_values": [ - 0, - 0.1 + "" ] }, { - "id": 310, - "type": "BizyAir_ConditioningCombine", + "id": 135, + "type": "EmptySD3LatentImage", "pos": { - "0": -146, - "1": 560, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 501.7686767578125, + "1": 924.4931640625 }, "size": [ - 295.6000061035156, - 48.88832420898143 + 447.37248583503685, + 138.00764626210912 ], "flags": {}, - "order": 11, + "order": 3, "mode": 0, - "inputs": [ - { - "name": "conditioning_1", - "type": "BIZYAIR_CONDITIONING", - "link": 612 - }, - { - "name": "conditioning_2", - "type": "BIZYAIR_CONDITIONING", - "link": 613 - } - ], + "inputs": [], "outputs": [ { - "name": "BIZYAIR_CONDITIONING", - "type": "BIZYAIR_CONDITIONING", + "name": "LATENT", + "type": "LATENT", "links": [ - 614 + 622 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "LATENT" } ], "properties": { - "Node name for S&R": "BizyAir_ConditioningCombine" - } + "Node name for S&R": "EmptySD3LatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] }, { "id": 311, "type": "BizyAir_KSampler", "pos": { - "0": 212, - "1": 154, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 903, + "1": 209 }, "size": [ - 414.3464250291672, - 341.17207635187214 + 434.5654278350364, + 443.3659252621095 ], "flags": {}, "order": 12, @@ -365,22 +290,26 @@ { "name": "model", "type": "BIZYAIR_MODEL", - "link": 616 + "link": 616, + "label": "model" }, { "name": "positive", "type": "BIZYAIR_CONDITIONING", - "link": 615 + "link": 615, + "label": "positive" }, { "name": "negative", "type": "BIZYAIR_CONDITIONING", - "link": 614 + "link": 614, + "label": "negative" }, { "name": "latent_image", "type": "LATENT", - "link": 622 + "link": 622, + "label": "latent_image" } ], "outputs": [ @@ -390,8 +319,9 @@ "links": [ 620 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "LATENT" } ], "properties": { @@ -408,301 +338,286 @@ ] }, { - "id": 314, - "type": "BizyAir_VAEDecode", + "id": 312, + "type": "BizyAir_ModelSamplingSD3", "pos": { - "0": 213, - "1": 546, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 546, + "1": 208 }, "size": [ - 410.82029954369864, - 46 + 336.2742508350368, + 440.8228032621096 ], "flags": {}, - "order": 13, + "order": 5, "mode": 0, "inputs": [ { - "name": "samples", - "type": "LATENT", - "link": 620 - }, - { - "name": "vae", - "type": "BIZYAIR_VAE", - "link": 619 + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 617, + "label": "model" } ], "outputs": [ { - "name": "IMAGE", - "type": "IMAGE", + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", "links": [ - 621 + 616 ], + "slot_index": 0, "shape": 3, - "slot_index": 0 + "label": "BIZYAIR_MODEL" } ], "properties": { - "Node name for S&R": "BizyAir_VAEDecode" - } + "Node name for S&R": "BizyAir_ModelSamplingSD3" + }, + "widgets_values": [ + 3 + ] }, { - "id": 135, - "type": "EmptySD3LatentImage", + "id": 308, + "type": "BizyAir_ConditioningSetTimestepRange", "pos": { - "0": 184, - "1": 662, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 79, + "1": 202 }, "size": [ - 429.6782662645969, - 120.64879714988001 + 411.5821468350374, + 165.31709226210978 ], "flags": {}, - "order": 1, + "order": 10, "mode": 0, - "inputs": [], + "inputs": [ + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 610, + "label": "conditioning" + } + ], "outputs": [ { - "name": "LATENT", - "type": "LATENT", + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 622 + 612 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "BIZYAIR_CONDITIONING" } ], "properties": { - "Node name for S&R": "EmptySD3LatentImage" + "Node name for S&R": "BizyAir_ConditioningSetTimestepRange" }, "widgets_values": [ - 1024, - 1024, + 0.1, 1 ] }, { - "id": 105, - "type": "Note", + "id": 307, + "type": "BizyAir_ConditioningZeroOut", "pos": { - "0": -80, - "1": 667, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 210, - "1": 110.18948364257812 + "0": -334, + "1": 216 }, + "size": [ + 397.8690198350379, + 168.9161652621098 + ], "flags": {}, - "order": 2, + "order": 8, "mode": 0, - "inputs": [], - "outputs": [], + "inputs": [ + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 609, + "label": "conditioning" + } + ], + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 610 + ], + "slot_index": 0, + "shape": 3, + "label": "BIZYAIR_CONDITIONING" + } + ], "properties": { - "text": "" + "Node name for S&R": "BizyAir_ConditioningZeroOut" }, - "widgets_values": [ - "Make sure the resolution is multiple of 64 pixels and adds up to around 1 megapixel. " - ], - "color": "#432", - "bgcolor": "#653" + "widgets_values": [] }, { - "id": 303, - "type": "BizyAir_TripleCLIPLoader", + "id": 309, + "type": "BizyAir_ConditioningSetTimestepRange", "pos": { - "0": -559, - "1": 691, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 - }, - "size": { - "0": 327.5999755859375, - "1": 106 + "0": -345, + "1": 441 }, + "size": [ + 417.6708738350378, + 193.65031526210953 + ], "flags": {}, - "order": 3, + "order": 9, "mode": 0, - "inputs": [], + "inputs": [ + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 611, + "label": "conditioning" + } + ], "outputs": [ { - "name": "BIZYAIR_CLIP", - "type": "BIZYAIR_CLIP", + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", "links": [ - 623 + 613 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "BIZYAIR_CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_TripleCLIPLoader" + "Node name for S&R": "BizyAir_ConditioningSetTimestepRange" }, "widgets_values": [ - "clip_l.safetensors", - "clip_g.safetensors", - "t5xxl_fp16.safetensors" + 0, + 0.1 ] }, { - "id": 315, - "type": "PreviewImage", + "id": 314, + "type": "BizyAir_VAEDecode", "pos": { - "0": 678, - "1": 131, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 1365, + "1": 204 }, "size": [ - 1013.231539037605, - 1031.6655356407784 + 384.5049073090354, + 445.58634605310954 ], "flags": {}, - "order": 14, + "order": 13, "mode": 0, "inputs": [ { - "name": "images", + "name": "samples", + "type": "LATENT", + "link": 620, + "label": "samples" + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 619, + "label": "vae" + } + ], + "outputs": [ + { + "name": "IMAGE", "type": "IMAGE", - "link": 621 + "links": [ + 621 + ], + "slot_index": 0, + "shape": 3, + "label": "IMAGE" } ], - "outputs": [], "properties": { - "Node name for S&R": "PreviewImage" - } + "Node name for S&R": "BizyAir_VAEDecode" + }, + "widgets_values": [] }, { - "id": 306, - "type": "BizyAir_CLIPTextEncode", + "id": 315, + "type": "PreviewImage", "pos": { - "0": -569, - "1": 448, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 1795.1552734375, + "1": 206.81385803222656 }, "size": [ - 338.0171946891671, - 76 + 442.1656938715346, + 429.88840802088293 ], "flags": {}, - "order": 6, + "order": 14, "mode": 0, "inputs": [ { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 624 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "BIZYAIR_CONDITIONING", - "links": [ - 609, - 611 - ], - "slot_index": 0, - "shape": 3 + "name": "images", + "type": "IMAGE", + "link": 621, + "label": "images" } ], + "outputs": [], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" + "Node name for S&R": "PreviewImage" }, - "widgets_values": [ - "" - ] + "widgets_values": [] }, { - "id": 304, - "type": "BizyAir_CLIPTextEncode", + "id": 310, + "type": "BizyAir_ConditioningCombine", "pos": { - "0": -572, - "1": 309, - "2": 0, - "3": 0, - "4": 0, - "5": 0, - "6": 0, - "7": 0, - "8": 0, - "9": 0 + "0": 99, + "1": 419 }, "size": [ - 343.6167902699452, - 92.59419942758745 + 404.8130975890364, + 219.58656275310932 ], "flags": {}, - "order": 7, + "order": 11, "mode": 0, "inputs": [ { - "name": "clip", - "type": "BIZYAIR_CLIP", - "link": 625 + "name": "conditioning_1", + "type": "BIZYAIR_CONDITIONING", + "link": 612, + "label": "conditioning_1" + }, + { + "name": "conditioning_2", + "type": "BIZYAIR_CONDITIONING", + "link": 613, + "label": "conditioning_2" } ], "outputs": [ { - "name": "CONDITIONING", + "name": "BIZYAIR_CONDITIONING", "type": "BIZYAIR_CONDITIONING", "links": [ - 615 + 614 ], "slot_index": 0, - "shape": 3 + "shape": 3, + "label": "BIZYAIR_CONDITIONING" } ], "properties": { - "Node name for S&R": "BizyAir_CLIPTextEncode" + "Node name for S&R": "BizyAir_ConditioningCombine" }, - "widgets_values": [ - "insulated cup nestled within, displaying the text 'bizyair' in bold letters. The surrounding area is a simple, pure canvas with no additional distractions, highlighting the central theme of the product. Ensure the overall composition is both elegant and serene, with attention to detail in both the cup and the background." - ] + "widgets_values": [] } ], "links": [ @@ -810,14 +725,6 @@ 3, "LATENT" ], - [ - 623, - 303, - 0, - 316, - 0, - "*" - ], [ 624, 316, @@ -833,16 +740,109 @@ 304, 0, "BIZYAIR_CLIP" + ], + [ + 627, + 303, + 0, + 316, + 0, + "*" ] ], - "groups": [], + "groups": [ + { + "title": "VAE", + "bounding": [ + 1347, + 124, + 417, + 550 + ], + "color": "#b06634", + "font_size": 24, + "flags": {} + }, + { + "title": "垫图", + "bounding": [ + 484, + 845, + 476, + 238 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "title": "反向提示词参与作图权重", + "bounding": [ + -363, + 125, + 886, + 550 + ], + "color": "#88A", + "font_size": 24, + "flags": {} + }, + { + "title": "提示词", + "bounding": [ + -772, + 125, + 409, + 549 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "title": "模型", + "bounding": [ + -1161, + 125, + 386, + 549 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "采样器", + "bounding": [ + 524, + 125, + 822, + 549 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "title": "预览图", + "bounding": [ + 1766, + 124, + 495, + 548 + ], + "color": "#444", + "font_size": 24, + "flags": {} + } + ], "config": {}, "extra": { "ds": { - "scale": 0.4240976183724853, + "scale": 0.564473930053778, "offset": [ - 1390.5504319089619, - 569.5428869938895 + 572.617965700961, + 290.0782754248898 ] } }, From 2692b782455f4b77ce6cac2ea5fdc4397c826faa Mon Sep 17 00:00:00 2001 From: Zjtt <117345396+iYingg@users.noreply.github.com> Date: Mon, 28 Oct 2024 17:19:28 +0800 Subject: [PATCH 6/7] add examples to docs (#190) Co-authored-by: Yao Chi --- ...anime_image_super_resolution_workflow.json | 139 ++ ...yair_controlnet_preprocessor_workflow.json | 2045 +++++++++++++++++ .../bizyair_controlnet_union_workflow.json | 361 +++ .../examples/bizyair_flux_dev_workflow.json | 569 +++++ .../bizyair_flux_img2img_workflow.json | 634 +++++ ...yair_flux_joycaption_img2img_workflow.json | 700 ++++++ docs/docs/examples/bizyair_flux_pulid.json | 1111 +++++++++ .../bizyair_flux_schnell_workflow.json | 569 +++++ .../bizyair_flux_simple_lora_workflow.json | 656 ++++++ ...nerate_photorealistic_images_workflow.json | 91 + .../examples/bizyair_kolors_controlnet.json | 645 ++++++ .../examples/bizyair_kolors_inpainting.json | 601 +++++ docs/docs/examples/bizyair_kolors_ipa.json | 626 +++++ .../docs/examples/bizyair_kolors_txt2img.json | 393 ++++ .../bizyair_remove_background_workflow.json | 142 ++ docs/docs/examples/bizyair_sd3_5_txt2img.json | 850 +++++++ .../bizyair_sdxl_InstantID_basic.json | 814 +++++++ .../bizyair_showcase_interior_design.json | 312 +++ .../bizyair_showcase_ksampler_controlnet.json | 551 +++++ .../bizyair_showcase_ksampler_img2img.json | 469 ++++ .../bizyair_showcase_ksampler_ipadapter.json | 718 ++++++ .../bizyair_showcase_ksampler_lora.json | 478 ++++ .../bizyair_showcase_ksampler_txt2img.json | 406 ++++ ...ir_showcase_realistic_superresolution.json | 169 ++ .../bizyair_showcase_remove_background.json | 199 ++ .../bizyair_showcase_shark_submarine.json | 320 +++ .../bizyair_text_guided_segment-anything.json | 301 +++ .../examples/bizyair_ultimate_sd_upscale.json | 754 ++++++ 28 files changed, 15623 insertions(+) create mode 100644 docs/docs/examples/bizyair_anime_image_super_resolution_workflow.json create mode 100644 docs/docs/examples/bizyair_controlnet_preprocessor_workflow.json create mode 100644 docs/docs/examples/bizyair_controlnet_union_workflow.json create mode 100644 docs/docs/examples/bizyair_flux_dev_workflow.json create mode 100644 docs/docs/examples/bizyair_flux_img2img_workflow.json create mode 100644 docs/docs/examples/bizyair_flux_joycaption_img2img_workflow.json create mode 100644 docs/docs/examples/bizyair_flux_pulid.json create mode 100644 docs/docs/examples/bizyair_flux_schnell_workflow.json create mode 100644 docs/docs/examples/bizyair_flux_simple_lora_workflow.json create mode 100644 docs/docs/examples/bizyair_generate_photorealistic_images_workflow.json create mode 100644 docs/docs/examples/bizyair_kolors_controlnet.json create mode 100644 docs/docs/examples/bizyair_kolors_inpainting.json create mode 100644 docs/docs/examples/bizyair_kolors_ipa.json create mode 100644 docs/docs/examples/bizyair_kolors_txt2img.json create mode 100644 docs/docs/examples/bizyair_remove_background_workflow.json create mode 100644 docs/docs/examples/bizyair_sd3_5_txt2img.json create mode 100644 docs/docs/examples/bizyair_sdxl_InstantID_basic.json create mode 100644 docs/docs/examples/bizyair_showcase_interior_design.json create mode 100644 docs/docs/examples/bizyair_showcase_ksampler_controlnet.json create mode 100644 docs/docs/examples/bizyair_showcase_ksampler_img2img.json create mode 100644 docs/docs/examples/bizyair_showcase_ksampler_ipadapter.json create mode 100644 docs/docs/examples/bizyair_showcase_ksampler_lora.json create mode 100644 docs/docs/examples/bizyair_showcase_ksampler_txt2img.json create mode 100644 docs/docs/examples/bizyair_showcase_realistic_superresolution.json create mode 100644 docs/docs/examples/bizyair_showcase_remove_background.json create mode 100644 docs/docs/examples/bizyair_showcase_shark_submarine.json create mode 100644 docs/docs/examples/bizyair_text_guided_segment-anything.json create mode 100644 docs/docs/examples/bizyair_ultimate_sd_upscale.json diff --git a/docs/docs/examples/bizyair_anime_image_super_resolution_workflow.json b/docs/docs/examples/bizyair_anime_image_super_resolution_workflow.json new file mode 100644 index 00000000..6eb43e0e --- /dev/null +++ b/docs/docs/examples/bizyair_anime_image_super_resolution_workflow.json @@ -0,0 +1,139 @@ +{ + "last_node_id": 35, + "last_link_id": 47, + "nodes": [ + { + "id": 34, + "type": "BizyAirSuperResolution", + "pos": [ + 2158, + 623 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 46 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 47 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirSuperResolution" + }, + "widgets_values": [ + "2x" + ] + }, + { + "id": 33, + "type": "LoadImage", + "pos": [ + 1830, + 614 + ], + "size": [ + 315, + 314 + ], + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 46 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "葫芦娃吐火.webp", + "image" + ] + }, + { + "id": 35, + "type": "PreviewImage", + "pos": [ + 2165, + 721 + ], + "size": [ + 321.3333740234375, + 364.0000305175781 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 47 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 46, + 33, + 0, + 34, + 0, + "IMAGE" + ], + [ + 47, + 34, + 0, + 35, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1, + "offset": { + "0": -918, + "1": -317.33331298828125 + } + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_controlnet_preprocessor_workflow.json b/docs/docs/examples/bizyair_controlnet_preprocessor_workflow.json new file mode 100644 index 00000000..2a56e42a --- /dev/null +++ b/docs/docs/examples/bizyair_controlnet_preprocessor_workflow.json @@ -0,0 +1,2045 @@ +{ + "last_node_id": 58, + "last_link_id": 48, + "nodes": [ + { + "id": 4, + "type": "BizyAirCannyEdgePreprocessor", + "pos": [ + 515, + 530 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 3 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 21 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirCannyEdgePreprocessor" + }, + "widgets_values": [ + 100, + 200, + 512 + ] + }, + { + "id": 5, + "type": "BizyAirSAMPreprocessor", + "pos": [ + 515, + 766 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 4 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 22 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirSAMPreprocessor" + }, + "widgets_values": [ + 512 + ] + }, + { + "id": 8, + "type": "BizyAirBinaryPreprocessor", + "pos": [ + 515, + 954 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 5 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 23 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirBinaryPreprocessor" + }, + "widgets_values": [ + 100, + 512 + ] + }, + { + "id": 9, + "type": "BizyAirScribblePreprocessor", + "pos": [ + 515, + 1166 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 6 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 24 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirScribblePreprocessor" + }, + "widgets_values": [ + "enable", + 512 + ] + }, + { + "id": 10, + "type": "BizyAirM_LSDPreprocessor", + "pos": [ + 515, + 1378 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 7 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 25 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirM_LSDPreprocessor" + }, + "widgets_values": [ + 0.1, + 0.1, + 512 + ] + }, + { + "id": 11, + "type": "BizyAirUniFormer_SemSegPreprocessor", + "pos": [ + 515, + 1614 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 8 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 26 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirUniFormer_SemSegPreprocessor" + }, + "widgets_values": [ + 512 + ] + }, + { + "id": 3, + "type": "BizyAirColorPreprocessor", + "pos": [ + 515, + 342 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 2 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 20 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirColorPreprocessor" + }, + "widgets_values": [ + 512 + ] + }, + { + "id": 2, + "type": "BizyAirPiDiNetPreprocessor", + "pos": [ + 515, + 130 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 19 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirPiDiNetPreprocessor" + }, + "widgets_values": [ + "enable", + 512 + ] + }, + { + "id": 1, + "type": "LoadImage", + "pos": [ + 100, + 130 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 38, + 40, + 42, + 44, + 46, + 48 + ], + "shape": 3 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "welcome_to_siliconflow.webp", + "image" + ] + }, + { + "id": 13, + "type": "BizyAirMiDaS_NormalMapPreprocessor", + "pos": [ + 86, + 531 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 10 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 28 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirMiDaS_NormalMapPreprocessor" + }, + "widgets_values": [ + 6.28, + 0.1, + 512 + ] + }, + { + "id": 14, + "type": "BizyAirMiDaS_DepthMapPreprocessor", + "pos": [ + 86, + 742 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 11 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 29 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirMiDaS_DepthMapPreprocessor" + }, + "widgets_values": [ + 6.15, + 1, + 512 + ] + }, + { + "id": 16, + "type": "BizyAirLineArtPreprocessor", + "pos": [ + 85, + 953 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 12 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 31 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirLineArtPreprocessor" + }, + "widgets_values": [ + "enable", + 512 + ] + }, + { + "id": 17, + "type": "BizyAirLeReS_DepthMapPreprocessor", + "pos": [ + 67, + 1115 + ], + "size": [ + 436.79998779296875, + 130 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 13 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 32 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirLeReS_DepthMapPreprocessor" + }, + "widgets_values": [ + 0, + 0, + "enable", + 512 + ] + }, + { + "id": 18, + "type": "BizyAirBAE_NormalMapPreprocessor", + "pos": [ + 77, + 1396 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 14 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 33 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirBAE_NormalMapPreprocessor" + }, + "widgets_values": [ + 512 + ] + }, + { + "id": 20, + "type": "BizyAirOneFormer_ADE20K_SemSegPreprocessor", + "pos": [ + 77, + 1738 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 16 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 35 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirOneFormer_ADE20K_SemSegPreprocessor" + }, + "widgets_values": [ + 512 + ] + }, + { + "id": 19, + "type": "BizyAirOneFormer_COCO_SemSegPreprocessor", + "pos": [ + 82, + 1590 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 15 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 34 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirOneFormer_COCO_SemSegPreprocessor" + }, + "widgets_values": [ + 512 + ] + }, + { + "id": 44, + "type": "BizyAirTilePreprocessor", + "pos": [ + 64, + 1872 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 38 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 39 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirTilePreprocessor" + }, + "widgets_values": [ + 3, + 512 + ] + }, + { + "id": 12, + "type": "BizyAirZoe_DepthMapPreprocessor", + "pos": [ + 513, + 1754 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 9 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 27 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirZoe_DepthMapPreprocessor" + }, + "widgets_values": [ + 512 + ] + }, + { + "id": 46, + "type": "BizyAirDepthAnythingV2Preprocessor", + "pos": [ + 492, + 1897 + ], + "size": { + "0": 319.20001220703125, + "1": 82 + }, + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 40 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 41 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirDepthAnythingV2Preprocessor" + }, + "widgets_values": [ + "depth_anything_v2_vitl.pth", + 512 + ] + }, + { + "id": 24, + "type": "PreviewImage", + "pos": [ + 851, + 131 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 19 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 29, + "type": "PreviewImage", + "pos": [ + 1100, + 132 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 23 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 33, + "type": "PreviewImage", + "pos": [ + 1347, + 138 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 27 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 38, + "type": "PreviewImage", + "pos": [ + 1589, + 141 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 32 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 25, + "type": "PreviewImage", + "pos": [ + 860, + 455 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 20 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 26, + "type": "PreviewImage", + "pos": [ + 868, + 771 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 21 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 27, + "type": "PreviewImage", + "pos": [ + 867, + 1085 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 22 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 30, + "type": "PreviewImage", + "pos": [ + 1103, + 466 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 24 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 34, + "type": "PreviewImage", + "pos": [ + 1351, + 470 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 28 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 48, + "type": "BizyAirMetric3D_DepthMapPreprocessor", + "pos": [ + 856, + 1833 + ], + "size": { + "0": 315, + "1": 130 + }, + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 42 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 43 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirMetric3D_DepthMapPreprocessor" + }, + "widgets_values": [ + "vit-small", + 1000, + 1000, + 512 + ] + }, + { + "id": 53, + "type": "BizyAirMetric3D_NormalMapPreprocessor", + "pos": [ + 1218, + 1826 + ], + "size": { + "0": 315, + "1": 130 + }, + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 44 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 45 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirMetric3D_NormalMapPreprocessor" + }, + "widgets_values": [ + "vit-small", + 980, + 1000, + 512 + ] + }, + { + "id": 21, + "type": "BizyAirHEDPreprocessor", + "pos": [ + 878, + 1659 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 17 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 36 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirHEDPreprocessor" + }, + "widgets_values": [ + "enable", + 512 + ] + }, + { + "id": 22, + "type": "BizyAirFakeScribblePreprocessor", + "pos": [ + 1225, + 1650 + ], + "size": { + "0": 403.20001220703125, + "1": 82 + }, + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 18 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 37 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirFakeScribblePreprocessor" + }, + "widgets_values": [ + "enable", + 512 + ] + }, + { + "id": 39, + "type": "PreviewImage", + "pos": [ + 1595, + 479 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 33 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 43, + "type": "PreviewImage", + "pos": [ + 1847, + 481 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 43, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 37 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 54, + "type": "PreviewImage", + "pos": [ + 2086, + 481 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 47, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 45 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 31, + "type": "PreviewImage", + "pos": [ + 1114, + 778 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 25 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 35, + "type": "PreviewImage", + "pos": [ + 1358, + 783 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 36, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 29 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 40, + "type": "PreviewImage", + "pos": [ + 1610, + 789 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 40, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 34 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 45, + "type": "PreviewImage", + "pos": [ + 1858, + 796 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 44, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 39 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 36, + "type": "PreviewImage", + "pos": [ + 2095, + 804 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 49, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 30 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 32, + "type": "PreviewImage", + "pos": [ + 1117, + 1093 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 26 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 37, + "type": "PreviewImage", + "pos": [ + 1373, + 1100 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 31 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 41, + "type": "PreviewImage", + "pos": [ + 1619, + 1107 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 35 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 47, + "type": "PreviewImage", + "pos": [ + 1864, + 1118 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 41 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 56, + "type": "PreviewImage", + "pos": [ + 2103, + 1125 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 48, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 47 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 49, + "type": "PreviewImage", + "pos": [ + 2076, + 145 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 46, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 43 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 42, + "type": "PreviewImage", + "pos": [ + 1839, + 143 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 42, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 36 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 58, + "type": "Note", + "pos": [ + 2313, + 143 + ], + "size": [ + 481.3421604898458, + 1229.3401854305428 + ], + "flags": {}, + "order": 1, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "ControlNet 预处理器可以将普通图片处理为 ControlNet 模型所需要的 Image Prompt。\n\nBizyAir 支持了几乎所有的 ControlNet 预处理器。\n" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 55, + "type": "BizyAirDWPreprocessor", + "pos": [ + 897, + 1390 + ], + "size": { + "0": 315, + "1": 198 + }, + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 46 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 47 + ], + "shape": 3 + }, + { + "name": "POSE_KEYPOINT", + "type": "POSE_KEYPOINT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirDWPreprocessor" + }, + "widgets_values": [ + "enable", + "enable", + "enable", + 512, + "yolox_l.onnx", + "dw-ll_ucoco_384_bs5.torchscript.pt" + ] + }, + { + "id": 57, + "type": "BizyAirOpenposePreprocessor", + "pos": [ + 1269, + 1423 + ], + "size": { + "0": 315, + "1": 150 + }, + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 48 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 30 + ], + "shape": 3 + }, + { + "name": "POSE_KEYPOINT", + "type": "POSE_KEYPOINT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirOpenposePreprocessor" + }, + "widgets_values": [ + "enable", + "enable", + "enable", + 512 + ] + } + ], + "links": [ + [ + 1, + 1, + 0, + 2, + 0, + "IMAGE" + ], + [ + 2, + 1, + 0, + 3, + 0, + "IMAGE" + ], + [ + 3, + 1, + 0, + 4, + 0, + "IMAGE" + ], + [ + 4, + 1, + 0, + 5, + 0, + "IMAGE" + ], + [ + 5, + 1, + 0, + 8, + 0, + "IMAGE" + ], + [ + 6, + 1, + 0, + 9, + 0, + "IMAGE" + ], + [ + 7, + 1, + 0, + 10, + 0, + "IMAGE" + ], + [ + 8, + 1, + 0, + 11, + 0, + "IMAGE" + ], + [ + 9, + 1, + 0, + 12, + 0, + "IMAGE" + ], + [ + 10, + 1, + 0, + 13, + 0, + "IMAGE" + ], + [ + 11, + 1, + 0, + 14, + 0, + "IMAGE" + ], + [ + 12, + 1, + 0, + 16, + 0, + "IMAGE" + ], + [ + 13, + 1, + 0, + 17, + 0, + "IMAGE" + ], + [ + 14, + 1, + 0, + 18, + 0, + "IMAGE" + ], + [ + 15, + 1, + 0, + 19, + 0, + "IMAGE" + ], + [ + 16, + 1, + 0, + 20, + 0, + "IMAGE" + ], + [ + 17, + 1, + 0, + 21, + 0, + "IMAGE" + ], + [ + 18, + 1, + 0, + 22, + 0, + "IMAGE" + ], + [ + 19, + 2, + 0, + 24, + 0, + "IMAGE" + ], + [ + 20, + 3, + 0, + 25, + 0, + "IMAGE" + ], + [ + 21, + 4, + 0, + 26, + 0, + "IMAGE" + ], + [ + 22, + 5, + 0, + 27, + 0, + "IMAGE" + ], + [ + 23, + 8, + 0, + 29, + 0, + "IMAGE" + ], + [ + 24, + 9, + 0, + 30, + 0, + "IMAGE" + ], + [ + 25, + 10, + 0, + 31, + 0, + "IMAGE" + ], + [ + 26, + 11, + 0, + 32, + 0, + "IMAGE" + ], + [ + 27, + 12, + 0, + 33, + 0, + "IMAGE" + ], + [ + 28, + 13, + 0, + 34, + 0, + "IMAGE" + ], + [ + 29, + 14, + 0, + 35, + 0, + "IMAGE" + ], + [ + 30, + 57, + 0, + 36, + 0, + "IMAGE" + ], + [ + 31, + 16, + 0, + 37, + 0, + "IMAGE" + ], + [ + 32, + 17, + 0, + 38, + 0, + "IMAGE" + ], + [ + 33, + 18, + 0, + 39, + 0, + "IMAGE" + ], + [ + 34, + 19, + 0, + 40, + 0, + "IMAGE" + ], + [ + 35, + 20, + 0, + 41, + 0, + "IMAGE" + ], + [ + 36, + 21, + 0, + 42, + 0, + "IMAGE" + ], + [ + 37, + 22, + 0, + 43, + 0, + "IMAGE" + ], + [ + 38, + 1, + 0, + 44, + 0, + "IMAGE" + ], + [ + 39, + 44, + 0, + 45, + 0, + "IMAGE" + ], + [ + 40, + 1, + 0, + 46, + 0, + "IMAGE" + ], + [ + 41, + 46, + 0, + 47, + 0, + "IMAGE" + ], + [ + 42, + 1, + 0, + 48, + 0, + "IMAGE" + ], + [ + 43, + 48, + 0, + 49, + 0, + "IMAGE" + ], + [ + 44, + 1, + 0, + 53, + 0, + "IMAGE" + ], + [ + 45, + 53, + 0, + 54, + 0, + "IMAGE" + ], + [ + 46, + 1, + 0, + 55, + 0, + "IMAGE" + ], + [ + 47, + 55, + 0, + 56, + 0, + "IMAGE" + ], + [ + 48, + 1, + 0, + 57, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.5131581182307068, + "offset": { + "0": 628.0009002710915, + "1": 331.9803863952385 + } + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_controlnet_union_workflow.json b/docs/docs/examples/bizyair_controlnet_union_workflow.json new file mode 100644 index 00000000..fab6c63b --- /dev/null +++ b/docs/docs/examples/bizyair_controlnet_union_workflow.json @@ -0,0 +1,361 @@ +{ + "last_node_id": 67, + "last_link_id": 72, + "nodes": [ + { + "id": 62, + "type": "PreviewImage", + "pos": { + "0": 427, + "1": 865 + }, + "size": { + "0": 385.400390625, + "1": 315.51861572265625 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 68 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 51, + "type": "PreviewImage", + "pos": { + "0": 879, + "1": 1018 + }, + "size": { + "0": 801.9078369140625, + "1": 862.51708984375 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 59 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 61, + "type": "BizyAirDepthAnythingV2Preprocessor", + "pos": { + "0": 422, + "1": 1245 + }, + "size": { + "0": 409.1106872558594, + "1": 82 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 69 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 67, + 68 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirDepthAnythingV2Preprocessor" + }, + "widgets_values": [ + "depth_anything_v2_vitl.pth", + 1024 + ] + }, + { + "id": 63, + "type": "BizyAirGenerateLightningImage", + "pos": { + "0": 427, + "1": 1383 + }, + "size": { + "0": 400, + "1": 220 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 69, + 70 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirGenerateLightningImage" + }, + "widgets_values": [ + "a dog", + 493871336398282, + "fixed", + 1024, + 1024, + 1.5, + 1 + ] + }, + { + "id": 64, + "type": "PreviewImage", + "pos": { + "0": 430, + "1": 1648 + }, + "size": { + "0": 399.92510986328125, + "1": 330.7376708984375 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 70 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 54, + "type": "StableDiffusionXLControlNetUnionPipeline", + "pos": { + "0": 889, + "1": 582 + }, + "size": { + "0": 795.5317993164062, + "1": 342 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "openpose_image", + "type": "IMAGE", + "link": null, + "slot_index": 0, + "shape": 7 + }, + { + "name": "depth_image", + "type": "IMAGE", + "link": 67, + "shape": 7 + }, + { + "name": "hed_pidi_scribble_ted_image", + "type": "IMAGE", + "link": null, + "shape": 7 + }, + { + "name": "canny_lineart_anime_lineart_mlsd_image", + "type": "IMAGE", + "link": null, + "slot_index": 3, + "shape": 7 + }, + { + "name": "normal_image", + "type": "IMAGE", + "link": null, + "shape": 7 + }, + { + "name": "segment_image", + "type": "IMAGE", + "link": null, + "shape": 7 + }, + { + "name": "prompt", + "type": "STRING", + "link": 71, + "widget": { + "name": "prompt" + } + }, + { + "name": "negative_prompt", + "type": "STRING", + "link": null, + "widget": { + "name": "negative_prompt" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 59 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "StableDiffusionXLControlNetUnionPipeline" + }, + "widgets_values": [ + 29, + "increment", + 28, + 1, + 5, + "A Siberian Husky painted in the style of Vincent van Gogh, with swirling brushstrokes and vibrant colors, set against a starry night background.", + "", + 0, + 0.5 + ] + }, + { + "id": 65, + "type": "PrimitiveNode", + "pos": { + "0": 427, + "1": 572 + }, + "size": [ + 379.19244692280597, + 219.53684276937474 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 71 + ], + "slot_index": 0, + "widget": { + "name": "prompt" + } + } + ], + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + "A Siberian Husky painted in the style of Vincent van Gogh, with swirling brushstrokes and vibrant colors, set against a starry night background." + ] + } + ], + "links": [ + [ + 59, + 54, + 0, + 51, + 0, + "IMAGE" + ], + [ + 67, + 61, + 0, + 54, + 1, + "IMAGE" + ], + [ + 68, + 61, + 0, + 62, + 0, + "IMAGE" + ], + [ + 69, + 63, + 0, + 61, + 0, + "IMAGE" + ], + [ + 70, + 63, + 0, + 64, + 0, + "IMAGE" + ], + [ + 71, + 65, + 0, + 54, + 6, + "STRING" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.8390545288824038, + "offset": [ + 112.69896413596035, + -429.2242760224681 + ] + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_flux_dev_workflow.json b/docs/docs/examples/bizyair_flux_dev_workflow.json new file mode 100644 index 00000000..9af81023 --- /dev/null +++ b/docs/docs/examples/bizyair_flux_dev_workflow.json @@ -0,0 +1,569 @@ +{ + "last_node_id": 64, + "last_link_id": 80, + "nodes": [ + { + "id": 60, + "type": "BizyAir_KSamplerSelect", + "pos": [ + -246, + 1197 + ], + "size": { + "0": 259.05419921875, + "1": 58 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 75 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSamplerSelect" + }, + "widgets_values": [ + "euler" + ] + }, + { + "id": 47, + "type": "BizyAir_BasicGuider", + "pos": [ + -239, + 1078 + ], + "size": { + "0": 253.01522827148438, + "1": 52.98030471801758 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 59, + "slot_index": 0 + }, + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 60, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 61 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicGuider" + } + }, + { + "id": 51, + "type": "EmptyLatentImage", + "pos": [ + 30, + 919 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 63 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 50, + "type": "BizyAir_SamplerCustomAdvanced", + "pos": [ + 51, + 1082 + ], + "size": { + "0": 260.3999938964844, + "1": 106 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 74 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 61 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 75, + "slot_index": 2 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 73 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 63, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 66 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_SamplerCustomAdvanced" + } + }, + { + "id": 54, + "type": "BizyAir_VAEDecode", + "pos": [ + 55, + 1232 + ], + "size": { + "0": 271.0523681640625, + "1": 46 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 66, + "slot_index": 0 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 67, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 68 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 55, + "type": "BizyAir_VAELoader", + "pos": [ + 91, + 1341 + ], + "size": { + "0": 273.7454833984375, + "1": 58 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 67 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "flux/ae.sft" + ] + }, + { + "id": 37, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + -627, + 1284 + ], + "size": { + "0": 344.9754943847656, + "1": 127.23637390136719 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 56 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 60 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "black forest gateau cake spelling out the words \"BizyAir\", tasty, food photography, dynamic shot" + ] + }, + { + "id": 56, + "type": "PreviewImage", + "pos": [ + 388, + 929 + ], + "size": { + "0": 335.19036865234375, + "1": 471.16204833984375 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 68 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 58, + "type": "BizyAir_BasicScheduler", + "pos": [ + -239, + 1319 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 72, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 73 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicScheduler" + }, + "widgets_values": [ + "normal", + 20, + 1 + ] + }, + { + "id": 48, + "type": "BizyAir_UNETLoader", + "pos": [ + -585, + 944 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 59, + 72 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_UNETLoader" + }, + "widgets_values": [ + "flux/flux1-dev.sft", + "default" + ] + }, + { + "id": 36, + "type": "BizyAir_DualCLIPLoader", + "pos": [ + -595, + 1093 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 56 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_DualCLIPLoader" + }, + "widgets_values": [ + "t5xxl_fp16.safetensors", + "clip_l.safetensors", + "flux" + ] + }, + { + "id": 59, + "type": "BizyAir_RandomNoise", + "pos": [ + -238, + 933 + ], + "size": { + "0": 244.64930725097656, + "1": 82 + }, + "flags": {}, + "order": 5, + "mode": 0, + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 74 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_RandomNoise" + }, + "widgets_values": [ + 438153234912084, + "fixed" + ] + } + ], + "links": [ + [ + 56, + 36, + 0, + 37, + 0, + "BIZYAIR_CLIP" + ], + [ + 59, + 48, + 0, + 47, + 0, + "BIZYAIR_MODEL" + ], + [ + 60, + 37, + 0, + 47, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 61, + 47, + 0, + 50, + 1, + "GUIDER" + ], + [ + 63, + 51, + 0, + 50, + 4, + "LATENT" + ], + [ + 66, + 50, + 0, + 54, + 0, + "LATENT" + ], + [ + 67, + 55, + 0, + 54, + 1, + "BIZYAIR_VAE" + ], + [ + 68, + 54, + 0, + 56, + 0, + "IMAGE" + ], + [ + 72, + 48, + 0, + 58, + 0, + "BIZYAIR_MODEL" + ], + [ + 73, + 58, + 0, + 50, + 3, + "SIGMAS" + ], + [ + 74, + 59, + 0, + 50, + 0, + "NOISE" + ], + [ + 75, + 60, + 0, + 50, + 2, + "SAMPLER" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.2100000000000002, + "offset": [ + 1055.046459481697, + -717.7928080199758 + ] + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_flux_img2img_workflow.json b/docs/docs/examples/bizyair_flux_img2img_workflow.json new file mode 100644 index 00000000..4809f94f --- /dev/null +++ b/docs/docs/examples/bizyair_flux_img2img_workflow.json @@ -0,0 +1,634 @@ +{ + "last_node_id": 66, + "last_link_id": 83, + "nodes": [ + { + "id": 60, + "type": "BizyAir_KSamplerSelect", + "pos": [ + -246, + 1197 + ], + "size": { + "0": 259.05419921875, + "1": 58 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 75 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSamplerSelect" + }, + "widgets_values": [ + "euler" + ] + }, + { + "id": 47, + "type": "BizyAir_BasicGuider", + "pos": [ + -239, + 1078 + ], + "size": { + "0": 253.01522827148438, + "1": 52.98030471801758 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 59, + "slot_index": 0 + }, + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 60, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 61 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicGuider" + } + }, + { + "id": 50, + "type": "BizyAir_SamplerCustomAdvanced", + "pos": [ + 51, + 1082 + ], + "size": { + "0": 260.3999938964844, + "1": 106 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 74 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 61 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 75, + "slot_index": 2 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 73 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 83, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 66 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_SamplerCustomAdvanced" + } + }, + { + "id": 54, + "type": "BizyAir_VAEDecode", + "pos": [ + 55, + 1232 + ], + "size": { + "0": 271.0523681640625, + "1": 46 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 66, + "slot_index": 0 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 67, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 68 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 48, + "type": "BizyAir_UNETLoader", + "pos": [ + -585, + 944 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 59, + 72 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_UNETLoader" + }, + "widgets_values": [ + "flux/flux1-dev.sft", + "default" + ] + }, + { + "id": 36, + "type": "BizyAir_DualCLIPLoader", + "pos": [ + -595, + 1093 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 56 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_DualCLIPLoader" + }, + "widgets_values": [ + "t5xxl_fp16.safetensors", + "clip_l.safetensors", + "flux" + ] + }, + { + "id": 59, + "type": "BizyAir_RandomNoise", + "pos": [ + -238, + 933 + ], + "size": { + "0": 244.64930725097656, + "1": 82 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 74 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_RandomNoise" + }, + "widgets_values": [ + 438153234912084, + "fixed" + ] + }, + { + "id": 55, + "type": "BizyAir_VAELoader", + "pos": [ + 91, + 1341 + ], + "size": { + "0": 273.7454833984375, + "1": 58 + }, + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 67, + 82 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "flux/ae.sft" + ] + }, + { + "id": 37, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + -614, + 1242 + ], + "size": { + "0": 344.9754943847656, + "1": 127.23637390136719 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 56 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 60 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "black forest gateau cake spelling out the words \"BizyAir\", tasty, food photography, dynamic shot" + ] + }, + { + "id": 66, + "type": "BizyAir_VAEEncode", + "pos": [ + 47, + 966 + ], + "size": { + "0": 254.9784393310547, + "1": 46 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 81 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 82 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 83 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEEncode" + } + }, + { + "id": 56, + "type": "PreviewImage", + "pos": [ + 773, + 952 + ], + "size": [ + 386.4439322732096, + 402.4732824195107 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 68 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 65, + "type": "LoadImage", + "pos": [ + 348, + 918 + ], + "size": [ + 397.68643049764137, + 430.62481606652796 + ], + "flags": {}, + "order": 5, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 81 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "example.png", + "image" + ] + }, + { + "id": 58, + "type": "BizyAir_BasicScheduler", + "pos": [ + -239, + 1319 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 72, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 73 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicScheduler" + }, + "widgets_values": [ + "normal", + 20, + 0.85 + ] + } + ], + "links": [ + [ + 56, + 36, + 0, + 37, + 0, + "BIZYAIR_CLIP" + ], + [ + 59, + 48, + 0, + 47, + 0, + "BIZYAIR_MODEL" + ], + [ + 60, + 37, + 0, + 47, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 61, + 47, + 0, + 50, + 1, + "GUIDER" + ], + [ + 66, + 50, + 0, + 54, + 0, + "LATENT" + ], + [ + 67, + 55, + 0, + 54, + 1, + "BIZYAIR_VAE" + ], + [ + 68, + 54, + 0, + 56, + 0, + "IMAGE" + ], + [ + 72, + 48, + 0, + 58, + 0, + "BIZYAIR_MODEL" + ], + [ + 73, + 58, + 0, + 50, + 3, + "SIGMAS" + ], + [ + 74, + 59, + 0, + 50, + 0, + "NOISE" + ], + [ + 75, + 60, + 0, + 50, + 2, + "SAMPLER" + ], + [ + 81, + 65, + 0, + 66, + 0, + "IMAGE" + ], + [ + 82, + 55, + 0, + 66, + 1, + "BIZYAIR_VAE" + ], + [ + 83, + 66, + 0, + 50, + 4, + "LATENT" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.1, + "offset": [ + 948.7378859086087, + -666.7460096922381 + ] + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_flux_joycaption_img2img_workflow.json b/docs/docs/examples/bizyair_flux_joycaption_img2img_workflow.json new file mode 100644 index 00000000..7481119a --- /dev/null +++ b/docs/docs/examples/bizyair_flux_joycaption_img2img_workflow.json @@ -0,0 +1,700 @@ +{ + "last_node_id": 69, + "last_link_id": 89, + "nodes": [ + { + "id": 54, + "type": "BizyAir_VAEDecode", + "pos": [ + 2171.0771484375, + 130 + ], + "size": { + "0": 271.0523681640625, + "1": 46 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 66, + "slot_index": 0 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 67, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 68 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 50, + "type": "BizyAir_SamplerCustomAdvanced", + "pos": [ + 2167, + 231 + ], + "size": { + "0": 260.3999938964844, + "1": 106 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 74 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 61 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 75, + "slot_index": 2 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 73 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 83, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 66 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_SamplerCustomAdvanced" + } + }, + { + "id": 47, + "type": "BizyAir_BasicGuider", + "pos": [ + 2163, + 389 + ], + "size": { + "0": 253.01522827148438, + "1": 52.98030471801758 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 59, + "slot_index": 0 + }, + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 60, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 61 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicGuider" + } + }, + { + "id": 37, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + 2123, + 499 + ], + "size": { + "0": 344.9754943847656, + "1": 127.23637390136719 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 56 + }, + { + "name": "text", + "type": "STRING", + "link": 89, + "widget": { + "name": "text" + } + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 60 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "black forest gateau cake spelling out the words \"BizyAir\", tasty, food photography, dynamic shot" + ] + }, + { + "id": 58, + "type": "BizyAir_BasicScheduler", + "pos": [ + 1784, + 167 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 72, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 73 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicScheduler" + }, + "widgets_values": [ + "normal", + 20, + 0.85 + ] + }, + { + "id": 36, + "type": "BizyAir_DualCLIPLoader", + "pos": [ + 1326, + 684 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 56 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_DualCLIPLoader" + }, + "widgets_values": [ + "t5xxl_fp16.safetensors", + "clip_l.safetensors", + "flux" + ] + }, + { + "id": 48, + "type": "BizyAir_UNETLoader", + "pos": [ + 1326, + 534 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 59, + 72 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_UNETLoader" + }, + "widgets_values": [ + "flux/flux1-dev.sft", + "default" + ] + }, + { + "id": 60, + "type": "BizyAir_KSamplerSelect", + "pos": [ + 1340, + 419 + ], + "size": { + "0": 259.05419921875, + "1": 58 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 75 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSamplerSelect" + }, + "widgets_values": [ + "euler" + ] + }, + { + "id": 59, + "type": "BizyAir_RandomNoise", + "pos": [ + 1354, + 281 + ], + "size": { + "0": 244.64930725097656, + "1": 82 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 74 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_RandomNoise" + }, + "widgets_values": [ + 438153234912084, + "fixed" + ] + }, + { + "id": 55, + "type": "BizyAir_VAELoader", + "pos": [ + 1369, + 164 + ], + "size": { + "0": 273.7454833984375, + "1": 58 + }, + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 67, + 82 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "flux/ae.sft" + ] + }, + { + "id": 66, + "type": "BizyAir_VAEEncode", + "pos": [ + 1801, + 331 + ], + "size": { + "0": 254.9784393310547, + "1": 46 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 81 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 82 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 83 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEEncode" + } + }, + { + "id": 56, + "type": "PreviewImage", + "pos": [ + 2919, + 144 + ], + "size": { + "0": 386.4439392089844, + "1": 402.4732971191406 + }, + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 68 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 65, + "type": "LoadImage", + "pos": [ + 2495, + 126 + ], + "size": { + "0": 397.6864318847656, + "1": 430.62481689453125 + }, + "flags": {}, + "order": 5, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 81, + 88 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "example.png", + "image" + ] + }, + { + "id": 69, + "type": "BizyAirJoyCaption", + "pos": [ + 1741, + 458 + ], + "size": { + "0": 329.83148193359375, + "1": 279.5472717285156 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 88 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 89 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirJoyCaption" + }, + "widgets_values": [ + "enable", + 0.5, + 256 + ] + } + ], + "links": [ + [ + 56, + 36, + 0, + 37, + 0, + "BIZYAIR_CLIP" + ], + [ + 59, + 48, + 0, + 47, + 0, + "BIZYAIR_MODEL" + ], + [ + 60, + 37, + 0, + 47, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 61, + 47, + 0, + 50, + 1, + "GUIDER" + ], + [ + 66, + 50, + 0, + 54, + 0, + "LATENT" + ], + [ + 67, + 55, + 0, + 54, + 1, + "BIZYAIR_VAE" + ], + [ + 68, + 54, + 0, + 56, + 0, + "IMAGE" + ], + [ + 72, + 48, + 0, + 58, + 0, + "BIZYAIR_MODEL" + ], + [ + 73, + 58, + 0, + 50, + 3, + "SIGMAS" + ], + [ + 74, + 59, + 0, + 50, + 0, + "NOISE" + ], + [ + 75, + 60, + 0, + 50, + 2, + "SAMPLER" + ], + [ + 81, + 65, + 0, + 66, + 0, + "IMAGE" + ], + [ + 82, + 55, + 0, + 66, + 1, + "BIZYAIR_VAE" + ], + [ + 83, + 66, + 0, + 50, + 4, + "LATENT" + ], + [ + 88, + 65, + 0, + 69, + 0, + "IMAGE" + ], + [ + 89, + 69, + 0, + 37, + 1, + "STRING" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.7513148009015777, + "offset": [ + -621.5853896595721, + 217.98403398673898 + ] + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_flux_pulid.json b/docs/docs/examples/bizyair_flux_pulid.json new file mode 100644 index 00000000..cd2df30f --- /dev/null +++ b/docs/docs/examples/bizyair_flux_pulid.json @@ -0,0 +1,1111 @@ +{ + "last_node_id": 109, + "last_link_id": 142, + "nodes": [ + { + "id": 78, + "type": "BizyAir_PulidFluxModelLoader", + "pos": { + "0": 787, + "1": 1846, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 302.4410400390625, + "1": 58 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "pulid_flux", + "type": "BIZYAIR_PULIDFLUX", + "links": [ + 126 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_PulidFluxModelLoader" + }, + "widgets_values": [ + "pulid_flux_v0.9.0.safetensors" + ] + }, + { + "id": 79, + "type": "BizyAir_PulidFluxEvaClipLoader", + "pos": { + "0": 799, + "1": 1959, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 302.3999938964844, + "1": 26 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "eva_clip", + "type": "BIZYAIR_EVA_CLIP", + "links": [ + 127 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_PulidFluxEvaClipLoader" + } + }, + { + "id": 81, + "type": "BizyAir_PulidFluxInsightFaceLoader", + "pos": { + "0": 793, + "1": 2030, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 327.6000061035156, + "1": 58 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "face_analysis", + "type": "BIZYAIR_FACEANALYSIS", + "links": [ + 129 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_PulidFluxInsightFaceLoader" + }, + "widgets_values": [ + "CUDA" + ] + }, + { + "id": 83, + "type": "BizyAir_UNETLoader", + "pos": { + "0": 355, + "1": 1012, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 378, + "1": 82 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 125 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_UNETLoader" + }, + "widgets_values": [ + "flux/flux1-dev.sft", + "fp8_e4m3fn" + ] + }, + { + "id": 85, + "type": "BizyAir_CLIPTextEncodeFlux", + "pos": { + "0": 792, + "1": 1034, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 466.6143493652344, + "1": 350.7861022949219 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 113 + } + ], + "outputs": [ + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 121 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncodeFlux" + }, + "widgets_values": [ + "a woman holding sign with glowing green text \"PuLID for FLUX\"", + "a woman holding sign with glowing green text \"PuLID for FLUX\"", + 3.5 + ] + }, + { + "id": 95, + "type": "BizyAir_BasicGuider", + "pos": { + "0": 1348, + "1": 1025, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 264.5999755859375, + "1": 46 + }, + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 124 + }, + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 121 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 122 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicGuider" + } + }, + { + "id": 87, + "type": "BizyAir_KSamplerSelect", + "pos": { + "0": 1349, + "1": 1142, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 259.90234375, + "1": 58 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 115 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSamplerSelect" + }, + "widgets_values": [ + "euler" + ] + }, + { + "id": 88, + "type": "BizyAir_RandomNoise", + "pos": { + "0": 1354, + "1": 1271, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 248.53359985351562, + "1": 82 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 114 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_RandomNoise" + }, + "widgets_values": [ + 60, + "increment" + ] + }, + { + "id": 86, + "type": "BizyAir_BasicScheduler", + "pos": { + "0": 1357, + "1": 1427, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 242.97654724121094, + "1": 106 + }, + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 130 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 116 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicScheduler" + }, + "widgets_values": [ + "simple", + 20, + 1 + ] + }, + { + "id": 89, + "type": "BizyAir_SamplerCustomAdvanced", + "pos": { + "0": 1732, + "1": 1022, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 390.5999755859375, + "1": 106 + }, + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 114 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 122 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 115 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 116 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 133 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 117 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_SamplerCustomAdvanced" + } + }, + { + "id": 106, + "type": "Reroute", + "pos": { + "0": 2015, + "1": 1166, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 139 + } + ], + "outputs": [ + { + "name": "", + "type": "BIZYAIR_VAE", + "links": [ + 140 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 90, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 1854, + "1": 1294, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 252, + "1": 46 + }, + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 117 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 140 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 119 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 91, + "type": "BizyAir_VAELoader", + "pos": { + "0": 355, + "1": 1334, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 365.0637512207031, + "1": 58.98834991455078 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 139 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "flux/ae.sft" + ] + }, + { + "id": 84, + "type": "BizyAir_DualCLIPLoader", + "pos": { + "0": 356, + "1": 1155, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 367.9985046386719, + "1": 106 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 113 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_DualCLIPLoader" + }, + "widgets_values": [ + "t5xxl_fp8_e4m3fn.safetensors", + "clip_l.safetensors", + "flux" + ] + }, + { + "id": 97, + "type": "BizyAir_ApplyPulidFlux", + "pos": { + "0": 1196, + "1": 1832, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 404.95245361328125, + "1": 219.5450439453125 + }, + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 125 + }, + { + "name": "pulid_flux", + "type": "BIZYAIR_PULIDFLUX", + "link": 126 + }, + { + "name": "eva_clip", + "type": "BIZYAIR_EVA_CLIP", + "link": 127 + }, + { + "name": "face_analysis", + "type": "BIZYAIR_FACEANALYSIS", + "link": 129 + }, + { + "name": "image", + "type": "IMAGE", + "link": 141 + }, + { + "name": "attn_mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 124, + 130 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ApplyPulidFlux" + }, + "widgets_values": [ + 0.8, + 0, + 1 + ] + }, + { + "id": 107, + "type": "Note", + "pos": { + "0": 366, + "1": 1470, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 380.41119384765625, + "1": 183.65455627441406 + }, + "flags": { + "collapsed": false + }, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "ComfyUI-PuLID-Flux Limitations:\n\n1. **LoRA Not Supported**\n2. **Maximum Output Size**: 1x1024x1024 (batch_size=1, height=1024, width=1024)" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 60, + "type": "EmptyLatentImage", + "pos": { + "0": 769, + "1": 1482, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 331.86749267578125, + "1": 172.31396484375 + }, + "flags": { + "collapsed": false + }, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 133 + ], + "slot_index": 0, + "shape": 3, + "label": "Latent" + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 512, + 512, + 1 + ] + }, + { + "id": 108, + "type": "BizyAir_LoadImageURL", + "pos": { + "0": 440, + "1": 1862, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 327.91456932528456, + 100.70831190960143 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 141, + 142 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_LoadImageURL" + }, + "widgets_values": [ + "https://bizy-air.oss-cn-beijing.aliyuncs.com/examples_asset/bizyair-instantid-example.webp" + ] + }, + { + "id": 109, + "type": "PreviewImage", + "pos": { + "0": 1658, + "1": 1764, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 434.71131188337495, + 458.62693605652476 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 142 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 92, + "type": "PreviewImage", + "pos": { + "0": 2103, + "1": 1760, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 441.48189101203707, + 467.08426786587825 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 119 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 113, + 84, + 0, + 85, + 0, + "BIZYAIR_CLIP" + ], + [ + 114, + 88, + 0, + 89, + 0, + "NOISE" + ], + [ + 115, + 87, + 0, + 89, + 2, + "SAMPLER" + ], + [ + 116, + 86, + 0, + 89, + 3, + "SIGMAS" + ], + [ + 117, + 89, + 0, + 90, + 0, + "LATENT" + ], + [ + 119, + 90, + 0, + 92, + 0, + "IMAGE" + ], + [ + 121, + 85, + 0, + 95, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 122, + 95, + 0, + 89, + 1, + "GUIDER" + ], + [ + 124, + 97, + 0, + 95, + 0, + "BIZYAIR_MODEL" + ], + [ + 125, + 83, + 0, + 97, + 0, + "BIZYAIR_MODEL" + ], + [ + 126, + 78, + 0, + 97, + 1, + "BIZYAIR_PULIDFLUX" + ], + [ + 127, + 79, + 0, + 97, + 2, + "BIZYAIR_EVA_CLIP" + ], + [ + 129, + 81, + 0, + 97, + 3, + "BIZYAIR_FACEANALYSIS" + ], + [ + 130, + 97, + 0, + 86, + 0, + "BIZYAIR_MODEL" + ], + [ + 133, + 60, + 0, + 89, + 4, + "LATENT" + ], + [ + 139, + 91, + 0, + 106, + 0, + "*" + ], + [ + 140, + 106, + 0, + 90, + 1, + "BIZYAIR_VAE" + ], + [ + 141, + 108, + 0, + 97, + 4, + "IMAGE" + ], + [ + 142, + 108, + 0, + 109, + 0, + "IMAGE" + ] + ], + "groups": [ + { + "title": "Apply Pulid", + "bounding": [ + 420, + 1728, + 1195, + 498 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Flux txtimg", + "bounding": [ + 302, + 869, + 1853, + 828 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.6209213230591554, + "offset": [ + -396.4968633103375, + -1067.3994774159783 + ] + }, + "0246.VERSION": [ + 0, + 0, + 4 + ] + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_flux_schnell_workflow.json b/docs/docs/examples/bizyair_flux_schnell_workflow.json new file mode 100644 index 00000000..7bce3ce2 --- /dev/null +++ b/docs/docs/examples/bizyair_flux_schnell_workflow.json @@ -0,0 +1,569 @@ +{ + "last_node_id": 64, + "last_link_id": 80, + "nodes": [ + { + "id": 60, + "type": "BizyAir_KSamplerSelect", + "pos": [ + -246, + 1197 + ], + "size": { + "0": 259.05419921875, + "1": 58 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 75 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSamplerSelect" + }, + "widgets_values": [ + "euler" + ] + }, + { + "id": 47, + "type": "BizyAir_BasicGuider", + "pos": [ + -239, + 1078 + ], + "size": { + "0": 253.01522827148438, + "1": 52.98030471801758 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 59, + "slot_index": 0 + }, + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 60, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 61 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicGuider" + } + }, + { + "id": 58, + "type": "BizyAir_BasicScheduler", + "pos": [ + -239, + 1319 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 72, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 73 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_BasicScheduler" + }, + "widgets_values": [ + "normal", + 4, + 1 + ] + }, + { + "id": 59, + "type": "BizyAir_RandomNoise", + "pos": [ + -238, + 933 + ], + "size": { + "0": 244.64930725097656, + "1": 82 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 74 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_RandomNoise" + }, + "widgets_values": [ + 438153234912083, + "fixed" + ] + }, + { + "id": 51, + "type": "EmptyLatentImage", + "pos": [ + 30, + 919 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 63 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 50, + "type": "BizyAir_SamplerCustomAdvanced", + "pos": [ + 51, + 1082 + ], + "size": { + "0": 260.3999938964844, + "1": 106 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "noise", + "type": "NOISE", + "link": 74 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 61 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 75, + "slot_index": 2 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 73 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 63, + "slot_index": 4 + } + ], + "outputs": [ + { + "name": "output", + "type": "LATENT", + "links": [ + 66 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_SamplerCustomAdvanced" + } + }, + { + "id": 54, + "type": "BizyAir_VAEDecode", + "pos": [ + 55, + 1232 + ], + "size": { + "0": 271.0523681640625, + "1": 46 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 66, + "slot_index": 0 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 67, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 68 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 55, + "type": "BizyAir_VAELoader", + "pos": [ + 91, + 1341 + ], + "size": { + "0": 273.7454833984375, + "1": 58 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 67 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "flux/ae.sft" + ] + }, + { + "id": 48, + "type": "BizyAir_UNETLoader", + "pos": [ + -585, + 944 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 59, + 72 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_UNETLoader" + }, + "widgets_values": [ + "flux/flux1-schnell.sft", + "fp8_e4m3fn" + ] + }, + { + "id": 37, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + -627, + 1284 + ], + "size": [ + 344.9754950153326, + 127.23637622600563 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 56 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 60 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "black forest gateau cake spelling out the words \"BizyAir\", tasty, food photography, dynamic shot" + ] + }, + { + "id": 36, + "type": "BizyAir_DualCLIPLoader", + "pos": [ + -595, + 1093 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 5, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 56 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_DualCLIPLoader" + }, + "widgets_values": [ + "t5xxl_fp8_e4m3fn.safetensors", + "clip_l.safetensors", + "flux" + ] + }, + { + "id": 56, + "type": "PreviewImage", + "pos": [ + 388, + 929 + ], + "size": [ + 335.1903710483905, + 471.1620465029944 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 68 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 56, + 36, + 0, + 37, + 0, + "BIZYAIR_CLIP" + ], + [ + 59, + 48, + 0, + 47, + 0, + "BIZYAIR_MODEL" + ], + [ + 60, + 37, + 0, + 47, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 61, + 47, + 0, + 50, + 1, + "GUIDER" + ], + [ + 63, + 51, + 0, + 50, + 4, + "LATENT" + ], + [ + 66, + 50, + 0, + 54, + 0, + "LATENT" + ], + [ + 67, + 55, + 0, + 54, + 1, + "BIZYAIR_VAE" + ], + [ + 68, + 54, + 0, + 56, + 0, + "IMAGE" + ], + [ + 72, + 48, + 0, + 58, + 0, + "BIZYAIR_MODEL" + ], + [ + 73, + 58, + 0, + 50, + 3, + "SIGMAS" + ], + [ + 74, + 59, + 0, + 50, + 0, + "NOISE" + ], + [ + 75, + 60, + 0, + 50, + 2, + "SAMPLER" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.2100000000000002, + "offset": [ + 1647.8840091168986, + -660.4925745731134 + ] + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_flux_simple_lora_workflow.json b/docs/docs/examples/bizyair_flux_simple_lora_workflow.json new file mode 100644 index 00000000..5e0ed484 --- /dev/null +++ b/docs/docs/examples/bizyair_flux_simple_lora_workflow.json @@ -0,0 +1,656 @@ +{ + "last_node_id": 69, + "last_link_id": 87, + "nodes": [{ + "id": 54, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 558, + "1": 760 + }, + "size": { + "0": 258.5177917480469, + "1": 46 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [{ + "name": "samples", + "type": "LATENT", + "link": 66, + "slot_index": 0 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 67, + "slot_index": 1 + } + ], + "outputs": [{ + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 68 + ], + "slot_index": 0, + "shape": 3 + }], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 50, + "type": "BizyAir_SamplerCustomAdvanced", + "pos": { + "0": 560, + "1": 854 + }, + "size": { + "0": 260.3999938964844, + "1": 106 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [{ + "name": "noise", + "type": "NOISE", + "link": 74 + }, + { + "name": "guider", + "type": "GUIDER", + "link": 61 + }, + { + "name": "sampler", + "type": "SAMPLER", + "link": 75, + "slot_index": 2 + }, + { + "name": "sigmas", + "type": "SIGMAS", + "link": 73 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 63, + "slot_index": 4 + } + ], + "outputs": [{ + "name": "output", + "type": "LATENT", + "links": [ + 66 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "denoised_output", + "type": "LATENT", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_SamplerCustomAdvanced" + } + }, + { + "id": 55, + "type": "BizyAir_VAELoader", + "pos": { + "0": 562, + "1": 1024 + }, + "size": { + "0": 256.4846496582031, + "1": 58 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [{ + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 67 + ], + "shape": 3 + }], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "flux/ae.sft" + ] + }, + { + "id": 47, + "type": "BizyAir_BasicGuider", + "pos": { + "0": 238, + "1": 608 + }, + "size": { + "0": 290.18109130859375, + "1": 46 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [{ + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 82, + "slot_index": 0 + }, + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 87, + "slot_index": 1 + } + ], + "outputs": [{ + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 61 + ], + "slot_index": 0, + "shape": 3 + }], + "properties": { + "Node name for S&R": "BizyAir_BasicGuider" + } + }, + { + "id": 51, + "type": "EmptyLatentImage", + "pos": { + "0": 231, + "1": 968 + }, + "size": { + "0": 299.1900329589844, + "1": 106 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [{ + "name": "LATENT", + "type": "LATENT", + "links": [ + 63 + ], + "shape": 3 + }], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 48, + "type": "BizyAir_UNETLoader", + "pos": { + "0": -438, + "1": 610 + }, + "size": { + "0": 282.984375, + "1": 82 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [{ + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 81 + ], + "slot_index": 0, + "shape": 3 + }], + "properties": { + "Node name for S&R": "BizyAir_UNETLoader" + }, + "widgets_values": [ + "flux/flux1-dev.sft", + "fp8_e4m3fn" + ] + }, + { + "id": 65, + "type": "BizyAir_LoraLoader", + "pos": { + "0": -117, + "1": 927 + }, + "size": { + "0": 311.6243896484375, + "1": 126 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [{ + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 81 + }, + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 84 + } + ], + "outputs": [{ + "name": "MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 82, + 83 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 85 + ], + "slot_index": 1, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_LoraLoader" + }, + "widgets_values": [ + "flux/meijia_flux_lora_rank16_bf16.safetensors", + 1, + 1 + ] + }, + { + "id": 67, + "type": "BizyAir_FluxGuidance", + "pos": { + "0": -117, + "1": 608 + }, + "size": { + "0": 316.972412109375, + "1": 60.8155403137207 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [{ + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 86 + }], + "outputs": [{ + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 87 + ], + "slot_index": 0, + "shape": 3 + }], + "properties": { + "Node name for S&R": "BizyAir_FluxGuidance" + }, + "widgets_values": [ + 3.5 + ] + }, + { + "id": 37, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": -122, + "1": 724 + }, + "size": { + "0": 317.7966003417969, + "1": 162.465087890625 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [{ + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 85 + }], + "outputs": [{ + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 86 + ], + "slot_index": 0, + "shape": 3 + }], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "meijia,4k\npose: Five fingers are extended with the thumb slightly bent.\nshape: The nails are long and square-shaped with a smooth finish.\ncolor: The nail polish is a pale red with a subtle gradient towards the tips.\ntexture: There is a floral pattern embellished on some of the nails using clear rhinestones." + ] + }, + { + "id": 58, + "type": "BizyAir_BasicScheduler", + "pos": { + "0": 550, + "1": 606 + }, + "size": { + "0": 253.22842407226562, + "1": 106 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [{ + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 83, + "slot_index": 0 + }], + "outputs": [{ + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 73 + ], + "slot_index": 0, + "shape": 3 + }], + "properties": { + "Node name for S&R": "BizyAir_BasicScheduler" + }, + "widgets_values": [ + "normal", + 20, + 1 + ] + }, + { + "id": 36, + "type": "BizyAir_DualCLIPLoader", + "pos": { + "0": -442, + "1": 749 + }, + "size": { + "0": 288.4751892089844, + "1": 106 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [{ + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 84 + ], + "slot_index": 0, + "shape": 3 + }], + "properties": { + "Node name for S&R": "BizyAir_DualCLIPLoader" + }, + "widgets_values": [ + "t5xxl_fp8_e4m3fn.safetensors", + "clip_l.safetensors", + "flux" + ] + }, + { + "id": 56, + "type": "PreviewImage", + "pos": { + "0": 856, + "1": 596 + }, + "size": [ + 474.6930758561757, + 487.8756816778689 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [{ + "name": "images", + "type": "IMAGE", + "link": 68 + }], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 60, + "type": "BizyAir_KSamplerSelect", + "pos": { + "0": 230, + "1": 851 + }, + "size": { + "0": 301.6421203613281, + "1": 62.05542755126953 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [{ + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 75 + ], + "slot_index": 0, + "shape": 3 + }], + "properties": { + "Node name for S&R": "BizyAir_KSamplerSelect" + }, + "widgets_values": [ + "euler" + ] + }, + { + "id": 59, + "type": "BizyAir_RandomNoise", + "pos": { + "0": 226, + "1": 720 + }, + "size": { + "0": 303.2338562011719, + "1": 82 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [{ + "name": "NOISE", + "type": "NOISE", + "links": [ + 74 + ], + "slot_index": 0, + "shape": 3 + }], + "properties": { + "Node name for S&R": "BizyAir_RandomNoise" + }, + "widgets_values": [ + 6, + "fixed" + ] + } + ], + "links": [ + [ + 61, + 47, + 0, + 50, + 1, + "GUIDER" + ], + [ + 63, + 51, + 0, + 50, + 4, + "LATENT" + ], + [ + 66, + 50, + 0, + 54, + 0, + "LATENT" + ], + [ + 67, + 55, + 0, + 54, + 1, + "BIZYAIR_VAE" + ], + [ + 68, + 54, + 0, + 56, + 0, + "IMAGE" + ], + [ + 73, + 58, + 0, + 50, + 3, + "SIGMAS" + ], + [ + 74, + 59, + 0, + 50, + 0, + "NOISE" + ], + [ + 75, + 60, + 0, + 50, + 2, + "SAMPLER" + ], + [ + 81, + 48, + 0, + 65, + 0, + "BIZYAIR_MODEL" + ], + [ + 82, + 65, + 0, + 47, + 0, + "BIZYAIR_MODEL" + ], + [ + 83, + 65, + 0, + 58, + 0, + "BIZYAIR_MODEL" + ], + [ + 84, + 36, + 0, + 65, + 1, + "BIZYAIR_CLIP" + ], + [ + 85, + 65, + 1, + 37, + 0, + "BIZYAIR_CLIP" + ], + [ + 86, + 37, + 0, + 67, + 0, + "BIZYAIR_CONDITIONING" + ], + [ + 87, + 67, + 0, + 47, + 1, + "BIZYAIR_CONDITIONING" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9090909090909094, + "offset": [ + 366.4002511628796, -253.67310820882074 + ] + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_generate_photorealistic_images_workflow.json b/docs/docs/examples/bizyair_generate_photorealistic_images_workflow.json new file mode 100644 index 00000000..fa3defc0 --- /dev/null +++ b/docs/docs/examples/bizyair_generate_photorealistic_images_workflow.json @@ -0,0 +1,91 @@ +{ + "last_node_id": 2, + "last_link_id": 1, + "nodes": [ + { + "id": 1, + "type": "BizyAirGenerateLightningImage", + "pos": [ + 788.6666870117188, + 186 + ], + "size": { + "0": 400, + "1": 220 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirGenerateLightningImage" + }, + "widgets_values": [ + "a dog", + 803769021953232, + "randomize", + 1024, + 1024, + 1.5, + 1 + ] + }, + { + "id": 2, + "type": "PreviewImage", + "pos": [ + 1205, + 192 + ], + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 1 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 1, + 1, + 0, + 2, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1, + "offset": [ + 0, + 0 + ] + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_kolors_controlnet.json b/docs/docs/examples/bizyair_kolors_controlnet.json new file mode 100644 index 00000000..ad9b7ab6 --- /dev/null +++ b/docs/docs/examples/bizyair_kolors_controlnet.json @@ -0,0 +1,645 @@ +{ + "last_node_id": 91, + "last_link_id": 151, + "nodes": [ + { + "id": 73, + "type": "BizyAir_KSampler", + "pos": [ + 1925, + 1274 + ], + "size": { + "0": 315, + "1": 262 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 125 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 142 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 143 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 144, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 130 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSampler" + }, + "widgets_values": [ + 1, + "fixed", + 20, + 4.5, + "euler", + "ddim_uniform", + 1 + ] + }, + { + "id": 76, + "type": "BizyAir_VAEDecode", + "pos": [ + 2256, + 1282 + ], + "size": [ + 503.94573135312385, + 46 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 130 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 129 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 145 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 85, + "type": "EmptyLatentImage", + "pos": [ + 1922, + 1585 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 144 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 88, + "type": "PreviewImage", + "pos": [ + 1928, + 1735 + ], + "size": [ + 315.96198171874903, + 263.6386796683562 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 150 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 89, + "type": "BizyAirDepthAnythingV2Preprocessor", + "pos": [ + 1513, + 1497 + ], + "size": [ + 361.25380940312425, + 82 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 149 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 150, + 151 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirDepthAnythingV2Preprocessor" + }, + "widgets_values": [ + "depth_anything_v2_vitl.pth", + 1024 + ] + }, + { + "id": 90, + "type": "BizyAirGenerateLightningImage", + "pos": [ + 1524, + 1627 + ], + "size": [ + 336, + 219.9999542236328 + ], + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 149 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirGenerateLightningImage" + }, + "widgets_values": [ + "a hawk", + 1, + "fixed", + 1024, + 1024, + 1.5, + 1 + ] + }, + { + "id": 71, + "type": "BizyAir_ControlNetApplyAdvanced", + "pos": [ + 1500, + 1269 + ], + "size": { + "0": 386.8606872558594, + "1": 174.17922973632812 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 132, + "slot_index": 0 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 133 + }, + { + "name": "control_net", + "type": "BIZYAIR_CONTROL_NET", + "link": 141, + "slot_index": 2 + }, + { + "name": "image", + "type": "IMAGE", + "link": 151, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 142 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 143 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ControlNetApplyAdvanced" + }, + "widgets_values": [ + 0.8, + 0, + 1 + ] + }, + { + "id": 80, + "type": "BizyAir_MinusZoneChatGLM3TextEncode", + "pos": [ + 1081, + 1377 + ], + "size": [ + 389.3432087656254, + 76 + ], + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 132 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" + }, + "widgets_values": [ + "宇宙飞船在烈火中飞向太空" + ] + }, + { + "id": 81, + "type": "BizyAir_MinusZoneChatGLM3TextEncode", + "pos": [ + 1083, + 1504 + ], + "size": [ + 379.91404509375025, + 76 + ], + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 133 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" + }, + "widgets_values": [ + "nsfw,脸部阴影,低分辨率,jpeg伪影、模糊、糟糕,黑脸,霓虹灯" + ] + }, + { + "id": 75, + "type": "BizyAir_VAELoader", + "pos": [ + 1084, + 1628 + ], + "size": [ + 374.6246896250004, + 58 + ], + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 129 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "sdxl/sdxl_vae.safetensors" + ] + }, + { + "id": 86, + "type": "PreviewImage", + "pos": [ + 2267, + 1378 + ], + "size": [ + 494.58218337499875, + 545.8929832179654 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 145 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 70, + "type": "BizyAir_MZ_KolorsUNETLoaderV2", + "pos": [ + 1073, + 1272 + ], + "size": { + "0": 398.9453430175781, + "1": 58 + }, + "flags": {}, + "order": 5, + "mode": 0, + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 125 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_MZ_KolorsUNETLoaderV2" + }, + "widgets_values": [ + "kolors/Kolors.safetensors" + ] + }, + { + "id": 84, + "type": "BizyAir_MZ_KolorsControlNetLoader", + "pos": [ + 1089, + 1742 + ], + "size": [ + 366.3647794687504, + 58 + ], + "flags": {}, + "order": 6, + "mode": 0, + "outputs": [ + { + "name": "ControlNet", + "type": "BIZYAIR_CONTROL_NET", + "links": [ + 141 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_MZ_KolorsControlNetLoader" + }, + "widgets_values": [ + "kolors/Kolors-ControlNet-Depth.safetensors" + ] + }, + { + "id": 91, + "type": "Note", + "pos": [ + 1073, + 1146 + ], + "size": [ + 485.88076725000064, + 65.17527988984284 + ], + "flags": {}, + "order": 7, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "ControlNet 可以更精确地控制构图。本例展示了 Kolors Depth ControlNet。\n除了 Depth Controlnet 外,你还可以在下拉菜单中,选择其它的 ControlNet。\nSDXL 的 ControlNet,也可以应用于 Kolors 模型。" + ], + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 125, + 70, + 0, + 73, + 0, + "BIZYAIR_MODEL" + ], + [ + 129, + 75, + 0, + 76, + 1, + "BIZYAIR_VAE" + ], + [ + 130, + 73, + 0, + 76, + 0, + "LATENT" + ], + [ + 132, + 80, + 0, + 71, + 0, + "BIZYAIR_CONDITIONING" + ], + [ + 133, + 81, + 0, + 71, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 141, + 84, + 0, + 71, + 2, + "BIZYAIR_CONTROL_NET" + ], + [ + 142, + 71, + 0, + 73, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 143, + 71, + 1, + 73, + 2, + "BIZYAIR_CONDITIONING" + ], + [ + 144, + 85, + 0, + 73, + 3, + "LATENT" + ], + [ + 145, + 76, + 0, + 86, + 0, + "IMAGE" + ], + [ + 149, + 90, + 0, + 89, + 0, + "IMAGE" + ], + [ + 150, + 89, + 0, + 88, + 0, + "IMAGE" + ], + [ + 151, + 89, + 0, + 71, + 3, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.5644739300537776, + "offset": { + "0": -660.5678572070321, + "1": -897.6366635304679 + } + }, + "workspace_info": { + "id": "ckS1tBu-IMHBxD8SZ6K-k", + "saveLock": false, + "cloudID": null, + "coverMediaPath": null + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_kolors_inpainting.json b/docs/docs/examples/bizyair_kolors_inpainting.json new file mode 100644 index 00000000..5efd9472 --- /dev/null +++ b/docs/docs/examples/bizyair_kolors_inpainting.json @@ -0,0 +1,601 @@ +{ + "last_node_id": 44, + "last_link_id": 56, + "nodes": [ + { + "id": 25, + "type": "BizyAir_MZ_KolorsUNETLoaderV2", + "pos": [ + 1025, + 816 + ], + "size": { + "0": 342.2160949707031, + "1": 58 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 31 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_MZ_KolorsUNETLoaderV2" + }, + "widgets_values": [ + "kolors/Kolors-Inpainting.safetensors" + ] + }, + { + "id": 32, + "type": "BizyAir_VAEDecode", + "pos": [ + 1415, + 813 + ], + "size": { + "0": 371.14935302734375, + "1": 46 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 35 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 36, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 53 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 27, + "type": "BizyAir_VAELoader", + "pos": [ + 593, + 801 + ], + "size": { + "0": 407.9100646972656, + "1": 63.83865737915039 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 30, + 36 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "sdxl/sdxl_vae.safetensors" + ] + }, + { + "id": 30, + "type": "BizyAir_MinusZoneChatGLM3TextEncode", + "pos": [ + 595, + 1107 + ], + "size": { + "0": 406.75457763671875, + "1": 76 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 44 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" + }, + "widgets_values": [ + "nsfw,脸部阴影,低分辨率,jpeg伪影、模糊、糟糕,黑脸,霓虹灯" + ] + }, + { + "id": 39, + "type": "PreviewImage", + "pos": [ + 1418, + 927 + ], + "size": { + "0": 387.0735168457031, + "1": 420.3405456542969 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 51 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 41, + "type": "PreviewImage", + "pos": [ + 1821, + 934 + ], + "size": { + "0": 387.0735168457031, + "1": 420.3405456542969 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 53, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 29, + "type": "BizyAir_MinusZoneChatGLM3TextEncode", + "pos": [ + 595, + 927 + ], + "size": { + "0": 407.5237121582031, + "1": 126.94926452636719 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 43 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" + }, + "widgets_values": [ + "一个开朗的女孩,在埃及金字塔旁边" + ] + }, + { + "id": 36, + "type": "BizyAirRemoveBackground", + "pos": [ + 597, + 1222 + ], + "size": { + "0": 359.3028869628906, + "1": 46.24819564819336 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 48 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 54 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "BizyAirRemoveBackground" + } + }, + { + "id": 43, + "type": "InvertMask", + "pos": [ + 599, + 1312 + ], + "size": { + "0": 356.19500732421875, + "1": 26 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 54 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 55 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "InvertMask" + } + }, + { + "id": 26, + "type": "BizyAir_VAEEncodeForInpaint", + "pos": [ + 1026, + 1240 + ], + "size": { + "0": 334.1416015625, + "1": 98 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 50 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 30 + }, + { + "name": "mask", + "type": "MASK", + "link": 55 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 45 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEEncodeForInpaint" + }, + "widgets_values": [ + 0 + ] + }, + { + "id": 28, + "type": "BizyAir_KSampler", + "pos": [ + 1021, + 927 + ], + "size": { + "0": 350.941162109375, + "1": 267.5857849121094 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 31 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 43 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 44 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 45 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 35 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSampler" + }, + "widgets_values": [ + 12, + "increment", + 20, + 5, + "euler", + "ddim_uniform", + 1 + ] + }, + { + "id": 37, + "type": "BizyAirGenerateLightningImage", + "pos": [ + 182, + 1095 + ], + "size": [ + 400, + 220.00001525878906 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 48, + 50, + 51 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirGenerateLightningImage" + }, + "widgets_values": [ + "\nA joyful young girl, with a bright, genuine smile, surrounded by a serene garden with colorful flowers and butterflies fluttering around her. She is wearing a casual dress, playing with a fluffy dog, her eyes sparkling with happiness and wonder.", + 20, + "fixed", + 1024, + 1024, + 1.5, + 1 + ] + }, + { + "id": 42, + "type": "Note", + "pos": [ + 199, + 800 + ], + "size": [ + 371.351732598283, + 217.24020650869352 + ], + "flags": {}, + "order": 5, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "Kolors-Inpainting 模型可以做局部重绘。\n本例子中,使用 BizyAir 的节点生成了一张原始图片,然后使用 BizyAir 的抠图节点得到其背景的 mask。\n然后利用 Kolors Inpainting 模型将背景替换为金字塔。" + ], + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 30, + 27, + 0, + 26, + 1, + "BIZYAIR_VAE" + ], + [ + 31, + 25, + 0, + 28, + 0, + "BIZYAIR_MODEL" + ], + [ + 35, + 28, + 0, + 32, + 0, + "LATENT" + ], + [ + 36, + 27, + 0, + 32, + 1, + "BIZYAIR_VAE" + ], + [ + 43, + 29, + 0, + 28, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 44, + 30, + 0, + 28, + 2, + "BIZYAIR_CONDITIONING" + ], + [ + 45, + 26, + 0, + 28, + 3, + "LATENT" + ], + [ + 48, + 37, + 0, + 36, + 0, + "IMAGE" + ], + [ + 50, + 37, + 0, + 26, + 0, + "IMAGE" + ], + [ + 51, + 37, + 0, + 39, + 0, + "IMAGE" + ], + [ + 53, + 32, + 0, + 41, + 0, + "IMAGE" + ], + [ + 54, + 36, + 1, + 43, + 0, + "MASK" + ], + [ + 55, + 43, + 0, + 26, + 2, + "MASK" + ] + ], + "groups": [], + "config": {}, + "extra": { + "workspace_info": { + "id": "TKSZ5XMzonRsm7MzObd2l" + }, + "ds": { + "scale": 0.9090909090909095, + "offset": { + "0": 280.58162311460734, + "1": -434.57352865224834 + } + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_kolors_ipa.json b/docs/docs/examples/bizyair_kolors_ipa.json new file mode 100644 index 00000000..c976492f --- /dev/null +++ b/docs/docs/examples/bizyair_kolors_ipa.json @@ -0,0 +1,626 @@ +{ + "last_node_id": 71, + "last_link_id": 97, + "nodes": [ + { + "id": 52, + "type": "BizyAir_KSampler", + "pos": [ + 1337, + 973 + ], + "size": { + "0": 346.7946472167969, + "1": 308.3153381347656 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 77 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 92, + "slot_index": 1 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 93, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 94, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 85 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSampler" + }, + "widgets_values": [ + 489730244656263, + "fixed", + 20, + 4.5, + "dpmpp_2m_sde_gpu", + "karras", + 1 + ] + }, + { + "id": 51, + "type": "BizyAir_MZ_KolorsUNETLoaderV2", + "pos": [ + 504, + 1068 + ], + "size": { + "0": 336, + "1": 58 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 76 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_MZ_KolorsUNETLoaderV2" + }, + "widgets_values": [ + "kolors/Kolors.safetensors" + ] + }, + { + "id": 54, + "type": "BizyAir_CLIPVisionLoader", + "pos": [ + 500, + 951 + ], + "size": { + "0": 331.6002197265625, + "1": 60.51792526245117 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "CLIP_VISION", + "type": "CLIP_VISION", + "links": [ + 81 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPVisionLoader" + }, + "widgets_values": [ + "kolors/pytorch_model.bin" + ] + }, + { + "id": 50, + "type": "BizyAir_VAELoader", + "pos": [ + 504, + 826 + ], + "size": { + "0": 324.6021728515625, + "1": 58 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 84 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "sdxl/sdxl_vae.safetensors" + ] + }, + { + "id": 68, + "type": "BizyAirGenerateLightningImage", + "pos": [ + 507, + 1183 + ], + "size": { + "0": 336, + "1": 220.00003051757812 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 95, + 96 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirGenerateLightningImage" + }, + "widgets_values": [ + "a very beautiful flower", + 1, + "fixed", + 1024, + 1024, + 1.5, + 1 + ] + }, + { + "id": 58, + "type": "BizyAir_IPAdapterModelLoader", + "pos": [ + 1336, + 841 + ], + "size": { + "0": 365.2294616699219, + "1": 73.92222595214844 + }, + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "IPADAPTER", + "type": "IPADAPTER", + "links": [ + 83 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_IPAdapterModelLoader" + }, + "widgets_values": [ + "kolors/ip_adapter_plus_general.bin" + ] + }, + { + "id": 69, + "type": "PreviewImage", + "pos": [ + 1726, + 1032 + ], + "size": { + "0": 331.33270263671875, + "1": 338.9947509765625 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 96 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 61, + "type": "BizyAir_VAEDecode", + "pos": [ + 1733, + 849 + ], + "size": { + "0": 318.7030029296875, + "1": 50.580413818359375 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 85 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 84 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 97 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 70, + "type": "PreviewImage", + "pos": [ + 2075, + 1033 + ], + "size": { + "0": 331.33270263671875, + "1": 338.9947509765625 + }, + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 97 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 67, + "type": "EmptyLatentImage", + "pos": [ + 1347, + 1337 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 5, + "mode": 0, + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 94 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 59, + "type": "BizyAir_IPAdapterAdvanced", + "pos": [ + 878, + 829 + ], + "size": { + "0": 395.66741943359375, + "1": 278 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 76 + }, + { + "name": "ipadapter", + "type": "IPADAPTER", + "link": 83 + }, + { + "name": "image", + "type": "IMAGE", + "link": 95 + }, + { + "name": "image_negative", + "type": "IMAGE", + "link": null + }, + { + "name": "attn_mask", + "type": "MASK", + "link": null + }, + { + "name": "clip_vision", + "type": "CLIP_VISION", + "link": 81 + } + ], + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 77 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_IPAdapterAdvanced" + }, + "widgets_values": [ + 0.6, + "linear", + "concat", + 0, + 1, + "V only" + ] + }, + { + "id": 48, + "type": "BizyAir_MinusZoneChatGLM3TextEncode", + "pos": [ + 875, + 1178 + ], + "size": { + "0": 406.06903076171875, + "1": 123.93048095703125 + }, + "flags": {}, + "order": 6, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 92 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" + }, + "widgets_values": [ + "一只开心的狗正在跳跃" + ] + }, + { + "id": 53, + "type": "BizyAir_MinusZoneChatGLM3TextEncode", + "pos": [ + 877, + 1356 + ], + "size": { + "0": 416.0997009277344, + "1": 118.98899841308594 + }, + "flags": {}, + "order": 7, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 93 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" + }, + "widgets_values": [ + "花" + ] + }, + { + "id": 71, + "type": "Note", + "pos": [ + 517, + 707 + ], + "size": [ + 775.910428276944, + 64.41963966035382 + ], + "flags": {}, + "order": 8, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "IPAdapter 可以将图片作为 Image prompt 影响出图的效果。常用于风格转换、人脸变换、构图控制等。" + ], + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 76, + 51, + 0, + 59, + 0, + "BIZYAIR_MODEL" + ], + [ + 77, + 59, + 0, + 52, + 0, + "BIZYAIR_MODEL" + ], + [ + 81, + 54, + 0, + 59, + 5, + "CLIP_VISION" + ], + [ + 83, + 58, + 0, + 59, + 1, + "IPADAPTER" + ], + [ + 84, + 50, + 0, + 61, + 1, + "BIZYAIR_VAE" + ], + [ + 85, + 52, + 0, + 61, + 0, + "LATENT" + ], + [ + 92, + 48, + 0, + 52, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 93, + 53, + 0, + 52, + 2, + "BIZYAIR_CONDITIONING" + ], + [ + 94, + 67, + 0, + 52, + 3, + "LATENT" + ], + [ + 95, + 68, + 0, + 59, + 2, + "IMAGE" + ], + [ + 96, + 68, + 0, + 69, + 0, + "IMAGE" + ], + [ + 97, + 61, + 0, + 70, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.5131581182307069, + "offset": { + "0": -53.98534358241278, + "1": -463.78672483574496 + } + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_kolors_txt2img.json b/docs/docs/examples/bizyair_kolors_txt2img.json new file mode 100644 index 00000000..05379770 --- /dev/null +++ b/docs/docs/examples/bizyair_kolors_txt2img.json @@ -0,0 +1,393 @@ +{ + "last_node_id": 91, + "last_link_id": 154, + "nodes": [ + { + "id": 85, + "type": "EmptyLatentImage", + "pos": [ + 1922, + 1585 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 144 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 768, + 1024, + 1 + ] + }, + { + "id": 70, + "type": "BizyAir_MZ_KolorsUNETLoaderV2", + "pos": [ + 1509, + 1279 + ], + "size": { + "0": 398.9453430175781, + "1": 58 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 125 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_MZ_KolorsUNETLoaderV2" + }, + "widgets_values": [ + "kolors/Kolors.safetensors" + ] + }, + { + "id": 80, + "type": "BizyAir_MinusZoneChatGLM3TextEncode", + "pos": [ + 1512, + 1386 + ], + "size": { + "0": 389.34320068359375, + "1": 76 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 152 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" + }, + "widgets_values": [ + "真实的照片,20岁女生,红色外套,城市夜景" + ] + }, + { + "id": 81, + "type": "BizyAir_MinusZoneChatGLM3TextEncode", + "pos": [ + 1509, + 1510 + ], + "size": { + "0": 379.9140319824219, + "1": 76 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 154 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_MinusZoneChatGLM3TextEncode" + }, + "widgets_values": [ + "nsfw,脸部阴影,低分辨率,jpeg伪影、模糊、糟糕,黑脸,霓虹灯" + ] + }, + { + "id": 75, + "type": "BizyAir_VAELoader", + "pos": [ + 1516, + 1637 + ], + "size": { + "0": 374.62469482421875, + "1": 58 + }, + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 129 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAELoader" + }, + "widgets_values": [ + "sdxl/sdxl_vae.safetensors" + ] + }, + { + "id": 73, + "type": "BizyAir_KSampler", + "pos": [ + 1925, + 1274 + ], + "size": { + "0": 315, + "1": 262 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 125 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 152 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 154 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 144, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 130 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSampler" + }, + "widgets_values": [ + 20, + "fixed", + 20, + 4.5, + "dpmpp_sde_gpu", + "karras", + 1 + ] + }, + { + "id": 76, + "type": "BizyAir_VAEDecode", + "pos": [ + 2256, + 1282 + ], + "size": [ + 365.067931062501, + 46 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 130 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 129 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 145 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 86, + "type": "PreviewImage", + "pos": [ + 2263, + 1366 + ], + "size": [ + 368.909100984376, + 498.7901410304694 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 145 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 91, + "type": "Note", + "pos": [ + 1518, + 1149 + ], + "size": [ + 487.48251075000076, + 79.2967855617203 + ], + "flags": {}, + "order": 5, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "Kolors 文生图示例。\n你可以在 ChatGLM3 文本节点中填写正向提示词、反向提示词。\n可以在 Empty Latent Image 里调整生成的图片大小以及数量。\n在 KSampler 里设置种子等参数。" + ], + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 125, + 70, + 0, + 73, + 0, + "BIZYAIR_MODEL" + ], + [ + 129, + 75, + 0, + 76, + 1, + "BIZYAIR_VAE" + ], + [ + 130, + 73, + 0, + 76, + 0, + "LATENT" + ], + [ + 144, + 85, + 0, + 73, + 3, + "LATENT" + ], + [ + 145, + 76, + 0, + 86, + 0, + "IMAGE" + ], + [ + 152, + 80, + 0, + 73, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 154, + 81, + 0, + 73, + 2, + "BIZYAIR_CONDITIONING" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.683013455365071, + "offset": { + "0": -1024.060822078126, + "1": -965.1305297023464 + } + }, + "workspace_info": { + "id": "ckS1tBu-IMHBxD8SZ6K-k", + "saveLock": false, + "cloudID": null, + "coverMediaPath": null + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_remove_background_workflow.json b/docs/docs/examples/bizyair_remove_background_workflow.json new file mode 100644 index 00000000..0d72a1a7 --- /dev/null +++ b/docs/docs/examples/bizyair_remove_background_workflow.json @@ -0,0 +1,142 @@ +{ + "last_node_id": 37, + "last_link_id": 50, + "nodes": [ + { + "id": 33, + "type": "LoadImage", + "pos": [ + 1830, + 614 + ], + "size": [ + 315, + 314 + ], + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 49 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "ComfyUI_00018_.png", + "image" + ] + }, + { + "id": 36, + "type": "BizyAirRemoveBackground", + "pos": [ + 2167, + 619 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 49 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 50 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirRemoveBackground" + } + }, + { + "id": 37, + "type": "PreviewImage", + "pos": [ + 2416, + 627 + ], + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 50 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 49, + 33, + 0, + 36, + 0, + "IMAGE" + ], + [ + 50, + 36, + 0, + 37, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1, + "offset": { + "0": -918, + "1": -317.33331298828125 + } + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_sd3_5_txt2img.json b/docs/docs/examples/bizyair_sd3_5_txt2img.json new file mode 100644 index 00000000..7688cbea --- /dev/null +++ b/docs/docs/examples/bizyair_sd3_5_txt2img.json @@ -0,0 +1,850 @@ +{ + "last_node_id": 318, + "last_link_id": 626, + "nodes": [ + { + "id": 302, + "type": "BizyAir_CheckpointLoaderSimple", + "pos": { + "0": -576, + "1": 152, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 617 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "links": null, + "shape": 3 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 619 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" + }, + "widgets_values": [ + "sd3.5_large.safetensors" + ] + }, + { + "id": 316, + "type": "Reroute", + "pos": { + "0": -574, + "1": 656, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 623 + } + ], + "outputs": [ + { + "name": "", + "type": "BIZYAIR_CLIP", + "links": [ + 624, + 625 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 307, + "type": "BizyAir_ConditioningZeroOut", + "pos": { + "0": -562, + "1": 595, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 330.8026697243233, + 26 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 609 + } + ], + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 610 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ConditioningZeroOut" + } + }, + { + "id": 312, + "type": "BizyAir_ModelSamplingSD3", + "pos": { + "0": -157, + "1": 152, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 327.5999755859375, + "1": 58 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 617 + } + ], + "outputs": [ + { + "name": "BIZYAIR_MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 616 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ModelSamplingSD3" + }, + "widgets_values": [ + 3 + ] + }, + { + "id": 308, + "type": "BizyAir_ConditioningSetTimestepRange", + "pos": { + "0": -161, + "1": 273, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 319.20001220703125, + "1": 82 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 610 + } + ], + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 612 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ConditioningSetTimestepRange" + }, + "widgets_values": [ + 0.1, + 1 + ] + }, + { + "id": 309, + "type": "BizyAir_ConditioningSetTimestepRange", + "pos": { + "0": -166, + "1": 434, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 319.20001220703125, + "1": 82 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 611 + } + ], + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 613 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ConditioningSetTimestepRange" + }, + "widgets_values": [ + 0, + 0.1 + ] + }, + { + "id": 310, + "type": "BizyAir_ConditioningCombine", + "pos": { + "0": -146, + "1": 560, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 295.6000061035156, + 48.88832420898143 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "conditioning_1", + "type": "BIZYAIR_CONDITIONING", + "link": 612 + }, + { + "name": "conditioning_2", + "type": "BIZYAIR_CONDITIONING", + "link": 613 + } + ], + "outputs": [ + { + "name": "BIZYAIR_CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 614 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ConditioningCombine" + } + }, + { + "id": 311, + "type": "BizyAir_KSampler", + "pos": { + "0": 212, + "1": 154, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 414.3464250291672, + 341.17207635187214 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 616 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 615 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 614 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 622 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 620 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSampler" + }, + "widgets_values": [ + 66155038679131, + "fixed", + 20, + 4.5, + "dpmpp_2m", + "sgm_uniform", + 1 + ] + }, + { + "id": 314, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 213, + "1": 546, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 410.82029954369864, + 46 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 620 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 619 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 621 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 135, + "type": "EmptySD3LatentImage", + "pos": { + "0": 184, + "1": 662, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 429.6782662645969, + 120.64879714988001 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 622 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "EmptySD3LatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 105, + "type": "Note", + "pos": { + "0": -80, + "1": 667, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 210, + "1": 110.18948364257812 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "text": "" + }, + "widgets_values": [ + "Make sure the resolution is multiple of 64 pixels and adds up to around 1 megapixel. " + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 303, + "type": "BizyAir_TripleCLIPLoader", + "pos": { + "0": -559, + "1": 691, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 327.5999755859375, + "1": 106 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 623 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_TripleCLIPLoader" + }, + "widgets_values": [ + "clip_l.safetensors", + "clip_g.safetensors", + "t5xxl_fp16.safetensors" + ] + }, + { + "id": 315, + "type": "PreviewImage", + "pos": { + "0": 678, + "1": 131, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 1013.231539037605, + 1031.6655356407784 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 621 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 306, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": -569, + "1": 448, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 338.0171946891671, + 76 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 624 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 609, + 611 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 304, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": -572, + "1": 309, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 343.6167902699452, + 92.59419942758745 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 625 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 615 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "insulated cup nestled within, displaying the text 'bizyair' in bold letters. The surrounding area is a simple, pure canvas with no additional distractions, highlighting the central theme of the product. Ensure the overall composition is both elegant and serene, with attention to detail in both the cup and the background." + ] + } + ], + "links": [ + [ + 609, + 306, + 0, + 307, + 0, + "BIZYAIR_CONDITIONING" + ], + [ + 610, + 307, + 0, + 308, + 0, + "BIZYAIR_CONDITIONING" + ], + [ + 611, + 306, + 0, + 309, + 0, + "BIZYAIR_CONDITIONING" + ], + [ + 612, + 308, + 0, + 310, + 0, + "BIZYAIR_CONDITIONING" + ], + [ + 613, + 309, + 0, + 310, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 614, + 310, + 0, + 311, + 2, + "BIZYAIR_CONDITIONING" + ], + [ + 615, + 304, + 0, + 311, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 616, + 312, + 0, + 311, + 0, + "BIZYAIR_MODEL" + ], + [ + 617, + 302, + 0, + 312, + 0, + "BIZYAIR_MODEL" + ], + [ + 619, + 302, + 2, + 314, + 1, + "BIZYAIR_VAE" + ], + [ + 620, + 311, + 0, + 314, + 0, + "LATENT" + ], + [ + 621, + 314, + 0, + 315, + 0, + "IMAGE" + ], + [ + 622, + 135, + 0, + 311, + 3, + "LATENT" + ], + [ + 623, + 303, + 0, + 316, + 0, + "*" + ], + [ + 624, + 316, + 0, + 306, + 0, + "BIZYAIR_CLIP" + ], + [ + 625, + 316, + 0, + 304, + 0, + "BIZYAIR_CLIP" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.4240976183724853, + "offset": [ + 1390.5504319089619, + 569.5428869938895 + ] + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_sdxl_InstantID_basic.json b/docs/docs/examples/bizyair_sdxl_InstantID_basic.json new file mode 100644 index 00000000..90f518a8 --- /dev/null +++ b/docs/docs/examples/bizyair_sdxl_InstantID_basic.json @@ -0,0 +1,814 @@ +{ + "last_node_id": 125, + "last_link_id": 312, + "nodes": [ + { + "id": 95, + "type": "BizyAir_KSampler", + "pos": { + "0": 2073, + "1": -1134, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 315, + "1": 262 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 259 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 311 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 312 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 262 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 272 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSampler" + }, + "widgets_values": [ + 1, + "fixed", + 30, + 4.5, + "ddpm", + "karras", + 1 + ] + }, + { + "id": 92, + "type": "BizyAir_ControlNetLoader", + "pos": { + "0": 1223, + "1": -1098, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 415.8472595214844, + "1": 58 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "BIZYAIR_CONTROL_NET", + "links": [ + 252 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ControlNetLoader" + }, + "widgets_values": [ + "instantid/diffusion_pytorch_model.safetensors" + ] + }, + { + "id": 122, + "type": "BizyAir_LoadImageURL", + "pos": { + "0": 1232, + "1": -1246, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 398.8588562011719, + "1": 96 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 308, + 309 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_LoadImageURL" + }, + "widgets_values": [ + "https://bizy-air.oss-cn-beijing.aliyuncs.com/examples_asset/bizyair-instantid-example.webp" + ] + }, + { + "id": 91, + "type": "BizyAir_ApplyInstantID", + "pos": { + "0": 1716, + "1": -1252, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 326.1368408203125, + "1": 266 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "instantid", + "type": "BIZYAIR_INSTANTID", + "link": 250 + }, + { + "name": "insightface", + "type": "BIZYAIR_FACEANALYSIS", + "link": 251 + }, + { + "name": "control_net", + "type": "BIZYAIR_CONTROL_NET", + "link": 252 + }, + { + "name": "image", + "type": "IMAGE", + "link": 308 + }, + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 253 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 257 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 258 + }, + { + "name": "image_kps", + "type": "IMAGE", + "link": null + }, + { + "name": "mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 259 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 311 + ], + "slot_index": 1, + "shape": 3 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 312 + ], + "slot_index": 2, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ApplyInstantID" + }, + "widgets_values": [ + 0.8, + 0, + 1 + ] + }, + { + "id": 83, + "type": "BizyAir_InstantIDModelLoader", + "pos": { + "0": 1722, + "1": -928, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 318.3161926269531, + "1": 58 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "BIZYAIR_INSTANTID", + "type": "BIZYAIR_INSTANTID", + "links": [ + 250 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_InstantIDModelLoader" + }, + "widgets_values": [ + "ip-adapter.bin" + ] + }, + { + "id": 96, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 2084, + "1": -1243, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 296.0434265136719, + "1": 46 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 272 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 266 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 267 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 123, + "type": "PreviewImage", + "pos": { + "0": 2459, + "1": -1252, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 559.7613525390625, + "1": 560.9844360351562 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 309 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 85, + "type": "BizyAir_InstantIDFaceAnalysis", + "pos": { + "0": 1725, + "1": -768, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 323.09515380859375, + "1": 64.16976928710938 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "BIZYAIR_FACEANALYSIS", + "type": "BIZYAIR_FACEANALYSIS", + "links": [ + 251 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_InstantIDFaceAnalysis" + }, + "widgets_values": [ + "CUDA" + ] + }, + { + "id": 94, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": 1238, + "1": -785, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 417.4436340332031, + "1": 76 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 256 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 258 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "photograph, deformed, glitch, noisy, realistic, stock photo" + ] + }, + { + "id": 93, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": 1232, + "1": -951, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 415.1671447753906, + "1": 85.4674301147461 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 255 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 257 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "comic character. graphic illustration, comic art, graphic novel art, vibrant, highly detailed" + ] + }, + { + "id": 97, + "type": "PreviewImage", + "pos": { + "0": 3040, + "1": -1255, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 534.6394653320312, + "1": 565.498291015625 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 267 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 5, + "type": "EmptyLatentImage", + "pos": { + "0": 2075, + "1": -803, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 262 + ], + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1016, + 1016, + 1 + ] + }, + { + "id": 90, + "type": "BizyAir_CheckpointLoaderSimple", + "pos": { + "0": 809, + "1": -1258, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 343.9351806640625, + "1": 98 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 253 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "links": [ + 255, + 256 + ], + "slot_index": 1, + "shape": 3 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 266 + ], + "slot_index": 2, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" + }, + "widgets_values": [ + "sdxl/samaritan3dCartoon_v40SDXL.safetensors" + ] + } + ], + "links": [ + [ + 250, + 83, + 0, + 91, + 0, + "BIZYAIR_INSTANTID" + ], + [ + 251, + 85, + 0, + 91, + 1, + "BIZYAIR_FACEANALYSIS" + ], + [ + 252, + 92, + 0, + 91, + 2, + "BIZYAIR_CONTROL_NET" + ], + [ + 253, + 90, + 0, + 91, + 4, + "BIZYAIR_MODEL" + ], + [ + 255, + 90, + 1, + 93, + 0, + "BIZYAIR_CLIP" + ], + [ + 256, + 90, + 1, + 94, + 0, + "BIZYAIR_CLIP" + ], + [ + 257, + 93, + 0, + 91, + 5, + "BIZYAIR_CONDITIONING" + ], + [ + 258, + 94, + 0, + 91, + 6, + "BIZYAIR_CONDITIONING" + ], + [ + 259, + 91, + 0, + 95, + 0, + "BIZYAIR_MODEL" + ], + [ + 262, + 5, + 0, + 95, + 3, + "LATENT" + ], + [ + 266, + 90, + 2, + 96, + 1, + "BIZYAIR_VAE" + ], + [ + 267, + 96, + 0, + 97, + 0, + "IMAGE" + ], + [ + 272, + 95, + 0, + 96, + 0, + "LATENT" + ], + [ + 308, + 122, + 0, + 91, + 3, + "IMAGE" + ], + [ + 309, + 122, + 0, + 123, + 0, + "IMAGE" + ], + [ + 311, + 91, + 1, + 95, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 312, + 91, + 2, + 95, + 2, + "BIZYAIR_CONDITIONING" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.7449402268886804, + "offset": [ + -698.7654009040159, + 1431.2066920107438 + ] + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_showcase_interior_design.json b/docs/docs/examples/bizyair_showcase_interior_design.json new file mode 100644 index 00000000..a4e2341d --- /dev/null +++ b/docs/docs/examples/bizyair_showcase_interior_design.json @@ -0,0 +1,312 @@ +{ + "last_node_id": 74, + "last_link_id": 81, + "nodes": [ + { + "id": 67, + "type": "BizyAirCannyEdgePreprocessor", + "pos": [ + 420, + 640 + ], + "size": { + "0": 390.9926452636719, + "1": 106 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 75 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 77, + 80 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirCannyEdgePreprocessor" + }, + "widgets_values": [ + 100, + 200, + 512 + ] + }, + { + "id": 69, + "type": "StableDiffusionXLControlNetUnionPipeline", + "pos": [ + 840, + 590 + ], + "size": { + "0": 576.3480834960938, + "1": 414 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "openpose_image", + "type": "IMAGE", + "link": null + }, + { + "name": "depth_image", + "type": "IMAGE", + "link": null + }, + { + "name": "hed_pidi_scribble_ted_image", + "type": "IMAGE", + "link": null + }, + { + "name": "canny_lineart_anime_lineart_mlsd_image", + "type": "IMAGE", + "link": 77 + }, + { + "name": "normal_image", + "type": "IMAGE", + "link": null + }, + { + "name": "segment_image", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 81 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "StableDiffusionXLControlNetUnionPipeline" + }, + "widgets_values": [ + 1, + "fixed", + 20, + 1, + 4.9, + "Stylish modern bedroom with a monochrome color palette, featuring sleek furniture and contemporary decor elements, minimalistic design, large windows with natural light, and a tranquil ambiance.", + "watermark, text", + 0, + 0.5 + ] + }, + { + "id": 63, + "type": "BizyAirGenerateLightningImage", + "pos": [ + 410, + 810 + ], + "size": { + "0": 393.21099853515625, + "1": 220 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 74, + 75 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirGenerateLightningImage" + }, + "widgets_values": [ + "a living room", + 493871336398282, + "fixed", + 1024, + 1024, + 1.5, + 1 + ] + }, + { + "id": 74, + "type": "Note", + "pos": [ + 430, + 1080 + ], + "size": { + "0": 377.661376953125, + "1": 264.20611572265625 + }, + "flags": {}, + "order": 1, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "这个工作流中:\n\n1. 使用 \"BizyAir Generate Photorealistic Images\" 节点生成一张地中海风格的卧室图片。\n2. 使用 BizyAir Controlnet 预处理节点,将图片变为线稿。\n3. 使用 BizyAir ControlNet Union 节点,结合提示词,生成新的装修风格的图片。" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 66, + "type": "PreviewImage", + "pos": [ + 840, + 1040 + ], + "size": { + "0": 319.8609924316406, + "1": 342.8357849121094 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 74 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 72, + "type": "PreviewImage", + "pos": [ + 1170, + 1040 + ], + "size": { + "0": 319.8609924316406, + "1": 342.8357849121094 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 80 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 73, + "type": "PreviewImage", + "pos": [ + 1511, + 1041 + ], + "size": { + "0": 319.8609924316406, + "1": 342.8357849121094 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 81 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 74, + 63, + 0, + 66, + 0, + "IMAGE" + ], + [ + 75, + 63, + 0, + 67, + 0, + "IMAGE" + ], + [ + 77, + 67, + 0, + 69, + 3, + "IMAGE" + ], + [ + 80, + 67, + 0, + 72, + 0, + "IMAGE" + ], + [ + 81, + 69, + 0, + 73, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9090909090909114, + "offset": { + "0": 351.868691104778, + "1": -335.9473992739569 + } + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_showcase_ksampler_controlnet.json b/docs/docs/examples/bizyair_showcase_ksampler_controlnet.json new file mode 100644 index 00000000..0cde9363 --- /dev/null +++ b/docs/docs/examples/bizyair_showcase_ksampler_controlnet.json @@ -0,0 +1,551 @@ +{ + "last_node_id": 53, + "last_link_id": 80, + "nodes": [ + { + "id": 32, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + 1170, + -448 + ], + "size": { + "0": 388.74163818359375, + "1": 76 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 80, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 41 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed" + ] + }, + { + "id": 33, + "type": "EmptyLatentImage", + "pos": [ + 1178, + -322 + ], + "size": { + "0": 379.7643737792969, + "1": 106 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 65 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 34, + "type": "BizyAir_VAEDecode", + "pos": [ + 1182, + -172 + ], + "size": { + "0": 373.3127746582031, + "1": 46 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 45 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 44 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 46 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 50, + "type": "BizyAir_ControlNetApply", + "pos": [ + 1581, + -226 + ], + "size": { + "0": 302.2201843261719, + "1": 98 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 73, + "slot_index": 0 + }, + { + "name": "control_net", + "type": "BIZYAIR_CONTROL_NET", + "link": 72 + }, + { + "name": "image", + "type": "IMAGE", + "link": 75, + "slot_index": 2 + } + ], + "outputs": [ + { + "name": "CONTROL_NET", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 74 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ControlNetApply" + }, + "widgets_values": [ + 1 + ] + }, + { + "id": 51, + "type": "LoadImage", + "pos": [ + 1906, + -535 + ], + "size": { + "0": 231.78855895996094, + "1": 399.8204040527344 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 75 + ], + "shape": 3 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "example.png", + "image" + ] + }, + { + "id": 28, + "type": "BizyAir_CheckpointLoaderSimple", + "pos": [ + 762, + -546 + ], + "size": { + "0": 393.10528564453125, + "1": 98 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 78 + ], + "shape": 3 + }, + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "links": [ + 79, + 80 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 44 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" + }, + "widgets_values": [ + "sdxl/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors" + ] + }, + { + "id": 49, + "type": "BizyAir_ControlNetLoader", + "pos": [ + 761, + -397 + ], + "size": { + "0": 386.44049072265625, + "1": 58 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "BIZYAIR_CONTROL_NET", + "links": [ + 72 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ControlNetLoader" + }, + "widgets_values": [ + "sdxl/diffusion_pytorch_model_promax.safetensors" + ] + }, + { + "id": 27, + "type": "BizyAir_KSampler", + "pos": [ + 1577, + -541 + ], + "size": { + "0": 315, + "1": 262 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 78 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 74, + "slot_index": 1 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 41, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 65, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 45 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSampler" + }, + "widgets_values": [ + 1, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 53, + "type": "Note", + "pos": [ + 752, + -283 + ], + "size": { + "0": 391.2381591796875, + "1": 150.12355041503906 + }, + "flags": {}, + "order": 4, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "ControlNet 工作流示例。\n\nBizyAir Load ControlNet Model 节点,可以用于加载 ControlNet。BizyAir Apply ContolNet 模型,可以将 ControlNet 应用到控制条件上。使得最终生成的图片,与参考图片有一定的一致性。" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 31, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + 1170, + -551 + ], + "size": { + "0": 388.9184875488281, + "1": 96 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 79, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 73 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "A futuristic spaceship soaring through a star-filled galaxy with intricate details and advanced technology, reflecting a vibrant blend of sci-fi" + ] + }, + { + "id": 35, + "type": "PreviewImage", + "pos": [ + 2163, + -529 + ], + "size": [ + 359.1744333383176, + 393.1894518069802 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 46 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 41, + 32, + 0, + 27, + 2, + "BIZYAIR_CONDITIONING" + ], + [ + 44, + 28, + 2, + 34, + 1, + "BIZYAIR_VAE" + ], + [ + 45, + 27, + 0, + 34, + 0, + "LATENT" + ], + [ + 46, + 34, + 0, + 35, + 0, + "IMAGE" + ], + [ + 65, + 33, + 0, + 27, + 3, + "LATENT" + ], + [ + 72, + 49, + 0, + 50, + 1, + "BIZYAIR_CONTROL_NET" + ], + [ + 73, + 31, + 0, + 50, + 0, + "BIZYAIR_CONDITIONING" + ], + [ + 74, + 50, + 0, + 27, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 75, + 51, + 0, + 50, + 2, + "IMAGE" + ], + [ + 78, + 28, + 0, + 27, + 0, + "BIZYAIR_MODEL" + ], + [ + 79, + 28, + 1, + 31, + 0, + "BIZYAIR_CLIP" + ], + [ + 80, + 28, + 1, + 32, + 0, + "BIZYAIR_CLIP" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.1, + "offset": { + "0": -465.0579560655903, + "1": 817.9483322839294 + } + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_showcase_ksampler_img2img.json b/docs/docs/examples/bizyair_showcase_ksampler_img2img.json new file mode 100644 index 00000000..9e7c9d53 --- /dev/null +++ b/docs/docs/examples/bizyair_showcase_ksampler_img2img.json @@ -0,0 +1,469 @@ +{ + "last_node_id": 53, + "last_link_id": 83, + "nodes": [ + { + "id": 51, + "type": "LoadImage", + "pos": [ + 690, + -277 + ], + "size": [ + 210, + 300.9166317479702 + ], + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 78 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "example.png", + "image" + ] + }, + { + "id": 28, + "type": "BizyAir_CheckpointLoaderSimple", + "pos": [ + 681, + -421 + ], + "size": [ + 479.95260721065824, + 98 + ], + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 81 + ], + "shape": 3 + }, + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "links": [ + 82, + 83 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 44, + 80 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" + }, + "widgets_values": [ + "sdxl/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors" + ] + }, + { + "id": 35, + "type": "PreviewImage", + "pos": [ + 1586, + -417 + ], + "size": [ + 402.00619708669115, + 426.6130418719372 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 46 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 27, + "type": "BizyAir_KSampler", + "pos": [ + 923, + -269 + ], + "size": [ + 225.13662064041046, + 281.78969476449913 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 81 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 77, + "slot_index": 1 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 41, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 79, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 45 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSampler" + }, + "widgets_values": [ + 2, + "fixed", + 20, + 8, + "euler", + "normal", + 0.8 + ] + }, + { + "id": 34, + "type": "BizyAir_VAEDecode", + "pos": [ + 1182, + -39 + ], + "size": [ + 373.98708551644336, + 46 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 45 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 44 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 46 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 52, + "type": "BizyAir_VAEEncode", + "pos": [ + 1190, + -153 + ], + "size": [ + 370.02492126024504, + 51.0624220372265 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 78 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 80 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 79 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEEncode" + } + }, + { + "id": 32, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + 1181, + -284 + ], + "size": [ + 384.08845431809596, + 76 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 82, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 41 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed" + ] + }, + { + "id": 31, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + 1174, + -418 + ], + "size": [ + 395.36996258255886, + 79.17257183061503 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 83, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 77 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "a happy girl with wings, high quality, detailed, diffuse light" + ] + }, + { + "id": 53, + "type": "Note", + "pos": [ + 449, + -417 + ], + "size": [ + 210.57127973132026, + 442.3413476570613 + ], + "flags": {}, + "order": 2, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "本 workflow 展示了最基础的一种图生图的方法。\n\n1. 加载图片,使用 BizyAir 的 VAE Encode 节点将图片转为 Latent。作为垫图。\n\n2. 将上一步得到的 Latent 作为输入,传递给 BizyAir Ksampler\n\n结合正向、反向提示词,可以得到与垫图相关的输出图像。" + ], + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 41, + 32, + 0, + 27, + 2, + "BIZYAIR_CONDITIONING" + ], + [ + 44, + 28, + 2, + 34, + 1, + "BIZYAIR_VAE" + ], + [ + 45, + 27, + 0, + 34, + 0, + "LATENT" + ], + [ + 46, + 34, + 0, + 35, + 0, + "IMAGE" + ], + [ + 77, + 31, + 0, + 27, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 78, + 51, + 0, + 52, + 0, + "IMAGE" + ], + [ + 79, + 52, + 0, + 27, + 3, + "LATENT" + ], + [ + 80, + 28, + 2, + 52, + 1, + "BIZYAIR_VAE" + ], + [ + 81, + 28, + 0, + 27, + 0, + "BIZYAIR_MODEL" + ], + [ + 82, + 28, + 1, + 32, + 0, + "BIZYAIR_CLIP" + ], + [ + 83, + 28, + 1, + 31, + 0, + "BIZYAIR_CLIP" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.2100000000000002, + "offset": { + "0": -101.1645906817331, + "1": 698.7241998635994 + } + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_showcase_ksampler_ipadapter.json b/docs/docs/examples/bizyair_showcase_ksampler_ipadapter.json new file mode 100644 index 00000000..381efe1f --- /dev/null +++ b/docs/docs/examples/bizyair_showcase_ksampler_ipadapter.json @@ -0,0 +1,718 @@ +{ + "last_node_id": 50, + "last_link_id": 67, + "nodes": [ + { + "id": 48, + "type": "BizyAirGenerateLightningImage", + "pos": [ + 668, + -851 + ], + "size": { + "0": 400, + "1": 220.00001525878906 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 65, + 66 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirGenerateLightningImage" + }, + "widgets_values": [ + "a beautiful red flower", + 900476689672746, + "fixed", + 1024, + 1024, + 1.5, + 1 + ] + }, + { + "id": 32, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + 1100, + -345 + ], + "size": { + "0": 378.1509094238281, + "1": 76 + }, + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 42, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 41 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed" + ] + }, + { + "id": 27, + "type": "BizyAir_KSampler", + "pos": [ + 1107, + -223 + ], + "size": { + "0": 362.066162109375, + "1": 262 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 57 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 39, + "slot_index": 1 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 41, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 43, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 45 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSampler" + }, + "widgets_values": [ + 1, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 44, + "type": "BizyAir_IPAdapterStyleComposition", + "pos": [ + 1093, + -847 + ], + "size": { + "0": 389.1309509277344, + "1": 322 + }, + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 55 + }, + { + "name": "ipadapter", + "type": "IPADAPTER", + "link": 56 + }, + { + "name": "image_style", + "type": "IMAGE", + "link": 65 + }, + { + "name": "image_composition", + "type": "IMAGE", + "link": 63 + }, + { + "name": "image_negative", + "type": "IMAGE", + "link": null + }, + { + "name": "attn_mask", + "type": "MASK", + "link": null + }, + { + "name": "clip_vision", + "type": "CLIP_VISION", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 57 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_IPAdapterStyleComposition" + }, + "widgets_values": [ + 1, + 1, + false, + "average", + 0, + 1, + "V only" + ] + }, + { + "id": 46, + "type": "BizyAirGenerateLightningImage", + "pos": [ + 661, + -586 + ], + "size": { + "0": 400, + "1": 220 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 63, + 64 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirGenerateLightningImage" + }, + "widgets_values": [ + "a jumping dog", + 555639426184849, + "fixed", + 1024, + 1024, + 1.5, + 1 + ] + }, + { + "id": 47, + "type": "PreviewImage", + "pos": [ + 1511, + -534 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 64 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 49, + "type": "PreviewImage", + "pos": [ + 1509, + -826 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 66 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 35, + "type": "PreviewImage", + "pos": [ + 1737, + -824 + ], + "size": { + "0": 515.3231811523438, + "1": 533.6145629882812 + }, + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 46 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 29, + "type": "BizyAir_IPAdapterUnifiedLoader", + "pos": [ + 661, + -321 + ], + "size": { + "0": 407.4302062988281, + "1": 78 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 67 + }, + { + "name": "ipadapter", + "type": "IPADAPTER", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 55 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "ipadapter", + "type": "IPADAPTER", + "links": [ + 56 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "BizyAir_IPAdapterUnifiedLoader" + }, + "widgets_values": [ + "PLUS (high strength)" + ] + }, + { + "id": 33, + "type": "EmptyLatentImage", + "pos": [ + 656, + -59 + ], + "size": { + "0": 410.8927001953125, + "1": 106 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 43 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 28, + "type": "BizyAir_CheckpointLoaderSimple", + "pos": [ + 658, + -199 + ], + "size": { + "0": 412.0559997558594, + "1": 98 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 67 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "links": [ + 40, + 42 + ], + "shape": 3 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 44 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" + }, + "widgets_values": [ + "sdxl/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors" + ] + }, + { + "id": 31, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + 1105, + -470 + ], + "size": { + "0": 370.95794677734375, + "1": 76 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 40, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 39 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "a jumping dog" + ] + }, + { + "id": 34, + "type": "BizyAir_VAEDecode", + "pos": [ + 1512, + -223 + ], + "size": { + "0": 201.11224365234375, + "1": 46 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 45 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 44 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 46 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 50, + "type": "Note", + "pos": [ + 662, + -1006 + ], + "size": [ + 1582.3057162720038, + 91.62963029793445 + ], + "flags": {}, + "order": 4, + "mode": 0, + "properties": { + "text": "nihao" + }, + "widgets_values": [ + "IPAdapter 可以将图片作为 Image prompt 影响出图的效果。常用于风格转换、人脸变换、构图控制等。" + ], + "color": "#232", + "bgcolor": "#353", + "shape": 2 + } + ], + "links": [ + [ + 39, + 31, + 0, + 27, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 40, + 28, + 1, + 31, + 0, + "BIZYAIR_CLIP" + ], + [ + 41, + 32, + 0, + 27, + 2, + "BIZYAIR_CONDITIONING" + ], + [ + 42, + 28, + 1, + 32, + 0, + "BIZYAIR_CLIP" + ], + [ + 43, + 33, + 0, + 27, + 3, + "LATENT" + ], + [ + 44, + 28, + 2, + 34, + 1, + "BIZYAIR_VAE" + ], + [ + 45, + 27, + 0, + 34, + 0, + "LATENT" + ], + [ + 46, + 34, + 0, + 35, + 0, + "IMAGE" + ], + [ + 55, + 29, + 0, + 44, + 0, + "BIZYAIR_MODEL" + ], + [ + 56, + 29, + 1, + 44, + 1, + "IPADAPTER" + ], + [ + 57, + 44, + 0, + 27, + 0, + "BIZYAIR_MODEL" + ], + [ + 63, + 46, + 0, + 44, + 3, + "IMAGE" + ], + [ + 64, + 46, + 0, + 47, + 0, + "IMAGE" + ], + [ + 65, + 48, + 0, + 44, + 2, + "IMAGE" + ], + [ + 66, + 48, + 0, + 49, + 0, + "IMAGE" + ], + [ + 67, + 28, + 0, + 29, + 0, + "BIZYAIR_MODEL" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1, + "offset": { + "0": -157.4072787720038, + "1": 1188.1203697020655 + } + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_showcase_ksampler_lora.json b/docs/docs/examples/bizyair_showcase_ksampler_lora.json new file mode 100644 index 00000000..eed7c22c --- /dev/null +++ b/docs/docs/examples/bizyair_showcase_ksampler_lora.json @@ -0,0 +1,478 @@ +{ + "last_node_id": 52, + "last_link_id": 77, + "nodes": [ + { + "id": 32, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + 1216, + -25 + ], + "size": [ + 428.38484488430913, + 76.84403215759437 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 70, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 41 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed" + ] + }, + { + "id": 27, + "type": "BizyAir_KSampler", + "pos": [ + 1655, + -177 + ], + "size": [ + 320.9270828632716, + 262 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 76 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 77, + "slot_index": 1 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 41, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 65, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 45 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSampler" + }, + "widgets_values": [ + 2, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 33, + "type": "EmptyLatentImage", + "pos": [ + 1222, + 104 + ], + "size": [ + 412.8771204290124, + 106 + ], + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 65 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 28, + "type": "BizyAir_CheckpointLoaderSimple", + "pos": [ + 708, + -25 + ], + "size": [ + 479.662080045842, + 98 + ], + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 66 + ], + "shape": 3 + }, + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "links": [ + 67 + ], + "shape": 3 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 44 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" + }, + "widgets_values": [ + "sdxl/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors" + ] + }, + { + "id": 48, + "type": "BizyAir_LoraLoader", + "pos": [ + 708, + -195 + ], + "size": [ + 478.277618175068, + 126 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 66, + "slot_index": 0 + }, + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 67, + "slot_index": 1 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "BIZYAIR_MODEL", + "links": [ + 76 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 69, + 70 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "BizyAir_LoraLoader" + }, + "widgets_values": [ + "sdxl/watercolor_v1_sdxl_lora.safetensors", + 1, + 1 + ] + }, + { + "id": 31, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + 1220, + -185 + ], + "size": [ + 421.16351223968104, + 105.50659789763955 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 69, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 77 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "in a peaceful spring morning a dog is sitting in a park on a bench. high quality, detailed, diffuse light" + ] + }, + { + "id": 52, + "type": "Note", + "pos": [ + 711, + 120 + ], + "size": [ + 478.3767917287869, + 89.39007366773717 + ], + "flags": {}, + "order": 2, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "LoRA 工作流示例:\n本工作流因为使用了 BizyAir Load LoRA 节点,加载了一个水彩风格的 LoRA 模型。所以生成的图像也是水彩风格的。\n你可以尝试去掉 BizyAir Load LoRA 节点,查看生成图像的变化。" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 34, + "type": "BizyAir_VAEDecode", + "pos": [ + 1664, + 153 + ], + "size": [ + 308.12571171376, + 46 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 45 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 44 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 46 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 35, + "type": "PreviewImage", + "pos": [ + 1996, + -173 + ], + "size": [ + 356.062413441784, + 379.761411008083 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 46 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 41, + 32, + 0, + 27, + 2, + "BIZYAIR_CONDITIONING" + ], + [ + 44, + 28, + 2, + 34, + 1, + "BIZYAIR_VAE" + ], + [ + 45, + 27, + 0, + 34, + 0, + "LATENT" + ], + [ + 46, + 34, + 0, + 35, + 0, + "IMAGE" + ], + [ + 65, + 33, + 0, + 27, + 3, + "LATENT" + ], + [ + 66, + 28, + 0, + 48, + 0, + "BIZYAIR_MODEL" + ], + [ + 67, + 28, + 1, + 48, + 1, + "BIZYAIR_CLIP" + ], + [ + 69, + 48, + 1, + 31, + 0, + "BIZYAIR_CLIP" + ], + [ + 70, + 48, + 1, + 32, + 0, + "BIZYAIR_CLIP" + ], + [ + 76, + 48, + 0, + 27, + 0, + "BIZYAIR_MODEL" + ], + [ + 77, + 31, + 0, + 27, + 1, + "BIZYAIR_CONDITIONING" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.1, + "offset": { + "0": -327.03554689407616, + "1": 451.93472441640984 + } + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_showcase_ksampler_txt2img.json b/docs/docs/examples/bizyair_showcase_ksampler_txt2img.json new file mode 100644 index 00000000..3d2f9bcb --- /dev/null +++ b/docs/docs/examples/bizyair_showcase_ksampler_txt2img.json @@ -0,0 +1,406 @@ +{ + "last_node_id": 54, + "last_link_id": 84, + "nodes": [ + { + "id": 28, + "type": "BizyAir_CheckpointLoaderSimple", + "pos": [ + 681, + -421 + ], + "size": [ + 479.95260721065824, + 98 + ], + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 81 + ], + "shape": 3 + }, + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "links": [ + 82, + 83 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 44 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" + }, + "widgets_values": [ + "sdxl/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors" + ] + }, + { + "id": 32, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + 1181, + -284 + ], + "size": [ + 384.08845431809596, + 76 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 82, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 41 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "blurry, noisy, messy, lowres, jpeg, artifacts, ill, distorted, malformed" + ] + }, + { + "id": 31, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + 1174, + -418 + ], + "size": [ + 395.36996258255886, + 79.17257183061503 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 83, + "slot_index": 0 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 77 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "a happy girl with wings, high quality, detailed, diffuse light" + ] + }, + { + "id": 35, + "type": "PreviewImage", + "pos": [ + 1611, + -418 + ], + "size": [ + 402.00619708669115, + 426.6130418719372 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 46 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 54, + "type": "EmptyLatentImage", + "pos": [ + 1372, + -148 + ], + "size": [ + 210, + 137.066476789293 + ], + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 84 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 34, + "type": "BizyAir_VAEDecode", + "pos": [ + 1175, + -138 + ], + "size": [ + 180.2027755234833, + 120.71297530401807 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 45 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 44 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 46 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 53, + "type": "Note", + "pos": [ + 449, + -417 + ], + "size": [ + 218.85111750832084, + 402.98930547272244 + ], + "flags": {}, + "order": 2, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "本 workflow 展示了最基础的文生图工作流。它对应了 ComfyUI 的默认工作流。\n\n一共包含 7 个节点:\n\n1. BizyAir Load Checkpoint 用于加载模型\n\n2~3. BizyAir CLIP Text Encode 用于编码提示词\n\n4. Empty Latent Image 用于生成一张纯噪声的垫图。在这里,它不是 BizyAir 节点,是 ComfyUI 原生的节点。\n\n5. BizyAir KSampler 用于产生包含图片信息的 Latent 输出。\n\n6. BizyAir VAE Decode 用于将 Latent 转换为图像。\n\n7. Priview Image 节点用于显示图像。" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 27, + "type": "BizyAir_KSampler", + "pos": [ + 689, + -270 + ], + "size": [ + 455.81348014454306, + 266.6572567479707 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 81 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 77, + "slot_index": 1 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 41, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 84, + "slot_index": 3 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 45 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSampler" + }, + "widgets_values": [ + 2, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ] + } + ], + "links": [ + [ + 41, + 32, + 0, + 27, + 2, + "BIZYAIR_CONDITIONING" + ], + [ + 44, + 28, + 2, + 34, + 1, + "BIZYAIR_VAE" + ], + [ + 45, + 27, + 0, + 34, + 0, + "LATENT" + ], + [ + 46, + 34, + 0, + 35, + 0, + "IMAGE" + ], + [ + 77, + 31, + 0, + 27, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 81, + 28, + 0, + 27, + 0, + "BIZYAIR_MODEL" + ], + [ + 82, + 28, + 1, + 32, + 0, + "BIZYAIR_CLIP" + ], + [ + 83, + 28, + 1, + 31, + 0, + "BIZYAIR_CLIP" + ], + [ + 84, + 54, + 0, + 27, + 3, + "LATENT" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9090909090909091, + "offset": { + "0": 205.08340999577732, + "1": 703.1661026598347 + } + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_showcase_realistic_superresolution.json b/docs/docs/examples/bizyair_showcase_realistic_superresolution.json new file mode 100644 index 00000000..03191cea --- /dev/null +++ b/docs/docs/examples/bizyair_showcase_realistic_superresolution.json @@ -0,0 +1,169 @@ +{ + "last_node_id": 4, + "last_link_id": 3, + "nodes": [ + { + "id": 4, + "type": "PreviewImage", + "pos": [ + 895, + 225 + ], + "size": { + "0": 794.525390625, + "1": 737.365966796875 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 3 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 1, + "type": "BizyAirGenerateLightningImage", + "pos": [ + 547, + 226 + ], + "size": { + "0": 336, + "1": 220 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 1, + 3 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirGenerateLightningImage" + }, + "widgets_values": [ + "a dog", + 5, + "fixed", + 512, + 512, + 1.5, + 1 + ] + }, + { + "id": 2, + "type": "BizyAirAuraSR", + "pos": [ + 489, + 507 + ], + "size": { + "0": 394.79998779296875, + "1": 26 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 1 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 2 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirAuraSR" + } + }, + { + "id": 3, + "type": "PreviewImage", + "pos": [ + 1725, + 233 + ], + "size": [ + 818.9532239638515, + 733.3728281929054 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 2 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 1, + 1, + 0, + 2, + 0, + "IMAGE" + ], + [ + 2, + 2, + 0, + 3, + 0, + "IMAGE" + ], + [ + 3, + 1, + 0, + 4, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.6830134553650709, + "offset": [ + 347.48561717394807, + 165.69305143618368 + ] + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_showcase_remove_background.json b/docs/docs/examples/bizyair_showcase_remove_background.json new file mode 100644 index 00000000..943f8d9d --- /dev/null +++ b/docs/docs/examples/bizyair_showcase_remove_background.json @@ -0,0 +1,199 @@ +{ + "last_node_id": 41, + "last_link_id": 53, + "nodes": [ + { + "id": 38, + "type": "BizyAirGenerateLightningImage", + "pos": [ + 821, + 197 + ], + "size": { + "0": 398.97265625, + "1": 220 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 51, + 52 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirGenerateLightningImage" + }, + "widgets_values": [ + "a dog", + 1038091115073926, + "fixed", + 1024, + 1024, + 1.5, + 1 + ] + }, + { + "id": 39, + "type": "PreviewImage", + "pos": [ + 1233, + 195 + ], + "size": { + "0": 212.87109375, + "1": 310.46612548828125 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 52 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 40, + "type": "PreviewImage", + "pos": [ + 1460, + 199 + ], + "size": { + "0": 212.87109375, + "1": 310.46612548828125 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 53, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 36, + "type": "BizyAirRemoveBackground", + "pos": [ + 830, + 460 + ], + "size": [ + 384.16796875, + 46 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 51 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 53 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAirRemoveBackground" + } + }, + { + "id": 41, + "type": "Note", + "pos": [ + 566, + 200 + ], + "size": [ + 241.35546875, + 302.44268798828125 + ], + "flags": {}, + "order": 1, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "这个例子中,先使用 BizyAir Generate Photorealistic Image 节点生成了一张图片,然后使用 BizyAir Remove Image Background 节点将该图片的背景抠除掉。\n\n你可以对比地看到抠除背景前后的两张图片。 " + ], + "color": "#432", + "bgcolor": "#653" + } + ], + "links": [ + [ + 51, + 38, + 0, + 36, + 0, + "IMAGE" + ], + [ + 52, + 38, + 0, + 39, + 0, + "IMAGE" + ], + [ + 53, + 36, + 0, + 40, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1, + "offset": { + "0": 73.27734375, + "1": 64.47918701171875 + } + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_showcase_shark_submarine.json b/docs/docs/examples/bizyair_showcase_shark_submarine.json new file mode 100644 index 00000000..63aa717f --- /dev/null +++ b/docs/docs/examples/bizyair_showcase_shark_submarine.json @@ -0,0 +1,320 @@ +{ + "last_node_id": 76, + "last_link_id": 86, + "nodes": [ + { + "id": 66, + "type": "PreviewImage", + "pos": [ + 846, + 1082 + ], + "size": { + "0": 319.8609924316406, + "1": 342.8357849121094 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 74 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 72, + "type": "PreviewImage", + "pos": [ + 1184, + 1084 + ], + "size": { + "0": 319.8609924316406, + "1": 342.8357849121094 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 84 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 73, + "type": "PreviewImage", + "pos": [ + 1525, + 1090 + ], + "size": { + "0": 319.8609924316406, + "1": 342.8357849121094 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 81 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 75, + "type": "Note", + "pos": [ + 433, + 1095 + ], + "size": { + "0": 382.9918518066406, + "1": 311.6756286621094 + }, + "flags": {}, + "order": 0, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "这个工作流中:\n\n1. 使用 BizyAir 的 Generate Photorealistic Images 节点,生成一张大白鲨的图片。\n\n2. 使用 BizyAir Controlnet 预处理节点,将大白鲨的图片转为深度图。\n\n3. 使用深度图做 image prompt,结合 text prompt,用 BizyAir Controlnet Union 节点,将深度图重绘为潜水艇。" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 69, + "type": "StableDiffusionXLControlNetUnionPipeline", + "pos": [ + 848, + 580 + ], + "size": { + "0": 598.6016235351562, + "1": 454.2467346191406 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "openpose_image", + "type": "IMAGE", + "link": null + }, + { + "name": "depth_image", + "type": "IMAGE", + "link": 85 + }, + { + "name": "hed_pidi_scribble_ted_image", + "type": "IMAGE", + "link": null + }, + { + "name": "canny_lineart_anime_lineart_mlsd_image", + "type": "IMAGE", + "link": 82 + }, + { + "name": "normal_image", + "type": "IMAGE", + "link": null + }, + { + "name": "segment_image", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 81 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "StableDiffusionXLControlNetUnionPipeline" + }, + "widgets_values": [ + 1, + "fixed", + 20, + 1, + 4.9, + "a submarine in cyberpunk style, with a futuristic and sci-fi aesthetic", + "watermark, text", + 0, + 0.5 + ] + }, + { + "id": 74, + "type": "BizyAirDepthAnythingV2Preprocessor", + "pos": [ + 435, + 603 + ], + "size": { + "0": 392.11334228515625, + "1": 157.2982940673828 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 83 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 84, + 85 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirDepthAnythingV2Preprocessor" + }, + "widgets_values": [ + "depth_anything_v2_vitl.pth", + 512 + ] + }, + { + "id": 63, + "type": "BizyAirGenerateLightningImage", + "pos": [ + 427, + 816 + ], + "size": { + "0": 399.5649108886719, + "1": 220 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 74, + 82, + 83 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAirGenerateLightningImage" + }, + "widgets_values": [ + "a great white shark", + 493871336398282, + "fixed", + 1024, + 1024, + 1.5, + 1 + ] + } + ], + "links": [ + [ + 74, + 63, + 0, + 66, + 0, + "IMAGE" + ], + [ + 81, + 69, + 0, + 73, + 0, + "IMAGE" + ], + [ + 82, + 63, + 0, + 69, + 3, + "IMAGE" + ], + [ + 83, + 63, + 0, + 74, + 0, + "IMAGE" + ], + [ + 84, + 74, + 0, + 72, + 0, + "IMAGE" + ], + [ + 85, + 74, + 0, + 69, + 1, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9090909090909114, + "offset": { + "0": 233.66165985477858, + "1": -343.6244714175116 + } + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_text_guided_segment-anything.json b/docs/docs/examples/bizyair_text_guided_segment-anything.json new file mode 100644 index 00000000..19c08ef8 --- /dev/null +++ b/docs/docs/examples/bizyair_text_guided_segment-anything.json @@ -0,0 +1,301 @@ +{ + "last_node_id": 13, + "last_link_id": 12, + "nodes": [ + { + "id": 7, + "type": "BizyAir_LoadImageURL", + "pos": { + "0": 430, + "1": 397 + }, + "size": { + "0": 400, + "1": 200 + }, + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 5, + 12 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_LoadImageURL" + }, + "widgets_values": [ + "https://bizy-air.oss-cn-beijing.aliyuncs.com/examples_asset/bizyair-instantid-example.webp" + ] + }, + { + "id": 13, + "type": "PreviewImage", + "pos": { + "0": 858, + "1": 397 + }, + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 12 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 1, + "type": "BizyAirSegmentAnythingText", + "pos": { + "0": 1116, + "1": 417 + }, + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 5 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 2 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 9 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "BizyAirSegmentAnythingText" + }, + "widgets_values": [ + "hat", + 0.3, + 0.2 + ] + }, + { + "id": 12, + "type": "PreviewImage", + "pos": { + "0": 1835, + "1": 386.386474609375 + }, + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 10 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 3, + "type": "PreviewImage", + "pos": { + "0": 1579, + "1": 384.386474609375 + }, + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 2 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 11, + "type": "MaskToImage", + "pos": { + "0": 1830, + "1": 309.386474609375 + }, + "size": { + "0": 264.5999755859375, + "1": 26 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 9 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 10 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + } + } + ], + "links": [ + [ + 2, + 1, + 0, + 3, + 0, + "IMAGE" + ], + [ + 5, + 7, + 0, + 1, + 0, + "IMAGE" + ], + [ + 9, + 1, + 1, + 11, + 0, + "MASK" + ], + [ + 10, + 11, + 0, + 12, + 0, + "IMAGE" + ], + [ + 12, + 7, + 0, + 13, + 0, + "IMAGE" + ] + ], + "groups": [ + { + "title": "根据文本抠图", + "bounding": [ + 1114, + 309, + 356, + 339 + ], + "color": "#A88", + "font_size": 24, + "flags": {} + }, + { + "title": "输入图片", + "bounding": [ + 421, + 314, + 677, + 334 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "title": "抠图结果", + "bounding": [ + 1490, + 308, + 642, + 341 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.751314800901578, + "offset": [ + -396.00541513120527, + -96.31165353118799 + ] + } + }, + "version": 0.4 +} diff --git a/docs/docs/examples/bizyair_ultimate_sd_upscale.json b/docs/docs/examples/bizyair_ultimate_sd_upscale.json new file mode 100644 index 00000000..eda7cb44 --- /dev/null +++ b/docs/docs/examples/bizyair_ultimate_sd_upscale.json @@ -0,0 +1,754 @@ +{ + "last_node_id": 74, + "last_link_id": 121, + "nodes": [ + { + "id": 20, + "type": "BizyAir_CheckpointLoaderSimple", + "pos": [ + 1163, + 94 + ], + "size": { + "0": 424.94708251953125, + "1": 98 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 40, + 114 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "links": [ + 112, + 113 + ], + "slot_index": 1, + "shape": 3 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 36, + 119 + ], + "slot_index": 2, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" + }, + "widgets_values": [ + "sd15/dreamshaper_8.safetensors" + ] + }, + { + "id": 23, + "type": "BizyAir_UpscaleModelLoader", + "pos": [ + 1632, + -125 + ], + "size": { + "0": 368.3330383300781, + "1": 58 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "BIZYAIR_UPSCALE_MODEL", + "type": "BIZYAIR_UPSCALE_MODEL", + "links": [ + 35 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_UpscaleModelLoader" + }, + "widgets_values": [ + "4x_NMKD-Siax_200k.pth" + ] + }, + { + "id": 29, + "type": "BizyAir_ControlNetApply", + "pos": [ + 1631, + -268 + ], + "size": { + "0": 376.3231506347656, + "1": 98 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "BIZYAIR_CONDITIONING", + "link": 38 + }, + { + "name": "control_net", + "type": "BIZYAIR_CONTROL_NET", + "link": 46 + }, + { + "name": "image", + "type": "IMAGE", + "link": 44 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 37 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ControlNetApply" + }, + "widgets_values": [ + 0.36 + ] + }, + { + "id": 31, + "type": "BizyAir_UltimateSDUpscale", + "pos": [ + 2036, + -276 + ], + "size": { + "0": 334.83624267578125, + "1": 782.2352905273438 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 43 + }, + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 40 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 37 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 39 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 36 + }, + { + "name": "upscale_model", + "type": "BIZYAIR_UPSCALE_MODEL", + "link": 35 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 45 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_UltimateSDUpscale" + }, + "widgets_values": [ + 4, + 332, + "increment", + 20, + 8, + "euler", + "normal", + 0.2, + "Linear", + 512, + 512, + 8, + 32, + "None", + 1, + 64, + 8, + 16, + true, + false + ] + }, + { + "id": 33, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + 1160, + -90 + ], + "size": { + "0": 431.5721130371094, + "1": 128.96624755859375 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 113 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 39, + 116 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "BadDream, (UnrealisticDream:1.3)" + ] + }, + { + "id": 71, + "type": "BizyAir_KSampler", + "pos": [ + 1630, + 118 + ], + "size": { + "0": 376.6318054199219, + "1": 381.6271057128906 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 114 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 115 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 116 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 117 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 118 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSampler" + }, + "widgets_values": [ + 594242731533029, + "randomize", + 20, + 8, + "euler", + "normal", + 1 + ] + }, + { + "id": 34, + "type": "Reroute", + "pos": [ + 1767, + 12 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 120 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 43, + 44 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 24, + "type": "BizyAir_ControlNetLoader", + "pos": [ + 1649, + -34 + ], + "size": { + "0": 362.76934814453125, + "1": 63.50208282470703 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "BIZYAIR_CONTROL_NET", + "links": [ + 46 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_ControlNetLoader" + }, + "widgets_values": [ + "sd15/control_v11f1e_sd15_tile.pth" + ] + }, + { + "id": 73, + "type": "BizyAir_VAEDecode", + "pos": [ + 2397, + -17 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 118 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 119 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 120, + 121 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 74, + "type": "PreviewImage", + "pos": [ + 2400, + 83 + ], + "size": [ + 205.15975371028344, + 246 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 121 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 70, + "type": "Note", + "pos": [ + 2387, + -275 + ], + "size": { + "0": 235.7595672607422, + "1": 59.88801956176758 + }, + "flags": {}, + "order": 3, + "mode": 0, + "properties": { + "text": "" + }, + "widgets_values": [ + "需要限制图片尺寸在512x768像素以下" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 72, + "type": "EmptyLatentImage", + "pos": [ + 2394, + -170 + ], + "size": { + "0": 217.75877380371094, + "1": 106 + }, + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 117 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 256, + 256, + 1 + ] + }, + { + "id": 32, + "type": "BizyAir_CLIPTextEncode", + "pos": [ + 1159, + -260 + ], + "size": [ + 436.08917236328125, + 119.45609283447266 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 112 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 38, + 115 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "A cute cartoon-style kitten" + ] + }, + { + "id": 35, + "type": "PreviewImage", + "pos": [ + 2640, + -285 + ], + "size": [ + 546.4706729458721, + 822.0550960809123 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 45 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 35, + 23, + 0, + 31, + 5, + "BIZYAIR_UPSCALE_MODEL" + ], + [ + 36, + 20, + 2, + 31, + 4, + "BIZYAIR_VAE" + ], + [ + 37, + 29, + 0, + 31, + 2, + "BIZYAIR_CONDITIONING" + ], + [ + 38, + 32, + 0, + 29, + 0, + "BIZYAIR_CONDITIONING" + ], + [ + 39, + 33, + 0, + 31, + 3, + "BIZYAIR_CONDITIONING" + ], + [ + 40, + 20, + 0, + 31, + 1, + "BIZYAIR_MODEL" + ], + [ + 43, + 34, + 0, + 31, + 0, + "IMAGE" + ], + [ + 44, + 34, + 0, + 29, + 2, + "IMAGE" + ], + [ + 45, + 31, + 0, + 35, + 0, + "IMAGE" + ], + [ + 46, + 24, + 0, + 29, + 1, + "BIZYAIR_CONTROL_NET" + ], + [ + 112, + 20, + 1, + 32, + 0, + "BIZYAIR_CLIP" + ], + [ + 113, + 20, + 1, + 33, + 0, + "BIZYAIR_CLIP" + ], + [ + 114, + 20, + 0, + 71, + 0, + "BIZYAIR_MODEL" + ], + [ + 115, + 32, + 0, + 71, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 116, + 33, + 0, + 71, + 2, + "BIZYAIR_CONDITIONING" + ], + [ + 117, + 72, + 0, + 71, + 3, + "LATENT" + ], + [ + 118, + 71, + 0, + 73, + 0, + "LATENT" + ], + [ + 119, + 20, + 2, + 73, + 1, + "BIZYAIR_VAE" + ], + [ + 120, + 73, + 0, + 34, + 0, + "*" + ], + [ + 121, + 73, + 0, + 74, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.5209868481924634, + "offset": [ + -120.17422216905288, + 1128.5739461319354 + ] + } + }, + "version": 0.4 +} From 71a88ee9a58c3c0d5e28e4882303f1e630d80543 Mon Sep 17 00:00:00 2001 From: FengWen <109639975+ccssu@users.noreply.github.com> Date: Tue, 29 Oct 2024 18:20:39 +0800 Subject: [PATCH 7/7] add sd3.5 turbo txt2img (#192) --- bizyair_example_menu.json | 3 +- examples/bizyair_sd3_5_turbo_txt2img.json | 530 ++++++++++++++++++++++ src/bizyair/configs/models.json | 2 +- src/bizyair/configs/models.yaml | 5 + 4 files changed, 538 insertions(+), 2 deletions(-) create mode 100644 examples/bizyair_sd3_5_turbo_txt2img.json diff --git a/bizyair_example_menu.json b/bizyair_example_menu.json index 523bcd77..ec7f698f 100644 --- a/bizyair_example_menu.json +++ b/bizyair_example_menu.json @@ -23,7 +23,8 @@ "InstantID Basic workflow by BizyAir KSampler": "bizyair_sdxl_InstantID_basic.json" }, "SD3": { - "SD3.5 Text to Image": "bizyair_sd3_5_txt2img.json" + "SD3.5 Text to Image": "bizyair_sd3_5_txt2img.json", + "SD3.5 Turbo Text to Image": "bizyair_sd3_5_turbo_txt2img.json" }, "Kolors": { "Kolors Text to Image": "bizyair_kolors_txt2img.json", diff --git a/examples/bizyair_sd3_5_turbo_txt2img.json b/examples/bizyair_sd3_5_turbo_txt2img.json new file mode 100644 index 00000000..f53c1677 --- /dev/null +++ b/examples/bizyair_sd3_5_turbo_txt2img.json @@ -0,0 +1,530 @@ +{ + "last_node_id": 64, + "last_link_id": 118, + "nodes": [ + { + "id": 64, + "type": "Reroute", + "pos": { + "0": 975, + "1": 324, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 118 + } + ], + "outputs": [ + { + "name": "", + "type": "BIZYAIR_CLIP", + "links": [ + 116, + 117 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 61, + "type": "PreviewImage", + "pos": { + "0": 1585, + "1": 337, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 682.3997503871833, + 703.249984914559 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 113 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 60, + "type": "BizyAir_VAEDecode", + "pos": { + "0": 1245, + "1": 357, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 316.3603725511821, + 46 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 111 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "link": 112 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 113 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_VAEDecode" + } + }, + { + "id": 56, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": 876, + "1": 353, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 335.7290734184928, + 152.94001304584947 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 117 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 105 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "\"Create a 2D, 4K image of an SUV with a pure color background, designed in a simplistic manner. The SUV should be painted in a contrasting color against a backdrop of twilight lights, specifically focusing on the bonnet, wheels, and license plate that reads 'BIZYAIR' in stylish, readable fonts. The image should be vibrant yet subtle, emphasizing the essence of a busy air travel with a hint of elegance.\"" + ] + }, + { + "id": 57, + "type": "BizyAir_CLIPTextEncode", + "pos": { + "0": 875, + "1": 562, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 329.4804118213938, + 76.00006103515625 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "link": 116 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "BIZYAIR_CONDITIONING", + "links": [ + 106 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CLIPTextEncode" + }, + "widgets_values": [ + "vague" + ] + }, + { + "id": 55, + "type": "BizyAir_TripleCLIPLoader", + "pos": { + "0": 876, + "1": 685, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 320.05040585147606, + 106.65804112721293 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "BIZYAIR_CLIP", + "type": "BIZYAIR_CLIP", + "links": [ + 118 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BizyAir_TripleCLIPLoader" + }, + "widgets_values": [ + "clip_l.safetensors", + "clip_g.safetensors", + "t5xxl_fp16.safetensors" + ] + }, + { + "id": 54, + "type": "BizyAir_CheckpointLoaderSimple", + "pos": { + "0": 875, + "1": 841, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 323.91249932438575, + 98 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "links": [ + 109 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "clip", + "type": "BIZYAIR_CLIP", + "links": null, + "shape": 3 + }, + { + "name": "vae", + "type": "BIZYAIR_VAE", + "links": [ + 112 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_CheckpointLoaderSimple" + }, + "widgets_values": [ + "sd3.5_large_turbo.safetensors" + ] + }, + { + "id": 58, + "type": "EmptySD3LatentImage", + "pos": { + "0": 1237, + "1": 830, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 110 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "EmptySD3LatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 59, + "type": "BizyAir_KSampler", + "pos": { + "0": 1247, + "1": 485, + "2": 0, + "3": 0, + "4": 0, + "5": 0, + "6": 0, + "7": 0, + "8": 0, + "9": 0 + }, + "size": [ + 314.1527992344959, + 264.1049585550903 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "BIZYAIR_MODEL", + "link": 109 + }, + { + "name": "positive", + "type": "BIZYAIR_CONDITIONING", + "link": 105 + }, + { + "name": "negative", + "type": "BIZYAIR_CONDITIONING", + "link": 106 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 110 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 111 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "BizyAir_KSampler" + }, + "widgets_values": [ + 147486595332540, + "fixed", + 4, + 1.2, + "dpmpp_2m", + "sgm_uniform", + 1 + ] + } + ], + "links": [ + [ + 105, + 56, + 0, + 59, + 1, + "BIZYAIR_CONDITIONING" + ], + [ + 106, + 57, + 0, + 59, + 2, + "BIZYAIR_CONDITIONING" + ], + [ + 109, + 54, + 0, + 59, + 0, + "BIZYAIR_MODEL" + ], + [ + 110, + 58, + 0, + 59, + 3, + "LATENT" + ], + [ + 111, + 59, + 0, + 60, + 0, + "LATENT" + ], + [ + 112, + 54, + 2, + 60, + 1, + "BIZYAIR_VAE" + ], + [ + 113, + 60, + 0, + 61, + 0, + "IMAGE" + ], + [ + 116, + 64, + 0, + 57, + 0, + "BIZYAIR_CLIP" + ], + [ + 117, + 64, + 0, + 56, + 0, + "BIZYAIR_CLIP" + ], + [ + 118, + 55, + 0, + 64, + 0, + "*" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.9229599817706556, + "offset": [ + -512.209178148006, + 27.813244929989224 + ] + } + }, + "version": 0.4 +} diff --git a/src/bizyair/configs/models.json b/src/bizyair/configs/models.json index fbbf12f8..69e66ea2 100644 --- a/src/bizyair/configs/models.json +++ b/src/bizyair/configs/models.json @@ -16,7 +16,7 @@ "dreamshaper_8.safetensors" ] }, - "sd3.5_large.safetensors"], + "sd3.5_large.safetensors", "sd3.5_large_turbo.safetensors"], "clip_vision": { "models": [ "CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors" diff --git a/src/bizyair/configs/models.yaml b/src/bizyair/configs/models.yaml index 62e74804..00322bc9 100644 --- a/src/bizyair/configs/models.yaml +++ b/src/bizyair/configs/models.yaml @@ -22,6 +22,8 @@ routing_configs: route: /supernode/bizyair-ultimate-sd-upscale-ksampler sd3_5_large: route: /supernode/bizyair-comfybridge-sd3-5-large + sd3_5_large_turbo: + route: /supernode/bizyair-comfybridge-sd3-5-turbo routing_rules: - name: ultimatesdupscale @@ -45,3 +47,6 @@ routing_rules: - name: sd3_5_large pattern: ^sd3.5_large.safetensors$ config: sd3_5_large + - name: sd3_5_large_turbo + pattern: ^sd3.5_large_turbo.safetensors$ + config: sd3_5_large_turbo