dgx-spark-playbooks/nvidia/station-comfyui/assets/workflows/flux-controlnet.json
2026-05-26 18:25:53 +00:00

1059 lines
17 KiB
JSON

{
"last_node_id": 29,
"last_link_id": 21,
"nodes": [
{
"id": 1,
"type": "UNETLoader",
"pos": [
80,
40
],
"size": [
320,
120
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "unet_name",
"type": "*",
"link": null
},
{
"name": "weight_dtype",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux1-canny-dev.safetensors",
"default"
]
},
{
"id": 2,
"type": "DualCLIPLoader",
"pos": [
500,
40
],
"size": [
320,
120
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "clip_name1",
"type": "*",
"link": null
},
{
"name": "clip_name2",
"type": "*",
"link": null
},
{
"name": "type",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
1,
3
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux"
]
},
{
"id": 3,
"type": "VAELoader",
"pos": [
920,
40
],
"size": [
320,
120
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "vae_name",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
7,
19
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 4,
"type": "CLIPTextEncode",
"pos": [
1340,
40
],
"size": [
320,
120
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "*",
"link": null
},
{
"name": "clip",
"type": "*",
"link": 1
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
2
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"A futuristic cyberpunk cityscape at night, neon lights, rain-soaked streets, highly detailed"
]
},
{
"id": 5,
"type": "FluxGuidance",
"pos": [
1760,
40
],
"size": [
320,
120
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "*",
"link": 2
},
{
"name": "guidance",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
5
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "FluxGuidance"
},
"widgets_values": [
30.0
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
80,
260
],
"size": [
320,
120
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "*",
"link": null
},
{
"name": "clip",
"type": "*",
"link": 3
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
6
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 10,
"type": "LoadImage",
"pos": [
500,
260
],
"size": [
320,
120
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "*",
"link": null
},
{
"name": "upload",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
4
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"reference_image.png",
"image"
]
},
{
"id": 11,
"type": "AIO_Preprocessor",
"pos": [
920,
260
],
"size": [
320,
120
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "preprocessor",
"type": "*",
"link": null
},
{
"name": "resolution",
"type": "*",
"link": null
},
{
"name": "image",
"type": "*",
"link": 4
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
8,
21
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "AIO_Preprocessor"
},
"widgets_values": [
"CannyEdgePreprocessor",
1024
]
},
{
"id": 15,
"type": "InstructPixToPixConditioning",
"pos": [
1340,
260
],
"size": [
320,
120
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "*",
"link": 5
},
{
"name": "negative",
"type": "*",
"link": 6
},
{
"name": "vae",
"type": "*",
"link": 7
},
{
"name": "pixels",
"type": "*",
"link": 8
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
11
],
"slot_index": 0
},
{
"name": "1",
"type": "*",
"links": [],
"slot_index": 1
},
{
"name": "2",
"type": "*",
"links": [
17
],
"slot_index": 2
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "InstructPixToPixConditioning"
},
"widgets_values": []
},
{
"id": 20,
"type": "ModelSamplingFlux",
"pos": [
1760,
260
],
"size": [
320,
120
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "*",
"link": 9
},
{
"name": "max_shift",
"type": "*",
"link": null
},
{
"name": "base_shift",
"type": "*",
"link": null
},
{
"name": "width",
"type": "*",
"link": null
},
{
"name": "height",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
10,
12
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "ModelSamplingFlux"
},
"widgets_values": [
1.15,
0.5,
1024,
1024
]
},
{
"id": 21,
"type": "BasicGuider",
"pos": [
80,
480
],
"size": [
320,
120
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "*",
"link": 10
},
{
"name": "conditioning",
"type": "*",
"link": 11
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
14
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "BasicGuider"
},
"widgets_values": []
},
{
"id": 22,
"type": "RandomNoise",
"pos": [
500,
480
],
"size": [
320,
120
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "noise_seed",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
13
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
42
]
},
{
"id": 23,
"type": "KSamplerSelect",
"pos": [
920,
480
],
"size": [
320,
120
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "sampler_name",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
15
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 24,
"type": "BasicScheduler",
"pos": [
1340,
480
],
"size": [
320,
120
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "*",
"link": 12
},
{
"name": "scheduler",
"type": "*",
"link": null
},
{
"name": "steps",
"type": "*",
"link": null
},
{
"name": "denoise",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
16
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
28,
1.0
]
},
{
"id": 26,
"type": "SamplerCustomAdvanced",
"pos": [
1760,
480
],
"size": [
320,
120
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "*",
"link": 13
},
{
"name": "guider",
"type": "*",
"link": 14
},
{
"name": "sampler",
"type": "*",
"link": 15
},
{
"name": "sigmas",
"type": "*",
"link": 16
},
{
"name": "latent_image",
"type": "*",
"link": 17
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
18
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": []
},
{
"id": 27,
"type": "VAEDecode",
"pos": [
80,
700
],
"size": [
320,
120
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "*",
"link": 18
},
{
"name": "vae",
"type": "*",
"link": 19
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
20
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 28,
"type": "SaveImage",
"pos": [
500,
700
],
"size": [
320,
120
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "*",
"link": 20
},
{
"name": "filename_prefix",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"flux_controlnet_output"
]
},
{
"id": 29,
"type": "SaveImage",
"pos": [
920,
700
],
"size": [
320,
120
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "*",
"link": 21
},
{
"name": "filename_prefix",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"controlnet_preprocessed"
]
}
],
"links": [
[
1,
2,
0,
4,
1,
"*"
],
[
2,
4,
0,
5,
0,
"*"
],
[
3,
2,
0,
6,
1,
"*"
],
[
4,
10,
0,
11,
2,
"*"
],
[
5,
5,
0,
15,
0,
"*"
],
[
6,
6,
0,
15,
1,
"*"
],
[
7,
3,
0,
15,
2,
"*"
],
[
8,
11,
0,
15,
3,
"*"
],
[
9,
1,
0,
20,
0,
"*"
],
[
10,
20,
0,
21,
0,
"*"
],
[
11,
15,
0,
21,
1,
"*"
],
[
12,
20,
0,
24,
0,
"*"
],
[
13,
22,
0,
26,
0,
"*"
],
[
14,
21,
0,
26,
1,
"*"
],
[
15,
23,
0,
26,
2,
"*"
],
[
16,
24,
0,
26,
3,
"*"
],
[
17,
15,
2,
26,
4,
"*"
],
[
18,
26,
0,
27,
0,
"*"
],
[
19,
3,
0,
27,
1,
"*"
],
[
20,
27,
0,
28,
0,
"*"
],
[
21,
11,
0,
29,
0,
"*"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
0,
0
]
}
},
"version": 0.4
}