ComfyUI/workflows/diffbir_blind_face_restoration.json
2024-11-15 11:30:05 +08:00

312 lines
5.0 KiB
JSON

{
"last_node_id": 16,
"last_link_id": 29,
"nodes": [
{
"id": 8,
"type": "LoadImage",
"pos": [
288,
218
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
28
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"0722 (2).png",
"image"
]
},
{
"id": 9,
"type": "PreviewImage",
"pos": [
1279,
-176
],
"size": {
"0": 478.01593017578125,
"1": 683.1017456054688
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 29
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 14,
"type": "DiffBIR_sample_advanced",
"pos": [
776,
-180
],
"size": {
"0": 400,
"1": 730
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "stage1_model",
"type": "STAGE1",
"link": 23,
"slot_index": 0
},
{
"name": "task",
"type": "TASK",
"link": 24
},
{
"name": "cldm",
"type": "CLDM",
"link": 25,
"slot_index": 2
},
{
"name": "diffusion",
"type": "DIFFUSION",
"link": 26
},
{
"name": "infer_type",
"type": "INFER_TYPE",
"link": 27
},
{
"name": "image",
"type": "IMAGE",
"link": 28
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
29
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DiffBIR_sample_advanced"
},
"widgets_values": [
2,
30,
4,
false,
false,
512,
256,
true,
false,
512,
256,
"best quality, hdr, 4k",
"low quality, blurry, low-resolution, noisy, unsharp, weird textures",
842260670851106,
"randomize",
"cuda",
false,
"w_mse",
1,
1001,
-1,
"latent",
1
]
},
{
"id": 15,
"type": "Stage1_load",
"pos": [
287,
-186
],
"size": {
"0": 315,
"1": 126
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "stage1_model",
"type": "STAGE1",
"links": [
23
],
"shape": 3
},
{
"name": "task",
"type": "TASK",
"links": [
24
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "Stage1_load"
},
"widgets_values": [
"bfr",
"cuda",
"float32"
]
},
{
"id": 16,
"type": "Stage2_load",
"pos": [
285,
0
],
"size": {
"0": 315,
"1": 122
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "cldm",
"type": "CLDM",
"links": [
25
],
"shape": 3
},
{
"name": "diffusion",
"type": "DIFFUSION",
"links": [
26
],
"shape": 3,
"slot_index": 1
},
{
"name": "infer_type",
"type": "INFER_TYPE",
"links": [
27
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "Stage2_load"
},
"widgets_values": [
"cuda",
"float32"
]
}
],
"links": [
[
23,
15,
0,
14,
0,
"STAGE1"
],
[
24,
15,
1,
14,
1,
"TASK"
],
[
25,
16,
0,
14,
2,
"CLDM"
],
[
26,
16,
1,
14,
3,
"DIFFUSION"
],
[
27,
16,
2,
14,
4,
"INFER_TYPE"
],
[
28,
8,
0,
14,
5,
"IMAGE"
],
[
29,
14,
0,
9,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}