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

1202 lines
21 KiB
JSON

{
"id": "2e7f7e3c-fd55-4563-b61d-b66f5d2968e7",
"revision": 0,
"last_node_id": 28,
"last_link_id": 39,
"nodes": [
{
"id": 17,
"type": "UNETLoader",
"pos": [
1880,
880
],
"size": [
270,
82
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
28
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"alibaba\\qwen_image_fp8_e4m3fn.safetensors",
"default"
]
},
{
"id": 2,
"type": "CLIPTextEncode",
"pos": [
2180,
1020
],
"size": [
210.29940795898438,
88
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 1
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 2
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
12,
34
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 1,
"type": "CLIPLoader",
"pos": [
1880,
1020
],
"size": [
270,
106
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
1
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"alibaba\\qwen_2.5_vl_7b_fp8_scaled.safetensors",
"qwen_image",
"default"
]
},
{
"id": 7,
"type": "ConditioningZeroOut",
"pos": [
2180,
1160
],
"size": [
210,
26
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 12
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
33
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "ConditioningZeroOut"
},
"widgets_values": []
},
{
"id": 8,
"type": "BlenderInputInt",
"pos": [
1940,
2000
],
"size": [
210,
226
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 13
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
9
]
}
],
"title": "Width",
"properties": {
"cnr_id": "comfyui-blender",
"ver": "0b3fa1a4f6a90b1bc7913ba415144d4676e48f01",
"Node name for S&R": "BlenderInputInt"
},
"widgets_values": [
1328,
1,
1328,
928,
1664,
1,
true,
false
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 9,
"type": "BlenderInputInt",
"pos": [
1940,
2300
],
"size": [
210,
226
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 14
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
10
]
}
],
"title": "Height",
"properties": {
"cnr_id": "comfyui-blender",
"ver": "0b3fa1a4f6a90b1bc7913ba415144d4676e48f01",
"Node name for S&R": "BlenderInputInt"
},
"widgets_values": [
1328,
2,
1328,
928,
1664,
1,
false,
true
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 10,
"type": "BlenderInputGroup",
"pos": [
1640,
2000
],
"size": [
270,
106
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "group",
"type": "GROUP",
"links": [
13,
14
]
}
],
"title": "Resolution",
"properties": {
"cnr_id": "comfyui-blender",
"ver": "0b3fa1a4f6a90b1bc7913ba415144d4676e48f01",
"Node name for S&R": "BlenderInputGroup"
},
"widgets_values": [
3,
true,
true
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 27,
"type": "ControlNetApplyAdvanced",
"pos": [
2420,
1020
],
"size": [
210,
186
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 34
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 33
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 30
},
{
"name": "image",
"type": "IMAGE",
"link": 35
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": 39
},
{
"name": "strength",
"type": "FLOAT",
"widget": {
"name": "strength"
},
"link": 37
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
31
]
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
32
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
1,
0,
1
]
},
{
"id": 11,
"type": "BlenderInputFloat",
"pos": [
2180,
1790
],
"size": [
210,
154
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 15
}
],
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"links": [
37
]
}
],
"title": "Strength",
"properties": {
"cnr_id": "comfyui-blender",
"ver": "0b3fa1a4f6a90b1bc7913ba415144d4676e48f01",
"Node name for S&R": "BlenderInputFloat"
},
"widgets_values": [
1,
3,
1,
0.1,
1
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 5,
"type": "EmptySD3LatentImage",
"pos": [
2180,
2000
],
"size": [
210,
146
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 9
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 10
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
23
]
},
{
"name": "width",
"type": "INT",
"links": null
},
{
"name": "height",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 22,
"type": "VAEDecode",
"pos": [
2960,
1020
],
"size": [
140,
46
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 25
},
{
"name": "vae",
"type": "VAE",
"link": 26
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
11
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 19,
"type": "LoraLoaderModelOnly",
"pos": [
2180,
880
],
"size": [
210,
82
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 28
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
8
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"alibaba\\Qwen-Image-Lightning-4steps-V1.0.safetensors",
1
]
},
{
"id": 20,
"type": "KSampler",
"pos": [
2660,
1020
],
"size": [
270,
262
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 20
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 31
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 32
},
{
"name": "latent_image",
"type": "LATENT",
"link": 23
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": 24
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
25
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "KSampler"
},
"widgets_values": [
563079312899009,
"randomize",
4,
1,
"res_multistep",
"simple",
1
]
},
{
"id": 24,
"type": "VAELoader",
"pos": [
2720,
1340
],
"size": [
210,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
26,
39
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"alibaba\\qwen_image_vae.safetensors"
]
},
{
"id": 25,
"type": "ControlNetLoader",
"pos": [
2180,
1250
],
"size": [
210,
58
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
30
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"instantx\\Qwen-Image-ControlNet-Union.safetensors"
]
},
{
"id": 4,
"type": "ModelSamplingAuraFlow",
"pos": [
2420,
910
],
"size": [
210,
58
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 8
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
20
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "ModelSamplingAuraFlow"
},
"widgets_values": [
3.1
]
},
{
"id": 6,
"type": "BlenderOutputSaveImage",
"pos": [
3120,
1020
],
"size": [
220,
282
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 11
}
],
"outputs": [],
"title": "Save Image",
"properties": {
"cnr_id": "comfyui-blender",
"ver": "0b3fa1a4f6a90b1bc7913ba415144d4676e48f01",
"Node name for S&R": "BlenderOutputSaveImage"
},
"widgets_values": [
"blender"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 21,
"type": "BlenderInputStringMultiline",
"pos": [
1880,
1190
],
"size": [
270,
250
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": null
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
2
]
}
],
"title": "Prompt",
"properties": {
"cnr_id": "comfyui-blender",
"ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6",
"Node name for S&R": "BlenderInputStringMultiline"
},
"widgets_values": [
"Photograph of an ancient treasure chest on a black background. The chest is made of rich, vintage antique wood sculpted with floral patterns, with brass and iron fittings. The brass lock and hinges are tarnished with age, adding to its mysterious and timeless appeal. The lighting is dramatic, with soft shadows accentuating the texture of the wood and metal, creating a sense of depth and intrigue. Ultra HD, 4K, cinematic composition.",
2,
"",
false
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 18,
"type": "BlenderInputLoadImage",
"pos": [
2180,
1370
],
"size": [
210,
350
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 18
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
35
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Image",
"properties": {
"cnr_id": "comfyui-blender",
"ver": "0b3fa1a4f6a90b1bc7913ba415144d4676e48f01",
"Node name for S&R": "BlenderInputLoadImage"
},
"widgets_values": [
"blender_depth_map0001.png",
2,
"image"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 12,
"type": "BlenderInputSeed",
"pos": [
2180,
2210
],
"size": [
210,
180
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": null
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
24
]
}
],
"title": "Seed",
"properties": {
"cnr_id": "comfyui-blender",
"ver": "41e36147b41b6ef2d321220c3815ca99a9681ad6",
"Node name for S&R": "BlenderInputSeed"
},
"widgets_values": [
0,
1,
0,
0,
2147483647,
1
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 14,
"type": "BlenderInputGroup",
"pos": [
1880,
1520
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "group",
"type": "GROUP",
"links": [
15,
18
]
}
],
"title": "ControlNet",
"properties": {
"cnr_id": "comfyui-blender",
"ver": "0b3fa1a4f6a90b1bc7913ba415144d4676e48f01",
"Node name for S&R": "BlenderInputGroup"
},
"widgets_values": [
4,
true,
false
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 13,
"type": "MarkdownNote",
"pos": [
1475.416259765625,
876.527587890625
],
"size": [
340,
310
],
"flags": {},
"order": 8,
"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"
}
],
"links": [
[
1,
1,
0,
2,
0,
"CLIP"
],
[
2,
21,
0,
2,
1,
"STRING"
],
[
8,
19,
0,
4,
0,
"MODEL"
],
[
9,
8,
0,
5,
0,
"INT"
],
[
10,
9,
0,
5,
1,
"INT"
],
[
11,
22,
0,
6,
0,
"IMAGE"
],
[
12,
2,
0,
7,
0,
"CONDITIONING"
],
[
13,
10,
0,
8,
0,
"GROUP"
],
[
14,
10,
0,
9,
0,
"GROUP"
],
[
15,
14,
0,
11,
0,
"GROUP"
],
[
18,
14,
0,
18,
0,
"GROUP"
],
[
20,
4,
0,
20,
0,
"MODEL"
],
[
23,
5,
0,
20,
3,
"LATENT"
],
[
24,
12,
0,
20,
4,
"INT"
],
[
25,
20,
0,
22,
0,
"LATENT"
],
[
26,
24,
0,
22,
1,
"VAE"
],
[
28,
17,
0,
19,
0,
"MODEL"
],
[
30,
25,
0,
27,
2,
"CONTROL_NET"
],
[
31,
27,
0,
20,
1,
"CONDITIONING"
],
[
32,
27,
1,
20,
2,
"CONDITIONING"
],
[
33,
7,
0,
27,
1,
"CONDITIONING"
],
[
34,
2,
0,
27,
0,
"CONDITIONING"
],
[
35,
18,
0,
27,
3,
"IMAGE"
],
[
37,
11,
0,
27,
5,
"FLOAT"
],
[
39,
24,
0,
27,
4,
"VAE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6934334949441673,
"offset": [
-1375.416259765625,
-776.527587890625
]
},
"frontendVersion": "1.26.13",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}