From cfd33627e5a1b8bbd5aa99bd7a7bdaa70ff7c3d7 Mon Sep 17 00:00:00 2001 From: smthemex <138738845+smthemex@users.noreply.github.com> Date: Fri, 16 May 2025 09:46:13 +0800 Subject: [PATCH] I use newest comfyUI video node.. --- example_workflows/example.json | 492 +++++++++++++++++++++++++++++++++ 1 file changed, 492 insertions(+) create mode 100644 example_workflows/example.json diff --git a/example_workflows/example.json b/example_workflows/example.json new file mode 100644 index 0000000..c42cb27 --- /dev/null +++ b/example_workflows/example.json @@ -0,0 +1,492 @@ +{ + "id": "2c88eee0-4ed9-4d28-bb63-5a3acd67c0a2", + "revision": 0, + "last_node_id": 21, + "last_link_id": 25, + "nodes": [ + { + "id": 17, + "type": "SONIC_PreData", + "pos": [ + 1445.7374267578125, + 406.14801025390625 + ], + "size": [ + 270, + 186 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "clip_vision", + "type": "CLIP_VISION", + "link": 17 + }, + { + "name": "vae", + "type": "VAE", + "link": 18 + }, + { + "name": "audio", + "type": "AUDIO", + "link": 20 + }, + { + "name": "image", + "type": "IMAGE", + "link": 19 + }, + { + "name": "weight_dtype", + "type": "DTYPE", + "link": 16 + } + ], + "outputs": [ + { + "name": "data_dict", + "type": "SONIC_PREDATA", + "links": [ + 21 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI_Sonic", + "ver": "6595df02e72406fe23baebc12ac2088832d7ff9b", + "Node name for S&R": "SONIC_PreData" + }, + "widgets_values": [ + 256, + 3, + 0.5 + ] + }, + { + "id": 15, + "type": "SONICSampler", + "pos": [ + 1697.8197021484375, + 162.13812255859375 + ], + "size": [ + 270, + 174 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL_SONIC", + "link": 14 + }, + { + "name": "data_dict", + "type": "SONIC_PREDATA", + "link": 21 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 23 + ] + }, + { + "name": "fps", + "type": "FLOAT", + "links": [ + 24 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI_Sonic", + "ver": "6595df02e72406fe23baebc12ac2088832d7ff9b", + "Node name for S&R": "SONICSampler" + }, + "widgets_values": [ + 443489271, + "randomize", + 25, + 1, + 25 + ] + }, + { + "id": 18, + "type": "LoadImage", + "pos": [ + 877.9674682617188, + 613.307861328125 + ], + "size": [ + 270, + 314 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 19 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "4.jpg", + "image" + ] + }, + { + "id": 21, + "type": "CreateVideo", + "pos": [ + 1787.6171875, + 438.5780334472656 + ], + "size": [ + 270, + 78 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 23 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": 25 + }, + { + "name": "fps", + "type": "FLOAT", + "widget": { + "name": "fps" + }, + "link": 24 + } + ], + "outputs": [ + { + "name": "VIDEO", + "type": "VIDEO", + "links": [ + 22 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "CreateVideo" + }, + "widgets_values": [ + 30 + ] + }, + { + "id": 16, + "type": "ImageOnlyCheckpointLoader", + "pos": [ + 860.8273315429688, + 197.74794006347656 + ], + "size": [ + 281.9410095214844, + 98 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 15 + ] + }, + { + "name": "CLIP_VISION", + "type": "CLIP_VISION", + "links": [ + 17 + ] + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 18 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "ImageOnlyCheckpointLoader" + }, + "widgets_values": [ + "svd_xt_1_1.safetensors" + ] + }, + { + "id": 19, + "type": "LoadAudio", + "pos": [ + 881.0973510742188, + 406.0980224609375 + ], + "size": [ + 270, + 136 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "AUDIO", + "type": "AUDIO", + "links": [ + 20, + 25 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "LoadAudio" + }, + "widgets_values": [ + "如果时间更充裕一些,就能在这里提前布置结界,防备海浪冲击。.wav", + null, + null + ] + }, + { + "id": 20, + "type": "SaveVideo", + "pos": [ + 2102.7373046875, + 441.9679260253906 + ], + "size": [ + 270, + 368 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "video", + "type": "VIDEO", + "link": 22 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "SaveVideo" + }, + "widgets_values": [ + "video/ComfyUI", + "mp4", + "h264" + ] + }, + { + "id": 14, + "type": "SONICTLoader", + "pos": [ + 1295.0712890625, + 204.0830535888672 + ], + "size": [ + 270, + 150 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 15 + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL_SONIC", + "links": [ + 14 + ] + }, + { + "name": "weight_dtype", + "type": "DTYPE", + "links": [ + 16 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI_Sonic", + "ver": "6595df02e72406fe23baebc12ac2088832d7ff9b", + "Node name for S&R": "SONICTLoader" + }, + "widgets_values": [ + "unet.pth", + 1, + true, + "fp16" + ] + } + ], + "links": [ + [ + 14, + 14, + 0, + 15, + 0, + "MODEL_SONIC" + ], + [ + 15, + 16, + 0, + 14, + 0, + "MODEL" + ], + [ + 16, + 14, + 1, + 17, + 4, + "DTYPE" + ], + [ + 17, + 16, + 1, + 17, + 0, + "CLIP_VISION" + ], + [ + 18, + 16, + 2, + 17, + 1, + "VAE" + ], + [ + 19, + 18, + 0, + 17, + 3, + "IMAGE" + ], + [ + 20, + 19, + 0, + 17, + 2, + "AUDIO" + ], + [ + 21, + 17, + 0, + 15, + 1, + "SONIC_PREDATA" + ], + [ + 22, + 21, + 0, + 20, + 0, + "VIDEO" + ], + [ + 23, + 15, + 0, + 21, + 0, + "IMAGE" + ], + [ + 24, + 15, + 1, + 21, + 2, + "FLOAT" + ], + [ + 25, + 19, + 0, + 21, + 1, + "AUDIO" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.8915321134184915, + "offset": [ + -575.8775811656299, + 13.723500569661496 + ] + }, + "frontendVersion": "1.19.9" + }, + "version": 0.4 +} \ No newline at end of file