Files
alexisrolland-ComfyUI-Blender/example_workflows/Qwen Image ControlNet.json
T

1289 lines
21 KiB
JSON

{
"id": "00000000-0000-0000-0000-000000000000",
"revision": 0,
"last_node_id": 24,
"last_link_id": 28,
"nodes": [
{
"id": 1,
"type": "UNETLoader",
"pos": [
-70,
70
],
"size": [
270,
82
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
1
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.60",
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"alibaba\\qwen_image_fp8_e4m3fn.safetensors",
"default"
]
},
{
"id": 3,
"type": "ModelSamplingAuraFlow",
"pos": [
550,
70
],
"size": [
270,
58
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 2
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
3
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.60",
"Node name for S&R": "ModelSamplingAuraFlow"
},
"widgets_values": [
3.1
]
},
{
"id": 6,
"type": "BlenderInputGroup",
"pos": [
-380,
420
],
"size": [
270,
106
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "group",
"type": "GROUP",
"links": [
4,
5
]
}
],
"title": "Prompts",
"properties": {
"Node name for S&R": "BlenderInputGroup"
},
"widgets_values": [
2,
false,
false
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 8,
"type": "BlenderInputString",
"pos": [
-70,
620
],
"size": [
270,
130
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 5
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
8
]
}
],
"title": "Negative Prompt",
"properties": {
"Node name for S&R": "BlenderInputString"
},
"widgets_values": [
"",
2,
"",
false
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 15,
"type": "ControlNetApplyAdvanced",
"pos": [
550,
240
],
"size": [
270,
186
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 14
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 15
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 16
},
{
"name": "image",
"type": "IMAGE",
"link": 17
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": 28
},
{
"name": "strength",
"type": "FLOAT",
"widget": {
"name": "strength"
},
"link": 18
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
12
]
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
13
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.60",
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
1,
0,
1
]
},
{
"id": 19,
"type": "EmptySD3LatentImage",
"pos": [
550,
500
],
"size": [
270,
106
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 21
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 22
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
23
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.60",
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1328,
1328,
1
]
},
{
"id": 10,
"type": "CLIPTextEncode",
"pos": [
250,
420
],
"size": [
270,
88
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 9
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 8
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
15
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.60",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 11,
"type": "ControlNetLoader",
"pos": [
250,
590
],
"size": [
270,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
16
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.60",
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"instantx\\Qwen-Image-ControlNet-Union.safetensors"
]
},
{
"id": 9,
"type": "CLIPTextEncode",
"pos": [
240,
240
],
"size": [
270,
88
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 6
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 7
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
14
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.60",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 21,
"type": "VAEDecode",
"pos": [
1190,
200
],
"size": [
140,
46
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 25
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
26
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.60",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 22,
"type": "BlenderOutputSaveImage",
"pos": [
1370,
200
],
"size": [
272.6714782714844,
270
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 26
}
],
"outputs": [],
"title": "Save Image",
"properties": {
"Node name for S&R": "BlenderOutputSaveImage"
},
"widgets_values": [
"blender"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 23,
"type": "BlenderInputSeed",
"pos": [
550,
680
],
"size": [
270,
178
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": null
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
27
]
}
],
"title": "Seed",
"properties": {
"Node name for S&R": "BlenderInputSeed"
},
"widgets_values": [
0,
1,
0,
-2147483648,
2147483647,
1
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 12,
"type": "BlenderInputGroup",
"pos": [
-70,
820
],
"size": [
270,
106
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "group",
"type": "GROUP",
"links": [
10,
11
]
}
],
"title": "ControlNet",
"properties": {
"Node name for S&R": "BlenderInputGroup"
},
"widgets_values": [
4,
true,
true
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 7,
"type": "BlenderInputString",
"pos": [
-70,
420
],
"size": [
270,
130
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 4
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
7
]
}
],
"title": "Prompt",
"properties": {
"Node name for S&R": "BlenderInputString"
},
"widgets_values": [
"High quality CG render of a glass cube containing magma. The cube has a metallic frame made of dark iron with rivets.",
1,
"High quality CG render of a glass cube containing magma. The cube has a metallic frame made of dark iron with rivets.",
false
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 24,
"type": "MarkdownNote",
"pos": [
-450,
70
],
"size": [
340,
240
],
"flags": {},
"order": 5,
"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) 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"
},
{
"id": 20,
"type": "VAELoader",
"pos": [
250,
1130
],
"size": [
270,
58
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
25,
28
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.60",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"alibaba\\qwen_image_vae.safetensors"
]
},
{
"id": 16,
"type": "BlenderInputGroup",
"pos": [
-60,
1480
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "group",
"type": "GROUP",
"links": [
19,
20
]
}
],
"title": "Resolution",
"properties": {
"Node name for S&R": "BlenderInputGroup"
},
"widgets_values": [
3,
true,
true
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 17,
"type": "BlenderInputInt",
"pos": [
250,
1480
],
"size": [
270,
226
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 19
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
21
]
}
],
"title": "Width",
"properties": {
"Node name for S&R": "BlenderInputInt"
},
"widgets_values": [
1328,
1,
1328,
-2147483648,
2147483647,
1,
true,
false
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 18,
"type": "BlenderInputInt",
"pos": [
250,
1770
],
"size": [
270,
226
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 20
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
22
]
}
],
"title": "Height",
"properties": {
"Node name for S&R": "BlenderInputInt"
},
"widgets_values": [
1328,
2,
1328,
-2147483648,
2147483647,
1,
false,
true
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 14,
"type": "BlenderInputFloat",
"pos": [
250,
1260
],
"size": [
270,
154
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 11
}
],
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"links": [
18
]
}
],
"title": "Strength",
"properties": {
"Node name for S&R": "BlenderInputFloat"
},
"widgets_values": [
1,
2,
1,
-2147483648,
2147483647
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 13,
"type": "BlenderInputLoadImage",
"pos": [
250,
730
],
"size": [
270,
338
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 10
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
17
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Image",
"properties": {
"Node name for S&R": "BlenderInputLoadImage"
},
"widgets_values": [
"blender_depth_map0001.png",
1,
"image"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 2,
"type": "LoraLoaderModelOnly",
"pos": [
240,
70
],
"size": [
270,
82
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
2
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.60",
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"alibaba\\Qwen-Image-Lightning-8steps-V1.0.safetensors",
1
]
},
{
"id": 5,
"type": "CLIPLoader",
"pos": [
-70,
240
],
"size": [
270,
106
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
6,
9
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.60",
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"alibaba\\qwen_2.5_vl_7b_fp8_scaled.safetensors",
"qwen_image",
"default"
]
},
{
"id": 4,
"type": "KSampler",
"pos": [
880,
200
],
"size": [
270,
262
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 3
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 12
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 13
},
{
"name": "latent_image",
"type": "LATENT",
"link": 23
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": 27
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
24
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.60",
"Node name for S&R": "KSampler"
},
"widgets_values": [
391477711640611,
"randomize",
8,
1,
"ddim",
"kl_optimal",
1
]
}
],
"links": [
[
1,
1,
0,
2,
0,
"MODEL"
],
[
2,
2,
0,
3,
0,
"MODEL"
],
[
3,
3,
0,
4,
0,
"MODEL"
],
[
4,
6,
0,
7,
0,
"GROUP"
],
[
5,
6,
0,
8,
0,
"GROUP"
],
[
6,
5,
0,
9,
0,
"CLIP"
],
[
7,
7,
0,
9,
1,
"STRING"
],
[
8,
8,
0,
10,
1,
"STRING"
],
[
9,
5,
0,
10,
0,
"CLIP"
],
[
10,
12,
0,
13,
0,
"GROUP"
],
[
11,
12,
0,
14,
0,
"GROUP"
],
[
12,
15,
0,
4,
1,
"CONDITIONING"
],
[
13,
15,
1,
4,
2,
"CONDITIONING"
],
[
14,
9,
0,
15,
0,
"CONDITIONING"
],
[
15,
10,
0,
15,
1,
"CONDITIONING"
],
[
16,
11,
0,
15,
2,
"CONTROL_NET"
],
[
17,
13,
0,
15,
3,
"IMAGE"
],
[
18,
14,
0,
15,
5,
"FLOAT"
],
[
19,
16,
0,
17,
0,
"GROUP"
],
[
20,
16,
0,
18,
0,
"GROUP"
],
[
21,
17,
0,
19,
0,
"INT"
],
[
22,
18,
0,
19,
1,
"INT"
],
[
23,
19,
0,
4,
3,
"LATENT"
],
[
24,
4,
0,
21,
0,
"LATENT"
],
[
25,
20,
0,
21,
1,
"VAE"
],
[
26,
21,
0,
22,
0,
"IMAGE"
],
[
27,
23,
0,
4,
4,
"INT"
],
[
28,
20,
0,
15,
4,
"VAE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7810065777412513,
"offset": [
516.151221557615,
39.941959061165775
]
},
"frontendVersion": "1.26.13"
},
"version": 0.4
}