gradient-diffusion's picture
Rename hed_workflow.json to workflows/hed_workflow.json
5c1bc86 verified
raw
history blame
10.9 kB
{
"last_node_id": 24,
"last_link_id": 44,
"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": 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
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"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": 13,
"type": "LoadFluxControlNet",
"pos": [
6,
-226
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 3,
"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",
"flux-hed-controlnet.safetensors"
]
},
{
"id": 24,
"type": "HEDPreprocessor",
"pos": [
-53,
-8
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 42
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
43,
44
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "HEDPreprocessor"
},
"widgets_values": [
"enable",
768
]
},
{
"id": 17,
"type": "PreviewImage",
"pos": [
288,
-44
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 43,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"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": [
257762932021984,
"fixed",
25,
1,
3.5
]
},
{
"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": [
"man with microphone in the desert, disney",
"man with microphone in the desert, disney",
4
]
},
{
"id": 21,
"type": "PreviewImage",
"pos": [
1615,
99
],
"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": 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": 44,
"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.7000000000000001
]
},
{
"id": 6,
"type": "EmptyLatentImage",
"pos": [
769,
430
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 4,
"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": 16,
"type": "LoadImage",
"pos": [
-378,
-239
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
42
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"example.jpg",
"image"
]
}
],
"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"
],
[
42,
16,
0,
24,
0,
"IMAGE"
],
[
43,
24,
0,
17,
0,
"IMAGE"
],
[
44,
24,
0,
14,
1,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.486436280241436,
"offset": [
-904.5042545771234,
205.34759825581054
]
}
},
"version": 0.4
}