Flux.1-dev-Controlnet-Surface-Normals / jasper-controlnet-normal-comfy-workflow.json
AP123's picture
Adding example ComfyUI workflow.
2855079 verified
raw
history blame
15.3 kB
{
"last_node_id": 75,
"last_link_id": 40,
"nodes": [
{
"id": 3,
"type": "KSampler",
"pos": {
"0": 1860,
"1": 130
},
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 21
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 22
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 23
},
{
"name": "latent_image",
"type": "LATENT",
"link": 24
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
27
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
953999074754699,
"randomize",
28,
1,
"dpmpp_2m",
"sgm_uniform",
1
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": {
"0": 2275,
"1": 130
},
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 27
},
{
"name": "vae",
"type": "VAE",
"link": 28
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
29
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 9,
"type": "SaveImage",
"pos": {
"0": 2585,
"1": 130
},
"size": {
"0": 315,
"1": 270
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 29
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 10,
"type": "EmptySD3LatentImage",
"pos": {
"0": 527.5999755859375,
"1": 502
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"link": 30,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 31,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
24
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 11,
"type": "FluxGuidance",
"pos": {
"0": 1027.5999755859375,
"1": 342
},
"size": {
"0": 317.4000244140625,
"1": 58
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 32
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
34
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxGuidance"
},
"widgets_values": [
3.5
]
},
{
"id": 47,
"type": "ControlNetApplyAdvanced",
"pos": {
"0": 1445,
"1": 286
},
"size": {
"0": 315,
"1": 186
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 34
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 35
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 36
},
{
"name": "image",
"type": "IMAGE",
"link": 37
},
{
"name": "vae",
"type": "VAE",
"link": 38
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
22
],
"shape": 3
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
23
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
0.55,
0,
0.3
]
},
{
"id": 72,
"type": "UNETLoader",
"pos": {
"0": 100,
"1": 1038
},
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
21
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux1-dev-fp8.safetensors",
"default"
]
},
{
"id": 73,
"type": "DualCLIPLoader",
"pos": {
"0": 100,
"1": 1250
},
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
25,
26
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp8_e4m3fn.safetensors",
"clip_l.safetensors",
"flux"
]
},
{
"id": 75,
"type": "ImageResizeKJ",
"pos": {
"0": 527.5999755859375,
"1": 130
},
"size": {
"0": 315,
"1": 242
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 40
},
{
"name": "get_image_size",
"type": "IMAGE",
"link": null
},
{
"name": "width_input",
"type": "INT",
"link": null,
"widget": {
"name": "width_input"
}
},
{
"name": "height_input",
"type": "INT",
"link": null,
"widget": {
"name": "height_input"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
33
],
"shape": 3
},
{
"name": "width",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageResizeKJ"
},
"widgets_values": [
1024,
1024,
"nearest-exact",
false,
2,
0,
0
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": {
"0": 527.5999755859375,
"1": 738
},
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 25
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
32
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"Cthulhu's cavernous lair, a vast underwater grotto with bioluminescent algae illuminating writhing tentacles. Hyper-realistic textures of slimy rock walls and ancient carvings. Oppressive atmosphere of dread, with shadowy depths hiding eldritch horrors. Lovecraftian elements blend with deep-sea biology.\n"
]
},
{
"id": 74,
"type": "PreviewImage",
"pos": {
"0": 1522,
"1": -88
},
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 39
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": {
"0": 528,
"1": 1068
},
"size": {
"0": 400,
"1": 200
},
"flags": {
"collapsed": true
},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 26
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
35
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 30,
"type": "LoadImage",
"pos": {
"0": 94,
"1": 237
},
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
40
],
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"IMG_2782.webp",
"image"
]
},
{
"id": 52,
"type": "FluxResolutionNode",
"pos": {
"0": 100,
"1": 779
},
"size": {
"0": 327.5999755859375,
"1": 170
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
30
],
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": [
31
],
"shape": 3
},
{
"name": "resolution",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxResolutionNode"
},
"widgets_values": [
"1.0",
"1:1 (Perfect Square)",
false,
"1:1"
]
},
{
"id": 27,
"type": "VAELoader",
"pos": {
"0": 103,
"1": 28
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
28,
38
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 48,
"type": "ControlNetLoader",
"pos": {
"0": 97,
"1": 609
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
36
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"Flux.1-dev-Controlnet-Surface-Normals.safetensors"
]
},
{
"id": 31,
"type": "AIO_Preprocessor",
"pos": {
"0": 1027.5999755859375,
"1": 130
},
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 33
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
37,
39
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "AIO_Preprocessor"
},
"widgets_values": [
"MiDaS-NormalMapPreprocessor",
1024
]
}
],
"links": [
[
21,
72,
0,
3,
0,
"MODEL"
],
[
22,
47,
0,
3,
1,
"CONDITIONING"
],
[
23,
47,
1,
3,
2,
"CONDITIONING"
],
[
24,
10,
0,
3,
3,
"LATENT"
],
[
25,
73,
0,
6,
0,
"CLIP"
],
[
26,
73,
0,
7,
0,
"CLIP"
],
[
27,
3,
0,
8,
0,
"LATENT"
],
[
28,
27,
0,
8,
1,
"VAE"
],
[
29,
8,
0,
9,
0,
"IMAGE"
],
[
30,
52,
0,
10,
0,
"INT"
],
[
31,
52,
1,
10,
1,
"INT"
],
[
32,
6,
0,
11,
0,
"CONDITIONING"
],
[
33,
75,
0,
31,
0,
"IMAGE"
],
[
34,
11,
0,
47,
0,
"CONDITIONING"
],
[
35,
7,
0,
47,
1,
"CONDITIONING"
],
[
36,
48,
0,
47,
2,
"CONTROL_NET"
],
[
37,
31,
0,
47,
3,
"IMAGE"
],
[
38,
27,
0,
47,
4,
"VAE"
],
[
39,
31,
0,
74,
0,
"IMAGE"
],
[
40,
30,
0,
75,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8264462809917354,
"offset": [
143.82377068289273,
210.72668820638214
]
}
},
"version": 0.4
}