From cd005de16c5ad2a68574455eb0b57b35cdb5e9cd Mon Sep 17 00:00:00 2001 From: PowerHouseMan Date: Fri, 2 Aug 2024 16:03:00 +0900 Subject: [PATCH] Create sample2.json --- sample/sample2.json | 463 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 463 insertions(+) create mode 100644 sample/sample2.json diff --git a/sample/sample2.json b/sample/sample2.json new file mode 100644 index 0000000..6c1c152 --- /dev/null +++ b/sample/sample2.json @@ -0,0 +1,463 @@ +{ + "last_node_id": 10, + "last_link_id": 8, + "nodes": [ + { + "id": 3, + "type": "LoadImage", + "pos": [ + 465, + 299 + ], + "size": { + "0": 315, + "1": 314 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 3 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "source_image.png", + "image" + ] + }, + { + "id": 6, + "type": "ExpressionEditor", + "pos": [ + 844, + 301 + ], + "size": { + "0": 315, + "1": 642 + }, + "flags": {}, + "order": 2, + "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 + ], + "shape": 3, + "slot_index": 1 + }, + { + "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 + ] + }, + { + "id": 8, + "type": "ExpressionEditor", + "pos": [ + 1205, + 299 + ], + "size": { + "0": 315, + "1": 642 + }, + "flags": {}, + "order": 3, + "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 + ], + "shape": 3, + "slot_index": 1 + }, + { + "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 + ] + }, + { + "id": 9, + "type": "VHS_LoadVideo", + "pos": [ + 1551, + 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 + ], + "shape": 3, + "slot_index": 0 + }, + { + "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": 7, + "type": "AdvancedLivePortrait", + "pos": [ + 1823, + 301 + ], + "size": [ + 289.7234384275689, + 513.2487798331999 + ], + "flags": {}, + "order": 4, + "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 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "AdvancedLivePortrait" + }, + "widgets_values": [ + 0, + 0, + true, + "1 = 1:10\n2 = 5:10\n0 = 2:50\n1 = 2:0" + ] + }, + { + "id": 10, + "type": "VHS_VideoCombine", + "pos": [ + 2150, + 307 + ], + "size": [ + 261.8000000000002, + 565.8000000000002 + ], + "flags": {}, + "order": 5, + "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": "AnimateDiff", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "pingpong": false, + "save_output": false, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "AnimateDiff_00003.mp4", + "subfolder": "", + "type": "temp", + "format": "video/h264-mp4", + "frame_rate": 15 + } + } + } + } + ], + "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": 0.620921323059155, + "offset": [ + 501.16957927340843, + 325.0434083711576 + ] + } + }, + "version": 0.4 +} \ No newline at end of file