diff --git a/example_workflows/SDXL ControlNet.json b/example_workflows/SDXL ControlNet.json index 8e50676..a9b908e 100644 --- a/example_workflows/SDXL ControlNet.json +++ b/example_workflows/SDXL ControlNet.json @@ -62,7 +62,7 @@ 146 ], "flags": {}, - "order": 3, + "order": 7, "mode": 0, "inputs": [ { @@ -102,7 +102,7 @@ "Node name for S&R": "BlenderInputCheckpointLoader" }, "widgets_values": [ - "compvis\\depthfm-v1_fp16.safetensors", + "visitor01\\raymnants-v3.0.safetensors", 2, "visitor01\\raymnants-v3.0.safetensors" ], @@ -114,7 +114,7 @@ "type": "BlenderInputGroup", "pos": [ 370, - 1330 + 1370 ], "size": [ 270, @@ -151,7 +151,7 @@ "type": "BlenderInputInt", "pos": [ 680, - 1260 + 1300 ], "size": [ 210, @@ -201,7 +201,7 @@ "type": "BlenderInputInt", "pos": [ 680, - 1550 + 1590 ], "size": [ 210, @@ -371,7 +371,8 @@ "cnr_id": "comfy-core", "ver": "0.3.42", "Node name for S&R": "VAEDecode" - } + }, + "widgets_values": [] }, { "id": 9, @@ -616,7 +617,7 @@ 180 ], "flags": {}, - "order": 5, + "order": 2, "mode": 0, "inputs": [ { @@ -664,7 +665,7 @@ 58 ], "flags": {}, - "order": 2, + "order": 3, "mode": 0, "inputs": [], "outputs": [ @@ -747,7 +748,7 @@ 154 ], "flags": {}, - "order": 6, + "order": 5, "mode": 0, "inputs": [ { @@ -794,7 +795,7 @@ 240 ], "flags": {}, - "order": 7, + "order": 6, "mode": 0, "inputs": [], "outputs": [], @@ -980,10 +981,10 @@ "config": {}, "extra": { "ds": { - "scale": 0.620921323059155, + "scale": 0.5615270015332786, "offset": [ - 431.05082480484873, - -455.99086682012046 + 457.63646710852345, + -341.7247619628905 ] }, "frontendVersion": "1.25.10", diff --git a/example_workflows/SDXL ControlNet.json.api b/example_workflows/SDXL ControlNet.json.api index c725766..6070601 100644 --- a/example_workflows/SDXL ControlNet.json.api +++ b/example_workflows/SDXL ControlNet.json.api @@ -13,7 +13,7 @@ }, "2": { "inputs": { - "ckpt_name": "compvis\\depthfm-v1_fp16.safetensors", + "ckpt_name": "visitor01\\raymnants-v3.0.safetensors", "order": 2, "default": "visitor01\\raymnants-v3.0.safetensors" }, diff --git a/example_workflows/SDXL Img2Img.json b/example_workflows/SDXL Img2Img.json index d37e422..c5774d7 100644 --- a/example_workflows/SDXL Img2Img.json +++ b/example_workflows/SDXL Img2Img.json @@ -1,44 +1,294 @@ { - "id": "e4ae1d2a-76bf-4cd7-bc07-b259704034a9", + "id": "00000000-0000-0000-0000-000000000000", "revision": 0, - "last_node_id": 16, - "last_link_id": 18, + "last_node_id": 12, + "last_link_id": 14, "nodes": [ { - "id": 12, - "type": "VAEDecode", + "id": 1, + "type": "BlenderInputStringMultiline", "pos": [ - 1780, - 810 + 410, + 980 ], "size": [ - 140, - 46 + 330, + 340 ], "flags": {}, - "order": 11, + "order": 0, "mode": 0, "inputs": [ { - "name": "samples", - "type": "LATENT", - "link": 11 + "name": "group", + "shape": 7, + "type": "GROUP", + "link": null + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 6 + ] + } + ], + "title": "Prompt", + "properties": { + "Node name for S&R": "BlenderInputStringMultiline", + "cnr_id": "comfyui-blender", + "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" + }, + "widgets_values": [ + "A blockbuster sci-fi movie crafted with cutting-edge VFX, showcasing hyper-detailed realistic visuals. Vibrant accents glow against dark, immersive settings with sweeping, dynamic camera work. The style is sleek, epic, and intensely cinematic. Tiny and cute dragon with rainbow color scales, looking adorable and playful. The environment is vibrant and dark, filled with towering trees and ominous flowers. The mood is eerie and dreadful, as the dragon wink with its eye", + 3, + "", + false + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 2, + "type": "BlenderInputCheckpointLoader", + "pos": [ + 440, + 1400 + ], + "size": [ + 304.5953063964844, + 146 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "group", + "shape": 7, + "type": "GROUP", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 7 + ] }, { - "name": "vae", + "name": "CLIP", + "type": "CLIP", + "links": [ + 11, + 12 + ] + }, + { + "name": "VAE", "type": "VAE", - "link": 12 + "links": [ + 9, + 10 + ] + } + ], + "title": "Model", + "properties": { + "Node name for S&R": "BlenderInputCheckpointLoader" + }, + "widgets_values": [ + "visitor01\\raymnants-v3.0.safetensors", + 2, + "visitor01\\raymnants-v3.0.safetensors" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 3, + "type": "BlenderInputLoadImage", + "pos": [ + 540, + 1650 + ], + "size": [ + 210, + 350 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "group", + "shape": 7, + "type": "GROUP", + "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", + "links": [ + 8 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "title": "Image", + "properties": { + "Node name for S&R": "BlenderInputLoadImage", + "cnr_id": "comfyui-blender", + "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" + }, + "widgets_values": [ + "example.png", + 4, + "image" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 4, + "type": "BlenderInputSeed", + "pos": [ + 800, + 1770 + ], + "size": [ + 210, + 178 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "group", + "shape": 7, + "type": "GROUP", + "link": null + } + ], + "outputs": [ + { + "name": "INT", + "type": "INT", "links": [ 13 ] } ], + "title": "Seed", + "properties": { + "Node name for S&R": "BlenderInputSeed", + "cnr_id": "comfyui-blender", + "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" + }, + "widgets_values": [ + 0, + 1, + 0, + 0, + 2147483647, + 1 + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 5, + "type": "BlenderInputFloat", + "pos": [ + 800, + 2020 + ], + "size": [ + 210, + 154 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "group", + "shape": 7, + "type": "GROUP", + "link": null + } + ], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 14 + ] + } + ], + "title": "Denoise", + "properties": { + "Node name for S&R": "BlenderInputFloat", + "cnr_id": "comfyui-blender", + "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" + }, + "widgets_values": [ + 0.5000000000000001, + 5, + 0.5000000000000001, + 0.10000000000000002, + 1.0000000000000002 + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 6, + "type": "VAEDecode", + "pos": [ + 1370, + 1400 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 1 + }, + { + "name": "vae", + "type": "VAE", + "link": 10 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 5 + ] + } + ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.42", @@ -47,18 +297,18 @@ "widgets_values": [] }, { - "id": 11, + "id": 7, "type": "KSampler", "pos": [ - 1470, - 810 + 1060, + 1400 ], "size": [ 270, 262 ], "flags": {}, - "order": 10, + "order": 9, "mode": 0, "inputs": [ { @@ -69,17 +319,17 @@ { "name": "positive", "type": "CONDITIONING", - "link": 8 + "link": 2 }, { "name": "negative", "type": "CONDITIONING", - "link": 9 + "link": 3 }, { "name": "latent_image", "type": "LATENT", - "link": 17 + "link": 4 }, { "name": "seed", @@ -87,7 +337,7 @@ "widget": { "name": "seed" }, - "link": 14 + "link": 13 }, { "name": "denoise", @@ -95,7 +345,7 @@ "widget": { "name": "denoise" }, - "link": 18 + "link": 14 } ], "outputs": [ @@ -103,7 +353,7 @@ "name": "LATENT", "type": "LATENT", "links": [ - 11 + 1 ] } ], @@ -119,91 +369,49 @@ 8, "dpmpp_2m", "karras", - 1, - null + 1 ] }, { - "id": 13, + "id": 8, "type": "BlenderOutputSaveImage", "pos": [ - 1960, - 810 + 1550, + 1400 ], "size": [ 210, 150 ], "flags": {}, - "order": 12, + "order": 11, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 13 + "link": 5 } ], "outputs": [], "title": "Save Image", "properties": { + "Node name for S&R": "BlenderOutputSaveImage", "cnr_id": "comfyui-blender", - "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6", - "Node name for S&R": "BlenderOutputSaveImage" + "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" }, "widgets_values": [ - "blender", - null + "blender" ], "color": "#432", "bgcolor": "#653" }, { - "id": 7, + "id": 9, "type": "CLIPTextEncode", "pos": [ - 1210, - 900 - ], - "size": [ - 210.29940795898438, - 88 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 3 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 9 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.42", - "Node name for S&R": "CLIPTextEncode" - }, - "widgets_values": [ - "", - null - ] - }, - { - "id": 6, - "type": "CLIPTextEncode", - "pos": [ - 1210, - 740 + 800, + 1490 ], "size": [ 210.29940795898438, @@ -216,15 +424,7 @@ { "name": "clip", "type": "CLIP", - "link": 1 - }, - { - "name": "text", - "type": "STRING", - "widget": { - "name": "text" - }, - "link": 2 + "link": 12 } ], "outputs": [ @@ -232,7 +432,7 @@ "name": "CONDITIONING", "type": "CONDITIONING", "links": [ - 8 + 3 ] } ], @@ -242,157 +442,80 @@ "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ - "", - null + "" ] }, { - "id": 5, - "type": "BlenderInputCombo", + "id": 10, + "type": "CLIPTextEncode", "pos": [ - 450, - 810 + 800, + 1330 ], "size": [ - 340, - 184 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "*", - "type": "*", - "links": [ - 6 - ] - } - ], - "title": "Model", - "properties": { - "cnr_id": "comfyui-blender", - "ver": "fe00f67deb08799bc6a8bad23c863249c11b241d", - "Node name for S&R": "BlenderInputCombo" - }, - "widgets_values": [ - "visitor01/raymnants-v3.0.safetensors", - 2, - "", - "albedobond/albedobase-xl-v2.1.safetensors\nvisitor01/raymnants-v3.0.safetensors", - "albedobond/albedobase-xl-v2.1.safetensors\nvisitor01/raymnants-v3.0.safetensors", - null - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 4, - "type": "MarkdownNote", - "pos": [ - 450, - 500 - ], - "size": [ - 340, - 230 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "# ComfyUI-Blender\n\nThis is an example of workflow to showcase how to use the Blender input and output custom nodes. The custom nodes will be interpreted by the Blender add-on to display the corresponding properties in the add-on panel.\n\n(1) Add input or output nodes: right click > Add Node > blender > ...\n\n(2) Export the workflow: Workflow > Export (API)\n\n(3) In the Blender add-on, clik on Import Workflow to import the workflow JSON file in API format\n\nMore info on: [https://github.com/alexisrolland/ComfyUI-Blender](https://github.com/alexisrolland/ComfyUI-Blender)" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 9, - "type": "CheckpointLoaderSimple", - "pos": [ - 830, - 810 - ], - "size": [ - 340, - 98 + 210.29940795898438, + 88 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { - "name": "ckpt_name", - "type": "COMBO", + "name": "clip", + "type": "CLIP", + "link": 11 + }, + { + "name": "text", + "type": "STRING", "widget": { - "name": "ckpt_name" + "name": "text" }, "link": 6 } ], "outputs": [ { - "name": "MODEL", - "type": "MODEL", + "name": "CONDITIONING", + "type": "CONDITIONING", "links": [ - 7 - ] - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - 1, - 3 - ] - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 12, - 16 + 2 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.42", - "Node name for S&R": "CheckpointLoaderSimple" + "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ - "albedobond\\albedobase-xl-v2.1.safetensors", - null + "" ] }, { - "id": 15, + "id": 11, "type": "VAEEncode", "pos": [ - 1210, - 1060 + 800, + 1650 ], "size": [ 210, 46 ], "flags": {}, - "order": 9, + "order": 8, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", - "link": 15 + "link": 8 }, { "name": "vae", "type": "VAE", - "link": 16 + "link": 9 } ], "outputs": [ @@ -400,7 +523,7 @@ "name": "LATENT", "type": "LATENT", "links": [ - 17 + 4 ] } ], @@ -408,171 +531,28 @@ "cnr_id": "comfy-core", "ver": "0.3.42", "Node name for S&R": "VAEEncode" - } - }, - { - "id": 14, - "type": "BlenderInputLoadImage", - "pos": [ - 960, - 990 - ], - "size": [ - 210, - 350 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 15 - ] - }, - { - "name": "MASK", - "type": "MASK", - "links": null - } - ], - "title": "Input Image", - "properties": { - "cnr_id": "comfyui-blender", - "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6", - "Node name for S&R": "BlenderInputLoadImage" }, - "widgets_values": [ - "example.png", - 4, - "image", - null - ], - "color": "#432", - "bgcolor": "#653" + "widgets_values": [] }, { - "id": 16, - "type": "BlenderInputFloat", + "id": 12, + "type": "MarkdownNote", "pos": [ - 1210, - 1430 + 30, + 1310 ], "size": [ - 210, - 154 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "FLOAT", - "type": "FLOAT", - "links": [ - 18 - ] - } - ], - "title": "Denoise", - "properties": { - "cnr_id": "comfyui-blender", - "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6", - "Node name for S&R": "BlenderInputFloat" - }, - "widgets_values": [ - 0.5000000000000001, - 5, - 0.5000000000000001, - 0.10000000000000002, - 1.0000000000000002, - null - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 10, - "type": "BlenderInputSeed", - "pos": [ - 1210, - 1180 - ], - "size": [ - 210, - 178 + 340, + 240 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], - "outputs": [ - { - "name": "INT", - "type": "INT", - "links": [ - 14 - ] - } - ], - "title": "Seed", - "properties": { - "cnr_id": "comfyui-blender", - "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6", - "Node name for S&R": "BlenderInputSeed" - }, + "outputs": [], + "properties": {}, "widgets_values": [ - 0, - 1, - 0, - 0, - 2147483647, - 1, - null - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 1, - "type": "BlenderInputStringMultiline", - "pos": [ - 830, - 380 - ], - "size": [ - 340, - 350 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "STRING", - "type": "STRING", - "links": [ - 2 - ] - } - ], - "title": "Prompt", - "properties": { - "cnr_id": "comfyui-blender", - "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6", - "Node name for S&R": "BlenderInputStringMultiline" - }, - "widgets_values": [ - "A blockbuster sci-fi movie crafted with cutting-edge VFX, showcasing hyper-detailed realistic visuals. Vibrant accents glow against dark, immersive settings with sweeping, dynamic camera work. The style is sleek, epic, and intensely cinematic. Tiny and cute dragon with rainbow color scales, looking adorable and playful. The environment is vibrant and dark, filled with towering trees and ominous flowers. The mood is eerie and dreadful, as the dragon wink with its eye", - 3, - "", - false, - null + "# ComfyUI-Blender\n\nThis is an example of workflow to showcase how to use the Blender input and output custom nodes. The custom nodes will be interpreted by the Blender add-on to display the corresponding properties in the add-on panel.\n\n(1) Add input or output nodes: right click > Add Node > blender > ...\n\n(2) Run the workflow to confirm it executes properly\n\n(3) Export the workflow: Top Left Menu > File > Export (API)\n\n(4) In the Blender add-on, clik on Import Workflow to import the workflow JSON file in API format\n\nMore info on: [https://github.com/alexisrolland/ComfyUI-Blender](https://github.com/alexisrolland/ComfyUI-Blender)" ], "color": "#432", "bgcolor": "#653" @@ -581,121 +561,113 @@ "links": [ [ 1, - 9, - 1, + 7, + 0, 6, 0, - "CLIP" + "LATENT" ], [ 2, - 1, + 10, 0, - 6, + 7, 1, - "STRING" + "CONDITIONING" ], [ 3, 9, - 1, - 7, 0, - "CLIP" + 7, + 2, + "CONDITIONING" + ], + [ + 4, + 11, + 0, + 7, + 3, + "LATENT" + ], + [ + 5, + 6, + 0, + 8, + 0, + "IMAGE" ], [ 6, - 5, + 1, 0, - 9, - 0, - "COMBO" + 10, + 1, + "STRING" ], [ 7, - 9, + 2, 0, - 11, + 7, 0, "MODEL" ], [ 8, - 6, + 3, 0, 11, - 1, - "CONDITIONING" - ], - [ - 9, - 7, - 0, - 11, - 2, - "CONDITIONING" - ], - [ - 11, - 11, - 0, - 12, - 0, - "LATENT" - ], - [ - 12, - 9, - 2, - 12, - 1, - "VAE" - ], - [ - 13, - 12, - 0, - 13, 0, "IMAGE" ], [ - 14, + 9, + 2, + 2, + 11, + 1, + "VAE" + ], + [ + 10, + 2, + 2, + 6, + 1, + "VAE" + ], + [ + 11, + 2, + 1, 10, 0, - 11, + "CLIP" + ], + [ + 12, + 2, + 1, + 9, + 0, + "CLIP" + ], + [ + 13, + 4, + 0, + 7, 4, "INT" ], [ - 15, 14, + 5, 0, - 15, - 0, - "IMAGE" - ], - [ - 16, - 9, - 2, - 15, - 1, - "VAE" - ], - [ - 17, - 15, - 0, - 11, - 3, - "LATENT" - ], - [ - 18, - 16, - 0, - 11, + 7, 5, "FLOAT" ] @@ -704,13 +676,13 @@ "config": {}, "extra": { "ds": { - "scale": 0.7513148009015777, + "scale": 0.6083199356913183, "offset": [ - -12.821567382812502, - -279.6354816894532 + 630.5130492236538, + -732.6666666666667 ] }, - "frontendVersion": "1.23.4", + "frontendVersion": "1.25.10", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, diff --git a/example_workflows/SDXL Img2Img.json.api b/example_workflows/SDXL Img2Img.json.api index 52e4c10..7b60f41 100644 --- a/example_workflows/SDXL Img2Img.json.api +++ b/example_workflows/SDXL Img2Img.json.api @@ -11,61 +11,28 @@ "title": "Prompt" } }, - "5": { + "2": { "inputs": { - "value": "visitor01/raymnants-v3.0.safetensors", + "ckpt_name": "visitor01\\raymnants-v3.0.safetensors", "order": 2, - "default": "", - "format_path": "albedobond/albedobase-xl-v2.1.safetensors\nvisitor01/raymnants-v3.0.safetensors", - "list": "albedobond/albedobase-xl-v2.1.safetensors\nvisitor01/raymnants-v3.0.safetensors" + "default": "visitor01\\raymnants-v3.0.safetensors" }, - "class_type": "BlenderInputCombo", + "class_type": "BlenderInputCheckpointLoader", "_meta": { "title": "Model" } }, - "6": { + "3": { "inputs": { - "text": [ - "1", - 0 - ], - "clip": [ - "9", - 1 - ] + "image": "example.png", + "order": 4 }, - "class_type": "CLIPTextEncode", + "class_type": "BlenderInputLoadImage", "_meta": { - "title": "CLIP Text Encode (Prompt)" + "title": "Image" } }, - "7": { - "inputs": { - "text": "", - "clip": [ - "9", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "9": { - "inputs": { - "ckpt_name": [ - "5", - 0 - ] - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "10": { + "4": { "inputs": { "value": 0, "order": 1, @@ -79,98 +46,7 @@ "title": "Seed" } }, - "11": { - "inputs": { - "seed": [ - "10", - 0 - ], - "steps": 20, - "cfg": 8, - "sampler_name": "dpmpp_2m", - "scheduler": "karras", - "denoise": [ - "16", - 0 - ], - "model": [ - "9", - 0 - ], - "positive": [ - "6", - 0 - ], - "negative": [ - "7", - 0 - ], - "latent_image": [ - "15", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "12": { - "inputs": { - "samples": [ - "11", - 0 - ], - "vae": [ - "9", - 2 - ] - }, - "class_type": "VAEDecode", - "_meta": { - "title": "VAE Decode" - } - }, - "13": { - "inputs": { - "filename_prefix": "blender", - "images": [ - "12", - 0 - ] - }, - "class_type": "BlenderOutputSaveImage", - "_meta": { - "title": "Save Image" - } - }, - "14": { - "inputs": { - "image": "example.png", - "order": 4 - }, - "class_type": "BlenderInputLoadImage", - "_meta": { - "title": "Input Image" - } - }, - "15": { - "inputs": { - "pixels": [ - "14", - 0 - ], - "vae": [ - "9", - 2 - ] - }, - "class_type": "VAEEncode", - "_meta": { - "title": "VAE Encode" - } - }, - "16": { + "5": { "inputs": { "value": 0.5000000000000001, "order": 5, @@ -182,5 +58,115 @@ "_meta": { "title": "Denoise" } + }, + "6": { + "inputs": { + "samples": [ + "7", + 0 + ], + "vae": [ + "2", + 2 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "7": { + "inputs": { + "seed": [ + "4", + 0 + ], + "steps": 20, + "cfg": 8, + "sampler_name": "dpmpp_2m", + "scheduler": "karras", + "denoise": [ + "5", + 0 + ], + "model": [ + "2", + 0 + ], + "positive": [ + "10", + 0 + ], + "negative": [ + "9", + 0 + ], + "latent_image": [ + "11", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "8": { + "inputs": { + "filename_prefix": "blender", + "images": [ + "6", + 0 + ] + }, + "class_type": "BlenderOutputSaveImage", + "_meta": { + "title": "Save Image" + } + }, + "9": { + "inputs": { + "text": "", + "clip": [ + "2", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "10": { + "inputs": { + "text": [ + "1", + 0 + ], + "clip": [ + "2", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "11": { + "inputs": { + "pixels": [ + "3", + 0 + ], + "vae": [ + "2", + 2 + ] + }, + "class_type": "VAEEncode", + "_meta": { + "title": "VAE Encode" + } } } \ No newline at end of file diff --git a/example_workflows/SDXL Texture Image.json b/example_workflows/SDXL Texture Image.json index af84b7b..5a77f50 100644 --- a/example_workflows/SDXL Texture Image.json +++ b/example_workflows/SDXL Texture Image.json @@ -1,15 +1,303 @@ { - "id": "e4ae1d2a-76bf-4cd7-bc07-b259704034a9", + "id": "00000000-0000-0000-0000-000000000000", "revision": 0, "last_node_id": 15, - "last_link_id": 18, + "last_link_id": 17, "nodes": [ { - "id": 12, + "id": 1, + "type": "BlenderInputStringMultiline", + "pos": [ + 345, + 378 + ], + "size": [ + 340, + 278 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "group", + "shape": 7, + "type": "GROUP", + "link": null + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 11 + ] + } + ], + "title": "Prompt", + "properties": { + "Node name for S&R": "BlenderInputStringMultiline", + "cnr_id": "comfyui-blender", + "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" + }, + "widgets_values": [ + "seamless, tileable texture of old, broken stone with moss. The texture should feature irregular stone surfaces with cracks and crevices, and patches of moss growing in and on the stones. Ensure high-resolution details with natural variations in color and texture. Optimize for PBR workflows with neutral lighting. Include subtle imperfections like dirt and grime for realism. The mood should be dark and gritty, suitable for fantasy or historical video game environments.", + 3, + "", + false + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 2, + "type": "BlenderInputCheckpointLoader", + "pos": [ + 380, + 750 + ], + "size": [ + 304.5953063964844, + 146 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "group", + "shape": 7, + "type": "GROUP", + "link": null + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 10 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 12, + 16 + ] + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 13 + ] + } + ], + "properties": { + "Node name for S&R": "BlenderInputCheckpointLoader" + }, + "widgets_values": [ + "visitor01\\raymnants-v3.0.safetensors", + 2, + "visitor01\\raymnants-v3.0.safetensors" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 3, + "type": "BlenderInputGroup", + "pos": [ + 170, + 1050 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "group", + "type": "GROUP", + "links": [ + 1, + 2 + ] + } + ], + "title": "Resolution", + "properties": { + "Node name for S&R": "BlenderInputGroup" + }, + "widgets_values": [ + 4, + true, + true + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 4, + "type": "BlenderInputInt", + "pos": [ + 480, + 980 + ], + "size": [ + 210, + 226 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "group", + "shape": 7, + "type": "GROUP", + "link": 1 + } + ], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 14 + ] + } + ], + "title": "Width", + "properties": { + "Node name for S&R": "BlenderInputInt", + "cnr_id": "comfyui-blender", + "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" + }, + "widgets_values": [ + 1024, + 1, + 1024, + 768, + 1344, + 8, + true, + false + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 5, + "type": "BlenderInputInt", + "pos": [ + 480, + 1270 + ], + "size": [ + 210, + 226 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "group", + "shape": 7, + "type": "GROUP", + "link": 2 + } + ], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 15 + ] + } + ], + "title": "Height", + "properties": { + "Node name for S&R": "BlenderInputInt", + "cnr_id": "comfyui-blender", + "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" + }, + "widgets_values": [ + 1024, + 2, + 1024, + 768, + 1344, + 8, + false, + true + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 6, + "type": "BlenderInputSeed", + "pos": [ + 730, + 1160 + ], + "size": [ + 210, + 178 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "group", + "shape": 7, + "type": "GROUP", + "link": null + } + ], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 17 + ] + } + ], + "title": "Seed", + "properties": { + "Node name for S&R": "BlenderInputSeed", + "cnr_id": "comfyui-blender", + "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" + }, + "widgets_values": [ + 0, + 1, + 0, + 0, + 2147483647, + 1 + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 7, "type": "VAEDecode", "pos": [ - 1780, - 810 + 1300, + 740 ], "size": [ 140, @@ -22,12 +310,12 @@ { "name": "samples", "type": "LATENT", - "link": 11 + "link": 3 }, { "name": "vae", "type": "VAE", - "link": 18 + "link": 4 } ], "outputs": [ @@ -35,7 +323,7 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 13 + 9 ] } ], @@ -47,11 +335,11 @@ "widgets_values": [] }, { - "id": 11, + "id": 8, "type": "KSampler", "pos": [ - 1470, - 810 + 990, + 740 ], "size": [ 270, @@ -64,22 +352,22 @@ { "name": "model", "type": "MODEL", - "link": 16 + "link": 5 }, { "name": "positive", "type": "CONDITIONING", - "link": 8 + "link": 6 }, { "name": "negative", "type": "CONDITIONING", - "link": 9 + "link": 7 }, { "name": "latent_image", "type": "LATENT", - "link": 10 + "link": 8 }, { "name": "seed", @@ -87,7 +375,7 @@ "widget": { "name": "seed" }, - "link": 14 + "link": 17 } ], "outputs": [ @@ -95,7 +383,7 @@ "name": "LATENT", "type": "LATENT", "links": [ - 11 + 3 ] } ], @@ -115,11 +403,11 @@ ] }, { - "id": 13, + "id": 9, "type": "BlenderOutputSaveImage", "pos": [ - 1960, - 810 + 1480, + 740 ], "size": [ 210, @@ -132,15 +420,15 @@ { "name": "images", "type": "IMAGE", - "link": 13 + "link": 9 } ], "outputs": [], "title": "Save Image", "properties": { + "Node name for S&R": "BlenderOutputSaveImage", "cnr_id": "comfyui-blender", - "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6", - "Node name for S&R": "BlenderOutputSaveImage" + "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" }, "widgets_values": [ "blender" @@ -149,18 +437,18 @@ "bgcolor": "#653" }, { - "id": 8, + "id": 10, "type": "EmptyLatentImage", "pos": [ - 1210, - 1050 + 730, + 980 ], "size": [ 210, 106 ], "flags": {}, - "order": 7, + "order": 11, "mode": 0, "inputs": [ { @@ -169,7 +457,7 @@ "widget": { "name": "width" }, - "link": 4 + "link": 14 }, { "name": "height", @@ -177,7 +465,7 @@ "widget": { "name": "height" }, - "link": 5 + "link": 15 } ], "outputs": [ @@ -185,7 +473,7 @@ "name": "LATENT", "type": "LATENT", "links": [ - 10 + 8 ] } ], @@ -201,50 +489,11 @@ ] }, { - "id": 7, + "id": 11, "type": "CLIPTextEncode", "pos": [ - 1210, - 900 - ], - "size": [ - 210.29940795898438, - 88 - ], - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 3 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 9 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.42", - "Node name for S&R": "CLIPTextEncode" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 6, - "type": "CLIPTextEncode", - "pos": [ - 1210, - 740 + 730, + 830 ], "size": [ 210.29940795898438, @@ -257,15 +506,7 @@ { "name": "clip", "type": "CLIP", - "link": 1 - }, - { - "name": "text", - "type": "STRING", - "widget": { - "name": "text" - }, - "link": 2 + "link": 16 } ], "outputs": [ @@ -273,7 +514,7 @@ "name": "CONDITIONING", "type": "CONDITIONING", "links": [ - 8 + 7 ] } ], @@ -287,173 +528,71 @@ ] }, { - "id": 4, - "type": "MarkdownNote", + "id": 12, + "type": "CLIPTextEncode", "pos": [ - 450, - 500 + 730, + 670 ], "size": [ - 340, - 230 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "# ComfyUI-Blender\n\nThis is an example of workflow to showcase how to use the Blender input and output custom nodes. The custom nodes will be interpreted by the Blender add-on to display the corresponding properties in the add-on panel.\n\n(1) Add input or output nodes: right click > Add Node > blender > ...\n\n(2) Export the workflow: Workflow > Export (API)\n\n(3) In the Blender add-on, clik on Import Workflow to import the workflow JSON file in API format\n\nMore info on: [https://github.com/alexisrolland/ComfyUI-Blender](https://github.com/alexisrolland/ComfyUI-Blender)" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 5, - "type": "BlenderInputCombo", - "pos": [ - 450, - 810 - ], - "size": [ - 340, - 184 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "*", - "type": "*", - "links": [ - 6 - ] - } - ], - "title": "Model", - "properties": { - "cnr_id": "comfyui-blender", - "ver": "fe00f67deb08799bc6a8bad23c863249c11b241d", - "Node name for S&R": "BlenderInputCombo" - }, - "widgets_values": [ - "visitor01/raymnants-v3.0.safetensors", - 2, - "", - "albedobond/albedobase-xl-v2.1.safetensors\nvisitor01/raymnants-v3.0.safetensors", - "albedobond/albedobase-xl-v2.1.safetensors\nvisitor01/raymnants-v3.0.safetensors" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 2, - "type": "BlenderInputInt", - "pos": [ - 900, - 980 - ], - "size": [ - 270, - 226 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "INT", - "type": "INT", - "links": [ - 4 - ] - } - ], - "title": "Width", - "properties": { - "cnr_id": "comfyui-blender", - "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6", - "Node name for S&R": "BlenderInputInt" - }, - "widgets_values": [ - 1024, - 4, - 1024, - 768, - 1344, - 8, - true, - false - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 3, - "type": "BlenderInputInt", - "pos": [ - 900, - 1270 - ], - "size": [ - 270, - 226 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "INT", - "type": "INT", - "links": [ - 5 - ] - } - ], - "title": "Height", - "properties": { - "cnr_id": "comfyui-blender", - "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6", - "Node name for S&R": "BlenderInputInt" - }, - "widgets_values": [ - 1024, - 5, - 1024, - 768, - 1344, - 8, - null, - true - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 14, - "type": "SeamlessTile", - "pos": [ - 1210, - 600 - ], - "size": [ - 210, - 82 + 210.29940795898438, + 88 ], "flags": {}, "order": 8, "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 12 + }, + { + "name": "text", + "type": "STRING", + "widget": { + "name": "text" + }, + "link": 11 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 6 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.42", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 13, + "type": "SeamlessTile", + "pos": [ + 730, + 530 + ], + "size": [ + 210, + 82 + ], + "flags": {}, + "order": 7, + "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", - "link": 15 + "link": 10 } ], "outputs": [ @@ -461,7 +600,7 @@ "name": "MODEL", "type": "MODEL", "links": [ - 16 + 5 ] } ], @@ -476,81 +615,24 @@ ] }, { - "id": 9, - "type": "CheckpointLoaderSimple", - "pos": [ - 830, - 810 - ], - "size": [ - 340, - 98 - ], - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "ckpt_name", - "type": "COMBO", - "widget": { - "name": "ckpt_name" - }, - "link": 6 - } - ], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 15 - ] - }, - { - "name": "CLIP", - "type": "CLIP", - "links": [ - 1, - 3 - ] - }, - { - "name": "VAE", - "type": "VAE", - "links": [ - 17 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.42", - "Node name for S&R": "CheckpointLoaderSimple" - }, - "widgets_values": [ - "albedobond\\albedobase-xl-v2.1.safetensors" - ] - }, - { - "id": 15, + "id": 14, "type": "MakeCircularVAE", "pos": [ - 1470, - 1140 + 990, + 1070 ], "size": [ 270, 82 ], "flags": {}, - "order": 11, + "order": 10, "mode": 0, "inputs": [ { "name": "vae", "type": "VAE", - "link": 17 + "link": 13 } ], "outputs": [ @@ -558,7 +640,7 @@ "name": "VAE", "type": "VAE", "links": [ - 18 + 4 ] } ], @@ -573,81 +655,24 @@ ] }, { - "id": 10, - "type": "BlenderInputSeed", + "id": 15, + "type": "MarkdownNote", "pos": [ - 1210, - 1230 + -40, + 660 ], "size": [ - 210, - 178 + 340, + 240 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], - "outputs": [ - { - "name": "INT", - "type": "INT", - "links": [ - 14 - ] - } - ], - "title": "Seed", - "properties": { - "cnr_id": "comfyui-blender", - "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6", - "Node name for S&R": "BlenderInputSeed" - }, + "outputs": [], + "properties": {}, "widgets_values": [ - 0, - 1, - 0, - 0, - 2147483647, - 1 - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 1, - "type": "BlenderInputStringMultiline", - "pos": [ - 830, - 380 - ], - "size": [ - 340, - 278 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "STRING", - "type": "STRING", - "links": [ - 2 - ] - } - ], - "title": "Prompt", - "properties": { - "cnr_id": "comfyui-blender", - "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6", - "Node name for S&R": "BlenderInputStringMultiline" - }, - "widgets_values": [ - "seamless, tileable texture of old, broken stone with moss. The texture should feature irregular stone surfaces with cracks and crevices, and patches of moss growing in and on the stones. Ensure high-resolution details with natural variations in color and texture. Optimize for PBR workflows with neutral lighting. Include subtle imperfections like dirt and grime for realism. The mood should be dark and gritty, suitable for fantasy or historical video game environments.", - 3, - "", - false + "# ComfyUI-Blender\n\nThis is an example of workflow to showcase how to use the Blender input and output custom nodes. The custom nodes will be interpreted by the Blender add-on to display the corresponding properties in the add-on panel.\n\n(1) Add input or output nodes: right click > Add Node > blender > ...\n\n(2) Run the workflow to confirm it executes properly\n\n(3) Export the workflow: Top Left Menu > File > Export (API)\n\n(4) In the Blender add-on, clik on Import Workflow to import the workflow JSON file in API format\n\nMore info on: [https://github.com/alexisrolland/ComfyUI-Blender](https://github.com/alexisrolland/ComfyUI-Blender)" ], "color": "#432", "bgcolor": "#653" @@ -656,144 +681,152 @@ "links": [ [ 1, - 9, - 1, - 6, + 3, 0, - "CLIP" + 4, + 0, + "GROUP" ], [ 2, - 1, + 3, 0, - 6, - 1, - "STRING" + 5, + 0, + "GROUP" ], [ 3, - 9, - 1, + 8, + 0, 7, 0, - "CLIP" + "LATENT" ], [ 4, - 2, + 14, 0, - 8, - 0, - "INT" - ], - [ - 5, - 3, - 0, - 8, + 7, 1, - "INT" + "VAE" ], [ - 6, 5, + 13, 0, - 9, + 8, 0, - "COMBO" + "MODEL" ], [ - 8, 6, + 12, 0, - 11, + 8, 1, "CONDITIONING" ], + [ + 7, + 11, + 0, + 8, + 2, + "CONDITIONING" + ], + [ + 8, + 10, + 0, + 8, + 3, + "LATENT" + ], [ 9, 7, 0, - 11, - 2, - "CONDITIONING" - ], - [ - 10, - 8, - 0, - 11, - 3, - "LATENT" - ], - [ - 11, - 11, - 0, - 12, - 0, - "LATENT" - ], - [ - 13, - 12, - 0, - 13, + 9, 0, "IMAGE" ], [ + 10, + 2, + 0, + 13, + 0, + "MODEL" + ], + [ + 11, + 1, + 0, + 12, + 1, + "STRING" + ], + [ + 12, + 2, + 1, + 12, + 0, + "CLIP" + ], + [ + 13, + 2, + 2, 14, + 0, + "VAE" + ], + [ + 14, + 4, + 0, 10, 0, - 11, - 4, "INT" ], [ 15, - 9, + 5, 0, - 14, - 0, - "MODEL" + 10, + 1, + "INT" ], [ 16, - 14, - 0, + 2, + 1, 11, 0, - "MODEL" + "CLIP" ], [ 17, - 9, - 2, - 15, + 6, 0, - "VAE" - ], - [ - 18, - 15, - 0, - 12, - 1, - "VAE" + 8, + 4, + "INT" ] ], "groups": [], "config": {}, "extra": { "ds": { - "scale": 0.8264462809917354, + "scale": 0.647902397260274, "offset": [ - -184.64156738281275, - -296.817481689453 + 607.3145028080608, + -143.33333333333337 ] }, - "frontendVersion": "1.23.4", + "frontendVersion": "1.25.10", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, diff --git a/example_workflows/SDXL Texture Image.json.api b/example_workflows/SDXL Texture Image.json.api index 8830df2..258fdac 100644 --- a/example_workflows/SDXL Texture Image.json.api +++ b/example_workflows/SDXL Texture Image.json.api @@ -13,108 +13,67 @@ }, "2": { "inputs": { - "value": 1024, + "ckpt_name": "visitor01\\raymnants-v3.0.safetensors", + "order": 2, + "default": "visitor01\\raymnants-v3.0.safetensors" + }, + "class_type": "BlenderInputCheckpointLoader", + "_meta": { + "title": "Blender Input Checkpoint Loader" + } + }, + "3": { + "inputs": { "order": 4, + "show_title": true, + "compact": true + }, + "class_type": "BlenderInputGroup", + "_meta": { + "title": "Resolution" + } + }, + "4": { + "inputs": { + "value": 1024, + "order": 1, "default": 1024, "min": 768, "max": 1344, "step": 8, "camera_width": true, - "camera_height": false + "camera_height": false, + "group": [ + "3", + 0 + ] }, "class_type": "BlenderInputInt", "_meta": { "title": "Width" } }, - "3": { + "5": { "inputs": { "value": 1024, - "order": 5, + "order": 2, "default": 1024, "min": 768, "max": 1344, "step": 8, - "camera_width": null, - "camera_height": true + "camera_width": false, + "camera_height": true, + "group": [ + "3", + 0 + ] }, "class_type": "BlenderInputInt", "_meta": { "title": "Height" } }, - "5": { - "inputs": { - "value": "visitor01/raymnants-v3.0.safetensors", - "order": 2, - "default": "", - "format_path": "albedobond/albedobase-xl-v2.1.safetensors\nvisitor01/raymnants-v3.0.safetensors", - "list": "albedobond/albedobase-xl-v2.1.safetensors\nvisitor01/raymnants-v3.0.safetensors" - }, - "class_type": "BlenderInputCombo", - "_meta": { - "title": "Model" - } - }, "6": { - "inputs": { - "text": [ - "1", - 0 - ], - "clip": [ - "9", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "7": { - "inputs": { - "text": "", - "clip": [ - "9", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "8": { - "inputs": { - "width": [ - "2", - 0 - ], - "height": [ - "3", - 0 - ], - "batch_size": 1 - }, - "class_type": "EmptyLatentImage", - "_meta": { - "title": "Empty Latent Image" - } - }, - "9": { - "inputs": { - "ckpt_name": [ - "5", - 0 - ] - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "10": { "inputs": { "value": 0, "order": 1, @@ -128,47 +87,14 @@ "title": "Seed" } }, - "11": { - "inputs": { - "seed": [ - "10", - 0 - ], - "steps": 20, - "cfg": 8, - "sampler_name": "dpmpp_2m", - "scheduler": "karras", - "denoise": 1, - "model": [ - "14", - 0 - ], - "positive": [ - "6", - 0 - ], - "negative": [ - "7", - 0 - ], - "latent_image": [ - "8", - 0 - ] - }, - "class_type": "KSampler", - "_meta": { - "title": "KSampler" - } - }, - "12": { + "7": { "inputs": { "samples": [ - "11", + "8", 0 ], "vae": [ - "15", + "14", 0 ] }, @@ -177,11 +103,44 @@ "title": "VAE Decode" } }, - "13": { + "8": { + "inputs": { + "seed": [ + "6", + 0 + ], + "steps": 20, + "cfg": 8, + "sampler_name": "dpmpp_2m", + "scheduler": "karras", + "denoise": 1, + "model": [ + "13", + 0 + ], + "positive": [ + "12", + 0 + ], + "negative": [ + "11", + 0 + ], + "latent_image": [ + "10", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "9": { "inputs": { "filename_prefix": "blender", "images": [ - "12", + "7", 0 ] }, @@ -190,12 +149,58 @@ "title": "Save Image" } }, - "14": { + "10": { + "inputs": { + "width": [ + "4", + 0 + ], + "height": [ + "5", + 0 + ], + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "11": { + "inputs": { + "text": "", + "clip": [ + "2", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "12": { + "inputs": { + "text": [ + "1", + 0 + ], + "clip": [ + "2", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "13": { "inputs": { "tiling": "enable", "copy_model": "Make a copy", "model": [ - "9", + "2", 0 ] }, @@ -204,12 +209,12 @@ "title": "Seamless Tile" } }, - "15": { + "14": { "inputs": { "tiling": "enable", "copy_vae": "Make a copy", "vae": [ - "9", + "2", 2 ] }, diff --git a/example_workflows/SDXL Txt2Img.json b/example_workflows/SDXL Txt2Img.json index d4ea4cb..f0858ad 100644 --- a/example_workflows/SDXL Txt2Img.json +++ b/example_workflows/SDXL Txt2Img.json @@ -1,22 +1,22 @@ { - "id": "e4ae1d2a-76bf-4cd7-bc07-b259704034a9", + "id": "00000000-0000-0000-0000-000000000000", "revision": 0, - "last_node_id": 14, - "last_link_id": 16, + "last_node_id": 13, + "last_link_id": 15, "nodes": [ { "id": 1, "type": "BlenderInputStringMultiline", "pos": [ - 830, - 450 + 390, + 330 ], "size": [ 340, 278 ], "flags": {}, - "order": 4, + "order": 0, "mode": 0, "inputs": [ { @@ -31,7 +31,7 @@ "name": "STRING", "type": "STRING", "links": [ - 2 + 15 ] } ], @@ -52,137 +52,14 @@ }, { "id": 2, - "type": "BlenderInputInt", + "type": "BlenderInputCheckpointLoader", "pos": [ - 900, - 980 + 430, + 680 ], "size": [ - 270, - 226 - ], - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "group", - "shape": 7, - "type": "GROUP", - "link": 15 - } - ], - "outputs": [ - { - "name": "INT", - "type": "INT", - "links": [ - 4 - ] - } - ], - "title": "Width", - "properties": { - "Node name for S&R": "BlenderInputInt", - "cnr_id": "comfyui-blender", - "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" - }, - "widgets_values": [ - 1024, - 4, - 1024, - 768, - 1344, - 8, - true, - false - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 3, - "type": "BlenderInputInt", - "pos": [ - 900, - 1270 - ], - "size": [ - 270, - 226 - ], - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "group", - "shape": 7, - "type": "GROUP", - "link": 16 - } - ], - "outputs": [ - { - "name": "INT", - "type": "INT", - "links": [ - 5 - ] - } - ], - "title": "Height", - "properties": { - "Node name for S&R": "BlenderInputInt", - "cnr_id": "comfyui-blender", - "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" - }, - "widgets_values": [ - 1024, - 5, - 1024, - 768, - 1344, - 8, - null, - true - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 4, - "type": "MarkdownNote", - "pos": [ - 450, - 500 - ], - "size": [ - 340, - 230 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "# ComfyUI-Blender\n\nThis is an example of workflow to showcase how to use the Blender input and output custom nodes. The custom nodes will be interpreted by the Blender add-on to display the corresponding properties in the add-on panel.\n\n(1) Add input or output nodes: right click > Add Node > blender > ...\n\n(2) Export the workflow: Workflow > Export (API)\n\n(3) In the Blender add-on, clik on Import Workflow to import the workflow JSON file in API format\n\nMore info on: [https://github.com/alexisrolland/ComfyUI-Blender](https://github.com/alexisrolland/ComfyUI-Blender)" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 5, - "type": "BlenderInputCombo", - "pos": [ - 450, - 810 - ], - "size": [ - 340, - 184 + 304.5953063964844, + 146 ], "flags": {}, "order": 1, @@ -195,239 +72,192 @@ "link": null } ], - "outputs": [ - { - "name": "*", - "type": "*", - "links": [ - 6 - ] - } - ], - "title": "Model", - "properties": { - "Node name for S&R": "BlenderInputCombo", - "cnr_id": "comfyui-blender", - "ver": "fe00f67deb08799bc6a8bad23c863249c11b241d" - }, - "widgets_values": [ - "visitor01/raymnants-v3.0.safetensors", - 2, - "", - "albedobond/albedobase-xl-v2.1.safetensors\nvisitor01/raymnants-v3.0.safetensors", - "albedobond/albedobase-xl-v2.1.safetensors\nvisitor01/raymnants-v3.0.safetensors" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 6, - "type": "CLIPTextEncode", - "pos": [ - 1210, - 740 - ], - "size": [ - 210.29940795898438, - 88 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 1 - }, - { - "name": "text", - "type": "STRING", - "widget": { - "name": "text" - }, - "link": 2 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 8 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.42", - "Node name for S&R": "CLIPTextEncode" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 7, - "type": "CLIPTextEncode", - "pos": [ - 1210, - 900 - ], - "size": [ - 210.29940795898438, - 88 - ], - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 3 - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 9 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.42", - "Node name for S&R": "CLIPTextEncode" - }, - "widgets_values": [ - "" - ] - }, - { - "id": 8, - "type": "EmptyLatentImage", - "pos": [ - 1210, - 1050 - ], - "size": [ - 210, - 106 - ], - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "width", - "type": "INT", - "widget": { - "name": "width" - }, - "link": 4 - }, - { - "name": "height", - "type": "INT", - "widget": { - "name": "height" - }, - "link": 5 - } - ], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - 10 - ] - } - ], - "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.42", - "Node name for S&R": "EmptyLatentImage" - }, - "widgets_values": [ - 512, - 512, - 1 - ] - }, - { - "id": 9, - "type": "CheckpointLoaderSimple", - "pos": [ - 830, - 810 - ], - "size": [ - 340, - 98 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "ckpt_name", - "type": "COMBO", - "widget": { - "name": "ckpt_name" - }, - "link": 6 - } - ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ - 7 + 8 ] }, { "name": "CLIP", "type": "CLIP", "links": [ - 1, - 3 + 9, + 11 ] }, { "name": "VAE", "type": "VAE", + "links": [ + 10 + ] + } + ], + "title": "Model", + "properties": { + "Node name for S&R": "BlenderInputCheckpointLoader" + }, + "widgets_values": [ + "visitor01\\raymnants-v3.0.safetensors", + 2, + "visitor01\\raymnants-v3.0.safetensors" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 3, + "type": "BlenderInputGroup", + "pos": [ + 140, + 1050 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "group", + "type": "GROUP", + "links": [ + 1, + 2 + ] + } + ], + "title": "Resolution", + "properties": { + "Node name for S&R": "BlenderInputGroup" + }, + "widgets_values": [ + 4, + true, + true + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 4, + "type": "BlenderInputInt", + "pos": [ + 470, + 900 + ], + "size": [ + 270, + 226 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "group", + "shape": 7, + "type": "GROUP", + "link": 1 + } + ], + "outputs": [ + { + "name": "INT", + "type": "INT", "links": [ 12 ] } ], + "title": "Width", "properties": { - "cnr_id": "comfy-core", - "ver": "0.3.42", - "Node name for S&R": "CheckpointLoaderSimple" + "Node name for S&R": "BlenderInputInt", + "cnr_id": "comfyui-blender", + "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" }, "widgets_values": [ - "albedobond\\albedobase-xl-v2.1.safetensors" - ] + 1024, + 1, + 1024, + 768, + 1344, + 8, + true, + false + ], + "color": "#432", + "bgcolor": "#653" }, { - "id": 10, + "id": 5, + "type": "BlenderInputInt", + "pos": [ + 470, + 1190 + ], + "size": [ + 270, + 226 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "group", + "shape": 7, + "type": "GROUP", + "link": 2 + } + ], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 13 + ] + } + ], + "title": "Height", + "properties": { + "Node name for S&R": "BlenderInputInt", + "cnr_id": "comfyui-blender", + "ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6" + }, + "widgets_values": [ + 1024, + 2, + 1024, + 768, + 1344, + 8, + null, + true + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 6, "type": "BlenderInputSeed", "pos": [ - 1210, - 1230 + 780, + 1090 ], "size": [ 210, 178 ], "flags": {}, - "order": 2, + "order": 3, "mode": 0, "inputs": [ { @@ -464,39 +294,177 @@ "bgcolor": "#653" }, { - "id": 11, + "id": 7, + "type": "CLIPTextEncode", + "pos": [ + 770, + 610 + ], + "size": [ + 210.29940795898438, + 88 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 9 + }, + { + "name": "text", + "type": "STRING", + "widget": { + "name": "text" + }, + "link": 15 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 3 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.42", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 8, + "type": "CLIPTextEncode", + "pos": [ + 770, + 770 + ], + "size": [ + 210.29940795898438, + 88 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 11 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 4 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.42", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 9, + "type": "EmptyLatentImage", + "pos": [ + 770, + 920 + ], + "size": [ + 210, + 106 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 12 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 13 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 5 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.42", + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 512, + 512, + 1 + ] + }, + { + "id": 10, "type": "KSampler", "pos": [ - 1470, - 810 + 1030, + 680 ], "size": [ 270, 262 ], "flags": {}, - "order": 11, + "order": 10, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", - "link": 7 + "link": 8 }, { "name": "positive", "type": "CONDITIONING", - "link": 8 + "link": 3 }, { "name": "negative", "type": "CONDITIONING", - "link": 9 + "link": 4 }, { "name": "latent_image", "type": "LATENT", - "link": 10 + "link": 5 }, { "name": "seed", @@ -512,7 +480,7 @@ "name": "LATENT", "type": "LATENT", "links": [ - 11 + 6 ] } ], @@ -532,29 +500,29 @@ ] }, { - "id": 12, + "id": 11, "type": "VAEDecode", "pos": [ - 1780, - 810 + 1340, + 680 ], "size": [ 140, 46 ], "flags": {}, - "order": 12, + "order": 11, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", - "link": 11 + "link": 6 }, { "name": "vae", "type": "VAE", - "link": 12 + "link": 10 } ], "outputs": [ @@ -562,7 +530,7 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 13 + 7 ] } ], @@ -574,24 +542,24 @@ "widgets_values": [] }, { - "id": 13, + "id": 12, "type": "BlenderOutputSaveImage", "pos": [ - 1960, - 810 + 1520, + 680 ], "size": [ 210, 270 ], "flags": {}, - "order": 13, + "order": 12, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", - "link": 13 + "link": 7 } ], "outputs": [], @@ -608,38 +576,24 @@ "bgcolor": "#653" }, { - "id": 14, - "type": "BlenderInputGroup", + "id": 13, + "type": "MarkdownNote", "pos": [ - 570, - 1130 + 20, + 580 ], "size": [ - 270, - 106 + 340, + 240 ], "flags": {}, - "order": 3, + "order": 4, "mode": 0, "inputs": [], - "outputs": [ - { - "name": "group", - "type": "GROUP", - "links": [ - 15, - 16 - ] - } - ], - "title": "Resolution", - "properties": { - "Node name for S&R": "BlenderInputGroup" - }, + "outputs": [], + "properties": {}, "widgets_values": [ - 4, - true, - true + "# ComfyUI-Blender\n\nThis is an example of workflow to showcase how to use the Blender input and output custom nodes. The custom nodes will be interpreted by the Blender add-on to display the corresponding properties in the add-on panel.\n\n(1) Add input or output nodes: right click > Add Node > blender > ...\n\n(2) Run the workflow to confirm it executes properly\n\n(3) Export the workflow: Top Left Menu > File > Export (API)\n\n(4) In the Blender add-on, clik on Import Workflow to import the workflow JSON file in API format\n\nMore info on: [https://github.com/alexisrolland/ComfyUI-Blender](https://github.com/alexisrolland/ComfyUI-Blender)" ], "color": "#432", "bgcolor": "#653" @@ -648,144 +602,136 @@ "links": [ [ 1, - 9, - 1, - 6, + 3, 0, - "CLIP" + 4, + 0, + "GROUP" ], [ 2, - 1, + 3, 0, - 6, - 1, - "STRING" + 5, + 0, + "GROUP" ], [ 3, - 9, - 1, 7, 0, - "CLIP" + 10, + 1, + "CONDITIONING" ], [ 4, - 2, - 0, 8, 0, - "INT" - ], - [ - 5, - 3, - 0, - 8, - 1, - "INT" - ], - [ - 6, - 5, - 0, - 9, - 0, - "COMBO" - ], - [ - 7, - 9, - 0, - 11, - 0, - "MODEL" - ], - [ - 8, - 6, - 0, - 11, - 1, - "CONDITIONING" - ], - [ - 9, - 7, - 0, - 11, - 2, - "CONDITIONING" - ], - [ 10, - 8, + 2, + "CONDITIONING" + ], + [ + 5, + 9, 0, - 11, + 10, 3, "LATENT" ], [ - 11, - 11, + 6, + 10, 0, - 12, + 11, 0, "LATENT" ], [ - 12, - 9, - 2, - 12, - 1, - "VAE" - ], - [ - 13, - 12, + 7, + 11, 0, - 13, + 12, 0, "IMAGE" ], [ - 14, + 8, + 2, + 0, 10, 0, + "MODEL" + ], + [ + 9, + 2, + 1, + 7, + 0, + "CLIP" + ], + [ + 10, + 2, + 2, 11, + 1, + "VAE" + ], + [ + 11, + 2, + 1, + 8, + 0, + "CLIP" + ], + [ + 12, + 4, + 0, + 9, + 0, + "INT" + ], + [ + 13, + 5, + 0, + 9, + 1, + "INT" + ], + [ + 14, + 6, + 0, + 10, 4, "INT" ], [ 15, - 14, + 1, 0, - 2, - 0, - "GROUP" - ], - [ - 16, - 14, - 0, - 3, - 0, - "GROUP" + 7, + 1, + "STRING" ] ], "groups": [], "config": {}, "extra": { "ds": { - "scale": 0.7513148009015777, + "scale": 0.6661531690140844, "offset": [ - 18.791273208055827, - -305.6345583111445 + 518.0730095804427, + -100.66666666666663 ] }, - "frontendVersion": "1.25.9", + "frontendVersion": "1.25.10", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, diff --git a/example_workflows/SDXL Txt2Img.json.api b/example_workflows/SDXL Txt2Img.json.api index 9f8128f..551d38e 100644 --- a/example_workflows/SDXL Txt2Img.json.api +++ b/example_workflows/SDXL Txt2Img.json.api @@ -13,8 +13,30 @@ }, "2": { "inputs": { - "value": 1024, + "ckpt_name": "visitor01\\raymnants-v3.0.safetensors", + "order": 2, + "default": "visitor01\\raymnants-v3.0.safetensors" + }, + "class_type": "BlenderInputCheckpointLoader", + "_meta": { + "title": "Model" + } + }, + "3": { + "inputs": { "order": 4, + "show_title": true, + "compact": true + }, + "class_type": "BlenderInputGroup", + "_meta": { + "title": "Resolution" + } + }, + "4": { + "inputs": { + "value": 1024, + "order": 1, "default": 1024, "min": 768, "max": 1344, @@ -22,7 +44,7 @@ "camera_width": true, "camera_height": false, "group": [ - "14", + "3", 0 ] }, @@ -31,10 +53,10 @@ "title": "Width" } }, - "3": { + "5": { "inputs": { "value": 1024, - "order": 5, + "order": 2, "default": 1024, "min": 768, "max": 1344, @@ -42,7 +64,7 @@ "camera_width": null, "camera_height": true, "group": [ - "14", + "3", 0 ] }, @@ -51,78 +73,7 @@ "title": "Height" } }, - "5": { - "inputs": { - "value": "visitor01/raymnants-v3.0.safetensors", - "order": 2, - "default": "", - "format_path": "albedobond/albedobase-xl-v2.1.safetensors\nvisitor01/raymnants-v3.0.safetensors", - "list": "albedobond/albedobase-xl-v2.1.safetensors\nvisitor01/raymnants-v3.0.safetensors" - }, - "class_type": "BlenderInputCombo", - "_meta": { - "title": "Model" - } - }, "6": { - "inputs": { - "text": [ - "1", - 0 - ], - "clip": [ - "9", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "7": { - "inputs": { - "text": "", - "clip": [ - "9", - 1 - ] - }, - "class_type": "CLIPTextEncode", - "_meta": { - "title": "CLIP Text Encode (Prompt)" - } - }, - "8": { - "inputs": { - "width": [ - "2", - 0 - ], - "height": [ - "3", - 0 - ], - "batch_size": 1 - }, - "class_type": "EmptyLatentImage", - "_meta": { - "title": "Empty Latent Image" - } - }, - "9": { - "inputs": { - "ckpt_name": [ - "5", - 0 - ] - }, - "class_type": "CheckpointLoaderSimple", - "_meta": { - "title": "Load Checkpoint" - } - }, - "10": { "inputs": { "value": 0, "order": 1, @@ -136,10 +87,56 @@ "title": "Seed" } }, - "11": { + "7": { + "inputs": { + "text": [ + "1", + 0 + ], + "clip": [ + "2", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "8": { + "inputs": { + "text": "", + "clip": [ + "2", + 1 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Prompt)" + } + }, + "9": { + "inputs": { + "width": [ + "4", + 0 + ], + "height": [ + "5", + 0 + ], + "batch_size": 1 + }, + "class_type": "EmptyLatentImage", + "_meta": { + "title": "Empty Latent Image" + } + }, + "10": { "inputs": { "seed": [ - "10", + "6", 0 ], "steps": 20, @@ -148,20 +145,20 @@ "scheduler": "karras", "denoise": 1, "model": [ - "9", + "2", 0 ], "positive": [ - "6", - 0 - ], - "negative": [ "7", 0 ], - "latent_image": [ + "negative": [ "8", 0 + ], + "latent_image": [ + "9", + 0 ] }, "class_type": "KSampler", @@ -169,14 +166,14 @@ "title": "KSampler" } }, - "12": { + "11": { "inputs": { "samples": [ - "11", + "10", 0 ], "vae": [ - "9", + "2", 2 ] }, @@ -185,11 +182,11 @@ "title": "VAE Decode" } }, - "13": { + "12": { "inputs": { "filename_prefix": "blender", "images": [ - "12", + "11", 0 ] }, @@ -197,16 +194,5 @@ "_meta": { "title": "Save Image" } - }, - "14": { - "inputs": { - "order": 4, - "show_title": true, - "compact": true - }, - "class_type": "BlenderInputGroup", - "_meta": { - "title": "Resolution" - } } } \ No newline at end of file