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

1232 lines
21 KiB
JSON

{
"id": "00000000-0000-0000-0000-000000000000",
"revision": 0,
"last_node_id": 27,
"last_link_id": 32,
"nodes": [
{
"id": 1,
"type": "UNETLoader",
"pos": [
1130,
770
],
"size": [
270,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
2
]
}
],
"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": "CLIPLoader",
"pos": [
1440,
970
],
"size": [
270,
106
],
"flags": {},
"order": 0,
"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": 3,
"type": "VAELoader",
"pos": [
1130,
640
],
"size": [
270,
58
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
4,
27
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"alibaba\\qwen_image_vae.safetensors"
]
},
{
"id": 4,
"type": "ModelPatchLoader",
"pos": [
1130,
920
],
"size": [
270,
58
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "name",
"type": "COMBO",
"widget": {
"name": "name"
},
"link": 30
}
],
"outputs": [
{
"name": "MODEL_PATCH",
"type": "MODEL_PATCH",
"links": [
3
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "ModelPatchLoader"
},
"widgets_values": [
"alibaba\\qwen_image_depth_diffsynth_controlnet.safetensors"
]
},
{
"id": 5,
"type": "CLIPTextEncode",
"pos": [
1740,
970
],
"size": [
210.29940795898438,
88
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 1
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 21
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
13,
14
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 6,
"type": "QwenImageDiffsynthControlnet",
"pos": [
1440,
770
],
"size": [
270,
140
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 2
},
{
"name": "model_patch",
"type": "MODEL_PATCH",
"link": 3
},
{
"name": "vae",
"type": "VAE",
"link": 4
},
{
"name": "image",
"type": "IMAGE",
"link": 5
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
},
{
"name": "strength",
"type": "FLOAT",
"widget": {
"name": "strength"
},
"link": 19
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
6
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "QwenImageDiffsynthControlnet"
},
"widgets_values": [
1
]
},
{
"id": 7,
"type": "BlenderInputLoadImage",
"pos": [
1130,
1040
],
"size": [
270,
410
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 31
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
5
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Image",
"properties": {
"Node name for S&R": "BlenderInputLoadImage"
},
"widgets_values": [
"example.png",
2,
"image"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 8,
"type": "LoraLoaderModelOnly",
"pos": [
1740,
800
],
"size": [
210,
82
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 6
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
7
]
}
],
"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": 9,
"type": "ModelSamplingAuraFlow",
"pos": [
1980,
830
],
"size": [
210,
58
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 7
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
10
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "ModelSamplingAuraFlow"
},
"widgets_values": [
3
]
},
{
"id": 10,
"type": "EmptySD3LatentImage",
"pos": [
1980,
1150
],
"size": [
210,
106
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 16
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 17
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
11
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 11,
"type": "KSampler",
"pos": [
2220,
830
],
"size": [
270,
262
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 10
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 13
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 15
},
{
"name": "latent_image",
"type": "LATENT",
"link": 11
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": 20
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
8
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "KSampler"
},
"widgets_values": [
990989037183036,
"randomize",
8,
1,
"res_multistep",
"simple",
1
]
},
{
"id": 12,
"type": "VAEDecode",
"pos": [
2510,
830
],
"size": [
140,
46
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 8
},
{
"name": "vae",
"type": "VAE",
"link": 27
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
12
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 13,
"type": "BlenderOutputSaveImage",
"pos": [
2670,
830
],
"size": [
220,
282
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 12
}
],
"outputs": [],
"title": "Save Image",
"properties": {
"Node name for S&R": "BlenderOutputSaveImage"
},
"widgets_values": [
"blender"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 14,
"type": "ConditioningZeroOut",
"pos": [
1980,
970
],
"size": [
210,
26
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 14
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
15
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "ConditioningZeroOut"
},
"widgets_values": []
},
{
"id": 15,
"type": "BlenderInputInt",
"pos": [
1740,
1150
],
"size": [
210,
226
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 18
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
16
]
}
],
"title": "Width",
"properties": {
"Node name for S&R": "BlenderInputInt"
},
"widgets_values": [
1328,
1,
1328,
928,
1664,
1,
true,
false
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 16,
"type": "BlenderInputInt",
"pos": [
1740,
1450
],
"size": [
210,
226
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 28
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
17
]
}
],
"title": "Height",
"properties": {
"Node name for S&R": "BlenderInputInt"
},
"widgets_values": [
1328,
2,
1328,
928,
1664,
1,
false,
true
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 17,
"type": "BlenderInputGroup",
"pos": [
1440,
1580
],
"size": [
270,
106
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "group",
"type": "GROUP",
"links": [
18,
28
]
}
],
"title": "Resolution",
"properties": {
"Node name for S&R": "BlenderInputGroup"
},
"widgets_values": [
3,
true,
true
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 19,
"type": "BlenderInputFloat",
"pos": [
1130,
1530
],
"size": [
270,
154
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 32
}
],
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"links": [
19
]
}
],
"title": "Strength",
"properties": {
"Node name for S&R": "BlenderInputFloat"
},
"widgets_values": [
1,
3,
1,
0.1,
1
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 20,
"type": "BlenderInputStringMultiline",
"pos": [
1440,
1150
],
"size": [
270,
360
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": null
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
21
]
}
],
"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",
2,
"",
false
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 21,
"type": "BlenderInputSeed",
"pos": [
1980,
1320
],
"size": [
210,
180
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": null
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
20
]
}
],
"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": 25,
"type": "BlenderInputCombo",
"pos": [
690,
940
],
"size": [
400,
200
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "group",
"shape": 7,
"type": "GROUP",
"link": 29
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": [
30
]
}
],
"title": "Model",
"properties": {
"Node name for S&R": "BlenderInputCombo"
},
"widgets_values": [
"alibaba/qwen_image_depth_diffsynth_controlnet.safetensors",
1,
"alibaba/qwen_image_depth_diffsynth_controlnet.safetensors",
true,
"alibaba/qwen_image_canny_diffsynth_controlnet.safetensors\nalibaba/qwen_image_depth_diffsynth_controlnet.safetensors"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 26,
"type": "BlenderInputGroup",
"pos": [
390,
940
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "group",
"type": "GROUP",
"links": [
29,
31,
32
]
}
],
"title": "ControlNet",
"properties": {
"Node name for S&R": "BlenderInputGroup"
},
"widgets_values": [
4,
true,
false
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 27,
"type": "MarkdownNote",
"pos": [
750,
620
],
"size": [
340,
230
],
"flags": {},
"order": 6,
"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"
}
],
"links": [
[
1,
2,
0,
5,
0,
"CLIP"
],
[
2,
1,
0,
6,
0,
"MODEL"
],
[
3,
4,
0,
6,
1,
"MODEL_PATCH"
],
[
4,
3,
0,
6,
2,
"VAE"
],
[
5,
7,
0,
6,
3,
"IMAGE"
],
[
6,
6,
0,
8,
0,
"MODEL"
],
[
7,
8,
0,
9,
0,
"MODEL"
],
[
8,
11,
0,
12,
0,
"LATENT"
],
[
10,
9,
0,
11,
0,
"MODEL"
],
[
11,
10,
0,
11,
3,
"LATENT"
],
[
12,
12,
0,
13,
0,
"IMAGE"
],
[
13,
5,
0,
11,
1,
"CONDITIONING"
],
[
14,
5,
0,
14,
0,
"CONDITIONING"
],
[
15,
14,
0,
11,
2,
"CONDITIONING"
],
[
16,
15,
0,
10,
0,
"INT"
],
[
17,
16,
0,
10,
1,
"INT"
],
[
18,
17,
0,
15,
0,
"GROUP"
],
[
19,
19,
0,
6,
5,
"FLOAT"
],
[
20,
21,
0,
11,
4,
"INT"
],
[
21,
20,
0,
5,
1,
"STRING"
],
[
27,
3,
0,
12,
1,
"VAE"
],
[
28,
17,
0,
16,
0,
"GROUP"
],
[
29,
26,
0,
25,
0,
"GROUP"
],
[
30,
25,
0,
4,
0,
"COMBO"
],
[
31,
26,
0,
7,
0,
"GROUP"
],
[
32,
26,
0,
19,
0,
"GROUP"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6934334949441662,
"offset": [
-310.2904779785263,
-359.7511978191328
]
},
"frontendVersion": "1.25.10",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}