{"id":"f514a032-4adb-4f3f-a9c4-7b66e9a921c1","revision":0,"last_node_id":156,"last_link_id":300,"nodes":[{"id":92,"type":"SaveVideo","pos":[1150,4880],"size":[1210,773.3488372093022],"flags":{},"order":34,"mode":0,"inputs":[{"localized_name":"视频","name":"video","type":"VIDEO","link":260},{"localized_name":"文件名前缀","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"格式","name":"format","type":"COMBO","widget":{"name":"format"},"link":null},{"localized_name":"编码器","name":"codec","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"codec"},"link":null}],"outputs":[{"localized_name":"video","name":"video","type":"VIDEO","links":null}],"properties":{},"widgets_values":["video/MiniMax_H3","auto","auto"]},{"id":116,"type":"MarkdownNote","pos":[-2030,4850],"size":[450,889.6875],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[],"title":"Note: MiniMax H3","properties":{},"widgets_values":["## MiniMax H3\n\n[MiniMax H3](https://www.minimax.io/blog/minimax-h3) is MiniMax's general-purpose, omni-modal generation model. It jointly understands text, image, video, and audio, and generates video with **native stereo audio**: voice, sound effects, and music are modeled jointly in a single forward pass, not layered on afterward. Output is up to 2K resolution, 24fps, and up to about 15 seconds.\n\n## ComfyUI links\n- [ComfyUI#15224](https://github.com/Comfy-Org/ComfyUI/pull/15224)\n- [🤗 Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n\n## About this workflow\n\nThis template runs the **reference-to-video (ref2va)** task using the `MiniMaxH3ReferenceToVideo` node. It takes any mix of reference images, videos, and standalone audio, and weaves them into the generation to lock in a character's identity, a style, a motion, a camera move, or a voice.\n\n**Key inputs**\n\n- **ref_images / ref_videos / ref_video_audios / ref_audios**: up to 9 reference images, 3 reference videos (each may carry its own paired soundtrack), and 3 standalone reference audio clips\n- **prompt**: reference the inputs by tag, in the exact order they were connected, for example `<Picture 1>`, `<Video 1>`, `<Audio 1>`, then describe the target scene, motion, and audio\n- **ref_image_size**: `match` scales references down to the generation's resolution (faster); `max` keeps up to a 2048px short edge for stronger identity fidelity, at the cost of speed since reference tokens ride along every sampling step\n- **width / height**: set via Resolution Selector.\n- **duration (seconds)**: converted to a valid frame `length` by the Math Expression node\n\n**Sampling and decode**\n\n- Sampler: `res_multistep`. `beta` or `normal` scheduler tends to outperform `simple` for reference-heavy prompts like this one\n- The sampler's joint audio+video `LATENT` output feeds directly into both `VAEDecode` (video, `minimax_h3_video_vae_fp16`) and `VAEDecodeAudio` (audio, `minimax_h3_audio_vae_fp32`); each decode node automatically pulls its own half out of the packed latent. `CreateVideo` then muxes the two into a single MP4 with synced sound\n- The diffusion model here is `minimax_h3_ref2va_pruned_int8_convrot.safetensors`, a different set of weights from the `fl2va` model used by the t2v/i2v templates\n\nRef2va's output is very sensitive to prompt wording; matching the reference tags precisely and being explicit about which reference drives which part of the shot tends to work best."],"color":"#222","bgcolor":"#000"},{"id":117,"type":"MarkdownNote","pos":[-2500,4850],"size":[440,740],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[],"title":"Note: Model Links","properties":{},"widgets_values":["## Model Links\n[🤗 Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n\n**vae**\n\n- [minimax_h3_video_vae_fp16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors)\n- [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors)\n\n**diffusion_models**\n\n- [minimax_h3_ref2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 vae/\n│   │   ├── minimax_h3_video_vae_fp16.safetensors\n│   │   └── minimax_h3_audio_vae_fp32.safetensors\n│   ├── 📂 diffusion_models/\n│   │   └── minimax_h3_ref2va_pruned_int8_convrot.safetensors\n│   └── 📂 text_encoders/\n│       └── qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"],"color":"#222","bgcolor":"#000"},{"id":119,"type":"VAELoader","pos":[-1490,5270],"size":[640,70],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"vae名称","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[251,273]}],"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"]},{"id":120,"type":"VAELoader","pos":[-1490,5400],"size":[650,70],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"vae名称","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[250,274]}],"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"]},{"id":123,"type":"KSamplerSelect","pos":[-260,5190],"size":[370,70],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"采样器名称","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null}],"outputs":[{"localized_name":"采样器","name":"SAMPLER","type":"SAMPLER","links":[255]}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["res_multistep"]},{"id":129,"type":"RandomNoise","pos":[-260,4940],"size":[360,90],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"噪波随机种","name":"noise_seed","type":"INT","widget":{"name":"noise_seed"},"link":null}],"outputs":[{"localized_name":"噪波","name":"NOISE","type":"NOISE","links":[253]}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[70121738670846,"randomize"]},{"id":131,"type":"ComfyMathExpression","pos":[-1450,5940],"size":[225,74],"flags":{"collapsed":true},"order":23,"mode":0,"inputs":[{"label":"a","localized_name":"values.a","name":"values.a","type":"FLOAT,INT,BOOLEAN","link":261},{"label":"b","localized_name":"values.b","name":"values.b","shape":7,"type":"FLOAT,INT,BOOLEAN","link":null},{"localized_name":"表达式","name":"expression","type":"STRING","widget":{"name":"expression"},"link":null}],"outputs":[{"localized_name":"浮点","name":"FLOAT","type":"FLOAT","links":[]},{"localized_name":"整数","name":"INT","type":"INT","links":[275]},{"localized_name":"布尔值","name":"BOOL","type":"BOOLEAN","links":[]}],"properties":{"Node name for S&R":"ComfyMathExpression"},"widgets_values":["max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"]},{"id":140,"type":"MarkdownNote","pos":[-1890,5830],"size":[300,520],"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[],"title":"Note: Size Settings Reference","properties":{},"widgets_values":["| megapixels | Aspect | Output (multiple=32) |\n|---|---|---|\n| 0.2 | 16:9 | 608 x 352 |\n| 0.3 | 16:9 | 736 x 416 |\n| 0.4 | 16:9 | 864 x 480 |\n| 0.5 | 16:9 | 960 x 544 |\n| 0.6 | 16:9 | 1056 x 608 |\n| 0.7 | 16:9 | 1152 x 640 |\n| 0.8 | 16:9 | 1216 x 672 |\n| 0.9 | 16:9 | 1280 x 736 |\n| 0.98 | 16:9 | 1344 x 768 |\n| 1.0 | 16:9 | 1376 x 768 |\n| 1.2 | 16:9 | 1504 x 832 |\n| 1.5 | 16:9 | 1664 x 928 |\n| 1.8 | 16:9 | 1824 x 1024 |\n| 2.0 | 16:9 | 1920 x 1088 |\n"],"color":"#222","bgcolor":"#000"},{"id":130,"type":"CreateVideo","pos":[790,5090],"size":[270,110],"flags":{},"order":33,"mode":0,"inputs":[{"localized_name":"图像","name":"images","type":"IMAGE","link":286},{"localized_name":"音频","name":"audio","shape":7,"type":"AUDIO","link":259},{"localized_name":"帧率","name":"fps","type":"FLOAT","widget":{"name":"fps"},"link":null},{"localized_name":"bit_depth","name":"bit_depth","shape":7,"type":"INT","widget":{"name":"bit_depth"},"link":null}],"outputs":[{"localized_name":"视频","name":"VIDEO","type":"VIDEO","links":[260]}],"properties":{"Node name for S&R":"CreateVideo"},"widgets_values":[24,8]},{"id":144,"type":"LoadAudio","pos":[-864.6372699170003,6056.852994682291],"size":[270,136],"flags":{},"order":7,"mode":4,"inputs":[{"localized_name":"音频","name":"audio","type":"COMBO","widget":{"name":"audio"},"link":null},{"localized_name":"音频UI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null},{"localized_name":"选择文件上传","name":"upload","type":"AUDIOUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"音频","name":"AUDIO","type":"AUDIO","links":[284]}],"properties":{"Node name for S&R":"LoadAudio"},"widgets_values":["xxt_mv2_S3.wav",null,null]},{"id":150,"type":"MiniMaxH3TurboLoRA","pos":[-984.8000489744444,4628.836792893106],"size":[270,106],"flags":{},"order":21,"mode":4,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":291},{"localized_name":"lora_name","name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":null},{"localized_name":"strength","name":"strength","type":"FLOAT","widget":{"name":"strength"},"link":null},{"localized_name":"low_vram","name":"low_vram","type":"BOOLEAN","widget":{"name":"low_vram"},"link":null}],"outputs":[{"localized_name":"模型","name":"MODEL","type":"MODEL","links":[290]}],"properties":{"Node name for S&R":"MiniMaxH3TurboLoRA"},"widgets_values":["minimax_h3_turbo_v4_step600_ema.safetensors",1,false]},{"id":126,"type":"BasicGuider","pos":[-260,5080],"size":[360,60],"flags":{},"order":27,"mode":0,"inputs":[{"localized_name":"模型","name":"model","type":"MODEL","link":292},{"localized_name":"条件","name":"conditioning","type":"CONDITIONING","link":270}],"outputs":[{"localized_name":"引导器","name":"GUIDER","type":"GUIDER","links":[254]}],"properties":{"Node name for S&R":"BasicGuider"},"widgets_values":[]},{"id":151,"type":"MiniMaxH3MemoryEfficientSolAttentionPatch","pos":[-517.5728416466122,4525.8261390551925],"size":[430,250],"flags":{},"order":24,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":290},{"localized_name":"enabled","name":"enabled","type":"BOOLEAN","widget":{"name":"enabled"},"link":null},{"localized_name":"tau","name":"tau","type":"FLOAT","widget":{"name":"tau"},"link":null},{"localized_name":"min_tokens","name":"min_tokens","type":"INT","widget":{"name":"min_tokens"},"link":null},{"localized_name":"strict","name":"strict","type":"BOOLEAN","widget":{"name":"strict"},"link":null},{"localized_name":"thresh_type","name":"thresh_type","type":"COMBO","widget":{"name":"thresh_type"},"link":null},{"localized_name":"int8_qk","name":"int8_qk","type":"BOOLEAN","widget":{"name":"int8_qk"},"link":null},{"localized_name":"int8_pv","name":"int8_pv","type":"BOOLEAN","widget":{"name":"int8_pv"},"link":null},{"localized_name":"sink_conditioning","name":"sink_conditioning","type":"COMBO","widget":{"name":"sink_conditioning"},"link":null},{"localized_name":"dense_blocks","name":"dense_blocks","type":"STRING","widget":{"name":"dense_blocks"},"link":null}],"outputs":[{"localized_name":"模型","name":"MODEL","type":"MODEL","links":[292,293]}],"properties":{"Node name for S&R":"MiniMaxH3MemoryEfficientSolAttentionPatch","aux_id":"Saganaki22/ComfyUI-sol-attn","ver":"e2fc225f8642585cfa11a31d52fe7b2db7290efa","ue_properties":{"widget_ue_connectable":{},"input_ue_unconnectable":{},"version":"7.8"}},"widgets_values":[true,1.3,4096,true,"diag",false,"exact_kv","exact_kv",""]},{"id":128,"type":"CLIPLoader","pos":[-1490,5090],"size":[640,120],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"CLIP名称","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"类型","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"设备","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[272]}],"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_h3_ultra_uncensored_heretic_int8_convrot.safetensors","minimax","default"]},{"id":127,"type":"UNETLoader","pos":[-1490,4940],"size":[640,90],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"UNet名称","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"localized_name":"数据类型","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"模型","name":"MODEL","type":"MODEL","links":[291]}],"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_fp8_scaled.safetensors","default"]},{"id":147,"type":"RTXVideoSuperResolution","pos":[808.2209533541876,4901.564327805565],"size":[285.81015625,106],"flags":{},"order":32,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":285},{"localized_name":"resize_type","name":"resize_type","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"resize_type"},"link":null},{"localized_name":"resize_type.scale","name":"resize_type.scale","type":"FLOAT","widget":{"name":"resize_type.scale"},"link":null},{"localized_name":"quality","name":"quality","type":"COMBO","widget":{"name":"quality"},"link":null}],"outputs":[{"localized_name":"upscaled_images","name":"upscaled_images","type":"IMAGE","links":[286]}],"properties":{"Node name for S&R":"RTXVideoSuperResolution"},"widgets_values":["scale by multiplier",2,"ULTRA"]},{"id":124,"type":"BasicScheduler","pos":[-260,5310],"size":[370,130],"flags":{},"order":26,"mode":0,"inputs":[{"localized_name":"模型","name":"model","type":"MODEL","link":293},{"localized_name":"调度器","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"步数","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"降噪","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"Sigmas","name":"SIGMAS","type":"SIGMAS","links":[256]}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["simple",8,1]},{"id":139,"type":"LoadImage","pos":[-546.4247838120406,5624.426010929818],"size":[290,330],"flags":{},"order":10,"mode":4,"inputs":[{"localized_name":"图像","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"选择文件上传","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[282]},{"localized_name":"遮罩","name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["WhatsApp Image 2026-08-14 at 3.41.07 AM (1).jpeg","image"]},{"id":141,"type":"LoadImage","pos":[-221.74481186532637,5630.333359720593],"size":[290,330],"flags":{},"order":11,"mode":4,"inputs":[{"localized_name":"图像","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"选择文件上传","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[283]},{"localized_name":"遮罩","name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["WhatsApp Image 2026-08-13 at 10.53.37 PM (2).jpeg","image"]},{"id":152,"type":"LoadImage","pos":[121.93169041721814,5642.407213548718],"size":[290,330],"flags":{},"order":12,"mode":4,"inputs":[{"localized_name":"图像","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"选择文件上传","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[294]},{"localized_name":"遮罩","name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["WhatsApp Image 2026-08-14 at 3.41.07 AM (2).jpeg","image"]},{"id":154,"type":"LoadImage","pos":[839.9879664914482,5623.887623374108],"size":[290,330],"flags":{},"order":13,"mode":4,"inputs":[{"localized_name":"图像","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"选择文件上传","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[296]},{"localized_name":"遮罩","name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["WhatsApp Image 2026-08-14 at 3.41.08 AM (1).jpeg","image"]},{"id":122,"type":"VAEDecode","pos":[503.8070945141654,4933.028829257785],"size":[230,60],"flags":{"collapsed":false},"order":31,"mode":0,"inputs":[{"localized_name":"Latent","name":"samples","type":"LATENT","link":300},{"localized_name":"vae","name":"vae","type":"VAE","link":251}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[285]}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":121,"type":"VAEDecodeAudio","pos":[498.1387386774594,5057.563513927154],"size":[230,60],"flags":{"collapsed":false},"order":30,"mode":0,"inputs":[{"localized_name":"Latent","name":"samples","type":"LATENT","link":299},{"localized_name":"vae","name":"vae","type":"VAE","link":250}],"outputs":[{"localized_name":"音频","name":"AUDIO","type":"AUDIO","links":[259]}],"properties":{"Node name for S&R":"VAEDecodeAudio"},"widgets_values":[]},{"id":156,"type":"VRAM_Debug","pos":[432.7511439303426,5275.471471196973],"size":[304.5,186],"flags":{},"order":29,"mode":0,"inputs":[{"localized_name":"any_input","name":"any_input","shape":7,"type":"*","link":298},{"localized_name":"image_pass","name":"image_pass","shape":7,"type":"IMAGE","link":null},{"localized_name":"model_pass","name":"model_pass","shape":7,"type":"MODEL","link":null},{"localized_name":"empty_cache","name":"empty_cache","type":"BOOLEAN","widget":{"name":"empty_cache"},"link":null},{"localized_name":"gc_collect","name":"gc_collect","type":"BOOLEAN","widget":{"name":"gc_collect"},"link":null},{"localized_name":"unload_all_models","name":"unload_all_models","type":"BOOLEAN","widget":{"name":"unload_all_models"},"link":null}],"outputs":[{"localized_name":"any_output","name":"any_output","type":"*","links":[299,300]},{"localized_name":"image_pass","name":"image_pass","type":"IMAGE","links":null},{"localized_name":"model_pass","name":"model_pass","type":"MODEL","links":null},{"label":"32,144,271,216   freemem_before","localized_name":"freemem_before","name":"freemem_before","type":"INT","links":null},{"label":"32,767,930,364      freemem_after","localized_name":"freemem_after","name":"freemem_after","type":"INT","links":null}],"properties":{"Node name for S&R":"VRAM_Debug"},"widgets_values":[true,true,true]},{"id":153,"type":"LoadImage","pos":[469.4180699956278,5613.3875610221985],"size":[290,330],"flags":{},"order":14,"mode":4,"inputs":[{"localized_name":"图像","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"选择文件上传","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[295]},{"localized_name":"遮罩","name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["WhatsApp Image 2026-08-14 at 3.41.08 AM.jpeg","image"]},{"id":155,"type":"LoadImage","pos":[846.9838512651106,6053.467371472379],"size":[290,330],"flags":{},"order":15,"mode":4,"inputs":[{"localized_name":"图像","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"选择文件上传","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[297]},{"localized_name":"遮罩","name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["WhatsApp Image 2026-08-14 at 3.41.08 AM (2).jpeg","image"]},{"id":115,"type":"ResolutionSelector","pos":[-1480,5610],"size":[270,170],"flags":{},"order":16,"mode":0,"showAdvanced":false,"inputs":[{"localized_name":"宽高比","name":"aspect_ratio","type":"COMBO","widget":{"name":"aspect_ratio"},"link":null},{"localized_name":"百万像素","name":"megapixels","type":"FLOAT","widget":{"name":"megapixels"},"link":null},{"localized_name":"倍数","name":"multiple","type":"INT","widget":{"name":"multiple"},"link":null}],"outputs":[{"localized_name":"宽度","name":"width","type":"INT","links":[276]},{"localized_name":"高度","name":"height","type":"INT","links":[277]}],"title":"Resolution Selector (Size)","properties":{"Node name for S&R":"ResolutionSelector"},"widgets_values":["16:9 (Widescreen)",1,32],"color":"#322","bgcolor":"#533"},{"id":137,"type":"LoadImage","pos":[-896.4583891150304,5637.486243506594],"size":[290,330],"flags":{},"order":17,"mode":4,"inputs":[{"localized_name":"图像","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"选择文件上传","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[278]},{"localized_name":"遮罩","name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["WhatsApp Image 2026-08-14 at 3.41.07 AM.jpeg","image"]},{"id":149,"type":"LoadVideo","pos":[-540.0075321112383,6079.614440703327],"size":[270,225.875],"flags":{},"order":18,"mode":0,"inputs":[{"localized_name":"文件","name":"file","type":"COMBO","widget":{"name":"file"},"link":null},{"localized_name":"选择要上传的文件","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"视频","name":"VIDEO","type":"VIDEO","links":[287]}],"properties":{"Node name for S&R":"LoadVideo"},"widgets_values":["gp7yg5.mp4","image"]},{"id":132,"type":"PrimitiveFloat","pos":[-1480,5830],"size":[270,70],"flags":{},"order":19,"mode":0,"inputs":[{"localized_name":"值","name":"value","type":"FLOAT","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"浮点","name":"FLOAT","type":"FLOAT","links":[261]}],"title":"Float (Duration)","properties":{"Node name for S&R":"PrimitiveFloat"},"widgets_values":[7],"color":"#322","bgcolor":"#533"},{"id":138,"type":"PrimitiveStringMultiline","pos":[-1480,6000],"size":[370,390],"flags":{},"order":20,"mode":0,"inputs":[{"localized_name":"值","name":"value","type":"STRING","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"字符串","name":"STRING","type":"STRING","links":[279]}],"title":"Input Text (Prompt)","properties":{"Node name for S&R":"PrimitiveStringMultiline"},"widgets_values":["For the target video, the complete input video <Video 1> is fully referenced for duration, timing, composition, camera movement, character performance, interaction, environment, lighting, visual atmosphere, and scene continuity.\n\nsubject_definitions:\n\nMain person:\nThe single adult person shown in <Video 1>. Preserve the person’s exact facial identity, facial features, freckles, hairstyle, hair texture, skin appearance, clothing, heavy coat, gloves, body proportions, pose, and original performance throughout the entire video.\n\nReplacement dog:\nCompletely replace the gray cat in <Video 1> with one small Golden Retriever dog of approximately the same body size, weight, and occupied screen area as the original cat.\n\nThe dog has soft, dense, short-to-medium fur, natural folded canine ears, a clearly canine muzzle, a dark canine nose, calm expressive eyes, anatomically correct paws, and realistic small-dog proportions. The dog is relaxed, comfortable, and safely supported inside the person’s arms.\n\nThe dog must remain the same individual throughout the entire video. Maintain consistent fur length, facial structure, ear shape, muzzle length, eye shape, body size, and anatomy in every frame.\n\nsummary:\n\nTransform the complete input video by replacing only the cat with a small gray dog. Preserve the original person, clothing, gloves, environment, timing, affectionate performance, close-up composition, depth of field, and overall emotional progression.\n\nThe person begins by looking toward the camera while holding the dog securely, gradually looks down, moves closer, smiles gently, cuddles the dog, and finishes by kissing the top of the dog’s head. The dog remains calm, looks forward briefly, relaxes into the person’s gloved arms, softly closes its eyes, and responds naturally to the final kiss.\n\nAdd a subtle, shallow, horizontal figure-eight camera movement. The person’s face is the first orbital anchor and the dog’s head is the second orbital anchor. Use restrained luminous particles around both subjects. Keep the result intimate, realistic, stable, and emotionally warm.\n\nretention_analysis:\n\nPreserve exactly from <Video 1>:\nThe complete 6.125-second duration.\nThe original frame rate and horizontal aspect ratio.\nThe main person’s identity and appearance.\nThe person’s curly hair and natural hair movement.\nThe heavy textured coat and gloves.\nThe person’s body pose and arm placement.\nThe original affectionate movement and timing.\nThe close proximity between the person and animal.\nThe direction of the person’s gaze.\nThe gradual lowering of the person’s head.\nThe final kiss on the animal’s head.\nThe background, surface, depth of field, lighting direction, exposure, visual atmosphere, and existing camera progression.\n\nReplace completely:\nThe entire cat, including its feline head, ears, eyes, nose, muzzle, whisker pattern, paws, body, legs, tail, fur structure, and feline proportions.\n\nReplace it with:\nOne anatomically correct small gray dog occupying the same approximate position and visual volume. The dog’s head rests naturally above the person’s gloves, while its body is securely supported by the person’s arms.\n\nDo not modify anything outside the animal replacement unless required for correct hand-to-dog contact, realistic fur compression, or the requested low-amplitude figure-eight camera movement.\n\ndetailed_description:\n\n[0.00–1.20 seconds]\n\nBegin with the original close-up composition and timing of <Video 1>. The person holds the replacement dog securely in the same position previously occupied by the cat.\n\nThe person looks naturally toward the camera and breathes softly. The dog looks calmly forward, blinks once, and makes a very small natural ear movement. Its chest shows subtle breathing.\n\nBegin the first loop of the shallow figure-eight camera movement by drifting slightly around the person’s face. Use very low movement amplitude, slow speed, stable cinematic motion, and consistent close-up framing.\n\nA few soft luminous particles appear near the person’s hair and shoulder. They drift naturally toward the dog without covering either face.\n\n[1.20–2.50 seconds]\n\nThe person gradually lowers their gaze toward the dog while maintaining the original arm position. The person’s expression softens naturally.\n\nThe dog notices the person’s movement, shifts its eyes slightly upward, and gently presses its chin into the supporting glove. The glove compresses the dog’s fur realistically without passing through its head or neck.\n\nContinue the first curved camera loop around the person’s face. Preserve the original shallow depth of field and avoid revealing new background areas.\n\nThe light particles follow the person’s gaze direction and drift slowly between the person and dog.\n\n[2.50–3.60 seconds]\n\nThe person moves their face closer to the dog and develops a gentle smile. The dog remains calm and makes one small nuzzling movement against the glove.\n\nMove through the central crossover point of the figure-eight route, passing visually between the person’s face and the dog’s head. The camera must not physically pass through either subject.\n\nA small stream of particles flows from the person’s face toward the dog’s forehead, responding to their eye contact and affectionate movement. Do not draw a visible infinity symbol or camera-path line.\n\n[3.60–5.00 seconds]\n\nBegin the second loop in the opposite direction, orbiting subtly around the dog’s head. Shift only a few degrees to create restrained three-dimensional parallax between the person’s hair, face, coat, gloves, dog, and background.\n\nThe person lowers their face closer to the dog. The dog relaxes further, softens its expression, and gradually closes its eyes. Its ears remain relaxed and anatomically consistent.\n\nThe person’s gloves continue to support the dog’s chest and lower jaw correctly. The dog’s breathing, fur movement, and contact with the gloves remain physically realistic.\n\nParticles move gently around the dog’s folded ears and forehead, pass behind its head, and reappear near the person’s coat.\n\n[5.00–6.125 seconds]\n\nComplete the second loop of the shallow figure-eight route. The person gently kisses the top of the dog’s head, matching the timing and movement of the original video.\n\nThe dog closes its eyes fully, remains relaxed, and responds with one subtle nuzzle into the person’s arms. The person holds the kiss briefly and maintains a calm affectionate expression.\n\nThe particles gather delicately around the point of contact, spread outward across the person’s hair and the dog’s fur, and gradually fade.\n\nEnd on a stable intimate close-up that preserves the final composition, framing, subject scale, depth, and emotional tone of <Video 1>.\n\nCharacter interaction:\n\nOnly one person and one dog appear in the transformed video. Do not introduce additional people, animals, reflections, or background characters.\n\nThe person and dog interact through:\nnatural eye contact,\nsecure holding,\nsubtle glove-to-fur contact,\nthe dog resting its chin on the glove,\none gentle nuzzling response,\nthe person lowering their face,\nand the final kiss on the dog’s head.\n\nEvery action must follow the original video timing and show clear physical cause and effect. The dog reacts calmly to the person’s movements rather than remaining completely frozen.\n\nFigure-eight camera requirements:\n\nCreate one subtle horizontal figure-eight movement across the complete shot.\n\nFirst loop:\nA shallow clockwise arc around the person’s face from 0.00 to approximately 2.50 seconds.\n\nCentral crossover:\nA gentle transition between the person’s face and the dog’s head from approximately 2.50 to 3.60 seconds.\n\nSecond loop:\nA shallow counterclockwise arc around the dog’s head from approximately 3.60 to 6.125 seconds.\n\nKeep the movement amplitude very low because this is an intimate close-up. Preserve the original composition and avoid exposing areas outside the source video. Use stable cinematic motion, slow speed, consistent focus, and realistic micro-parallax.\n\nThe camera route must remain invisible. Do not generate a drawn figure-eight, an infinity symbol, a glowing route, or rapid 360-degree rotation.\n\nParticle effects:\n\nUse sparse and elegant luminous particles around the person and dog. The particles react to the person’s gaze, the dog’s nuzzling movement, the airflow around the person’s hair, and the final kiss.\n\nMaintain correct depth and occlusion. Some particles pass behind the person’s hair, dog’s ears, gloves, and coat, while a few remain softly visible in the foreground.\n\nParticle brightness must respond to the existing scene illumination. Do not cover the person’s face, the dog’s face, eyes, muzzle, or the physical contact between the gloves and dog.\n\nScene consistency:\n\nPreserve the spatial scope, environmental atmosphere, lighting character, visual tone, color relationships, contrast, exposure, depth, texture, and overall mood established by <Video 1> throughout the entire result.\n\nMaintain the existing visual balance without assigning a new color style, introducing a separate color grade, or replacing the original lighting conditions. All replacement details, movements, and effects must appear naturally integrated with the source video.\n\nStrict visual constraints:\n\nReplace the cat completely. No remaining feline identity or mixed cat-dog hybrid features. No pointed feline ears, feline muzzle, slit pupils, feline paws, feline body proportions, feline tail, or inconsistent animal transformation.\n\nDo not alternate between a cat and dog. Do not change the dog’s breed, face, fur, size, ear shape, muzzle, eye color, or anatomy between frames.\n\nDo not change the person’s face, gender presentation, hairstyle, clothing, coat, gloves, pose, body proportions, skin texture, or original performance.\n\nDo not generate extra people, animals, heads, faces, eyes, ears, noses, mouths, paws, legs, tails, arms, hands, or fingers. Prevent fused anatomy, duplicated facial features, floating paws, detached limbs, melting fur, or an animal face embedded in the gloves.\n\nMaintain realistic contact between the gloves and dog. The gloves must not pass through the dog’s jaw, neck, chest, or fur. The dog must not float, slide, expand, shrink, or abruptly change position.\n\nDo not make the dog bark aggressively, growl, bite, struggle, panic, escape, or show fear. No injury, distress, dangerous restraint, exaggerated licking, or sudden head movement.\n\nDo not change the background, surface, camera aspect ratio, lighting sources, depth of field, or environment. No scene cuts, transitions, teleportation, abrupt zooms, large camera orbit, excessive camera shake, rolling frame, unstable geometry, facial warping, flicker, focus pumping, or exposure shifts.\n\nNo excessive particle storm, magical transformation, energy explosion, glowing eyes, visible camera path, text, captions, subtitles, logos, watermarks, borders, or interface elements.\n\noverall_soundscape:\n\nPreserve a quiet intimate ambience with subtle fabric movement, soft glove and fur contact, gentle human breathing, calm dog breathing, and faint environmental room tone. Add one very soft canine exhale during the nuzzling action and delicate spatial chimes when the luminous particles gather during the final kiss. Do not add loud barking, growling, cat sounds, or exaggerated animal audio.\n\nnon_diegetic_music:\n\nMinimal gentle atmospheric music with soft sustained textures and delicate resonant notes. Keep the music quiet beneath the natural breathing and fabric sounds. Allow a subtle emotional rise during the final kiss and resolve smoothly at the end. No vocals."],"color":"#322","bgcolor":"#533"},{"id":148,"type":"GetVideoComponents","pos":[-230.74203766056058,6047.191445317372],"size":[140,86],"flags":{},"order":22,"mode":0,"inputs":[{"localized_name":"视频","name":"video","type":"VIDEO","link":287}],"outputs":[{"localized_name":"图像","name":"images","type":"IMAGE","links":[288]},{"localized_name":"音频","name":"audio","type":"AUDIO","links":[289]},{"localized_name":"帧率","name":"fps","type":"FLOAT","links":null},{"localized_name":"bit_depth","name":"bit_depth","type":"INT","links":null}],"properties":{"Node name for S&R":"GetVideoComponents"},"widgets_values":[]},{"id":136,"type":"MiniMaxH3ReferenceToVideo","pos":[-751.1336711673416,4929.7969594939295],"size":[410,530],"flags":{},"order":25,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":272},{"localized_name":"vae","name":"vae","type":"VAE","link":273},{"localized_name":"audio_vae","name":"audio_vae","type":"VAE","link":274},{"label":"ref_image_0","localized_name":"ref_images.ref_image_0","name":"ref_images.ref_image_0","shape":7,"type":"IMAGE","link":278},{"label":"ref_image_1","localized_name":"ref_images.ref_image_1","name":"ref_images.ref_image_1","shape":7,"type":"IMAGE","link":282},{"label":"ref_image_2","localized_name":"ref_images.ref_image_2","name":"ref_images.ref_image_2","shape":7,"type":"IMAGE","link":283},{"label":"ref_image_3","localized_name":"ref_images.ref_image_3","name":"ref_images.ref_image_3","shape":7,"type":"IMAGE","link":294},{"label":"ref_image_4","localized_name":"ref_images.ref_image_4","name":"ref_images.ref_image_4","shape":7,"type":"IMAGE","link":295},{"label":"ref_image_5","localized_name":"ref_images.ref_image_5","name":"ref_images.ref_image_5","shape":7,"type":"IMAGE","link":296},{"label":"ref_image_6","localized_name":"ref_images.ref_image_6","name":"ref_images.ref_image_6","shape":7,"type":"IMAGE","link":297},{"label":"ref_image_7","localized_name":"ref_images.ref_image_7","name":"ref_images.ref_image_7","shape":7,"type":"IMAGE","link":null},{"label":"ref_video_0","localized_name":"ref_videos.ref_video_0","name":"ref_videos.ref_video_0","shape":7,"type":"IMAGE","link":288},{"label":"ref_video_1","localized_name":"ref_videos.ref_video_1","name":"ref_videos.ref_video_1","shape":7,"type":"IMAGE","link":null},{"label":"ref_video_audio_0","localized_name":"ref_video_audios.ref_video_audio_0","name":"ref_video_audios.ref_video_audio_0","shape":7,"type":"AUDIO","link":289},{"label":"ref_video_audio_1","localized_name":"ref_video_audios.ref_video_audio_1","name":"ref_video_audios.ref_video_audio_1","shape":7,"type":"AUDIO","link":null},{"label":"ref_audio_0","localized_name":"ref_audios.ref_audio_0","name":"ref_audios.ref_audio_0","shape":7,"type":"AUDIO","link":284},{"label":"ref_audio_1","localized_name":"ref_audios.ref_audio_1","name":"ref_audios.ref_audio_1","shape":7,"type":"AUDIO","link":null},{"localized_name":"prompt","name":"prompt","type":"STRING","widget":{"name":"prompt"},"link":279},{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":276},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":277},{"localized_name":"length","name":"length","type":"INT","widget":{"name":"length"},"link":275},{"localized_name":"ref_image_size","name":"ref_image_size","type":"COMBO","widget":{"name":"ref_image_size"},"link":null}],"outputs":[{"localized_name":"positive","name":"positive","type":"CONDITIONING","links":[270]},{"localized_name":"Latent","name":"LATENT","type":"LATENT","links":[271]}],"properties":{"Node name for S&R":"MiniMaxH3ReferenceToVideo"},"widgets_values":["",1344,768,124,"match"]},{"id":125,"type":"SamplerCustomAdvanced","pos":[150,5110],"size":[230,326],"flags":{},"order":28,"mode":0,"inputs":[{"localized_name":"噪波","name":"noise","type":"NOISE","link":253},{"localized_name":"引导器","name":"guider","type":"GUIDER","link":254},{"localized_name":"采样器","name":"sampler","type":"SAMPLER","link":255},{"localized_name":"西格玛","name":"sigmas","type":"SIGMAS","link":256},{"localized_name":"Latent图像","name":"latent_image","type":"LATENT","link":271}],"outputs":[{"localized_name":"Latent","name":"output","type":"LATENT","links":[298]},{"localized_name":"降噪Latent","name":"denoised_output","type":"LATENT","links":[]}],"properties":{"Node name for S&R":"SamplerCustomAdvanced"},"widgets_values":[]}],"links":[[250,120,0,121,1,"VAE"],[251,119,0,122,1,"VAE"],[253,129,0,125,0,"NOISE"],[254,126,0,125,1,"GUIDER"],[255,123,0,125,2,"SAMPLER"],[256,124,0,125,3,"SIGMAS"],[259,121,0,130,1,"AUDIO"],[260,130,0,92,0,"VIDEO"],[261,132,0,131,0,"FLOAT"],[270,136,0,126,1,"CONDITIONING"],[271,136,1,125,4,"LATENT"],[272,128,0,136,0,"CLIP"],[273,119,0,136,1,"VAE"],[274,120,0,136,2,"VAE"],[275,131,1,136,20,"INT"],[276,115,0,136,18,"INT"],[277,115,1,136,19,"INT"],[278,137,0,136,3,"IMAGE"],[279,138,0,136,17,"STRING"],[282,139,0,136,4,"IMAGE"],[283,141,0,136,5,"IMAGE"],[284,144,0,136,15,"AUDIO"],[285,122,0,147,0,"IMAGE"],[286,147,0,130,0,"IMAGE"],[287,149,0,148,0,"VIDEO"],[288,148,0,136,11,"IMAGE"],[289,148,1,136,13,"AUDIO"],[290,150,0,151,0,"MODEL"],[291,127,0,150,0,"MODEL"],[292,151,0,126,0,"MODEL"],[293,151,0,124,0,"MODEL"],[294,152,0,136,6,"IMAGE"],[295,153,0,136,7,"IMAGE"],[296,154,0,136,8,"IMAGE"],[297,155,0,136,9,"IMAGE"],[298,125,0,156,0,"LATENT"],[299,156,0,121,0,"LATENT"],[300,156,0,122,0,"LATENT"]],"groups":[{"id":1,"title":"Models","bounding":[-1520,4840,700,670],"color":"#3f789e","flags":{}},{"id":2,"title":"Sampling","bounding":[-280,4840,690,670],"color":"#3f789e","flags":{}},{"id":3,"title":"Conditioning","bounding":[-790,4840,480,670],"color":"#3f789e","flags":{}},{"id":4,"title":"Decoding and create video","bounding":[440,4840,670,670],"color":"#3f789e","flags":{}},{"id":5,"title":"User Inputs","bounding":[-1520,5540,1930,900],"color":"#3f789e","flags":{}},{"id":6,"title":"Group","bounding":[-994.8000489744444,4455.8261390551925,917.2272073278322,330],"color":"#3f789e","flags":{}}],"config":{},"extra":{"ds":{"scale":0.602479338842979,"offset":[3379.3188479403384,-4381.124727169984]},"frontendVersion":"1.47.11","VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4}