{
  "id": "2151231a-2580-4a22-bafc-646dac06467a",
  "revision": 0,
  "last_node_id": 13,
  "last_link_id": 16,
  "nodes": [
    {
      "id": 1,
      "type": "UNETLoader",
      "pos": [
        565,
        440
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "unet_name",
          "name": "unet_name",
          "type": "COMBO",
          "widget": {
            "name": "unet_name"
          }
        },
        {
          "localized_name": "weight_dtype",
          "name": "weight_dtype",
          "type": "COMBO",
          "widget": {
            "name": "weight_dtype"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "MODEL",
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            2
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "models": [
          {
            "name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
            "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors",
            "directory": "diffusion_models"
          }
        ]
      },
      "widgets_values": [
        "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
        "default"
      ],
      "widgets_values_named": {
        "unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
        "weight_dtype": "default"
      }
    },
    {
      "id": 2,
      "type": "CLIPLoader",
      "pos": [
        565,
        600
      ],
      "size": [
        270,
        106
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "clip_name",
          "name": "clip_name",
          "type": "COMBO",
          "widget": {
            "name": "clip_name"
          }
        },
        {
          "localized_name": "type",
          "name": "type",
          "type": "COMBO",
          "widget": {
            "name": "type"
          }
        },
        {
          "localized_name": "device",
          "name": "device",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "device"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "CLIP",
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            13
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "models": [
          {
            "name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
            "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
        "minimax",
        "default"
      ],
      "widgets_values_named": {
        "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
        "type": "minimax",
        "device": "default"
      }
    },
    {
      "id": 3,
      "type": "VAELoader",
      "pos": [
        565,
        770
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "vae_name",
          "name": "vae_name",
          "type": "COMBO",
          "widget": {
            "name": "vae_name"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "VAE",
          "name": "VAE",
          "type": "VAE",
          "links": [
            7,
            14
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "models": [
          {
            "name": "minimax_h3_video_vae_fp16.safetensors",
            "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": [
        "minimax_h3_video_vae_fp16.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "minimax_h3_video_vae_fp16.safetensors"
      }
    },
    {
      "id": 4,
      "type": "VAELoader",
      "pos": [
        565,
        880
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "vae_name",
          "name": "vae_name",
          "type": "COMBO",
          "widget": {
            "name": "vae_name"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "VAE",
          "name": "VAE",
          "type": "VAE",
          "links": [
            9
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "models": [
          {
            "name": "minimax_h3_audio_vae_fp32.safetensors",
            "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": [
        "minimax_h3_audio_vae_fp32.safetensors"
      ],
      "widgets_values_named": {
        "vae_name": "minimax_h3_audio_vae_fp32.safetensors"
      }
    },
    {
      "id": 5,
      "type": "ConditioningZeroOut",
      "pos": [
        1440,
        772
      ],
      "size": [
        190,
        26
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "conditioning",
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 1
        }
      ],
      "outputs": [
        {
          "localized_name": "CONDITIONING",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            4
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ConditioningZeroOut"
      }
    },
    {
      "id": 6,
      "type": "KSampler",
      "pos": [
        1400,
        440
      ],
      "size": [
        270,
        262
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "model",
          "name": "model",
          "type": "MODEL",
          "link": 2
        },
        {
          "localized_name": "positive",
          "name": "positive",
          "type": "CONDITIONING",
          "link": 3
        },
        {
          "localized_name": "negative",
          "name": "negative",
          "type": "CONDITIONING",
          "link": 4
        },
        {
          "localized_name": "latent_image",
          "name": "latent_image",
          "type": "LATENT",
          "link": 5
        },
        {
          "localized_name": "seed",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        },
        {
          "localized_name": "steps",
          "name": "steps",
          "type": "INT",
          "widget": {
            "name": "steps"
          }
        },
        {
          "localized_name": "cfg",
          "name": "cfg",
          "type": "FLOAT",
          "widget": {
            "name": "cfg"
          }
        },
        {
          "localized_name": "sampler_name",
          "name": "sampler_name",
          "type": "COMBO",
          "widget": {
            "name": "sampler_name"
          }
        },
        {
          "localized_name": "scheduler",
          "name": "scheduler",
          "type": "COMBO",
          "widget": {
            "name": "scheduler"
          }
        },
        {
          "localized_name": "denoise",
          "name": "denoise",
          "type": "FLOAT",
          "widget": {
            "name": "denoise"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "LATENT",
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            6,
            8
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        22,
        "fixed",
        20,
        1,
        "res_multistep",
        "simple",
        1
      ],
      "widgets_values_named": {
        "seed": 22,
        "control_after_generate": "fixed",
        "steps": 20,
        "cfg": 1,
        "sampler_name": "res_multistep",
        "scheduler": "simple",
        "denoise": 1
      }
    },
    {
      "id": 7,
      "type": "VAEDecode",
      "pos": [
        1760,
        440
      ],
      "size": [
        190,
        46
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "samples",
          "name": "samples",
          "type": "LATENT",
          "link": 6
        },
        {
          "localized_name": "vae",
          "name": "vae",
          "type": "VAE",
          "link": 7
        }
      ],
      "outputs": [
        {
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            10
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 8,
      "type": "VAEDecodeAudio",
      "pos": [
        1760,
        560
      ],
      "size": [
        190,
        46
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "samples",
          "name": "samples",
          "type": "LATENT",
          "link": 8
        },
        {
          "localized_name": "vae",
          "name": "vae",
          "type": "VAE",
          "link": 9
        }
      ],
      "outputs": [
        {
          "localized_name": "AUDIO",
          "name": "AUDIO",
          "type": "AUDIO",
          "links": [
            11
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecodeAudio"
      }
    },
    {
      "id": 9,
      "type": "CreateVideo",
      "pos": [
        2000,
        440
      ],
      "size": [
        270,
        150
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE",
          "link": 10
        },
        {
          "localized_name": "audio",
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": 11
        },
        {
          "localized_name": "fps",
          "name": "fps",
          "type": "FLOAT",
          "widget": {
            "name": "fps"
          }
        },
        {
          "localized_name": "bit_depth",
          "name": "bit_depth",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "bit_depth"
          }
        },
        {
          "localized_name": "color_space",
          "name": "color_space",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "color_space"
          }
        },
        {
          "localized_name": "codec",
          "name": "codec",
          "shape": 7,
          "type": "COMBO",
          "widget": {
            "name": "codec"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "VIDEO",
          "name": "VIDEO",
          "type": "VIDEO",
          "links": [
            12
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CreateVideo"
      },
      "widgets_values": [
        24,
        "auto",
        "sRGB",
        "none"
      ],
      "widgets_values_named": {
        "fps": 24,
        "bit_depth": "auto",
        "color_space": "sRGB",
        "codec": "none"
      }
    },
    {
      "id": 10,
      "type": "SaveVideo",
      "pos": [
        2000,
        670
      ],
      "size": [
        270,
        252
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO",
          "link": 12
        },
        {
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        },
        {
          "localized_name": "format",
          "name": "format",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "format"
          }
        },
        {
          "localized_name": "codec",
          "name": "format.codec",
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "format.codec"
          }
        },
        {
          "localized_name": "codec",
          "name": "codec",
          "shape": 7,
          "type": "COMFY_DYNAMICCOMBO_V3",
          "widget": {
            "name": "codec"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "video",
          "name": "video",
          "type": "VIDEO"
        }
      ],
      "properties": {
        "Node name for S&R": "SaveVideo"
      },
      "widgets_values": [
        "Model Chief/Reference to Video - Two Characters",
        "auto",
        "auto",
        "auto"
      ],
      "widgets_values_named": {
        "filename_prefix": "Model Chief/Reference to Video - Two Characters",
        "format": "auto",
        "format.codec": "auto",
        "codec": "auto"
      }
    },
    {
      "id": 11,
      "type": "MiniMaxH3ReferenceToVideo",
      "pos": [
        920,
        600
      ],
      "size": [
        400,
        332
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "clip",
          "name": "clip",
          "type": "CLIP",
          "link": 13
        },
        {
          "localized_name": "vae",
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": 14
        },
        {
          "localized_name": "audio_vae",
          "name": "audio_vae",
          "shape": 7,
          "type": "VAE"
        },
        {
          "localized_name": "ref_image_0",
          "name": "ref_images.ref_image_0",
          "shape": 7,
          "type": "IMAGE",
          "link": 15
        },
        {
          "localized_name": "ref_image_1",
          "name": "ref_images.ref_image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 16
        },
        {
          "localized_name": "ref_image_2",
          "name": "ref_images.ref_image_2",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "localized_name": "ref_video_0",
          "name": "ref_videos.ref_video_0",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "localized_name": "ref_video_audio_0",
          "name": "ref_video_audios.ref_video_audio_0",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "localized_name": "ref_audio_0",
          "name": "ref_audios.ref_audio_0",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "localized_name": "prompt",
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        },
        {
          "localized_name": "width",
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          }
        },
        {
          "localized_name": "height",
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          }
        },
        {
          "localized_name": "length",
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          }
        },
        {
          "localized_name": "ref_image_size",
          "name": "ref_image_size",
          "type": "COMBO",
          "widget": {
            "name": "ref_image_size"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "positive",
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            1,
            3
          ]
        },
        {
          "localized_name": "LATENT",
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            5
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "MiniMaxH3ReferenceToVideo"
      },
      "widgets_values": [
        "subject_definitions:\n<Subject 1> is the young woman in <Picture 1>, with auburn-brown hair pinned up in a loose low bun with soft loose strands, and a cream linen dress with a lace collar.\n<Subject 2> is the man in <Picture 2>, with dark wavy hair, light stubble and brown eyes, in a dark frock coat over a cream waistcoat and a white linen cravat.\n\nsummary:\n[reference generation] The target video shows <Subject 1> and <Subject 2> meeting again in a softly lit 19th-century drawing room.\n\nretention_analysis:\n<Subject 1> (appears in [Shot 1], [Shot 3]): fully_preserved - her face, hair, cream linen dress and lace collar are retained.\n<Subject 2> (appears in [Shot 2]): fully_preserved - his face, dark wavy hair, stubble, frock coat, waistcoat and cravat are retained.\n\ndetailed_description:\nThe target video is a live-action 19th-century period drama shot on 35mm film with fine grain, soft natural window light and a shallow depth of field.\n[Shot 1] A medium close-up, framed from the chest up: <Subject 1> stands by a tall window in an elegant drawing room with pale green walls, close to the camera, her face almost toward the camera, turned slightly to the right, toward a door off-screen. Soft, even daylight from the window on the left of the frame lights her whole face, which is clear and in sharp focus. Her hands are empty and out of frame. From the very first frame her eyes are fully open, clear and bright, looking toward the door, and her head stays still. At the click of the door latch off-screen, her eyes lift a little and her lips part in quiet, hopeful surprise. The camera holds a static shot.\n[Shot 2] At 00:02.400, the camera cuts to a medium close-up of <Subject 2> in the doorway, his face in soft window light; he looks at her, smiles gently, and <Subject 2> (S1), with a low, warm male voice, says clearly and unhurriedly, <d>[English] I told you I'd come back.</d>\n[Shot 3] At 00:05.200, the camera cuts to a close-up of <Subject 1>; a slow, radiant smile spreads across her face, and <Subject 1> (S2), with a soft, warm young female voice, says, <d>[English] You're late.</d> She lets out a small, happy laugh.\n\noverall_soundscape:\nThe door latch clicks, footsteps on wooden floorboards, a clock ticking and birdsong outside the window.\n\nnon_diegetic_music:\nA gentle solo piano melody with soft strings.",
        1344,
        768,
        192,
        "match"
      ],
      "widgets_values_named": {
        "prompt": "subject_definitions:\n<Subject 1> is the young woman in <Picture 1>, with auburn-brown hair pinned up in a loose low bun with soft loose strands, and a cream linen dress with a lace collar.\n<Subject 2> is the man in <Picture 2>, with dark wavy hair, light stubble and brown eyes, in a dark frock coat over a cream waistcoat and a white linen cravat.\n\nsummary:\n[reference generation] The target video shows <Subject 1> and <Subject 2> meeting again in a softly lit 19th-century drawing room.\n\nretention_analysis:\n<Subject 1> (appears in [Shot 1], [Shot 3]): fully_preserved - her face, hair, cream linen dress and lace collar are retained.\n<Subject 2> (appears in [Shot 2]): fully_preserved - his face, dark wavy hair, stubble, frock coat, waistcoat and cravat are retained.\n\ndetailed_description:\nThe target video is a live-action 19th-century period drama shot on 35mm film with fine grain, soft natural window light and a shallow depth of field.\n[Shot 1] A medium close-up, framed from the chest up: <Subject 1> stands by a tall window in an elegant drawing room with pale green walls, close to the camera, her face almost toward the camera, turned slightly to the right, toward a door off-screen. Soft, even daylight from the window on the left of the frame lights her whole face, which is clear and in sharp focus. Her hands are empty and out of frame. From the very first frame her eyes are fully open, clear and bright, looking toward the door, and her head stays still. At the click of the door latch off-screen, her eyes lift a little and her lips part in quiet, hopeful surprise. The camera holds a static shot.\n[Shot 2] At 00:02.400, the camera cuts to a medium close-up of <Subject 2> in the doorway, his face in soft window light; he looks at her, smiles gently, and <Subject 2> (S1), with a low, warm male voice, says clearly and unhurriedly, <d>[English] I told you I'd come back.</d>\n[Shot 3] At 00:05.200, the camera cuts to a close-up of <Subject 1>; a slow, radiant smile spreads across her face, and <Subject 1> (S2), with a soft, warm young female voice, says, <d>[English] You're late.</d> She lets out a small, happy laugh.\n\noverall_soundscape:\nThe door latch clicks, footsteps on wooden floorboards, a clock ticking and birdsong outside the window.\n\nnon_diegetic_music:\nA gentle solo piano melody with soft strings.",
        "width": 1344,
        "height": 768,
        "length": 192,
        "ref_image_size": "match"
      }
    },
    {
      "id": 12,
      "type": "LoadImage",
      "pos": [
        900,
        1010
      ],
      "size": [
        283,
        314
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "image",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          }
        },
        {
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            15
          ]
        },
        {
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "reference-woman.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "reference-woman.png",
        "upload": "image"
      }
    },
    {
      "id": 13,
      "type": "LoadImage",
      "pos": [
        565,
        1010
      ],
      "size": [
        283,
        314
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "localized_name": "image",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          }
        },
        {
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          }
        }
      ],
      "outputs": [
        {
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            16
          ]
        },
        {
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "reference-man.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "reference-man.png",
        "upload": "image"
      }
    }
  ],
  "links": [
    [
      1,
      11,
      0,
      5,
      0,
      "CONDITIONING"
    ],
    [
      2,
      1,
      0,
      6,
      0,
      "MODEL"
    ],
    [
      3,
      11,
      0,
      6,
      1,
      "CONDITIONING"
    ],
    [
      4,
      5,
      0,
      6,
      2,
      "CONDITIONING"
    ],
    [
      5,
      11,
      1,
      6,
      3,
      "LATENT"
    ],
    [
      6,
      6,
      0,
      7,
      0,
      "LATENT"
    ],
    [
      7,
      3,
      0,
      7,
      1,
      "VAE"
    ],
    [
      8,
      6,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      9,
      4,
      0,
      8,
      1,
      "VAE"
    ],
    [
      10,
      7,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      11,
      8,
      0,
      9,
      1,
      "AUDIO"
    ],
    [
      12,
      9,
      0,
      10,
      0,
      "VIDEO"
    ],
    [
      13,
      2,
      0,
      11,
      0,
      "CLIP"
    ],
    [
      14,
      3,
      0,
      11,
      1,
      "VAE"
    ],
    [
      15,
      12,
      0,
      11,
      3,
      "IMAGE"
    ],
    [
      16,
      13,
      0,
      11,
      4,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.9846827133479212,
      "offset": [
        -414.13111111111107,
        -298.2888888888889
      ]
    }
  },
  "version": 0.4
}