anghellia's picture
Upload depth_workflow.json
88f2e19 verified
raw
history blame
11.5 kB
{
"last_node_id": 24,
"last_link_id": 41,
"nodes": [
{
"id": 4,
"type": "DualCLIPLoader",
"pos": [
-157,
198
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
2,
27
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"clip_l.safetensors",
"t5xxl_fp16.safetensors",
"flux"
]
},
{
"id": 10,
"type": "UNETLoader",
"pos": [
243,
590
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
35
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux1-dev-fp8.safetensors",
"fp8_e4m3fn"
]
},
{
"id": 19,
"type": "CLIPTextEncodeFlux",
"pos": [
65,
281
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 27,
"slot_index": 0
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
26
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeFlux"
},
"widgets_values": [
"",
"",
4
]
},
{
"id": 8,
"type": "VAELoader",
"pos": [
1130,
0
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
7
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 3,
"type": "XlabsSampler",
"pos": [
1007,
170
],
"size": {
"0": 342.5999755859375,
"1": 234
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 35,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 18
},
{
"name": "neg_conditioning",
"type": "CONDITIONING",
"link": 26
},
{
"name": "latent_image",
"type": "LATENT",
"link": 5
},
{
"name": "controlnet_condition",
"type": "ControlNetCondition",
"link": 28
}
],
"outputs": [
{
"name": "latent",
"type": "LATENT",
"links": [
6
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "XlabsSampler"
},
"widgets_values": [
257762932021983,
"fixed",
25,
1,
3.5
]
},
{
"id": 17,
"type": "PreviewImage",
"pos": [
330,
20
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 38,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 14,
"type": "ApplyFluxControlNet",
"pos": [
546,
-262
],
"size": {
"0": 393,
"1": 78
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "controlnet",
"type": "FluxControlNet",
"link": 19
},
{
"name": "image",
"type": "IMAGE",
"link": 40,
"slot_index": 1
}
],
"outputs": [
{
"name": "controlnet_condition",
"type": "ControlNetCondition",
"links": [
28
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ApplyFluxControlNet"
},
"widgets_values": [
0.86
]
},
{
"id": 16,
"type": "LoadImage",
"pos": [
-378,
-239
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
37
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"input2.webp",
"image"
]
},
{
"id": 13,
"type": "LoadFluxControlNet",
"pos": [
4,
-226
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "ControlNet",
"type": "FluxControlNet",
"links": [
19
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadFluxControlNet"
},
"widgets_values": [
"flux-dev",
"depth5k.bin"
]
},
{
"id": 21,
"type": "PreviewImage",
"pos": [
1670,
124
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 31,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 7,
"type": "VAEDecode",
"pos": [
1371,
152
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 6,
"slot_index": 0
},
{
"name": "vae",
"type": "VAE",
"link": 7
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
31,
41
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 24,
"type": "SaveImage",
"pos": [
1487,
413
],
"size": [
315,
270
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 41
}
],
"properties": {},
"widgets_values": [
"depth_res"
]
},
{
"id": 23,
"type": "MiDaS-DepthMapPreprocessor",
"pos": [
-27,
-50
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 37
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
38,
40
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MiDaS-DepthMapPreprocessor"
},
"widgets_values": [
6.283185307179586,
0.1,
1024
]
},
{
"id": 6,
"type": "EmptyLatentImage",
"pos": [
769,
430
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
5
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 5,
"type": "CLIPTextEncodeFlux",
"pos": [
518,
-63
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 2,
"slot_index": 0
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
18
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeFlux"
},
"widgets_values": [
"cyberpunk village with fog, full hd, atmosphere, cinematic",
"cyberpunk village with fog, full hd, atmosphere, cinematic",
4
]
}
],
"links": [
[
2,
4,
0,
5,
0,
"CLIP"
],
[
5,
6,
0,
3,
3,
"LATENT"
],
[
6,
3,
0,
7,
0,
"LATENT"
],
[
7,
8,
0,
7,
1,
"VAE"
],
[
18,
5,
0,
3,
1,
"CONDITIONING"
],
[
19,
13,
0,
14,
0,
"FluxControlNet"
],
[
26,
19,
0,
3,
2,
"CONDITIONING"
],
[
27,
4,
0,
19,
0,
"CLIP"
],
[
28,
14,
0,
3,
4,
"ControlNetCondition"
],
[
31,
7,
0,
21,
0,
"IMAGE"
],
[
35,
10,
0,
3,
0,
"MODEL"
],
[
37,
16,
0,
23,
0,
"IMAGE"
],
[
38,
23,
0,
17,
0,
"IMAGE"
],
[
40,
23,
0,
14,
1,
"IMAGE"
],
[
41,
7,
0,
24,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 2.1762913579014898,
"offset": [
-249.5892058836903,
-103.17092105534093
]
}
},
"version": 0.4
}