{
 "1": {
  "inputs": {
   "file": "source_shot.mp4"
  },
  "class_type": "LoadVideo",
  "_meta": {
   "title": "Source shot (padded to the length grid)"
  }
 },
 "2": {
  "inputs": {
   "video": [
    "1",
    0
   ]
  },
  "class_type": "GetVideoComponents"
 },
 "3": {
  "inputs": {
   "image": "reference_1.png"
  },
  "class_type": "LoadImage",
  "_meta": {
   "title": "Picture 1: main cut-out on grey"
  }
 },
 "4": {
  "inputs": {
   "image": "reference_2.png"
  },
  "class_type": "LoadImage",
  "_meta": {
   "title": "Picture 2: second view (or Picture 1 again)"
  }
 },
 "5": {
  "inputs": {
   "image": "reference_3.png"
  },
  "class_type": "LoadImage",
  "_meta": {
   "title": "Picture 3: third view (or Picture 1 again)"
  }
 },
 "6": {
  "inputs": {
   "image": [
    "2",
    0
   ]
  },
  "class_type": "GetImageSize"
 },
 "8": {
  "inputs": {
   "image": [
    "2",
    0
   ],
   "upscale_method": "area",
   "width": 384,
   "height": 288,
   "crop": "disabled"
  },
  "class_type": "ImageScale",
  "_meta": {
   "title": "Reference video: the source shot, small (keeps the actors' faces)"
  }
 },
 "24": {
  "inputs": {
   "value": 1.0,
   "width": [
    "6",
    0
   ],
   "height": [
    "6",
    1
   ]
  },
  "class_type": "SolidMask"
 },
 "25": {
  "inputs": {
   "mask": [
    "24",
    0
   ]
  },
  "class_type": "MaskToImage"
 },
 "26": {
  "inputs": {
   "image": [
    "25",
    0
   ],
   "amount": [
    "6",
    2
   ]
  },
  "class_type": "RepeatImageBatch"
 },
 "27": {
  "inputs": {
   "image": [
    "26",
    0
   ],
   "channel": "red"
  },
  "class_type": "ImageToMask",
  "_meta": {
   "title": "Whole frame, every frame (redraw everything)"
  }
 },
 "40": {
  "inputs": {
   "model_name": "depth_anything_3_mono_large.safetensors",
   "weight_dtype": "default"
  },
  "class_type": "LoadDA3Model"
 },
 "41": {
  "inputs": {
   "da3_model": [
    "40",
    0
   ],
   "image": [
    "2",
    0
   ],
   "resolution": 504,
   "resize_method": "lower_bound_resize",
   "mode": "mono"
  },
  "class_type": "DA3Inference"
 },
 "42": {
  "inputs": {
   "da3_geometry": [
    "41",
    0
   ],
   "output": "depth",
   "output.normalization": "v2_style",
   "output.apply_sky_clip": true
  },
  "class_type": "DA3Render",
  "_meta": {
   "title": "Depth of the source (guides the motion)"
  }
 },
 "50": {
  "inputs": {
   "unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
   "weight_dtype": "default"
  },
  "class_type": "UNETLoader"
 },
 "51": {
  "inputs": {
   "model": [
    "50",
    0
   ],
   "lora_name": "minimax_h3_turbo_v4_step600_ema.safetensors",
   "strength_model": 1
  },
  "class_type": "LoraLoaderModelOnly",
  "_meta": {
   "title": "Turbo v4 LoRA"
  }
 },
 "52": {
  "inputs": {
   "name": "minimax_h3_fun_controlnet_union_2.0_pruned_int8_convrot.safetensors"
  },
  "class_type": "ModelPatchLoader"
 },
 "53": {
  "inputs": {
   "vae_name": "minimax_h3_video_vae_fp16.safetensors"
  },
  "class_type": "VAELoader"
 },
 "54": {
  "inputs": {
   "vae_name": "minimax_h3_audio_vae_fp32.safetensors"
  },
  "class_type": "VAELoader"
 },
 "55": {
  "inputs": {
   "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
   "type": "minimax",
   "device": "default"
  },
  "class_type": "CLIPLoader"
 },
 "56": {
  "inputs": {
   "model": [
    "51",
    0
   ],
   "model_patch": [
    "52",
    0
   ],
   "vae": [
    "53",
    0
   ],
   "strength": 1.5,
   "start_percent": 0.0,
   "end_percent": 0.5,
   "control_video": [
    "42",
    0
   ],
   "mask": [
    "27",
    0
   ],
   "source_video": [
    "2",
    0
   ]
  },
  "class_type": "MiniMaxH3FunControlNetApply",
  "_meta": {
   "title": "Control (strength 1.5, end 0.5; for more creature detail raise end toward 1.0, then check the faces)"
  }
 },
 "57": {
  "inputs": {
   "clip": [
    "55",
    0
   ],
   "vae": [
    "53",
    0
   ],
   "audio_vae": [
    "54",
    0
   ],
   "prompt": "subject_definitions:\n<Subject 1> is the {CREATURE OR OBJECT} shown in <Picture 1>, <Picture 2> and <Picture 3>: {DESIGN: shape, skin or surface, colour, distinctive marks}.\n<Subject 2> is the scene: {PLACE}, with {WHAT STAYS: the set, the light}.\n<Subject 3> is {WHO, BY CLOTHING AND ACTION, e.g. \"the man in the brown vest crouching by the nest\"}. {ONE LINE PER PERSON WHO STAYS: <Subject 4> ... . Their faces come from the reference video (your shot), so face pictures are optional: if you add one, load it into a new Load Image connected to the next free ref_images input and write \"shown in <Picture 4>\". Never write \"no people\". Delete this block if nobody is in the shot.}\n\nsummary:\n[reference generation] A photoreal modern visual effects shot inserted into a {YEAR} television series: <Subject 1> in <Subject 2>, following the given motion exactly.\n\nretention_analysis:\n<Subject 1>: fully_preserved design from the pictures, adapted to the scene's lighting.\n<Subject 2>: fully_preserved scene geometry, lighting, exposure and camera.\n\ndetailed_description:\nRealistic {YEAR} live-action television footage with natural film grain. {WHAT IT DOES, AS IN YOUR SHOT}. Where only part of it is in frame, only that part is in frame. The camera and the framing stay exactly the same.\n\noverall_soundscape:\n{THE SHOT'S SOUND}.\n\nnon_diegetic_music:\nN/A\n",
   "width": 1024,
   "height": 768,
   "length": 124,
   "ref_image_size": "match",
   "ref_images.ref_image_0": [
    "3",
    0
   ],
   "ref_images.ref_image_1": [
    "4",
    0
   ],
   "ref_images.ref_image_2": [
    "5",
    0
   ],
   "ref_videos.ref_video_0": [
    "8",
    0
   ]
  },
  "class_type": "MiniMaxH3ReferenceToVideo",
  "_meta": {
   "title": "Prompt, size and length"
  }
 },
 "58": {
  "inputs": {
   "noise_seed": 926301
  },
  "class_type": "RandomNoise",
  "_meta": {
   "title": "Seed (new number per take)"
  }
 },
 "59": {
  "inputs": {
   "sampler_name": "res_multistep"
  },
  "class_type": "KSamplerSelect"
 },
 "62": {
  "inputs": {
   "model": [
    "56",
    0
   ],
   "scheduler": "simple",
   "steps": 8,
   "denoise": 1
  },
  "class_type": "BasicScheduler"
 },
 "63": {
  "inputs": {
   "model": [
    "56",
    0
   ],
   "conditioning": [
    "73",
    0
   ]
  },
  "class_type": "BasicGuider"
 },
 "64": {
  "inputs": {
   "noise": [
    "58",
    0
   ],
   "guider": [
    "63",
    0
   ],
   "sampler": [
    "59",
    0
   ],
   "sigmas": [
    "62",
    0
   ],
   "latent_image": [
    "57",
    1
   ]
  },
  "class_type": "SamplerCustomAdvanced"
 },
 "65": {
  "inputs": {
   "samples": [
    "64",
    0
   ],
   "vae": [
    "53",
    0
   ]
  },
  "class_type": "VAEDecode"
 },
 "67": {
  "inputs": {
   "images": [
    "65",
    0
   ],
   "fps": [
    "2",
    2
   ],
   "bit_depth": 8,
   "color_space": "sRGB",
   "audio": [
    "2",
    1
   ]
  },
  "class_type": "CreateVideo"
 },
 "68": {
  "inputs": {
   "video": [
    "67",
    0
   ],
   "filename_prefix": "effects/fullframe",
   "format": "mp4",
   "format.codec": "h264"
  },
  "class_type": "SaveVideo",
  "_meta": {
   "title": "Upgraded shot (full frame)"
  }
 },
 "71": {
  "inputs": {
   "images": [
    "42",
    0
   ],
   "fps": [
    "2",
    2
   ],
   "bit_depth": 8,
   "color_space": "sRGB"
  },
  "class_type": "CreateVideo"
 },
 "72": {
  "inputs": {
   "video": [
    "71",
    0
   ],
   "filename_prefix": "effects/depth",
   "format": "mp4",
   "format.codec": "h264"
  },
  "class_type": "SaveVideo",
  "_meta": {
   "title": "Depth (check it)"
  }
 },
 "73": {
  "inputs": {
   "positive": [
    "57",
    0
   ],
   "latent": [
    "57",
    1
   ],
   "audio_vae": [
    "54",
    0
   ],
   "audio": [
    "2",
    1
   ],
   "frame_idx": 0
  },
  "class_type": "MiniMaxH3AddGuide"
 }
}
