add an example of KeyframeConditioning

This commit is contained in:
Tuo He
2024-12-05 20:42:55 +00:00
parent 17b8a67d54
commit 9507ac4932
2 changed files with 408 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 572 KiB

+408
View File
@@ -0,0 +1,408 @@
{
"last_node_id": 19,
"last_link_id": 28,
"nodes": [
{
"id": 1,
"type": "LoadImage",
"pos": [
179,
160
],
"size": [
315,
314
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
25
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"afc-1.png",
"image"
]
},
{
"id": 6,
"type": "LoadImage",
"pos": [
182,
523
],
"size": [
315,
314
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
26
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"afc-2.png",
"image"
]
},
{
"id": 7,
"type": "LoadImage",
"pos": [
182,
893
],
"size": [
315,
314
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
27
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"afc-3.png",
"image"
]
},
{
"id": 19,
"type": "HaiperKeyframeConditioning",
"pos": [
661,
380
],
"size": [
352.79998779296875,
350
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "frame_1",
"type": "IMAGE",
"link": 25
},
{
"name": "frame_2",
"type": "IMAGE",
"link": 26
},
{
"name": "frame_3",
"type": "IMAGE",
"link": 27,
"shape": 7
},
{
"name": "frame_4",
"type": "IMAGE",
"link": null,
"shape": 7
},
{
"name": "frame_5",
"type": "IMAGE",
"link": null,
"shape": 7
},
{
"name": "frame_6",
"type": "IMAGE",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "output_video_path",
"type": "STRING",
"links": [
28
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "HaiperKeyframeConditioning"
},
"widgets_values": [
"0,8,31",
1161,
2063,
false,
"a smooth consecutive video",
"bad, slow",
803,
"randomize",
4
]
},
{
"id": 4,
"type": "VHS_VideoCombine",
"pos": [
1415,
341
],
"size": [
219.3603515625,
674.523681640625
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 4
},
{
"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": 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_00009.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 8
},
"muted": false
}
}
},
{
"id": 3,
"type": "VHS_LoadVideoPath",
"pos": [
1094,
343
],
"size": [
236.4912109375,
238
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"link": null,
"shape": 7
},
{
"name": "vae",
"type": "VAE",
"link": null,
"shape": 7
},
{
"name": "video",
"type": "STRING",
"link": 28,
"widget": {
"name": "video"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
4
],
"slot_index": 0
},
{
"name": "frame_count",
"type": "INT",
"links": null
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_LoadVideoPath"
},
"widgets_values": {
"video": "",
"force_rate": 0,
"force_size": "Disabled",
"custom_width": 512,
"custom_height": 512,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"force_rate": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1
},
"muted": false
}
}
}
],
"links": [
[
4,
3,
0,
4,
0,
"IMAGE"
],
[
25,
1,
0,
19,
0,
"IMAGE"
],
[
26,
6,
0,
19,
1,
"IMAGE"
],
[
27,
7,
0,
19,
2,
"IMAGE"
],
[
28,
19,
0,
3,
2,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015777,
"offset": [
137.88339462434493,
-77.1440695558517
]
}
},
"version": 0.4
}