Files
LucipherDev-ComfyUI-AniDoc/example_workflow.json
T
2024-12-27 14:58:43 +05:30

503 lines
8.9 KiB
JSON

{
"last_node_id": 19,
"last_link_id": 17,
"nodes": [
{
"id": 10,
"type": "AniDocLoader",
"pos": [
500,
130
],
"size": [
300,
26
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "anidoc_pipeline",
"type": "ANIDOC_PIPELINE",
"links": [
10
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "AniDocLoader"
},
"widgets_values": []
},
{
"id": 12,
"type": "GetAniDocControlnetImages",
"pos": [
1090,
130
],
"size": [
280,
154
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "input_images",
"type": "IMAGE",
"link": 12
}
],
"outputs": [
{
"name": "controlnet_images",
"type": "IMAGE",
"links": [
13,
14
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GetAniDocControlnetImages"
},
"widgets_values": [
"lineart",
true,
512,
320,
"cuda"
]
},
{
"id": 13,
"type": "AniDocSampler",
"pos": [
1390,
130
],
"size": [
380.4000244140625,
286
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "anidoc_pipeline",
"type": "ANIDOC_PIPELINE",
"link": 10
},
{
"name": "controlnet_images",
"type": "IMAGE",
"link": 13
},
{
"name": "reference_image",
"type": "IMAGE",
"link": 16
},
{
"name": "cotracker",
"type": "ANIDOC_COTRACKER",
"link": 11,
"shape": 7
}
],
"outputs": [
{
"name": "video_frames",
"type": "IMAGE",
"links": [
17
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "AniDocSampler"
},
"widgets_values": [
false,
7,
25,
0.02,
951547591346267,
"randomize",
127,
8
]
},
{
"id": 11,
"type": "LoadCoTracker",
"pos": [
500,
210
],
"size": [
300,
202
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "cotracker",
"type": "ANIDOC_COTRACKER",
"links": [
11
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadCoTracker"
},
"widgets_values": [
true,
"cotracker2.pth",
0,
8,
0,
false,
50
]
},
{
"id": 19,
"type": "LoadImage",
"pos": [
500,
460
],
"size": [
300,
240
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
16
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"sample1.png",
"image"
]
},
{
"id": 18,
"type": "VHS_VideoCombine",
"pos": [
1090,
340
],
"size": [
280,
360
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 14
},
{
"name": "audio",
"type": "AUDIO",
"link": null,
"shape": 7
},
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null,
"shape": 7
},
{
"name": "vae",
"type": "VAE",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 7,
"loop_count": 0,
"filename_prefix": "AniDoc_Controlnet",
"format": "image/gif",
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {},
"muted": false
}
}
},
{
"id": 15,
"type": "VHS_LoadVideo",
"pos": [
820,
130
],
"size": [
247.455078125,
410
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null,
"shape": 7
},
{
"name": "vae",
"type": "VAE",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
12
],
"slot_index": 0
},
{
"name": "frame_count",
"type": "INT",
"links": null
},
{
"name": "audio",
"type": "AUDIO",
"links": [],
"slot_index": 2
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "sample1.mp4",
"force_rate": 0,
"force_size": "Disabled",
"custom_width": 512,
"custom_height": 512,
"frame_load_cap": 14,
"skip_first_frames": 0,
"select_every_nth": 1,
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"force_rate": 0,
"frame_load_cap": 14,
"skip_first_frames": 0,
"select_every_nth": 1,
"filename": "sample1.mp4",
"type": "input",
"format": "video/mp4"
},
"muted": false
}
}
},
{
"id": 16,
"type": "VHS_VideoCombine",
"pos": [
1790,
130
],
"size": [
380,
570
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 17
},
{
"name": "audio",
"type": "AUDIO",
"link": null,
"shape": 7
},
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null,
"shape": 7
},
{
"name": "vae",
"type": "VAE",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 7,
"loop_count": 0,
"filename_prefix": "AniDoc",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": false,
"trim_to_audio": false,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {},
"muted": false
}
}
}
],
"links": [
[
10,
10,
0,
13,
0,
"ANIDOC_PIPELINE"
],
[
11,
11,
0,
13,
3,
"ANIDOC_COTRACKER"
],
[
12,
15,
0,
12,
0,
"IMAGE"
],
[
13,
12,
0,
13,
1,
"IMAGE"
],
[
14,
12,
0,
18,
0,
"IMAGE"
],
[
16,
19,
0,
13,
2,
"IMAGE"
],
[
17,
13,
0,
16,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.9090909090909094,
"offset": {
"0": -216.39161682128906,
"1": -31.62944984436035
}
},
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0
},
"version": 0.4
}