{
  "id": "e6c78bba-ef40-40c6-8b95-20bd0020ddbb",
  "revision": 0,
  "last_node_id": 40,
  "last_link_id": 159,
  "nodes": [
    {
      "id": 32,
      "type": "ModelSamplingSD3",
      "pos": [
        630,
        870
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 150
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            123
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.57",
        "Node name for S&R": "ModelSamplingSD3",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        8
      ]
    },
    {
      "id": 39,
      "type": "Note",
      "pos": [
        640,
        1140
      ],
      "size": [
        425.2951965332031,
        170.51983642578125
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "I2V: Just bypass the \"end frame\" so the \"start frame\" will be your I2V starting frame. Keep everything else the same.\n\nT2V: Bypass \"end frame\", \"start frame\" and the \"VACEFirstToLastFrame\" node. Set strength to 0 for WanVaceToVideo.\n\nLast Frame: Just bypass the \"start frame\" and keep \"end frame\". Keep everything else the same as in the picture.\n\nFirst->Last Frame: Use the default workflow of the page."
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 38,
      "type": "INTConstant",
      "pos": [
        630,
        990
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "value",
          "type": "INT",
          "links": [
            157,
            158
          ]
        }
      ],
      "title": "Number of Frames",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.3",
        "Node name for S&R": "INTConstant",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        81
      ]
    },
    {
      "id": 34,
      "type": "WanVideoVACEStartToEndFrame",
      "pos": [
        580,
        640
      ],
      "size": [
        269.9634704589844,
        190
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "start_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 139
        },
        {
          "name": "end_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 156
        },
        {
          "name": "control_images",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "inpaint_mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "num_frames",
          "type": "INT",
          "widget": {
            "name": "num_frames"
          },
          "link": 157
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            141
          ]
        },
        {
          "name": "masks",
          "type": "MASK",
          "links": [
            148
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-WanVideoWrapper",
        "ver": "95f3307d5c2b0431ab167179b06204138757c070",
        "Node name for S&R": "WanVideoVACEStartToEndFrame",
        "ue_properties": {
          "widget_ue_connectable": {
            "num_frames": true
          },
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        65,
        0.5,
        0,
        -1
      ]
    },
    {
      "id": 28,
      "type": "WanVaceToVideo",
      "pos": [
        870,
        630
      ],
      "size": [
        210,
        254
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 136
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 137
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 154
        },
        {
          "name": "control_video",
          "shape": 7,
          "type": "IMAGE",
          "link": 141
        },
        {
          "name": "control_masks",
          "shape": 7,
          "type": "MASK",
          "link": 148
        },
        {
          "name": "reference_image",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          },
          "link": 158
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            144
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            145
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            143
          ]
        },
        {
          "name": "trim_latent",
          "type": "INT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.57",
        "Node name for S&R": "WanVaceToVideo",
        "ue_properties": {
          "widget_ue_connectable": {
            "length": true
          },
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        512,
        512,
        65,
        1,
        1
      ]
    },
    {
      "id": 11,
      "type": "VAEDecode",
      "pos": [
        930,
        930
      ],
      "size": [
        140,
        46
      ],
      "flags": {
        "collapsed": true
      },
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 149
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 155
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            16,
            159
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.57",
        "Node name for S&R": "VAEDecode",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 8,
      "type": "KSampler",
      "pos": [
        1100,
        630
      ],
      "size": [
        255.43502807617188,
        262
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 123
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 144
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 145
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 143
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            149
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.57",
        "Node name for S&R": "KSampler",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        7567358653673,
        "fixed",
        4,
        1,
        "ipndm",
        "sgm_uniform",
        1
      ]
    },
    {
      "id": 12,
      "type": "PreviewImage",
      "pos": [
        1510,
        1400
      ],
      "size": [
        430.8839416503906,
        367.1125183105469
      ],
      "flags": {
        "collapsed": true
      },
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 16
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.57",
        "Node name for S&R": "PreviewImage",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 16,
      "type": "LoadImage",
      "pos": [
        -235.73622131347656,
        629.0985107421875
      ],
      "size": [
        375.5744934082031,
        326
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            139
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Start Frame (Optional)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.57",
        "Node name for S&R": "LoadImage",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "example.png",
        "image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 37,
      "type": "LoadImage",
      "pos": [
        -241.82699584960938,
        1018.9176025390625
      ],
      "size": [
        375.5744934082031,
        326
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            156
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "End Frame (Optional)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.57",
        "Node name for S&R": "LoadImage",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "ComfyUI_temp_zmuag_00002_.png",
        "image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 10,
      "type": "CLIPTextEncode",
      "pos": [
        190.6881866455078,
        890.3670043945312
      ],
      "size": [
        299.0025329589844,
        88
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 153
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            137
          ]
        }
      ],
      "title": "Negative Prompt (leave blank cuz 1 CFG)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.57",
        "Node name for S&R": "CLIPTextEncode",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        ""
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 9,
      "type": "CLIPTextEncode",
      "pos": [
        179.8546142578125,
        634.2100219726562
      ],
      "size": [
        311.0525817871094,
        189.73683166503906
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 152
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            136
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.57",
        "Node name for S&R": "CLIPTextEncode",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "A silly cartoon of a girl in a pink shirt transforms into a ninja sneaking down a hallway."
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 40,
      "type": "VHS_VideoCombine",
      "pos": [
        1470,
        630
      ],
      "size": [
        569.7501831054688,
        349.0526428222656
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 159
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "1.7.4",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "rapid-aio/video",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {}
        }
      }
    },
    {
      "id": 26,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -701.3197021484375,
        634.38623046875
      ],
      "size": [
        411.2327880859375,
        98
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            150
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            152,
            153
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            154,
            155
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.57",
        "Node name for S&R": "CheckpointLoaderSimple",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "WAN\\wan2.2-rapid-mega-aio-v1.safetensors"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 36,
      "type": "Note",
      "pos": [
        1115.1055908203125,
        1140
      ],
      "size": [
        261.9561462402344,
        140.74337768554688
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.1",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "T2V? WanVaceToVideo strength = 0.0\nI2V? WanVaceToVideo strength = 1.0\n(Can experiment with values 0-1)\n\n\n\n"
      ],
      "color": "#432",
      "bgcolor": "#653"
    }
  ],
  "links": [
    [
      16,
      11,
      0,
      12,
      0,
      "IMAGE"
    ],
    [
      123,
      32,
      0,
      8,
      0,
      "MODEL"
    ],
    [
      136,
      9,
      0,
      28,
      0,
      "CONDITIONING"
    ],
    [
      137,
      10,
      0,
      28,
      1,
      "CONDITIONING"
    ],
    [
      139,
      16,
      0,
      34,
      0,
      "IMAGE"
    ],
    [
      141,
      34,
      0,
      28,
      3,
      "IMAGE"
    ],
    [
      143,
      28,
      2,
      8,
      3,
      "LATENT"
    ],
    [
      144,
      28,
      0,
      8,
      1,
      "CONDITIONING"
    ],
    [
      145,
      28,
      1,
      8,
      2,
      "CONDITIONING"
    ],
    [
      148,
      34,
      1,
      28,
      4,
      "MASK"
    ],
    [
      149,
      8,
      0,
      11,
      0,
      "LATENT"
    ],
    [
      150,
      26,
      0,
      32,
      0,
      "MODEL"
    ],
    [
      152,
      26,
      1,
      9,
      0,
      "CLIP"
    ],
    [
      153,
      26,
      1,
      10,
      0,
      "CLIP"
    ],
    [
      154,
      26,
      2,
      28,
      2,
      "VAE"
    ],
    [
      155,
      26,
      2,
      11,
      1,
      "VAE"
    ],
    [
      156,
      37,
      0,
      34,
      1,
      "IMAGE"
    ],
    [
      157,
      38,
      0,
      34,
      4,
      "INT"
    ],
    [
      158,
      38,
      0,
      28,
      6,
      "INT"
    ],
    [
      159,
      11,
      0,
      40,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5445000000000023,
      "offset": [
        676.2217313961827,
        -387.0085371644911
      ]
    },
    "ue_links": [],
    "frontendVersion": "1.25.11",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}