{"id":"e3f2b845-8f2c-4b5a-9caf-eac1029d3e7e","revision":0,"last_node_id":146,"last_link_id":291,"nodes":[{"id":92,"type":"SaveVideo","pos":[756.5628184067859,5126.098593142446],"size":[891.627552276318,1298.0926334689434],"flags":{},"order":28,"mode":0,"inputs":[{"localized_name":"video","name":"video","type":"VIDEO","link":260},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"format","name":"format","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"format"},"link":null},{"localized_name":"codec","name":"format.codec","type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"format.codec"},"link":null},{"localized_name":"codec","name":"codec","shape":7,"type":"COMFY_DYNAMICCOMBO_V3","widget":{"name":"codec"},"link":null}],"outputs":[{"localized_name":"video","name":"video","type":"VIDEO","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":["video/MiniMax_H3","auto","auto","auto"],"widgets_values_named":{"filename_prefix":"video/MiniMax_H3","format":"auto","format.codec":"auto","codec":"auto"}},{"id":115,"type":"ResolutionSelector","pos":[-1493.6853792072104,6107.9099296937275],"size":[270,170],"flags":{},"order":0,"mode":0,"showAdvanced":false,"inputs":[{"localized_name":"aspect_ratio","name":"aspect_ratio","type":"COMBO","widget":{"name":"aspect_ratio"},"link":null},{"localized_name":"megapixels","name":"megapixels","type":"FLOAT","widget":{"name":"megapixels"},"link":null},{"localized_name":"multiple","name":"multiple","type":"INT","widget":{"name":"multiple"},"link":null},{"localized_name":"preview","name":"preview","shape":7,"type":"RESOLUTION_PREVIEW","widget":{"name":"preview"},"link":null}],"outputs":[{"localized_name":"width","name":"width","type":"INT","links":[276]},{"localized_name":"height","name":"height","type":"INT","links":[277]}],"title":"Resolution Selector (Size)","properties":{"Node name for S&R":"ResolutionSelector","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":["9:16 (Portrait Widescreen)",0.4,32],"widgets_values_named":{"aspect_ratio":"9:16 (Portrait Widescreen)","megapixels":0.4,"multiple":32},"color":"#322","bgcolor":"#533"},{"id":116,"type":"MarkdownNote","pos":[-2030,4850],"size":[450,890],"flags":{},"order":1,"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_int8_convrot`) 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."],"widgets_values_named":{"text":"## 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_int8_convrot`) 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":2,"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_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors) (2.62 GB)\n- [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors) (577.2 MB)\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) (19.53 GB)\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) (14.61 GB)\n\n**loras**\n\n- 4 steps: [minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors) (1.82 GB)\n\n**embeddings**\n\n- [10 style embeddings](https://huggingface.co/Comfy-Org/MiniMax-H3/tree/main/embeddings) (`minimaxh3_*.safetensors`), for example `minimaxh3_art_is_explosion`\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 vae/\n│   │   ├── minimax_h3_video_vae_int8_convrot.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│   ├── 📂 loras/\n│   │   └── minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors\n│   └── 📂 embeddings/\n│       └── minimaxh3_art_is_explosion.safetensors\n```\n\n## Using Prompt Embeddings\n\nPrompt embeddings (supported since [ComfyUI#15697](https://github.com/Comfy-Org/ComfyUI/pull/15697)) add reusable style tokens to your prompt. Download one or more embeddings from the folder above into `ComfyUI/models/embeddings/`, then reference one in the prompt text with the `embedding:` prefix and the filename without its extension, for example:\n\n`embedding:minimaxh3_art_is_explosion`\n\nUsing an embedding is optional and the template runs fine without one.\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"],"widgets_values_named":{"text":"## Model Links\n[🤗 Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n\n**vae**\n\n- [minimax_h3_video_vae_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors) (2.62 GB)\n- [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors) (577.2 MB)\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) (19.53 GB)\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) (14.61 GB)\n\n**loras**\n\n- 4 steps: [minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors) (1.82 GB)\n\n**embeddings**\n\n- [10 style embeddings](https://huggingface.co/Comfy-Org/MiniMax-H3/tree/main/embeddings) (`minimaxh3_*.safetensors`), for example `minimaxh3_art_is_explosion`\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 vae/\n│   │   ├── minimax_h3_video_vae_int8_convrot.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│   ├── 📂 loras/\n│   │   └── minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors\n│   └── 📂 embeddings/\n│       └── minimaxh3_art_is_explosion.safetensors\n```\n\n## Using Prompt Embeddings\n\nPrompt embeddings (supported since [ComfyUI#15697](https://github.com/Comfy-Org/ComfyUI/pull/15697)) add reusable style tokens to your prompt. Download one or more embeddings from the folder above into `ComfyUI/models/embeddings/`, then reference one in the prompt text with the `embedding:` prefix and the filename without its extension, for example:\n\n`embedding:minimaxh3_art_is_explosion`\n\nUsing an embedding is optional and the template runs fine without one.\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,5490],"size":[640,70],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"vae_name","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","cnr_id":"comfy-core","ver":"0.33.0","models":[{"name":"minimax_h3_video_vae_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors","directory":"vae"}]},"widgets_values":["minimax_h3_video_vae_int8_convrot.safetensors"],"widgets_values_named":{"vae_name":"minimax_h3_video_vae_int8_convrot.safetensors"}},{"id":120,"type":"VAELoader","pos":[-1490,5630],"size":[650,70],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"vae_name","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","cnr_id":"comfy-core","ver":"0.33.0","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":121,"type":"VAEDecodeAudio","pos":[18.554837944532352,5783.3358669312875],"size":[230,60],"flags":{"collapsed":false},"order":26,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":281},{"localized_name":"vae","name":"vae","type":"VAE","link":250}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[259]}],"properties":{"Node name for S&R":"VAEDecodeAudio","cnr_id":"comfy-core","ver":"0.33.0"}},{"id":122,"type":"VAEDecode","pos":[23.691839927082526,5658.361848855296],"size":[230,60],"flags":{"collapsed":false},"order":25,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":280},{"localized_name":"vae","name":"vae","type":"VAE","link":251}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[258]}],"properties":{"Node name for S&R":"VAEDecode","cnr_id":"comfy-core","ver":"0.33.0"}},{"id":123,"type":"KSamplerSelect","pos":[0,5200],"size":[370,70],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null}],"outputs":[{"localized_name":"SAMPLER","name":"SAMPLER","type":"SAMPLER","links":[255]}],"properties":{"Node name for S&R":"KSamplerSelect","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":["res_multistep"],"widgets_values_named":{"sampler_name":"res_multistep"}},{"id":124,"type":"BasicScheduler","pos":[0,5320],"size":[370,130],"flags":{},"order":22,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":252},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":289},{"localized_name":"denoise","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","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":["simple",20,1],"widgets_values_named":{"scheduler":"simple","steps":20,"denoise":1}},{"id":125,"type":"SamplerCustomAdvanced","pos":[410,5120],"size":[230,140],"flags":{},"order":24,"mode":0,"inputs":[{"localized_name":"noise","name":"noise","type":"NOISE","link":253},{"localized_name":"guider","name":"guider","type":"GUIDER","link":254},{"localized_name":"sampler","name":"sampler","type":"SAMPLER","link":255},{"localized_name":"sigmas","name":"sigmas","type":"SIGMAS","link":256},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":271}],"outputs":[{"localized_name":"output","name":"output","type":"LATENT","links":[280,281]},{"localized_name":"denoised_output","name":"denoised_output","type":"LATENT","links":[]}],"properties":{"Node name for S&R":"SamplerCustomAdvanced","cnr_id":"comfy-core","ver":"0.33.0"}},{"id":126,"type":"BasicGuider","pos":[0,5090],"size":[360,60],"flags":{},"order":23,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":288},{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":270}],"outputs":[{"localized_name":"GUIDER","name":"GUIDER","type":"GUIDER","links":[254]}],"properties":{"Node name for S&R":"BasicGuider","cnr_id":"comfy-core","ver":"0.33.0"}},{"id":127,"type":"UNETLoader","pos":[-1490,4980],"size":[640,90],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"unet_name","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"localized_name":"weight_dtype","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[252,285,287]}],"properties":{"Node name for S&R":"UNETLoader","cnr_id":"comfy-core","ver":"0.33.0","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":128,"type":"CLIPLoader","pos":[-1490,5300],"size":[640,120],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","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","cnr_id":"comfy-core","ver":"0.33.0","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":129,"type":"RandomNoise","pos":[0,4950],"size":[360,90],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"noise_seed","name":"noise_seed","type":"INT","widget":{"name":"noise_seed"},"link":null}],"outputs":[{"localized_name":"NOISE","name":"NOISE","type":"NOISE","links":[253]}],"properties":{"Node name for S&R":"RandomNoise","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":[667869317917187,"randomize"],"widgets_values_named":{"noise_seed":667869317917187,"control_after_generate":"randomize"}},{"id":130,"type":"CreateVideo","pos":[331.04197369638484,5658.335789571079],"size":[270,174],"flags":{},"order":27,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":258},{"localized_name":"audio","name":"audio","shape":7,"type":"AUDIO","link":259},{"localized_name":"fps","name":"fps","type":"FLOAT","widget":{"name":"fps"},"link":null},{"localized_name":"bit_depth","name":"bit_depth","shape":7,"type":"COMBO","widget":{"name":"bit_depth"},"link":null},{"localized_name":"color_space","name":"color_space","shape":7,"type":"COMBO","widget":{"name":"color_space"},"link":null},{"localized_name":"chroma_subsampling","name":"chroma_subsampling","shape":7,"type":"COMBO","widget":{"name":"chroma_subsampling"},"link":null},{"localized_name":"codec","name":"codec","shape":7,"type":"COMBO","widget":{"name":"codec"},"link":null}],"outputs":[{"localized_name":"VIDEO","name":"VIDEO","type":"VIDEO","links":[260]}],"properties":{"Node name for S&R":"CreateVideo","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":[24,8,"sRGB","auto","none"],"widgets_values_named":{"fps":24,"bit_depth":8,"color_space":"sRGB","chroma_subsampling":"auto","codec":"none"}},{"id":131,"type":"ComfyMathExpression","pos":[-1493.6853792072104,6487.9099296937275],"size":[225,74],"flags":{"collapsed":true},"order":18,"mode":0,"inputs":[{"label":"a","localized_name":"a","name":"values.a","type":"FLOAT,INT,BOOLEAN","link":261},{"label":"b","localized_name":"b","name":"values.b","shape":7,"type":"FLOAT,INT,BOOLEAN","link":null},{"localized_name":"expression","name":"expression","type":"STRING","widget":{"name":"expression"},"link":null}],"outputs":[{"localized_name":"FLOAT","name":"FLOAT","type":"FLOAT","links":[]},{"localized_name":"INT","name":"INT","type":"INT","links":[275]},{"localized_name":"BOOL","name":"BOOL","type":"BOOLEAN","links":[]}],"properties":{"Node name for S&R":"ComfyMathExpression","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":["max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"],"widgets_values_named":{"expression":"max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"}},{"id":132,"type":"PrimitiveFloat","pos":[-1493.6853792072104,6347.9099296937275],"size":[270,70],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"FLOAT","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"FLOAT","name":"FLOAT","type":"FLOAT","links":[261]}],"title":"Float (Duration)","properties":{"Node name for S&R":"PrimitiveFloat","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":[20],"widgets_values_named":{"value":20},"color":"#322","bgcolor":"#533"},{"id":136,"type":"MiniMaxH3ReferenceToVideo","pos":[-620,5420],"size":[400,404],"flags":{},"order":21,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":272},{"localized_name":"vae","name":"vae","shape":7,"type":"VAE","link":273},{"localized_name":"audio_vae","name":"audio_vae","shape":7,"type":"VAE","link":274},{"label":"ref_image_0","localized_name":"ref_image_0","name":"ref_images.ref_image_0","shape":7,"type":"IMAGE","link":278},{"label":"ref_image_1","localized_name":"ref_image_1","name":"ref_images.ref_image_1","shape":7,"type":"IMAGE","link":282},{"label":"ref_image_2","localized_name":"ref_image_2","name":"ref_images.ref_image_2","shape":7,"type":"IMAGE","link":null},{"label":"ref_video_0","localized_name":"ref_video_0","name":"ref_videos.ref_video_0","shape":7,"type":"IMAGE","link":null},{"label":"ref_video_audio_0","localized_name":"ref_video_audio_0","name":"ref_video_audios.ref_video_audio_0","shape":7,"type":"AUDIO","link":null},{"label":"ref_audio_0","localized_name":"ref_audio_0","name":"ref_audios.ref_audio_0","shape":7,"type":"AUDIO","link":null},{"localized_name":"ref_audio_1","name":"ref_audios.ref_audio_1","shape":7,"type":"AUDIO","link":null},{"localized_name":"ref_audio_2","name":"ref_audios.ref_audio_2","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","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":["",1344,768,124,"match"],"widgets_values_named":{"prompt":"","width":1344,"height":768,"length":124,"ref_image_size":"match"}},{"id":137,"type":"LoadImage","pos":[-726.0345856786414,6007.9099296937275],"size":[290,330],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[278]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":["Moonlit Thai Palace Reverie.png","image"],"widgets_values_named":{"image":"Moonlit Thai Palace Reverie.png","upload":"image"}},{"id":138,"type":"PrimitiveStringMultiline","pos":[-1493.6853792072104,6567.9099296937275],"size":[370,390],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"STRING","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"STRING","name":"STRING","type":"STRING","links":[279]}],"title":"Input Text (Prompt)","properties":{"Node name for S&R":"PrimitiveStringMultiline","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":["A breathtaking cinematic Thai fantasy portrait of a beautiful young Thai princess resting her chin on her folded hands, gazing dreamily upward beneath a luminous full moon. She has delicate Thai facial features, soft glowing skin, large expressive eyes, and long dark hair styled in an elegant half-up royal hairstyle adorned with pink lotus flowers and intricate gold-and-blue jewelry ornaments. She wears luxurious Thai-inspired royal silk attire in warm ivory, gold, and soft violet tones, with ornate arm jewelry, earrings, layered necklaces, and refined traditional details.\n\nShe is seated on a richly patterned purple and gold cushion on an ornate palace balcony. Around her are glowing lanterns, lotus flowers in the foreground, hanging pink blossoms above, and an elegant golden architectural frame. In the background, a magnificent Thai fantasy royal city glows across a calm lake under moonlight, with palace spires, warm golden lights, and shimmering reflections on the water.\n\nUltra-detailed, cinematic fantasy illustration, romantic moonlit atmosphere, warm candlelight mixed with cool blue moonlight, dreamy and poetic mood, highly detailed fabric patterns, luxurious Thai ornamentation, soft depth of field, beautiful bokeh, painterly realism, premium fantasy concept art, elegant composition, vertical portrait, masterpiece quality."],"widgets_values_named":{"value":"A breathtaking cinematic Thai fantasy portrait of a beautiful young Thai princess resting her chin on her folded hands, gazing dreamily upward beneath a luminous full moon. She has delicate Thai facial features, soft glowing skin, large expressive eyes, and long dark hair styled in an elegant half-up royal hairstyle adorned with pink lotus flowers and intricate gold-and-blue jewelry ornaments. She wears luxurious Thai-inspired royal silk attire in warm ivory, gold, and soft violet tones, with ornate arm jewelry, earrings, layered necklaces, and refined traditional details.\n\nShe is seated on a richly patterned purple and gold cushion on an ornate palace balcony. Around her are glowing lanterns, lotus flowers in the foreground, hanging pink blossoms above, and an elegant golden architectural frame. In the background, a magnificent Thai fantasy royal city glows across a calm lake under moonlight, with palace spires, warm golden lights, and shimmering reflections on the water.\n\nUltra-detailed, cinematic fantasy illustration, romantic moonlit atmosphere, warm candlelight mixed with cool blue moonlight, dreamy and poetic mood, highly detailed fabric patterns, luxurious Thai ornamentation, soft depth of field, beautiful bokeh, painterly realism, premium fantasy concept art, elegant composition, vertical portrait, masterpiece quality."},"color":"#322","bgcolor":"#533"},{"id":139,"type":"LoadImage","pos":[-373.26570573332947,6008.832889675498],"size":[290,330],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[282]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":["Moonlit Thai Palace Reflections.png","image"],"widgets_values_named":{"image":"Moonlit Thai Palace Reflections.png","upload":"image"}},{"id":140,"type":"MarkdownNote","pos":[-1886.7565285465519,5824.062360905516],"size":[300,520],"flags":{},"order":13,"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 (official 768p) |"],"widgets_values_named":{"text":"| 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 (official 768p) |"},"color":"#222","bgcolor":"#000"},{"id":141,"type":"ComfySwitchNode","pos":[-730,4940],"size":[270,110],"flags":{},"order":20,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"MODEL","link":287},{"localized_name":"on_true","name":"on_true","shape":7,"type":"MODEL","link":286},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":290}],"outputs":[{"localized_name":"output","name":"output","type":"MODEL","links":[288]}],"title":"If/Else Switch (model)","properties":{"Node name for S&R":"ComfySwitchNode","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":142,"type":"ComfySwitchNode","pos":[-390,5110],"size":[270,110],"flags":{},"order":19,"mode":0,"inputs":[{"localized_name":"on_false","name":"on_false","shape":7,"type":"INT","link":284},{"localized_name":"on_true","name":"on_true","shape":7,"type":"INT","link":283},{"localized_name":"switch","name":"switch","type":"BOOLEAN","widget":{"name":"switch"},"link":291}],"outputs":[{"localized_name":"output","name":"output","type":"INT","links":[289]}],"title":"If/Else Switch (Steps)","properties":{"Node name for S&R":"ComfySwitchNode","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":[false],"widgets_values_named":{"switch":false}},{"id":143,"type":"PrimitiveInt","pos":[-730,5090],"size":[270,90],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"INT","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"INT","name":"INT","type":"INT","links":[284]}],"title":"Int (Full)","properties":{"Node name for S&R":"PrimitiveInt","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":[32,"fixed"],"widgets_values_named":{"value":32,"control_after_generate":"fixed"}},{"id":144,"type":"PrimitiveInt","pos":[-730,5220],"size":[270,90],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"INT","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"INT","name":"INT","type":"INT","links":[283]}],"title":"Int (Lightning LoRA)","properties":{"Node name for S&R":"PrimitiveInt","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":[4,"fixed"],"widgets_values_named":{"value":4,"control_after_generate":"fixed"}},{"id":145,"type":"LoraLoaderModelOnly","pos":[-1490,5140],"size":[640,90],"flags":{},"order":17,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":285},{"localized_name":"lora_name","name":"lora_name","type":"COMBO","widget":{"name":"lora_name"},"link":null},{"localized_name":"strength_model","name":"strength_model","type":"FLOAT","widget":{"name":"strength_model"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[286]}],"properties":{"Node name for S&R":"LoraLoaderModelOnly","cnr_id":"comfy-core","ver":"0.33.0","models":[{"name":"minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors","directory":"loras"}]},"widgets_values":["minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",1],"widgets_values_named":{"lora_name":"minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors","strength_model":1}},{"id":146,"type":"PrimitiveBoolean","pos":[-1493.6853792072104,5987.9099296937275],"size":[270,70],"flags":{},"order":16,"mode":0,"inputs":[{"localized_name":"value","name":"value","type":"BOOLEAN","widget":{"name":"value"},"link":null}],"outputs":[{"localized_name":"BOOLEAN","name":"BOOLEAN","type":"BOOLEAN","links":[290,291]}],"title":"Boolean (Enable Lightning LoRA)","properties":{"Node name for S&R":"PrimitiveBoolean","cnr_id":"comfy-core","ver":"0.33.0"},"widgets_values":[true],"widgets_values_named":{"value":true},"color":"#322","bgcolor":"#533"}],"links":[[250,120,0,121,1,"VAE"],[251,119,0,122,1,"VAE"],[252,127,0,124,0,"MODEL"],[253,129,0,125,0,"NOISE"],[254,126,0,125,1,"GUIDER"],[255,123,0,125,2,"SAMPLER"],[256,124,0,125,3,"SIGMAS"],[258,122,0,130,0,"IMAGE"],[259,121,0,130,1,"AUDIO"],[270,136,0,126,1,"CONDITIONING"],[271,136,1,125,4,"LATENT"],[280,125,0,122,0,"LATENT"],[281,125,0,121,0,"LATENT"],[283,144,0,142,1,"INT"],[284,143,0,142,0,"INT"],[285,127,0,145,0,"MODEL"],[286,145,0,141,1,"MODEL"],[287,127,0,141,0,"MODEL"],[288,141,0,126,0,"MODEL"],[290,146,0,141,2,"BOOLEAN"],[291,146,0,142,2,"BOOLEAN"],[289,142,0,124,2,"INT"],[260,130,0,92,0,"VIDEO"],[261,132,0,131,0,"FLOAT"],[272,128,0,136,0,"CLIP"],[273,119,0,136,1,"VAE"],[274,120,0,136,2,"VAE"],[278,137,0,136,3,"IMAGE"],[282,139,0,136,4,"IMAGE"],[279,138,0,136,11,"STRING"],[276,115,0,136,12,"INT"],[277,115,1,136,13,"INT"],[275,131,1,136,14,"INT"]],"groups":[{"id":1,"title":"Models","bounding":[-1520,4840,706.6307417042674,1043.5195580415857],"color":"#3f789e","flags":{}},{"id":2,"title":"Sampling","bounding":[-30,4840,690,700],"color":"#3f789e","flags":{}},{"id":3,"title":"Switch Model and Settings","bounding":[-790,4840,730,490],"color":"#3f789e","flags":{}},{"id":4,"title":"Decoding and create video","bounding":[-30,5570,699.9375954160442,315.6459576687812],"color":"#3f789e","flags":{}},{"id":5,"title":"User Inputs","bounding":[-1523.6853792072104,5907.9099296937275,2190,1090],"color":"#3f789e","flags":{}},{"id":6,"title":"Conditioning","bounding":[-790,5350,738.3905452888239,534.5385443773557],"color":"#3f789e","flags":{}}],"config":{},"extra":{"ds":{"scale":0.2853116706110127,"offset":[2710.976852523284,-4062.352107945897]},"frontendVersion":"1.57.4","VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4}