{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {},
        "groups": [],
        "id": "e3a0666e-aa4f-4862-bc23-8f02f3dbd45b",
        "inputNode": {
          "bounding": [
            -660,
            965,
            120,
            140
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "6421e539-134a-464b-9395-332637387bd7",
            "linkIds": [
              259
            ],
            "localized_name": "image1",
            "name": "image1",
            "pos": [
              -560,
              985
            ],
            "type": "IMAGE"
          },
          {
            "id": "37d82794-80af-4c15-812a-44a2631ba194",
            "linkIds": [
              260
            ],
            "localized_name": "image2",
            "name": "image2",
            "pos": [
              -560,
              1005
            ],
            "type": "IMAGE"
          },
          {
            "id": "de504268-7d0b-459c-9959-f7d1f468037e",
            "linkIds": [
              257
            ],
            "localized_name": "amount",
            "name": "amount",
            "pos": [
              -560,
              1025
            ],
            "type": "INT"
          },
          {
            "id": "1361d24b-12bb-44a7-8791-5c335a7c7f7f",
            "linkIds": [
              275,
              276
            ],
            "localized_name": "width",
            "name": "width",
            "pos": [
              -560,
              1045
            ],
            "type": "INT"
          },
          {
            "id": "da3a1132-2ee7-47ed-95ac-5847fde41ecb",
            "linkIds": [
              278,
              279
            ],
            "localized_name": "height",
            "name": "height",
            "pos": [
              -560,
              1065
            ],
            "type": "INT"
          }
        ],
        "links": [
          {
            "id": 221,
            "origin_id": 146,
            "origin_slot": 0,
            "target_id": 148,
            "target_slot": 0,
            "type": "MASK"
          },
          {
            "id": 224,
            "origin_id": 149,
            "origin_slot": 0,
            "target_id": 150,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 219,
            "origin_id": 150,
            "origin_slot": 0,
            "target_id": 145,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 222,
            "origin_id": 148,
            "origin_slot": 0,
            "target_id": 149,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 230,
            "origin_id": 154,
            "origin_slot": 0,
            "target_id": 153,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 261,
            "origin_id": 149,
            "origin_slot": 0,
            "target_id": 153,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 232,
            "origin_id": 153,
            "origin_slot": 0,
            "target_id": 155,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 231,
            "origin_id": 154,
            "origin_slot": 0,
            "target_id": 155,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 233,
            "origin_id": 155,
            "origin_slot": 0,
            "target_id": 156,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 229,
            "origin_id": 152,
            "origin_slot": 0,
            "target_id": 154,
            "target_slot": 0,
            "type": "MASK"
          },
          {
            "id": 235,
            "origin_id": 155,
            "origin_slot": 0,
            "target_id": 157,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 225,
            "origin_id": 145,
            "origin_slot": 0,
            "target_id": 151,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 259,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 150,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 260,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 145,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 257,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 149,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 275,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 146,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 276,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 152,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 278,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 146,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 279,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 152,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 226,
            "origin_id": 145,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 234,
            "origin_id": 156,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "MASK"
          }
        ],
        "name": "Wan VACE  FLF2V image batch",
        "nodes": [
          {
            "flags": {},
            "id": 148,
            "inputs": [
              {
                "link": 221,
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  222
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -480,
              810
            ],
            "properties": {
              "Node name for S&R": "MaskToImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.38"
            },
            "size": [
              270,
              26
            ],
            "type": "MaskToImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 150,
            "inputs": [
              {
                "link": 259,
                "localized_name": "image1",
                "name": "image1",
                "type": "IMAGE"
              },
              {
                "link": 224,
                "localized_name": "image2",
                "name": "image2",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  219
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -160,
              810
            ],
            "properties": {
              "Node name for S&R": "ImageBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.38"
            },
            "size": [
              140,
              46
            ],
            "type": "ImageBatch",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 145,
            "inputs": [
              {
                "link": 219,
                "localized_name": "image1",
                "name": "image1",
                "type": "IMAGE"
              },
              {
                "link": 260,
                "localized_name": "image2",
                "name": "image2",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  225,
                  226
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -160,
              700
            ],
            "properties": {
              "Node name for S&R": "ImageBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.38"
            },
            "size": [
              140,
              46
            ],
            "type": "ImageBatch",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 149,
            "inputs": [
              {
                "link": 222,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              },
              {
                "link": 257,
                "localized_name": "amount",
                "name": "amount",
                "type": "INT",
                "widget": {
                  "name": "amount"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  224,
                  261
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              -480,
              700
            ],
            "properties": {
              "Node name for S&R": "RepeatImageBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.38"
            },
            "size": [
              270,
              58
            ],
            "type": "RepeatImageBatch",
            "widgets_values": [
              30
            ]
          },
          {
            "flags": {},
            "id": 153,
            "inputs": [
              {
                "link": 230,
                "localized_name": "image1",
                "name": "image1",
                "type": "IMAGE"
              },
              {
                "link": 261,
                "localized_name": "image2",
                "name": "image2",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  232
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              440,
              820
            ],
            "properties": {
              "Node name for S&R": "ImageBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.38"
            },
            "size": [
              140,
              46
            ],
            "type": "ImageBatch",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 155,
            "inputs": [
              {
                "link": 232,
                "localized_name": "image1",
                "name": "image1",
                "type": "IMAGE"
              },
              {
                "link": 231,
                "localized_name": "image2",
                "name": "image2",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 9,
            "outputs": [
              {
                "links": [
                  233,
                  235
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              440,
              918
            ],
            "properties": {
              "Node name for S&R": "ImageBatch",
              "cnr_id": "comfy-core",
              "ver": "0.3.38"
            },
            "size": [
              140,
              46
            ],
            "type": "ImageBatch",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 156,
            "inputs": [
              {
                "link": 233,
                "localized_name": "image",
                "name": "image",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 10,
            "outputs": [
              {
                "links": [
                  234
                ],
                "localized_name": "MASK",
                "name": "MASK",
                "type": "MASK"
              }
            ],
            "pos": [
              440,
              700
            ],
            "properties": {
              "Node name for S&R": "ImageToMask",
              "cnr_id": "comfy-core",
              "ver": "0.3.38"
            },
            "size": [
              270,
              58
            ],
            "type": "ImageToMask",
            "widgets_values": [
              "red"
            ]
          },
          {
            "flags": {},
            "id": 146,
            "inputs": [
              {
                "link": 275,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 278,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  221
                ],
                "localized_name": "MASK",
                "name": "MASK",
                "type": "MASK"
              }
            ],
            "pos": [
              -480,
              890
            ],
            "properties": {
              "Node name for S&R": "SolidMask",
              "cnr_id": "comfy-core",
              "ver": "0.3.38"
            },
            "size": [
              270,
              106
            ],
            "type": "SolidMask",
            "widgets_values": [
              1,
              512,
              512
            ]
          },
          {
            "flags": {},
            "id": 154,
            "inputs": [
              {
                "link": 229,
                "localized_name": "mask",
                "name": "mask",
                "type": "MASK"
              }
            ],
            "mode": 0,
            "order": 8,
            "outputs": [
              {
                "links": [
                  230,
                  231
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              100,
              700
            ],
            "properties": {
              "Node name for S&R": "MaskToImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.38"
            },
            "size": [
              270,
              26
            ],
            "type": "MaskToImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 152,
            "inputs": [
              {
                "link": 276,
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                }
              },
              {
                "link": 279,
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                }
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": [
                  229
                ],
                "localized_name": "MASK",
                "name": "MASK",
                "type": "MASK"
              }
            ],
            "pos": [
              100,
              890
            ],
            "properties": {
              "Node name for S&R": "SolidMask",
              "cnr_id": "comfy-core",
              "ver": "0.3.38"
            },
            "size": [
              270,
              106
            ],
            "type": "SolidMask",
            "widgets_values": [
              0,
              512,
              512
            ]
          },
          {
            "flags": {},
            "id": 157,
            "inputs": [
              {
                "link": 235,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 11,
            "outputs": [],
            "pos": [
              100,
              1060
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.38"
            },
            "size": [
              610,
              340
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 151,
            "inputs": [
              {
                "link": 225,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [],
            "pos": [
              -480,
              1060
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.3.38"
            },
            "size": [
              510,
              340
            ],
            "type": "PreviewImage",
            "widgets_values": []
          }
        ],
        "outputNode": {
          "bounding": [
            770,
            995,
            120,
            80
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "4bbef645-0d10-4b98-8edc-cad7f340d6fd",
            "linkIds": [
              226
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              790,
              1015
            ],
            "type": "IMAGE"
          },
          {
            "id": "e83e3eaf-5177-4ce4-9b96-0be7219fa0fa",
            "linkIds": [
              234
            ],
            "localized_name": "MASK",
            "name": "MASK",
            "pos": [
              790,
              1035
            ],
            "type": "MASK"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 22,
          "lastLinkId": 284,
          "lastNodeId": 190,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        2183.5559307485028,
        332.43222464180224
      ],
      "scale": 0.5406481409303284
    },
    "frontendVersion": "1.32.1",
    "node_versions": {
      "comfy-core": "0.3.34"
    }
  },
  "groups": [
    {
      "bounding": [
        -870,
        -20,
        410,
        620
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 1,
      "title": "Step1 - Load models here"
    },
    {
      "bounding": [
        -440,
        -20,
        450,
        620
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 2,
      "title": "Step4 - Prompt"
    },
    {
      "bounding": [
        30,
        -20,
        720,
        620
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 3,
      "title": "Sampling & Decoding"
    },
    {
      "bounding": [
        770,
        -20,
        720,
        1010
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 4,
      "title": "Save Video(Mp4)"
    },
    {
      "bounding": [
        -120,
        660,
        400,
        200
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 9,
      "title": "Length - 1 should be divisible by 4"
    },
    {
      "bounding": [
        -870,
        1090,
        720,
        230
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 17,
      "title": "Step3 - Video size (should be divisible by 16)"
    },
    {
      "bounding": [
        -120,
        870,
        400,
        170
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 20,
      "title": "Batch Size = Length - 2"
    },
    {
      "bounding": [
        -1310,
        -20,
        420,
        360
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 21,
      "title": "1.3B"
    },
    {
      "bounding": [
        -850,
        30,
        370,
        330
      ],
      "color": "#A88",
      "flags": {},
      "font_size": 24,
      "id": 22,
      "title": "14B"
    },
    {
      "bounding": [
        -130,
        620,
        460,
        450
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 23,
      "title": "You can just keep these setting as default"
    },
    {
      "bounding": [
        -870,
        620,
        720,
        450
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 24,
      "title": "Step2 - Upload the first and last frame"
    }
  ],
  "id": "96995b8f-85c5-47af-b3cf-7b6a24675694",
  "last_link_id": 293,
  "last_node_id": 194,
  "links": [
    [
      76,
      39,
      0,
      8,
      1,
      "VAE"
    ],
    [
      95,
      48,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      96,
      6,
      0,
      49,
      0,
      "CONDITIONING"
    ],
    [
      97,
      7,
      0,
      49,
      1,
      "CONDITIONING"
    ],
    [
      98,
      49,
      0,
      3,
      1,
      "CONDITIONING"
    ],
    [
      99,
      49,
      1,
      3,
      2,
      "CONDITIONING"
    ],
    [
      101,
      39,
      0,
      49,
      2,
      "VAE"
    ],
    [
      115,
      49,
      3,
      58,
      1,
      "INT"
    ],
    [
      116,
      3,
      0,
      58,
      0,
      "LATENT"
    ],
    [
      117,
      58,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      129,
      68,
      0,
      69,
      0,
      "VIDEO"
    ],
    [
      139,
      8,
      0,
      68,
      0,
      "IMAGE"
    ],
    [
      160,
      49,
      2,
      3,
      3,
      "LATENT"
    ],
    [
      209,
      131,
      0,
      49,
      8,
      "INT"
    ],
    [
      270,
      37,
      0,
      178,
      0,
      "MODEL"
    ],
    [
      272,
      38,
      0,
      178,
      1,
      "CLIP"
    ],
    [
      274,
      178,
      1,
      7,
      0,
      "CLIP"
    ],
    [
      281,
      140,
      0,
      179,
      0,
      "MODEL"
    ],
    [
      282,
      38,
      0,
      179,
      1,
      "CLIP"
    ],
    [
      283,
      179,
      0,
      48,
      0,
      "MODEL"
    ],
    [
      284,
      179,
      1,
      6,
      0,
      "CLIP"
    ],
    [
      285,
      144,
      0,
      191,
      0,
      "IMAGE"
    ],
    [
      286,
      147,
      0,
      191,
      1,
      "IMAGE"
    ],
    [
      287,
      171,
      0,
      191,
      2,
      "INT"
    ],
    [
      288,
      191,
      0,
      49,
      3,
      "IMAGE"
    ],
    [
      289,
      191,
      1,
      49,
      4,
      "MASK"
    ],
    [
      290,
      193,
      0,
      191,
      3,
      "INT"
    ],
    [
      291,
      194,
      0,
      191,
      4,
      "INT"
    ],
    [
      292,
      193,
      0,
      49,
      6,
      "INT"
    ],
    [
      293,
      194,
      0,
      49,
      7,
      "INT"
    ]
  ],
  "nodes": [
    {
      "flags": {
        "collapsed": false
      },
      "id": 68,
      "inputs": [
        {
          "link": 139,
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "audio",
          "shape": 7,
          "type": "AUDIO"
        }
      ],
      "mode": 0,
      "order": 25,
      "outputs": [
        {
          "links": [
            129
          ],
          "name": "VIDEO",
          "type": "VIDEO"
        }
      ],
      "pos": [
        790,
        60
      ],
      "properties": {
        "Node name for S&R": "CreateVideo",
        "cnr_id": "comfy-core",
        "ver": "0.3.34"
      },
      "size": [
        270,
        78
      ],
      "type": "CreateVideo",
      "widgets_values": [
        16
      ]
    },
    {
      "flags": {},
      "id": 48,
      "inputs": [
        {
          "link": 283,
          "name": "model",
          "type": "MODEL"
        }
      ],
      "mode": 0,
      "order": 19,
      "outputs": [
        {
          "links": [
            95
          ],
          "name": "MODEL",
          "slot_index": 0,
          "type": "MODEL"
        }
      ],
      "pos": [
        50,
        60
      ],
      "properties": {
        "Node name for S&R": "ModelSamplingSD3",
        "cnr_id": "comfy-core",
        "ver": "0.3.34"
      },
      "size": [
        315,
        58
      ],
      "type": "ModelSamplingSD3",
      "widgets_values": [
        8.000000000000002
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 58,
      "inputs": [
        {
          "link": 116,
          "name": "samples",
          "type": "LATENT"
        },
        {
          "link": 115,
          "name": "trim_amount",
          "type": "INT",
          "widget": {
            "name": "trim_amount"
          }
        }
      ],
      "mode": 0,
      "order": 23,
      "outputs": [
        {
          "links": [
            117
          ],
          "name": "LATENT",
          "type": "LATENT"
        }
      ],
      "pos": [
        410,
        400
      ],
      "properties": {
        "Node name for S&R": "TrimVideoLatent",
        "cnr_id": "comfy-core",
        "ver": "0.3.34"
      },
      "size": [
        315,
        60
      ],
      "type": "TrimVideoLatent",
      "widgets_values": [
        0
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 8,
      "inputs": [
        {
          "link": 117,
          "name": "samples",
          "type": "LATENT"
        },
        {
          "link": 76,
          "name": "vae",
          "type": "VAE"
        }
      ],
      "mode": 0,
      "order": 24,
      "outputs": [
        {
          "links": [
            139
          ],
          "name": "IMAGE",
          "slot_index": 0,
          "type": "IMAGE"
        }
      ],
      "pos": [
        410,
        510
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.3.34"
      },
      "size": [
        315,
        46
      ],
      "type": "VAEDecode",
      "widgets_values": []
    },
    {
      "bgcolor": "#335",
      "color": "#223",
      "flags": {},
      "id": 7,
      "inputs": [
        {
          "link": 274,
          "name": "clip",
          "type": "CLIP"
        }
      ],
      "mode": 0,
      "order": 18,
      "outputs": [
        {
          "links": [
            97
          ],
          "name": "CONDITIONING",
          "slot_index": 0,
          "type": "CONDITIONING"
        }
      ],
      "pos": [
        -430,
        400
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.34"
      },
      "size": [
        425.27801513671875,
        180.6060791015625
      ],
      "title": "CLIP Text Encode (Negative Prompt)",
      "type": "CLIPTextEncode",
      "widgets_values": [
        "过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走,过曝，"
      ]
    },
    {
      "bgcolor": "#533",
      "color": "#322",
      "flags": {},
      "id": 184,
      "inputs": [],
      "mode": 4,
      "order": 0,
      "outputs": [
        {
          "links": [],
          "name": "CLIP",
          "slot_index": 0,
          "type": "CLIP"
        }
      ],
      "pos": [
        -1280,
        400
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "text_encoders",
            "name": "umt5_xxl_fp16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp16.safetensors"
          }
        ],
        "ver": "0.3.34"
      },
      "size": [
        370,
        106
      ],
      "type": "CLIPLoader",
      "widgets_values": [
        "umt5_xxl_fp16.safetensors",
        "wan",
        "default"
      ]
    },
    {
      "bgcolor": "#533",
      "color": "#322",
      "flags": {},
      "id": 178,
      "inputs": [
        {
          "link": 270,
          "name": "model",
          "type": "MODEL"
        },
        {
          "link": 272,
          "name": "clip",
          "type": "CLIP"
        }
      ],
      "mode": 4,
      "order": 15,
      "outputs": [
        {
          "links": [],
          "name": "MODEL",
          "type": "MODEL"
        },
        {
          "links": [
            274
          ],
          "name": "CLIP",
          "type": "CLIP"
        }
      ],
      "pos": [
        -1280,
        190
      ],
      "properties": {
        "Node name for S&R": "LoraLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "loras",
            "name": "Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors",
            "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors"
          }
        ],
        "ver": "0.3.38"
      },
      "size": [
        350,
        126
      ],
      "type": "LoraLoader",
      "widgets_values": [
        "Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors",
        0.30000000000000004,
        1
      ]
    },
    {
      "bgcolor": "#533",
      "color": "#322",
      "flags": {},
      "id": 37,
      "inputs": [],
      "mode": 4,
      "order": 1,
      "outputs": [
        {
          "links": [
            270
          ],
          "name": "MODEL",
          "slot_index": 0,
          "type": "MODEL"
        }
      ],
      "pos": [
        -1280,
        60
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "diffusion_models",
            "name": "wan2.1_vace_1.3B_fp16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_1.3B_fp16.safetensors"
          }
        ],
        "ver": "0.3.34"
      },
      "size": [
        350,
        82
      ],
      "type": "UNETLoader",
      "widgets_values": [
        "wan2.1_vace_1.3B_fp16.safetensors",
        "default"
      ]
    },
    {
      "flags": {},
      "id": 140,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            281
          ],
          "name": "MODEL",
          "slot_index": 0,
          "type": "MODEL"
        }
      ],
      "pos": [
        -840,
        100
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "diffusion_models",
            "name": "wan2.1_vace_14B_fp16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors"
          }
        ],
        "ver": "0.3.34"
      },
      "size": [
        350,
        90
      ],
      "type": "UNETLoader",
      "widgets_values": [
        "wan2.1_vace_14B_fp16.safetensors",
        "default"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 6,
      "inputs": [
        {
          "link": 284,
          "name": "clip",
          "type": "CLIP"
        }
      ],
      "mode": 0,
      "order": 20,
      "outputs": [
        {
          "links": [
            96
          ],
          "name": "CONDITIONING",
          "slot_index": 0,
          "type": "CONDITIONING"
        }
      ],
      "pos": [
        -420,
        70
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.34"
      },
      "size": [
        400,
        280
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "type": "CLIPTextEncode",
      "widgets_values": [
        "A girl is dancing in a sea of flowers, slowly moving her hands, stretching her arms. There is a super close - up and a close - up of the upper body. The character is surrounded by other transparent glass flowers in the style of Nicoletta Ceccoli, creating a beautiful, surreal, and emotionally expressive movie scene. It has a white and transparent feeling, is dreamy, and in close range. "
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 77,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [],
      "pos": [
        -1830,
        10
      ],
      "properties": {},
      "size": [
        490,
        800
      ],
      "type": "MarkdownNote",
      "widgets_values": [
        "[Tutorial](https://docs.comfy.org/tutorials/video/wan/vace) \n\n## 14B Support 480P 720P\n\n**Diffusion Model**\n- [wan2.1_vace_14B_fp16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors)\n\n**LoRA**\n- [Wan21_CausVid_14B_T2V_lora_rank32.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_CausVid_14B_T2V_lora_rank32.safetensors)\n\nFYI: Using an RTX 4090, it takes approximately 40 minutes at 81 frames and 720P resolution.\n\nAfter using Wan21_CausVid_14B_T2V_lora_rank32.safetensors, it only takes about 4 minutes.\n\n## 1.3B Support 480P only\n\n**Diffusion Model**\n- [wan2.1_vace_1.3B_fp16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_1.3B_fp16.safetensors)\n\n**LoRA**\n- [Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors)\n\n## Other Models\n\n* You may already have these models if you use Wan workflow before.\n\n**VAE**\n- [wan_2.1_vae.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors?download=true)\n\n**Text encoders**   Chose one of following model\n- [umt5_xxl_fp16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp16.safetensors?download=true)\n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true)\n\n> You can choose between fp16 of fp8; I used fp16 to match what kijai's wrapper is compatible with.\n\nFile save location\n\n```\nComfyUI/\n├── models/\n│   ├── diffusion_models/\n│   │   ├-── wan2.1_vace_14B_fp16.safetensors\n│   │   └─── wan2.1_vace_1.3B_fp16.safetensors \n│   ├── text_encoders/\n│   │   └─── umt5_xxl_fp8_e4m3fn_scaled.safetensors # or fp16\n│   ├── loras/\n│   │   ├── Wan21_CausVid_14B_T2V_lora_rank32.safetensors\n│   │   └── Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors\n│   └── vae/\n│       └──  wan_2.1_vae.safetensors\n```\n\n## Report issue\n\nIf you have any problems while using this workflow, please report template-related issues via this link: [report the template issue here](https://github.com/Comfy-Org/workflow_templates/issues)."
      ]
    },
    {
      "flags": {},
      "id": 179,
      "inputs": [
        {
          "link": 281,
          "name": "model",
          "type": "MODEL"
        },
        {
          "link": 282,
          "name": "clip",
          "type": "CLIP"
        }
      ],
      "mode": 4,
      "order": 16,
      "outputs": [
        {
          "links": [
            283
          ],
          "name": "MODEL",
          "type": "MODEL"
        },
        {
          "links": [
            284
          ],
          "name": "CLIP",
          "type": "CLIP"
        }
      ],
      "pos": [
        -840,
        230
      ],
      "properties": {
        "Node name for S&R": "LoraLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "loras",
            "name": "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
            "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan21_CausVid_14B_T2V_lora_rank32.safetensors"
          }
        ],
        "ver": "0.3.38"
      },
      "size": [
        350,
        126
      ],
      "type": "LoraLoader",
      "widgets_values": [
        "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
        0.30000000000000004,
        1
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 183,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [],
      "pos": [
        420,
        -160
      ],
      "properties": {},
      "size": [
        310,
        130
      ],
      "title": "KSampler Setting",
      "type": "MarkdownNote",
      "widgets_values": [
        "| Parameter | Default | CausVid LoRA (When Enabled)|\n|-----------|--------------------------------|------------------|\n| steps     | 20                             | 2-4              |\n| cfg       | 6.0                            | 1.0              |"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 188,
      "inputs": [],
      "mode": 0,
      "order": 5,
      "outputs": [],
      "pos": [
        -870,
        -120
      ],
      "properties": {},
      "size": [
        400,
        88
      ],
      "title": "About CausVid LoRA",
      "type": "MarkdownNote",
      "widgets_values": [
        "If you have enabled the Load LoRA node, you can try setting the `strength` between 0.3 and 0.7 to find the best result.\n"
      ]
    },
    {
      "flags": {},
      "id": 49,
      "inputs": [
        {
          "link": 96,
          "name": "positive",
          "type": "CONDITIONING"
        },
        {
          "link": 97,
          "name": "negative",
          "type": "CONDITIONING"
        },
        {
          "link": 101,
          "name": "vae",
          "type": "VAE"
        },
        {
          "link": 288,
          "name": "control_video",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 289,
          "name": "control_masks",
          "shape": 7,
          "type": "MASK"
        },
        {
          "link": null,
          "name": "reference_image",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": 292,
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "link": 293,
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        },
        {
          "link": 209,
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          }
        }
      ],
      "mode": 0,
      "order": 21,
      "outputs": [
        {
          "links": [
            98
          ],
          "name": "positive",
          "type": "CONDITIONING"
        },
        {
          "links": [
            99
          ],
          "name": "negative",
          "type": "CONDITIONING"
        },
        {
          "links": [
            160
          ],
          "name": "latent",
          "type": "LATENT"
        },
        {
          "links": [
            115
          ],
          "name": "trim_latent",
          "type": "INT"
        }
      ],
      "pos": [
        50,
        180
      ],
      "properties": {
        "Node name for S&R": "WanVaceToVideo",
        "cnr_id": "comfy-core",
        "ver": "0.3.34"
      },
      "size": [
        315,
        254
      ],
      "type": "WanVaceToVideo",
      "widgets_values": [
        512,
        512,
        45,
        1,
        1
      ]
    },
    {
      "flags": {},
      "id": 3,
      "inputs": [
        {
          "link": 95,
          "name": "model",
          "type": "MODEL"
        },
        {
          "link": 98,
          "name": "positive",
          "type": "CONDITIONING"
        },
        {
          "link": 99,
          "name": "negative",
          "type": "CONDITIONING"
        },
        {
          "link": 160,
          "name": "latent_image",
          "type": "LATENT"
        }
      ],
      "mode": 0,
      "order": 22,
      "outputs": [
        {
          "links": [
            116
          ],
          "name": "LATENT",
          "slot_index": 0,
          "type": "LATENT"
        }
      ],
      "pos": [
        410,
        60
      ],
      "properties": {
        "Node name for S&R": "KSampler",
        "cnr_id": "comfy-core",
        "ver": "0.3.34"
      },
      "size": [
        315,
        262
      ],
      "type": "KSampler",
      "widgets_values": [
        95385376145355,
        "randomize",
        20,
        6,
        "uni_pc",
        "simple",
        1
      ]
    },
    {
      "flags": {},
      "id": 69,
      "inputs": [
        {
          "link": 129,
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "mode": 0,
      "order": 26,
      "outputs": [],
      "pos": [
        790,
        190
      ],
      "properties": {
        "Node name for S&R": "SaveVideo",
        "cnr_id": "comfy-core",
        "ver": "0.3.34"
      },
      "size": [
        676.23095703125,
        774.23095703125
      ],
      "type": "SaveVideo",
      "widgets_values": [
        "video/wan2.1_vace",
        "auto",
        "h264"
      ]
    },
    {
      "flags": {},
      "id": 39,
      "inputs": [],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            76,
            101
          ],
          "name": "VAE",
          "slot_index": 0,
          "type": "VAE"
        }
      ],
      "pos": [
        -840,
        530
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "vae",
            "name": "wan_2.1_vae.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors"
          }
        ],
        "ver": "0.3.34"
      },
      "size": [
        350,
        58
      ],
      "type": "VAELoader",
      "widgets_values": [
        "wan_2.1_vae.safetensors"
      ]
    },
    {
      "flags": {},
      "id": 38,
      "inputs": [],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            272,
            282
          ],
          "name": "CLIP",
          "slot_index": 0,
          "type": "CLIP"
        }
      ],
      "pos": [
        -840,
        390
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "text_encoders",
            "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?download=true"
          }
        ],
        "ver": "0.3.34"
      },
      "size": [
        350,
        106
      ],
      "type": "CLIPLoader",
      "widgets_values": [
        "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
        "wan",
        "default"
      ]
    },
    {
      "flags": {},
      "id": 131,
      "inputs": [],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            209
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        -90,
        750
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt",
        "cnr_id": "comfy-core",
        "ver": "0.3.38"
      },
      "size": [
        310,
        90
      ],
      "title": "Length",
      "type": "PrimitiveInt",
      "widgets_values": [
        81,
        "fixed"
      ]
    },
    {
      "flags": {},
      "id": 171,
      "inputs": [],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            287
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        -80,
        940
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt",
        "cnr_id": "comfy-core",
        "ver": "0.3.38"
      },
      "size": [
        310,
        90
      ],
      "title": "Length",
      "type": "PrimitiveInt",
      "widgets_values": [
        79,
        "fixed"
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 194,
      "inputs": [],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "links": [
            291,
            293
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        -500,
        1210
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt"
      },
      "size": [
        270,
        82
      ],
      "title": "Height",
      "type": "PrimitiveInt",
      "widgets_values": [
        512,
        "fixed"
      ]
    },
    {
      "flags": {
        "collapsed": false
      },
      "id": 193,
      "inputs": [],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "links": [
            290,
            292
          ],
          "name": "INT",
          "type": "INT"
        }
      ],
      "pos": [
        -830,
        1210
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt"
      },
      "size": [
        270,
        82
      ],
      "title": "Width",
      "type": "PrimitiveInt",
      "widgets_values": [
        512,
        "fixed"
      ]
    },
    {
      "flags": {},
      "id": 191,
      "inputs": [
        {
          "link": 285,
          "name": "image1",
          "type": "IMAGE"
        },
        {
          "link": 286,
          "name": "image2",
          "type": "IMAGE"
        },
        {
          "link": 287,
          "name": "amount",
          "type": "INT",
          "widget": {
            "name": "amount"
          }
        },
        {
          "link": 290,
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "link": 291,
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        }
      ],
      "mode": 0,
      "order": 17,
      "outputs": [
        {
          "links": [
            288
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            289
          ],
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        390,
        660
      ],
      "properties": {
        "proxyWidgets": [
          [
            "-1",
            "amount"
          ],
          [
            "-1",
            "width"
          ],
          [
            "-1",
            "height"
          ]
        ]
      },
      "size": [
        350,
        140
      ],
      "title": "Wan VACE  FLF2V image batch",
      "type": "e3a0666e-aa4f-4862-bc23-8f02f3dbd45b",
      "widgets_values": [
        30,
        512,
        512
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 181,
      "inputs": [],
      "mode": 0,
      "order": 12,
      "outputs": [],
      "pos": [
        -1110,
        1170
      ],
      "properties": {},
      "size": [
        220,
        130
      ],
      "title": "Video size",
      "type": "MarkdownNote",
      "widgets_values": [
        "| Model                                                         | 480P | 720P |\n| ------------------------------------------------------------ | ---- | ---- |\n| [VACE-1.3B](https://huggingface.co/Wan-AI/Wan2.1-VACE-1.3B) | ✅   | ❌   |\n| [VACE-14B](https://huggingface.co/Wan-AI/Wan2.1-VACE-14B)   | ✅   | ✅   |"
      ]
    },
    {
      "flags": {},
      "id": 147,
      "inputs": [],
      "mode": 0,
      "order": 13,
      "outputs": [
        {
          "links": [
            286
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -460,
        740
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.38"
      },
      "size": [
        274.080078125,
        314.00006103515625
      ],
      "title": "Last frame",
      "type": "LoadImage",
      "widgets_values": [
        "video_wan_vace_flf2v_end_image.png",
        "image"
      ]
    },
    {
      "flags": {},
      "id": 144,
      "inputs": [],
      "mode": 0,
      "order": 14,
      "outputs": [
        {
          "links": [
            285
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        -820,
        730
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.38"
      },
      "size": [
        274.080078125,
        314.00006103515625
      ],
      "title": "first frame",
      "type": "LoadImage",
      "widgets_values": [
        "video_wan_vace_flf2v_start_image.png",
        "image"
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}