{ "id": "e218921d-05d8-4be8-963f-7f0d46a6f6b5", "revision": 0, "last_node_id": 201, "last_link_id": 20, "nodes": [ { "id": 127, "type": "UNETLoader", "pos": [ -1300, -250 ], "size": [ 640, 120 ], "flags": {}, "order": 0, "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": [ 1 ] } ], "properties": { "Node name for S&R": "UNETLoader", "cnr_id": "comfy-core", "ver": "0.33.0", "models": [ { "name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors", "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors", "directory": "diffusion_models" } ] }, "widgets_values": [ "minimax_h3_fl2va_pruned_int8_convrot.safetensors", "default" ], "widgets_values_named": { "unet_name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors", "weight_dtype": "default" } }, { "id": 142, "type": "LoraLoaderModelOnly", "pos": [ -1300, -40 ], "size": [ 380, 160 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 1 }, { "name": "lora_name", "type": "COMBO", "widget": { "name": "lora_name" }, "link": null }, { "name": "strength_model", "type": "FLOAT", "widget": { "name": "strength_model" }, "link": null } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 19 ] } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "dmad_minimax_h3_4step_lora_critic_comfyui_bf16.safetensors", 1.0 ], "widgets_values_named": { "lora_name": "dmad_minimax_h3_4step_lora_critic_comfyui_bf16.safetensors", "strength_model": 1.0 } }, { "id": 128, "type": "CLIPLoader", "pos": [ -1300, 240 ], "size": [ 640, 150 ], "flags": {}, "order": 1, "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": [ 4 ] } ], "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": 119, "type": "VAELoader", "pos": [ -1300, 460 ], "size": [ 640, 100 ], "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": [ 5, 14 ] } ], "properties": { "Node name for S&R": "VAELoader", "cnr_id": "comfy-core", "ver": "0.33.0", "models": [ { "name": "minimax_h3_video_vae_fp16.safetensors", "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors", "directory": "vae" } ] }, "widgets_values": [ "minimax_h3_video_vae_fp16.safetensors" ], "widgets_values_named": { "vae_name": "minimax_h3_video_vae_fp16.safetensors" } }, { "id": 120, "type": "VAELoader", "pos": [ -1300, 630 ], "size": [ 650, 100 ], "flags": {}, "order": 4, "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": [ 15 ] } ], "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": 131, "type": "MiniMaxH3ImageToVideo", "pos": [ -840, 240 ], "size": [ 430, 550 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 4 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 5 }, { "localized_name": "首帧", "name": "first_frame", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "末帧", "name": "last_frame", "shape": 7, "type": "IMAGE", "link": null }, { "localized_name": "提示词", "name": "prompt", "type": "STRING", "widget": { "name": "prompt" }, "link": null }, { "localized_name": "宽度", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": null }, { "localized_name": "高度", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": null }, { "localized_name": "长度", "name": "length", "type": "INT", "widget": { "name": "length" }, "link": null } ], "outputs": [ { "localized_name": "正向", "name": "positive", "type": "CONDITIONING", "links": [ 6 ] }, { "localized_name": "Latent", "name": "LATENT", "type": "LATENT", "links": [ 11 ] } ], "properties": { "Node name for S&R": "MiniMaxH3ImageToVideo", "cnr_id": "comfy-core", "ver": "0.33.0" }, "widgets_values": [ "A sweet anime girl in a 'DMAD' sweater makes a heart gesture with her hands. The main subject is a young anime girl with fair skin, large, sparkling blue eyes, and long, flowing pastel pink hair that frames her face. She is wearing a slightly oversized, cozy, cream-colored knitted sweater. Across the chest area of her sweater, the text \"DMAD\" is clearly and neatly printed in a clean, black sans-serif font. Her expression is cheerful and endearing. Initially, the girl stands facing the camera with a gentle smile, her hands positioned in front of her chest, slightly apart. Then, she smoothly brings her hands together, touching her thumbs to form the bottom point of a heart and curving her index and middle fingers to create the top arches. As the heart shape is completed, her smile widens, and she gives a playful wink with her right eye. She is situated in the center of a softly lit room. The background is blurred with a shallow depth of field, suggesting a clean, minimalist interior with a warm, gentle, and comfortable feel. Sunlight filters in from a window off-screen, casting soft highlights on her hair and shoulders, all rendered in a soft, painterly anime style. Medium close-up shot. The camera is at an eye-level angle with the main subject. The camera zooms in slowly, emphasizing her facial expression and hand gesture. The lighting is soft and diffused, creating a warm and inviting mood. The visual style is a high-quality Japanese cel-shading animation, characterized by clean lines, vibrant yet soft colors, and detailed character design. This is a beautiful anime-style animation. The overall video presents a high-quality Japanese animation style. A light, cheerful piano tune with sparkling glockenspiel notes plays at a brisk, bouncy tempo, warm and tender in tone.", 1344, 768, 124 ], "widgets_values_named": { "prompt": "A sweet anime girl in a 'DMAD' sweater makes a heart gesture with her hands. The main subject is a young anime girl with fair skin, large, sparkling blue eyes, and long, flowing pastel pink hair that frames her face. She is wearing a slightly oversized, cozy, cream-colored knitted sweater. Across the chest area of her sweater, the text \"DMAD\" is clearly and neatly printed in a clean, black sans-serif font. Her expression is cheerful and endearing. Initially, the girl stands facing the camera with a gentle smile, her hands positioned in front of her chest, slightly apart. Then, she smoothly brings her hands together, touching her thumbs to form the bottom point of a heart and curving her index and middle fingers to create the top arches. As the heart shape is completed, her smile widens, and she gives a playful wink with her right eye. She is situated in the center of a softly lit room. The background is blurred with a shallow depth of field, suggesting a clean, minimalist interior with a warm, gentle, and comfortable feel. Sunlight filters in from a window off-screen, casting soft highlights on her hair and shoulders, all rendered in a soft, painterly anime style. Medium close-up shot. The camera is at an eye-level angle with the main subject. The camera zooms in slowly, emphasizing her facial expression and hand gesture. The lighting is soft and diffused, creating a warm and inviting mood. The visual style is a high-quality Japanese cel-shading animation, characterized by clean lines, vibrant yet soft colors, and detailed character design. This is a beautiful anime-style animation. The overall video presents a high-quality Japanese animation style. A light, cheerful piano tune with sparkling glockenspiel notes plays at a brisk, bouncy tempo, warm and tender in tone.", "width": 1344, "height": 768, "length": 124 }, "title": "VDN prompt 8 · 14.4s" }, { "id": 141, "type": "MiniMaxH3SparkAttentionSM120", "pos": [ -840, -260 ], "size": [ 390, 345 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 20 }, { "name": "enabled", "type": "BOOLEAN", "widget": { "name": "enabled" }, "link": null }, { "name": "steps", "type": "INT", "widget": { "name": "steps" }, "link": null }, { "name": "warmup_mode", "type": "COMBO", "widget": { "name": "warmup_mode" }, "link": null }, { "name": "warmup_ratio", "type": "FLOAT", "widget": { "name": "warmup_ratio" }, "link": null }, { "name": "warmup_steps", "type": "INT", "widget": { "name": "warmup_steps" }, "link": null }, { "name": "topk_mode", "type": "COMBO", "widget": { "name": "topk_mode" }, "link": null }, { "name": "topk_ratio", "type": "FLOAT", "widget": { "name": "topk_ratio" }, "link": null }, { "name": "topk_blocks", "type": "INT", "widget": { "name": "topk_blocks" }, "link": null }, { "name": "dense_layers", "type": "INT", "widget": { "name": "dense_layers" }, "link": null }, { "name": "min_tokens", "type": "INT", "widget": { "name": "min_tokens" }, "link": null }, { "name": "strict", "type": "BOOLEAN", "widget": { "name": "strict" }, "link": null }, { "name": "tail_granularity", "type": "COMBO", "shape": 7, "widget": { "name": "tail_granularity" }, "link": null } ], "outputs": [ { "localized_name": "模型", "name": "MODEL", "type": "MODEL", "links": [ 2, 3 ] } ], "properties": { "Node name for S&R": "MiniMaxH3SparkAttentionSM120" }, "widgets_values": [ true, 4, "warmup_ratio", 0.25, 1, "topk_ratio", 0.2, 228, 1, 12288, true, "query" ], "widgets_values_named": { "enabled": true, "steps": 4, "warmup_mode": "warmup_ratio", "warmup_ratio": 0.25, "warmup_steps": 1, "topk_mode": "topk_ratio", "topk_ratio": 0.2, "topk_blocks": 228, "dense_layers": 1, "min_tokens": 12288, "strict": true, "tail_granularity": "query" }, "title": "Spark-H3 + DMAD · TopK 20%" }, { "id": 126, "type": "BasicGuider", "pos": [ -350, -240 ], "size": [ 360, 80 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "localized_name": "模型", "name": "model", "type": "MODEL", "link": 2 }, { "localized_name": "条件", "name": "conditioning", "type": "CONDITIONING", "link": 6 } ], "outputs": [ { "localized_name": "引导器", "name": "GUIDER", "type": "GUIDER", "links": [ 8 ] } ], "properties": { "Node name for S&R": "BasicGuider", "cnr_id": "comfy-core", "ver": "0.33.0" } }, { "id": 129, "type": "RandomNoise", "pos": [ -350, -60 ], "size": [ 360, 90 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "localized_name": "噪波随机种", "name": "noise_seed", "type": "INT", "widget": { "name": "noise_seed" }, "link": null } ], "outputs": [ { "localized_name": "噪波", "name": "NOISE", "type": "NOISE", "links": [ 7 ] } ], "properties": { "Node name for S&R": "RandomNoise", "cnr_id": "comfy-core", "ver": "0.33.0" }, "widgets_values": [ 42, "fixed" ], "widgets_values_named": { "noise_seed": 42, "fixed": "fixed" } }, { "id": 123, "type": "MiniMaxH3DMADSampler", "pos": [ -350, 100 ], "size": [ 370, 90 ], "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "采样器", "name": "SAMPLER", "type": "SAMPLER", "links": [ 9 ] } ], "properties": { "Node name for S&R": "MiniMaxH3DMADSampler" } }, { "id": 124, "type": "BasicScheduler", "pos": [ -350, 260 ], "size": [ 370, 150 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "模型", "name": "model", "type": "MODEL", "link": 3 }, { "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": [ 10 ] } ], "properties": { "Node name for S&R": "BasicScheduler", "cnr_id": "comfy-core", "ver": "0.33.0" }, "widgets_values": [ "simple", 4, 1 ], "widgets_values_named": { "scheduler": "simple", "steps": 4, "denoise": 1 } }, { "id": 125, "type": "SamplerCustomAdvanced", "pos": [ 70, 30 ], "size": [ 230, 390 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "localized_name": "噪波", "name": "noise", "type": "NOISE", "link": 7 }, { "localized_name": "引导器", "name": "guider", "type": "GUIDER", "link": 8 }, { "localized_name": "采样器", "name": "sampler", "type": "SAMPLER", "link": 9 }, { "localized_name": "西格玛", "name": "sigmas", "type": "SIGMAS", "link": 10 }, { "localized_name": "Latent图像", "name": "latent_image", "type": "LATENT", "link": 11 } ], "outputs": [ { "localized_name": "Latent", "name": "output", "type": "LATENT", "links": [ 12, 13 ] }, { "localized_name": "降噪Latent", "name": "denoised_output", "type": "LATENT", "links": null } ], "properties": { "Node name for S&R": "SamplerCustomAdvanced", "cnr_id": "comfy-core", "ver": "0.33.0" } }, { "id": 122, "type": "VAEDecode", "pos": [ 430, -70 ], "size": [ 230, 80 ], "flags": { "collapsed": false }, "order": 12, "mode": 0, "inputs": [ { "localized_name": "Latent", "name": "samples", "type": "LATENT", "link": 12 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 14 } ], "outputs": [ { "localized_name": "图像", "name": "IMAGE", "type": "IMAGE", "links": [ 16 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.33.0" } }, { "id": 121, "type": "VAEDecodeAudio", "pos": [ 430, 150 ], "size": [ 230, 80 ], "flags": { "collapsed": false }, "order": 13, "mode": 0, "inputs": [ { "localized_name": "Latent", "name": "samples", "type": "LATENT", "link": 13 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 15 } ], "outputs": [ { "localized_name": "音频", "name": "AUDIO", "type": "AUDIO", "links": [ 17 ] } ], "properties": { "Node name for S&R": "VAEDecodeAudio", "cnr_id": "comfy-core", "ver": "0.33.0" } }, { "id": 130, "type": "CreateVideo", "pos": [ 740, 30 ], "size": [ 270, 150 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "localized_name": "图像", "name": "images", "type": "IMAGE", "link": 16 }, { "localized_name": "音频", "name": "audio", "shape": 7, "type": "AUDIO", "link": 17 }, { "localized_name": "帧率", "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": "codec", "name": "codec", "shape": 7, "type": "COMBO", "widget": { "name": "codec" }, "link": null } ], "outputs": [ { "localized_name": "视频", "name": "VIDEO", "type": "VIDEO", "links": [ 18 ] } ], "properties": { "Node name for S&R": "CreateVideo", "cnr_id": "comfy-core", "ver": "0.33.0" }, "widgets_values": [ 24, 8, "sRGB", "none" ], "widgets_values_named": { "fps": 24, "bit_depth": 8, "color_space": "sRGB", "codec": "none" } }, { "id": 92, "type": "SaveVideo", "pos": [ 1060, 30 ], "size": [ 1070, 357.875 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "localized_name": "视频", "name": "video", "type": "VIDEO", "link": 18 }, { "localized_name": "文件名前缀", "name": "filename_prefix", "type": "STRING", "widget": { "name": "filename_prefix" }, "link": null }, { "localized_name": "格式", "name": "format", "type": "COMFY_DYNAMICCOMBO_V3", "widget": { "name": "format" }, "link": null }, { "localized_name": "编解码器", "name": "format.codec", "type": "COMFY_DYNAMICCOMBO_V3", "widget": { "name": "format.codec" }, "link": null }, { "localized_name": "编码器", "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/Spark_H3_DMAD_4step_5p2s", "auto", "auto", "auto" ], "widgets_values_named": { "filename_prefix": "video/Spark_H3_DMAD_4step_5p2s", "format": "auto", "format.codec": "auto", "codec": "auto" } }, { "id": 200, "type": "MarkdownNote", "pos": [ -1850, -240 ], "size": [ 480, 510 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [], "title": "Example guide · 14.4s", "properties": {}, "widgets_values": [ "# Spark-H3 + DMAD 4-step LoRA\n\n- LoRA: `dmad_minimax_h3_4step_lora_critic_comfyui_bf16.safetensors` at strength 1.0.\n- Model sampling: MiniMax-H3 video shift 12, audio shift 2.\n- Scheduler: `simple`, 4 steps; Spark `steps=4`, `warmup_ratio=0.25` (first evaluation dense), `topk_ratio=0.2`, `dense_layers=1`.\n- Sampler: `MiniMaxH3DMADSampler`, implementing DMAD's re-noise rule.\n- Upstream DMAD sweater prompt; T2VA with synchronized audio: 124 frames (5.2 s) at 24 fps, 1344×768, seed 42.\n- Load the converted LoRA, apply the 12/2 sigma shift, then Spark; Spark output feeds both BasicGuider and BasicScheduler.\n" ], "widgets_values_named": { "text": "# Spark-H3 + DMAD 4-step LoRA\n\n- LoRA: `dmad_minimax_h3_4step_lora_critic_comfyui_bf16.safetensors` at strength 1.0.\n- Model sampling: MiniMax-H3 video shift 12, audio shift 2.\n- Scheduler: `simple`, 4 steps; Spark `steps=4`, `warmup_ratio=0.25` (first evaluation dense), `topk_ratio=0.2`, `dense_layers=1`.\n- Sampler: `MiniMaxH3DMADSampler`, implementing DMAD's re-noise rule.\n- Upstream DMAD sweater prompt; T2VA with synchronized audio: 124 frames (5.2 s) at 24 fps, 1344×768, seed 42.\n- Load the converted LoRA, apply the 12/2 sigma shift, then Spark; Spark output feeds both BasicGuider and BasicScheduler.\n" }, "color": "#222", "bgcolor": "#000" }, { "id": 201, "type": "MiniMaxH3SigmaShift", "pos": [ -840, -470 ], "size": [ 390, 150 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 19 }, { "name": "shift_video", "type": "FLOAT", "widget": { "name": "shift_video" }, "link": null }, { "name": "shift_audio", "type": "FLOAT", "widget": { "name": "shift_audio" }, "link": null } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 20 ] } ], "properties": { "Node name for S&R": "MiniMaxH3SigmaShift", "cnr_id": "comfy-core" }, "widgets_values": [ 12.0, 2.0 ], "widgets_values_named": { "shift_video": 12.0, "shift_audio": 2.0 } } ], "links": [ [ 1, 127, 0, 142, 0, "MODEL" ], [ 2, 141, 0, 126, 0, "MODEL" ], [ 3, 141, 0, 124, 0, "MODEL" ], [ 4, 128, 0, 131, 0, "CLIP" ], [ 5, 119, 0, 131, 1, "VAE" ], [ 6, 131, 0, 126, 1, "CONDITIONING" ], [ 7, 129, 0, 125, 0, "NOISE" ], [ 8, 126, 0, 125, 1, "GUIDER" ], [ 9, 123, 0, 125, 2, "SAMPLER" ], [ 10, 124, 0, 125, 3, "SIGMAS" ], [ 11, 131, 1, 125, 4, "LATENT" ], [ 12, 125, 0, 122, 0, "LATENT" ], [ 13, 125, 0, 121, 0, "LATENT" ], [ 14, 119, 0, 122, 1, "VAE" ], [ 15, 120, 0, 121, 1, "VAE" ], [ 16, 122, 0, 130, 0, "IMAGE" ], [ 17, 121, 0, 130, 1, "AUDIO" ], [ 18, 130, 0, 92, 0, "VIDEO" ], [ 19, 142, 0, 201, 0, "MODEL" ], [ 20, 201, 0, 141, 0, "MODEL" ] ], "groups": [], "config": {}, "extra": { "frontendVersion": "1.49.6" }, "version": 0.4 }