{
  "last_node_id": 23,
  "last_link_id": 17,
  "nodes": [
    {
      "id": 20,
      "type": "LoadImage",
      "pos": [
        60,
        60
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            4
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "fictional-man.png",
        "image"
      ]
    },
    {
      "id": 7,
      "type": "UNETLoader",
      "pos": [
        440,
        60
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            1
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader"
      },
      "widgets_values": [
        "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
        "default"
      ]
    },
    {
      "id": 8,
      "type": "LoraLoaderModelOnly",
      "pos": [
        820,
        60
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 1
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            6,
            8
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoaderModelOnly"
      },
      "widgets_values": [
        "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
        1.0
      ]
    },
    {
      "id": 9,
      "type": "CLIPLoader",
      "pos": [
        1200,
        60
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            2
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader"
      },
      "widgets_values": [
        "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
        "minimax",
        "default"
      ]
    },
    {
      "id": 10,
      "type": "VAELoader",
      "pos": [
        60,
        500
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            3,
            15
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "minimax_h3_video_vae_fp16.safetensors"
      ]
    },
    {
      "id": 11,
      "type": "MiniMaxH3ReferenceToVideo",
      "pos": [
        440,
        500
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 2
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 3
        },
        {
          "name": "ref_images.ref_image_0",
          "type": "IMAGE",
          "link": 4,
          "label": "ref_image_0",
          "shape": 7
        },
        {
          "name": "ref_videos.ref_video_0",
          "type": "IMAGE",
          "link": 5,
          "label": "ref_video_0",
          "shape": 7
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            7
          ]
        },
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            13
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "MiniMaxH3ReferenceToVideo"
      },
      "widgets_values": [
        "subject_definitions:\n<Subject 1>: the fictional adult man in <Picture 1>, whose facial identity is transferred: masculine eyes, prominent nose, moustache, short beard and jaw shape.\n<Video 1>: the source close-up performance, facial expressions, head position, long brown hair, background and lighting.\nsummary:\nA photorealistic facial identity replacement of the performer in <Video 1> using the exact face of <Subject 1>. Retain the long brown hairstyle of the original performance.\nretention_analysis:\nTransfer only the facial identity, moustache and beard of <Subject 1>. Fully retain the head position, head size, eye-line, expression timing, long hair, original hand gestures, room and soft daylight in <Video 1>. No body or background redesign. Preserve the original facial action, not the neutral expression of the reference picture.\ndetailed_description:\nOne locked close-up shot lasting three seconds. The performer remains in exactly the source position, looking toward the camera and smiling naturally with the same subtle head movement. The original hand waves beside the face. The face now clearly has the masculine facial features and beard of <Subject 1>, rendered with natural detailed skin pores, soft realistic facial shadows and the existing long brown hair surrounding the face. The head does not change size or drift from the original. Preserve subtle eye motion and original smile timing. No cuts, no text, no camera movement.\noverall_soundscape: silent.\nnon_diegetic_music: none.",
        512,
        512,
        73,
        "max"
      ]
    },
    {
      "id": 12,
      "type": "RandomNoise",
      "pos": [
        820,
        500
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "NOISE",
          "type": "NOISE",
          "links": [
            9
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "RandomNoise"
      },
      "widgets_values": [
        9102026,
        "fixed"
      ]
    },
    {
      "id": 13,
      "type": "BasicGuider",
      "pos": [
        1200,
        500
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 6
        },
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 7
        }
      ],
      "outputs": [
        {
          "name": "GUIDER",
          "type": "GUIDER",
          "links": [
            10
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "BasicGuider"
      },
      "widgets_values": []
    },
    {
      "id": 14,
      "type": "KSamplerSelect",
      "pos": [
        60,
        940
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            11
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSamplerSelect"
      },
      "widgets_values": [
        "res_multistep"
      ]
    },
    {
      "id": 15,
      "type": "BasicScheduler",
      "pos": [
        440,
        940
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 8
        }
      ],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            12
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "BasicScheduler"
      },
      "widgets_values": [
        "simple",
        4,
        1.0
      ]
    },
    {
      "id": 16,
      "type": "SamplerCustomAdvanced",
      "pos": [
        820,
        940
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "noise",
          "type": "NOISE",
          "link": 9
        },
        {
          "name": "guider",
          "type": "GUIDER",
          "link": 10
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 11
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 12
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 13
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            14
          ]
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "SamplerCustomAdvanced"
      },
      "widgets_values": []
    },
    {
      "id": 17,
      "type": "VAEDecodeTiled",
      "pos": [
        1200,
        940
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 14
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 15
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            16
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecodeTiled"
      },
      "widgets_values": [
        256,
        64,
        32,
        8
      ]
    },
    {
      "id": 22,
      "type": "CreateVideo",
      "pos": [
        60,
        1380
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 16
        }
      ],
      "outputs": [
        {
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            17
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CreateVideo"
      },
      "widgets_values": [
        24
      ]
    },
    {
      "id": 23,
      "type": "SaveVideo",
      "pos": [
        440,
        1380
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "link": 17
        }
      ],
      "outputs": [
        {
          "name": "video",
          "type": "VIDEO",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "SaveVideo"
      },
      "widgets_values": [
        "XXON_EDUCATION/face_remake_v4",
        "auto",
        "auto"
      ]
    },
    {
      "id": 1,
      "type": "VHS_LoadVideo",
      "pos": [
        820,
        1380
      ],
      "size": [
        340,
        340
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            5
          ]
        },
        {
          "name": "frame_count",
          "type": "INT",
          "links": []
        },
        {
          "name": "audio",
          "type": "AUDIO",
          "links": []
        },
        {
          "name": "video_info",
          "type": "VHS_VIDEOINFO",
          "links": []
        }
      ],
      "properties": {
        "Node name for S&R": "VHS_LoadVideo"
      },
      "widgets_values": {
        "video": "face-crop-v4.mp4",
        "force_rate": 24,
        "custom_width": 512,
        "custom_height": 512,
        "frame_load_cap": 73,
        "skip_first_frames": 0,
        "select_every_nth": 1,
        "format": "None"
      }
    }
  ],
  "links": [
    [
      1,
      7,
      0,
      8,
      0,
      "MODEL"
    ],
    [
      2,
      9,
      0,
      11,
      0,
      "CLIP"
    ],
    [
      3,
      10,
      0,
      11,
      1,
      "VAE"
    ],
    [
      4,
      20,
      0,
      11,
      2,
      "IMAGE"
    ],
    [
      5,
      1,
      0,
      11,
      3,
      "IMAGE"
    ],
    [
      6,
      8,
      0,
      13,
      0,
      "MODEL"
    ],
    [
      7,
      11,
      0,
      13,
      1,
      "CONDITIONING"
    ],
    [
      8,
      8,
      0,
      15,
      0,
      "MODEL"
    ],
    [
      9,
      12,
      0,
      16,
      0,
      "NOISE"
    ],
    [
      10,
      13,
      0,
      16,
      1,
      "GUIDER"
    ],
    [
      11,
      14,
      0,
      16,
      2,
      "SAMPLER"
    ],
    [
      12,
      15,
      0,
      16,
      3,
      "SIGMAS"
    ],
    [
      13,
      11,
      1,
      16,
      4,
      "LATENT"
    ],
    [
      14,
      16,
      0,
      17,
      0,
      "LATENT"
    ],
    [
      15,
      10,
      0,
      17,
      1,
      "VAE"
    ],
    [
      16,
      17,
      0,
      22,
      0,
      "IMAGE"
    ],
    [
      17,
      22,
      0,
      23,
      0,
      "VIDEO"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.6,
      "offset": [
        0,
        0
      ]
    }
  },
  "version": 0.4
}