1. New workflow. 2. Create animations without video. 3. Tracking source video.
564 lines
10 KiB
JSON
564 lines
10 KiB
JSON
{
|
|
"last_node_id": 14,
|
|
"last_link_id": 8,
|
|
"nodes": [
|
|
{
|
|
"id": 3,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
736,
|
|
299
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 314
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
3
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"slot_index": 1,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"source_image.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "ExpressionEditor",
|
|
"pos": [
|
|
1085,
|
|
294
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 690
|
|
},
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "src_image",
|
|
"type": "IMAGE",
|
|
"link": 3
|
|
},
|
|
{
|
|
"name": "motion_link",
|
|
"type": "EDITOR_LINK",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "sample_image",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "add_exp",
|
|
"type": "EXP_DATA",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "motion_link",
|
|
"type": "EDITOR_LINK",
|
|
"links": [
|
|
5
|
|
],
|
|
"slot_index": 1,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "save_exp",
|
|
"type": "EXP_DATA",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ExpressionEditor"
|
|
},
|
|
"widgets_values": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
-15,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
1,
|
|
1,
|
|
"OnlyExpression",
|
|
1.7000000000000002
|
|
]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "AdvancedLivePortrait",
|
|
"pos": [
|
|
1845,
|
|
304
|
|
],
|
|
"size": {
|
|
"0": 235.1999969482422,
|
|
"1": 523.0364379882812
|
|
},
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "src_images",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "motion_link",
|
|
"type": "EDITOR_LINK",
|
|
"link": 6
|
|
},
|
|
{
|
|
"name": "driving_images",
|
|
"type": "IMAGE",
|
|
"link": 7
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
8
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "AdvancedLivePortrait"
|
|
},
|
|
"widgets_values": [
|
|
0,
|
|
0,
|
|
1.7000000000000002,
|
|
"1 = 1:10\n2 = 5:10\n0 = 2:50\n1 = 2:0",
|
|
"1 = 1:10\n2 = 5:10\n0 = 2:50\n1 = 2:0",
|
|
false,
|
|
"1 = 1:10\n2 = 5:10\n0 = 2:50\n1 = 2:0"
|
|
]
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "ExpressionEditor",
|
|
"pos": [
|
|
1342,
|
|
304
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 690
|
|
},
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "src_image",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "motion_link",
|
|
"type": "EDITOR_LINK",
|
|
"link": 5
|
|
},
|
|
{
|
|
"name": "sample_image",
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "add_exp",
|
|
"type": "EXP_DATA",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "motion_link",
|
|
"type": "EDITOR_LINK",
|
|
"links": [
|
|
6
|
|
],
|
|
"slot_index": 1,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "save_exp",
|
|
"type": "EXP_DATA",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ExpressionEditor"
|
|
},
|
|
"widgets_values": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
15,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
1,
|
|
1,
|
|
"OnlyExpression",
|
|
1.7
|
|
]
|
|
},
|
|
{
|
|
"id": 9,
|
|
"type": "VHS_LoadVideo",
|
|
"pos": [
|
|
1570,
|
|
399
|
|
],
|
|
"size": [
|
|
235.1999969482422,
|
|
491.1999969482422
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "meta_batch",
|
|
"type": "VHS_BatchManager",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
7
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "frame_count",
|
|
"type": "INT",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "audio",
|
|
"type": "AUDIO",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "video_info",
|
|
"type": "VHS_VIDEOINFO",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VHS_LoadVideo"
|
|
},
|
|
"widgets_values": {
|
|
"video": "driving_video.mp4",
|
|
"force_rate": 0,
|
|
"force_size": "Disabled",
|
|
"custom_width": 512,
|
|
"custom_height": 512,
|
|
"frame_load_cap": 0,
|
|
"skip_first_frames": 0,
|
|
"select_every_nth": 2,
|
|
"choose video to upload": "image",
|
|
"videopreview": {
|
|
"hidden": false,
|
|
"paused": false,
|
|
"params": {
|
|
"frame_load_cap": 0,
|
|
"skip_first_frames": 0,
|
|
"force_rate": 0,
|
|
"filename": "driving_video.mp4",
|
|
"type": "input",
|
|
"format": "video/mp4",
|
|
"select_every_nth": 2
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "VHS_VideoCombine",
|
|
"pos": [
|
|
2117,
|
|
305
|
|
],
|
|
"size": [
|
|
261.79998779296875,
|
|
565.7999877929688
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 8
|
|
},
|
|
{
|
|
"name": "audio",
|
|
"type": "AUDIO",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "meta_batch",
|
|
"type": "VHS_BatchManager",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "Filenames",
|
|
"type": "VHS_FILENAMES",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VHS_VideoCombine"
|
|
},
|
|
"widgets_values": {
|
|
"frame_rate": 15,
|
|
"loop_count": 0,
|
|
"filename_prefix": "AdvancedLivePortrait",
|
|
"format": "video/h264-mp4",
|
|
"pix_fmt": "yuv420p",
|
|
"crf": 19,
|
|
"save_metadata": true,
|
|
"pingpong": false,
|
|
"save_output": true,
|
|
"videopreview": {
|
|
"hidden": false,
|
|
"paused": false,
|
|
"params": {
|
|
"filename": "AdvancedLivePortrait_00023.mp4",
|
|
"subfolder": "",
|
|
"type": "output",
|
|
"format": "video/h264-mp4",
|
|
"frame_rate": 15
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 11,
|
|
"type": "Note",
|
|
"pos": [
|
|
1834,
|
|
935
|
|
],
|
|
"size": {
|
|
"0": 539.0599975585938,
|
|
"1": 184.96444702148438
|
|
},
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"properties": {
|
|
"text": ""
|
|
},
|
|
"widgets_values": [
|
|
"Command Description\n1 = 1:10\n2 = 5:10\n0 = 2:50\n1 = 2:0\n\n[Motion index] = [Changing frame length] : [Length of frames waiting for next motion]\n\nfor example, second line -> 2 = 5:10\nChange over 5 frames with motion 2, and wait for the next motion for 10 frames\n\n"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 12,
|
|
"type": "Note",
|
|
"pos": [
|
|
1089,
|
|
1038
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 58
|
|
},
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"properties": {
|
|
"text": ""
|
|
},
|
|
"widgets_values": [
|
|
"motion1\n"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 13,
|
|
"type": "Note",
|
|
"pos": [
|
|
1341,
|
|
1041
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 58
|
|
},
|
|
"flags": {
|
|
"collapsed": false
|
|
},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"properties": {
|
|
"text": ""
|
|
},
|
|
"widgets_values": [
|
|
"motion2\n"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 14,
|
|
"type": "Note",
|
|
"pos": [
|
|
776,
|
|
684
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 58
|
|
},
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"properties": {
|
|
"text": ""
|
|
},
|
|
"widgets_values": [
|
|
"orginal src : motion0\n"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
3,
|
|
3,
|
|
0,
|
|
6,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
5,
|
|
6,
|
|
1,
|
|
8,
|
|
1,
|
|
"EDITOR_LINK"
|
|
],
|
|
[
|
|
6,
|
|
8,
|
|
1,
|
|
7,
|
|
1,
|
|
"EDITOR_LINK"
|
|
],
|
|
[
|
|
7,
|
|
9,
|
|
0,
|
|
7,
|
|
2,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
8,
|
|
7,
|
|
0,
|
|
10,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 1.1000000000000005,
|
|
"offset": [
|
|
-678.8740830330757,
|
|
-35.741089089667945
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |