{ "id": "ba1df054-50a8-4da2-b45a-25b4dde3cc2f", "revision": 0, "last_node_id": 348, "last_link_id": 851, "nodes": [ { "id": 314, "type": "VHS_VideoInfo", "pos": [ -3243.3333333333335, -335 ], "size": [ 255.078125, 239.73958333333334 ], "flags": { "collapsed": false }, "order": 5, "mode": 0, "inputs": [ { "name": "video_info", "type": "VHS_VIDEOINFO", "link": 769 } ], "outputs": [ { "name": "source_fps🟨", "type": "FLOAT", "links": [ 834 ] }, { "name": "source_frame_count🟨", "type": "INT", "links": null }, { "name": "source_duration🟨", "type": "FLOAT", "links": null }, { "name": "source_width🟨", "type": "INT", "links": null }, { "name": "source_height🟨", "type": "INT", "links": null }, { "name": "loaded_fps🟦", "type": "FLOAT", "links": null }, { "name": "loaded_frame_count🟦", "type": "INT", "links": null }, { "name": "loaded_duration🟦", "type": "FLOAT", "links": null }, { "name": "loaded_width🟦", "type": "INT", "links": null }, { "name": "loaded_height🟦", "type": "INT", "links": null } ], "properties": { "Node name for S&R": "VHS_VideoInfo" }, "widgets_values": {} }, { "id": 10, "type": "LoadImage", "pos": [ -3870, -70 ], "size": [ 339.97395833333337, 439.97395833333337 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 838 ] }, { "name": "MASK", "type": "MASK", "slot_index": 1, "links": null } ], "title": "Reference Image", "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [ "old_man_dancing.jpg", "image" ] }, { "id": 344, "type": "b396d3e6-70cc-4a91-81db-6e0399a4edb6", "pos": [ -2968.3333333333335, -335 ], "size": [ 319.0104166666667, 484.0104166666667 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "fps", "type": "FLOAT", "widget": { "name": "fps" }, "link": 834 }, { "label": "input_video", "name": "image", "type": "IMAGE", "link": 835 }, { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 836 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 837 }, { "label": "reference_image", "name": "image_1", "type": "IMAGE", "link": 838 }, { "name": "length", "type": "INT", "widget": { "name": "length" }, "link": 844 } ], "outputs": [ { "name": "VIDEO", "type": "VIDEO", "links": [ 839 ] } ], "properties": { "proxyWidgets": [ [ "-1", "fps" ], [ "-1", "width" ], [ "-1", "height" ], [ "-1", "text" ], [ "-1", "length" ] ] }, "widgets_values": [] }, { "id": 160, "type": "PrimitiveInt", "pos": [ -3870, -210 ], "size": [ 330, 82 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "INT", "type": "INT", "links": [ 837 ] } ], "title": "Height", "properties": { "Node name for S&R": "PrimitiveInt", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [ 720, "fixed" ] }, { "id": 159, "type": "PrimitiveInt", "pos": [ -3870, -340 ], "size": [ 330, 82 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "INT", "type": "INT", "links": [ 836 ] } ], "title": "Width", "properties": { "Node name for S&R": "PrimitiveInt", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [ 720, "fixed" ] }, { "id": 347, "type": "MarkdownNote", "pos": [ -4450, -340 ], "size": [ 546.484375, 1037.890625 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [], "title": "🎬 Wan 2.2 Animate – Automated Character Replace Workflow", "properties": {}, "widgets_values": [ "This workflow takes an input video + reference image and generates an animated result using **Wan 2.2 Animate (Character Replace)**.\n\n> ⚠️ Works best when the **reference image is a person**. \nHuman subjects (clear face + body) produce the most stable and convincing results.\n\n## 1️⃣ Set Target Resolution (Top Left)\n\nUse the **Width** and **Height** nodes (top left) to define output resolution.\n\n**Recommended:**\n- ✅ Stay around **720p** (e.g. 720x720 or 832x480)\n- ⚠️ 1080p may error depending on VRAM\n- Higher resolutions = higher instability\n\n> Both the input video and reference image are **center-cropped** to match the target resolution.\n\n## 2️⃣ Control Frame Count\n\nIn the **Input Video** node, use:\n\n`frame_load_cap`\n\nto control how many frames are processed.\n\n**Recommended range:**\n- 🎯 **77–150 frames**\n\nLower = faster + less likely to crash\nHigher = heavier VRAM usage\n\n## 3️⃣ Wan 2.2 Animate Node\n\n- Connect `input_video`\n- Connect `reference_image`\n- Set FPS (30 is typical)\n- Add your prompt describing motion or behavior\n\nExample:\n\nthe person is dancing\n\n## 4️⃣ Export\n\nThe **Save Video** node outputs the final animation.\n\n## ⚙️ Stability Guidelines\n\n- Stick to ~720p\n- Keep frames under ~150\n- 1080p may fail without significant VRAM\n- Everything is **center-cropped**\n- Best results with **clear human reference images**\n\nResolution → Frame Cap → Prompt → Render." ], "color": "#222", "bgcolor": "#000" }, { "id": 19, "type": "SaveVideo", "pos": [ -2610, -340 ], "size": [ 459.89583333333337, 915.7552083333334 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "video", "type": "VIDEO", "link": 839 } ], "outputs": [], "properties": { "Node name for S&R": "SaveVideo", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [ "video/ComfyUI", "auto", "auto" ] }, { "id": 301, "type": "VHS_LoadVideo", "pos": [ -3510, -335 ], "size": [ 247.39583333333334, 310 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "meta_batch", "shape": 7, "type": "VHS_BatchManager", "link": null }, { "name": "vae", "shape": 7, "type": "VAE", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 835 ] }, { "name": "frame_count", "type": "INT", "links": [ 844 ] }, { "name": "audio", "type": "AUDIO", "links": null }, { "name": "video_info", "type": "VHS_VIDEOINFO", "links": [ 769 ] } ], "title": "Input Video", "properties": { "Node name for S&R": "VHS_LoadVideo" }, "widgets_values": { "video": "wan22-animate-auto-character_replace-input.mp4", "force_rate": 0, "custom_width": 0, "custom_height": 0, "frame_load_cap": 0, "skip_first_frames": 0, "select_every_nth": 1, "format": "AnimateDiff", "videopreview": { "hidden": false, "paused": false, "params": { "force_rate": 0, "custom_width": 0, "custom_height": 0, "frame_load_cap": 0, "skip_first_frames": 0, "select_every_nth": 1, "filename": "wan22-animate-auto-character_replace-input.mp4", "type": "input", "format": "video/mp4" } } } } ], "links": [ [ 769, 301, 3, 314, 0, "VHS_VIDEOINFO" ], [ 834, 314, 0, 344, 0, "FLOAT" ], [ 835, 301, 0, 344, 1, "IMAGE" ], [ 836, 159, 0, 344, 2, "INT" ], [ 837, 160, 0, 344, 3, "INT" ], [ 838, 10, 0, 344, 4, "IMAGE" ], [ 839, 344, 0, 19, 0, "VIDEO" ], [ 844, 301, 1, 344, 5, "INT" ] ], "groups": [], "definitions": { "subgraphs": [ { "id": "90db3fa1-b7fd-4c97-90a4-3e9533589dce", "version": 1, "state": { "lastGroupId": 16, "lastNodeId": 348, "lastLinkId": 851, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "Video Sampling and output(Subgraph)", "inputNode": { "id": -10, "bounding": [ -348.07421875, -104, 143.494140625, 440 ] }, "outputNode": { "id": -20, "bounding": [ 1370, -90, 147.935546875, 100 ] }, "inputs": [ { "id": "a65c1a6f-1c56-4db6-bc46-0d762e228140", "name": "model", "type": "MODEL", "linkIds": [ 454 ], "localized_name": "model", "pos": [ -224.580078125, -84 ] }, { "id": "f60a003a-5f70-4edb-87d2-49249b63ac60", "name": "audio", "type": "AUDIO", "linkIds": [ 463 ], "localized_name": "audio", "shape": 7, "pos": [ -224.580078125, -64 ] }, { "id": "3eba0674-9407-48ab-8416-23357fefa5e4", "name": "vae", "type": "VAE", "linkIds": [ 464, 471 ], "localized_name": "vae", "pos": [ -224.580078125, -44 ] }, { "id": "8c5ba174-3dac-4830-989d-2ffd194a4638", "name": "positive", "type": "CONDITIONING", "linkIds": [ 467 ], "localized_name": "positive", "pos": [ -224.580078125, -24 ] }, { "id": "1047fa35-1365-4dfc-b7f1-a5869b601a89", "name": "negative", "type": "CONDITIONING", "linkIds": [ 470 ], "localized_name": "negative", "pos": [ -224.580078125, -4 ] }, { "id": "04a00ce5-40d1-46a0-9478-9aba0778b80b", "name": "clip_vision_output", "type": "CLIP_VISION_OUTPUT", "linkIds": [ 474 ], "localized_name": "clip_vision_output", "shape": 7, "pos": [ -224.580078125, 16 ] }, { "id": "9ed8853f-bd73-4728-be35-ed4d4a177059", "name": "reference_image", "type": "IMAGE", "linkIds": [ 475 ], "localized_name": "reference_image", "shape": 7, "pos": [ -224.580078125, 36 ] }, { "id": "2b62e853-eb8b-4d69-bf22-1f0822d3e56d", "name": "face_video", "type": "IMAGE", "linkIds": [ 459 ], "localized_name": "face_video", "shape": 7, "pos": [ -224.580078125, 56 ] }, { "id": "3136835f-c045-4f05-a970-3adafd321465", "name": "pose_video", "type": "IMAGE", "linkIds": [ 461 ], "localized_name": "pose_video", "shape": 7, "pos": [ -224.580078125, 76 ] }, { "id": "5ad7efd4-462f-41d0-8340-4afd50c5f348", "name": "background_video", "type": "IMAGE", "linkIds": [ 419 ], "localized_name": "background_video", "shape": 7, "pos": [ -224.580078125, 96 ] }, { "id": "ca1d3a4d-4e24-4d7e-8f09-806712fd4bc9", "name": "character_mask", "type": "MASK", "linkIds": [ 418 ], "localized_name": "character_mask", "shape": 7, "pos": [ -224.580078125, 116 ] }, { "id": "f39fd571-8756-4c88-bc40-9055450f6e00", "name": "width", "type": "INT", "linkIds": [ 450 ], "localized_name": "width", "pos": [ -224.580078125, 136 ] }, { "id": "02628a20-dd6c-44e6-9012-b6d0bf61a93f", "name": "height", "type": "INT", "linkIds": [ 451 ], "localized_name": "height", "pos": [ -224.580078125, 156 ] }, { "id": "066ae061-5d3e-473f-8a83-8517c605e63d", "name": "fps", "type": "FLOAT", "linkIds": [ 477 ], "pos": [ -224.580078125, 176 ] }, { "id": "fbbe4cdd-2580-486a-8d7c-53f1dc0a4034", "name": "seed", "type": "INT", "linkIds": [ 478 ], "pos": [ -224.580078125, 196 ] }, { "id": "4bf86876-244b-49d0-a6f5-f8b98de0ac50", "name": "steps", "type": "INT", "linkIds": [ 479 ], "pos": [ -224.580078125, 216 ] }, { "id": "43112400-97ac-4ab9-8c6e-1bd62e32f8d4", "name": "cfg", "type": "FLOAT", "linkIds": [ 480 ], "pos": [ -224.580078125, 236 ] }, { "id": "294b0d0a-7b7b-4953-8a86-37440b22099b", "name": "sampler_name", "type": "COMBO", "linkIds": [ 481 ], "pos": [ -224.580078125, 256 ] }, { "id": "37d706a5-cf01-4275-917d-ffda1eb0af23", "name": "scheduler", "type": "COMBO", "linkIds": [ 482 ], "pos": [ -224.580078125, 276 ] }, { "id": "4cdaa85e-0c3d-44c6-88eb-066640c2998f", "name": "length", "type": "INT", "linkIds": [ 841 ], "pos": [ -224.580078125, 296 ] } ], "outputs": [ { "id": "321201d9-6a87-48bc-a8e3-2d13f32a546f", "name": "VIDEO", "type": "VIDEO", "linkIds": [ 17 ], "localized_name": "VIDEO", "pos": [ 1390, -70 ] }, { "id": "bc8f831d-427d-4b69-9bfc-50760cbb1ee4", "name": "IMAGE", "type": "IMAGE", "linkIds": [ 187, 208 ], "localized_name": "IMAGE", "pos": [ 1390, -50 ] }, { "id": "2b09b619-743f-45f6-a120-44694d4018b6", "name": "video_frame_offset", "type": "INT", "linkIds": [ 439 ], "localized_name": "video_frame_offset", "pos": [ 1390, -30 ] } ], "widgets": [], "nodes": [ { "id": 62, "type": "WanAnimateToVideo", "pos": [ -100, -50 ], "size": [ 324.73958333333337, 399.6875 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "link": 467 }, { "localized_name": "negative", "name": "negative", "type": "CONDITIONING", "link": 470 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 471 }, { "localized_name": "clip_vision_output", "name": "clip_vision_output", "shape": 7, "type": "CLIP_VISION_OUTPUT", "link": 474 }, { "localized_name": "reference_image", "name": "reference_image", "shape": 7, "type": "IMAGE", "link": 475 }, { "localized_name": "face_video", "name": "face_video", "shape": 7, "type": "IMAGE", "link": 459 }, { "localized_name": "pose_video", "name": "pose_video", "shape": 7, "type": "IMAGE", "link": 461 }, { "localized_name": "background_video", "name": "background_video", "shape": 7, "type": "IMAGE", "link": 419 }, { "localized_name": "character_mask", "name": "character_mask", "shape": 7, "type": "MASK", "link": 418 }, { "localized_name": "continue_motion", "name": "continue_motion", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 450 }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 451 }, { "localized_name": "length", "name": "length", "type": "INT", "widget": { "name": "length" }, "link": 841 } ], "outputs": [ { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "links": [ 154 ] }, { "localized_name": "negative", "name": "negative", "type": "CONDITIONING", "links": [ 155 ] }, { "localized_name": "latent", "name": "latent", "type": "LATENT", "links": [ 156 ] }, { "localized_name": "trim_latent", "name": "trim_latent", "type": "INT", "links": [ 152 ] }, { "localized_name": "trim_image", "name": "trim_image", "type": "INT", "links": [ 442 ] }, { "localized_name": "video_frame_offset", "name": "video_frame_offset", "type": "INT", "links": [ 439 ] } ], "properties": { "Node name for S&R": "WanAnimateToVideo", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [ 832, 480, 77, 1, 5, 0 ] }, { "id": 63, "type": "KSampler", "pos": [ 300, -60 ], "size": [ 270, 262 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 454 }, { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "link": 154 }, { "localized_name": "negative", "name": "negative", "type": "CONDITIONING", "link": 155 }, { "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 156 }, { "localized_name": "seed", "name": "seed", "type": "INT", "widget": { "name": "seed" }, "link": 478 }, { "localized_name": "steps", "name": "steps", "type": "INT", "widget": { "name": "steps" }, "link": 479 }, { "localized_name": "cfg", "name": "cfg", "type": "FLOAT", "widget": { "name": "cfg" }, "link": 480 }, { "localized_name": "sampler_name", "name": "sampler_name", "type": "COMBO", "widget": { "name": "sampler_name" }, "link": 481 }, { "localized_name": "scheduler", "name": "scheduler", "type": "COMBO", "widget": { "name": "scheduler" }, "link": 482 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 157 ] } ], "properties": { "Node name for S&R": "KSampler", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [ 1106558644923357, "randomize", 6, 1, "euler", "simple", 1 ] }, { "id": 58, "type": "VAEDecode", "pos": [ 650, 80 ], "size": [ 209.98697916666669, 59.8046875 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 127 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 464 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 187, 208, 440 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [] }, { "id": 230, "type": "ImageFromBatch", "pos": [ 610, 220 ], "size": [ 269.97395833333337, 93.125 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 440 }, { "localized_name": "batch_index", "name": "batch_index", "type": "INT", "widget": { "name": "batch_index" }, "link": 442 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 441 ] } ], "properties": { "Node name for S&R": "ImageFromBatch", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [ 0, 4096 ] }, { "id": 15, "type": "CreateVideo", "pos": [ 940, -30 ], "size": [ 269.97395833333337, 86.45833333333334 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 441 }, { "localized_name": "audio", "name": "audio", "shape": 7, "type": "AUDIO", "link": 463 }, { "localized_name": "fps", "name": "fps", "type": "FLOAT", "widget": { "name": "fps" }, "link": 477 } ], "outputs": [ { "localized_name": "VIDEO", "name": "VIDEO", "type": "VIDEO", "links": [ 17 ] } ], "properties": { "Node name for S&R": "CreateVideo", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [ 30 ] }, { "id": 57, "type": "TrimVideoLatent", "pos": [ 630, -60 ], "size": [ 269.97395833333337, 66.47135416666667 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 157 }, { "localized_name": "trim_amount", "name": "trim_amount", "type": "INT", "widget": { "name": "trim_amount" }, "link": 152 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 127 ] } ], "properties": { "Node name for S&R": "TrimVideoLatent", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [ 0 ] } ], "groups": [], "links": [ { "id": 154, "origin_id": 62, "origin_slot": 0, "target_id": 63, "target_slot": 1, "type": "CONDITIONING" }, { "id": 155, "origin_id": 62, "origin_slot": 1, "target_id": 63, "target_slot": 2, "type": "CONDITIONING" }, { "id": 156, "origin_id": 62, "origin_slot": 2, "target_id": 63, "target_slot": 3, "type": "LATENT" }, { "id": 157, "origin_id": 63, "origin_slot": 0, "target_id": 57, "target_slot": 0, "type": "LATENT" }, { "id": 152, "origin_id": 62, "origin_slot": 3, "target_id": 57, "target_slot": 1, "type": "INT" }, { "id": 441, "origin_id": 230, "origin_slot": 0, "target_id": 15, "target_slot": 0, "type": "IMAGE" }, { "id": 127, "origin_id": 57, "origin_slot": 0, "target_id": 58, "target_slot": 0, "type": "LATENT" }, { "id": 440, "origin_id": 58, "origin_slot": 0, "target_id": 230, "target_slot": 0, "type": "IMAGE" }, { "id": 442, "origin_id": 62, "origin_slot": 4, "target_id": 230, "target_slot": 1, "type": "INT" }, { "id": 454, "origin_id": -10, "origin_slot": 0, "target_id": 63, "target_slot": 0, "type": "MODEL" }, { "id": 463, "origin_id": -10, "origin_slot": 1, "target_id": 15, "target_slot": 1, "type": "AUDIO" }, { "id": 464, "origin_id": -10, "origin_slot": 2, "target_id": 58, "target_slot": 1, "type": "VAE" }, { "id": 471, "origin_id": -10, "origin_slot": 2, "target_id": 62, "target_slot": 2, "type": "VAE" }, { "id": 467, "origin_id": -10, "origin_slot": 3, "target_id": 62, "target_slot": 0, "type": "CONDITIONING" }, { "id": 470, "origin_id": -10, "origin_slot": 4, "target_id": 62, "target_slot": 1, "type": "CONDITIONING" }, { "id": 474, "origin_id": -10, "origin_slot": 5, "target_id": 62, "target_slot": 3, "type": "CLIP_VISION_OUTPUT" }, { "id": 475, "origin_id": -10, "origin_slot": 6, "target_id": 62, "target_slot": 4, "type": "IMAGE" }, { "id": 459, "origin_id": -10, "origin_slot": 7, "target_id": 62, "target_slot": 5, "type": "IMAGE" }, { "id": 461, "origin_id": -10, "origin_slot": 8, "target_id": 62, "target_slot": 6, "type": "IMAGE" }, { "id": 419, "origin_id": -10, "origin_slot": 9, "target_id": 62, "target_slot": 7, "type": "IMAGE" }, { "id": 418, "origin_id": -10, "origin_slot": 10, "target_id": 62, "target_slot": 8, "type": "MASK" }, { "id": 450, "origin_id": -10, "origin_slot": 11, "target_id": 62, "target_slot": 10, "type": "INT" }, { "id": 451, "origin_id": -10, "origin_slot": 12, "target_id": 62, "target_slot": 11, "type": "INT" }, { "id": 17, "origin_id": 15, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "VIDEO" }, { "id": 187, "origin_id": 58, "origin_slot": 0, "target_id": -20, "target_slot": 1, "type": "IMAGE" }, { "id": 208, "origin_id": 58, "origin_slot": 0, "target_id": -20, "target_slot": 1, "type": "IMAGE" }, { "id": 439, "origin_id": 62, "origin_slot": 5, "target_id": -20, "target_slot": 2, "type": "INT" }, { "id": 477, "origin_id": -10, "origin_slot": 13, "target_id": 15, "target_slot": 2, "type": "FLOAT" }, { "id": 478, "origin_id": -10, "origin_slot": 14, "target_id": 63, "target_slot": 4, "type": "INT" }, { "id": 479, "origin_id": -10, "origin_slot": 15, "target_id": 63, "target_slot": 5, "type": "INT" }, { "id": 480, "origin_id": -10, "origin_slot": 16, "target_id": 63, "target_slot": 6, "type": "FLOAT" }, { "id": 481, "origin_id": -10, "origin_slot": 17, "target_id": 63, "target_slot": 7, "type": "COMBO" }, { "id": 482, "origin_id": -10, "origin_slot": 18, "target_id": 63, "target_slot": 8, "type": "COMBO" }, { "id": 841, "origin_id": -10, "origin_slot": 19, "target_id": 62, "target_slot": 12, "type": "INT" } ], "extra": { "workflowRendererVersion": "LG" } }, { "id": "b396d3e6-70cc-4a91-81db-6e0399a4edb6", "version": 1, "state": { "lastGroupId": 16, "lastNodeId": 348, "lastLinkId": 851, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "Wan 2.2 Animate - Character Replace", "inputNode": { "id": -10, "bounding": [ -3390, 193, 135.044921875, 180 ] }, "outputNode": { "id": -20, "bounding": [ -550, 232.99999999999997, 120, 60.00000000000003 ] }, "inputs": [ { "id": "25fb7bfd-a9a1-4010-8157-ebb4189f5b6b", "name": "fps", "type": "FLOAT", "linkIds": [ 814, 815, 816, 830 ], "localized_name": "fps", "pos": [ -3274.955078125, 213 ] }, { "id": "76dce9c4-abcd-4673-b334-8024f29d7f2c", "name": "image", "type": "IMAGE", "linkIds": [ 817 ], "localized_name": "image", "label": "input_video", "pos": [ -3274.955078125, 233 ] }, { "id": "af1f4478-1474-4fee-82f8-54e9629ffdc3", "name": "width", "type": "INT", "linkIds": [ 818, 826, 488 ], "localized_name": "width", "pos": [ -3274.955078125, 253 ] }, { "id": "9deefdcb-b80b-4a53-9f32-f06dfcb0db51", "name": "height", "type": "INT", "linkIds": [ 819, 827, 489 ], "localized_name": "height", "pos": [ -3274.955078125, 273 ] }, { "id": "2ce7897d-0ab4-471e-953f-cf56c9b6e56c", "name": "image_1", "type": "IMAGE", "linkIds": [ 825 ], "localized_name": "image_1", "label": "reference_image", "pos": [ -3274.955078125, 293 ] }, { "id": "4e14fccf-94c0-4712-8765-8d33a01d9c32", "name": "text", "type": "STRING", "linkIds": [ 838 ], "pos": [ -3274.955078125, 313 ] }, { "id": "4b92d741-4d26-4961-8bce-7428bfbb1e34", "name": "length", "type": "INT", "linkIds": [ 842 ], "pos": [ -3274.955078125, 333 ] } ], "outputs": [ { "id": "fb94f0e7-6131-4db5-ac54-675007832f69", "name": "VIDEO", "type": "VIDEO", "linkIds": [ 490 ], "localized_name": "VIDEO", "pos": [ -530, 252.99999999999997 ] } ], "widgets": [], "nodes": [ { "id": 1, "type": "CLIPTextEncode", "pos": [ -2080, -270 ], "size": [ 425.2604166666667, 180.59895833333334 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 1 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 481 ] } ], "title": "CLIP Text Encode (Negative Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [ "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走" ], "color": "#322", "bgcolor": "#533" }, { "id": 99, "type": "LoraLoaderModelOnly", "pos": [ -2480, -510 ], "size": [ 306.25, 116.4453125 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 226 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 227 ] } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly", "cnr_id": "comfy-core", "ver": "0.3.59", "models": [ { "name": "WanAnimate_relight_lora_fp16.safetensors", "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/LoRAs/Wan22_relight/WanAnimate_relight_lora_fp16.safetensors", "directory": "loras" } ] }, "widgets_values": [ "WanAnimate_relight_lora_fp16.safetensors", 1 ] }, { "id": 9, "type": "CLIPVisionEncode", "pos": [ -2009.999724152921, -10.000007301786505 ], "size": [ 253.515625, 88.671875 ], "flags": { "collapsed": false }, "order": 12, "mode": 0, "inputs": [ { "localized_name": "clip_vision", "name": "clip_vision", "type": "CLIP_VISION", "link": 4 }, { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 829 } ], "outputs": [ { "localized_name": "CLIP_VISION_OUTPUT", "name": "CLIP_VISION_OUTPUT", "type": "CLIP_VISION_OUTPUT", "slot_index": 0, "links": [ 482 ] } ], "properties": { "Node name for S&R": "CLIPVisionEncode", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [ "none" ] }, { "id": 340, "type": "CreateVideo", "pos": [ -950, 490 ], "size": [ 269.921875, 86.45833333333334 ], "flags": {}, "order": 29, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 813 }, { "localized_name": "audio", "name": "audio", "shape": 7, "type": "AUDIO", "link": null }, { "localized_name": "fps", "name": "fps", "type": "FLOAT", "widget": { "name": "fps" }, "link": 816 } ], "outputs": [ { "localized_name": "VIDEO", "name": "VIDEO", "type": "VIDEO", "links": [ 799 ] } ], "properties": { "Node name for S&R": "CreateVideo" }, "widgets_values": [ 30 ] }, { "id": 330, "type": "SaveVideo", "pos": [ -950, 610 ], "size": [ 269.921875, 577.9947916666667 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "localized_name": "video", "name": "video", "type": "VIDEO", "link": 799 } ], "outputs": [], "properties": { "Node name for S&R": "SaveVideo" }, "widgets_values": [ "video/ComfyUI", "auto", "auto" ] }, { "id": 331, "type": "SaveVideo", "pos": [ -670, 610 ], "size": [ 269.921875, 577.9947916666667 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "localized_name": "video", "name": "video", "type": "VIDEO", "link": 800 } ], "outputs": [], "properties": { "Node name for S&R": "SaveVideo" }, "widgets_values": [ "video/ComfyUI", "auto", "auto" ] }, { "id": 335, "type": "DrawViTPose", "pos": [ -1783.194230162341, 592.886517661592 ], "size": [ 269.921875, 216.40625 ], "flags": {}, "order": 26, "mode": 0, "inputs": [ { "localized_name": "pose_data", "name": "pose_data", "type": "POSEDATA", "link": 808 }, { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 847 }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 849 } ], "outputs": [ { "localized_name": "pose_images", "name": "pose_images", "type": "IMAGE", "links": [ 813, 831 ] } ], "properties": { "Node name for S&R": "DrawViTPose", "cnr_id": "ComfyUI-WanAnimatePreprocess", "aux_id": "kijai/ComfyUI-WanAnimatePreprocess", "ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d", "ue_properties": { "widget_ue_connectable": { "width": true, "height": true }, "version": "7.3", "input_ue_unconnectable": {} } }, "widgets_values": [ 832, 480, 16, -1, -1, "True" ] }, { "id": 322, "type": "Reroute", "pos": [ -1359.9996104113648, 59.99989097295298 ], "size": [ 75, 26 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 821 } ], "outputs": [ { "name": "", "type": "IMAGE", "links": [ 836 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 321, "type": "Reroute", "pos": [ -1359.9996104113648, 99.99996472376685 ], "size": [ 75, 26 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 820 } ], "outputs": [ { "name": "", "type": "MASK", "links": [ 837 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 339, "type": "CreateVideo", "pos": [ -670, 490 ], "size": [ 269.921875, 86.45833333333334 ], "flags": {}, "order": 28, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 812 }, { "localized_name": "audio", "name": "audio", "shape": 7, "type": "AUDIO", "link": null }, { "localized_name": "fps", "name": "fps", "type": "FLOAT", "widget": { "name": "fps" }, "link": 815 } ], "outputs": [ { "localized_name": "VIDEO", "name": "VIDEO", "type": "VIDEO", "links": [ 800 ] } ], "properties": { "Node name for S&R": "CreateVideo" }, "widgets_values": [ 30 ] }, { "id": 329, "type": "SaveVideo", "pos": [ -1230, 610 ], "size": [ 270, 570 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "localized_name": "video", "name": "video", "type": "VIDEO", "link": 798 } ], "outputs": [], "properties": { "Node name for S&R": "SaveVideo" }, "widgets_values": [ "video/ComfyUI", "auto", "auto" ] }, { "id": 334, "type": "PoseAndFaceDetection", "pos": [ -1800, 330 ], "size": [ 313.02083333333337, 193.09895833333334 ], "flags": {}, "order": 25, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "POSEMODEL", "link": 804 }, { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 850 }, { "localized_name": "retarget_image", "name": "retarget_image", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 846 }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 848 } ], "outputs": [ { "localized_name": "pose_data", "name": "pose_data", "type": "POSEDATA", "links": [ 808 ] }, { "localized_name": "face_images", "name": "face_images", "type": "IMAGE", "links": [ 803, 822 ] }, { "localized_name": "key_frame_body_points", "name": "key_frame_body_points", "type": "STRING", "links": [] }, { "localized_name": "bboxes", "name": "bboxes", "type": "BBOX", "links": [ 796 ] }, { "localized_name": "face_bboxes", "name": "face_bboxes", "type": "BBOX,", "links": [] } ], "properties": { "Node name for S&R": "PoseAndFaceDetection", "cnr_id": "ComfyUI-WanAnimatePreprocess", "aux_id": "kijai/ComfyUI-WanAnimatePreprocess", "ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d", "ue_properties": { "widget_ue_connectable": { "width": true, "height": true }, "version": "7.3", "input_ue_unconnectable": {} } }, "widgets_values": [ 832, 480 ] }, { "id": 326, "type": "Sam2Segmentation", "pos": [ -2440, 1070 ], "size": [ 272.00520833333337, 206.40625 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "localized_name": "sam2_model", "name": "sam2_model", "type": "SAM2MODEL", "link": 794 }, { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 851 }, { "localized_name": "coordinates_positive", "name": "coordinates_positive", "shape": 7, "type": "STRING", "link": null }, { "localized_name": "coordinates_negative", "name": "coordinates_negative", "shape": 7, "type": "STRING", "link": null }, { "localized_name": "bboxes", "name": "bboxes", "shape": 7, "type": "BBOX", "link": 796 }, { "localized_name": "mask", "name": "mask", "shape": 7, "type": "MASK", "link": null } ], "outputs": [ { "localized_name": "mask", "name": "mask", "type": "MASK", "links": [ 797 ] } ], "properties": { "Node name for S&R": "Sam2Segmentation", "cnr_id": "ComfyUI-segment-anything-2", "ver": "c59676b008a76237002926f684d0ca3a9b29ac54", "ue_properties": { "widget_ue_connectable": {}, "version": "7.3", "input_ue_unconnectable": {} } }, "widgets_values": [ false, false ] }, { "id": 333, "type": "CreateVideo", "pos": [ -1230, 490 ], "size": [ 269.921875, 86.45833333333334 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 803 }, { "localized_name": "audio", "name": "audio", "shape": 7, "type": "AUDIO", "link": null }, { "localized_name": "fps", "name": "fps", "type": "FLOAT", "widget": { "name": "fps" }, "link": 814 } ], "outputs": [ { "localized_name": "VIDEO", "name": "VIDEO", "type": "VIDEO", "links": [ 798 ] } ], "properties": { "Node name for S&R": "CreateVideo" }, "widgets_values": [ 30 ] }, { "id": 336, "type": "Note", "pos": [ -2240, 570 ], "size": [ 236.06770833333334, 88 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [], "title": "Note: SAM2 detection", "properties": { "ue_properties": { "widget_ue_connectable": {}, "version": "7.3", "input_ue_unconnectable": {} } }, "widgets_values": [ "You can use either the detected bbox or the kay_frame_body_points to positive coordinates, if one fails to creater proper mask, try the other" ], "color": "#432", "bgcolor": "#653" }, { "id": 338, "type": "ImageScale", "pos": [ -2580, 370 ], "size": [ 269.921875, 170.859375 ], "flags": {}, "order": 27, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 817 }, { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 818 }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 819 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 801, 845, 850, 851 ] } ], "title": "Resize Input Video", "properties": { "Node name for S&R": "ImageScale", "cnr_id": "comfy-core", "ver": "0.3.66", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.3" } }, "widgets_values": [ "lanczos", 832, 480, "center" ] }, { "id": 348, "type": "GetImageSize", "pos": [ -2230, 370 ], "size": [ 140, 66 ], "flags": {}, "order": 31, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 845 } ], "outputs": [ { "localized_name": "width", "name": "width", "type": "INT", "links": [ 846, 847 ] }, { "localized_name": "height", "name": "height", "type": "INT", "links": [ 848, 849 ] }, { "localized_name": "batch_size", "name": "batch_size", "type": "INT", "links": null } ], "properties": { "Node name for S&R": "GetImageSize" } }, { "id": 328, "type": "OnnxDetectionModelLoader", "pos": [ -3180, 370 ], "size": [ 351.4322916666667, 146.41927083333334 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "model", "name": "model", "type": "POSEMODEL", "links": [ 804 ] } ], "properties": { "Node name for S&R": "OnnxDetectionModelLoader", "cnr_id": "ComfyUI-WanAnimatePreprocess", "aux_id": "kijai/ComfyUI-WanAnimatePreprocess", "ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d", "ue_properties": { "widget_ue_connectable": {}, "version": "7.3", "input_ue_unconnectable": {} } }, "widgets_values": [ "vitpose-l-wholebody.onnx", "yolov10m.onnx", "CUDAExecutionProvider" ] }, { "id": 324, "type": "DownloadAndLoadSAM2Model", "pos": [ -3140, 1070 ], "size": [ 334.375, 176.40625 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "sam2_model", "name": "sam2_model", "type": "SAM2MODEL", "links": [ 794 ] } ], "properties": { "Node name for S&R": "DownloadAndLoadSAM2Model", "cnr_id": "ComfyUI-segment-anything-2", "ver": "c59676b008a76237002926f684d0ca3a9b29ac54", "ue_properties": { "widget_ue_connectable": {}, "version": "7.3", "input_ue_unconnectable": {} } }, "widgets_values": [ "sam2.1_hiera_base_plus.safetensors", "video", "cuda", "fp16" ] }, { "id": 325, "type": "BlockifyMask", "pos": [ -1760, 1060 ], "size": [ 290, 82 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "masks", "name": "masks", "type": "MASK", "link": 793 } ], "outputs": [ { "localized_name": "mask", "name": "mask", "type": "MASK", "links": [ 802, 820 ] } ], "properties": { "Node name for S&R": "BlockifyMask", "cnr_id": "comfyui-kjnodes", "ver": "00da1910634fbf314d407608efb281ae6f7f1ba2", "ue_properties": { "widget_ue_connectable": {}, "version": "7.3", "input_ue_unconnectable": {} } }, "widgets_values": [ 32, "cpu" ] }, { "id": 332, "type": "DrawMaskOnImage", "pos": [ -1750, 1230 ], "size": [ 280, 102 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 801 }, { "localized_name": "mask", "name": "mask", "type": "MASK", "link": 802 } ], "outputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "links": [ 812, 821 ] } ], "properties": { "Node name for S&R": "DrawMaskOnImage", "cnr_id": "comfyui-kjnodes", "ver": "623b5913dc7f240fd8b26422e99f8849a21c5473", "ue_properties": { "widget_ue_connectable": {}, "version": "7.3", "input_ue_unconnectable": {} } }, "widgets_values": [ "0, 0, 0", "cpu" ] }, { "id": 327, "type": "GrowMaskWithBlur", "pos": [ -2100, 1070 ], "size": [ 290, 246 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "localized_name": "mask", "name": "mask", "type": "MASK", "link": 797 } ], "outputs": [ { "localized_name": "mask", "name": "mask", "type": "MASK", "links": [ 793 ] }, { "localized_name": "mask_inverted", "name": "mask_inverted", "type": "MASK", "links": [] } ], "properties": { "Node name for S&R": "GrowMaskWithBlur", "cnr_id": "comfyui-kjnodes", "ver": "bb205d809b467307b8ec3bb1a22680a4873187f8", "ue_properties": { "widget_ue_connectable": {}, "version": "7.3", "input_ue_unconnectable": {} } }, "widgets_values": [ 10, 0, true, false, 0, 1, 1, false ] }, { "id": 342, "type": "ImageScale", "pos": [ -3190, -140 ], "size": [ 269.921875, 170.859375 ], "flags": {}, "order": 30, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 825 }, { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 826 }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 827 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 828, 829 ] } ], "title": "Resize Reference Image", "properties": { "Node name for S&R": "ImageScale", "cnr_id": "comfy-core", "ver": "0.3.66", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.3" } }, "widgets_values": [ "lanczos", 832, 480, "center" ] }, { "id": 20, "type": "UNETLoader", "pos": [ -2480, -790 ], "size": [ 306.25, 98.671875 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 16 ] } ], "properties": { "Node name for S&R": "UNETLoader", "cnr_id": "comfy-core", "ver": "0.3.59", "models": [ { "name": "Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors", "url": "https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/resolve/main/Wan22Animate/Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors", "directory": "diffusion_models" } ] }, "widgets_values": [ "Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors", "default" ] }, { "id": 2, "type": "CLIPLoader", "pos": [ -2480, -340 ], "size": [ 306.25, 127.5390625 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "slot_index": 0, "links": [ 1, 18 ] } ], "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.3.59", "models": [ { "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors", "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "umt5_xxl_fp8_e4m3fn_scaled.safetensors", "wan", "default" ] }, { "id": 3, "type": "VAELoader", "pos": [ -2480, -160 ], "size": [ 306.25, 69.79166666666667 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "VAE", "name": "VAE", "type": "VAE", "slot_index": 0, "links": [ 479 ] } ], "properties": { "Node name for S&R": "VAELoader", "cnr_id": "comfy-core", "ver": "0.3.59", "models": [ { "name": "wan_2.1_vae.safetensors", "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors", "directory": "vae" } ] }, "widgets_values": [ "wan_2.1_vae.safetensors" ] }, { "id": 4, "type": "CLIPVisionLoader", "pos": [ -2480, -30 ], "size": [ 306.25, 69.79166666666667 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "CLIP_VISION", "name": "CLIP_VISION", "type": "CLIP_VISION", "slot_index": 0, "links": [ 4 ] } ], "properties": { "Node name for S&R": "CLIPVisionLoader", "cnr_id": "comfy-core", "ver": "0.3.59", "models": [ { "name": "clip_vision_h.safetensors", "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors", "directory": "clip_vision" } ] }, "widgets_values": [ "clip_vision_h.safetensors" ] }, { "id": 21, "type": "CLIPTextEncode", "pos": [ -2080, -560 ], "size": [ 419.921875, 229.94791666666669 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 18 }, { "localized_name": "text", "name": "text", "type": "STRING", "widget": { "name": "text" }, "link": 838 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 480 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [ "the person is dancing" ], "color": "#232", "bgcolor": "#353" }, { "id": 60, "type": "ModelSamplingSD3", "pos": [ -1610, -670 ], "size": [ 314.97395833333337, 66.47135416666667 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 227 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 477 ] } ], "properties": { "Node name for S&R": "ModelSamplingSD3", "cnr_id": "comfy-core", "ver": "0.3.59" }, "widgets_values": [ 8 ] }, { "id": 18, "type": "LoraLoaderModelOnly", "pos": [ -2480, -650 ], "size": [ 300, 82 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 16 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 226 ] } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly", "cnr_id": "comfy-core", "ver": "0.3.59", "models": [ { "name": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors", "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors", "directory": "loras" } ] }, "widgets_values": [ "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors", 1 ] }, { "id": 279, "type": "PrimitiveInt", "pos": [ -1440, -260 ], "size": [ 269.921875, 82 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "INT", "name": "INT", "type": "INT", "links": [ 712 ] } ], "title": "Seed", "properties": { "Node name for S&R": "PrimitiveInt", "cnr_id": "comfy-core", "ver": "0.3.60" }, "widgets_values": [ 281253459907758, "randomize" ] }, { "id": 232, "type": "90db3fa1-b7fd-4c97-90a4-3e9533589dce", "pos": [ -1069.999583454171, -556.51262746475 ], "size": [ 450, 820 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 477 }, { "localized_name": "audio", "name": "audio", "type": "AUDIO", "link": null }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 479 }, { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "link": 480 }, { "localized_name": "negative", "name": "negative", "type": "CONDITIONING", "link": 481 }, { "localized_name": "clip_vision_output", "name": "clip_vision_output", "type": "CLIP_VISION_OUTPUT", "link": 482 }, { "localized_name": "reference_image", "name": "reference_image", "type": "IMAGE", "link": 828 }, { "localized_name": "face_video", "name": "face_video", "type": "IMAGE", "link": 822 }, { "localized_name": "pose_video", "name": "pose_video", "type": "IMAGE", "link": 831 }, { "localized_name": "background_video", "name": "background_video", "type": "IMAGE", "link": 836 }, { "localized_name": "character_mask", "name": "character_mask", "type": "MASK", "link": 837 }, { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 488 }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 489 }, { "name": "fps", "type": "FLOAT", "widget": { "name": "fps" }, "link": 830 }, { "name": "seed", "type": "INT", "widget": { "name": "seed" }, "link": 712 }, { "name": "length", "type": "INT", "widget": { "name": "length" }, "link": 842 } ], "outputs": [ { "localized_name": "VIDEO", "name": "VIDEO", "type": "VIDEO", "links": [ 490 ] }, { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [] }, { "localized_name": "video_frame_offset", "name": "video_frame_offset", "type": "INT", "links": [] } ], "properties": { "proxyWidgets": [ [ "-1", "width" ], [ "-1", "height" ], [ "-1", "fps" ], [ "-1", "seed" ], [ "-1", "steps" ], [ "-1", "cfg" ], [ "-1", "sampler_name" ], [ "-1", "scheduler" ], [ "-1", "length" ] ], "cnr_id": "comfy-core", "ver": "0.3.60" }, "widgets_values": [ 832, 480, 30, 1106558644923357, 6, 1, "euler", "simple", 77 ] } ], "groups": [], "links": [ { "id": 227, "origin_id": 99, "origin_slot": 0, "target_id": 60, "target_slot": 0, "type": "MODEL" }, { "id": 1, "origin_id": 2, "origin_slot": 0, "target_id": 1, "target_slot": 0, "type": "CLIP" }, { "id": 16, "origin_id": 20, "origin_slot": 0, "target_id": 18, "target_slot": 0, "type": "MODEL" }, { "id": 226, "origin_id": 18, "origin_slot": 0, "target_id": 99, "target_slot": 0, "type": "MODEL" }, { "id": 4, "origin_id": 4, "origin_slot": 0, "target_id": 9, "target_slot": 0, "type": "CLIP_VISION" }, { "id": 829, "origin_id": 342, "origin_slot": 0, "target_id": 9, "target_slot": 1, "type": "IMAGE" }, { "id": 793, "origin_id": 327, "origin_slot": 0, "target_id": 325, "target_slot": 0, "type": "MASK" }, { "id": 794, "origin_id": 324, "origin_slot": 0, "target_id": 326, "target_slot": 0, "type": "SAM2MODEL" }, { "id": 796, "origin_id": 334, "origin_slot": 3, "target_id": 326, "target_slot": 4, "type": "BBOX" }, { "id": 797, "origin_id": 326, "origin_slot": 0, "target_id": 327, "target_slot": 0, "type": "MASK" }, { "id": 798, "origin_id": 333, "origin_slot": 0, "target_id": 329, "target_slot": 0, "type": "VIDEO" }, { "id": 801, "origin_id": 338, "origin_slot": 0, "target_id": 332, "target_slot": 0, "type": "IMAGE" }, { "id": 802, "origin_id": 325, "origin_slot": 0, "target_id": 332, "target_slot": 1, "type": "MASK" }, { "id": 803, "origin_id": 334, "origin_slot": 1, "target_id": 333, "target_slot": 0, "type": "IMAGE" }, { "id": 812, "origin_id": 332, "origin_slot": 0, "target_id": 339, "target_slot": 0, "type": "IMAGE" }, { "id": 804, "origin_id": 328, "origin_slot": 0, "target_id": 334, "target_slot": 0, "type": "POSEMODEL" }, { "id": 813, "origin_id": 335, "origin_slot": 0, "target_id": 340, "target_slot": 0, "type": "IMAGE" }, { "id": 799, "origin_id": 340, "origin_slot": 0, "target_id": 330, "target_slot": 0, "type": "VIDEO" }, { "id": 18, "origin_id": 2, "origin_slot": 0, "target_id": 21, "target_slot": 0, "type": "CLIP" }, { "id": 800, "origin_id": 339, "origin_slot": 0, "target_id": 331, "target_slot": 0, "type": "VIDEO" }, { "id": 477, "origin_id": 60, "origin_slot": 0, "target_id": 232, "target_slot": 0, "type": "MODEL" }, { "id": 479, "origin_id": 3, "origin_slot": 0, "target_id": 232, "target_slot": 2, "type": "VAE" }, { "id": 480, "origin_id": 21, "origin_slot": 0, "target_id": 232, "target_slot": 3, "type": "CONDITIONING" }, { "id": 481, "origin_id": 1, "origin_slot": 0, "target_id": 232, "target_slot": 4, "type": "CONDITIONING" }, { "id": 482, "origin_id": 9, "origin_slot": 0, "target_id": 232, "target_slot": 5, "type": "CLIP_VISION_OUTPUT" }, { "id": 828, "origin_id": 342, "origin_slot": 0, "target_id": 232, "target_slot": 6, "type": "IMAGE" }, { "id": 822, "origin_id": 334, "origin_slot": 1, "target_id": 232, "target_slot": 7, "type": "IMAGE" }, { "id": 831, "origin_id": 335, "origin_slot": 0, "target_id": 232, "target_slot": 8, "type": "IMAGE" }, { "id": 712, "origin_id": 279, "origin_slot": 0, "target_id": 232, "target_slot": 14, "type": "INT" }, { "id": 808, "origin_id": 334, "origin_slot": 0, "target_id": 335, "target_slot": 0, "type": "POSEDATA" }, { "id": 820, "origin_id": 325, "origin_slot": 0, "target_id": 321, "target_slot": 0, "type": "*" }, { "id": 821, "origin_id": 332, "origin_slot": 0, "target_id": 322, "target_slot": 0, "type": "*" }, { "id": 814, "origin_id": -10, "origin_slot": 0, "target_id": 333, "target_slot": 2, "type": "FLOAT" }, { "id": 815, "origin_id": -10, "origin_slot": 0, "target_id": 339, "target_slot": 2, "type": "FLOAT" }, { "id": 816, "origin_id": -10, "origin_slot": 0, "target_id": 340, "target_slot": 2, "type": "FLOAT" }, { "id": 830, "origin_id": -10, "origin_slot": 0, "target_id": 232, "target_slot": 13, "type": "FLOAT" }, { "id": 817, "origin_id": -10, "origin_slot": 1, "target_id": 338, "target_slot": 0, "type": "IMAGE" }, { "id": 818, "origin_id": -10, "origin_slot": 2, "target_id": 338, "target_slot": 1, "type": "INT" }, { "id": 826, "origin_id": -10, "origin_slot": 2, "target_id": 342, "target_slot": 1, "type": "INT" }, { "id": 488, "origin_id": -10, "origin_slot": 2, "target_id": 232, "target_slot": 11, "type": "INT" }, { "id": 819, "origin_id": -10, "origin_slot": 3, "target_id": 338, "target_slot": 2, "type": "INT" }, { "id": 827, "origin_id": -10, "origin_slot": 3, "target_id": 342, "target_slot": 2, "type": "INT" }, { "id": 489, "origin_id": -10, "origin_slot": 3, "target_id": 232, "target_slot": 12, "type": "INT" }, { "id": 825, "origin_id": -10, "origin_slot": 4, "target_id": 342, "target_slot": 0, "type": "IMAGE" }, { "id": 490, "origin_id": 232, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "VIDEO" }, { "id": 836, "origin_id": 322, "origin_slot": 0, "target_id": 232, "target_slot": 9, "type": "IMAGE" }, { "id": 837, "origin_id": 321, "origin_slot": 0, "target_id": 232, "target_slot": 10, "type": "MASK" }, { "id": 838, "origin_id": -10, "origin_slot": 5, "target_id": 21, "target_slot": 1, "type": "STRING" }, { "id": 842, "origin_id": -10, "origin_slot": 6, "target_id": 232, "target_slot": 15, "type": "INT" }, { "id": 845, "origin_id": 338, "origin_slot": 0, "target_id": 348, "target_slot": 0, "type": "IMAGE" }, { "id": 846, "origin_id": 348, "origin_slot": 0, "target_id": 334, "target_slot": 3, "type": "INT" }, { "id": 847, "origin_id": 348, "origin_slot": 0, "target_id": 335, "target_slot": 1, "type": "INT" }, { "id": 848, "origin_id": 348, "origin_slot": 1, "target_id": 334, "target_slot": 4, "type": "INT" }, { "id": 849, "origin_id": 348, "origin_slot": 1, "target_id": 335, "target_slot": 2, "type": "INT" }, { "id": 850, "origin_id": 338, "origin_slot": 0, "target_id": 334, "target_slot": 1, "type": "IMAGE" }, { "id": 851, "origin_id": 338, "origin_slot": 0, "target_id": 326, "target_slot": 1, "type": "IMAGE" } ], "extra": { "workflowRendererVersion": "LG" } } ] }, "config": {}, "extra": { "ds": { "scale": 0.5034467868063119, "offset": [ 5144.437805290908, 1068.743024319068 ] }, "frontendVersion": "1.40.10", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true, "workflowRendererVersion": "LG" }, "version": 0.4 }