Files
Sxela b9a63d671e add rendervideo node
add flow blend workflows
2024-10-06 11:37:04 +02:00

1486 lines
24 KiB
JSON

{
"last_node_id": 34,
"last_link_id": 56,
"nodes": [
{
"id": 4,
"type": "ImageBatch",
"pos": [
1108,
-849
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image1",
"type": "IMAGE",
"link": 4
},
{
"name": "image2",
"type": "IMAGE",
"link": 5
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
6
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageBatch"
}
},
{
"id": 3,
"type": "PreviewImage",
"pos": [
1112,
-755
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 6
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 7,
"type": "MaskToImage",
"pos": [
1897,
-799
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
13
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 8,
"type": "PreviewImage",
"pos": [
1901,
-724
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 13
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 5,
"type": "ExtractOpticalFlow",
"pos": [
1477,
-1064
],
"size": {
"0": 393,
"1": 138
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "current_frame",
"type": "IMAGE",
"link": 7
},
{
"name": "previous_frame",
"type": "IMAGE",
"link": 8
}
],
"outputs": [
{
"name": "Flow",
"type": "BACKWARD_FLOW",
"links": [
14
],
"shape": 3,
"slot_index": 0
},
{
"name": "Motion edge mask",
"type": "MASK",
"links": [
9
],
"shape": 3,
"slot_index": 1
},
{
"name": "Occlusion mask",
"type": "MASK",
"links": [
10
],
"shape": 3,
"slot_index": 2
},
{
"name": "Border mask",
"type": "MASK",
"links": [
11
],
"shape": 3,
"slot_index": 3
},
{
"name": "Flow preview",
"type": "IMAGE",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ExtractOpticalFlow"
},
"widgets_values": [
20
]
},
{
"id": 17,
"type": "Efficient Loader",
"pos": [
1860,
-1674
],
"size": {
"0": 400,
"1": 462
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "lora_stack",
"type": "LORA_STACK",
"link": null
},
{
"name": "cnet_stack",
"type": "CONTROL_NET_STACK",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
24
],
"shape": 3,
"slot_index": 0
},
{
"name": "CONDITIONING+",
"type": "CONDITIONING",
"links": [
25
],
"shape": 3,
"slot_index": 1
},
{
"name": "CONDITIONING-",
"type": "CONDITIONING",
"links": [
26
],
"shape": 3,
"slot_index": 2
},
{
"name": "LATENT",
"type": "LATENT",
"links": null,
"shape": 3
},
{
"name": "VAE",
"type": "VAE",
"links": [
28,
30
],
"shape": 3,
"slot_index": 4
},
{
"name": "CLIP",
"type": "CLIP",
"links": null,
"shape": 3
},
{
"name": "DEPENDENCIES",
"type": "DEPENDENCIES",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Efficient Loader"
},
"widgets_values": [
"revAnimated_v122.safetensors",
"Baked VAE",
-1,
"None",
1,
1,
"a cyberpunk girl",
"",
512,
512,
1
]
},
{
"id": 14,
"type": "MakeFrameDataset",
"pos": [
683,
-1057
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "FRAME_DATASET",
"type": "FRAME_DATASET",
"links": [
17
],
"shape": 3,
"slot_index": 0
},
{
"name": "Total_frames",
"type": "INT",
"links": [
18
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "MakeFrameDataset"
},
"widgets_values": [
"C:\\code\\warp\\19_cn_venv\\images_out\\stable_warpfusion_0.20.0\\videoFrames\\650571deef_0_0_1",
true
]
},
{
"id": 20,
"type": "PreviewImage",
"pos": [
2049,
-2095
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 32
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 22,
"type": "OffsetNumber",
"pos": [
987,
-1783
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "number",
"type": "INT",
"link": 37,
"widget": {
"name": "number",
"config": [
"INT",
{
"default": 0,
"min": -999999999999,
"max": 9999999999
}
]
},
"slot_index": 0
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
38
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "OffsetNumber"
},
"widgets_values": [
0,
-1
]
},
{
"id": 19,
"type": "PreviewImage",
"pos": [
2986,
-1667
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 31
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 6,
"type": "MixConsistencyMaps",
"pos": [
1891,
-1060
],
"size": {
"0": 330,
"1": 218
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "missed_consistency",
"type": "MASK",
"link": 10
},
{
"name": "overshoot_consistency",
"type": "MASK",
"link": 11
},
{
"name": "edge_consistency",
"type": "MASK",
"link": 9
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
12,
43
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MixConsistencyMaps"
},
"widgets_values": [
1,
2,
false,
1,
1,
1
]
},
{
"id": 10,
"type": "WarpFrame",
"pos": [
1756,
-1789
],
"size": {
"0": 254.40000915527344,
"1": 46
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "previous_frame",
"type": "IMAGE",
"link": 40
},
{
"name": "flow",
"type": "BACKWARD_FLOW",
"link": 14
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
32,
44
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "WarpFrame"
}
},
{
"id": 29,
"type": "PreviewImage",
"pos": [
2637,
-2111
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 46
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 31,
"type": "Reroute",
"pos": [
2421.352011474609,
-1465.113171875
],
"size": [
75,
26
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 49
}
],
"outputs": [
{
"name": "",
"type": "INT",
"links": [
50
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 33,
"type": "PrimitiveNode",
"pos": [
860,
-2109
],
"size": {
"0": 457.9546203613281,
"1": 110.02449798583984
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
53,
54
],
"slot_index": 0,
"widget": {
"name": "file_path",
"config": [
"STRING",
{
"multiline": true,
"default": "C:\\code\\warp\\19_cn_venv\\images_out\\stable_warpfusion_0.20.0\\videoFrames\\650571deef_0_0_1"
}
]
}
}
],
"properties": {},
"widgets_values": [
"C:\\code\\warp\\comfywarp\\0.1.0\\render\\1\\"
]
},
{
"id": 13,
"type": "PreviewImage",
"pos": [
1768,
-2094
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 39
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 30,
"type": "SaveFrame",
"pos": [
3231,
-1663
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 48
},
{
"name": "frame_number",
"type": "INT",
"link": 50,
"widget": {
"name": "frame_number",
"config": [
"INT",
{
"default": 0,
"min": 0,
"max": 9999999999
}
]
}
},
{
"name": "output_dir",
"type": "STRING",
"link": 54,
"widget": {
"name": "output_dir",
"config": [
"STRING",
{
"multiline": true,
"default": ""
}
]
},
"slot_index": 2
}
],
"outputs": [
{
"name": "Output Dir",
"type": "STRING",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SaveFrame"
},
"widgets_values": [
"C:\\code\\warp\\comfywarp\\0.1.0\\render\\1\\",
"ComfyWarp",
0
]
},
{
"id": 28,
"type": "ImageCompositeMasked",
"pos": [
2286,
-2003
],
"size": {
"0": 315,
"1": 146
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "IMAGE",
"link": 45
},
{
"name": "source",
"type": "IMAGE",
"link": 44
},
{
"name": "mask",
"type": "MASK",
"link": 43
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
46,
47
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageCompositeMasked"
},
"widgets_values": [
0,
0,
false
]
},
{
"id": 16,
"type": "VAEEncode",
"pos": [
2397,
-1791
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 47
},
{
"name": "vae",
"type": "VAE",
"link": 30,
"slot_index": 1
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
27
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 18,
"type": "KSampler (Efficient)",
"pos": [
2629,
-1673
],
"size": {
"0": 330,
"1": 586
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 24
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 25
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 26
},
{
"name": "latent_image",
"type": "LATENT",
"link": 27
},
{
"name": "optional_vae",
"type": "VAE",
"link": 28
},
{
"name": "script",
"type": "SCRIPT",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": null,
"shape": 3
},
{
"name": "CONDITIONING+",
"type": "CONDITIONING",
"links": null,
"shape": 3
},
{
"name": "CONDITIONING-",
"type": "CONDITIONING",
"links": null,
"shape": 3
},
{
"name": "LATENT",
"type": "LATENT",
"links": null,
"shape": 3
},
{
"name": "VAE",
"type": "VAE",
"links": [],
"shape": 3
},
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
31,
48
],
"shape": 3,
"slot_index": 5
}
],
"properties": {
"Node name for S&R": "KSampler (Efficient)"
},
"widgets_values": [
"Sample",
631889950618715,
"increment",
20,
7,
"euler",
"normal",
0.3,
"auto",
"true"
]
},
{
"id": 2,
"type": "LoadFramePairFromDataset",
"pos": [
1106,
-1062
],
"size": [
355.20001220703125,
170
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "frame_dataset",
"type": "FRAME_DATASET",
"link": 17
},
{
"name": "total_frames",
"type": "INT",
"link": 18,
"widget": {
"name": "total_frames",
"config": [
"INT",
{
"default": 0,
"min": 0,
"max": 9999999999
}
]
}
},
{
"name": "fit_into",
"type": "INT",
"link": 56,
"widget": {
"name": "fit_into",
"config": [
"INT",
{
"default": 1280,
"min": 0,
"max": 16392
}
]
}
}
],
"outputs": [
{
"name": "Current frame",
"type": "IMAGE",
"links": [
4,
7,
45
],
"shape": 3,
"slot_index": 0
},
{
"name": "Previous Frame",
"type": "IMAGE",
"links": [
5,
8,
20
],
"shape": 3,
"slot_index": 1
},
{
"name": "Frame number",
"type": "INT",
"links": [
37,
49
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "LoadFramePairFromDataset"
},
"widgets_values": [
0,
"increment",
0,
1280
]
},
{
"id": 15,
"type": "LoadFrameFromFolder",
"pos": [
1326,
-1787
],
"size": [
400,
200
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "init_image",
"type": "IMAGE",
"link": 20
},
{
"name": "frame_number",
"type": "INT",
"link": 38,
"widget": {
"name": "frame_number",
"config": [
"INT",
{
"default": 0,
"min": 0,
"max": 9999999999
}
]
}
},
{
"name": "file_path",
"type": "STRING",
"link": 53,
"widget": {
"name": "file_path",
"config": [
"STRING",
{
"multiline": true,
"default": "C:\\code\\warp\\19_cn_venv\\images_out\\stable_warpfusion_0.20.0\\videoFrames\\650571deef_0_0_1"
}
]
}
},
{
"name": "fit_into",
"type": "INT",
"link": 55,
"widget": {
"name": "fit_into",
"config": [
"INT",
{
"default": 1280,
"min": 0,
"max": 16392
}
]
},
"slot_index": 3
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
39,
40
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadFrameFromFolder"
},
"widgets_values": [
"C:\\code\\warp\\comfywarp\\0.1.0\\render\\1\\",
2,
1280
]
},
{
"id": 34,
"type": "PrimitiveNode",
"pos": [
863,
-1942
],
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
55,
56
],
"slot_index": 0,
"widget": {
"name": "fit_into",
"config": [
"INT",
{
"default": 1280,
"min": 0,
"max": 16392
}
]
}
}
],
"title": "fit into",
"properties": {},
"widgets_values": [
1280,
"fixed"
]
}
],
"links": [
[
4,
2,
0,
4,
0,
"IMAGE"
],
[
5,
2,
1,
4,
1,
"IMAGE"
],
[
6,
4,
0,
3,
0,
"IMAGE"
],
[
7,
2,
0,
5,
0,
"IMAGE"
],
[
8,
2,
1,
5,
1,
"IMAGE"
],
[
9,
5,
1,
6,
2,
"MASK"
],
[
10,
5,
2,
6,
0,
"MASK"
],
[
11,
5,
3,
6,
1,
"MASK"
],
[
12,
6,
0,
7,
0,
"MASK"
],
[
13,
7,
0,
8,
0,
"IMAGE"
],
[
14,
5,
0,
10,
1,
"BACKWARD_FLOW"
],
[
17,
14,
0,
2,
0,
"FRAME_DATASET"
],
[
18,
14,
1,
2,
1,
"INT"
],
[
20,
2,
1,
15,
0,
"IMAGE"
],
[
24,
17,
0,
18,
0,
"MODEL"
],
[
25,
17,
1,
18,
1,
"CONDITIONING"
],
[
26,
17,
2,
18,
2,
"CONDITIONING"
],
[
27,
16,
0,
18,
3,
"LATENT"
],
[
28,
17,
4,
18,
4,
"VAE"
],
[
30,
17,
4,
16,
1,
"VAE"
],
[
31,
18,
5,
19,
0,
"IMAGE"
],
[
32,
10,
0,
20,
0,
"IMAGE"
],
[
37,
2,
2,
22,
0,
"INT"
],
[
38,
22,
0,
15,
1,
"INT"
],
[
39,
15,
0,
13,
0,
"IMAGE"
],
[
40,
15,
0,
10,
0,
"IMAGE"
],
[
43,
6,
0,
28,
2,
"MASK"
],
[
44,
10,
0,
28,
1,
"IMAGE"
],
[
45,
2,
0,
28,
0,
"IMAGE"
],
[
46,
28,
0,
29,
0,
"IMAGE"
],
[
47,
28,
0,
16,
0,
"IMAGE"
],
[
48,
18,
5,
30,
0,
"IMAGE"
],
[
49,
2,
2,
31,
0,
"*"
],
[
50,
31,
0,
30,
1,
"INT"
],
[
53,
33,
0,
15,
2,
"STRING"
],
[
54,
33,
0,
30,
2,
"STRING"
],
[
55,
34,
0,
15,
3,
"INT"
],
[
56,
34,
0,
2,
2,
"INT"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}