diff --git a/example/example.png b/example/example.png new file mode 100644 index 0000000..e547903 Binary files /dev/null and b/example/example.png differ diff --git a/example/workflow.json b/example/workflow.json new file mode 100644 index 0000000..e62295f --- /dev/null +++ b/example/workflow.json @@ -0,0 +1,237 @@ +{ + "last_node_id": 3, + "last_link_id": 4, + "nodes": [ + { + "id": 1, + "type": "FoleyCrafter_LoadModel", + "pos": [ + 1920, + -167 + ], + "size": { + "0": 315, + "1": 106 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "model", + "type": "DICT", + "links": [ + 1 + ], + "slot_index": 0, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "FoleyCrafter_LoadModel" + }, + "widgets_values": [ + "F:/test/ComfyUI/models/diffusers/auffusion/auffusion-full-no-adapter", + "F:/test/ComfyUI/models/photomaker", + 1 + ] + }, + { + "id": 3, + "type": "VHS_VideoCombine", + "pos": [ + 2727, + -335 + ], + "size": [ + 315, + 497 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 2, + "label": "images" + }, + { + "name": "audio", + "type": "AUDIO", + "link": 3, + "label": "audio" + }, + { + "name": "meta_batch", + "type": "VHS_BatchManager", + "link": null, + "label": "meta_batch" + }, + { + "name": "vae", + "type": "VAE", + "link": null, + "label": "vae" + }, + { + "name": "frame_rate", + "type": "FLOAT", + "link": 4, + "widget": { + "name": "frame_rate" + }, + "label": "frame_rate" + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null, + "shape": 3, + "label": "Filenames" + } + ], + "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_00008-audio.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 30 + }, + "muted": false + } + } + }, + { + "id": 2, + "type": "FoleyCrafter_Sampler", + "pos": [ + 2267, + -315 + ], + "size": { + "0": 400, + "1": 406 + }, + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "DICT", + "link": 1 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 2 + ], + "slot_index": 0, + "shape": 3 + }, + { + "name": "audio", + "type": "AUDIO", + "links": [ + 3 + ], + "shape": 3 + }, + { + "name": "frame_rate", + "type": "FLOAT", + "links": [ + 4 + ], + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "FoleyCrafter_Sampler" + }, + "widgets_values": [ + "case1.mp4", + "a car", + "bad quality", + 0, + 1024341362, + "randomize", + 0.2, + 25, + 1024, + 256, + false, + true + ] + } + ], + "links": [ + [ + 1, + 1, + 0, + 2, + 0, + "DICT" + ], + [ + 2, + 2, + 0, + 3, + 0, + "IMAGE" + ], + [ + 3, + 2, + 1, + 3, + 1, + "AUDIO" + ], + [ + 4, + 2, + 2, + 3, + 4, + "FLOAT" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 1.0610764609500096, + "offset": [ + -1726.803050004053, + 523.2557955667427 + ] + } + }, + "version": 0.4 +} \ No newline at end of file