• 版本 [version]
  • 下载 176
  • 文件大小 93128
  • 文件计数 1
  • 创建日期 2026年7月27日
  • 最后更新 2026年9月21日

Wan2.2-Animate-角色替换

这是一份开箱即用的视频生成工作流(Wan 2.2、Wan 2.1、SDXL),拖入 ComfyUI 即可运行,全图 39 节点 / 58 连线。核心流程 VHS_VideoCombine ×4、INTConstant ×3、CLIPVisionLoader ×2,输出视频,参数已调好,替换输入图即可复现效果。主模型 clip_vision_h.safetensors、yolox_l.torchscript.pt、dw-ll_ucoco_384_bs5.torchscript.pt。已挂载 LoRA:Wan2.1lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors、Wan2.2WanAnimate_relight_lora_fp16.safetensors。下载后直接导入即可使用,建议显存 16GB 起(视频生成建议 24GB)。

  • 主模型:clip_vision_h.safetensors、yolox_l.torchscript.pt、dw-ll_ucoco_384_bs5.torchscript.pt
  • LoRA / 适配器:Wan2.1lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors、Wan2.2WanAnimate_relight_lora_fp16.safetensors
  • 核心节点:VHS_VideoCombine ×4、INTConstant ×3、CLIPVisionLoader ×2
  • 输出形式:输出视频
  • 规模:39 节点 / 58 连线
  • 建议显存:16GB 起(视频生成建议 24GB)
  • 适用场景:图生视频、首尾帧、数字人与长视频一致性控制工作流。

工作流节点图

Wan2.2-Animate-角色替换 工作流节点图

图较大可横向滚动;点击图片查看高清矢量原图(浏览器中可自由缩放)。

资源头图

Wan2.2-Animate-角色替换

使用说明

下载工作流文件后在 ComfyUI 中直接拖入画布(或菜单 Load 导入)即可运行;缺失的自定义节点用 ComfyUI Manager 一键安装,模型按文件名放入对应的 models 目录。

源码预览

{
    "id": "8b7a9a57-2303-4ef5-9fc2-bf41713bd1fc",
    "revision": 0,
    "last_node_id": 210,
    "last_link_id": 394,
    "nodes": [
        {
            "id": 179,
            "type": "CLIPVisionLoader",
            "pos": [
                -378.9688720703125,
                -444.82635498046875
            ],
            "size": [
                306.36004638671875,
                58
            ],
            "flags": [],
            "order": 0,
            "mode": 0,
            "inputs": [
                {
                    "label": "clip_name",
                    "localized_name": "clip名称",
                    "name": "clip_name",
                    "type": "COMBO",
                    "widget": {
                        "name": "clip_name"
                    },
                    "link": null
                }
            ],
            "outputs": [
                {
                    "label": "CLIP_VISION",
                    "localized_name": "CLIP视觉",
                    "name": "CLIP_VISION",
                    "type": "CLIP_VISION",
                    "slot_index": 0,
                    "links": []
                }
            ],
            "properties": {
                "cnr_id": "comfy-core",
                "ver": "0.3.59",
                "Node name for S&R": "CLIPVisionLoader",
                "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": 182,
            "type": "WanAnimateToVideo",
            "pos": [
                999.3702392578125,
                -1786.434814453125
            ],
            "size": [
                324.751953125,
                358
            ],
            "flags": [],
            "order": 31,
            "mode": 0,
            "inputs": [
                {
                    "label": "positive",
                    "localized_name": "positive",
                    "name": "positive",
                    "type": "CONDITIONING",
                    "link": 339
                },
                {
                    "label": "negative",
                    "localized_name": "negative",
                    "name": "negative",
                    "type": "CONDITIONING",
                    "link": 340
                },
                {
                    "label": "vae",
                    "localized_name": "vae",
                    "name": "vae",
                    "type": "VAE",
                    "link": 330
                },
                {
                    "label": "clip_vision_output",
                    "localized_name": "clip_vision_output",
                    "name": "clip_vision_output",
                    "shape": 7,
                    "type": "CLIP_VISION_OUTPUT",
                    "link": 345
                },
                {
                    "label": "reference_image",
                    "localized_name": "reference_image",
                    "name": "reference_image",
                    "shape": 7,
                    "type": "IMAGE",
                    "link": 332
                },
                {
                    "label": "face_video",
                    "localized_name": "face_video",
                    "name": "face_video",
                    "shape": 7,
                    "type": "IMAGE",
                    "link": 380
                },
                {
                    
… (完整内容请下载文件查看)

代码较长,以上仅前 3800 字符 —— 点击下方按钮下载完整 JSON。

发表回复

你的电子邮件地址不会被公开 * 为必填字段

提交评论