Files
alexisrolland-ComfyUI-Blender/example_workflows/SDXL ControlNet.json
T

940 lines
17 KiB
JSON

{
"id": "e4ae1d2a-76bf-4cd7-bc07-b259704034a9",
"revision": 0,
"last_node_id": 18,
"last_link_id": 22,
"nodes": [
{
"id": 5,
"type": "BlenderInputCombo",
"pos": [
450,
810
],
"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"
],
"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": 1,
"type": "BlenderInputStringMultiline",
"pos": [
830,
380
],
"size": [
340,
326
],
"flags": {},
"order": 2,
"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
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
1210,
740
],
"size": [
210.29940795898438,
88
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 1
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 2
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
16
]
}
],
"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": 12,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
17
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.42",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 12,
"type": "VAEDecode",
"pos": [
2090,
740
],
"size": [
140,
46
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 11
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
13
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.42",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 13,
"type": "BlenderOutputSaveImage",
"pos": [
2270,
740
],
"size": [
210,
270
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 13
}
],
"outputs": [],
"title": "Save Image",
"properties": {
"cnr_id": "comfyui-blender",
"ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6",
"Node name for S&R": "BlenderOutputSaveImage"
},
"widgets_values": [
"blender"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 11,
"type": "KSampler",
"pos": [
1780,
740
],
"size": [
270,
262
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 7
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 19
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 20
},
{
"name": "latent_image",
"type": "LATENT",
"link": 10
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": 14
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
11
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.42",
"Node name for S&R": "KSampler"
},
"widgets_values": [
0,
"fixed",
20,
8,
"dpmpp_2m",
"karras",
1
]
},
{
"id": 8,
"type": "EmptyLatentImage",
"pos": [
1475.5504150390625,
1000
],
"size": [
260,
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": 16,
"type": "BlenderInputLoadImage",
"pos": [
1210,
1040
],
"size": [
210,
350
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
21
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "ControlNet Image",
"properties": {
"cnr_id": "comfyui-blender",
"ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6",
"Node name for S&R": "BlenderInputLoadImage"
},
"widgets_values": [
"depth_map.png",
6,
"image"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 18,
"type": "BlenderInputFloat",
"pos": [
1210,
1470
],
"size": [
210,
154
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"links": [
22
]
}
],
"title": "ControlNet Strength",
"properties": {
"cnr_id": "comfyui-blender",
"ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6",
"Node name for S&R": "BlenderInputFloat"
},
"widgets_values": [
1.0000000000000002,
7,
1.0000000000000002,
0,
1.0000000000000002
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 9,
"type": "CheckpointLoaderSimple",
"pos": [
830,
810
],
"size": [
340,
98
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "ckpt_name",
"type": "COMBO",
"widget": {
"name": "ckpt_name"
},
"link": 6
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
7
]
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
1,
3
]
},
{
"name": "VAE",
"type": "VAE",
"links": [
12
]
}
],
"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,
"type": "ControlNetApplyAdvanced",
"pos": [
1470,
740
],
"size": [
270,
186
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 16
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 17
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 15
},
{
"name": "image",
"type": "IMAGE",
"link": 21
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"name": "strength",
"type": "FLOAT",
"widget": {
"name": "strength"
},
"link": 22
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
19
]
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
20
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.42",
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
1,
0,
1
]
},
{
"id": 10,
"type": "BlenderInputSeed",
"pos": [
1480,
1180
],
"size": [
260,
180
],
"flags": {},
"order": 5,
"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"
},
"widgets_values": [
0,
1,
0,
1,
2147483647,
1
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 14,
"type": "ControlNetLoader",
"pos": [
1210,
600
],
"size": [
210,
58
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
15
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.42",
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"xinsir\\controlnet-union-sdxl-1.0-promax.safetensors"
]
},
{
"id": 2,
"type": "BlenderInputInt",
"pos": [
960,
1020
],
"size": [
210,
226
],
"flags": {},
"order": 7,
"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": [
960,
1310
],
"size": [
210,
226
],
"flags": {},
"order": 8,
"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,
false,
true
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
1,
9,
1,
6,
0,
"CLIP"
],
[
2,
1,
0,
6,
1,
"STRING"
],
[
3,
9,
1,
7,
0,
"CLIP"
],
[
4,
2,
0,
8,
0,
"INT"
],
[
5,
3,
0,
8,
1,
"INT"
],
[
6,
5,
0,
9,
0,
"COMBO"
],
[
7,
9,
0,
11,
0,
"MODEL"
],
[
10,
8,
0,
11,
3,
"LATENT"
],
[
11,
11,
0,
12,
0,
"LATENT"
],
[
12,
9,
2,
12,
1,
"VAE"
],
[
13,
12,
0,
13,
0,
"IMAGE"
],
[
14,
10,
0,
11,
4,
"INT"
],
[
15,
14,
0,
15,
2,
"CONTROL_NET"
],
[
16,
6,
0,
15,
0,
"CONDITIONING"
],
[
17,
7,
0,
15,
1,
"CONDITIONING"
],
[
19,
15,
0,
11,
1,
"CONDITIONING"
],
[
20,
15,
1,
11,
2,
"CONDITIONING"
],
[
21,
16,
0,
15,
3,
"IMAGE"
],
[
22,
18,
0,
15,
5,
"FLOAT"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015777,
"offset": [
-174.1145673828134,
-310.8534816894532
]
},
"frontendVersion": "1.23.4",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}