{ "id": "6d2f95df-3574-43fd-9bad-7d4676e329f4", "revision": 0, "last_node_id": 23, "last_link_id": 45, "nodes": [ { "id": 1, "type": "UNETLoader", "pos": [40, 40], "size": [300, 82], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [{"name": "MODEL", "type": "MODEL", "links": [1, 22]}], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "UNETLoader"}, "widgets_values": ["minimax_h3_fused_refdelta_r1024_turbo8_mystic07_int8_convrot.safetensors", "default"], "widgets_values_named": {"unet_name": "minimax_h3_fused_refdelta_r1024_turbo8_mystic07_int8_convrot.safetensors", "weight_dtype": "default"} }, { "id": 2, "type": "CLIPLoader", "pos": [40, 160], "size": [300, 106], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [{"name": "CLIP", "type": "CLIP", "links": [11]}], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "CLIPLoader"}, "widgets_values": ["minimax_h3\\qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", "minimax", "default"], "widgets_values_named": {"clip_name": "minimax_h3\\qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors", "type": "minimax", "device": "default"} }, { "id": 3, "type": "VAELoader", "pos": [40, 305], "size": [300, 58], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [{"name": "VAE", "type": "VAE", "links": [12, 19, 30]}], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "VAELoader"}, "widgets_values": ["minimax_h3_video_vae_fp16.safetensors"], "widgets_values_named": {"vae_name": "minimax_h3_video_vae_fp16.safetensors"} }, { "id": 4, "type": "VAELoader", "pos": [40, 405], "size": [300, 58], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [{"name": "VAE", "type": "VAE", "links": [13, 20, 32]}], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "VAELoader"}, "widgets_values": ["minimax_h3_audio_vae_fp32.safetensors"], "widgets_values_named": {"vae_name": "minimax_h3_audio_vae_fp32.safetensors"} }, { "id": 5, "type": "BasicScheduler", "pos": [390, 40], "size": [270, 106], "flags": {}, "order": 4, "mode": 0, "inputs": [{"name": "model", "type": "MODEL", "link": 1}], "outputs": [{"name": "SIGMAS", "type": "SIGMAS", "links": [18, 27]}], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "BasicScheduler"}, "widgets_values": ["simple", 8, 1], "widgets_values_named": {"scheduler": "simple", "steps": 8, "denoise": 1} }, { "id": 6, "type": "KSamplerSelect", "pos": [390, 180], "size": [270, 58], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [{"name": "SAMPLER", "type": "SAMPLER", "links": [26]}], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "KSamplerSelect"}, "widgets_values": ["euler"], "widgets_values_named": {"sampler_name": "euler"} }, { "id": 7, "type": "MiniMaxH3TimelinePlanner", "pos": [40, 720], "size": [1790, 1445], "flags": {}, "order": 6, "mode": 0, "inputs": [{"name": "prompt_index", "shape": 7, "type": "INT", "link": null}], "outputs": [ {"name": "Material Plan", "type": "MINIMAX_H3_TIMELINE_PLAN", "links": []}, {"name": "Omni Media Bundle", "type": "MINIMAX_H3_OMNI_MEDIA_BUNDLE", "links": []}, {"name": "Segment Plan", "type": "MINIMAX_H3_FINITE_SEGMENT_PLAN", "links": [2, 5, 8, 33]} ], "properties": {"aux_id": "Songssx/ComfyUI-MiniMaxH3-TimelineDirector", "Node name for S&R": "MiniMaxH3TimelinePlanner"}, "widgets_values": [ 512, 288, 8, "{\"version\":5,\"fps\":24,\"globalPrompt\":\"integrated_multimodal_description:\\n[Shot 1] A cinematic continuous shot with stable identity, natural motion, coherent lighting, and no hard cut.\\noverall_soundscape:\\nNatural synchronized ambience.\\nnon_diegetic_music:\\nN/A\",\"selection\":{\"start\":0,\"duration\":8},\"videoAudioEnabled\":true,\"videoClips\":[],\"images\":[],\"audios\":[],\"segmentConfig\":{\"count\":2,\"mode\":\"timeline\",\"segments\":[{\"images\":[],\"audios\":[],\"prompt\":\"\",\"startFrame\":0,\"endFrame\":192},{\"images\":[],\"audios\":[],\"prompt\":\"\",\"startFrame\":153,\"endFrame\":396}],\"activeIndex\":0}}", "" ], "widgets_values_named": { "width": 512, "height": 288, "generation_seconds": 8, "timeline_data": "{\"version\":5,\"fps\":24,\"globalPrompt\":\"integrated_multimodal_description:\\n[Shot 1] A cinematic continuous shot with stable identity, natural motion, coherent lighting, and no hard cut.\\noverall_soundscape:\\nNatural synchronized ambience.\\nnon_diegetic_music:\\nN/A\",\"selection\":{\"start\":0,\"duration\":8},\"videoAudioEnabled\":true,\"videoClips\":[],\"images\":[],\"audios\":[],\"segmentConfig\":{\"count\":2,\"mode\":\"timeline\",\"segments\":[{\"images\":[],\"audios\":[],\"prompt\":\"\",\"startFrame\":0,\"endFrame\":192},{\"images\":[],\"audios\":[],\"prompt\":\"\",\"startFrame\":153,\"endFrame\":396}],\"activeIndex\":0}}", "minimax_h3_timeline": "" } }, { "id": 8, "type": "MiniMaxH3FiniteLoopInitialize", "pos": [720, 40], "size": [285, 78], "flags": {}, "order": 7, "mode": 0, "inputs": [{"name": "finite_plan", "type": "MINIMAX_H3_FINITE_SEGMENT_PLAN", "link": 2}], "outputs": [ {"name": "Initial Loop State", "type": "MINIMAX_H3_FINITE_LOOP_STATE", "links": [4]}, {"name": "Segment Count", "type": "INT", "links": null} ], "properties": {"aux_id": "Songssx/ComfyUI-MiniMaxH3-TimelineDirector", "Node name for S&R": "MiniMaxH3FiniteLoopInitialize"} }, { "id": 9, "type": "StartLoop", "pos": [1050, 35], "size": [300, 185], "flags": {}, "order": 8, "mode": 0, "inputs": [ {"name": "parent_iteration", "type": "INT", "link": null}, {"name": "initial_iteration_value", "type": "MINIMAX_H3_FINITE_LOOP_STATE", "link": 4} ], "outputs": [ {"name": "iteration_index", "type": "INT", "links": [6, 21, 38]}, {"name": "is_first", "type": "BOOLEAN", "links": null}, {"name": "is_last", "type": "BOOLEAN", "links": null}, {"name": "list_item", "type": "*", "links": null}, {"name": "current_iteration_value", "type": "MINIMAX_H3_FINITE_LOOP_STATE", "links": [15, 34]} ], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "StartLoop"}, "widgets_values": [{"mode": "simple", "num_iterations": 2}, false], "widgets_values_named": {"mode": {"mode": "simple", "num_iterations": 2}, "cache_iterations": false} }, { "id": 10, "type": "MiniMaxH3FiniteLoopSegment", "pos": [1410, 35], "size": [315, 190], "flags": {}, "order": 9, "mode": 0, "inputs": [ {"name": "finite_plan", "type": "MINIMAX_H3_FINITE_SEGMENT_PLAN", "link": 5}, {"name": "iteration_index", "type": "INT", "link": 6} ], "outputs": [ {"name": "Segment Material Plan", "type": "MINIMAX_H3_TIMELINE_PLAN", "links": [7, 16]}, {"name": "Segment Prompt", "type": "STRING", "links": [10]}, {"name": "Overlap Frames", "type": "INT", "links": null}, {"name": "Use Two-Stage Sampling", "type": "BOOLEAN", "links": null}, {"name": "Two-Stage Model", "type": "STRING", "links": null}, {"name": "High-Resolution Steps", "type": "INT", "links": null} ], "properties": {"aux_id": "Songssx/ComfyUI-MiniMaxH3-TimelineDirector", "Node name for S&R": "MiniMaxH3FiniteLoopSegment"} }, { "id": 11, "type": "MiniMaxH3TimelineEncoder", "pos": [1780, 35], "size": [330, 210], "flags": {}, "order": 10, "mode": 0, "inputs": [ {"name": "clip", "type": "CLIP", "link": 11}, {"name": "vae", "type": "VAE", "link": 12}, {"name": "audio_vae", "type": "VAE", "link": 13}, {"name": "plan", "type": "MINIMAX_H3_TIMELINE_PLAN", "link": 7}, {"name": "prompt", "type": "STRING", "link": 10} ], "outputs": [ {"name": "positive", "type": "CONDITIONING", "links": [17]}, {"name": "LATENT", "type": "LATENT", "links": [9]}, {"name": "Merged Video Audio", "type": "AUDIO", "links": null}, {"name": "Merged Standalone Audio", "type": "AUDIO", "links": null} ], "properties": {"aux_id": "Songssx/ComfyUI-MiniMaxH3-TimelineDirector", "Node name for S&R": "MiniMaxH3TimelineEncoder"}, "widgets_values": ["match"], "widgets_values_named": {"ref_image_size": "match"} }, { "id": 12, "type": "MiniMaxH3FiniteLoopPrepare", "pos": [2160, 35], "size": [360, 330], "flags": {}, "order": 11, "mode": 0, "inputs": [ {"name": "finite_plan", "type": "MINIMAX_H3_FINITE_SEGMENT_PLAN", "link": 8}, {"name": "loop_state", "type": "MINIMAX_H3_FINITE_LOOP_STATE", "link": 15}, {"name": "segment_plan", "type": "MINIMAX_H3_TIMELINE_PLAN", "link": 16}, {"name": "positive", "type": "CONDITIONING", "link": 17}, {"name": "target_latent", "type": "LATENT", "link": 9}, {"name": "model", "type": "MODEL", "link": 22}, {"name": "sigmas", "type": "SIGMAS", "link": 18}, {"name": "vae", "type": "VAE", "link": 19}, {"name": "audio_vae", "type": "VAE", "link": 20}, {"name": "iteration_index", "type": "INT", "link": 21} ], "outputs": [ {"name": "Positive", "type": "CONDITIONING", "links": [24]}, {"name": "Sampling Latent", "type": "LATENT", "links": [28]}, {"name": "Sampling Model", "type": "MODEL", "links": [23]}, {"name": "Actual Overlap Frames", "type": "INT", "links": null} ], "properties": {"aux_id": "Songssx/ComfyUI-MiniMaxH3-TimelineDirector", "Node name for S&R": "MiniMaxH3FiniteLoopPrepare"}, "widgets_values": [true], "widgets_values_named": {"continue_audio_latent": true} }, { "id": 13, "type": "RandomNoise", "pos": [2160, 405], "size": [300, 82], "flags": {}, "order": 12, "mode": 0, "inputs": [], "outputs": [{"name": "NOISE", "type": "NOISE", "links": [25]}], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "RandomNoise"}, "widgets_values": [20260921, "fixed"], "widgets_values_named": {"noise_seed": 20260921, "control_after_generate": "fixed"} }, { "id": 14, "type": "BasicGuider", "pos": [2570, 35], "size": [280, 90], "flags": {}, "order": 13, "mode": 0, "inputs": [ {"name": "model", "type": "MODEL", "link": 23}, {"name": "conditioning", "type": "CONDITIONING", "link": 24} ], "outputs": [{"name": "GUIDER", "type": "GUIDER", "links": [29]}], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "BasicGuider"} }, { "id": 15, "type": "SamplerCustomAdvanced", "pos": [2910, 35], "size": [330, 220], "flags": {}, "order": 14, "mode": 0, "inputs": [ {"name": "noise", "type": "NOISE", "link": 25}, {"name": "guider", "type": "GUIDER", "link": 29}, {"name": "sampler", "type": "SAMPLER", "link": 26}, {"name": "sigmas", "type": "SIGMAS", "link": 27}, {"name": "latent_image", "type": "LATENT", "link": 28} ], "outputs": [ {"name": "output", "type": "LATENT", "links": [31, 35, 45]}, {"name": "denoised_output", "type": "LATENT", "links": null} ], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "SamplerCustomAdvanced"} }, { "id": 16, "type": "VAEDecode", "pos": [3290, 35], "size": [250, 90], "flags": {}, "order": 15, "mode": 0, "inputs": [ {"name": "samples", "type": "LATENT", "link": 31}, {"name": "vae", "type": "VAE", "link": 30} ], "outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [36]}], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "VAEDecode"} }, { "id": 17, "type": "VAEDecodeAudio", "pos": [3290, 160], "size": [250, 90], "flags": {}, "order": 16, "mode": 0, "inputs": [ {"name": "samples", "type": "LATENT", "link": 45}, {"name": "vae", "type": "VAE", "link": 32} ], "outputs": [{"name": "AUDIO", "type": "AUDIO", "links": [37]}], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "VAEDecodeAudio"} }, { "id": 18, "type": "MiniMaxH3FiniteLoopAccumulate", "pos": [3600, 35], "size": [370, 255], "flags": {}, "order": 17, "mode": 0, "inputs": [ {"name": "finite_plan", "type": "MINIMAX_H3_FINITE_SEGMENT_PLAN", "link": 33}, {"name": "loop_state", "type": "MINIMAX_H3_FINITE_LOOP_STATE", "link": 34}, {"name": "sampled_latent", "type": "LATENT", "link": 35}, {"name": "images", "type": "IMAGE", "link": 36}, {"name": "audio", "type": "AUDIO", "link": 37}, {"name": "iteration_index", "type": "INT", "link": 38} ], "outputs": [ {"name": "Next Loop State", "type": "MINIMAX_H3_FINITE_LOOP_STATE", "links": [39, 40]}, {"name": "Current Merged Frames", "type": "IMAGE", "links": null}, {"name": "Current Merged Audio", "type": "AUDIO", "links": null} ], "properties": {"aux_id": "Songssx/ComfyUI-MiniMaxH3-TimelineDirector", "Node name for S&R": "MiniMaxH3FiniteLoopAccumulate"}, "widgets_values": [true], "widgets_values_named": {"continue_audio_latent": true} }, { "id": 19, "type": "EndLoop", "pos": [4020, 35], "size": [300, 150], "flags": {}, "order": 18, "mode": 0, "inputs": [ {"name": "output_value", "type": "MINIMAX_H3_FINITE_LOOP_STATE", "link": 39}, {"name": "next_iteration_value", "type": "MINIMAX_H3_FINITE_LOOP_STATE", "link": 40} ], "outputs": [{"name": "outputs", "type": "MINIMAX_H3_FINITE_LOOP_STATE", "links": [41], "shape": 6}], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "EndLoop"}, "widgets_values": [false], "widgets_values_named": {"accumulate": false} }, { "id": 20, "type": "MiniMaxH3FiniteLoopOutput", "pos": [4380, 35], "size": [330, 160], "flags": {}, "order": 19, "mode": 0, "inputs": [{"name": "loop_state", "type": "MINIMAX_H3_FINITE_LOOP_STATE", "link": 41}], "outputs": [ {"name": "Last Sampled Latent", "type": "LATENT", "links": null}, {"name": "Merged Frames", "type": "IMAGE", "links": [42]}, {"name": "Merged Audio", "type": "AUDIO", "links": [43]}, {"name": "Loop Status", "type": "STRING", "links": null} ], "properties": {"aux_id": "Songssx/ComfyUI-MiniMaxH3-TimelineDirector", "Node name for S&R": "MiniMaxH3FiniteLoopOutput"} }, { "id": 21, "type": "CreateVideo", "pos": [4770, 35], "size": [280, 130], "flags": {}, "order": 20, "mode": 0, "inputs": [ {"name": "images", "type": "IMAGE", "link": 42}, {"name": "audio", "shape": 7, "type": "AUDIO", "link": 43} ], "outputs": [{"name": "VIDEO", "type": "VIDEO", "links": [44]}], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "CreateVideo"}, "widgets_values": [24, 8, "sRGB"], "widgets_values_named": {"fps": 24, "bit_depth": 8, "color_space": "sRGB"} }, { "id": 22, "type": "SaveVideo", "pos": [5110, 35], "size": [285, 135], "flags": {}, "order": 21, "mode": 0, "inputs": [{"name": "video", "type": "VIDEO", "link": 44}], "outputs": [{"name": "video", "type": "VIDEO", "links": null}], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "SaveVideo"}, "widgets_values": ["H3_native_loop/CASE_ID", "mp4", "auto", "h264", "auto"], "widgets_values_named": {"filename_prefix": "H3_native_loop/CASE_ID", "format": "mp4", "format.codec": "auto", "codec": "h264", "codec.encoding": "auto"} }, { "id": 23, "type": "MarkdownNote", "pos": [1050, 300], "size": [930, 300], "flags": {}, "order": 22, "mode": 0, "inputs": [], "outputs": [], "properties": {"cnr_id": "comfy-core", "Node name for S&R": "MarkdownNote"}, "widgets_values": ["# MiniMax H3 原生 Loop 有限分段示例\n\n1. 在素材规划台设置素材、提示词、分段与重叠区。\n2. 初始化节点把分段数量送给 Start Loop,并把状态作为循环携带值。\n3. 循环内依次选择分段、编码、续接 Drift-Control、采样、解码和合并。\n4. End Loop 将最后状态送入完成节点,再统一输出视频和音频。\n\n当前示例展示最容易自由修改的普通一采循环体。需要二采时,可把 Basic Guider + SamplerCustomAdvanced 替换为插件内置的 MiniMax H3 Timeline SelfLift Sampler;准备与合并节点保持不变。\n\n注意:Start Loop 的次数应与素材规划台的分段数一致。默认示例均为 2 段。"], "widgets_values_named": {"text": "# MiniMax H3 原生 Loop 有限分段示例\n\n1. 在素材规划台设置素材、提示词、分段与重叠区。\n2. 初始化节点把分段数量送给 Start Loop,并把状态作为循环携带值。\n3. 循环内依次选择分段、编码、续接 Drift-Control、采样、解码和合并。\n4. End Loop 将最后状态送入完成节点,再统一输出视频和音频。\n\n当前示例展示最容易自由修改的普通一采循环体。需要二采时,可把 Basic Guider + SamplerCustomAdvanced 替换为插件内置的 MiniMax H3 Timeline SelfLift Sampler;准备与合并节点保持不变。\n\n注意:Start Loop 的次数应与素材规划台的分段数一致。默认示例均为 2 段。"} } ], "links": [ [1, 1, 0, 5, 0, "MODEL"], [2, 7, 2, 8, 0, "MINIMAX_H3_FINITE_SEGMENT_PLAN"], [4, 8, 0, 9, 1, "MINIMAX_H3_FINITE_LOOP_STATE"], [5, 7, 2, 10, 0, "MINIMAX_H3_FINITE_SEGMENT_PLAN"], [6, 9, 0, 10, 1, "INT"], [7, 10, 0, 11, 3, "MINIMAX_H3_TIMELINE_PLAN"], [8, 7, 2, 12, 0, "MINIMAX_H3_FINITE_SEGMENT_PLAN"], [9, 11, 1, 12, 4, "LATENT"], [10, 10, 1, 11, 4, "STRING"], [11, 2, 0, 11, 0, "CLIP"], [12, 3, 0, 11, 1, "VAE"], [13, 4, 0, 11, 2, "VAE"], [15, 9, 4, 12, 1, "MINIMAX_H3_FINITE_LOOP_STATE"], [16, 10, 0, 12, 2, "MINIMAX_H3_TIMELINE_PLAN"], [17, 11, 0, 12, 3, "CONDITIONING"], [18, 5, 0, 12, 6, "SIGMAS"], [19, 3, 0, 12, 7, "VAE"], [20, 4, 0, 12, 8, "VAE"], [21, 9, 0, 12, 9, "INT"], [22, 1, 0, 12, 5, "MODEL"], [23, 12, 2, 14, 0, "MODEL"], [24, 12, 0, 14, 1, "CONDITIONING"], [25, 13, 0, 15, 0, "NOISE"], [26, 6, 0, 15, 2, "SAMPLER"], [27, 5, 0, 15, 3, "SIGMAS"], [28, 12, 1, 15, 4, "LATENT"], [29, 14, 0, 15, 1, "GUIDER"], [30, 3, 0, 16, 1, "VAE"], [31, 15, 0, 16, 0, "LATENT"], [32, 4, 0, 17, 1, "VAE"], [33, 7, 2, 18, 0, "MINIMAX_H3_FINITE_SEGMENT_PLAN"], [34, 9, 4, 18, 1, "MINIMAX_H3_FINITE_LOOP_STATE"], [35, 15, 0, 18, 2, "LATENT"], [36, 16, 0, 18, 3, "IMAGE"], [37, 17, 0, 18, 4, "AUDIO"], [38, 9, 0, 18, 5, "INT"], [39, 18, 0, 19, 0, "MINIMAX_H3_FINITE_LOOP_STATE"], [40, 18, 0, 19, 1, "MINIMAX_H3_FINITE_LOOP_STATE"], [41, 19, 0, 20, 0, "MINIMAX_H3_FINITE_LOOP_STATE"], [42, 20, 1, 21, 0, "IMAGE"], [43, 20, 2, 21, 1, "AUDIO"], [44, 21, 0, 22, 0, "VIDEO"], [45, 15, 0, 17, 0, "LATENT"] ], "groups": [ {"id": 1, "title": "1. 模型与基础采样参数", "bounding": [10, 0, 680, 520], "color": "#3f789e", "font_size": 24}, {"id": 2, "title": "2. ComfyUI 原生 Loop 分段生成", "bounding": [690, 0, 4060, 650], "color": "#8a6fa8", "font_size": 24}, {"id": 3, "title": "3. 完整音画输出", "bounding": [4740, 0, 690, 230], "color": "#3f8f6b", "font_size": 24}, {"id": 4, "title": "素材规划台:上传素材、配置提示词、分段与重叠", "bounding": [10, 670, 1850, 1525], "color": "#8f6b3f", "font_size": 24} ], "config": {}, "extra": { "ds": {"scale": 0.42, "offset": [120, 120]}, "frontendVersion": "1.53.6", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }