• 版本 [version]
  • 下载 141
  • 文件大小 111185
  • 文件计数 1
  • 创建日期 2025年11月25日
  • 最后更新 2026年9月21日

Wan2.2-Animate-角色替换-延长

这是一份开箱即用的视频生成工作流(Wan 2.2、Wan 2.1、SDXL),拖入 ComfyUI 即可运行,全图 53 节点 / 95 连线。核心流程 VHS_VideoCombine ×6、INTConstant ×5、GetImageRangeFromBatch ×3,输出视频,参数已调好,替换输入图即可复现效果。主模型 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 ×6、INTConstant ×5、GetImageRangeFromBatch ×3
  • 输出形式:输出视频
  • 规模:53 节点 / 95 连线
  • 建议显存:16GB 起(视频生成建议 24GB)
  • 适用场景:图生视频、首尾帧、数字人与长视频一致性控制工作流。

工作流节点图

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

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

资源头图

Wan2.2-Animate-角色替换-延长

使用说明

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

源码预览

{
    "id": "52551512-b8e6-4c89-97d8-4feb7b2f1a70",
    "revision": 0,
    "last_node_id": 222,
    "last_link_id": 421,
    "nodes": [
        {
            "id": 179,
            "type": "CLIPVisionLoader",
            "pos": [
                -826.680908203125,
                -419.880126953125
            ],
            "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": 184,
            "type": "CLIPTextEncode",
            "pos": [
                -388.69775390625,
                -498.663330078125
            ],
            "size": [
                425.27801513671875,
                180.6060791015625
            ],
            "flags": [],
            "order": 20,
            "mode": 0,
            "inputs": [
                {
                    "label": "clip",
                    "localized_name": "clip",
                    "name": "clip",
                    "type": "CLIP",
                    "link": 342
                },
                {
                    "label": "text",
                    "localized_name": "文本",
                    "name": "text",
                    "type": "STRING",
                    "widget": {
                        "name": "text"
                    },
                    "link": null
                }
            ],
            "outputs": [
                {
                    "label": "CONDITIONING",
                    "localized_name": "条件",
                    "name": "CONDITIONING",
                    "type": "CONDITIONING",
                    "slot_index": 0,
                    "links": [
                        340,
                        366
                    ]
                }
            ],
            "title": "CLIP Text Encode (Negative Prompt)",
            "properties": {
                "cnr_id": "comfy-core",
                "ver": "0.3.59",
                "Node name for S&R": "CLIPTextEncode"
            },
            "widgets_values": [
                "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
            ],
            "color": "#322",
            "bgcolor": "#533"
        },
        {
            "id": 188,
            "type": "TrimVideoLatent",
            "pos": [
                1111.8314208984375,
                -1194.09
… (完整内容请下载文件查看)

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

发表回复

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

提交评论