Files
logtd-ComfyUI-FLATTEN/example_workflows/example_flatten_depth.json
T
2024-02-27 15:37:47 -07:00

1078 lines
18 KiB
JSON

{
"last_node_id": 67,
"last_link_id": 224,
"nodes": [
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
-841,
310
],
"size": {
"0": 213.8492431640625,
"1": 77.1712875366211
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 32
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"a shark"
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
-846,
438
],
"size": {
"0": 210,
"1": 76
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 31
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
224
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 16,
"type": "CLIPTextEncode",
"pos": [
-844,
569
],
"size": {
"0": 210,
"1": 76
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 30
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
218
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 28,
"type": "LoraLoaderModelOnly",
"pos": [
-865,
717
],
"size": {
"0": 229.08016967773438,
"1": 82
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 200
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
97,
217
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"lcm/SD1.5/pytorch_lora_weights.safetensors",
1
]
},
{
"id": 14,
"type": "VAEEncode",
"pos": [
-843,
880
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 114
},
{
"name": "vae",
"type": "VAE",
"link": 33
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
219
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 15,
"type": "TrajectoryNode",
"pos": [
-841,
1012
],
"size": {
"0": 216.59999084472656,
"1": 26
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 53
}
],
"outputs": [
{
"name": "TRAJECTORY",
"type": "TRAJECTORY",
"links": [
17,
220
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "TrajectoryNode"
}
},
{
"id": 27,
"type": "MiDaS-DepthMapPreprocessor",
"pos": [
-831,
-66
],
"size": {
"0": 210,
"1": 106
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
171
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MiDaS-DepthMapPreprocessor"
},
"widgets_values": [
6.283185307179586,
0.1,
512
]
},
{
"id": 26,
"type": "ControlNetLoader",
"pos": [
-831,
100
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
169
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control_v11f1p_sd15_depth.pth"
]
},
{
"id": 59,
"type": "ACN_AdvancedControlNetApply",
"pos": [
-431,
208
],
"size": {
"0": 285.6000061035156,
"1": 266
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 224
},
{
"name": "negative",
"type": "CONDITIONING",
"link": null
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 169
},
{
"name": "image",
"type": "IMAGE",
"link": 171
},
{
"name": "mask_optional",
"type": "MASK",
"link": null
},
{
"name": "timestep_kf",
"type": "TIMESTEP_KEYFRAME",
"link": null
},
{
"name": "latent_kf_override",
"type": "LATENT_KEYFRAME",
"link": null
},
{
"name": "weights_override",
"type": "CONTROL_NET_WEIGHTS",
"link": null
},
{
"name": "model_optional",
"type": "MODEL",
"link": null
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
198
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
199
],
"shape": 3,
"slot_index": 1
},
{
"name": "model_opt",
"type": "MODEL",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ACN_AdvancedControlNetApply"
},
"widgets_values": [
0.25,
0,
1
]
},
{
"id": 67,
"type": "UnsamplerFlattenNode",
"pos": [
-412,
670
],
"size": [
210,
214
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 217
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 218
},
{
"name": "latent_image",
"type": "LATENT",
"link": 219
},
{
"name": "trajectories",
"type": "TRAJECTORY",
"link": 220
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
221
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UnsamplerFlattenNode"
},
"widgets_values": [
20,
0,
"euler",
"normal",
0
]
},
{
"id": 11,
"type": "KSamplerFlattenNode",
"pos": [
-61,
482
],
"size": {
"0": 231.5308837890625,
"1": 402
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 97
},
{
"name": "trajectories",
"type": "TRAJECTORY",
"link": 17
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 198
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 199
},
{
"name": "latent_image",
"type": "LATENT",
"link": 221
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
96
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSamplerFlattenNode"
},
"widgets_values": [
"disable",
0,
"fixed",
10,
8,
0,
3.5,
"dpmpp_2m",
"karras",
0,
10000,
"disable"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
213,
492
],
"size": {
"0": 140,
"1": 46
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 96
},
{
"name": "vae",
"type": "VAE",
"link": 35
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
10
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 10,
"type": "VHS_VideoCombine",
"pos": [
398,
498
],
"size": [
320,
604
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 10
},
{
"name": "audio",
"type": "VHS_AUDIO",
"link": null
},
{
"name": "batch_manager",
"type": "VHS_BatchManager",
"link": null
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 8,
"loop_count": 0,
"filename_prefix": "AnimateDiff",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "AnimateDiff_00090.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4"
}
}
}
},
{
"id": 24,
"type": "VHS_VideoCombine",
"pos": [
774,
499
],
"size": [
320,
604
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 55
},
{
"name": "audio",
"type": "VHS_AUDIO",
"link": null
},
{
"name": "batch_manager",
"type": "VHS_BatchManager",
"link": null
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 8,
"loop_count": 0,
"filename_prefix": "AnimateDiff",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "AnimateDiff_00089.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4"
}
}
}
},
{
"id": 18,
"type": "FlattenCheckpointLoaderNode",
"pos": [
-1260,
632
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
200
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
30,
31,
32
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
33,
35
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "FlattenCheckpointLoaderNode"
},
"widgets_values": [
"juggernaut_reborn.safetensors"
]
},
{
"id": 23,
"type": "ImageScale",
"pos": [
-1191,
386
],
"size": {
"0": 242.2943115234375,
"1": 130
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 52
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
53,
55,
62,
114
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"nearest-exact",
512,
512,
"disabled"
]
},
{
"id": 13,
"type": "VHS_LoadVideo",
"pos": [
-1556,
409
],
"size": [
240,
476
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "batch_manager",
"type": "VHS_BatchManager",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
52
],
"shape": 3,
"slot_index": 0
},
{
"name": "frame_count",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "audio",
"type": "VHS_AUDIO",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "waving.mp4",
"force_rate": 0,
"force_size": "Disabled",
"custom_width": 512,
"custom_height": 512,
"frame_load_cap": 15,
"skip_first_frames": 0,
"select_every_nth": 3,
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"frame_load_cap": 15,
"skip_first_frames": 0,
"force_rate": 0,
"select_every_nth": 3,
"filename": "waving.mp4",
"type": "input",
"format": "video/mp4"
}
}
}
}
],
"links": [
[
10,
8,
0,
10,
0,
"IMAGE"
],
[
17,
15,
0,
11,
1,
"TRAJECTORY"
],
[
30,
18,
1,
16,
0,
"CLIP"
],
[
31,
18,
1,
7,
0,
"CLIP"
],
[
32,
18,
1,
6,
0,
"CLIP"
],
[
33,
18,
2,
14,
1,
"VAE"
],
[
35,
18,
2,
8,
1,
"VAE"
],
[
52,
13,
0,
23,
0,
"IMAGE"
],
[
53,
23,
0,
15,
0,
"IMAGE"
],
[
55,
23,
0,
24,
0,
"IMAGE"
],
[
62,
23,
0,
27,
0,
"IMAGE"
],
[
96,
11,
0,
8,
0,
"LATENT"
],
[
97,
28,
0,
11,
0,
"MODEL"
],
[
114,
23,
0,
14,
0,
"IMAGE"
],
[
169,
26,
0,
59,
2,
"CONTROL_NET"
],
[
171,
27,
0,
59,
3,
"IMAGE"
],
[
198,
59,
0,
11,
2,
"CONDITIONING"
],
[
199,
59,
1,
11,
3,
"CONDITIONING"
],
[
200,
18,
0,
28,
0,
"MODEL"
],
[
217,
28,
0,
67,
0,
"MODEL"
],
[
218,
16,
0,
67,
1,
"CONDITIONING"
],
[
219,
14,
0,
67,
2,
"LATENT"
],
[
220,
15,
0,
67,
3,
"TRAJECTORY"
],
[
221,
67,
0,
11,
4,
"LATENT"
],
[
224,
7,
0,
59,
0,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}