From b40302a65cfb38e8c563c0a8c39557cf971237a0 Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Sun, 17 Mar 2024 03:02:09 +0200 Subject: [PATCH] Create dynamicrafter_looping_example_01.json --- .../dynamicrafter_looping_example_01.json | 431 ++++++++++++++++++ 1 file changed, 431 insertions(+) create mode 100644 examples/dynamicrafter_looping_example_01.json diff --git a/examples/dynamicrafter_looping_example_01.json b/examples/dynamicrafter_looping_example_01.json new file mode 100644 index 0000000..9cb7b3e --- /dev/null +++ b/examples/dynamicrafter_looping_example_01.json @@ -0,0 +1,431 @@ +{ + "last_node_id": 101, + "last_link_id": 194, + "nodes": [ + { + "id": 72, + "type": "DynamiCrafterModelLoader", + "pos": [ + 798, + 70 + ], + "size": [ + 402.70587216796844, + 82 + ], + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "DynCraft_model", + "type": "DCMODEL", + "links": [ + 181 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "DynamiCrafterModelLoader" + }, + "widgets_values": [ + "dynamicrafter\\dynamicrafter_512_interp_v1.ckpt", + "fp16" + ] + }, + { + "id": 71, + "type": "LoadImage", + "pos": [ + 354, + 71 + ], + "size": { + "0": 409.56280517578125, + "1": 355.5024719238281 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 183 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "40.png", + "image" + ] + }, + { + "id": 100, + "type": "GetImageRangeFromBatch", + "pos": [ + 884, + 614 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 191 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 193 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "GetImageRangeFromBatch" + }, + "widgets_values": [ + 0, + 15 + ] + }, + { + "id": 101, + "type": "RIFE VFI", + "pos": [ + 789, + 746 + ], + "size": { + "0": 443.4000244140625, + "1": 198 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "frames", + "type": "IMAGE", + "link": 193 + }, + { + "name": "optional_interpolation_states", + "type": "INTERPOLATION_STATES", + "link": null + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 194 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "RIFE VFI" + }, + "widgets_values": [ + "rife49.pth", + 10, + 3, + true, + true, + 1 + ] + }, + { + "id": 76, + "type": "VHS_VideoCombine", + "pos": [ + 1285, + 63 + ], + "size": [ + 941.1651000976562, + 822.1553688049316 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 194, + "slot_index": 0 + }, + { + "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": 20, + "loop_count": 0, + "filename_prefix": "DynamiCrafter", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "DynamiCrafter_00077.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4" + } + } + } + }, + { + "id": 96, + "type": "DynamiCrafterI2V", + "pos": [ + 804, + 207 + ], + "size": { + "0": 400, + "1": 352 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "DCMODEL", + "link": 181 + }, + { + "name": "image", + "type": "IMAGE", + "link": 184, + "slot_index": 1 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 186 + }, + { + "name": "mask", + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 191 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "last_image", + "type": "IMAGE", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "DynamiCrafterI2V" + }, + "widgets_values": [ + 40, + 7, + 1, + 16, + "flowery branches moved by the wind", + 710950197958318, + "fixed", + 8, + true, + "auto" + ] + }, + { + "id": 90, + "type": "ImageResize+", + "pos": [ + 527, + 479 + ], + "size": [ + 256.29377216796854, + 218 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 183 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 169, + 184, + 186 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "width", + "type": "INT", + "links": null, + "shape": 3 + }, + { + "name": "height", + "type": "INT", + "links": null, + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 512, + 288, + "lanczos", + false, + "always", + 0 + ] + } + ], + "links": [ + [ + 169, + 90, + 0, + 93, + 0, + "IMAGE" + ], + [ + 181, + 72, + 0, + 96, + 0, + "DCMODEL" + ], + [ + 183, + 71, + 0, + 90, + 0, + "IMAGE" + ], + [ + 184, + 90, + 0, + 96, + 1, + "IMAGE" + ], + [ + 186, + 90, + 0, + 96, + 2, + "IMAGE" + ], + [ + 191, + 96, + 0, + 100, + 0, + "IMAGE" + ], + [ + 193, + 100, + 0, + 101, + 0, + "IMAGE" + ], + [ + 194, + 101, + 0, + 76, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file