BennyDaBall commited on
Commit
e69bbfc
·
verified ·
1 Parent(s): 5bdb7b4

pi-H3 workflows: 2-step and 4-step on HyperFlow H3 Flash NVFP4, and 480p max speed (official and HyperFlow)

Browse files
README.md CHANGED
@@ -1,128 +1,191 @@
1
- ---
2
- license: apache-2.0
3
- pipeline_tag: text-to-video
4
- tags:
5
- - comfyui
6
- - workflow
7
- - minimax-h3
8
- - text-to-video
9
- - video
10
- - audio
11
- - turbo
12
- - lora
13
- - upscaling
14
- - open-h3-regenerate-2k
15
- ---
16
-
17
- # MiniMax H3 — ComfyUI Workflows
18
-
19
- ![MiniMax H3 ComfyUI Workflows, video with native stereo audio, by BennyDaBall](banner.png)
20
-
21
- **Follow me on X [@BennyDaBall_OG](https://x.com/BennyDaBall_OG) !**
22
-
23
- **Want to support my work? Buy me a coffee on [Ko-fi](https://ko-fi.com/bennydaball) !**
24
-
25
- Drag-and-drop ComfyUI workflows for [MiniMax H3](https://www.minimax.io/blog/minimax-h3), the omni-modal video model that generates video **with native stereo audio** (voice, SFX, room tone — all in one pass). Shared by [@BennyDaBall_OG](https://x.com/BennyDaBall_OG).
26
-
27
- ## Workflows
28
-
29
- | File | What it does |
30
- |---|---|
31
- | [`OpenH3_FaceRegion_Prompt_to_2K_BennyDaBall.json`](./OpenH3_FaceRegion_Prompt_to_2K_BennyDaBall.json) | Prompt → 768p H3 draft → **2560x1440 regenerate that keeps the faces and the lip sync**, in one queue |
32
- | [`MiniMax_H3_Turbo_v4_8step_T2VA_BennyDaBall.json`](./MiniMax_H3_Turbo_v4_8step_T2VA_BennyDaBall.json) | Text → video+audio with the **Turbo v4 LoRA** — 8 steps instead of 20, ~**1.9× faster**, audio stays clean |
33
-
34
- ## Open-H3 Face Region · prompt to 2K
35
-
36
- NVIDIA's [Open-H3-Regenerate-2K](https://nvlabs.github.io/Sana/Open-H3-Regenerate-2K/) re-draws an upscaled H3 clip from 91% noise. That adds a lot of detail, but it recasts the actors. This workflow adds an **automatic face mask**: faces start the 2K pass at 50% noise while everything else still gets NVIDIA's full regenerate, and the draft's own audio is held clean so the mouths keep talking.
37
-
38
- **My numbers** (talking close-up, same draft and seeds, face match = ArcFace vs the 768p draft, lip sync = SyncNet LSE-C):
39
-
40
- | Setting | Face match | Lip sync (draft 8.22) | Detail vs plain upscale |
41
- |---|---|---|---|
42
- | NVIDIA default (0.909 everywhere) | 0.52 | 8.58 | 15.5x |
43
- | My first try (0.7 everywhere, 2 steps) | 0.85 | 8.14 | 4.9x |
44
- | **This workflow** | **0.91** | **8.27** | **10.8x** |
45
-
46
- **The recipe**
47
-
48
- | Setting | Value |
49
- |---|---|
50
- | Draft | stock H3 T2VA, 1344×768, 124 frames, 20 steps res_multistep |
51
- | Upscale | LBH 3D latent upscaler to 2560×1440 |
52
- | Face mask | *Open-H3 Face Region Map* (OpenCV YuNet, CPU, a few seconds): `face_strength` 0.55 = faces start at 0.50; `extra_boxes` protects a pet or prop |
53
- | 2K pass | NVIDIA release grid, 3 Euler steps from 0.909, CFG-free (*BasicGuider*), draft audio held clean |
54
- | LoRA | Kijai's Open-H3-Regenerate-2K **refiner only** (r384; the 155 MB r16 matched it in my tests) @ 1.0, no Turbo or Sharp |
55
- | VAE | H3 video VAE INT8 for encode and decode |
56
- | Time | about 7 min cold on an RTX 5090 for draft + 2K (measured 410 s). **Fast mode:** un-bypass the Sol sparse attention node and set the 2K steps to 2 (~70 s for the 2K pass, same face match, a bit less detail) |
57
-
58
- **Custom nodes** (install with ComfyUI Manager or git clone into `custom_nodes`):
59
- - [ComfyUI-Open-H3-FaceRegion](https://github.com/BennyDaBall930/ComfyUI-Open-H3-FaceRegion): the face mask + region noise nodes (mine)
60
- - [rdh9616/ComfyUI-Open-H3-Regenerate](https://github.com/rdh9616/ComfyUI-Open-H3-Regenerate): draft prep, upscale, refine, sigmas
61
- - [LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler](https://github.com/LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler)
62
-
63
- **Extra models** (also linked from the loader nodes):
64
-
65
- | File | Folder |
66
- |---|---|
67
- | [`minimax_h3_open_regenerate_2k_refiner_rank_384_bf16.safetensors`](https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/main/loras/minimax_h3_open_regenerate_2k_refiner_rank_384_bf16.safetensors) (5.9 GB, or the [155 MB r16](https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/main/loras/minimax_h3_open_regenerate_2k_refiner_rank_16_bf16.safetensors)) | `models/loras` |
68
- | [`minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors`](https://huggingface.co/LBH-123-AI/Minimax_h3_latent_Upscaler/resolve/main/minimax_h3_latent_upscaler_3d_conv_v1/minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors) | `models/latent_upscale_models` |
69
- | [`minimax_h3_video_vae_int8_convrot.safetensors`](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors) | `models/vae` |
70
-
71
- Plus the H3 int8 model, text encoder and audio VAE from the table below.
72
-
73
- **Honest take:** only the masked faces (and any boxes you add) are protected, so background props can still change. Small faces in wide shots gain less than close-ups.
74
-
75
- ## Turbo v4 · 8-step T2VA
76
-
77
- 100% core ComfyUI nodes — **no custom node packs**. Verified with a same-seed A/B against the stock 20-step recipe: same choreography, healthy audio (peak ≈ −9 dB, zero clipping).
78
-
79
- **The recipe**
80
-
81
- | Setting | Value |
82
- |---|---|
83
- | LoRA | `minimax_h3_turbo_v4_step600_ema_pruned_comfyui` @ **1.0** (built-in *LoraLoaderModelOnly*) |
84
- | Steps / sampler / scheduler | **8 · euler · beta** (no sigma-shift node needed) |
85
- | Guidance | CFG-free (*BasicGuider*) — write a `Negative:` line inside the prompt itself |
86
- | Resolution | 1344×768 @ 24 fps |
87
- | Length | frames on a 17k+5 grid: **124 ≈ 5 s**, 243 ≈ 10 s, 362 ≈ 15 s (model max) |
88
-
89
- The bundled demo prompt ships with a **fixed seed** so your first render reproduces the demo clip — flip the seed widget to *randomize* for new takes.
90
-
91
- ## Getting started
92
-
93
- 1. Update ComfyUI to **≥ 0.30** (MiniMax H3 nodes are built in).
94
- 2. Drag the `.json` onto the ComfyUI canvas.
95
- 3. ComfyUI will offer to **download any missing models automatically** (every loader node carries its download URL). Manual links below.
96
- 4. Queue. First run: the console should show **zero** `lora key not loaded` warnings.
97
-
98
- ## Models
99
-
100
- | File | Size | Folder |
101
- |---|---|---|
102
- | [`minimax_h3_fl2va_pruned_int8_convrot.safetensors`](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors) | 19.5 GB | `models/diffusion_models` |
103
- | [`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.6 GB | `models/text_encoders` |
104
- | [`minimax_h3_video_vae_fp16.safetensors`](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors) | 1.4 GB | `models/vae` |
105
- | [`minimax_h3_audio_vae_fp32.safetensors`](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors) | 0.4 GB | `models/vae` |
106
- | [`minimax_h3_turbo_v4_step600_ema_pruned_comfyui.safetensors`](https://huggingface.co/drbaph/MiniMax-H3-Turbo-Lora-ComfyUI/resolve/main/minimax_h3_turbo_v4_step600_ema_pruned_comfyui.safetensors) | 620 MB | `models/loras` |
107
-
108
- ## Tested / not tested
109
-
110
- - Verified on **5-second clips at 1344×768**. Higher res (1920×1088) and longer clips are untested with this LoRA — earlier turbo versions fell apart there, so treat that as experimental.
111
- - Few-step audio blowout is the classic turbo failure mode; this v4 @ 8 steps is the combo that passed. If you drop steps further, check your audio peaks.
112
-
113
- ## Prompt pattern that works
114
-
115
- Style contract → timed beats (`0.0-0.6s: ...`) → camera lock line → an audio timeline starting with room tone at 0.0s → `Negative:` line. Dialogue inside `<d>[English] ... </d>` is spoken verbatim with lip-sync. Give the first spoken line ≥ 1.2 s of lead-in and anchor t=0 with room tone. The demo prompt in the workflow shows the full pattern.
116
-
117
- ## Credits
118
-
119
- - **MiniMax H3** by [MiniMax](https://www.minimax.io/) · ComfyUI-repackaged weights by [Comfy-Org](https://huggingface.co/Comfy-Org/MiniMax-H3)
120
- - **Turbo LoRA** trained by [larryvrh](https://huggingface.co/larryvrh/MiniMax-H3-Turbo-Lora) (v4_step600 EMA) · ComfyUI convert by [drbaph](https://huggingface.co/drbaph/MiniMax-H3-Turbo-Lora-ComfyUI)
121
- - **Open-H3-Regenerate-2K** by NVIDIA ([Efficient-Large-Model](https://huggingface.co/Efficient-Large-Model/Open-H3-Regenerate-2K)) · refiner LoRA slices by [Kijai](https://huggingface.co/Kijai/MiniMax-H3-experimental) · latent upscaler by [LBH-123-AI](https://huggingface.co/LBH-123-AI/Minimax_h3_latent_Upscaler) · regenerate nodes by [rdh9616](https://github.com/rdh9616/ComfyUI-Open-H3-Regenerate) · YuNet face detector by Shiqi Yu et al. ([opencv_zoo](https://github.com/opencv/opencv_zoo), MIT)
122
- - Workflow + testing by [@BennyDaBall_OG](https://x.com/BennyDaBall_OG)
123
-
124
- *License note: this repo covers the workflow files only. The H3 model weights and the LoRA carry their own licenses — check the linked repos before commercial use.*
125
-
126
- **Follow me on X [@BennyDaBall_OG](https://x.com/BennyDaBall_OG) !**
127
-
128
- **Want to support my work? Buy me a coffee on [Ko-fi](https://ko-fi.com/bennydaball) !**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ pipeline_tag: text-to-video
4
+ tags:
5
+ - comfyui
6
+ - workflow
7
+ - minimax-h3
8
+ - text-to-video
9
+ - video
10
+ - audio
11
+ - turbo
12
+ - lora
13
+ - upscaling
14
+ - open-h3-regenerate-2k
15
+ - pi-h3
16
+ - hyperflow
17
+ - nvfp4
18
+ - few-step
19
+ ---
20
+
21
+ # MiniMax H3 — ComfyUI Workflows
22
+
23
+ ![MiniMax H3 ComfyUI Workflows, video with native stereo audio, by BennyDaBall](banner.png)
24
+
25
+ **Follow me on X [@BennyDaBall_OG](https://x.com/BennyDaBall_OG) !**
26
+
27
+ **Want to support my work? Buy me a coffee on [Ko-fi](https://ko-fi.com/bennydaball) !**
28
+
29
+ Drag-and-drop ComfyUI workflows for [MiniMax H3](https://www.minimax.io/blog/minimax-h3), the omni-modal video model that generates video **with native stereo audio** (voice, SFX, room tone — all in one pass). Shared by [@BennyDaBall_OG](https://x.com/BennyDaBall_OG).
30
+
31
+ ## Workflows
32
+
33
+ | File | What it does |
34
+ |---|---|
35
+ | [`piH3_HyperFlow_NVFP4_480p_MaxSpeed_T2VA_BennyDaBall.json`](./piH3_HyperFlow_NVFP4_480p_MaxSpeed_T2VA_BennyDaBall.json) | **pi-H3, 2 steps, on my HyperFlow H3 Flash NVFP4** at 864x480: 5s of video with sound in about **4.6s** |
36
+ | [`piH3_Official_480p_MaxSpeed_NVENC_T2VA_BennyDaBall.json`](./piH3_Official_480p_MaxSpeed_NVENC_T2VA_BennyDaBall.json) | The official **pi-H3** workflow at 864x480 with a GPU (NVENC) save: about **4.8s** per clip |
37
+ | [`piH3_HyperFlow_NVFP4_2step_T2VA_BennyDaBall.json`](./piH3_HyperFlow_NVFP4_2step_T2VA_BennyDaBall.json) | **pi-H3, 2 steps, on HyperFlow NVFP4** at 1344x768: about **12.7s** per 5s clip |
38
+ | [`piH3_HyperFlow_NVFP4_4step_T2VA_BennyDaBall.json`](./piH3_HyperFlow_NVFP4_4step_T2VA_BennyDaBall.json) | **pi-H3, 4 steps, on HyperFlow NVFP4** at 1344x768: about **20.2s** per 5s clip |
39
+ | [`OpenH3_FaceRegion_Prompt_to_2K_BennyDaBall.json`](./OpenH3_FaceRegion_Prompt_to_2K_BennyDaBall.json) | Prompt → 768p H3 draft → **2560x1440 regenerate that keeps the faces and the lip sync**, in one queue |
40
+ | [`MiniMax_H3_Turbo_v4_8step_T2VA_BennyDaBall.json`](./MiniMax_H3_Turbo_v4_8step_T2VA_BennyDaBall.json) | Text → video+audio with the **Turbo v4 LoRA** — 8 steps instead of 20, ~**1.9× faster**, audio stays clean |
41
+
42
+ ## pi-H3 · 2 steps, no VAE decode, faster than real time at 480p
43
+
44
+ [pi-H3](https://huggingface.co/Lakonik/pi-H3) (Lakonik, pi-Flow v2) distills MiniMax H3 to 2 or 4 steps, and its DWD adapters predict pixels at the last step, so there is no VAE decode. All four workflows build on the author's DWD + Spark-Attn workflow from [ComfyUI-piFlow](https://github.com/Lakonik/ComfyUI-piFlow):
45
+
46
+ - **`piH3_Official_480p_MaxSpeed_NVENC`**: the author's workflow on the stock H3 INT8 base at 864x480, saved on the GPU (NVENC) instead of the CPU.
47
+ - **`piH3_HyperFlow_NVFP4_2step` / `4step`**: pi-H3 on my NVFP4 build of [HyperFlow H3 Flash](https://huggingface.co/BennyDaBall/HyperFlow-H3-Flash-NVFP4-ComfyUI) at 1344x768, through my **pi-H3 Adapter for HyperFlow** node.
48
+ - **`piH3_HyperFlow_NVFP4_480p_MaxSpeed`**: the same at 864x480 with the NVENC save.
49
+
50
+ **My numbers** (one RTX 5090, 5s with audio, Spark-Attn, warm, queue to saved MP4):
51
+
52
+ | Workflow | Resolution | Steps | Repeat clip | New prompt | Peak VRAM |
53
+ |---|---|---|---|---|---|
54
+ | **HyperFlow NVFP4, 480p max speed** | 864x480 | 2 | **4.6s** | **5.5s** | 28 GB |
55
+ | Official, 480p max speed | 864x480 | 2 | 4.8s | 8 to 14s | 31 GB |
56
+ | **HyperFlow NVFP4, 2 steps** | 1344x768 | 2 | **12.7s** | | 24 GB |
57
+ | Official pi-H3 workflow, as shipped | 1344x768 | 2 | 13.3 to 13.9s | | 29 GB |
58
+ | **HyperFlow NVFP4, 4 steps** | 1344x768 | 4 | **20.2s** | | 24 GB |
59
+ | Official pi-H3 workflow, as shipped | 1344x768 | 4 | 22.0s | | 29 GB |
60
+
61
+ A 5.2s clip at 480p renders in less time than it plays. *Repeat clip* is the same prompt with a new seed; *new prompt* includes the text encode. On the stock base the 15 GB text encoder pushes part of the model out of VRAM, so the first clip or two after a new prompt run slower. The HyperFlow NVFP4 model and the text encoder fit together, so its new-prompt clips stay fast.
62
+
63
+ **The recipe**
64
+
65
+ | Setting | Value |
66
+ |---|---|
67
+ | Adapter | `pi_h3_2step_dwd_adapter_int8_convrot` (or the 4-step one), switched by the adapter group's `steps` widget |
68
+ | Sampler | euler + *pi-Flow Scheduler*: max_raw_t 0.93 (2 steps) or 0.96 (4 steps), final step scale 0.6; sigma shift 12 / 3 |
69
+ | Attention | Spark-H3 SM120, speed mode |
70
+ | Decode | *DWD Decode*, no VAE decode (the video VAE only encodes first / last frames) |
71
+ | Save, 480p | VideoHelperSuite *Video Combine*, `video/nvenc_h264-mp4`, 10 Mbit. The file with sound is `-audio.mp4` |
72
+ | HyperFlow | official *HyperFlow Loader* + *pi-H3 Adapter for HyperFlow*: `time_path` pi-H3 (stock H3 time curve), `lora_mode` bypass |
73
+
74
+ **Custom nodes** (install with ComfyUI Manager or git clone into `custom_nodes`):
75
+ - [Lakonik/ComfyUI-piFlow](https://github.com/Lakonik/ComfyUI-piFlow) 1.4.2 or newer: *pi-Flow Scheduler*, *Load LakonLab Adapter*, *DWD Decode*
76
+ - [zechengtang/Spark-H3](https://github.com/zechengtang/Spark-H3) 0.2.0: Spark-Attn
77
+ - [Kosinkadink/ComfyUI-VideoHelperSuite](https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite): the NVENC save (480p workflows)
78
+ - HyperFlow workflows: [Video-Rebirth/ComfyUI-HyperFlow-Flash](https://github.com/Video-Rebirth/ComfyUI-HyperFlow-Flash) (the loader) and [HyperFlow INT8 Nodes](https://github.com/BennyDaBall930/comfyui_hyperflow_int8_nodes) 0.2.0 or newer (mine): *pi-H3 Adapter for HyperFlow*
79
+
80
+ **Extra models**:
81
+
82
+ | File | Size | Folder |
83
+ |---|---|---|
84
+ | [`pi_h3_2step_dwd_adapter_int8_convrot.safetensors`](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_2step_dwd_adapter_int8_convrot.safetensors) | 2.19 GB | `models/loras` |
85
+ | [`pi_h3_4step_dwd_adapter_int8_convrot.safetensors`](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_4step_dwd_adapter_int8_convrot.safetensors) | 2.19 GB | `models/loras` |
86
+ | [`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.81 GB | `models/vae` |
87
+ | [`HyperFlow-H3-Flash-fl2va-NVFP4-ComfyUI.safetensors`](https://huggingface.co/BennyDaBall/HyperFlow-H3-Flash-NVFP4-ComfyUI/resolve/main/diffusion_models/HyperFlow-H3-Flash-fl2va-NVFP4-ComfyUI.safetensors) (HyperFlow workflows) | 10.94 GB | `models/diffusion_models` |
88
+
89
+ Plus the H3 INT8 base, the text encoder and the audio VAE from the table below. The HyperFlow workflows read only the base's time table, not its weights.
90
+
91
+ **Known limits**
92
+ - 480p is a speed setting: detail is well below 1344x768.
93
+ - pi-H3 has its own look, glossier and more saturated than stock H3.
94
+ - On HyperFlow the spoken lines come out less reliably than on the stock base. Whisper heard the scripted line word for word in 5 of 8 HyperFlow clips against 8 of 8 stock clips at 480p. Quiet scenes also come out louder.
95
+
96
+ ## Open-H3 Face Region · prompt to 2K
97
+
98
+ NVIDIA's [Open-H3-Regenerate-2K](https://nvlabs.github.io/Sana/Open-H3-Regenerate-2K/) re-draws an upscaled H3 clip from 91% noise. That adds a lot of detail, but it recasts the actors. This workflow adds an **automatic face mask**: faces start the 2K pass at 50% noise while everything else still gets NVIDIA's full regenerate, and the draft's own audio is held clean so the mouths keep talking.
99
+
100
+ **My numbers** (talking close-up, same draft and seeds, face match = ArcFace vs the 768p draft, lip sync = SyncNet LSE-C):
101
+
102
+ | Setting | Face match | Lip sync (draft 8.22) | Detail vs plain upscale |
103
+ |---|---|---|---|
104
+ | NVIDIA default (0.909 everywhere) | 0.52 | 8.58 | 15.5x |
105
+ | My first try (0.7 everywhere, 2 steps) | 0.85 | 8.14 | 4.9x |
106
+ | **This workflow** | **0.91** | **8.27** | **10.8x** |
107
+
108
+ **The recipe**
109
+
110
+ | Setting | Value |
111
+ |---|---|
112
+ | Draft | stock H3 T2VA, 1344×768, 124 frames, 20 steps res_multistep |
113
+ | Upscale | LBH 3D latent upscaler to 2560×1440 |
114
+ | Face mask | *Open-H3 Face Region Map* (OpenCV YuNet, CPU, a few seconds): `face_strength` 0.55 = faces start at 0.50; `extra_boxes` protects a pet or prop |
115
+ | 2K pass | NVIDIA release grid, 3 Euler steps from 0.909, CFG-free (*BasicGuider*), draft audio held clean |
116
+ | LoRA | Kijai's Open-H3-Regenerate-2K **refiner only** (r384; the 155 MB r16 matched it in my tests) @ 1.0, no Turbo or Sharp |
117
+ | VAE | H3 video VAE INT8 for encode and decode |
118
+ | Time | about 7 min cold on an RTX 5090 for draft + 2K (measured 410 s). **Fast mode:** un-bypass the Sol sparse attention node and set the 2K steps to 2 (~70 s for the 2K pass, same face match, a bit less detail) |
119
+
120
+ **Custom nodes** (install with ComfyUI Manager or git clone into `custom_nodes`):
121
+ - [ComfyUI-Open-H3-FaceRegion](https://github.com/BennyDaBall930/ComfyUI-Open-H3-FaceRegion): the face mask + region noise nodes (mine)
122
+ - [rdh9616/ComfyUI-Open-H3-Regenerate](https://github.com/rdh9616/ComfyUI-Open-H3-Regenerate): draft prep, upscale, refine, sigmas
123
+ - [LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler](https://github.com/LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler)
124
+
125
+ **Extra models** (also linked from the loader nodes):
126
+
127
+ | File | Folder |
128
+ |---|---|
129
+ | [`minimax_h3_open_regenerate_2k_refiner_rank_384_bf16.safetensors`](https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/main/loras/minimax_h3_open_regenerate_2k_refiner_rank_384_bf16.safetensors) (5.9 GB, or the [155 MB r16](https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/main/loras/minimax_h3_open_regenerate_2k_refiner_rank_16_bf16.safetensors)) | `models/loras` |
130
+ | [`minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors`](https://huggingface.co/LBH-123-AI/Minimax_h3_latent_Upscaler/resolve/main/minimax_h3_latent_upscaler_3d_conv_v1/minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors) | `models/latent_upscale_models` |
131
+ | [`minimax_h3_video_vae_int8_convrot.safetensors`](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors) | `models/vae` |
132
+
133
+ Plus the H3 int8 model, text encoder and audio VAE from the table below.
134
+
135
+ **Honest take:** only the masked faces (and any boxes you add) are protected, so background props can still change. Small faces in wide shots gain less than close-ups.
136
+
137
+ ## Turbo v4 · 8-step T2VA
138
+
139
+ 100% core ComfyUI nodes — **no custom node packs**. Verified with a same-seed A/B against the stock 20-step recipe: same choreography, healthy audio (peak ≈ −9 dB, zero clipping).
140
+
141
+ **The recipe**
142
+
143
+ | Setting | Value |
144
+ |---|---|
145
+ | LoRA | `minimax_h3_turbo_v4_step600_ema_pruned_comfyui` @ **1.0** (built-in *LoraLoaderModelOnly*) |
146
+ | Steps / sampler / scheduler | **8 · euler · beta** (no sigma-shift node needed) |
147
+ | Guidance | CFG-free (*BasicGuider*) — write a `Negative:` line inside the prompt itself |
148
+ | Resolution | 1344×768 @ 24 fps |
149
+ | Length | frames on a 17k+5 grid: **124 ≈ 5 s**, 243 ≈ 10 s, 362 ≈ 15 s (model max) |
150
+
151
+ The bundled demo prompt ships with a **fixed seed** so your first render reproduces the demo clip — flip the seed widget to *randomize* for new takes.
152
+
153
+ ## Getting started
154
+
155
+ 1. Update ComfyUI to **≥ 0.30** (MiniMax H3 nodes are built in).
156
+ 2. Drag the `.json` onto the ComfyUI canvas.
157
+ 3. ComfyUI will offer to **download any missing models automatically** (every loader node carries its download URL). Manual links below.
158
+ 4. Queue. First run: the console should show **zero** `lora key not loaded` warnings.
159
+
160
+ ## Models
161
+
162
+ | File | Size | Folder |
163
+ |---|---|---|
164
+ | [`minimax_h3_fl2va_pruned_int8_convrot.safetensors`](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors) | 19.5 GB | `models/diffusion_models` |
165
+ | [`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.6 GB | `models/text_encoders` |
166
+ | [`minimax_h3_video_vae_fp16.safetensors`](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors) | 1.4 GB | `models/vae` |
167
+ | [`minimax_h3_audio_vae_fp32.safetensors`](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors) | 0.4 GB | `models/vae` |
168
+ | [`minimax_h3_turbo_v4_step600_ema_pruned_comfyui.safetensors`](https://huggingface.co/drbaph/MiniMax-H3-Turbo-Lora-ComfyUI/resolve/main/minimax_h3_turbo_v4_step600_ema_pruned_comfyui.safetensors) | 620 MB | `models/loras` |
169
+
170
+ ## Tested / not tested
171
+
172
+ - Verified on **5-second clips at 1344×768**. Higher res (1920×1088) and longer clips are untested with this LoRA — earlier turbo versions fell apart there, so treat that as experimental.
173
+ - Few-step audio blowout is the classic turbo failure mode; this v4 @ 8 steps is the combo that passed. If you drop steps further, check your audio peaks.
174
+
175
+ ## Prompt pattern that works
176
+
177
+ Style contract → timed beats (`0.0-0.6s: ...`) → camera lock line → an audio timeline starting with room tone at 0.0s → `Negative:` line. Dialogue inside `<d>[English] ... </d>` is spoken verbatim with lip-sync. Give the first spoken line ≥ 1.2 s of lead-in and anchor t=0 with room tone. The demo prompt in the workflow shows the full pattern.
178
+
179
+ ## Credits
180
+
181
+ - **MiniMax H3** by [MiniMax](https://www.minimax.io/) · ComfyUI-repackaged weights by [Comfy-Org](https://huggingface.co/Comfy-Org/MiniMax-H3)
182
+ - **Turbo LoRA** trained by [larryvrh](https://huggingface.co/larryvrh/MiniMax-H3-Turbo-Lora) (v4_step600 EMA) · ComfyUI convert by [drbaph](https://huggingface.co/drbaph/MiniMax-H3-Turbo-Lora-ComfyUI)
183
+ - **Open-H3-Regenerate-2K** by NVIDIA ([Efficient-Large-Model](https://huggingface.co/Efficient-Large-Model/Open-H3-Regenerate-2K)) · refiner LoRA slices by [Kijai](https://huggingface.co/Kijai/MiniMax-H3-experimental) · latent upscaler by [LBH-123-AI](https://huggingface.co/LBH-123-AI/Minimax_h3_latent_Upscaler) · regenerate nodes by [rdh9616](https://github.com/rdh9616/ComfyUI-Open-H3-Regenerate) · YuNet face detector by Shiqi Yu et al. ([opencv_zoo](https://github.com/opencv/opencv_zoo), MIT)
184
+ - **pi-H3** by Hansheng Chen ([Lakonik/pi-H3](https://huggingface.co/Lakonik/pi-H3)) · [ComfyUI-piFlow](https://github.com/Lakonik/ComfyUI-piFlow) · **Spark-H3** by [zechengtang](https://github.com/zechengtang/Spark-H3) · **HyperFlow H3 Flash** by [Video Rebirth](https://huggingface.co/VideoRebirthAI/hyperflow-h3-flash)
185
+ - Workflow + testing by [@BennyDaBall_OG](https://x.com/BennyDaBall_OG)
186
+
187
+ *License note: this repo covers the workflow files only. The H3 model weights and the LoRA carry their own licenses — check the linked repos before commercial use.*
188
+
189
+ **Follow me on X [@BennyDaBall_OG](https://x.com/BennyDaBall_OG) !**
190
+
191
+ **Want to support my work? Buy me a coffee on [Ko-fi](https://ko-fi.com/benn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order": 0,
20
+ "mode": 0,
21
+ "inputs": [
22
+ {
23
+ "localized_name": "unet_name",
24
+ "name": "unet_name",
25
+ "type": "COMBO",
26
+ "widget": {
27
+ "name": "unet_name"
28
+ },
29
+ "link": null
30
+ },
31
+ {
32
+ "localized_name": "weights_in",
33
+ "name": "weights_in",
34
+ "type": "COMBO",
35
+ "widget": {
36
+ "name": "weights_in"
37
+ },
38
+ "link": null
39
+ }
40
+ ],
41
+ "outputs": [
42
+ {
43
+ "localized_name": "MODEL",
44
+ "name": "MODEL",
45
+ "type": "MODEL",
46
+ "links": [
47
+ 23
48
+ ]
49
+ }
50
+ ],
51
+ "properties": {
52
+ "Node name for S&R": "HyperFlowLoader"
53
+ },
54
+ "widgets_values": [
55
+ "HyperFlow-H3-Flash-fl2va-NVFP4-ComfyUI.safetensors",
56
+ "auto"
57
+ ],
58
+ "title": "HyperFlow Loader (NVFP4)"
59
+ },
60
+ {
61
+ "id": 3,
62
+ "type": "CLIPLoader",
63
+ "pos": [
64
+ 30,
65
+ 558
66
+ ],
67
+ "size": [
68
+ 270,
69
+ 106
70
+ ],
71
+ "flags": {},
72
+ "order": 1,
73
+ "mode": 0,
74
+ "inputs": [
75
+ {
76
+ "localized_name": "clip_name",
77
+ "name": "clip_name",
78
+ "type": "COMBO",
79
+ "widget": {
80
+ "name": "clip_name"
81
+ },
82
+ "link": null
83
+ },
84
+ {
85
+ "localized_name": "type",
86
+ "name": "type",
87
+ "type": "COMBO",
88
+ "widget": {
89
+ "name": "type"
90
+ },
91
+ "link": null
92
+ },
93
+ {
94
+ "localized_name": "device",
95
+ "name": "device",
96
+ "shape": 7,
97
+ "type": "COMBO",
98
+ "widget": {
99
+ "name": "device"
100
+ },
101
+ "link": null
102
+ }
103
+ ],
104
+ "outputs": [
105
+ {
106
+ "localized_name": "CLIP",
107
+ "name": "CLIP",
108
+ "type": "CLIP",
109
+ "links": [
110
+ 2
111
+ ]
112
+ }
113
+ ],
114
+ "properties": {
115
+ "Node name for S&R": "CLIPLoader"
116
+ },
117
+ "widgets_values": [
118
+ "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
119
+ "minimax",
120
+ "default"
121
+ ]
122
+ },
123
+ {
124
+ "id": 4,
125
+ "type": "VAELoader",
126
+ "pos": [
127
+ 30,
128
+ 734
129
+ ],
130
+ "size": [
131
+ 270,
132
+ 58
133
+ ],
134
+ "flags": {},
135
+ "order": 2,
136
+ "mode": 0,
137
+ "inputs": [
138
+ {
139
+ "localized_name": "vae_name",
140
+ "name": "vae_name",
141
+ "type": "COMBO",
142
+ "widget": {
143
+ "name": "vae_name"
144
+ },
145
+ "link": null
146
+ }
147
+ ],
148
+ "outputs": [
149
+ {
150
+ "localized_name": "VAE",
151
+ "name": "VAE",
152
+ "type": "VAE",
153
+ "links": [
154
+ 3
155
+ ]
156
+ }
157
+ ],
158
+ "title": "Load VAE (video)",
159
+ "properties": {
160
+ "Node name for S&R": "VAELoader"
161
+ },
162
+ "widgets_values": [
163
+ "minimax_h3_video_vae_int8_convrot.safetensors"
164
+ ]
165
+ },
166
+ {
167
+ "id": 5,
168
+ "type": "VAELoader",
169
+ "pos": [
170
+ 30,
171
+ 862
172
+ ],
173
+ "size": [
174
+ 270,
175
+ 58
176
+ ],
177
+ "flags": {},
178
+ "order": 3,
179
+ "mode": 0,
180
+ "inputs": [
181
+ {
182
+ "localized_name": "vae_name",
183
+ "name": "vae_name",
184
+ "type": "COMBO",
185
+ "widget": {
186
+ "name": "vae_name"
187
+ },
188
+ "link": null
189
+ }
190
+ ],
191
+ "outputs": [
192
+ {
193
+ "localized_name": "VAE",
194
+ "name": "VAE",
195
+ "type": "VAE",
196
+ "links": [
197
+ 19
198
+ ]
199
+ }
200
+ ],
201
+ "title": "Load VAE (audio)",
202
+ "properties": {
203
+ "Node name for S&R": "VAELoader"
204
+ },
205
+ "widgets_values": [
206
+ "minimax_h3_audio_vae_fp32.safetensors"
207
+ ]
208
+ },
209
+ {
210
+ "id": 6,
211
+ "type": "MiniMaxH3ImageToVideo",
212
+ "pos": [
213
+ 470,
214
+ 448
215
+ ],
216
+ "size": [
217
+ 420,
218
+ 460
219
+ ],
220
+ "flags": {},
221
+ "order": 16,
222
+ "mode": 0,
223
+ "inputs": [
224
+ {
225
+ "localized_name": "clip",
226
+ "name": "clip",
227
+ "type": "CLIP",
228
+ "link": 2
229
+ },
230
+ {
231
+ "localized_name": "vae",
232
+ "name": "vae",
233
+ "type": "VAE",
234
+ "link": 3
235
+ },
236
+ {
237
+ "localized_name": "first_frame",
238
+ "name": "first_frame",
239
+ "shape": 7,
240
+ "type": "IMAGE",
241
+ "link": 7
242
+ },
243
+ {
244
+ "localized_name": "last_frame",
245
+ "name": "last_frame",
246
+ "shape": 7,
247
+ "type": "IMAGE",
248
+ "link": 8
249
+ },
250
+ {
251
+ "localized_name": "prompt",
252
+ "name": "prompt",
253
+ "type": "STRING",
254
+ "widget": {
255
+ "name": "prompt"
256
+ },
257
+ "link": null
258
+ },
259
+ {
260
+ "localized_name": "width",
261
+ "name": "width",
262
+ "type": "INT",
263
+ "widget": {
264
+ "name": "width"
265
+ },
266
+ "link": 4
267
+ },
268
+ {
269
+ "localized_name": "height",
270
+ "name": "height",
271
+ "type": "INT",
272
+ "widget": {
273
+ "name": "height"
274
+ },
275
+ "link": 5
276
+ },
277
+ {
278
+ "localized_name": "length",
279
+ "name": "length",
280
+ "type": "INT",
281
+ "widget": {
282
+ "name": "length"
283
+ },
284
+ "link": 49
285
+ }
286
+ ],
287
+ "outputs": [
288
+ {
289
+ "localized_name": "positive",
290
+ "name": "positive",
291
+ "type": "CONDITIONING",
292
+ "links": [
293
+ 11
294
+ ]
295
+ },
296
+ {
297
+ "localized_name": "LATENT",
298
+ "name": "LATENT",
299
+ "type": "LATENT",
300
+ "links": [
301
+ 16
302
+ ]
303
+ }
304
+ ],
305
+ "properties": {
306
+ "Node name for S&R": "MiniMaxH3ImageToVideo"
307
+ },
308
+ "widgets_values": [
309
+ "",
310
+ 1344,
311
+ 768,
312
+ 124
313
+ ]
314
+ },
315
+ {
316
+ "id": 7,
317
+ "type": "KSamplerSelect",
318
+ "pos": [
319
+ 970,
320
+ 894
321
+ ],
322
+ "size": [
323
+ 270,
324
+ 58
325
+ ],
326
+ "flags": {},
327
+ "order": 4,
328
+ "mode": 0,
329
+ "inputs": [
330
+ {
331
+ "localized_name": "sampler_name",
332
+ "name": "sampler_name",
333
+ "type": "COMBO",
334
+ "widget": {
335
+ "name": "sampler_name"
336
+ },
337
+ "link": null
338
+ }
339
+ ],
340
+ "outputs": [
341
+ {
342
+ "localized_name": "SAMPLER",
343
+ "name": "SAMPLER",
344
+ "type": "SAMPLER",
345
+ "links": [
346
+ 14
347
+ ]
348
+ }
349
+ ],
350
+ "properties": {
351
+ "Node name for S&R": "KSamplerSelect"
352
+ },
353
+ "widgets_values": [
354
+ "euler"
355
+ ]
356
+ },
357
+ {
358
+ "id": 8,
359
+ "type": "pi-Flow Scheduler",
360
+ "pos": [
361
+ 970,
362
+ 694
363
+ ],
364
+ "size": [
365
+ 281.62109375,
366
+ 130
367
+ ],
368
+ "flags": {},
369
+ "order": 17,
370
+ "mode": 0,
371
+ "inputs": [
372
+ {
373
+ "localized_name": "model",
374
+ "name": "model",
375
+ "type": "MODEL",
376
+ "link": 52
377
+ },
378
+ {
379
+ "localized_name": "steps",
380
+ "name": "steps",
381
+ "type": "INT",
382
+ "widget": {
383
+ "name": "steps"
384
+ },
385
+ "link": 43
386
+ },
387
+ {
388
+ "localized_name": "min_raw_t",
389
+ "name": "min_raw_t",
390
+ "type": "FLOAT",
391
+ "widget": {
392
+ "name": "min_raw_t"
393
+ },
394
+ "link": null
395
+ },
396
+ {
397
+ "localized_name": "max_raw_t",
398
+ "name": "max_raw_t",
399
+ "type": "FLOAT",
400
+ "widget": {
401
+ "name": "max_raw_t"
402
+ },
403
+ "link": 44
404
+ },
405
+ {
406
+ "localized_name": "final_step_size_scale",
407
+ "name": "final_step_size_scale",
408
+ "type": "FLOAT",
409
+ "widget": {
410
+ "name": "final_step_size_scale"
411
+ },
412
+ "link": null
413
+ }
414
+ ],
415
+ "outputs": [
416
+ {
417
+ "localized_name": "SIGMAS",
418
+ "name": "SIGMAS",
419
+ "type": "SIGMAS",
420
+ "links": [
421
+ 15
422
+ ]
423
+ }
424
+ ],
425
+ "properties": {
426
+ "Node name for S&R": "pi-Flow Scheduler"
427
+ },
428
+ "widgets_values": [
429
+ 2,
430
+ 0,
431
+ 0.93,
432
+ 0.6
433
+ ]
434
+ },
435
+ {
436
+ "id": 9,
437
+ "type": "BasicGuider",
438
+ "pos": [
439
+ 970,
440
+ 1174
441
+ ],
442
+ "size": [
443
+ 159.568359375,
444
+ 46
445
+ ],
446
+ "flags": {},
447
+ "order": 19,
448
+ "mode": 0,
449
+ "inputs": [
450
+ {
451
+ "localized_name": "model",
452
+ "name": "model",
453
+ "type": "MODEL",
454
+ "link": 53
455
+ },
456
+ {
457
+ "localized_name": "conditioning",
458
+ "name": "conditioning",
459
+ "type": "CONDITIONING",
460
+ "link": 11
461
+ }
462
+ ],
463
+ "outputs": [
464
+ {
465
+ "localized_name": "GUIDER",
466
+ "name": "GUIDER",
467
+ "type": "GUIDER",
468
+ "links": [
469
+ 13
470
+ ]
471
+ }
472
+ ],
473
+ "properties": {
474
+ "Node name for S&R": "BasicGuider"
475
+ }
476
+ },
477
+ {
478
+ "id": 10,
479
+ "type": "RandomNoise",
480
+ "pos": [
481
+ 970,
482
+ 1022
483
+ ],
484
+ "size": [
485
+ 270,
486
+ 82
487
+ ],
488
+ "flags": {},
489
+ "order": 5,
490
+ "mode": 0,
491
+ "inputs": [
492
+ {
493
+ "localized_name": "noise_seed",
494
+ "name": "noise_seed",
495
+ "type": "INT",
496
+ "widget": {
497
+ "name": "noise_seed"
498
+ },
499
+ "link": null
500
+ }
501
+ ],
502
+ "outputs": [
503
+ {
504
+ "localized_name": "NOISE",
505
+ "name": "NOISE",
506
+ "type": "NOISE",
507
+ "links": [
508
+ 12
509
+ ]
510
+ }
511
+ ],
512
+ "properties": {
513
+ "Node name for S&R": "RandomNoise"
514
+ },
515
+ "widgets_values": [
516
+ 42,
517
+ "randomize"
518
+ ]
519
+ },
520
+ {
521
+ "id": 11,
522
+ "type": "SamplerCustomAdvanced",
523
+ "pos": [
524
+ 1400,
525
+ 30
526
+ ],
527
+ "size": [
528
+ 420,
529
+ 520
530
+ ],
531
+ "flags": {},
532
+ "order": 20,
533
+ "mode": 0,
534
+ "inputs": [
535
+ {
536
+ "localized_name": "noise",
537
+ "name": "noise",
538
+ "type": "NOISE",
539
+ "link": 12
540
+ },
541
+ {
542
+ "localized_name": "guider",
543
+ "name": "guider",
544
+ "type": "GUIDER",
545
+ "link": 13
546
+ },
547
+ {
548
+ "localized_name": "sampler",
549
+ "name": "sampler",
550
+ "type": "SAMPLER",
551
+ "link": 14
552
+ },
553
+ {
554
+ "localized_name": "sigmas",
555
+ "name": "sigmas",
556
+ "type": "SIGMAS",
557
+ "link": 15
558
+ },
559
+ {
560
+ "localized_name": "latent_image",
561
+ "name": "latent_image",
562
+ "type": "LATENT",
563
+ "link": 16
564
+ }
565
+ ],
566
+ "outputs": [
567
+ {
568
+ "localized_name": "output",
569
+ "name": "output",
570
+ "type": "LATENT",
571
+ "links": [
572
+ 17,
573
+ 18
574
+ ]
575
+ },
576
+ {
577
+ "localized_name": "denoised_output",
578
+ "name": "denoised_output",
579
+ "type": "LATENT",
580
+ "links": null
581
+ }
582
+ ],
583
+ "properties": {
584
+ "Node name for S&R": "SamplerCustomAdvanced"
585
+ }
586
+ },
587
+ {
588
+ "id": 12,
589
+ "type": "DWD Decode",
590
+ "pos": [
591
+ 1400,
592
+ 620
593
+ ],
594
+ "size": [
595
+ 140,
596
+ 26
597
+ ],
598
+ "flags": {},
599
+ "order": 21,
600
+ "mode": 0,
601
+ "inputs": [
602
+ {
603
+ "localized_name": "samples",
604
+ "name": "samples",
605
+ "type": "LATENT",
606
+ "link": 17
607
+ }
608
+ ],
609
+ "outputs": [
610
+ {
611
+ "localized_name": "IMAGE",
612
+ "name": "IMAGE",
613
+ "type": "IMAGE",
614
+ "links": [
615
+ 20
616
+ ]
617
+ }
618
+ ],
619
+ "properties": {
620
+ "Node name for S&R": "DWD Decode"
621
+ }
622
+ },
623
+ {
624
+ "id": 13,
625
+ "type": "VAEDecodeAudio",
626
+ "pos": [
627
+ 1400,
628
+ 716
629
+ ],
630
+ "size": [
631
+ 164.2388671875,
632
+ 46
633
+ ],
634
+ "flags": {},
635
+ "order": 22,
636
+ "mode": 0,
637
+ "inputs": [
638
+ {
639
+ "localized_name": "samples",
640
+ "name": "samples",
641
+ "type": "LATENT",
642
+ "link": 18
643
+ },
644
+ {
645
+ "localized_name": "vae",
646
+ "name": "vae",
647
+ "type": "VAE",
648
+ "link": 19
649
+ }
650
+ ],
651
+ "outputs": [
652
+ {
653
+ "localized_name": "AUDIO",
654
+ "name": "AUDIO",
655
+ "type": "AUDIO",
656
+ "links": [
657
+ 21
658
+ ]
659
+ }
660
+ ],
661
+ "properties": {
662
+ "Node name for S&R": "VAEDecodeAudio"
663
+ }
664
+ },
665
+ {
666
+ "id": 14,
667
+ "type": "CreateVideo",
668
+ "pos": [
669
+ 1400,
670
+ 832
671
+ ],
672
+ "size": [
673
+ 284.158203125,
674
+ 174
675
+ ],
676
+ "flags": {},
677
+ "order": 23,
678
+ "mode": 0,
679
+ "inputs": [
680
+ {
681
+ "localized_name": "images",
682
+ "name": "images",
683
+ "type": "IMAGE",
684
+ "link": 20
685
+ },
686
+ {
687
+ "localized_name": "audio",
688
+ "name": "audio",
689
+ "shape": 7,
690
+ "type": "AUDIO",
691
+ "link": 21
692
+ },
693
+ {
694
+ "localized_name": "fps",
695
+ "name": "fps",
696
+ "type": "FLOAT",
697
+ "widget": {
698
+ "name": "fps"
699
+ },
700
+ "link": null
701
+ },
702
+ {
703
+ "localized_name": "bit_depth",
704
+ "name": "bit_depth",
705
+ "shape": 7,
706
+ "type": "COMBO",
707
+ "widget": {
708
+ "name": "bit_depth"
709
+ },
710
+ "link": null
711
+ },
712
+ {
713
+ "localized_name": "color_space",
714
+ "name": "color_space",
715
+ "shape": 7,
716
+ "type": "COMBO",
717
+ "widget": {
718
+ "name": "color_space"
719
+ },
720
+ "link": null
721
+ },
722
+ {
723
+ "localized_name": "chroma_subsampling",
724
+ "name": "chroma_subsampling",
725
+ "shape": 7,
726
+ "type": "COMBO",
727
+ "widget": {
728
+ "name": "chroma_subsampling"
729
+ },
730
+ "link": null
731
+ },
732
+ {
733
+ "localized_name": "codec",
734
+ "name": "codec",
735
+ "shape": 7,
736
+ "type": "COMBO",
737
+ "widget": {
738
+ "name": "codec"
739
+ },
740
+ "link": null
741
+ }
742
+ ],
743
+ "outputs": [
744
+ {
745
+ "localized_name": "VIDEO",
746
+ "name": "VIDEO",
747
+ "type": "VIDEO",
748
+ "links": [
749
+ 22
750
+ ]
751
+ }
752
+ ],
753
+ "properties": {
754
+ "Node name for S&R": "CreateVideo"
755
+ },
756
+ "widgets_values": [
757
+ 24,
758
+ "auto",
759
+ "sRGB",
760
+ "auto",
761
+ "none"
762
+ ]
763
+ },
764
+ {
765
+ "id": 15,
766
+ "type": "SaveVideo",
767
+ "pos": [
768
+ 1900,
769
+ 30
770
+ ],
771
+ "size": [
772
+ 420,
773
+ 520
774
+ ],
775
+ "flags": {},
776
+ "order": 24,
777
+ "mode": 0,
778
+ "inputs": [
779
+ {
780
+ "localized_name": "video",
781
+ "name": "video",
782
+ "type": "VIDEO",
783
+ "link": 22
784
+ },
785
+ {
786
+ "localized_name": "filename_prefix",
787
+ "name": "filename_prefix",
788
+ "type": "STRING",
789
+ "widget": {
790
+ "name": "filename_prefix"
791
+ },
792
+ "link": null
793
+ },
794
+ {
795
+ "localized_name": "format",
796
+ "name": "format",
797
+ "type": "COMFY_DYNAMICCOMBO_V3",
798
+ "widget": {
799
+ "name": "format"
800
+ },
801
+ "link": null
802
+ },
803
+ {
804
+ "localized_name": "codec",
805
+ "name": "format.codec",
806
+ "type": "COMFY_DYNAMICCOMBO_V3",
807
+ "widget": {
808
+ "name": "format.codec"
809
+ },
810
+ "link": null
811
+ },
812
+ {
813
+ "localized_name": "codec",
814
+ "name": "codec",
815
+ "shape": 7,
816
+ "type": "COMFY_DYNAMICCOMBO_V3",
817
+ "widget": {
818
+ "name": "codec"
819
+ },
820
+ "link": null
821
+ }
822
+ ],
823
+ "outputs": [
824
+ {
825
+ "localized_name": "video",
826
+ "name": "video",
827
+ "type": "VIDEO",
828
+ "links": null
829
+ }
830
+ ],
831
+ "properties": {},
832
+ "widgets_values": [
833
+ "video/pi-H3-HyperFlow-2step",
834
+ "auto",
835
+ "auto",
836
+ "auto"
837
+ ]
838
+ },
839
+ {
840
+ "id": 17,
841
+ "type": "HyperFlowLoraBypass",
842
+ "pos": [
843
+ 30,
844
+ 182
845
+ ],
846
+ "size": [
847
+ 270,
848
+ 82
849
+ ],
850
+ "flags": {},
851
+ "order": 12,
852
+ "mode": 4,
853
+ "inputs": [
854
+ {
855
+ "localized_name": "model",
856
+ "name": "model",
857
+ "type": "MODEL",
858
+ "link": 23
859
+ },
860
+ {
861
+ "localized_name": "lora_name",
862
+ "name": "lora_name",
863
+ "type": "COMBO",
864
+ "widget": {
865
+ "name": "lora_name"
866
+ },
867
+ "link": null
868
+ },
869
+ {
870
+ "localized_name": "strength_model",
871
+ "name": "strength_model",
872
+ "type": "FLOAT",
873
+ "widget": {
874
+ "name": "strength_model"
875
+ },
876
+ "link": null
877
+ },
878
+ {
879
+ "localized_name": "dropped_blocks",
880
+ "name": "dropped_blocks",
881
+ "type": "STRING",
882
+ "widget": {
883
+ "name": "dropped_blocks"
884
+ },
885
+ "link": null
886
+ },
887
+ {
888
+ "localized_name": "source_blocks",
889
+ "name": "source_blocks",
890
+ "type": "INT",
891
+ "widget": {
892
+ "name": "source_blocks"
893
+ },
894
+ "link": null
895
+ }
896
+ ],
897
+ "outputs": [
898
+ {
899
+ "localized_name": "MODEL",
900
+ "name": "MODEL",
901
+ "type": "MODEL",
902
+ "links": [
903
+ 42
904
+ ]
905
+ }
906
+ ],
907
+ "title": "HyperFlow LoRA (optional)",
908
+ "properties": {
909
+ "Node name for S&R": "HyperFlowLoraBypass"
910
+ },
911
+ "widgets_values": [
912
+ "your_h3_lora.safetensors",
913
+ 1,
914
+ "auto",
915
+ 50
916
+ ]
917
+ },
918
+ {
919
+ "id": 19,
920
+ "type": "MiniMaxH3SigmaShift",
921
+ "pos": [
922
+ 970,
923
+ 30
924
+ ],
925
+ "size": [
926
+ 277.2857421875,
927
+ 82
928
+ ],
929
+ "flags": {},
930
+ "order": 18,
931
+ "mode": 0,
932
+ "inputs": [
933
+ {
934
+ "localized_name": "model",
935
+ "name": "model",
936
+ "type": "MODEL",
937
+ "link": 45
938
+ },
939
+ {
940
+ "localized_name": "shift_video",
941
+ "name": "shift_video",
942
+ "type": "FLOAT",
943
+ "widget": {
944
+ "name": "shift_video"
945
+ },
946
+ "link": null
947
+ },
948
+ {
949
+ "localized_name": "shift_audio",
950
+ "name": "shift_audio",
951
+ "type": "FLOAT",
952
+ "widget": {
953
+ "name": "shift_audio"
954
+ },
955
+ "link": null
956
+ }
957
+ ],
958
+ "outputs": [
959
+ {
960
+ "localized_name": "MODEL",
961
+ "name": "MODEL",
962
+ "type": "MODEL",
963
+ "links": [
964
+ 51
965
+ ]
966
+ }
967
+ ],
968
+ "properties": {
969
+ "Node name for S&R": "MiniMaxH3SigmaShift"
970
+ },
971
+ "widgets_values": [
972
+ 12,
973
+ 3
974
+ ]
975
+ },
976
+ {
977
+ "id": 21,
978
+ "type": "LoadImage",
979
+ "pos": [
980
+ 470,
981
+ 1048
982
+ ],
983
+ "size": [
984
+ 222.798828125,
985
+ 320
986
+ ],
987
+ "flags": {},
988
+ "order": 6,
989
+ "mode": 4,
990
+ "inputs": [
991
+ {
992
+ "localized_name": "image",
993
+ "name": "image",
994
+ "type": "COMBO",
995
+ "widget": {
996
+ "name": "image"
997
+ },
998
+ "link": null
999
+ },
1000
+ {
1001
+ "localized_name": "choose file to upload",
1002
+ "name": "upload",
1003
+ "type": "IMAGEUPLOAD",
1004
+ "widget": {
1005
+ "name": "upload"
1006
+ },
1007
+ "link": null
1008
+ }
1009
+ ],
1010
+ "outputs": [
1011
+ {
1012
+ "localized_name": "IMAGE",
1013
+ "name": "IMAGE",
1014
+ "type": "IMAGE",
1015
+ "links": [
1016
+ 26
1017
+ ]
1018
+ },
1019
+ {
1020
+ "localized_name": "MASK",
1021
+ "name": "MASK",
1022
+ "type": "MASK",
1023
+ "links": null
1024
+ }
1025
+ ],
1026
+ "title": "First frame",
1027
+ "properties": {
1028
+ "Node name for S&R": "LoadImage"
1029
+ },
1030
+ "widgets_values": [
1031
+ "example.png",
1032
+ "image"
1033
+ ]
1034
+ },
1035
+ {
1036
+ "id": 22,
1037
+ "type": "LoadImage",
1038
+ "pos": [
1039
+ 700,
1040
+ 1048
1041
+ ],
1042
+ "size": [
1043
+ 222.798828125,
1044
+ 320
1045
+ ],
1046
+ "flags": {},
1047
+ "order": 7,
1048
+ "mode": 4,
1049
+ "inputs": [
1050
+ {
1051
+ "localized_name": "image",
1052
+ "name": "image",
1053
+ "type": "COMBO",
1054
+ "widget": {
1055
+ "name": "image"
1056
+ },
1057
+ "link": null
1058
+ },
1059
+ {
1060
+ "localized_name": "choose file to upload",
1061
+ "name": "upload",
1062
+ "type": "IMAGEUPLOAD",
1063
+ "widget": {
1064
+ "name": "upload"
1065
+ },
1066
+ "link": null
1067
+ }
1068
+ ],
1069
+ "outputs": [
1070
+ {
1071
+ "localized_name": "IMAGE",
1072
+ "name": "IMAGE",
1073
+ "type": "IMAGE",
1074
+ "links": [
1075
+ 29
1076
+ ]
1077
+ },
1078
+ {
1079
+ "localized_name": "MASK",
1080
+ "name": "MASK",
1081
+ "type": "MASK",
1082
+ "links": null
1083
+ }
1084
+ ],
1085
+ "title": "Last frame",
1086
+ "properties": {
1087
+ "Node name for S&R": "LoadImage"
1088
+ },
1089
+ "widgets_values": [
1090
+ "example.png",
1091
+ "image"
1092
+ ]
1093
+ },
1094
+ {
1095
+ "id": 23,
1096
+ "type": "ImageScale",
1097
+ "pos": [
1098
+ 470,
1099
+ 1438
1100
+ ],
1101
+ "size": [
1102
+ 270,
1103
+ 130
1104
+ ],
1105
+ "flags": {},
1106
+ "order": 13,
1107
+ "mode": 4,
1108
+ "inputs": [
1109
+ {
1110
+ "localized_name": "image",
1111
+ "name": "image",
1112
+ "type": "IMAGE",
1113
+ "link": 26
1114
+ },
1115
+ {
1116
+ "localized_name": "upscale_method",
1117
+ "name": "upscale_method",
1118
+ "type": "COMBO",
1119
+ "widget": {
1120
+ "name": "upscale_method"
1121
+ },
1122
+ "link": null
1123
+ },
1124
+ {
1125
+ "localized_name": "width",
1126
+ "name": "width",
1127
+ "type": "INT",
1128
+ "widget": {
1129
+ "name": "width"
1130
+ },
1131
+ "link": 27
1132
+ },
1133
+ {
1134
+ "localized_name": "height",
1135
+ "name": "height",
1136
+ "type": "INT",
1137
+ "widget": {
1138
+ "name": "height"
1139
+ },
1140
+ "link": 28
1141
+ },
1142
+ {
1143
+ "localized_name": "crop",
1144
+ "name": "crop",
1145
+ "type": "COMBO",
1146
+ "widget": {
1147
+ "name": "crop"
1148
+ },
1149
+ "link": null
1150
+ }
1151
+ ],
1152
+ "outputs": [
1153
+ {
1154
+ "localized_name": "IMAGE",
1155
+ "name": "IMAGE",
1156
+ "type": "IMAGE",
1157
+ "links": [
1158
+ 7
1159
+ ]
1160
+ }
1161
+ ],
1162
+ "title": "Resize first frame",
1163
+ "properties": {
1164
+ "Node name for S&R": "ImageScale"
1165
+ },
1166
+ "widgets_values": [
1167
+ "lanczos",
1168
+ 512,
1169
+ 512,
1170
+ "center"
1171
+ ]
1172
+ },
1173
+ {
1174
+ "id": 24,
1175
+ "type": "ImageScale",
1176
+ "pos": [
1177
+ 700,
1178
+ 1438
1179
+ ],
1180
+ "size": [
1181
+ 270,
1182
+ 130
1183
+ ],
1184
+ "flags": {},
1185
+ "order": 14,
1186
+ "mode": 4,
1187
+ "inputs": [
1188
+ {
1189
+ "localized_name": "image",
1190
+ "name": "image",
1191
+ "type": "IMAGE",
1192
+ "link": 29
1193
+ },
1194
+ {
1195
+ "localized_name": "upscale_method",
1196
+ "name": "upscale_method",
1197
+ "type": "COMBO",
1198
+ "widget": {
1199
+ "name": "upscale_method"
1200
+ },
1201
+ "link": null
1202
+ },
1203
+ {
1204
+ "localized_name": "width",
1205
+ "name": "width",
1206
+ "type": "INT",
1207
+ "widget": {
1208
+ "name": "width"
1209
+ },
1210
+ "link": 30
1211
+ },
1212
+ {
1213
+ "localized_name": "height",
1214
+ "name": "height",
1215
+ "type": "INT",
1216
+ "widget": {
1217
+ "name": "height"
1218
+ },
1219
+ "link": 31
1220
+ },
1221
+ {
1222
+ "localized_name": "crop",
1223
+ "name": "crop",
1224
+ "type": "COMBO",
1225
+ "widget": {
1226
+ "name": "crop"
1227
+ },
1228
+ "link": null
1229
+ }
1230
+ ],
1231
+ "outputs": [
1232
+ {
1233
+ "localized_name": "IMAGE",
1234
+ "name": "IMAGE",
1235
+ "type": "IMAGE",
1236
+ "links": [
1237
+ 8
1238
+ ]
1239
+ }
1240
+ ],
1241
+ "title": "Resize last frame",
1242
+ "properties": {
1243
+ "Node name for S&R": "ImageScale"
1244
+ },
1245
+ "widgets_values": [
1246
+ "lanczos",
1247
+ 512,
1248
+ 512,
1249
+ "center"
1250
+ ]
1251
+ },
1252
+ {
1253
+ "id": 30,
1254
+ "type": "ResolutionSelector",
1255
+ "pos": [
1256
+ 470,
1257
+ 30
1258
+ ],
1259
+ "size": [
1260
+ 270,
1261
+ 150
1262
+ ],
1263
+ "flags": {},
1264
+ "order": 8,
1265
+ "mode": 0,
1266
+ "inputs": [
1267
+ {
1268
+ "localized_name": "aspect_ratio",
1269
+ "name": "aspect_ratio",
1270
+ "type": "COMBO",
1271
+ "widget": {
1272
+ "name": "aspect_ratio"
1273
+ },
1274
+ "link": null
1275
+ },
1276
+ {
1277
+ "localized_name": "megapixels",
1278
+ "name": "megapixels",
1279
+ "type": "FLOAT",
1280
+ "widget": {
1281
+ "name": "megapixels"
1282
+ },
1283
+ "link": null
1284
+ },
1285
+ {
1286
+ "localized_name": "multiple",
1287
+ "name": "multiple",
1288
+ "type": "INT",
1289
+ "widget": {
1290
+ "name": "multiple"
1291
+ },
1292
+ "link": null
1293
+ },
1294
+ {
1295
+ "localized_name": "preview",
1296
+ "name": "preview",
1297
+ "shape": 7,
1298
+ "type": "RESOLUTION_PREVIEW",
1299
+ "widget": {
1300
+ "name": "preview"
1301
+ },
1302
+ "link": null
1303
+ }
1304
+ ],
1305
+ "outputs": [
1306
+ {
1307
+ "localized_name": "width",
1308
+ "name": "width",
1309
+ "type": "INT",
1310
+ "links": [
1311
+ 4,
1312
+ 27,
1313
+ 30
1314
+ ]
1315
+ },
1316
+ {
1317
+ "localized_name": "height",
1318
+ "name": "height",
1319
+ "type": "INT",
1320
+ "links": [
1321
+ 5,
1322
+ 28,
1323
+ 31
1324
+ ]
1325
+ }
1326
+ ],
1327
+ "properties": {
1328
+ "Node name for S&R": "ResolutionSelector"
1329
+ },
1330
+ "widgets_values": [
1331
+ "16:9 (Widescreen)",
1332
+ 0.97,
1333
+ 32
1334
+ ]
1335
+ },
1336
+ {
1337
+ "id": 33,
1338
+ "type": "MarkdownNote",
1339
+ "pos": [
1340
+ -620,
1341
+ 0
1342
+ ],
1343
+ "size": [
1344
+ 600,
1345
+ 1298
1346
+ ],
1347
+ "flags": {},
1348
+ "order": 9,
1349
+ "mode": 0,
1350
+ "inputs": [],
1351
+ "outputs": [],
1352
+ "title": "Model links",
1353
+ "properties": {},
1354
+ "widgets_values": [
1355
+ "## pi-H3 on HyperFlow H3 Flash (NVFP4), 2 steps\n\npi-H3's DWD adapters (2 or 4 steps, no VAE decode) running on my NVFP4 build of HyperFlow H3 Flash, the pruned 47-block model, instead of the stock H3 INT8 base.\n\n- **HyperFlow Loader** (official ComfyUI-HyperFlow-Flash pack) loads [HyperFlow-H3-Flash-fl2va-NVFP4-ComfyUI.safetensors](https://huggingface.co/BennyDaBall/HyperFlow-H3-Flash-NVFP4-ComfyUI) from `models/diffusion_models`.\n- **pi-H3 Adapter for HyperFlow** ([HyperFlow INT8 Nodes](https://github.com/BennyDaBall930/comfyui_hyperflow_int8_nodes)) takes the place of Load LakonLab Adapter. It renumbers the adapter's blocks past the three blocks HyperFlow drops, applies the LoRA on the low-rank layers too, and installs pi-H3's time modulation, final layer, DWD blocks and DWD head. It reads the stock time table from `minimax_h3_fl2va_pruned_int8_convrot.safetensors` (a few MB; the stock weights are not loaded).\n - `time_path`: keep **pi-H3 (stock H3 time curve)**. The HyperFlow-modulation option gave a loud noise bed and clipping on a quiet dialogue scene in my tests.\n - `lora_mode`: keep **bypass**. merge is about 0.7s faster but re-quantizes the dense NVFP4 layers with fresh scales.\n- The optional LoRA node is **HyperFlow LoRA (bypass, block remap)** from the same pack; a stock LoRA loader puts most of an H3 LoRA on the wrong blocks of a HyperFlow model.\n- Also needed: [ComfyUI-piFlow](https://github.com/Lakonik/ComfyUI-piFlow) 1.4.2 or newer (the DWD head and DWD Decode) and [Spark-H3](https://github.com/zechengtang/Spark-H3) 0.2.0 (Spark-Attn), as in the author's pi-H3 workflows below.\n\nRTX 5090, 5s with audio, warm, these defaults: 2 steps about 12.7s at 1344x768 (stock pi-H3 13.3 to 13.9s), about 24 GB VRAM peak (stock about 29 GB).\n\n---\n\n## pi-H3 FL2VA\n\nThis is an FL2VA (first-last-frame to video and audio) workflow. It generates a video with synchronized audio from a text prompt, optionally conditioned on a first frame, a last frame, or both.\n\n## Model links\n\n**Base model**\n\n- Download [minimax_h3_fl2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors) and save it to\n<br>`models/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors`\n\n**pi-H3 adapters**\n\n- Download [pi_h3_2step_dwd_adapter_int8_convrot.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_2step_dwd_adapter_int8_convrot.safetensors) and save it to \n<br>`models/loras/pi_h3_2step_dwd_adapter_int8_convrot.safetensors`\n\n Alternative full-precision version: [pi_h3_2step_dwd_adapter/diffusion_pytorch_model.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_2step_dwd_adapter/diffusion_pytorch_model.safetensors), saved to `models/loras/pi_h3_2step_dwd_adapter.safetensors`\n\n- Download [pi_h3_4step_dwd_adapter_int8_convrot.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_4step_dwd_adapter_int8_convrot.safetensors) and save it to \n<br>`models/loras/pi_h3_4step_dwd_adapter_int8_convrot.safetensors`\n\n Alternative full-precision version: [pi_h3_4step_dwd_adapter/diffusion_pytorch_model.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_4step_dwd_adapter/diffusion_pytorch_model.safetensors), saved to `models/loras/pi_h3_4step_dwd_adapter.safetensors`\n\n**Text encoder**\n\n- Download [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) and save it to\n<br>`models/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors`\n\n**VAE**\n\n- Download [minimax_h3_video_vae_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors) and save it to\n<br>`models/vae/minimax_h3_video_vae_int8_convrot.safetensors`\n\n The video VAE only encodes the first and last frames, and decodes the video in the workflow without DWD.\n\n- Download [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors) and save it to\n<br>`models/vae/minimax_h3_audio_vae_fp32.safetensors`\n\n**Model Storage Location**\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── minimax_h3_fl2va_pruned_int8_convrot.safetensors\n│ ├── 📂 loras/\n│ │ ├── pi_h3_2step_dwd_adapter_int8_convrot.safetensors\n│ │ └── pi_h3_4step_dwd_adapter_int8_convrot.safetensors\n│ ├── 📂 vae/\n│ │ ├── minimax_h3_video_vae_int8_convrot.safetensors\n│ │ └── minimax_h3_audio_vae_fp32.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors\n```\n\n## Sampler steps\n\n`steps` on `pi-H3 Adapter (2 or 4 steps)` selects the adapter and its recommended `max_raw_t` (0.93 for 2 steps, 0.96 for 4 steps). `final_step_size_scale` is 0.6. `ModelSamplingMiniMaxH3` sets the video and audio shifts (12 and 3 by default).\n\n## Sparse attention\n\n`MiniMax H3 Spark Attention (SM120)` (Spark-Attn, for RTX 50 series and RTX PRO Blackwell GPUs) speeds up sampling. It comes from [Spark-H3](https://github.com/zechengtang/Spark-H3): see the pi-H3 docs of ComfyUI-piFlow for installation. Use the workflow for your GPU, or bypass the node to use dense attention."
1356
+ ],
1357
+ "color": "#432",
1358
+ "bgcolor": "#653"
1359
+ },
1360
+ {
1361
+ "id": 39,
1362
+ "type": "356a2ff0-98d5-4fa9-9bbd-452cccf6966f",
1363
+ "pos": [
1364
+ 30,
1365
+ 334
1366
+ ],
1367
+ "size": [
1368
+ 270,
1369
+ 154
1370
+ ],
1371
+ "flags": {},
1372
+ "order": 15,
1373
+ "mode": 0,
1374
+ "inputs": [
1375
+ {
1376
+ "localized_name": "model",
1377
+ "name": "model",
1378
+ "type": "MODEL",
1379
+ "link": 42
1380
+ },
1381
+ {
1382
+ "name": "steps",
1383
+ "type": "INT",
1384
+ "widget": {
1385
+ "name": "steps"
1386
+ },
1387
+ "link": null
1388
+ },
1389
+ {
1390
+ "name": "2-step adapter",
1391
+ "type": "COMBO",
1392
+ "widget": {
1393
+ "name": "2-step adapter"
1394
+ },
1395
+ "link": null
1396
+ },
1397
+ {
1398
+ "name": "4-step adapter",
1399
+ "type": "COMBO",
1400
+ "widget": {
1401
+ "name": "4-step adapter"
1402
+ },
1403
+ "link": null
1404
+ }
1405
+ ],
1406
+ "outputs": [
1407
+ {
1408
+ "label": "steps",
1409
+ "localized_name": "INT",
1410
+ "name": "INT",
1411
+ "type": "INT",
1412
+ "links": [
1413
+ 43,
1414
+ 54
1415
+ ]
1416
+ },
1417
+ {
1418
+ "label": "max_raw_t",
1419
+ "localized_name": "FLOAT",
1420
+ "name": "FLOAT",
1421
+ "type": "FLOAT",
1422
+ "links": [
1423
+ 44
1424
+ ]
1425
+ },
1426
+ {
1427
+ "label": "model",
1428
+ "localized_name": "output",
1429
+ "name": "output",
1430
+ "type": "MODEL",
1431
+ "links": [
1432
+ 45
1433
+ ]
1434
+ }
1435
+ ],
1436
+ "title": "pi-H3 Adapter for HyperFlow (2 or 4 steps)",
1437
+ "properties": {
1438
+ "previewExposures": []
1439
+ },
1440
+ "widgets_values": [
1441
+ 2,
1442
+ "pi_h3_2step_dwd_adapter_int8_convrot.safetensors",
1443
+ "pi_h3_4step_dwd_adapter_int8_convrot.safetensors"
1444
+ ]
1445
+ },
1446
+ {
1447
+ "id": 40,
1448
+ "type": "a74d60af-3935-41b1-a4bc-a21f1fa87ceb",
1449
+ "pos": [
1450
+ 470,
1451
+ 250
1452
+ ],
1453
+ "size": [
1454
+ 270,
1455
+ 58
1456
+ ],
1457
+ "flags": {},
1458
+ "order": 10,
1459
+ "mode": 0,
1460
+ "inputs": [
1461
+ {
1462
+ "name": "seconds",
1463
+ "type": "FLOAT",
1464
+ "widget": {
1465
+ "name": "seconds"
1466
+ },
1467
+ "link": null
1468
+ }
1469
+ ],
1470
+ "outputs": [
1471
+ {
1472
+ "label": "length",
1473
+ "localized_name": "INT",
1474
+ "name": "INT",
1475
+ "type": "INT",
1476
+ "links": [
1477
+ 49
1478
+ ]
1479
+ }
1480
+ ],
1481
+ "title": "Duration",
1482
+ "properties": {
1483
+ "previewExposures": []
1484
+ },
1485
+ "widgets_values": [
1486
+ 5
1487
+ ]
1488
+ },
1489
+ {
1490
+ "id": 20,
1491
+ "type": "MiniMaxH3SparkAttentionSM120",
1492
+ "pos": [
1493
+ 970,
1494
+ 182
1495
+ ],
1496
+ "size": [
1497
+ 320,
1498
+ 442
1499
+ ],
1500
+ "flags": {},
1501
+ "order": 11,
1502
+ "mode": 0,
1503
+ "inputs": [
1504
+ {
1505
+ "localized_name": "model",
1506
+ "name": "model",
1507
+ "type": "MODEL",
1508
+ "link": 51
1509
+ },
1510
+ {
1511
+ "localized_name": "mode",
1512
+ "name": "mode",
1513
+ "type": "COMBO",
1514
+ "widget": {
1515
+ "name": "mode"
1516
+ },
1517
+ "link": null
1518
+ },
1519
+ {
1520
+ "localized_name": "steps",
1521
+ "name": "steps",
1522
+ "type": "INT",
1523
+ "widget": {
1524
+ "name": "steps"
1525
+ },
1526
+ "link": 54
1527
+ },
1528
+ {
1529
+ "localized_name": "warmup_mode",
1530
+ "name": "warmup_mode",
1531
+ "type": "COMBO",
1532
+ "widget": {
1533
+ "name": "warmup_mode"
1534
+ },
1535
+ "link": null
1536
+ },
1537
+ {
1538
+ "localized_name": "warmup_ratio",
1539
+ "name": "warmup_ratio",
1540
+ "type": "FLOAT",
1541
+ "widget": {
1542
+ "name": "warmup_ratio"
1543
+ },
1544
+ "link": null
1545
+ },
1546
+ {
1547
+ "localized_name": "warmup_steps",
1548
+ "name": "warmup_steps",
1549
+ "type": "INT",
1550
+ "widget": {
1551
+ "name": "warmup_steps"
1552
+ },
1553
+ "link": null
1554
+ },
1555
+ {
1556
+ "localized_name": "topk_mode",
1557
+ "name": "topk_mode",
1558
+ "type": "COMBO",
1559
+ "widget": {
1560
+ "name": "topk_mode"
1561
+ },
1562
+ "link": null
1563
+ },
1564
+ {
1565
+ "localized_name": "topk_ratio",
1566
+ "name": "topk_ratio",
1567
+ "type": "FLOAT",
1568
+ "widget": {
1569
+ "name": "topk_ratio"
1570
+ },
1571
+ "link": null
1572
+ },
1573
+ {
1574
+ "localized_name": "topk_blocks",
1575
+ "name": "topk_blocks",
1576
+ "type": "INT",
1577
+ "widget": {
1578
+ "name": "topk_blocks"
1579
+ },
1580
+ "link": null
1581
+ },
1582
+ {
1583
+ "localized_name": "dense_layers",
1584
+ "name": "dense_layers",
1585
+ "type": "INT",
1586
+ "widget": {
1587
+ "name": "dense_layers"
1588
+ },
1589
+ "link": null
1590
+ },
1591
+ {
1592
+ "localized_name": "min_tokens",
1593
+ "name": "min_tokens",
1594
+ "type": "INT",
1595
+ "widget": {
1596
+ "name": "min_tokens"
1597
+ },
1598
+ "link": null
1599
+ },
1600
+ {
1601
+ "localized_name": "strict",
1602
+ "name": "strict",
1603
+ "type": "BOOLEAN",
1604
+ "widget": {
1605
+ "name": "strict"
1606
+ },
1607
+ "link": null
1608
+ },
1609
+ {
1610
+ "localized_name": "dense_backend",
1611
+ "name": "dense_backend",
1612
+ "shape": 7,
1613
+ "type": "COMBO",
1614
+ "widget": {
1615
+ "name": "dense_backend"
1616
+ },
1617
+ "link": null
1618
+ },
1619
+ {
1620
+ "localized_name": "tail_granularity",
1621
+ "name": "tail_granularity",
1622
+ "shape": 7,
1623
+ "type": "COMBO",
1624
+ "widget": {
1625
+ "name": "tail_granularity"
1626
+ },
1627
+ "link": null
1628
+ },
1629
+ {
1630
+ "localized_name": "reblock_layout",
1631
+ "name": "reblock_layout",
1632
+ "shape": 7,
1633
+ "type": "COMBO",
1634
+ "widget": {
1635
+ "name": "reblock_layout"
1636
+ },
1637
+ "link": null
1638
+ },
1639
+ {
1640
+ "localized_name": "sparse_scope",
1641
+ "name": "sparse_scope",
1642
+ "shape": 7,
1643
+ "type": "COMBO",
1644
+ "widget": {
1645
+ "name": "sparse_scope"
1646
+ },
1647
+ "link": null
1648
+ },
1649
+ {
1650
+ "localized_name": "producer_chunk",
1651
+ "name": "producer_chunk",
1652
+ "shape": 7,
1653
+ "type": "INT",
1654
+ "widget": {
1655
+ "name": "producer_chunk"
1656
+ },
1657
+ "link": null
1658
+ },
1659
+ {
1660
+ "localized_name": "chunk_path",
1661
+ "name": "chunk_path",
1662
+ "shape": 7,
1663
+ "type": "COMBO",
1664
+ "widget": {
1665
+ "name": "chunk_path"
1666
+ },
1667
+ "link": null
1668
+ }
1669
+ ],
1670
+ "outputs": [
1671
+ {
1672
+ "localized_name": "MODEL",
1673
+ "name": "MODEL",
1674
+ "type": "MODEL",
1675
+ "links": [
1676
+ 52,
1677
+ 53
1678
+ ]
1679
+ }
1680
+ ],
1681
+ "properties": {
1682
+ "Node name for S&R": "MiniMaxH3SparkAttentionSM120"
1683
+ },
1684
+ "widgets_values": [
1685
+ "speed",
1686
+ 20,
1687
+ "warmup_ratio",
1688
+ 0,
1689
+ 4,
1690
+ "topk_ratio",
1691
+ 0.2,
1692
+ 228,
1693
+ 0,
1694
+ 12288,
1695
+ true,
1696
+ "inherit",
1697
+ "query",
1698
+ "q_reuse_k",
1699
+ "target-video",
1700
+ 16384,
1701
+ "none"
1702
+ ]
1703
+ }
1704
+ ],
1705
+ "links": [
1706
+ [
1707
+ 2,
1708
+ 3,
1709
+ 0,
1710
+ 6,
1711
+ 0,
1712
+ "CLIP"
1713
+ ],
1714
+ [
1715
+ 3,
1716
+ 4,
1717
+ 0,
1718
+ 6,
1719
+ 1,
1720
+ "VAE"
1721
+ ],
1722
+ [
1723
+ 4,
1724
+ 30,
1725
+ 0,
1726
+ 6,
1727
+ 5,
1728
+ "INT"
1729
+ ],
1730
+ [
1731
+ 5,
1732
+ 30,
1733
+ 1,
1734
+ 6,
1735
+ 6,
1736
+ "INT"
1737
+ ],
1738
+ [
1739
+ 7,
1740
+ 23,
1741
+ 0,
1742
+ 6,
1743
+ 2,
1744
+ "IMAGE"
1745
+ ],
1746
+ [
1747
+ 8,
1748
+ 24,
1749
+ 0,
1750
+ 6,
1751
+ 3,
1752
+ "IMAGE"
1753
+ ],
1754
+ [
1755
+ 11,
1756
+ 6,
1757
+ 0,
1758
+ 9,
1759
+ 1,
1760
+ "CONDITIONING"
1761
+ ],
1762
+ [
1763
+ 12,
1764
+ 10,
1765
+ 0,
1766
+ 11,
1767
+ 0,
1768
+ "NOISE"
1769
+ ],
1770
+ [
1771
+ 13,
1772
+ 9,
1773
+ 0,
1774
+ 11,
1775
+ 1,
1776
+ "GUIDER"
1777
+ ],
1778
+ [
1779
+ 14,
1780
+ 7,
1781
+ 0,
1782
+ 11,
1783
+ 2,
1784
+ "SAMPLER"
1785
+ ],
1786
+ [
1787
+ 15,
1788
+ 8,
1789
+ 0,
1790
+ 11,
1791
+ 3,
1792
+ "SIGMAS"
1793
+ ],
1794
+ [
1795
+ 16,
1796
+ 6,
1797
+ 1,
1798
+ 11,
1799
+ 4,
1800
+ "LATENT"
1801
+ ],
1802
+ [
1803
+ 17,
1804
+ 11,
1805
+ 0,
1806
+ 12,
1807
+ 0,
1808
+ "LATENT"
1809
+ ],
1810
+ [
1811
+ 18,
1812
+ 11,
1813
+ 0,
1814
+ 13,
1815
+ 0,
1816
+ "LATENT"
1817
+ ],
1818
+ [
1819
+ 19,
1820
+ 5,
1821
+ 0,
1822
+ 13,
1823
+ 1,
1824
+ "VAE"
1825
+ ],
1826
+ [
1827
+ 20,
1828
+ 12,
1829
+ 0,
1830
+ 14,
1831
+ 0,
1832
+ "IMAGE"
1833
+ ],
1834
+ [
1835
+ 21,
1836
+ 13,
1837
+ 0,
1838
+ 14,
1839
+ 1,
1840
+ "AUDIO"
1841
+ ],
1842
+ [
1843
+ 23,
1844
+ 1,
1845
+ 0,
1846
+ 17,
1847
+ 0,
1848
+ "MODEL"
1849
+ ],
1850
+ [
1851
+ 26,
1852
+ 21,
1853
+ 0,
1854
+ 23,
1855
+ 0,
1856
+ "IMAGE"
1857
+ ],
1858
+ [
1859
+ 27,
1860
+ 30,
1861
+ 0,
1862
+ 23,
1863
+ 2,
1864
+ "INT"
1865
+ ],
1866
+ [
1867
+ 28,
1868
+ 30,
1869
+ 1,
1870
+ 23,
1871
+ 3,
1872
+ "INT"
1873
+ ],
1874
+ [
1875
+ 29,
1876
+ 22,
1877
+ 0,
1878
+ 24,
1879
+ 0,
1880
+ "IMAGE"
1881
+ ],
1882
+ [
1883
+ 30,
1884
+ 30,
1885
+ 0,
1886
+ 24,
1887
+ 2,
1888
+ "INT"
1889
+ ],
1890
+ [
1891
+ 31,
1892
+ 30,
1893
+ 1,
1894
+ 24,
1895
+ 3,
1896
+ "INT"
1897
+ ],
1898
+ [
1899
+ 42,
1900
+ 17,
1901
+ 0,
1902
+ 39,
1903
+ 0,
1904
+ "MODEL"
1905
+ ],
1906
+ [
1907
+ 43,
1908
+ 39,
1909
+ 0,
1910
+ 8,
1911
+ 1,
1912
+ "INT"
1913
+ ],
1914
+ [
1915
+ 44,
1916
+ 39,
1917
+ 1,
1918
+ 8,
1919
+ 3,
1920
+ "FLOAT"
1921
+ ],
1922
+ [
1923
+ 45,
1924
+ 39,
1925
+ 2,
1926
+ 19,
1927
+ 0,
1928
+ "MODEL"
1929
+ ],
1930
+ [
1931
+ 49,
1932
+ 40,
1933
+ 0,
1934
+ 6,
1935
+ 7,
1936
+ "INT"
1937
+ ],
1938
+ [
1939
+ 22,
1940
+ 14,
1941
+ 0,
1942
+ 15,
1943
+ 0,
1944
+ "VIDEO"
1945
+ ],
1946
+ [
1947
+ 51,
1948
+ 19,
1949
+ 0,
1950
+ 20,
1951
+ 0,
1952
+ "MODEL"
1953
+ ],
1954
+ [
1955
+ 52,
1956
+ 20,
1957
+ 0,
1958
+ 8,
1959
+ 0,
1960
+ "MODEL"
1961
+ ],
1962
+ [
1963
+ 53,
1964
+ 20,
1965
+ 0,
1966
+ 9,
1967
+ 0,
1968
+ "MODEL"
1969
+ ],
1970
+ [
1971
+ 54,
1972
+ 39,
1973
+ 0,
1974
+ 20,
1975
+ 2,
1976
+ "INT"
1977
+ ]
1978
+ ],
1979
+ "groups": [
1980
+ {
1981
+ "id": 1,
1982
+ "title": "Step1 - Load models",
1983
+ "bounding": [
1984
+ 10,
1985
+ -50,
1986
+ 310,
1987
+ 1040
1988
+ ],
1989
+ "color": "#3f789e",
1990
+ "flags": {}
1991
+ },
1992
+ {
1993
+ "id": 2,
1994
+ "title": "Step2 - Video size and duration",
1995
+ "bounding": [
1996
+ 450,
1997
+ -50,
1998
+ 440,
1999
+ 418
2000
+ ],
2001
+ "color": "#3f789e",
2002
+ "flags": {}
2003
+ },
2004
+ {
2005
+ "id": 3,
2006
+ "title": "Step3 - Prompt",
2007
+ "bounding": [
2008
+ 450,
2009
+ 368,
2010
+ 460,
2011
+ 560
2012
+ ],
2013
+ "color": "#3f789e",
2014
+ "flags": {}
2015
+ },
2016
+ {
2017
+ "id": 4,
2018
+ "title": "Optional - First and last frames",
2019
+ "bounding": [
2020
+ 450,
2021
+ 968,
2022
+ 540,
2023
+ 620
2024
+ ],
2025
+ "color": "#3f789e",
2026
+ "flags": {}
2027
+ },
2028
+ {
2029
+ "id": 5,
2030
+ "title": "Step4 - Sampling",
2031
+ "bounding": [
2032
+ 950,
2033
+ -50,
2034
+ 330,
2035
+ 1290
2036
+ ],
2037
+ "color": "#3f789e",
2038
+ "flags": {}
2039
+ }
2040
+ ],
2041
+ "definitions": {
2042
+ "subgraphs": [
2043
+ {
2044
+ "id": "356a2ff0-98d5-4fa9-9bbd-452cccf6966f",
2045
+ "version": 1,
2046
+ "state": {
2047
+ "lastGroupId": 5,
2048
+ "lastNodeId": 40,
2049
+ "lastLinkId": 54,
2050
+ "lastRerouteId": 0
2051
+ },
2052
+ "revision": 0,
2053
+ "config": {},
2054
+ "name": "pi-H3 Adapter for HyperFlow",
2055
+ "inputNode": {
2056
+ "id": -10,
2057
+ "bounding": [
2058
+ -158,
2059
+ 324,
2060
+ 128,
2061
+ 68
2062
+ ]
2063
+ },
2064
+ "outputNode": {
2065
+ "id": -20,
2066
+ "bounding": [
2067
+ 1300,
2068
+ 304,
2069
+ 128,
2070
+ 108
2071
+ ]
2072
+ },
2073
+ "inputs": [
2074
+ {
2075
+ "id": "d52733e2-7307-4848-9bc1-edd76cc707b8",
2076
+ "name": "model",
2077
+ "type": "MODEL",
2078
+ "linkIds": [
2079
+ 1,
2080
+ 33
2081
+ ],
2082
+ "localized_name": "model",
2083
+ "pos": [
2084
+ 51,
2085
+ 24
2086
+ ]
2087
+ },
2088
+ {
2089
+ "id": "81c97db4-92f6-427a-9bb5-db34e3a442bb",
2090
+ "name": "steps",
2091
+ "type": "INT",
2092
+ "linkIds": [
2093
+ 46
2094
+ ],
2095
+ "pos": [
2096
+ 0,
2097
+ 0
2098
+ ]
2099
+ },
2100
+ {
2101
+ "id": "58ecdcd5-06af-4ca2-912c-2c60ae266bcf",
2102
+ "name": "2-step adapter",
2103
+ "type": "COMBO",
2104
+ "linkIds": [
2105
+ 47
2106
+ ],
2107
+ "pos": [
2108
+ 0,
2109
+ 0
2110
+ ]
2111
+ },
2112
+ {
2113
+ "id": "50f10d64-a0e9-4d82-ad1d-0a6fba648624",
2114
+ "name": "4-step adapter",
2115
+ "type": "COMBO",
2116
+ "linkIds": [
2117
+ 48
2118
+ ],
2119
+ "pos": [
2120
+ 0,
2121
+ 0
2122
+ ]
2123
+ }
2124
+ ],
2125
+ "outputs": [
2126
+ {
2127
+ "id": "2e5486c0-35fc-4606-936b-533f2a6c0a78",
2128
+ "name": "INT",
2129
+ "type": "INT",
2130
+ "linkIds": [
2131
+ 40
2132
+ ],
2133
+ "localized_name": "INT",
2134
+ "label": "steps",
2135
+ "pos": [
2136
+ 24,
2137
+ 24
2138
+ ]
2139
+ },
2140
+ {
2141
+ "id": "08b25231-24df-4cd0-a94a-663209cea5c6",
2142
+ "name": "FLOAT",
2143
+ "type": "FLOAT",
2144
+ "linkIds": [
2145
+ 41
2146
+ ],
2147
+ "localized_name": "FLOAT",
2148
+ "label": "max_raw_t",
2149
+ "pos": [
2150
+ 24,
2151
+ 44
2152
+ ]
2153
+ },
2154
+ {
2155
+ "id": "6635e991-4bb5-43d0-89b5-d56f02dfeda4",
2156
+ "name": "output",
2157
+ "type": "MODEL",
2158
+ "linkIds": [
2159
+ 36
2160
+ ],
2161
+ "localized_name": "output",
2162
+ "label": "model",
2163
+ "pos": [
2164
+ 24,
2165
+ 64
2166
+ ]
2167
+ }
2168
+ ],
2169
+ "widgets": [],
2170
+ "nodes": [
2171
+ {
2172
+ "id": 36,
2173
+ "type": "PrimitiveInt",
2174
+ "pos": [
2175
+ 970,
2176
+ 30
2177
+ ],
2178
+ "size": [
2179
+ 270,
2180
+ 82
2181
+ ],
2182
+ "flags": {},
2183
+ "order": 3,
2184
+ "mode": 0,
2185
+ "inputs": [
2186
+ {
2187
+ "localized_name": "value",
2188
+ "name": "value",
2189
+ "type": "INT",
2190
+ "widget": {
2191
+ "name": "value"
2192
+ },
2193
+ "link": 46
2194
+ }
2195
+ ],
2196
+ "outputs": [
2197
+ {
2198
+ "localized_name": "INT",
2199
+ "name": "INT",
2200
+ "type": "INT",
2201
+ "links": [
2202
+ 37,
2203
+ 38,
2204
+ 40
2205
+ ]
2206
+ }
2207
+ ],
2208
+ "title": "Steps (2 or 4)",
2209
+ "properties": {
2210
+ "Node name for S&R": "PrimitiveInt"
2211
+ },
2212
+ "widgets_values": [
2213
+ 2,
2214
+ "fixed"
2215
+ ]
2216
+ },
2217
+ {
2218
+ "id": 37,
2219
+ "type": "ComfyMathExpression",
2220
+ "pos": [
2221
+ 970,
2222
+ 182
2223
+ ],
2224
+ "size": [
2225
+ 270,
2226
+ 150
2227
+ ],
2228
+ "flags": {},
2229
+ "order": 4,
2230
+ "mode": 0,
2231
+ "inputs": [
2232
+ {
2233
+ "localized_name": "a",
2234
+ "name": "values.a",
2235
+ "type": "FLOAT,INT,BOOLEAN",
2236
+ "link": 37
2237
+ },
2238
+ {
2239
+ "localized_name": "b",
2240
+ "name": "values.b",
2241
+ "shape": 7,
2242
+ "type": "FLOAT,INT,BOOLEAN",
2243
+ "link": null
2244
+ },
2245
+ {
2246
+ "localized_name": "expression",
2247
+ "name": "expression",
2248
+ "type": "STRING",
2249
+ "widget": {
2250
+ "name": "expression"
2251
+ },
2252
+ "link": null
2253
+ }
2254
+ ],
2255
+ "outputs": [
2256
+ {
2257
+ "localized_name": "FLOAT",
2258
+ "name": "FLOAT",
2259
+ "type": "FLOAT",
2260
+ "links": null
2261
+ },
2262
+ {
2263
+ "localized_name": "INT",
2264
+ "name": "INT",
2265
+ "type": "INT",
2266
+ "links": null
2267
+ },
2268
+ {
2269
+ "localized_name": "BOOL",
2270
+ "name": "BOOL",
2271
+ "type": "BOOLEAN",
2272
+ "links": [
2273
+ 39
2274
+ ]
2275
+ }
2276
+ ],
2277
+ "title": "4-step adapter?",
2278
+ "properties": {
2279
+ "Node name for S&R": "ComfyMathExpression"
2280
+ },
2281
+ "widgets_values": [
2282
+ "a > 2"
2283
+ ]
2284
+ },
2285
+ {
2286
+ "id": 38,
2287
+ "type": "ComfyMathExpression",
2288
+ "pos": [
2289
+ 970,
2290
+ 402
2291
+ ],
2292
+ "size": [
2293
+ 270,
2294
+ 150
2295
+ ],
2296
+ "flags": {},
2297
+ "order": 5,
2298
+ "mode": 0,
2299
+ "inputs": [
2300
+ {
2301
+ "localized_name": "a",
2302
+ "name": "values.a",
2303
+ "type": "FLOAT,INT,BOOLEAN",
2304
+ "link": 38
2305
+ },
2306
+ {
2307
+ "localized_name": "b",
2308
+ "name": "values.b",
2309
+ "shape": 7,
2310
+ "type": "FLOAT,INT,BOOLEAN",
2311
+ "link": null
2312
+ },
2313
+ {
2314
+ "localized_name": "expression",
2315
+ "name": "expression",
2316
+ "type": "STRING",
2317
+ "widget": {
2318
+ "name": "expression"
2319
+ },
2320
+ "link": null
2321
+ }
2322
+ ],
2323
+ "outputs": [
2324
+ {
2325
+ "localized_name": "FLOAT",
2326
+ "name": "FLOAT",
2327
+ "type": "FLOAT",
2328
+ "links": [
2329
+ 41
2330
+ ]
2331
+ },
2332
+ {
2333
+ "localized_name": "INT",
2334
+ "name": "INT",
2335
+ "type": "INT",
2336
+ "links": null
2337
+ },
2338
+ {
2339
+ "localized_name": "BOOL",
2340
+ "name": "BOOL",
2341
+ "type": "BOOLEAN",
2342
+ "links": null
2343
+ }
2344
+ ],
2345
+ "title": "max_raw_t",
2346
+ "properties": {
2347
+ "Node name for S&R": "ComfyMathExpression"
2348
+ },
2349
+ "widgets_values": [
2350
+ "0.96 if a > 2 else 0.93"
2351
+ ]
2352
+ },
2353
+ {
2354
+ "id": 2,
2355
+ "type": "PiH3HyperFlowAdapter",
2356
+ "pos": [
2357
+ 30,
2358
+ 334
2359
+ ],
2360
+ "size": [
2361
+ 330,
2362
+ 178
2363
+ ],
2364
+ "flags": {},
2365
+ "order": 0,
2366
+ "mode": 0,
2367
+ "inputs": [
2368
+ {
2369
+ "localized_name": "model",
2370
+ "name": "model",
2371
+ "type": "MODEL",
2372
+ "link": 1
2373
+ },
2374
+ {
2375
+ "localized_name": "adapter_name",
2376
+ "name": "adapter_name",
2377
+ "type": "COMBO",
2378
+ "widget": {
2379
+ "name": "adapter_name"
2380
+ },
2381
+ "link": 47
2382
+ },
2383
+ {
2384
+ "localized_name": "adapter_strength",
2385
+ "name": "adapter_strength",
2386
+ "type": "FLOAT",
2387
+ "widget": {
2388
+ "name": "adapter_strength"
2389
+ },
2390
+ "link": null
2391
+ },
2392
+ {
2393
+ "localized_name": "time_path",
2394
+ "name": "time_path",
2395
+ "type": "COMBO",
2396
+ "widget": {
2397
+ "name": "time_path"
2398
+ },
2399
+ "link": null
2400
+ },
2401
+ {
2402
+ "localized_name": "stock_base",
2403
+ "name": "stock_base",
2404
+ "type": "COMBO",
2405
+ "widget": {
2406
+ "name": "stock_base"
2407
+ },
2408
+ "link": null
2409
+ },
2410
+ {
2411
+ "localized_name": "lora_mode",
2412
+ "name": "lora_mode",
2413
+ "type": "COMBO",
2414
+ "widget": {
2415
+ "name": "lora_mode"
2416
+ },
2417
+ "link": null
2418
+ },
2419
+ {
2420
+ "localized_name": "dropped_blocks",
2421
+ "name": "dropped_blocks",
2422
+ "type": "STRING",
2423
+ "widget": {
2424
+ "name": "dropped_blocks"
2425
+ },
2426
+ "link": null
2427
+ }
2428
+ ],
2429
+ "outputs": [
2430
+ {
2431
+ "localized_name": "MODEL",
2432
+ "name": "MODEL",
2433
+ "type": "MODEL",
2434
+ "links": [
2435
+ 34
2436
+ ]
2437
+ }
2438
+ ],
2439
+ "title": "Load 2-step adapter",
2440
+ "properties": {
2441
+ "Node name for S&R": "PiH3HyperFlowAdapter"
2442
+ },
2443
+ "widgets_values": [
2444
+ "pi_h3_2step_dwd_adapter_int8_convrot.safetensors",
2445
+ 1,
2446
+ "pi-H3 (stock H3 time curve)",
2447
+ "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
2448
+ "bypass (keeps the file's weights)",
2449
+ "auto"
2450
+ ]
2451
+ },
2452
+ {
2453
+ "id": 34,
2454
+ "type": "PiH3HyperFlowAdapter",
2455
+ "pos": [
2456
+ 30,
2457
+ 486
2458
+ ],
2459
+ "size": [
2460
+ 330,
2461
+ 178
2462
+ ],
2463
+ "flags": {},
2464
+ "order": 1,
2465
+ "mode": 0,
2466
+ "inputs": [
2467
+ {
2468
+ "localized_name": "model",
2469
+ "name": "model",
2470
+ "type": "MODEL",
2471
+ "link": 33
2472
+ },
2473
+ {
2474
+ "localized_name": "adapter_name",
2475
+ "name": "adapter_name",
2476
+ "type": "COMBO",
2477
+ "widget": {
2478
+ "name": "adapter_name"
2479
+ },
2480
+ "link": 48
2481
+ },
2482
+ {
2483
+ "localized_name": "adapter_strength",
2484
+ "name": "adapter_strength",
2485
+ "type": "FLOAT",
2486
+ "widget": {
2487
+ "name": "adapter_strength"
2488
+ },
2489
+ "link": null
2490
+ },
2491
+ {
2492
+ "localized_name": "time_path",
2493
+ "name": "time_path",
2494
+ "type": "COMBO",
2495
+ "widget": {
2496
+ "name": "time_path"
2497
+ },
2498
+ "link": null
2499
+ },
2500
+ {
2501
+ "localized_name": "stock_base",
2502
+ "name": "stock_base",
2503
+ "type": "COMBO",
2504
+ "widget": {
2505
+ "name": "stock_base"
2506
+ },
2507
+ "link": null
2508
+ },
2509
+ {
2510
+ "localized_name": "lora_mode",
2511
+ "name": "lora_mode",
2512
+ "type": "COMBO",
2513
+ "widget": {
2514
+ "name": "lora_mode"
2515
+ },
2516
+ "link": null
2517
+ },
2518
+ {
2519
+ "localized_name": "dropped_blocks",
2520
+ "name": "dropped_blocks",
2521
+ "type": "STRING",
2522
+ "widget": {
2523
+ "name": "dropped_blocks"
2524
+ },
2525
+ "link": null
2526
+ }
2527
+ ],
2528
+ "outputs": [
2529
+ {
2530
+ "localized_name": "MODEL",
2531
+ "name": "MODEL",
2532
+ "type": "MODEL",
2533
+ "links": [
2534
+ 35
2535
+ ]
2536
+ }
2537
+ ],
2538
+ "title": "Load 4-step adapter",
2539
+ "properties": {
2540
+ "Node name for S&R": "PiH3HyperFlowAdapter"
2541
+ },
2542
+ "widgets_values": [
2543
+ "pi_h3_4step_dwd_adapter_int8_convrot.safetensors",
2544
+ 1,
2545
+ "pi-H3 (stock H3 time curve)",
2546
+ "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
2547
+ "bypass (keeps the file's weights)",
2548
+ "auto"
2549
+ ]
2550
+ },
2551
+ {
2552
+ "id": 35,
2553
+ "type": "ComfySwitchNode",
2554
+ "pos": [
2555
+ 30,
2556
+ 638
2557
+ ],
2558
+ "size": [
2559
+ 270,
2560
+ 78
2561
+ ],
2562
+ "flags": {},
2563
+ "order": 2,
2564
+ "mode": 0,
2565
+ "inputs": [
2566
+ {
2567
+ "localized_name": "on_false",
2568
+ "name": "on_false",
2569
+ "shape": 7,
2570
+ "type": "MODEL",
2571
+ "link": 34
2572
+ },
2573
+ {
2574
+ "localized_name": "on_true",
2575
+ "name": "on_true",
2576
+ "shape": 7,
2577
+ "type": "MODEL",
2578
+ "link": 35
2579
+ },
2580
+ {
2581
+ "localized_name": "switch",
2582
+ "name": "switch",
2583
+ "type": "BOOLEAN",
2584
+ "widget": {
2585
+ "name": "switch"
2586
+ },
2587
+ "link": 39
2588
+ }
2589
+ ],
2590
+ "outputs": [
2591
+ {
2592
+ "localized_name": "output",
2593
+ "name": "output",
2594
+ "type": "MODEL",
2595
+ "links": [
2596
+ 36
2597
+ ]
2598
+ }
2599
+ ],
2600
+ "title": "Adapter for the steps",
2601
+ "properties": {
2602
+ "Node name for S&R": "ComfySwitchNode"
2603
+ },
2604
+ "widgets_values": [
2605
+ false
2606
+ ]
2607
+ }
2608
+ ],
2609
+ "groups": [],
2610
+ "links": [
2611
+ {
2612
+ "id": 34,
2613
+ "origin_id": 2,
2614
+ "origin_slot": 0,
2615
+ "target_id": 35,
2616
+ "target_slot": 0,
2617
+ "type": "MODEL"
2618
+ },
2619
+ {
2620
+ "id": 35,
2621
+ "origin_id": 34,
2622
+ "origin_slot": 0,
2623
+ "target_id": 35,
2624
+ "target_slot": 1,
2625
+ "type": "MODEL"
2626
+ },
2627
+ {
2628
+ "id": 39,
2629
+ "origin_id": 37,
2630
+ "origin_slot": 2,
2631
+ "target_id": 35,
2632
+ "target_slot": 2,
2633
+ "type": "BOOLEAN"
2634
+ },
2635
+ {
2636
+ "id": 1,
2637
+ "origin_id": -10,
2638
+ "origin_slot": 0,
2639
+ "target_id": 2,
2640
+ "target_slot": 0,
2641
+ "type": "MODEL"
2642
+ },
2643
+ {
2644
+ "id": 33,
2645
+ "origin_id": -10,
2646
+ "origin_slot": 0,
2647
+ "target_id": 34,
2648
+ "target_slot": 0,
2649
+ "type": "MODEL"
2650
+ },
2651
+ {
2652
+ "id": 40,
2653
+ "origin_id": 36,
2654
+ "origin_slot": 0,
2655
+ "target_id": -20,
2656
+ "target_slot": 0,
2657
+ "type": "INT"
2658
+ },
2659
+ {
2660
+ "id": 41,
2661
+ "origin_id": 38,
2662
+ "origin_slot": 0,
2663
+ "target_id": -20,
2664
+ "target_slot": 1,
2665
+ "type": "FLOAT"
2666
+ },
2667
+ {
2668
+ "id": 36,
2669
+ "origin_id": 35,
2670
+ "origin_slot": 0,
2671
+ "target_id": -20,
2672
+ "target_slot": 2,
2673
+ "type": "MODEL"
2674
+ },
2675
+ {
2676
+ "id": 46,
2677
+ "origin_id": -10,
2678
+ "origin_slot": 1,
2679
+ "target_id": 36,
2680
+ "target_slot": 0,
2681
+ "type": "INT"
2682
+ },
2683
+ {
2684
+ "id": 47,
2685
+ "origin_id": -10,
2686
+ "origin_slot": 2,
2687
+ "target_id": 2,
2688
+ "target_slot": 1,
2689
+ "type": "COMBO"
2690
+ },
2691
+ {
2692
+ "id": 48,
2693
+ "origin_id": -10,
2694
+ "origin_slot": 3,
2695
+ "target_id": 34,
2696
+ "target_slot": 1,
2697
+ "type": "COMBO"
2698
+ },
2699
+ {
2700
+ "id": 37,
2701
+ "origin_id": 36,
2702
+ "origin_slot": 0,
2703
+ "target_id": 37,
2704
+ "target_slot": 0,
2705
+ "type": "INT"
2706
+ },
2707
+ {
2708
+ "id": 38,
2709
+ "origin_id": 36,
2710
+ "origin_slot": 0,
2711
+ "target_id": 38,
2712
+ "target_slot": 0,
2713
+ "type": "INT"
2714
+ }
2715
+ ],
2716
+ "extra": {}
2717
+ },
2718
+ {
2719
+ "id": "a74d60af-3935-41b1-a4bc-a21f1fa87ceb",
2720
+ "version": 1,
2721
+ "state": {
2722
+ "lastGroupId": 5,
2723
+ "lastNodeId": 40,
2724
+ "lastLinkId": 54,
2725
+ "lastRerouteId": 0
2726
+ },
2727
+ "revision": 0,
2728
+ "config": {},
2729
+ "name": "Frame Count",
2730
+ "inputNode": {
2731
+ "id": -10,
2732
+ "bounding": [
2733
+ 282,
2734
+ 375,
2735
+ 128,
2736
+ 48
2737
+ ]
2738
+ },
2739
+ "outputNode": {
2740
+ "id": -20,
2741
+ "bounding": [
2742
+ 930,
2743
+ 365,
2744
+ 128,
2745
+ 68
2746
+ ]
2747
+ },
2748
+ "inputs": [
2749
+ {
2750
+ "id": "d0484a8e-11dc-4ba1-8a63-cfa9900f9865",
2751
+ "name": "seconds",
2752
+ "type": "FLOAT",
2753
+ "linkIds": [
2754
+ 50
2755
+ ],
2756
+ "pos": [
2757
+ 0,
2758
+ 0
2759
+ ]
2760
+ }
2761
+ ],
2762
+ "outputs": [
2763
+ {
2764
+ "id": "6ce08b9d-e5b9-4bb7-8e98-355cbdcb21a2",
2765
+ "name": "INT",
2766
+ "type": "INT",
2767
+ "linkIds": [
2768
+ 6
2769
+ ],
2770
+ "localized_name": "INT",
2771
+ "label": "length",
2772
+ "pos": [
2773
+ 24,
2774
+ 24
2775
+ ]
2776
+ }
2777
+ ],
2778
+ "widgets": [],
2779
+ "nodes": [
2780
+ {
2781
+ "id": 31,
2782
+ "type": "PrimitiveFloat",
2783
+ "pos": [
2784
+ 470,
2785
+ 250
2786
+ ],
2787
+ "size": [
2788
+ 270,
2789
+ 58
2790
+ ],
2791
+ "flags": {},
2792
+ "order": 0,
2793
+ "mode": 0,
2794
+ "inputs": [
2795
+ {
2796
+ "localized_name": "value",
2797
+ "name": "value",
2798
+ "type": "FLOAT",
2799
+ "widget": {
2800
+ "name": "value"
2801
+ },
2802
+ "link": 50
2803
+ }
2804
+ ],
2805
+ "outputs": [
2806
+ {
2807
+ "localized_name": "FLOAT",
2808
+ "name": "FLOAT",
2809
+ "type": "FLOAT",
2810
+ "links": [
2811
+ 32
2812
+ ]
2813
+ }
2814
+ ],
2815
+ "title": "Duration (seconds)",
2816
+ "properties": {
2817
+ "Node name for S&R": "PrimitiveFloat"
2818
+ },
2819
+ "widgets_values": [
2820
+ 5
2821
+ ]
2822
+ },
2823
+ {
2824
+ "id": 32,
2825
+ "type": "ComfyMathExpression",
2826
+ "pos": [
2827
+ 470,
2828
+ 378
2829
+ ],
2830
+ "size": [
2831
+ 400,
2832
+ 200
2833
+ ],
2834
+ "flags": {},
2835
+ "order": 1,
2836
+ "mode": 0,
2837
+ "inputs": [
2838
+ {
2839
+ "localized_name": "a",
2840
+ "name": "values.a",
2841
+ "type": "FLOAT,INT,BOOLEAN",
2842
+ "link": 32
2843
+ },
2844
+ {
2845
+ "localized_name": "b",
2846
+ "name": "values.b",
2847
+ "shape": 7,
2848
+ "type": "FLOAT,INT,BOOLEAN",
2849
+ "link": null
2850
+ },
2851
+ {
2852
+ "localized_name": "expression",
2853
+ "name": "expression",
2854
+ "type": "STRING",
2855
+ "widget": {
2856
+ "name": "expression"
2857
+ },
2858
+ "link": null
2859
+ }
2860
+ ],
2861
+ "outputs": [
2862
+ {
2863
+ "localized_name": "FLOAT",
2864
+ "name": "FLOAT",
2865
+ "type": "FLOAT",
2866
+ "links": null
2867
+ },
2868
+ {
2869
+ "localized_name": "INT",
2870
+ "name": "INT",
2871
+ "type": "INT",
2872
+ "links": [
2873
+ 6
2874
+ ]
2875
+ },
2876
+ {
2877
+ "localized_name": "BOOL",
2878
+ "name": "BOOL",
2879
+ "type": "BOOLEAN",
2880
+ "links": null
2881
+ }
2882
+ ],
2883
+ "title": "Frame count",
2884
+ "properties": {
2885
+ "Node name for S&R": "ComfyMathExpression"
2886
+ },
2887
+ "widgets_values": [
2888
+ "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
2889
+ ]
2890
+ }
2891
+ ],
2892
+ "groups": [],
2893
+ "links": [
2894
+ {
2895
+ "id": 6,
2896
+ "origin_id": 32,
2897
+ "origin_slot": 1,
2898
+ "target_id": -20,
2899
+ "target_slot": 0,
2900
+ "type": "INT"
2901
+ },
2902
+ {
2903
+ "id": 50,
2904
+ "origin_id": -10,
2905
+ "origin_slot": 0,
2906
+ "target_id": 31,
2907
+ "target_slot": 0,
2908
+ "type": "FLOAT"
2909
+ },
2910
+ {
2911
+ "id": 32,
2912
+ "origin_id": 31,
2913
+ "origin_slot": 0,
2914
+ "target_id": 32,
2915
+ "target_slot": 0,
2916
+ "type": "FLOAT"
2917
+ }
2918
+ ],
2919
+ "extra": {}
2920
+ }
2921
+ ]
2922
+ },
2923
+ "config": {},
2924
+ "extra": {
2925
+ "ds": {
2926
+ "scale": 0.45,
2927
+ "offset": [
2928
+ 680,
2929
+ 120
2930
+ ]
2931
+ }
2932
+ },
2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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "ce5c0ef8-9b93-434c-a3a8-75831e754d06",
3
+ "revision": 0,
4
+ "last_node_id": 40,
5
+ "last_link_id": 54,
6
+ "nodes": [
7
+ {
8
+ "id": 1,
9
+ "type": "HyperFlowLoader",
10
+ "pos": [
11
+ 30,
12
+ 30
13
+ ],
14
+ "size": [
15
+ 270,
16
+ 82
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [
22
+ {
23
+ "localized_name": "unet_name",
24
+ "name": "unet_name",
25
+ "type": "COMBO",
26
+ "widget": {
27
+ "name": "unet_name"
28
+ },
29
+ "link": null
30
+ },
31
+ {
32
+ "localized_name": "weights_in",
33
+ "name": "weights_in",
34
+ "type": "COMBO",
35
+ "widget": {
36
+ "name": "weights_in"
37
+ },
38
+ "link": null
39
+ }
40
+ ],
41
+ "outputs": [
42
+ {
43
+ "localized_name": "MODEL",
44
+ "name": "MODEL",
45
+ "type": "MODEL",
46
+ "links": [
47
+ 23
48
+ ]
49
+ }
50
+ ],
51
+ "properties": {
52
+ "Node name for S&R": "HyperFlowLoader"
53
+ },
54
+ "widgets_values": [
55
+ "HyperFlow-H3-Flash-fl2va-NVFP4-ComfyUI.safetensors",
56
+ "auto"
57
+ ],
58
+ "title": "HyperFlow Loader (NVFP4)"
59
+ },
60
+ {
61
+ "id": 3,
62
+ "type": "CLIPLoader",
63
+ "pos": [
64
+ 30,
65
+ 558
66
+ ],
67
+ "size": [
68
+ 270,
69
+ 106
70
+ ],
71
+ "flags": {},
72
+ "order": 1,
73
+ "mode": 0,
74
+ "inputs": [
75
+ {
76
+ "localized_name": "clip_name",
77
+ "name": "clip_name",
78
+ "type": "COMBO",
79
+ "widget": {
80
+ "name": "clip_name"
81
+ },
82
+ "link": null
83
+ },
84
+ {
85
+ "localized_name": "type",
86
+ "name": "type",
87
+ "type": "COMBO",
88
+ "widget": {
89
+ "name": "type"
90
+ },
91
+ "link": null
92
+ },
93
+ {
94
+ "localized_name": "device",
95
+ "name": "device",
96
+ "shape": 7,
97
+ "type": "COMBO",
98
+ "widget": {
99
+ "name": "device"
100
+ },
101
+ "link": null
102
+ }
103
+ ],
104
+ "outputs": [
105
+ {
106
+ "localized_name": "CLIP",
107
+ "name": "CLIP",
108
+ "type": "CLIP",
109
+ "links": [
110
+ 2
111
+ ]
112
+ }
113
+ ],
114
+ "properties": {
115
+ "Node name for S&R": "CLIPLoader"
116
+ },
117
+ "widgets_values": [
118
+ "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
119
+ "minimax",
120
+ "default"
121
+ ]
122
+ },
123
+ {
124
+ "id": 4,
125
+ "type": "VAELoader",
126
+ "pos": [
127
+ 30,
128
+ 734
129
+ ],
130
+ "size": [
131
+ 270,
132
+ 58
133
+ ],
134
+ "flags": {},
135
+ "order": 2,
136
+ "mode": 0,
137
+ "inputs": [
138
+ {
139
+ "localized_name": "vae_name",
140
+ "name": "vae_name",
141
+ "type": "COMBO",
142
+ "widget": {
143
+ "name": "vae_name"
144
+ },
145
+ "link": null
146
+ }
147
+ ],
148
+ "outputs": [
149
+ {
150
+ "localized_name": "VAE",
151
+ "name": "VAE",
152
+ "type": "VAE",
153
+ "links": [
154
+ 3
155
+ ]
156
+ }
157
+ ],
158
+ "title": "Load VAE (video)",
159
+ "properties": {
160
+ "Node name for S&R": "VAELoader"
161
+ },
162
+ "widgets_values": [
163
+ "minimax_h3_video_vae_int8_convrot.safetensors"
164
+ ]
165
+ },
166
+ {
167
+ "id": 5,
168
+ "type": "VAELoader",
169
+ "pos": [
170
+ 30,
171
+ 862
172
+ ],
173
+ "size": [
174
+ 270,
175
+ 58
176
+ ],
177
+ "flags": {},
178
+ "order": 3,
179
+ "mode": 0,
180
+ "inputs": [
181
+ {
182
+ "localized_name": "vae_name",
183
+ "name": "vae_name",
184
+ "type": "COMBO",
185
+ "widget": {
186
+ "name": "vae_name"
187
+ },
188
+ "link": null
189
+ }
190
+ ],
191
+ "outputs": [
192
+ {
193
+ "localized_name": "VAE",
194
+ "name": "VAE",
195
+ "type": "VAE",
196
+ "links": [
197
+ 19
198
+ ]
199
+ }
200
+ ],
201
+ "title": "Load VAE (audio)",
202
+ "properties": {
203
+ "Node name for S&R": "VAELoader"
204
+ },
205
+ "widgets_values": [
206
+ "minimax_h3_audio_vae_fp32.safetensors"
207
+ ]
208
+ },
209
+ {
210
+ "id": 6,
211
+ "type": "MiniMaxH3ImageToVideo",
212
+ "pos": [
213
+ 470,
214
+ 448
215
+ ],
216
+ "size": [
217
+ 420,
218
+ 460
219
+ ],
220
+ "flags": {},
221
+ "order": 16,
222
+ "mode": 0,
223
+ "inputs": [
224
+ {
225
+ "localized_name": "clip",
226
+ "name": "clip",
227
+ "type": "CLIP",
228
+ "link": 2
229
+ },
230
+ {
231
+ "localized_name": "vae",
232
+ "name": "vae",
233
+ "type": "VAE",
234
+ "link": 3
235
+ },
236
+ {
237
+ "localized_name": "first_frame",
238
+ "name": "first_frame",
239
+ "shape": 7,
240
+ "type": "IMAGE",
241
+ "link": 7
242
+ },
243
+ {
244
+ "localized_name": "last_frame",
245
+ "name": "last_frame",
246
+ "shape": 7,
247
+ "type": "IMAGE",
248
+ "link": 8
249
+ },
250
+ {
251
+ "localized_name": "prompt",
252
+ "name": "prompt",
253
+ "type": "STRING",
254
+ "widget": {
255
+ "name": "prompt"
256
+ },
257
+ "link": null
258
+ },
259
+ {
260
+ "localized_name": "width",
261
+ "name": "width",
262
+ "type": "INT",
263
+ "widget": {
264
+ "name": "width"
265
+ },
266
+ "link": 4
267
+ },
268
+ {
269
+ "localized_name": "height",
270
+ "name": "height",
271
+ "type": "INT",
272
+ "widget": {
273
+ "name": "height"
274
+ },
275
+ "link": 5
276
+ },
277
+ {
278
+ "localized_name": "length",
279
+ "name": "length",
280
+ "type": "INT",
281
+ "widget": {
282
+ "name": "length"
283
+ },
284
+ "link": 49
285
+ }
286
+ ],
287
+ "outputs": [
288
+ {
289
+ "localized_name": "positive",
290
+ "name": "positive",
291
+ "type": "CONDITIONING",
292
+ "links": [
293
+ 11
294
+ ]
295
+ },
296
+ {
297
+ "localized_name": "LATENT",
298
+ "name": "LATENT",
299
+ "type": "LATENT",
300
+ "links": [
301
+ 16
302
+ ]
303
+ }
304
+ ],
305
+ "properties": {
306
+ "Node name for S&R": "MiniMaxH3ImageToVideo"
307
+ },
308
+ "widgets_values": [
309
+ "",
310
+ 1344,
311
+ 768,
312
+ 124
313
+ ]
314
+ },
315
+ {
316
+ "id": 7,
317
+ "type": "KSamplerSelect",
318
+ "pos": [
319
+ 970,
320
+ 894
321
+ ],
322
+ "size": [
323
+ 270,
324
+ 58
325
+ ],
326
+ "flags": {},
327
+ "order": 4,
328
+ "mode": 0,
329
+ "inputs": [
330
+ {
331
+ "localized_name": "sampler_name",
332
+ "name": "sampler_name",
333
+ "type": "COMBO",
334
+ "widget": {
335
+ "name": "sampler_name"
336
+ },
337
+ "link": null
338
+ }
339
+ ],
340
+ "outputs": [
341
+ {
342
+ "localized_name": "SAMPLER",
343
+ "name": "SAMPLER",
344
+ "type": "SAMPLER",
345
+ "links": [
346
+ 14
347
+ ]
348
+ }
349
+ ],
350
+ "properties": {
351
+ "Node name for S&R": "KSamplerSelect"
352
+ },
353
+ "widgets_values": [
354
+ "euler"
355
+ ]
356
+ },
357
+ {
358
+ "id": 8,
359
+ "type": "pi-Flow Scheduler",
360
+ "pos": [
361
+ 970,
362
+ 694
363
+ ],
364
+ "size": [
365
+ 281.62109375,
366
+ 130
367
+ ],
368
+ "flags": {},
369
+ "order": 17,
370
+ "mode": 0,
371
+ "inputs": [
372
+ {
373
+ "localized_name": "model",
374
+ "name": "model",
375
+ "type": "MODEL",
376
+ "link": 52
377
+ },
378
+ {
379
+ "localized_name": "steps",
380
+ "name": "steps",
381
+ "type": "INT",
382
+ "widget": {
383
+ "name": "steps"
384
+ },
385
+ "link": 43
386
+ },
387
+ {
388
+ "localized_name": "min_raw_t",
389
+ "name": "min_raw_t",
390
+ "type": "FLOAT",
391
+ "widget": {
392
+ "name": "min_raw_t"
393
+ },
394
+ "link": null
395
+ },
396
+ {
397
+ "localized_name": "max_raw_t",
398
+ "name": "max_raw_t",
399
+ "type": "FLOAT",
400
+ "widget": {
401
+ "name": "max_raw_t"
402
+ },
403
+ "link": 44
404
+ },
405
+ {
406
+ "localized_name": "final_step_size_scale",
407
+ "name": "final_step_size_scale",
408
+ "type": "FLOAT",
409
+ "widget": {
410
+ "name": "final_step_size_scale"
411
+ },
412
+ "link": null
413
+ }
414
+ ],
415
+ "outputs": [
416
+ {
417
+ "localized_name": "SIGMAS",
418
+ "name": "SIGMAS",
419
+ "type": "SIGMAS",
420
+ "links": [
421
+ 15
422
+ ]
423
+ }
424
+ ],
425
+ "properties": {
426
+ "Node name for S&R": "pi-Flow Scheduler"
427
+ },
428
+ "widgets_values": [
429
+ 2,
430
+ 0,
431
+ 0.93,
432
+ 0.6
433
+ ]
434
+ },
435
+ {
436
+ "id": 9,
437
+ "type": "BasicGuider",
438
+ "pos": [
439
+ 970,
440
+ 1174
441
+ ],
442
+ "size": [
443
+ 159.568359375,
444
+ 46
445
+ ],
446
+ "flags": {},
447
+ "order": 19,
448
+ "mode": 0,
449
+ "inputs": [
450
+ {
451
+ "localized_name": "model",
452
+ "name": "model",
453
+ "type": "MODEL",
454
+ "link": 53
455
+ },
456
+ {
457
+ "localized_name": "conditioning",
458
+ "name": "conditioning",
459
+ "type": "CONDITIONING",
460
+ "link": 11
461
+ }
462
+ ],
463
+ "outputs": [
464
+ {
465
+ "localized_name": "GUIDER",
466
+ "name": "GUIDER",
467
+ "type": "GUIDER",
468
+ "links": [
469
+ 13
470
+ ]
471
+ }
472
+ ],
473
+ "properties": {
474
+ "Node name for S&R": "BasicGuider"
475
+ }
476
+ },
477
+ {
478
+ "id": 10,
479
+ "type": "RandomNoise",
480
+ "pos": [
481
+ 970,
482
+ 1022
483
+ ],
484
+ "size": [
485
+ 270,
486
+ 82
487
+ ],
488
+ "flags": {},
489
+ "order": 5,
490
+ "mode": 0,
491
+ "inputs": [
492
+ {
493
+ "localized_name": "noise_seed",
494
+ "name": "noise_seed",
495
+ "type": "INT",
496
+ "widget": {
497
+ "name": "noise_seed"
498
+ },
499
+ "link": null
500
+ }
501
+ ],
502
+ "outputs": [
503
+ {
504
+ "localized_name": "NOISE",
505
+ "name": "NOISE",
506
+ "type": "NOISE",
507
+ "links": [
508
+ 12
509
+ ]
510
+ }
511
+ ],
512
+ "properties": {
513
+ "Node name for S&R": "RandomNoise"
514
+ },
515
+ "widgets_values": [
516
+ 42,
517
+ "randomize"
518
+ ]
519
+ },
520
+ {
521
+ "id": 11,
522
+ "type": "SamplerCustomAdvanced",
523
+ "pos": [
524
+ 1400,
525
+ 30
526
+ ],
527
+ "size": [
528
+ 420,
529
+ 520
530
+ ],
531
+ "flags": {},
532
+ "order": 20,
533
+ "mode": 0,
534
+ "inputs": [
535
+ {
536
+ "localized_name": "noise",
537
+ "name": "noise",
538
+ "type": "NOISE",
539
+ "link": 12
540
+ },
541
+ {
542
+ "localized_name": "guider",
543
+ "name": "guider",
544
+ "type": "GUIDER",
545
+ "link": 13
546
+ },
547
+ {
548
+ "localized_name": "sampler",
549
+ "name": "sampler",
550
+ "type": "SAMPLER",
551
+ "link": 14
552
+ },
553
+ {
554
+ "localized_name": "sigmas",
555
+ "name": "sigmas",
556
+ "type": "SIGMAS",
557
+ "link": 15
558
+ },
559
+ {
560
+ "localized_name": "latent_image",
561
+ "name": "latent_image",
562
+ "type": "LATENT",
563
+ "link": 16
564
+ }
565
+ ],
566
+ "outputs": [
567
+ {
568
+ "localized_name": "output",
569
+ "name": "output",
570
+ "type": "LATENT",
571
+ "links": [
572
+ 17,
573
+ 18
574
+ ]
575
+ },
576
+ {
577
+ "localized_name": "denoised_output",
578
+ "name": "denoised_output",
579
+ "type": "LATENT",
580
+ "links": null
581
+ }
582
+ ],
583
+ "properties": {
584
+ "Node name for S&R": "SamplerCustomAdvanced"
585
+ }
586
+ },
587
+ {
588
+ "id": 12,
589
+ "type": "DWD Decode",
590
+ "pos": [
591
+ 1400,
592
+ 620
593
+ ],
594
+ "size": [
595
+ 140,
596
+ 26
597
+ ],
598
+ "flags": {},
599
+ "order": 21,
600
+ "mode": 0,
601
+ "inputs": [
602
+ {
603
+ "localized_name": "samples",
604
+ "name": "samples",
605
+ "type": "LATENT",
606
+ "link": 17
607
+ }
608
+ ],
609
+ "outputs": [
610
+ {
611
+ "localized_name": "IMAGE",
612
+ "name": "IMAGE",
613
+ "type": "IMAGE",
614
+ "links": [
615
+ 20
616
+ ]
617
+ }
618
+ ],
619
+ "properties": {
620
+ "Node name for S&R": "DWD Decode"
621
+ }
622
+ },
623
+ {
624
+ "id": 13,
625
+ "type": "VAEDecodeAudio",
626
+ "pos": [
627
+ 1400,
628
+ 716
629
+ ],
630
+ "size": [
631
+ 164.2388671875,
632
+ 46
633
+ ],
634
+ "flags": {},
635
+ "order": 22,
636
+ "mode": 0,
637
+ "inputs": [
638
+ {
639
+ "localized_name": "samples",
640
+ "name": "samples",
641
+ "type": "LATENT",
642
+ "link": 18
643
+ },
644
+ {
645
+ "localized_name": "vae",
646
+ "name": "vae",
647
+ "type": "VAE",
648
+ "link": 19
649
+ }
650
+ ],
651
+ "outputs": [
652
+ {
653
+ "localized_name": "AUDIO",
654
+ "name": "AUDIO",
655
+ "type": "AUDIO",
656
+ "links": [
657
+ 21
658
+ ]
659
+ }
660
+ ],
661
+ "properties": {
662
+ "Node name for S&R": "VAEDecodeAudio"
663
+ }
664
+ },
665
+ {
666
+ "id": 17,
667
+ "type": "HyperFlowLoraBypass",
668
+ "pos": [
669
+ 30,
670
+ 182
671
+ ],
672
+ "size": [
673
+ 270,
674
+ 82
675
+ ],
676
+ "flags": {},
677
+ "order": 12,
678
+ "mode": 4,
679
+ "inputs": [
680
+ {
681
+ "localized_name": "model",
682
+ "name": "model",
683
+ "type": "MODEL",
684
+ "link": 23
685
+ },
686
+ {
687
+ "localized_name": "lora_name",
688
+ "name": "lora_name",
689
+ "type": "COMBO",
690
+ "widget": {
691
+ "name": "lora_name"
692
+ },
693
+ "link": null
694
+ },
695
+ {
696
+ "localized_name": "strength_model",
697
+ "name": "strength_model",
698
+ "type": "FLOAT",
699
+ "widget": {
700
+ "name": "strength_model"
701
+ },
702
+ "link": null
703
+ },
704
+ {
705
+ "localized_name": "dropped_blocks",
706
+ "name": "dropped_blocks",
707
+ "type": "STRING",
708
+ "widget": {
709
+ "name": "dropped_blocks"
710
+ },
711
+ "link": null
712
+ },
713
+ {
714
+ "localized_name": "source_blocks",
715
+ "name": "source_blocks",
716
+ "type": "INT",
717
+ "widget": {
718
+ "name": "source_blocks"
719
+ },
720
+ "link": null
721
+ }
722
+ ],
723
+ "outputs": [
724
+ {
725
+ "localized_name": "MODEL",
726
+ "name": "MODEL",
727
+ "type": "MODEL",
728
+ "links": [
729
+ 42
730
+ ]
731
+ }
732
+ ],
733
+ "title": "HyperFlow LoRA (optional)",
734
+ "properties": {
735
+ "Node name for S&R": "HyperFlowLoraBypass"
736
+ },
737
+ "widgets_values": [
738
+ "your_h3_lora.safetensors",
739
+ 1,
740
+ "auto",
741
+ 50
742
+ ]
743
+ },
744
+ {
745
+ "id": 19,
746
+ "type": "MiniMaxH3SigmaShift",
747
+ "pos": [
748
+ 970,
749
+ 30
750
+ ],
751
+ "size": [
752
+ 277.2857421875,
753
+ 82
754
+ ],
755
+ "flags": {},
756
+ "order": 18,
757
+ "mode": 0,
758
+ "inputs": [
759
+ {
760
+ "localized_name": "model",
761
+ "name": "model",
762
+ "type": "MODEL",
763
+ "link": 45
764
+ },
765
+ {
766
+ "localized_name": "shift_video",
767
+ "name": "shift_video",
768
+ "type": "FLOAT",
769
+ "widget": {
770
+ "name": "shift_video"
771
+ },
772
+ "link": null
773
+ },
774
+ {
775
+ "localized_name": "shift_audio",
776
+ "name": "shift_audio",
777
+ "type": "FLOAT",
778
+ "widget": {
779
+ "name": "shift_audio"
780
+ },
781
+ "link": null
782
+ }
783
+ ],
784
+ "outputs": [
785
+ {
786
+ "localized_name": "MODEL",
787
+ "name": "MODEL",
788
+ "type": "MODEL",
789
+ "links": [
790
+ 51
791
+ ]
792
+ }
793
+ ],
794
+ "properties": {
795
+ "Node name for S&R": "MiniMaxH3SigmaShift"
796
+ },
797
+ "widgets_values": [
798
+ 12,
799
+ 3
800
+ ]
801
+ },
802
+ {
803
+ "id": 21,
804
+ "type": "LoadImage",
805
+ "pos": [
806
+ 470,
807
+ 1048
808
+ ],
809
+ "size": [
810
+ 222.798828125,
811
+ 320
812
+ ],
813
+ "flags": {},
814
+ "order": 6,
815
+ "mode": 4,
816
+ "inputs": [
817
+ {
818
+ "localized_name": "image",
819
+ "name": "image",
820
+ "type": "COMBO",
821
+ "widget": {
822
+ "name": "image"
823
+ },
824
+ "link": null
825
+ },
826
+ {
827
+ "localized_name": "choose file to upload",
828
+ "name": "upload",
829
+ "type": "IMAGEUPLOAD",
830
+ "widget": {
831
+ "name": "upload"
832
+ },
833
+ "link": null
834
+ }
835
+ ],
836
+ "outputs": [
837
+ {
838
+ "localized_name": "IMAGE",
839
+ "name": "IMAGE",
840
+ "type": "IMAGE",
841
+ "links": [
842
+ 26
843
+ ]
844
+ },
845
+ {
846
+ "localized_name": "MASK",
847
+ "name": "MASK",
848
+ "type": "MASK",
849
+ "links": null
850
+ }
851
+ ],
852
+ "title": "First frame",
853
+ "properties": {
854
+ "Node name for S&R": "LoadImage"
855
+ },
856
+ "widgets_values": [
857
+ "example.png",
858
+ "image"
859
+ ]
860
+ },
861
+ {
862
+ "id": 22,
863
+ "type": "LoadImage",
864
+ "pos": [
865
+ 700,
866
+ 1048
867
+ ],
868
+ "size": [
869
+ 222.798828125,
870
+ 320
871
+ ],
872
+ "flags": {},
873
+ "order": 7,
874
+ "mode": 4,
875
+ "inputs": [
876
+ {
877
+ "localized_name": "image",
878
+ "name": "image",
879
+ "type": "COMBO",
880
+ "widget": {
881
+ "name": "image"
882
+ },
883
+ "link": null
884
+ },
885
+ {
886
+ "localized_name": "choose file to upload",
887
+ "name": "upload",
888
+ "type": "IMAGEUPLOAD",
889
+ "widget": {
890
+ "name": "upload"
891
+ },
892
+ "link": null
893
+ }
894
+ ],
895
+ "outputs": [
896
+ {
897
+ "localized_name": "IMAGE",
898
+ "name": "IMAGE",
899
+ "type": "IMAGE",
900
+ "links": [
901
+ 29
902
+ ]
903
+ },
904
+ {
905
+ "localized_name": "MASK",
906
+ "name": "MASK",
907
+ "type": "MASK",
908
+ "links": null
909
+ }
910
+ ],
911
+ "title": "Last frame",
912
+ "properties": {
913
+ "Node name for S&R": "LoadImage"
914
+ },
915
+ "widgets_values": [
916
+ "example.png",
917
+ "image"
918
+ ]
919
+ },
920
+ {
921
+ "id": 23,
922
+ "type": "ImageScale",
923
+ "pos": [
924
+ 470,
925
+ 1438
926
+ ],
927
+ "size": [
928
+ 270,
929
+ 130
930
+ ],
931
+ "flags": {},
932
+ "order": 13,
933
+ "mode": 4,
934
+ "inputs": [
935
+ {
936
+ "localized_name": "image",
937
+ "name": "image",
938
+ "type": "IMAGE",
939
+ "link": 26
940
+ },
941
+ {
942
+ "localized_name": "upscale_method",
943
+ "name": "upscale_method",
944
+ "type": "COMBO",
945
+ "widget": {
946
+ "name": "upscale_method"
947
+ },
948
+ "link": null
949
+ },
950
+ {
951
+ "localized_name": "width",
952
+ "name": "width",
953
+ "type": "INT",
954
+ "widget": {
955
+ "name": "width"
956
+ },
957
+ "link": 27
958
+ },
959
+ {
960
+ "localized_name": "height",
961
+ "name": "height",
962
+ "type": "INT",
963
+ "widget": {
964
+ "name": "height"
965
+ },
966
+ "link": 28
967
+ },
968
+ {
969
+ "localized_name": "crop",
970
+ "name": "crop",
971
+ "type": "COMBO",
972
+ "widget": {
973
+ "name": "crop"
974
+ },
975
+ "link": null
976
+ }
977
+ ],
978
+ "outputs": [
979
+ {
980
+ "localized_name": "IMAGE",
981
+ "name": "IMAGE",
982
+ "type": "IMAGE",
983
+ "links": [
984
+ 7
985
+ ]
986
+ }
987
+ ],
988
+ "title": "Resize first frame",
989
+ "properties": {
990
+ "Node name for S&R": "ImageScale"
991
+ },
992
+ "widgets_values": [
993
+ "lanczos",
994
+ 512,
995
+ 512,
996
+ "center"
997
+ ]
998
+ },
999
+ {
1000
+ "id": 24,
1001
+ "type": "ImageScale",
1002
+ "pos": [
1003
+ 700,
1004
+ 1438
1005
+ ],
1006
+ "size": [
1007
+ 270,
1008
+ 130
1009
+ ],
1010
+ "flags": {},
1011
+ "order": 14,
1012
+ "mode": 4,
1013
+ "inputs": [
1014
+ {
1015
+ "localized_name": "image",
1016
+ "name": "image",
1017
+ "type": "IMAGE",
1018
+ "link": 29
1019
+ },
1020
+ {
1021
+ "localized_name": "upscale_method",
1022
+ "name": "upscale_method",
1023
+ "type": "COMBO",
1024
+ "widget": {
1025
+ "name": "upscale_method"
1026
+ },
1027
+ "link": null
1028
+ },
1029
+ {
1030
+ "localized_name": "width",
1031
+ "name": "width",
1032
+ "type": "INT",
1033
+ "widget": {
1034
+ "name": "width"
1035
+ },
1036
+ "link": 30
1037
+ },
1038
+ {
1039
+ "localized_name": "height",
1040
+ "name": "height",
1041
+ "type": "INT",
1042
+ "widget": {
1043
+ "name": "height"
1044
+ },
1045
+ "link": 31
1046
+ },
1047
+ {
1048
+ "localized_name": "crop",
1049
+ "name": "crop",
1050
+ "type": "COMBO",
1051
+ "widget": {
1052
+ "name": "crop"
1053
+ },
1054
+ "link": null
1055
+ }
1056
+ ],
1057
+ "outputs": [
1058
+ {
1059
+ "localized_name": "IMAGE",
1060
+ "name": "IMAGE",
1061
+ "type": "IMAGE",
1062
+ "links": [
1063
+ 8
1064
+ ]
1065
+ }
1066
+ ],
1067
+ "title": "Resize last frame",
1068
+ "properties": {
1069
+ "Node name for S&R": "ImageScale"
1070
+ },
1071
+ "widgets_values": [
1072
+ "lanczos",
1073
+ 512,
1074
+ 512,
1075
+ "center"
1076
+ ]
1077
+ },
1078
+ {
1079
+ "id": 30,
1080
+ "type": "ResolutionSelector",
1081
+ "pos": [
1082
+ 470,
1083
+ 30
1084
+ ],
1085
+ "size": [
1086
+ 270,
1087
+ 150
1088
+ ],
1089
+ "flags": {},
1090
+ "order": 8,
1091
+ "mode": 0,
1092
+ "inputs": [
1093
+ {
1094
+ "localized_name": "aspect_ratio",
1095
+ "name": "aspect_ratio",
1096
+ "type": "COMBO",
1097
+ "widget": {
1098
+ "name": "aspect_ratio"
1099
+ },
1100
+ "link": null
1101
+ },
1102
+ {
1103
+ "localized_name": "megapixels",
1104
+ "name": "megapixels",
1105
+ "type": "FLOAT",
1106
+ "widget": {
1107
+ "name": "megapixels"
1108
+ },
1109
+ "link": null
1110
+ },
1111
+ {
1112
+ "localized_name": "multiple",
1113
+ "name": "multiple",
1114
+ "type": "INT",
1115
+ "widget": {
1116
+ "name": "multiple"
1117
+ },
1118
+ "link": null
1119
+ },
1120
+ {
1121
+ "localized_name": "preview",
1122
+ "name": "preview",
1123
+ "shape": 7,
1124
+ "type": "RESOLUTION_PREVIEW",
1125
+ "widget": {
1126
+ "name": "preview"
1127
+ },
1128
+ "link": null
1129
+ }
1130
+ ],
1131
+ "outputs": [
1132
+ {
1133
+ "localized_name": "width",
1134
+ "name": "width",
1135
+ "type": "INT",
1136
+ "links": [
1137
+ 4,
1138
+ 27,
1139
+ 30
1140
+ ]
1141
+ },
1142
+ {
1143
+ "localized_name": "height",
1144
+ "name": "height",
1145
+ "type": "INT",
1146
+ "links": [
1147
+ 5,
1148
+ 28,
1149
+ 31
1150
+ ]
1151
+ }
1152
+ ],
1153
+ "properties": {
1154
+ "Node name for S&R": "ResolutionSelector"
1155
+ },
1156
+ "widgets_values": [
1157
+ "16:9 (Widescreen)",
1158
+ 0.4,
1159
+ 32
1160
+ ]
1161
+ },
1162
+ {
1163
+ "id": 33,
1164
+ "type": "MarkdownNote",
1165
+ "pos": [
1166
+ -620,
1167
+ 0
1168
+ ],
1169
+ "size": [
1170
+ 600,
1171
+ 1298
1172
+ ],
1173
+ "flags": {},
1174
+ "order": 9,
1175
+ "mode": 0,
1176
+ "inputs": [],
1177
+ "outputs": [],
1178
+ "title": "Model links",
1179
+ "properties": {},
1180
+ "widgets_values": [
1181
+ "## pi-H3 on HyperFlow H3 Flash (NVFP4), max speed 480p\n\npi-H3's DWD adapters (2 or 4 steps, no VAE decode) running on my NVFP4 build of HyperFlow H3 Flash, the pruned 47-block model, instead of the stock H3 INT8 base.\n\n- **HyperFlow Loader** (official ComfyUI-HyperFlow-Flash pack) loads [HyperFlow-H3-Flash-fl2va-NVFP4-ComfyUI.safetensors](https://huggingface.co/BennyDaBall/HyperFlow-H3-Flash-NVFP4-ComfyUI) from `models/diffusion_models`.\n- **pi-H3 Adapter for HyperFlow** ([HyperFlow INT8 Nodes](https://github.com/BennyDaBall930/comfyui_hyperflow_int8_nodes)) takes the place of Load LakonLab Adapter. It renumbers the adapter's blocks past the three blocks HyperFlow drops, applies the LoRA on the low-rank layers too, and installs pi-H3's time modulation, final layer, DWD blocks and DWD head. It reads the stock time table from `minimax_h3_fl2va_pruned_int8_convrot.safetensors` (a few MB; the stock weights are not loaded).\n - `time_path`: keep **pi-H3 (stock H3 time curve)**. The HyperFlow-modulation option gave a loud noise bed and clipping on a quiet dialogue scene in my tests.\n - `lora_mode`: keep **bypass**. merge is about 0.7s faster but re-quantizes the dense NVFP4 layers with fresh scales.\n- The optional LoRA node is **HyperFlow LoRA (bypass, block remap)** from the same pack; a stock LoRA loader puts most of an H3 LoRA on the wrong blocks of a HyperFlow model.\n- Also needed: [ComfyUI-piFlow](https://github.com/Lakonik/ComfyUI-piFlow) 1.4.2 or newer (the DWD head and DWD Decode) and [Spark-H3](https://github.com/zechengtang/Spark-H3) 0.2.0 (Spark-Attn), as in the author's pi-H3 workflows below.\n- **Resolution** 864x480 (Resolution Selector 16:9 at 0.40 MP; set 0.97 for 1344x768). **Save** with VideoHelperSuite Video Combine on NVENC (`video/nvenc_h264-mp4`); the clip with sound is the `-audio.mp4` file.\n\nRTX 5090, 5s with audio, warm, these defaults: 2 steps at 864x480 about 4.6s per clip (stock pi-H3 about 4.8s), and about 5.5s with a new prompt (stock 8 to 14s): the NVFP4 model and the text encoder fit in VRAM together, so a new prompt never pushes the model out.\n\n---\n\n## pi-H3 FL2VA\n\nThis is an FL2VA (first-last-frame to video and audio) workflow. It generates a video with synchronized audio from a text prompt, optionally conditioned on a first frame, a last frame, or both.\n\n## Model links\n\n**Base model**\n\n- Download [minimax_h3_fl2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors) and save it to\n<br>`models/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors`\n\n**pi-H3 adapters**\n\n- Download [pi_h3_2step_dwd_adapter_int8_convrot.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_2step_dwd_adapter_int8_convrot.safetensors) and save it to \n<br>`models/loras/pi_h3_2step_dwd_adapter_int8_convrot.safetensors`\n\n Alternative full-precision version: [pi_h3_2step_dwd_adapter/diffusion_pytorch_model.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_2step_dwd_adapter/diffusion_pytorch_model.safetensors), saved to `models/loras/pi_h3_2step_dwd_adapter.safetensors`\n\n- Download [pi_h3_4step_dwd_adapter_int8_convrot.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_4step_dwd_adapter_int8_convrot.safetensors) and save it to \n<br>`models/loras/pi_h3_4step_dwd_adapter_int8_convrot.safetensors`\n\n Alternative full-precision version: [pi_h3_4step_dwd_adapter/diffusion_pytorch_model.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_4step_dwd_adapter/diffusion_pytorch_model.safetensors), saved to `models/loras/pi_h3_4step_dwd_adapter.safetensors`\n\n**Text encoder**\n\n- Download [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) and save it to\n<br>`models/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors`\n\n**VAE**\n\n- Download [minimax_h3_video_vae_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors) and save it to\n<br>`models/vae/minimax_h3_video_vae_int8_convrot.safetensors`\n\n The video VAE only encodes the first and last frames, and decodes the video in the workflow without DWD.\n\n- Download [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors) and save it to\n<br>`models/vae/minimax_h3_audio_vae_fp32.safetensors`\n\n**Model Storage Location**\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── minimax_h3_fl2va_pruned_int8_convrot.safetensors\n│ ├── 📂 loras/\n│ │ ├── pi_h3_2step_dwd_adapter_int8_convrot.safetensors\n│ │ └── pi_h3_4step_dwd_adapter_int8_convrot.safetensors\n│ ├── 📂 vae/\n│ │ ├── minimax_h3_video_vae_int8_convrot.safetensors\n│ │ └── minimax_h3_audio_vae_fp32.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors\n```\n\n## Sampler steps\n\n`steps` on `pi-H3 Adapter (2 or 4 steps)` selects the adapter and its recommended `max_raw_t` (0.93 for 2 steps, 0.96 for 4 steps). `final_step_size_scale` is 0.6. `ModelSamplingMiniMaxH3` sets the video and audio shifts (12 and 3 by default).\n\n## Sparse attention\n\n`MiniMax H3 Spark Attention (SM120)` (Spark-Attn, for RTX 50 series and RTX PRO Blackwell GPUs) speeds up sampling. It comes from [Spark-H3](https://github.com/zechengtang/Spark-H3): see the pi-H3 docs of ComfyUI-piFlow for installation. Use the workflow for your GPU, or bypass the node to use dense attention."
1182
+ ],
1183
+ "color": "#432",
1184
+ "bgcolor": "#653"
1185
+ },
1186
+ {
1187
+ "id": 39,
1188
+ "type": "356a2ff0-98d5-4fa9-9bbd-452cccf6966f",
1189
+ "pos": [
1190
+ 30,
1191
+ 334
1192
+ ],
1193
+ "size": [
1194
+ 270,
1195
+ 154
1196
+ ],
1197
+ "flags": {},
1198
+ "order": 15,
1199
+ "mode": 0,
1200
+ "inputs": [
1201
+ {
1202
+ "localized_name": "model",
1203
+ "name": "model",
1204
+ "type": "MODEL",
1205
+ "link": 42
1206
+ },
1207
+ {
1208
+ "name": "steps",
1209
+ "type": "INT",
1210
+ "widget": {
1211
+ "name": "steps"
1212
+ },
1213
+ "link": null
1214
+ },
1215
+ {
1216
+ "name": "2-step adapter",
1217
+ "type": "COMBO",
1218
+ "widget": {
1219
+ "name": "2-step adapter"
1220
+ },
1221
+ "link": null
1222
+ },
1223
+ {
1224
+ "name": "4-step adapter",
1225
+ "type": "COMBO",
1226
+ "widget": {
1227
+ "name": "4-step adapter"
1228
+ },
1229
+ "link": null
1230
+ }
1231
+ ],
1232
+ "outputs": [
1233
+ {
1234
+ "label": "steps",
1235
+ "localized_name": "INT",
1236
+ "name": "INT",
1237
+ "type": "INT",
1238
+ "links": [
1239
+ 43,
1240
+ 54
1241
+ ]
1242
+ },
1243
+ {
1244
+ "label": "max_raw_t",
1245
+ "localized_name": "FLOAT",
1246
+ "name": "FLOAT",
1247
+ "type": "FLOAT",
1248
+ "links": [
1249
+ 44
1250
+ ]
1251
+ },
1252
+ {
1253
+ "label": "model",
1254
+ "localized_name": "output",
1255
+ "name": "output",
1256
+ "type": "MODEL",
1257
+ "links": [
1258
+ 45
1259
+ ]
1260
+ }
1261
+ ],
1262
+ "title": "pi-H3 Adapter for HyperFlow (2 or 4 steps)",
1263
+ "properties": {
1264
+ "previewExposures": []
1265
+ },
1266
+ "widgets_values": [
1267
+ 2,
1268
+ "pi_h3_2step_dwd_adapter_int8_convrot.safetensors",
1269
+ "pi_h3_4step_dwd_adapter_int8_convrot.safetensors"
1270
+ ]
1271
+ },
1272
+ {
1273
+ "id": 40,
1274
+ "type": "a74d60af-3935-41b1-a4bc-a21f1fa87ceb",
1275
+ "pos": [
1276
+ 470,
1277
+ 250
1278
+ ],
1279
+ "size": [
1280
+ 270,
1281
+ 58
1282
+ ],
1283
+ "flags": {},
1284
+ "order": 10,
1285
+ "mode": 0,
1286
+ "inputs": [
1287
+ {
1288
+ "name": "seconds",
1289
+ "type": "FLOAT",
1290
+ "widget": {
1291
+ "name": "seconds"
1292
+ },
1293
+ "link": null
1294
+ }
1295
+ ],
1296
+ "outputs": [
1297
+ {
1298
+ "label": "length",
1299
+ "localized_name": "INT",
1300
+ "name": "INT",
1301
+ "type": "INT",
1302
+ "links": [
1303
+ 49
1304
+ ]
1305
+ }
1306
+ ],
1307
+ "title": "Duration",
1308
+ "properties": {
1309
+ "previewExposures": []
1310
+ },
1311
+ "widgets_values": [
1312
+ 5
1313
+ ]
1314
+ },
1315
+ {
1316
+ "id": 20,
1317
+ "type": "MiniMaxH3SparkAttentionSM120",
1318
+ "pos": [
1319
+ 970,
1320
+ 182
1321
+ ],
1322
+ "size": [
1323
+ 320,
1324
+ 442
1325
+ ],
1326
+ "flags": {},
1327
+ "order": 11,
1328
+ "mode": 0,
1329
+ "inputs": [
1330
+ {
1331
+ "localized_name": "model",
1332
+ "name": "model",
1333
+ "type": "MODEL",
1334
+ "link": 51
1335
+ },
1336
+ {
1337
+ "localized_name": "mode",
1338
+ "name": "mode",
1339
+ "type": "COMBO",
1340
+ "widget": {
1341
+ "name": "mode"
1342
+ },
1343
+ "link": null
1344
+ },
1345
+ {
1346
+ "localized_name": "steps",
1347
+ "name": "steps",
1348
+ "type": "INT",
1349
+ "widget": {
1350
+ "name": "steps"
1351
+ },
1352
+ "link": 54
1353
+ },
1354
+ {
1355
+ "localized_name": "warmup_mode",
1356
+ "name": "warmup_mode",
1357
+ "type": "COMBO",
1358
+ "widget": {
1359
+ "name": "warmup_mode"
1360
+ },
1361
+ "link": null
1362
+ },
1363
+ {
1364
+ "localized_name": "warmup_ratio",
1365
+ "name": "warmup_ratio",
1366
+ "type": "FLOAT",
1367
+ "widget": {
1368
+ "name": "warmup_ratio"
1369
+ },
1370
+ "link": null
1371
+ },
1372
+ {
1373
+ "localized_name": "warmup_steps",
1374
+ "name": "warmup_steps",
1375
+ "type": "INT",
1376
+ "widget": {
1377
+ "name": "warmup_steps"
1378
+ },
1379
+ "link": null
1380
+ },
1381
+ {
1382
+ "localized_name": "topk_mode",
1383
+ "name": "topk_mode",
1384
+ "type": "COMBO",
1385
+ "widget": {
1386
+ "name": "topk_mode"
1387
+ },
1388
+ "link": null
1389
+ },
1390
+ {
1391
+ "localized_name": "topk_ratio",
1392
+ "name": "topk_ratio",
1393
+ "type": "FLOAT",
1394
+ "widget": {
1395
+ "name": "topk_ratio"
1396
+ },
1397
+ "link": null
1398
+ },
1399
+ {
1400
+ "localized_name": "topk_blocks",
1401
+ "name": "topk_blocks",
1402
+ "type": "INT",
1403
+ "widget": {
1404
+ "name": "topk_blocks"
1405
+ },
1406
+ "link": null
1407
+ },
1408
+ {
1409
+ "localized_name": "dense_layers",
1410
+ "name": "dense_layers",
1411
+ "type": "INT",
1412
+ "widget": {
1413
+ "name": "dense_layers"
1414
+ },
1415
+ "link": null
1416
+ },
1417
+ {
1418
+ "localized_name": "min_tokens",
1419
+ "name": "min_tokens",
1420
+ "type": "INT",
1421
+ "widget": {
1422
+ "name": "min_tokens"
1423
+ },
1424
+ "link": null
1425
+ },
1426
+ {
1427
+ "localized_name": "strict",
1428
+ "name": "strict",
1429
+ "type": "BOOLEAN",
1430
+ "widget": {
1431
+ "name": "strict"
1432
+ },
1433
+ "link": null
1434
+ },
1435
+ {
1436
+ "localized_name": "dense_backend",
1437
+ "name": "dense_backend",
1438
+ "shape": 7,
1439
+ "type": "COMBO",
1440
+ "widget": {
1441
+ "name": "dense_backend"
1442
+ },
1443
+ "link": null
1444
+ },
1445
+ {
1446
+ "localized_name": "tail_granularity",
1447
+ "name": "tail_granularity",
1448
+ "shape": 7,
1449
+ "type": "COMBO",
1450
+ "widget": {
1451
+ "name": "tail_granularity"
1452
+ },
1453
+ "link": null
1454
+ },
1455
+ {
1456
+ "localized_name": "reblock_layout",
1457
+ "name": "reblock_layout",
1458
+ "shape": 7,
1459
+ "type": "COMBO",
1460
+ "widget": {
1461
+ "name": "reblock_layout"
1462
+ },
1463
+ "link": null
1464
+ },
1465
+ {
1466
+ "localized_name": "sparse_scope",
1467
+ "name": "sparse_scope",
1468
+ "shape": 7,
1469
+ "type": "COMBO",
1470
+ "widget": {
1471
+ "name": "sparse_scope"
1472
+ },
1473
+ "link": null
1474
+ },
1475
+ {
1476
+ "localized_name": "producer_chunk",
1477
+ "name": "producer_chunk",
1478
+ "shape": 7,
1479
+ "type": "INT",
1480
+ "widget": {
1481
+ "name": "producer_chunk"
1482
+ },
1483
+ "link": null
1484
+ },
1485
+ {
1486
+ "localized_name": "chunk_path",
1487
+ "name": "chunk_path",
1488
+ "shape": 7,
1489
+ "type": "COMBO",
1490
+ "widget": {
1491
+ "name": "chunk_path"
1492
+ },
1493
+ "link": null
1494
+ }
1495
+ ],
1496
+ "outputs": [
1497
+ {
1498
+ "localized_name": "MODEL",
1499
+ "name": "MODEL",
1500
+ "type": "MODEL",
1501
+ "links": [
1502
+ 52,
1503
+ 53
1504
+ ]
1505
+ }
1506
+ ],
1507
+ "properties": {
1508
+ "Node name for S&R": "MiniMaxH3SparkAttentionSM120"
1509
+ },
1510
+ "widgets_values": [
1511
+ "speed",
1512
+ 20,
1513
+ "warmup_ratio",
1514
+ 0,
1515
+ 4,
1516
+ "topk_ratio",
1517
+ 0.2,
1518
+ 228,
1519
+ 0,
1520
+ 12288,
1521
+ true,
1522
+ "inherit",
1523
+ "query",
1524
+ "q_reuse_k",
1525
+ "target-video",
1526
+ 16384,
1527
+ "none"
1528
+ ]
1529
+ },
1530
+ {
1531
+ "id": 41,
1532
+ "type": "VHS_VideoCombine",
1533
+ "pos": [
1534
+ 1400,
1535
+ 832
1536
+ ],
1537
+ "size": [
1538
+ 420,
1539
+ 560
1540
+ ],
1541
+ "flags": {},
1542
+ "order": 24,
1543
+ "mode": 0,
1544
+ "inputs": [
1545
+ {
1546
+ "name": "images",
1547
+ "type": "IMAGE",
1548
+ "link": 20
1549
+ },
1550
+ {
1551
+ "name": "audio",
1552
+ "shape": 7,
1553
+ "type": "AUDIO",
1554
+ "link": 21
1555
+ },
1556
+ {
1557
+ "name": "meta_batch",
1558
+ "shape": 7,
1559
+ "type": "VHS_BatchManager",
1560
+ "link": null
1561
+ },
1562
+ {
1563
+ "name": "vae",
1564
+ "shape": 7,
1565
+ "type": "VAE",
1566
+ "link": null
1567
+ }
1568
+ ],
1569
+ "outputs": [
1570
+ {
1571
+ "name": "Filenames",
1572
+ "type": "VHS_FILENAMES",
1573
+ "links": null
1574
+ }
1575
+ ],
1576
+ "title": "Save video (NVENC)",
1577
+ "properties": {
1578
+ "cnr_id": "comfyui-videohelpersuite",
1579
+ "Node name for S&R": "VHS_VideoCombine"
1580
+ },
1581
+ "widgets_values": {
1582
+ "frame_rate": 24,
1583
+ "loop_count": 0,
1584
+ "filename_prefix": "video/pi-H3-HyperFlow-480p-max",
1585
+ "format": "video/nvenc_h264-mp4",
1586
+ "pix_fmt": "yuv420p",
1587
+ "bitrate": 10,
1588
+ "megabit": true,
1589
+ "save_metadata": true,
1590
+ "pingpong": false,
1591
+ "save_output": true,
1592
+ "videopreview": {
1593
+ "hidden": false,
1594
+ "paused": false,
1595
+ "params": {}
1596
+ }
1597
+ }
1598
+ }
1599
+ ],
1600
+ "links": [
1601
+ [
1602
+ 2,
1603
+ 3,
1604
+ 0,
1605
+ 6,
1606
+ 0,
1607
+ "CLIP"
1608
+ ],
1609
+ [
1610
+ 3,
1611
+ 4,
1612
+ 0,
1613
+ 6,
1614
+ 1,
1615
+ "VAE"
1616
+ ],
1617
+ [
1618
+ 4,
1619
+ 30,
1620
+ 0,
1621
+ 6,
1622
+ 5,
1623
+ "INT"
1624
+ ],
1625
+ [
1626
+ 5,
1627
+ 30,
1628
+ 1,
1629
+ 6,
1630
+ 6,
1631
+ "INT"
1632
+ ],
1633
+ [
1634
+ 7,
1635
+ 23,
1636
+ 0,
1637
+ 6,
1638
+ 2,
1639
+ "IMAGE"
1640
+ ],
1641
+ [
1642
+ 8,
1643
+ 24,
1644
+ 0,
1645
+ 6,
1646
+ 3,
1647
+ "IMAGE"
1648
+ ],
1649
+ [
1650
+ 11,
1651
+ 6,
1652
+ 0,
1653
+ 9,
1654
+ 1,
1655
+ "CONDITIONING"
1656
+ ],
1657
+ [
1658
+ 12,
1659
+ 10,
1660
+ 0,
1661
+ 11,
1662
+ 0,
1663
+ "NOISE"
1664
+ ],
1665
+ [
1666
+ 13,
1667
+ 9,
1668
+ 0,
1669
+ 11,
1670
+ 1,
1671
+ "GUIDER"
1672
+ ],
1673
+ [
1674
+ 14,
1675
+ 7,
1676
+ 0,
1677
+ 11,
1678
+ 2,
1679
+ "SAMPLER"
1680
+ ],
1681
+ [
1682
+ 15,
1683
+ 8,
1684
+ 0,
1685
+ 11,
1686
+ 3,
1687
+ "SIGMAS"
1688
+ ],
1689
+ [
1690
+ 16,
1691
+ 6,
1692
+ 1,
1693
+ 11,
1694
+ 4,
1695
+ "LATENT"
1696
+ ],
1697
+ [
1698
+ 17,
1699
+ 11,
1700
+ 0,
1701
+ 12,
1702
+ 0,
1703
+ "LATENT"
1704
+ ],
1705
+ [
1706
+ 18,
1707
+ 11,
1708
+ 0,
1709
+ 13,
1710
+ 0,
1711
+ "LATENT"
1712
+ ],
1713
+ [
1714
+ 19,
1715
+ 5,
1716
+ 0,
1717
+ 13,
1718
+ 1,
1719
+ "VAE"
1720
+ ],
1721
+ [
1722
+ 20,
1723
+ 12,
1724
+ 0,
1725
+ 41,
1726
+ 0,
1727
+ "IMAGE"
1728
+ ],
1729
+ [
1730
+ 21,
1731
+ 13,
1732
+ 0,
1733
+ 41,
1734
+ 1,
1735
+ "AUDIO"
1736
+ ],
1737
+ [
1738
+ 23,
1739
+ 1,
1740
+ 0,
1741
+ 17,
1742
+ 0,
1743
+ "MODEL"
1744
+ ],
1745
+ [
1746
+ 26,
1747
+ 21,
1748
+ 0,
1749
+ 23,
1750
+ 0,
1751
+ "IMAGE"
1752
+ ],
1753
+ [
1754
+ 27,
1755
+ 30,
1756
+ 0,
1757
+ 23,
1758
+ 2,
1759
+ "INT"
1760
+ ],
1761
+ [
1762
+ 28,
1763
+ 30,
1764
+ 1,
1765
+ 23,
1766
+ 3,
1767
+ "INT"
1768
+ ],
1769
+ [
1770
+ 29,
1771
+ 22,
1772
+ 0,
1773
+ 24,
1774
+ 0,
1775
+ "IMAGE"
1776
+ ],
1777
+ [
1778
+ 30,
1779
+ 30,
1780
+ 0,
1781
+ 24,
1782
+ 2,
1783
+ "INT"
1784
+ ],
1785
+ [
1786
+ 31,
1787
+ 30,
1788
+ 1,
1789
+ 24,
1790
+ 3,
1791
+ "INT"
1792
+ ],
1793
+ [
1794
+ 42,
1795
+ 17,
1796
+ 0,
1797
+ 39,
1798
+ 0,
1799
+ "MODEL"
1800
+ ],
1801
+ [
1802
+ 43,
1803
+ 39,
1804
+ 0,
1805
+ 8,
1806
+ 1,
1807
+ "INT"
1808
+ ],
1809
+ [
1810
+ 44,
1811
+ 39,
1812
+ 1,
1813
+ 8,
1814
+ 3,
1815
+ "FLOAT"
1816
+ ],
1817
+ [
1818
+ 45,
1819
+ 39,
1820
+ 2,
1821
+ 19,
1822
+ 0,
1823
+ "MODEL"
1824
+ ],
1825
+ [
1826
+ 49,
1827
+ 40,
1828
+ 0,
1829
+ 6,
1830
+ 7,
1831
+ "INT"
1832
+ ],
1833
+ [
1834
+ 51,
1835
+ 19,
1836
+ 0,
1837
+ 20,
1838
+ 0,
1839
+ "MODEL"
1840
+ ],
1841
+ [
1842
+ 52,
1843
+ 20,
1844
+ 0,
1845
+ 8,
1846
+ 0,
1847
+ "MODEL"
1848
+ ],
1849
+ [
1850
+ 53,
1851
+ 20,
1852
+ 0,
1853
+ 9,
1854
+ 0,
1855
+ "MODEL"
1856
+ ],
1857
+ [
1858
+ 54,
1859
+ 39,
1860
+ 0,
1861
+ 20,
1862
+ 2,
1863
+ "INT"
1864
+ ]
1865
+ ],
1866
+ "groups": [
1867
+ {
1868
+ "id": 1,
1869
+ "title": "Step1 - Load models",
1870
+ "bounding": [
1871
+ 10,
1872
+ -50,
1873
+ 310,
1874
+ 1040
1875
+ ],
1876
+ "color": "#3f789e",
1877
+ "flags": {}
1878
+ },
1879
+ {
1880
+ "id": 2,
1881
+ "title": "Step2 - Video size and duration",
1882
+ "bounding": [
1883
+ 450,
1884
+ -50,
1885
+ 440,
1886
+ 418
1887
+ ],
1888
+ "color": "#3f789e",
1889
+ "flags": {}
1890
+ },
1891
+ {
1892
+ "id": 3,
1893
+ "title": "Step3 - Prompt",
1894
+ "bounding": [
1895
+ 450,
1896
+ 368,
1897
+ 460,
1898
+ 560
1899
+ ],
1900
+ "color": "#3f789e",
1901
+ "flags": {}
1902
+ },
1903
+ {
1904
+ "id": 4,
1905
+ "title": "Optional - First and last frames",
1906
+ "bounding": [
1907
+ 450,
1908
+ 968,
1909
+ 540,
1910
+ 620
1911
+ ],
1912
+ "color": "#3f789e",
1913
+ "flags": {}
1914
+ },
1915
+ {
1916
+ "id": 5,
1917
+ "title": "Step4 - Sampling",
1918
+ "bounding": [
1919
+ 950,
1920
+ -50,
1921
+ 330,
1922
+ 1290
1923
+ ],
1924
+ "color": "#3f789e",
1925
+ "flags": {}
1926
+ }
1927
+ ],
1928
+ "definitions": {
1929
+ "subgraphs": [
1930
+ {
1931
+ "id": "356a2ff0-98d5-4fa9-9bbd-452cccf6966f",
1932
+ "version": 1,
1933
+ "state": {
1934
+ "lastGroupId": 5,
1935
+ "lastNodeId": 40,
1936
+ "lastLinkId": 54,
1937
+ "lastRerouteId": 0
1938
+ },
1939
+ "revision": 0,
1940
+ "config": {},
1941
+ "name": "pi-H3 Adapter for HyperFlow",
1942
+ "inputNode": {
1943
+ "id": -10,
1944
+ "bounding": [
1945
+ -158,
1946
+ 324,
1947
+ 128,
1948
+ 68
1949
+ ]
1950
+ },
1951
+ "outputNode": {
1952
+ "id": -20,
1953
+ "bounding": [
1954
+ 1300,
1955
+ 304,
1956
+ 128,
1957
+ 108
1958
+ ]
1959
+ },
1960
+ "inputs": [
1961
+ {
1962
+ "id": "d52733e2-7307-4848-9bc1-edd76cc707b8",
1963
+ "name": "model",
1964
+ "type": "MODEL",
1965
+ "linkIds": [
1966
+ 1,
1967
+ 33
1968
+ ],
1969
+ "localized_name": "model",
1970
+ "pos": [
1971
+ 51,
1972
+ 24
1973
+ ]
1974
+ },
1975
+ {
1976
+ "id": "81c97db4-92f6-427a-9bb5-db34e3a442bb",
1977
+ "name": "steps",
1978
+ "type": "INT",
1979
+ "linkIds": [
1980
+ 46
1981
+ ],
1982
+ "pos": [
1983
+ 0,
1984
+ 0
1985
+ ]
1986
+ },
1987
+ {
1988
+ "id": "58ecdcd5-06af-4ca2-912c-2c60ae266bcf",
1989
+ "name": "2-step adapter",
1990
+ "type": "COMBO",
1991
+ "linkIds": [
1992
+ 47
1993
+ ],
1994
+ "pos": [
1995
+ 0,
1996
+ 0
1997
+ ]
1998
+ },
1999
+ {
2000
+ "id": "50f10d64-a0e9-4d82-ad1d-0a6fba648624",
2001
+ "name": "4-step adapter",
2002
+ "type": "COMBO",
2003
+ "linkIds": [
2004
+ 48
2005
+ ],
2006
+ "pos": [
2007
+ 0,
2008
+ 0
2009
+ ]
2010
+ }
2011
+ ],
2012
+ "outputs": [
2013
+ {
2014
+ "id": "2e5486c0-35fc-4606-936b-533f2a6c0a78",
2015
+ "name": "INT",
2016
+ "type": "INT",
2017
+ "linkIds": [
2018
+ 40
2019
+ ],
2020
+ "localized_name": "INT",
2021
+ "label": "steps",
2022
+ "pos": [
2023
+ 24,
2024
+ 24
2025
+ ]
2026
+ },
2027
+ {
2028
+ "id": "08b25231-24df-4cd0-a94a-663209cea5c6",
2029
+ "name": "FLOAT",
2030
+ "type": "FLOAT",
2031
+ "linkIds": [
2032
+ 41
2033
+ ],
2034
+ "localized_name": "FLOAT",
2035
+ "label": "max_raw_t",
2036
+ "pos": [
2037
+ 24,
2038
+ 44
2039
+ ]
2040
+ },
2041
+ {
2042
+ "id": "6635e991-4bb5-43d0-89b5-d56f02dfeda4",
2043
+ "name": "output",
2044
+ "type": "MODEL",
2045
+ "linkIds": [
2046
+ 36
2047
+ ],
2048
+ "localized_name": "output",
2049
+ "label": "model",
2050
+ "pos": [
2051
+ 24,
2052
+ 64
2053
+ ]
2054
+ }
2055
+ ],
2056
+ "widgets": [],
2057
+ "nodes": [
2058
+ {
2059
+ "id": 36,
2060
+ "type": "PrimitiveInt",
2061
+ "pos": [
2062
+ 970,
2063
+ 30
2064
+ ],
2065
+ "size": [
2066
+ 270,
2067
+ 82
2068
+ ],
2069
+ "flags": {},
2070
+ "order": 3,
2071
+ "mode": 0,
2072
+ "inputs": [
2073
+ {
2074
+ "localized_name": "value",
2075
+ "name": "value",
2076
+ "type": "INT",
2077
+ "widget": {
2078
+ "name": "value"
2079
+ },
2080
+ "link": 46
2081
+ }
2082
+ ],
2083
+ "outputs": [
2084
+ {
2085
+ "localized_name": "INT",
2086
+ "name": "INT",
2087
+ "type": "INT",
2088
+ "links": [
2089
+ 37,
2090
+ 38,
2091
+ 40
2092
+ ]
2093
+ }
2094
+ ],
2095
+ "title": "Steps (2 or 4)",
2096
+ "properties": {
2097
+ "Node name for S&R": "PrimitiveInt"
2098
+ },
2099
+ "widgets_values": [
2100
+ 2,
2101
+ "fixed"
2102
+ ]
2103
+ },
2104
+ {
2105
+ "id": 37,
2106
+ "type": "ComfyMathExpression",
2107
+ "pos": [
2108
+ 970,
2109
+ 182
2110
+ ],
2111
+ "size": [
2112
+ 270,
2113
+ 150
2114
+ ],
2115
+ "flags": {},
2116
+ "order": 4,
2117
+ "mode": 0,
2118
+ "inputs": [
2119
+ {
2120
+ "localized_name": "a",
2121
+ "name": "values.a",
2122
+ "type": "FLOAT,INT,BOOLEAN",
2123
+ "link": 37
2124
+ },
2125
+ {
2126
+ "localized_name": "b",
2127
+ "name": "values.b",
2128
+ "shape": 7,
2129
+ "type": "FLOAT,INT,BOOLEAN",
2130
+ "link": null
2131
+ },
2132
+ {
2133
+ "localized_name": "expression",
2134
+ "name": "expression",
2135
+ "type": "STRING",
2136
+ "widget": {
2137
+ "name": "expression"
2138
+ },
2139
+ "link": null
2140
+ }
2141
+ ],
2142
+ "outputs": [
2143
+ {
2144
+ "localized_name": "FLOAT",
2145
+ "name": "FLOAT",
2146
+ "type": "FLOAT",
2147
+ "links": null
2148
+ },
2149
+ {
2150
+ "localized_name": "INT",
2151
+ "name": "INT",
2152
+ "type": "INT",
2153
+ "links": null
2154
+ },
2155
+ {
2156
+ "localized_name": "BOOL",
2157
+ "name": "BOOL",
2158
+ "type": "BOOLEAN",
2159
+ "links": [
2160
+ 39
2161
+ ]
2162
+ }
2163
+ ],
2164
+ "title": "4-step adapter?",
2165
+ "properties": {
2166
+ "Node name for S&R": "ComfyMathExpression"
2167
+ },
2168
+ "widgets_values": [
2169
+ "a > 2"
2170
+ ]
2171
+ },
2172
+ {
2173
+ "id": 38,
2174
+ "type": "ComfyMathExpression",
2175
+ "pos": [
2176
+ 970,
2177
+ 402
2178
+ ],
2179
+ "size": [
2180
+ 270,
2181
+ 150
2182
+ ],
2183
+ "flags": {},
2184
+ "order": 5,
2185
+ "mode": 0,
2186
+ "inputs": [
2187
+ {
2188
+ "localized_name": "a",
2189
+ "name": "values.a",
2190
+ "type": "FLOAT,INT,BOOLEAN",
2191
+ "link": 38
2192
+ },
2193
+ {
2194
+ "localized_name": "b",
2195
+ "name": "values.b",
2196
+ "shape": 7,
2197
+ "type": "FLOAT,INT,BOOLEAN",
2198
+ "link": null
2199
+ },
2200
+ {
2201
+ "localized_name": "expression",
2202
+ "name": "expression",
2203
+ "type": "STRING",
2204
+ "widget": {
2205
+ "name": "expression"
2206
+ },
2207
+ "link": null
2208
+ }
2209
+ ],
2210
+ "outputs": [
2211
+ {
2212
+ "localized_name": "FLOAT",
2213
+ "name": "FLOAT",
2214
+ "type": "FLOAT",
2215
+ "links": [
2216
+ 41
2217
+ ]
2218
+ },
2219
+ {
2220
+ "localized_name": "INT",
2221
+ "name": "INT",
2222
+ "type": "INT",
2223
+ "links": null
2224
+ },
2225
+ {
2226
+ "localized_name": "BOOL",
2227
+ "name": "BOOL",
2228
+ "type": "BOOLEAN",
2229
+ "links": null
2230
+ }
2231
+ ],
2232
+ "title": "max_raw_t",
2233
+ "properties": {
2234
+ "Node name for S&R": "ComfyMathExpression"
2235
+ },
2236
+ "widgets_values": [
2237
+ "0.96 if a > 2 else 0.93"
2238
+ ]
2239
+ },
2240
+ {
2241
+ "id": 2,
2242
+ "type": "PiH3HyperFlowAdapter",
2243
+ "pos": [
2244
+ 30,
2245
+ 334
2246
+ ],
2247
+ "size": [
2248
+ 330,
2249
+ 178
2250
+ ],
2251
+ "flags": {},
2252
+ "order": 0,
2253
+ "mode": 0,
2254
+ "inputs": [
2255
+ {
2256
+ "localized_name": "model",
2257
+ "name": "model",
2258
+ "type": "MODEL",
2259
+ "link": 1
2260
+ },
2261
+ {
2262
+ "localized_name": "adapter_name",
2263
+ "name": "adapter_name",
2264
+ "type": "COMBO",
2265
+ "widget": {
2266
+ "name": "adapter_name"
2267
+ },
2268
+ "link": 47
2269
+ },
2270
+ {
2271
+ "localized_name": "adapter_strength",
2272
+ "name": "adapter_strength",
2273
+ "type": "FLOAT",
2274
+ "widget": {
2275
+ "name": "adapter_strength"
2276
+ },
2277
+ "link": null
2278
+ },
2279
+ {
2280
+ "localized_name": "time_path",
2281
+ "name": "time_path",
2282
+ "type": "COMBO",
2283
+ "widget": {
2284
+ "name": "time_path"
2285
+ },
2286
+ "link": null
2287
+ },
2288
+ {
2289
+ "localized_name": "stock_base",
2290
+ "name": "stock_base",
2291
+ "type": "COMBO",
2292
+ "widget": {
2293
+ "name": "stock_base"
2294
+ },
2295
+ "link": null
2296
+ },
2297
+ {
2298
+ "localized_name": "lora_mode",
2299
+ "name": "lora_mode",
2300
+ "type": "COMBO",
2301
+ "widget": {
2302
+ "name": "lora_mode"
2303
+ },
2304
+ "link": null
2305
+ },
2306
+ {
2307
+ "localized_name": "dropped_blocks",
2308
+ "name": "dropped_blocks",
2309
+ "type": "STRING",
2310
+ "widget": {
2311
+ "name": "dropped_blocks"
2312
+ },
2313
+ "link": null
2314
+ }
2315
+ ],
2316
+ "outputs": [
2317
+ {
2318
+ "localized_name": "MODEL",
2319
+ "name": "MODEL",
2320
+ "type": "MODEL",
2321
+ "links": [
2322
+ 34
2323
+ ]
2324
+ }
2325
+ ],
2326
+ "title": "Load 2-step adapter",
2327
+ "properties": {
2328
+ "Node name for S&R": "PiH3HyperFlowAdapter"
2329
+ },
2330
+ "widgets_values": [
2331
+ "pi_h3_2step_dwd_adapter_int8_convrot.safetensors",
2332
+ 1,
2333
+ "pi-H3 (stock H3 time curve)",
2334
+ "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
2335
+ "bypass (keeps the file's weights)",
2336
+ "auto"
2337
+ ]
2338
+ },
2339
+ {
2340
+ "id": 34,
2341
+ "type": "PiH3HyperFlowAdapter",
2342
+ "pos": [
2343
+ 30,
2344
+ 486
2345
+ ],
2346
+ "size": [
2347
+ 330,
2348
+ 178
2349
+ ],
2350
+ "flags": {},
2351
+ "order": 1,
2352
+ "mode": 0,
2353
+ "inputs": [
2354
+ {
2355
+ "localized_name": "model",
2356
+ "name": "model",
2357
+ "type": "MODEL",
2358
+ "link": 33
2359
+ },
2360
+ {
2361
+ "localized_name": "adapter_name",
2362
+ "name": "adapter_name",
2363
+ "type": "COMBO",
2364
+ "widget": {
2365
+ "name": "adapter_name"
2366
+ },
2367
+ "link": 48
2368
+ },
2369
+ {
2370
+ "localized_name": "adapter_strength",
2371
+ "name": "adapter_strength",
2372
+ "type": "FLOAT",
2373
+ "widget": {
2374
+ "name": "adapter_strength"
2375
+ },
2376
+ "link": null
2377
+ },
2378
+ {
2379
+ "localized_name": "time_path",
2380
+ "name": "time_path",
2381
+ "type": "COMBO",
2382
+ "widget": {
2383
+ "name": "time_path"
2384
+ },
2385
+ "link": null
2386
+ },
2387
+ {
2388
+ "localized_name": "stock_base",
2389
+ "name": "stock_base",
2390
+ "type": "COMBO",
2391
+ "widget": {
2392
+ "name": "stock_base"
2393
+ },
2394
+ "link": null
2395
+ },
2396
+ {
2397
+ "localized_name": "lora_mode",
2398
+ "name": "lora_mode",
2399
+ "type": "COMBO",
2400
+ "widget": {
2401
+ "name": "lora_mode"
2402
+ },
2403
+ "link": null
2404
+ },
2405
+ {
2406
+ "localized_name": "dropped_blocks",
2407
+ "name": "dropped_blocks",
2408
+ "type": "STRING",
2409
+ "widget": {
2410
+ "name": "dropped_blocks"
2411
+ },
2412
+ "link": null
2413
+ }
2414
+ ],
2415
+ "outputs": [
2416
+ {
2417
+ "localized_name": "MODEL",
2418
+ "name": "MODEL",
2419
+ "type": "MODEL",
2420
+ "links": [
2421
+ 35
2422
+ ]
2423
+ }
2424
+ ],
2425
+ "title": "Load 4-step adapter",
2426
+ "properties": {
2427
+ "Node name for S&R": "PiH3HyperFlowAdapter"
2428
+ },
2429
+ "widgets_values": [
2430
+ "pi_h3_4step_dwd_adapter_int8_convrot.safetensors",
2431
+ 1,
2432
+ "pi-H3 (stock H3 time curve)",
2433
+ "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
2434
+ "bypass (keeps the file's weights)",
2435
+ "auto"
2436
+ ]
2437
+ },
2438
+ {
2439
+ "id": 35,
2440
+ "type": "ComfySwitchNode",
2441
+ "pos": [
2442
+ 30,
2443
+ 638
2444
+ ],
2445
+ "size": [
2446
+ 270,
2447
+ 78
2448
+ ],
2449
+ "flags": {},
2450
+ "order": 2,
2451
+ "mode": 0,
2452
+ "inputs": [
2453
+ {
2454
+ "localized_name": "on_false",
2455
+ "name": "on_false",
2456
+ "shape": 7,
2457
+ "type": "MODEL",
2458
+ "link": 34
2459
+ },
2460
+ {
2461
+ "localized_name": "on_true",
2462
+ "name": "on_true",
2463
+ "shape": 7,
2464
+ "type": "MODEL",
2465
+ "link": 35
2466
+ },
2467
+ {
2468
+ "localized_name": "switch",
2469
+ "name": "switch",
2470
+ "type": "BOOLEAN",
2471
+ "widget": {
2472
+ "name": "switch"
2473
+ },
2474
+ "link": 39
2475
+ }
2476
+ ],
2477
+ "outputs": [
2478
+ {
2479
+ "localized_name": "output",
2480
+ "name": "output",
2481
+ "type": "MODEL",
2482
+ "links": [
2483
+ 36
2484
+ ]
2485
+ }
2486
+ ],
2487
+ "title": "Adapter for the steps",
2488
+ "properties": {
2489
+ "Node name for S&R": "ComfySwitchNode"
2490
+ },
2491
+ "widgets_values": [
2492
+ false
2493
+ ]
2494
+ }
2495
+ ],
2496
+ "groups": [],
2497
+ "links": [
2498
+ {
2499
+ "id": 34,
2500
+ "origin_id": 2,
2501
+ "origin_slot": 0,
2502
+ "target_id": 35,
2503
+ "target_slot": 0,
2504
+ "type": "MODEL"
2505
+ },
2506
+ {
2507
+ "id": 35,
2508
+ "origin_id": 34,
2509
+ "origin_slot": 0,
2510
+ "target_id": 35,
2511
+ "target_slot": 1,
2512
+ "type": "MODEL"
2513
+ },
2514
+ {
2515
+ "id": 39,
2516
+ "origin_id": 37,
2517
+ "origin_slot": 2,
2518
+ "target_id": 35,
2519
+ "target_slot": 2,
2520
+ "type": "BOOLEAN"
2521
+ },
2522
+ {
2523
+ "id": 1,
2524
+ "origin_id": -10,
2525
+ "origin_slot": 0,
2526
+ "target_id": 2,
2527
+ "target_slot": 0,
2528
+ "type": "MODEL"
2529
+ },
2530
+ {
2531
+ "id": 33,
2532
+ "origin_id": -10,
2533
+ "origin_slot": 0,
2534
+ "target_id": 34,
2535
+ "target_slot": 0,
2536
+ "type": "MODEL"
2537
+ },
2538
+ {
2539
+ "id": 40,
2540
+ "origin_id": 36,
2541
+ "origin_slot": 0,
2542
+ "target_id": -20,
2543
+ "target_slot": 0,
2544
+ "type": "INT"
2545
+ },
2546
+ {
2547
+ "id": 41,
2548
+ "origin_id": 38,
2549
+ "origin_slot": 0,
2550
+ "target_id": -20,
2551
+ "target_slot": 1,
2552
+ "type": "FLOAT"
2553
+ },
2554
+ {
2555
+ "id": 36,
2556
+ "origin_id": 35,
2557
+ "origin_slot": 0,
2558
+ "target_id": -20,
2559
+ "target_slot": 2,
2560
+ "type": "MODEL"
2561
+ },
2562
+ {
2563
+ "id": 46,
2564
+ "origin_id": -10,
2565
+ "origin_slot": 1,
2566
+ "target_id": 36,
2567
+ "target_slot": 0,
2568
+ "type": "INT"
2569
+ },
2570
+ {
2571
+ "id": 47,
2572
+ "origin_id": -10,
2573
+ "origin_slot": 2,
2574
+ "target_id": 2,
2575
+ "target_slot": 1,
2576
+ "type": "COMBO"
2577
+ },
2578
+ {
2579
+ "id": 48,
2580
+ "origin_id": -10,
2581
+ "origin_slot": 3,
2582
+ "target_id": 34,
2583
+ "target_slot": 1,
2584
+ "type": "COMBO"
2585
+ },
2586
+ {
2587
+ "id": 37,
2588
+ "origin_id": 36,
2589
+ "origin_slot": 0,
2590
+ "target_id": 37,
2591
+ "target_slot": 0,
2592
+ "type": "INT"
2593
+ },
2594
+ {
2595
+ "id": 38,
2596
+ "origin_id": 36,
2597
+ "origin_slot": 0,
2598
+ "target_id": 38,
2599
+ "target_slot": 0,
2600
+ "type": "INT"
2601
+ }
2602
+ ],
2603
+ "extra": {}
2604
+ },
2605
+ {
2606
+ "id": "a74d60af-3935-41b1-a4bc-a21f1fa87ceb",
2607
+ "version": 1,
2608
+ "state": {
2609
+ "lastGroupId": 5,
2610
+ "lastNodeId": 40,
2611
+ "lastLinkId": 54,
2612
+ "lastRerouteId": 0
2613
+ },
2614
+ "revision": 0,
2615
+ "config": {},
2616
+ "name": "Frame Count",
2617
+ "inputNode": {
2618
+ "id": -10,
2619
+ "bounding": [
2620
+ 282,
2621
+ 375,
2622
+ 128,
2623
+ 48
2624
+ ]
2625
+ },
2626
+ "outputNode": {
2627
+ "id": -20,
2628
+ "bounding": [
2629
+ 930,
2630
+ 365,
2631
+ 128,
2632
+ 68
2633
+ ]
2634
+ },
2635
+ "inputs": [
2636
+ {
2637
+ "id": "d0484a8e-11dc-4ba1-8a63-cfa9900f9865",
2638
+ "name": "seconds",
2639
+ "type": "FLOAT",
2640
+ "linkIds": [
2641
+ 50
2642
+ ],
2643
+ "pos": [
2644
+ 0,
2645
+ 0
2646
+ ]
2647
+ }
2648
+ ],
2649
+ "outputs": [
2650
+ {
2651
+ "id": "6ce08b9d-e5b9-4bb7-8e98-355cbdcb21a2",
2652
+ "name": "INT",
2653
+ "type": "INT",
2654
+ "linkIds": [
2655
+ 6
2656
+ ],
2657
+ "localized_name": "INT",
2658
+ "label": "length",
2659
+ "pos": [
2660
+ 24,
2661
+ 24
2662
+ ]
2663
+ }
2664
+ ],
2665
+ "widgets": [],
2666
+ "nodes": [
2667
+ {
2668
+ "id": 31,
2669
+ "type": "PrimitiveFloat",
2670
+ "pos": [
2671
+ 470,
2672
+ 250
2673
+ ],
2674
+ "size": [
2675
+ 270,
2676
+ 58
2677
+ ],
2678
+ "flags": {},
2679
+ "order": 0,
2680
+ "mode": 0,
2681
+ "inputs": [
2682
+ {
2683
+ "localized_name": "value",
2684
+ "name": "value",
2685
+ "type": "FLOAT",
2686
+ "widget": {
2687
+ "name": "value"
2688
+ },
2689
+ "link": 50
2690
+ }
2691
+ ],
2692
+ "outputs": [
2693
+ {
2694
+ "localized_name": "FLOAT",
2695
+ "name": "FLOAT",
2696
+ "type": "FLOAT",
2697
+ "links": [
2698
+ 32
2699
+ ]
2700
+ }
2701
+ ],
2702
+ "title": "Duration (seconds)",
2703
+ "properties": {
2704
+ "Node name for S&R": "PrimitiveFloat"
2705
+ },
2706
+ "widgets_values": [
2707
+ 5
2708
+ ]
2709
+ },
2710
+ {
2711
+ "id": 32,
2712
+ "type": "ComfyMathExpression",
2713
+ "pos": [
2714
+ 470,
2715
+ 378
2716
+ ],
2717
+ "size": [
2718
+ 400,
2719
+ 200
2720
+ ],
2721
+ "flags": {},
2722
+ "order": 1,
2723
+ "mode": 0,
2724
+ "inputs": [
2725
+ {
2726
+ "localized_name": "a",
2727
+ "name": "values.a",
2728
+ "type": "FLOAT,INT,BOOLEAN",
2729
+ "link": 32
2730
+ },
2731
+ {
2732
+ "localized_name": "b",
2733
+ "name": "values.b",
2734
+ "shape": 7,
2735
+ "type": "FLOAT,INT,BOOLEAN",
2736
+ "link": null
2737
+ },
2738
+ {
2739
+ "localized_name": "expression",
2740
+ "name": "expression",
2741
+ "type": "STRING",
2742
+ "widget": {
2743
+ "name": "expression"
2744
+ },
2745
+ "link": null
2746
+ }
2747
+ ],
2748
+ "outputs": [
2749
+ {
2750
+ "localized_name": "FLOAT",
2751
+ "name": "FLOAT",
2752
+ "type": "FLOAT",
2753
+ "links": null
2754
+ },
2755
+ {
2756
+ "localized_name": "INT",
2757
+ "name": "INT",
2758
+ "type": "INT",
2759
+ "links": [
2760
+ 6
2761
+ ]
2762
+ },
2763
+ {
2764
+ "localized_name": "BOOL",
2765
+ "name": "BOOL",
2766
+ "type": "BOOLEAN",
2767
+ "links": null
2768
+ }
2769
+ ],
2770
+ "title": "Frame count",
2771
+ "properties": {
2772
+ "Node name for S&R": "ComfyMathExpression"
2773
+ },
2774
+ "widgets_values": [
2775
+ "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
2776
+ ]
2777
+ }
2778
+ ],
2779
+ "groups": [],
2780
+ "links": [
2781
+ {
2782
+ "id": 6,
2783
+ "origin_id": 32,
2784
+ "origin_slot": 1,
2785
+ "target_id": -20,
2786
+ "target_slot": 0,
2787
+ "type": "INT"
2788
+ },
2789
+ {
2790
+ "id": 50,
2791
+ "origin_id": -10,
2792
+ "origin_slot": 0,
2793
+ "target_id": 31,
2794
+ "target_slot": 0,
2795
+ "type": "FLOAT"
2796
+ },
2797
+ {
2798
+ "id": 32,
2799
+ "origin_id": 31,
2800
+ "origin_slot": 0,
2801
+ "target_id": 32,
2802
+ "target_slot": 0,
2803
+ "type": "FLOAT"
2804
+ }
2805
+ ],
2806
+ "extra": {}
2807
+ }
2808
+ ]
2809
+ },
2810
+ "config": {},
2811
+ "extra": {
2812
+ "ds": {
2813
+ "scale": 0.45,
2814
+ "offset": [
2815
+ 680,
2816
+ 120
2817
+ ]
2818
+ }
2819
+ },
2820
+ "version": 0.4
2821
+ }
piH3_HyperFlow_NVFP4_4step_T2VA_BennyDaBall.json ADDED
@@ -0,0 +1,2934 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "ce5c0ef8-9b93-434c-a3a8-75831e754d06",
3
+ "revision": 0,
4
+ "last_node_id": 40,
5
+ "last_link_id": 54,
6
+ "nodes": [
7
+ {
8
+ "id": 1,
9
+ "type": "HyperFlowLoader",
10
+ "pos": [
11
+ 30,
12
+ 30
13
+ ],
14
+ "size": [
15
+ 270,
16
+ 82
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [
22
+ {
23
+ "localized_name": "unet_name",
24
+ "name": "unet_name",
25
+ "type": "COMBO",
26
+ "widget": {
27
+ "name": "unet_name"
28
+ },
29
+ "link": null
30
+ },
31
+ {
32
+ "localized_name": "weights_in",
33
+ "name": "weights_in",
34
+ "type": "COMBO",
35
+ "widget": {
36
+ "name": "weights_in"
37
+ },
38
+ "link": null
39
+ }
40
+ ],
41
+ "outputs": [
42
+ {
43
+ "localized_name": "MODEL",
44
+ "name": "MODEL",
45
+ "type": "MODEL",
46
+ "links": [
47
+ 23
48
+ ]
49
+ }
50
+ ],
51
+ "properties": {
52
+ "Node name for S&R": "HyperFlowLoader"
53
+ },
54
+ "widgets_values": [
55
+ "HyperFlow-H3-Flash-fl2va-NVFP4-ComfyUI.safetensors",
56
+ "auto"
57
+ ],
58
+ "title": "HyperFlow Loader (NVFP4)"
59
+ },
60
+ {
61
+ "id": 3,
62
+ "type": "CLIPLoader",
63
+ "pos": [
64
+ 30,
65
+ 558
66
+ ],
67
+ "size": [
68
+ 270,
69
+ 106
70
+ ],
71
+ "flags": {},
72
+ "order": 1,
73
+ "mode": 0,
74
+ "inputs": [
75
+ {
76
+ "localized_name": "clip_name",
77
+ "name": "clip_name",
78
+ "type": "COMBO",
79
+ "widget": {
80
+ "name": "clip_name"
81
+ },
82
+ "link": null
83
+ },
84
+ {
85
+ "localized_name": "type",
86
+ "name": "type",
87
+ "type": "COMBO",
88
+ "widget": {
89
+ "name": "type"
90
+ },
91
+ "link": null
92
+ },
93
+ {
94
+ "localized_name": "device",
95
+ "name": "device",
96
+ "shape": 7,
97
+ "type": "COMBO",
98
+ "widget": {
99
+ "name": "device"
100
+ },
101
+ "link": null
102
+ }
103
+ ],
104
+ "outputs": [
105
+ {
106
+ "localized_name": "CLIP",
107
+ "name": "CLIP",
108
+ "type": "CLIP",
109
+ "links": [
110
+ 2
111
+ ]
112
+ }
113
+ ],
114
+ "properties": {
115
+ "Node name for S&R": "CLIPLoader"
116
+ },
117
+ "widgets_values": [
118
+ "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
119
+ "minimax",
120
+ "default"
121
+ ]
122
+ },
123
+ {
124
+ "id": 4,
125
+ "type": "VAELoader",
126
+ "pos": [
127
+ 30,
128
+ 734
129
+ ],
130
+ "size": [
131
+ 270,
132
+ 58
133
+ ],
134
+ "flags": {},
135
+ "order": 2,
136
+ "mode": 0,
137
+ "inputs": [
138
+ {
139
+ "localized_name": "vae_name",
140
+ "name": "vae_name",
141
+ "type": "COMBO",
142
+ "widget": {
143
+ "name": "vae_name"
144
+ },
145
+ "link": null
146
+ }
147
+ ],
148
+ "outputs": [
149
+ {
150
+ "localized_name": "VAE",
151
+ "name": "VAE",
152
+ "type": "VAE",
153
+ "links": [
154
+ 3
155
+ ]
156
+ }
157
+ ],
158
+ "title": "Load VAE (video)",
159
+ "properties": {
160
+ "Node name for S&R": "VAELoader"
161
+ },
162
+ "widgets_values": [
163
+ "minimax_h3_video_vae_int8_convrot.safetensors"
164
+ ]
165
+ },
166
+ {
167
+ "id": 5,
168
+ "type": "VAELoader",
169
+ "pos": [
170
+ 30,
171
+ 862
172
+ ],
173
+ "size": [
174
+ 270,
175
+ 58
176
+ ],
177
+ "flags": {},
178
+ "order": 3,
179
+ "mode": 0,
180
+ "inputs": [
181
+ {
182
+ "localized_name": "vae_name",
183
+ "name": "vae_name",
184
+ "type": "COMBO",
185
+ "widget": {
186
+ "name": "vae_name"
187
+ },
188
+ "link": null
189
+ }
190
+ ],
191
+ "outputs": [
192
+ {
193
+ "localized_name": "VAE",
194
+ "name": "VAE",
195
+ "type": "VAE",
196
+ "links": [
197
+ 19
198
+ ]
199
+ }
200
+ ],
201
+ "title": "Load VAE (audio)",
202
+ "properties": {
203
+ "Node name for S&R": "VAELoader"
204
+ },
205
+ "widgets_values": [
206
+ "minimax_h3_audio_vae_fp32.safetensors"
207
+ ]
208
+ },
209
+ {
210
+ "id": 6,
211
+ "type": "MiniMaxH3ImageToVideo",
212
+ "pos": [
213
+ 470,
214
+ 448
215
+ ],
216
+ "size": [
217
+ 420,
218
+ 460
219
+ ],
220
+ "flags": {},
221
+ "order": 16,
222
+ "mode": 0,
223
+ "inputs": [
224
+ {
225
+ "localized_name": "clip",
226
+ "name": "clip",
227
+ "type": "CLIP",
228
+ "link": 2
229
+ },
230
+ {
231
+ "localized_name": "vae",
232
+ "name": "vae",
233
+ "type": "VAE",
234
+ "link": 3
235
+ },
236
+ {
237
+ "localized_name": "first_frame",
238
+ "name": "first_frame",
239
+ "shape": 7,
240
+ "type": "IMAGE",
241
+ "link": 7
242
+ },
243
+ {
244
+ "localized_name": "last_frame",
245
+ "name": "last_frame",
246
+ "shape": 7,
247
+ "type": "IMAGE",
248
+ "link": 8
249
+ },
250
+ {
251
+ "localized_name": "prompt",
252
+ "name": "prompt",
253
+ "type": "STRING",
254
+ "widget": {
255
+ "name": "prompt"
256
+ },
257
+ "link": null
258
+ },
259
+ {
260
+ "localized_name": "width",
261
+ "name": "width",
262
+ "type": "INT",
263
+ "widget": {
264
+ "name": "width"
265
+ },
266
+ "link": 4
267
+ },
268
+ {
269
+ "localized_name": "height",
270
+ "name": "height",
271
+ "type": "INT",
272
+ "widget": {
273
+ "name": "height"
274
+ },
275
+ "link": 5
276
+ },
277
+ {
278
+ "localized_name": "length",
279
+ "name": "length",
280
+ "type": "INT",
281
+ "widget": {
282
+ "name": "length"
283
+ },
284
+ "link": 49
285
+ }
286
+ ],
287
+ "outputs": [
288
+ {
289
+ "localized_name": "positive",
290
+ "name": "positive",
291
+ "type": "CONDITIONING",
292
+ "links": [
293
+ 11
294
+ ]
295
+ },
296
+ {
297
+ "localized_name": "LATENT",
298
+ "name": "LATENT",
299
+ "type": "LATENT",
300
+ "links": [
301
+ 16
302
+ ]
303
+ }
304
+ ],
305
+ "properties": {
306
+ "Node name for S&R": "MiniMaxH3ImageToVideo"
307
+ },
308
+ "widgets_values": [
309
+ "",
310
+ 1344,
311
+ 768,
312
+ 124
313
+ ]
314
+ },
315
+ {
316
+ "id": 7,
317
+ "type": "KSamplerSelect",
318
+ "pos": [
319
+ 970,
320
+ 894
321
+ ],
322
+ "size": [
323
+ 270,
324
+ 58
325
+ ],
326
+ "flags": {},
327
+ "order": 4,
328
+ "mode": 0,
329
+ "inputs": [
330
+ {
331
+ "localized_name": "sampler_name",
332
+ "name": "sampler_name",
333
+ "type": "COMBO",
334
+ "widget": {
335
+ "name": "sampler_name"
336
+ },
337
+ "link": null
338
+ }
339
+ ],
340
+ "outputs": [
341
+ {
342
+ "localized_name": "SAMPLER",
343
+ "name": "SAMPLER",
344
+ "type": "SAMPLER",
345
+ "links": [
346
+ 14
347
+ ]
348
+ }
349
+ ],
350
+ "properties": {
351
+ "Node name for S&R": "KSamplerSelect"
352
+ },
353
+ "widgets_values": [
354
+ "euler"
355
+ ]
356
+ },
357
+ {
358
+ "id": 8,
359
+ "type": "pi-Flow Scheduler",
360
+ "pos": [
361
+ 970,
362
+ 694
363
+ ],
364
+ "size": [
365
+ 281.62109375,
366
+ 130
367
+ ],
368
+ "flags": {},
369
+ "order": 17,
370
+ "mode": 0,
371
+ "inputs": [
372
+ {
373
+ "localized_name": "model",
374
+ "name": "model",
375
+ "type": "MODEL",
376
+ "link": 52
377
+ },
378
+ {
379
+ "localized_name": "steps",
380
+ "name": "steps",
381
+ "type": "INT",
382
+ "widget": {
383
+ "name": "steps"
384
+ },
385
+ "link": 43
386
+ },
387
+ {
388
+ "localized_name": "min_raw_t",
389
+ "name": "min_raw_t",
390
+ "type": "FLOAT",
391
+ "widget": {
392
+ "name": "min_raw_t"
393
+ },
394
+ "link": null
395
+ },
396
+ {
397
+ "localized_name": "max_raw_t",
398
+ "name": "max_raw_t",
399
+ "type": "FLOAT",
400
+ "widget": {
401
+ "name": "max_raw_t"
402
+ },
403
+ "link": 44
404
+ },
405
+ {
406
+ "localized_name": "final_step_size_scale",
407
+ "name": "final_step_size_scale",
408
+ "type": "FLOAT",
409
+ "widget": {
410
+ "name": "final_step_size_scale"
411
+ },
412
+ "link": null
413
+ }
414
+ ],
415
+ "outputs": [
416
+ {
417
+ "localized_name": "SIGMAS",
418
+ "name": "SIGMAS",
419
+ "type": "SIGMAS",
420
+ "links": [
421
+ 15
422
+ ]
423
+ }
424
+ ],
425
+ "properties": {
426
+ "Node name for S&R": "pi-Flow Scheduler"
427
+ },
428
+ "widgets_values": [
429
+ 2,
430
+ 0,
431
+ 0.93,
432
+ 0.6
433
+ ]
434
+ },
435
+ {
436
+ "id": 9,
437
+ "type": "BasicGuider",
438
+ "pos": [
439
+ 970,
440
+ 1174
441
+ ],
442
+ "size": [
443
+ 159.568359375,
444
+ 46
445
+ ],
446
+ "flags": {},
447
+ "order": 19,
448
+ "mode": 0,
449
+ "inputs": [
450
+ {
451
+ "localized_name": "model",
452
+ "name": "model",
453
+ "type": "MODEL",
454
+ "link": 53
455
+ },
456
+ {
457
+ "localized_name": "conditioning",
458
+ "name": "conditioning",
459
+ "type": "CONDITIONING",
460
+ "link": 11
461
+ }
462
+ ],
463
+ "outputs": [
464
+ {
465
+ "localized_name": "GUIDER",
466
+ "name": "GUIDER",
467
+ "type": "GUIDER",
468
+ "links": [
469
+ 13
470
+ ]
471
+ }
472
+ ],
473
+ "properties": {
474
+ "Node name for S&R": "BasicGuider"
475
+ }
476
+ },
477
+ {
478
+ "id": 10,
479
+ "type": "RandomNoise",
480
+ "pos": [
481
+ 970,
482
+ 1022
483
+ ],
484
+ "size": [
485
+ 270,
486
+ 82
487
+ ],
488
+ "flags": {},
489
+ "order": 5,
490
+ "mode": 0,
491
+ "inputs": [
492
+ {
493
+ "localized_name": "noise_seed",
494
+ "name": "noise_seed",
495
+ "type": "INT",
496
+ "widget": {
497
+ "name": "noise_seed"
498
+ },
499
+ "link": null
500
+ }
501
+ ],
502
+ "outputs": [
503
+ {
504
+ "localized_name": "NOISE",
505
+ "name": "NOISE",
506
+ "type": "NOISE",
507
+ "links": [
508
+ 12
509
+ ]
510
+ }
511
+ ],
512
+ "properties": {
513
+ "Node name for S&R": "RandomNoise"
514
+ },
515
+ "widgets_values": [
516
+ 42,
517
+ "randomize"
518
+ ]
519
+ },
520
+ {
521
+ "id": 11,
522
+ "type": "SamplerCustomAdvanced",
523
+ "pos": [
524
+ 1400,
525
+ 30
526
+ ],
527
+ "size": [
528
+ 420,
529
+ 520
530
+ ],
531
+ "flags": {},
532
+ "order": 20,
533
+ "mode": 0,
534
+ "inputs": [
535
+ {
536
+ "localized_name": "noise",
537
+ "name": "noise",
538
+ "type": "NOISE",
539
+ "link": 12
540
+ },
541
+ {
542
+ "localized_name": "guider",
543
+ "name": "guider",
544
+ "type": "GUIDER",
545
+ "link": 13
546
+ },
547
+ {
548
+ "localized_name": "sampler",
549
+ "name": "sampler",
550
+ "type": "SAMPLER",
551
+ "link": 14
552
+ },
553
+ {
554
+ "localized_name": "sigmas",
555
+ "name": "sigmas",
556
+ "type": "SIGMAS",
557
+ "link": 15
558
+ },
559
+ {
560
+ "localized_name": "latent_image",
561
+ "name": "latent_image",
562
+ "type": "LATENT",
563
+ "link": 16
564
+ }
565
+ ],
566
+ "outputs": [
567
+ {
568
+ "localized_name": "output",
569
+ "name": "output",
570
+ "type": "LATENT",
571
+ "links": [
572
+ 17,
573
+ 18
574
+ ]
575
+ },
576
+ {
577
+ "localized_name": "denoised_output",
578
+ "name": "denoised_output",
579
+ "type": "LATENT",
580
+ "links": null
581
+ }
582
+ ],
583
+ "properties": {
584
+ "Node name for S&R": "SamplerCustomAdvanced"
585
+ }
586
+ },
587
+ {
588
+ "id": 12,
589
+ "type": "DWD Decode",
590
+ "pos": [
591
+ 1400,
592
+ 620
593
+ ],
594
+ "size": [
595
+ 140,
596
+ 26
597
+ ],
598
+ "flags": {},
599
+ "order": 21,
600
+ "mode": 0,
601
+ "inputs": [
602
+ {
603
+ "localized_name": "samples",
604
+ "name": "samples",
605
+ "type": "LATENT",
606
+ "link": 17
607
+ }
608
+ ],
609
+ "outputs": [
610
+ {
611
+ "localized_name": "IMAGE",
612
+ "name": "IMAGE",
613
+ "type": "IMAGE",
614
+ "links": [
615
+ 20
616
+ ]
617
+ }
618
+ ],
619
+ "properties": {
620
+ "Node name for S&R": "DWD Decode"
621
+ }
622
+ },
623
+ {
624
+ "id": 13,
625
+ "type": "VAEDecodeAudio",
626
+ "pos": [
627
+ 1400,
628
+ 716
629
+ ],
630
+ "size": [
631
+ 164.2388671875,
632
+ 46
633
+ ],
634
+ "flags": {},
635
+ "order": 22,
636
+ "mode": 0,
637
+ "inputs": [
638
+ {
639
+ "localized_name": "samples",
640
+ "name": "samples",
641
+ "type": "LATENT",
642
+ "link": 18
643
+ },
644
+ {
645
+ "localized_name": "vae",
646
+ "name": "vae",
647
+ "type": "VAE",
648
+ "link": 19
649
+ }
650
+ ],
651
+ "outputs": [
652
+ {
653
+ "localized_name": "AUDIO",
654
+ "name": "AUDIO",
655
+ "type": "AUDIO",
656
+ "links": [
657
+ 21
658
+ ]
659
+ }
660
+ ],
661
+ "properties": {
662
+ "Node name for S&R": "VAEDecodeAudio"
663
+ }
664
+ },
665
+ {
666
+ "id": 14,
667
+ "type": "CreateVideo",
668
+ "pos": [
669
+ 1400,
670
+ 832
671
+ ],
672
+ "size": [
673
+ 284.158203125,
674
+ 174
675
+ ],
676
+ "flags": {},
677
+ "order": 23,
678
+ "mode": 0,
679
+ "inputs": [
680
+ {
681
+ "localized_name": "images",
682
+ "name": "images",
683
+ "type": "IMAGE",
684
+ "link": 20
685
+ },
686
+ {
687
+ "localized_name": "audio",
688
+ "name": "audio",
689
+ "shape": 7,
690
+ "type": "AUDIO",
691
+ "link": 21
692
+ },
693
+ {
694
+ "localized_name": "fps",
695
+ "name": "fps",
696
+ "type": "FLOAT",
697
+ "widget": {
698
+ "name": "fps"
699
+ },
700
+ "link": null
701
+ },
702
+ {
703
+ "localized_name": "bit_depth",
704
+ "name": "bit_depth",
705
+ "shape": 7,
706
+ "type": "COMBO",
707
+ "widget": {
708
+ "name": "bit_depth"
709
+ },
710
+ "link": null
711
+ },
712
+ {
713
+ "localized_name": "color_space",
714
+ "name": "color_space",
715
+ "shape": 7,
716
+ "type": "COMBO",
717
+ "widget": {
718
+ "name": "color_space"
719
+ },
720
+ "link": null
721
+ },
722
+ {
723
+ "localized_name": "chroma_subsampling",
724
+ "name": "chroma_subsampling",
725
+ "shape": 7,
726
+ "type": "COMBO",
727
+ "widget": {
728
+ "name": "chroma_subsampling"
729
+ },
730
+ "link": null
731
+ },
732
+ {
733
+ "localized_name": "codec",
734
+ "name": "codec",
735
+ "shape": 7,
736
+ "type": "COMBO",
737
+ "widget": {
738
+ "name": "codec"
739
+ },
740
+ "link": null
741
+ }
742
+ ],
743
+ "outputs": [
744
+ {
745
+ "localized_name": "VIDEO",
746
+ "name": "VIDEO",
747
+ "type": "VIDEO",
748
+ "links": [
749
+ 22
750
+ ]
751
+ }
752
+ ],
753
+ "properties": {
754
+ "Node name for S&R": "CreateVideo"
755
+ },
756
+ "widgets_values": [
757
+ 24,
758
+ "auto",
759
+ "sRGB",
760
+ "auto",
761
+ "none"
762
+ ]
763
+ },
764
+ {
765
+ "id": 15,
766
+ "type": "SaveVideo",
767
+ "pos": [
768
+ 1900,
769
+ 30
770
+ ],
771
+ "size": [
772
+ 420,
773
+ 520
774
+ ],
775
+ "flags": {},
776
+ "order": 24,
777
+ "mode": 0,
778
+ "inputs": [
779
+ {
780
+ "localized_name": "video",
781
+ "name": "video",
782
+ "type": "VIDEO",
783
+ "link": 22
784
+ },
785
+ {
786
+ "localized_name": "filename_prefix",
787
+ "name": "filename_prefix",
788
+ "type": "STRING",
789
+ "widget": {
790
+ "name": "filename_prefix"
791
+ },
792
+ "link": null
793
+ },
794
+ {
795
+ "localized_name": "format",
796
+ "name": "format",
797
+ "type": "COMFY_DYNAMICCOMBO_V3",
798
+ "widget": {
799
+ "name": "format"
800
+ },
801
+ "link": null
802
+ },
803
+ {
804
+ "localized_name": "codec",
805
+ "name": "format.codec",
806
+ "type": "COMFY_DYNAMICCOMBO_V3",
807
+ "widget": {
808
+ "name": "format.codec"
809
+ },
810
+ "link": null
811
+ },
812
+ {
813
+ "localized_name": "codec",
814
+ "name": "codec",
815
+ "shape": 7,
816
+ "type": "COMFY_DYNAMICCOMBO_V3",
817
+ "widget": {
818
+ "name": "codec"
819
+ },
820
+ "link": null
821
+ }
822
+ ],
823
+ "outputs": [
824
+ {
825
+ "localized_name": "video",
826
+ "name": "video",
827
+ "type": "VIDEO",
828
+ "links": null
829
+ }
830
+ ],
831
+ "properties": {},
832
+ "widgets_values": [
833
+ "video/pi-H3-HyperFlow-4step",
834
+ "auto",
835
+ "auto",
836
+ "auto"
837
+ ]
838
+ },
839
+ {
840
+ "id": 17,
841
+ "type": "HyperFlowLoraBypass",
842
+ "pos": [
843
+ 30,
844
+ 182
845
+ ],
846
+ "size": [
847
+ 270,
848
+ 82
849
+ ],
850
+ "flags": {},
851
+ "order": 12,
852
+ "mode": 4,
853
+ "inputs": [
854
+ {
855
+ "localized_name": "model",
856
+ "name": "model",
857
+ "type": "MODEL",
858
+ "link": 23
859
+ },
860
+ {
861
+ "localized_name": "lora_name",
862
+ "name": "lora_name",
863
+ "type": "COMBO",
864
+ "widget": {
865
+ "name": "lora_name"
866
+ },
867
+ "link": null
868
+ },
869
+ {
870
+ "localized_name": "strength_model",
871
+ "name": "strength_model",
872
+ "type": "FLOAT",
873
+ "widget": {
874
+ "name": "strength_model"
875
+ },
876
+ "link": null
877
+ },
878
+ {
879
+ "localized_name": "dropped_blocks",
880
+ "name": "dropped_blocks",
881
+ "type": "STRING",
882
+ "widget": {
883
+ "name": "dropped_blocks"
884
+ },
885
+ "link": null
886
+ },
887
+ {
888
+ "localized_name": "source_blocks",
889
+ "name": "source_blocks",
890
+ "type": "INT",
891
+ "widget": {
892
+ "name": "source_blocks"
893
+ },
894
+ "link": null
895
+ }
896
+ ],
897
+ "outputs": [
898
+ {
899
+ "localized_name": "MODEL",
900
+ "name": "MODEL",
901
+ "type": "MODEL",
902
+ "links": [
903
+ 42
904
+ ]
905
+ }
906
+ ],
907
+ "title": "HyperFlow LoRA (optional)",
908
+ "properties": {
909
+ "Node name for S&R": "HyperFlowLoraBypass"
910
+ },
911
+ "widgets_values": [
912
+ "your_h3_lora.safetensors",
913
+ 1,
914
+ "auto",
915
+ 50
916
+ ]
917
+ },
918
+ {
919
+ "id": 19,
920
+ "type": "MiniMaxH3SigmaShift",
921
+ "pos": [
922
+ 970,
923
+ 30
924
+ ],
925
+ "size": [
926
+ 277.2857421875,
927
+ 82
928
+ ],
929
+ "flags": {},
930
+ "order": 18,
931
+ "mode": 0,
932
+ "inputs": [
933
+ {
934
+ "localized_name": "model",
935
+ "name": "model",
936
+ "type": "MODEL",
937
+ "link": 45
938
+ },
939
+ {
940
+ "localized_name": "shift_video",
941
+ "name": "shift_video",
942
+ "type": "FLOAT",
943
+ "widget": {
944
+ "name": "shift_video"
945
+ },
946
+ "link": null
947
+ },
948
+ {
949
+ "localized_name": "shift_audio",
950
+ "name": "shift_audio",
951
+ "type": "FLOAT",
952
+ "widget": {
953
+ "name": "shift_audio"
954
+ },
955
+ "link": null
956
+ }
957
+ ],
958
+ "outputs": [
959
+ {
960
+ "localized_name": "MODEL",
961
+ "name": "MODEL",
962
+ "type": "MODEL",
963
+ "links": [
964
+ 51
965
+ ]
966
+ }
967
+ ],
968
+ "properties": {
969
+ "Node name for S&R": "MiniMaxH3SigmaShift"
970
+ },
971
+ "widgets_values": [
972
+ 12,
973
+ 3
974
+ ]
975
+ },
976
+ {
977
+ "id": 21,
978
+ "type": "LoadImage",
979
+ "pos": [
980
+ 470,
981
+ 1048
982
+ ],
983
+ "size": [
984
+ 222.798828125,
985
+ 320
986
+ ],
987
+ "flags": {},
988
+ "order": 6,
989
+ "mode": 4,
990
+ "inputs": [
991
+ {
992
+ "localized_name": "image",
993
+ "name": "image",
994
+ "type": "COMBO",
995
+ "widget": {
996
+ "name": "image"
997
+ },
998
+ "link": null
999
+ },
1000
+ {
1001
+ "localized_name": "choose file to upload",
1002
+ "name": "upload",
1003
+ "type": "IMAGEUPLOAD",
1004
+ "widget": {
1005
+ "name": "upload"
1006
+ },
1007
+ "link": null
1008
+ }
1009
+ ],
1010
+ "outputs": [
1011
+ {
1012
+ "localized_name": "IMAGE",
1013
+ "name": "IMAGE",
1014
+ "type": "IMAGE",
1015
+ "links": [
1016
+ 26
1017
+ ]
1018
+ },
1019
+ {
1020
+ "localized_name": "MASK",
1021
+ "name": "MASK",
1022
+ "type": "MASK",
1023
+ "links": null
1024
+ }
1025
+ ],
1026
+ "title": "First frame",
1027
+ "properties": {
1028
+ "Node name for S&R": "LoadImage"
1029
+ },
1030
+ "widgets_values": [
1031
+ "example.png",
1032
+ "image"
1033
+ ]
1034
+ },
1035
+ {
1036
+ "id": 22,
1037
+ "type": "LoadImage",
1038
+ "pos": [
1039
+ 700,
1040
+ 1048
1041
+ ],
1042
+ "size": [
1043
+ 222.798828125,
1044
+ 320
1045
+ ],
1046
+ "flags": {},
1047
+ "order": 7,
1048
+ "mode": 4,
1049
+ "inputs": [
1050
+ {
1051
+ "localized_name": "image",
1052
+ "name": "image",
1053
+ "type": "COMBO",
1054
+ "widget": {
1055
+ "name": "image"
1056
+ },
1057
+ "link": null
1058
+ },
1059
+ {
1060
+ "localized_name": "choose file to upload",
1061
+ "name": "upload",
1062
+ "type": "IMAGEUPLOAD",
1063
+ "widget": {
1064
+ "name": "upload"
1065
+ },
1066
+ "link": null
1067
+ }
1068
+ ],
1069
+ "outputs": [
1070
+ {
1071
+ "localized_name": "IMAGE",
1072
+ "name": "IMAGE",
1073
+ "type": "IMAGE",
1074
+ "links": [
1075
+ 29
1076
+ ]
1077
+ },
1078
+ {
1079
+ "localized_name": "MASK",
1080
+ "name": "MASK",
1081
+ "type": "MASK",
1082
+ "links": null
1083
+ }
1084
+ ],
1085
+ "title": "Last frame",
1086
+ "properties": {
1087
+ "Node name for S&R": "LoadImage"
1088
+ },
1089
+ "widgets_values": [
1090
+ "example.png",
1091
+ "image"
1092
+ ]
1093
+ },
1094
+ {
1095
+ "id": 23,
1096
+ "type": "ImageScale",
1097
+ "pos": [
1098
+ 470,
1099
+ 1438
1100
+ ],
1101
+ "size": [
1102
+ 270,
1103
+ 130
1104
+ ],
1105
+ "flags": {},
1106
+ "order": 13,
1107
+ "mode": 4,
1108
+ "inputs": [
1109
+ {
1110
+ "localized_name": "image",
1111
+ "name": "image",
1112
+ "type": "IMAGE",
1113
+ "link": 26
1114
+ },
1115
+ {
1116
+ "localized_name": "upscale_method",
1117
+ "name": "upscale_method",
1118
+ "type": "COMBO",
1119
+ "widget": {
1120
+ "name": "upscale_method"
1121
+ },
1122
+ "link": null
1123
+ },
1124
+ {
1125
+ "localized_name": "width",
1126
+ "name": "width",
1127
+ "type": "INT",
1128
+ "widget": {
1129
+ "name": "width"
1130
+ },
1131
+ "link": 27
1132
+ },
1133
+ {
1134
+ "localized_name": "height",
1135
+ "name": "height",
1136
+ "type": "INT",
1137
+ "widget": {
1138
+ "name": "height"
1139
+ },
1140
+ "link": 28
1141
+ },
1142
+ {
1143
+ "localized_name": "crop",
1144
+ "name": "crop",
1145
+ "type": "COMBO",
1146
+ "widget": {
1147
+ "name": "crop"
1148
+ },
1149
+ "link": null
1150
+ }
1151
+ ],
1152
+ "outputs": [
1153
+ {
1154
+ "localized_name": "IMAGE",
1155
+ "name": "IMAGE",
1156
+ "type": "IMAGE",
1157
+ "links": [
1158
+ 7
1159
+ ]
1160
+ }
1161
+ ],
1162
+ "title": "Resize first frame",
1163
+ "properties": {
1164
+ "Node name for S&R": "ImageScale"
1165
+ },
1166
+ "widgets_values": [
1167
+ "lanczos",
1168
+ 512,
1169
+ 512,
1170
+ "center"
1171
+ ]
1172
+ },
1173
+ {
1174
+ "id": 24,
1175
+ "type": "ImageScale",
1176
+ "pos": [
1177
+ 700,
1178
+ 1438
1179
+ ],
1180
+ "size": [
1181
+ 270,
1182
+ 130
1183
+ ],
1184
+ "flags": {},
1185
+ "order": 14,
1186
+ "mode": 4,
1187
+ "inputs": [
1188
+ {
1189
+ "localized_name": "image",
1190
+ "name": "image",
1191
+ "type": "IMAGE",
1192
+ "link": 29
1193
+ },
1194
+ {
1195
+ "localized_name": "upscale_method",
1196
+ "name": "upscale_method",
1197
+ "type": "COMBO",
1198
+ "widget": {
1199
+ "name": "upscale_method"
1200
+ },
1201
+ "link": null
1202
+ },
1203
+ {
1204
+ "localized_name": "width",
1205
+ "name": "width",
1206
+ "type": "INT",
1207
+ "widget": {
1208
+ "name": "width"
1209
+ },
1210
+ "link": 30
1211
+ },
1212
+ {
1213
+ "localized_name": "height",
1214
+ "name": "height",
1215
+ "type": "INT",
1216
+ "widget": {
1217
+ "name": "height"
1218
+ },
1219
+ "link": 31
1220
+ },
1221
+ {
1222
+ "localized_name": "crop",
1223
+ "name": "crop",
1224
+ "type": "COMBO",
1225
+ "widget": {
1226
+ "name": "crop"
1227
+ },
1228
+ "link": null
1229
+ }
1230
+ ],
1231
+ "outputs": [
1232
+ {
1233
+ "localized_name": "IMAGE",
1234
+ "name": "IMAGE",
1235
+ "type": "IMAGE",
1236
+ "links": [
1237
+ 8
1238
+ ]
1239
+ }
1240
+ ],
1241
+ "title": "Resize last frame",
1242
+ "properties": {
1243
+ "Node name for S&R": "ImageScale"
1244
+ },
1245
+ "widgets_values": [
1246
+ "lanczos",
1247
+ 512,
1248
+ 512,
1249
+ "center"
1250
+ ]
1251
+ },
1252
+ {
1253
+ "id": 30,
1254
+ "type": "ResolutionSelector",
1255
+ "pos": [
1256
+ 470,
1257
+ 30
1258
+ ],
1259
+ "size": [
1260
+ 270,
1261
+ 150
1262
+ ],
1263
+ "flags": {},
1264
+ "order": 8,
1265
+ "mode": 0,
1266
+ "inputs": [
1267
+ {
1268
+ "localized_name": "aspect_ratio",
1269
+ "name": "aspect_ratio",
1270
+ "type": "COMBO",
1271
+ "widget": {
1272
+ "name": "aspect_ratio"
1273
+ },
1274
+ "link": null
1275
+ },
1276
+ {
1277
+ "localized_name": "megapixels",
1278
+ "name": "megapixels",
1279
+ "type": "FLOAT",
1280
+ "widget": {
1281
+ "name": "megapixels"
1282
+ },
1283
+ "link": null
1284
+ },
1285
+ {
1286
+ "localized_name": "multiple",
1287
+ "name": "multiple",
1288
+ "type": "INT",
1289
+ "widget": {
1290
+ "name": "multiple"
1291
+ },
1292
+ "link": null
1293
+ },
1294
+ {
1295
+ "localized_name": "preview",
1296
+ "name": "preview",
1297
+ "shape": 7,
1298
+ "type": "RESOLUTION_PREVIEW",
1299
+ "widget": {
1300
+ "name": "preview"
1301
+ },
1302
+ "link": null
1303
+ }
1304
+ ],
1305
+ "outputs": [
1306
+ {
1307
+ "localized_name": "width",
1308
+ "name": "width",
1309
+ "type": "INT",
1310
+ "links": [
1311
+ 4,
1312
+ 27,
1313
+ 30
1314
+ ]
1315
+ },
1316
+ {
1317
+ "localized_name": "height",
1318
+ "name": "height",
1319
+ "type": "INT",
1320
+ "links": [
1321
+ 5,
1322
+ 28,
1323
+ 31
1324
+ ]
1325
+ }
1326
+ ],
1327
+ "properties": {
1328
+ "Node name for S&R": "ResolutionSelector"
1329
+ },
1330
+ "widgets_values": [
1331
+ "16:9 (Widescreen)",
1332
+ 0.97,
1333
+ 32
1334
+ ]
1335
+ },
1336
+ {
1337
+ "id": 33,
1338
+ "type": "MarkdownNote",
1339
+ "pos": [
1340
+ -620,
1341
+ 0
1342
+ ],
1343
+ "size": [
1344
+ 600,
1345
+ 1298
1346
+ ],
1347
+ "flags": {},
1348
+ "order": 9,
1349
+ "mode": 0,
1350
+ "inputs": [],
1351
+ "outputs": [],
1352
+ "title": "Model links",
1353
+ "properties": {},
1354
+ "widgets_values": [
1355
+ "## pi-H3 on HyperFlow H3 Flash (NVFP4), 4 steps\n\npi-H3's DWD adapters (2 or 4 steps, no VAE decode) running on my NVFP4 build of HyperFlow H3 Flash, the pruned 47-block model, instead of the stock H3 INT8 base.\n\n- **HyperFlow Loader** (official ComfyUI-HyperFlow-Flash pack) loads [HyperFlow-H3-Flash-fl2va-NVFP4-ComfyUI.safetensors](https://huggingface.co/BennyDaBall/HyperFlow-H3-Flash-NVFP4-ComfyUI) from `models/diffusion_models`.\n- **pi-H3 Adapter for HyperFlow** ([HyperFlow INT8 Nodes](https://github.com/BennyDaBall930/comfyui_hyperflow_int8_nodes)) takes the place of Load LakonLab Adapter. It renumbers the adapter's blocks past the three blocks HyperFlow drops, applies the LoRA on the low-rank layers too, and installs pi-H3's time modulation, final layer, DWD blocks and DWD head. It reads the stock time table from `minimax_h3_fl2va_pruned_int8_convrot.safetensors` (a few MB; the stock weights are not loaded).\n - `time_path`: keep **pi-H3 (stock H3 time curve)**. The HyperFlow-modulation option gave a loud noise bed and clipping on a quiet dialogue scene in my tests.\n - `lora_mode`: keep **bypass**. merge is about 0.7s faster but re-quantizes the dense NVFP4 layers with fresh scales.\n- The optional LoRA node is **HyperFlow LoRA (bypass, block remap)** from the same pack; a stock LoRA loader puts most of an H3 LoRA on the wrong blocks of a HyperFlow model.\n- Also needed: [ComfyUI-piFlow](https://github.com/Lakonik/ComfyUI-piFlow) 1.4.2 or newer (the DWD head and DWD Decode) and [Spark-H3](https://github.com/zechengtang/Spark-H3) 0.2.0 (Spark-Attn), as in the author's pi-H3 workflows below.\n\nRTX 5090, 5s with audio, warm, these defaults: 4 steps about 20.2s at 1344x768 (stock pi-H3 22.0s), about 24 GB VRAM peak (stock about 29 GB).\n\n---\n\n## pi-H3 FL2VA\n\nThis is an FL2VA (first-last-frame to video and audio) workflow. It generates a video with synchronized audio from a text prompt, optionally conditioned on a first frame, a last frame, or both.\n\n## Model links\n\n**Base model**\n\n- Download [minimax_h3_fl2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors) and save it to\n<br>`models/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors`\n\n**pi-H3 adapters**\n\n- Download [pi_h3_2step_dwd_adapter_int8_convrot.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_2step_dwd_adapter_int8_convrot.safetensors) and save it to \n<br>`models/loras/pi_h3_2step_dwd_adapter_int8_convrot.safetensors`\n\n Alternative full-precision version: [pi_h3_2step_dwd_adapter/diffusion_pytorch_model.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_2step_dwd_adapter/diffusion_pytorch_model.safetensors), saved to `models/loras/pi_h3_2step_dwd_adapter.safetensors`\n\n- Download [pi_h3_4step_dwd_adapter_int8_convrot.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_4step_dwd_adapter_int8_convrot.safetensors) and save it to \n<br>`models/loras/pi_h3_4step_dwd_adapter_int8_convrot.safetensors`\n\n Alternative full-precision version: [pi_h3_4step_dwd_adapter/diffusion_pytorch_model.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_4step_dwd_adapter/diffusion_pytorch_model.safetensors), saved to `models/loras/pi_h3_4step_dwd_adapter.safetensors`\n\n**Text encoder**\n\n- Download [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) and save it to\n<br>`models/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors`\n\n**VAE**\n\n- Download [minimax_h3_video_vae_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors) and save it to\n<br>`models/vae/minimax_h3_video_vae_int8_convrot.safetensors`\n\n The video VAE only encodes the first and last frames, and decodes the video in the workflow without DWD.\n\n- Download [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors) and save it to\n<br>`models/vae/minimax_h3_audio_vae_fp32.safetensors`\n\n**Model Storage Location**\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── minimax_h3_fl2va_pruned_int8_convrot.safetensors\n│ ├── 📂 loras/\n│ │ ├── pi_h3_2step_dwd_adapter_int8_convrot.safetensors\n│ │ └── pi_h3_4step_dwd_adapter_int8_convrot.safetensors\n│ ├── 📂 vae/\n│ │ ├── minimax_h3_video_vae_int8_convrot.safetensors\n│ │ └── minimax_h3_audio_vae_fp32.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors\n```\n\n## Sampler steps\n\n`steps` on `pi-H3 Adapter (2 or 4 steps)` selects the adapter and its recommended `max_raw_t` (0.93 for 2 steps, 0.96 for 4 steps). `final_step_size_scale` is 0.6. `ModelSamplingMiniMaxH3` sets the video and audio shifts (12 and 3 by default).\n\n## Sparse attention\n\n`MiniMax H3 Spark Attention (SM120)` (Spark-Attn, for RTX 50 series and RTX PRO Blackwell GPUs) speeds up sampling. It comes from [Spark-H3](https://github.com/zechengtang/Spark-H3): see the pi-H3 docs of ComfyUI-piFlow for installation. Use the workflow for your GPU, or bypass the node to use dense attention."
1356
+ ],
1357
+ "color": "#432",
1358
+ "bgcolor": "#653"
1359
+ },
1360
+ {
1361
+ "id": 39,
1362
+ "type": "356a2ff0-98d5-4fa9-9bbd-452cccf6966f",
1363
+ "pos": [
1364
+ 30,
1365
+ 334
1366
+ ],
1367
+ "size": [
1368
+ 270,
1369
+ 154
1370
+ ],
1371
+ "flags": {},
1372
+ "order": 15,
1373
+ "mode": 0,
1374
+ "inputs": [
1375
+ {
1376
+ "localized_name": "model",
1377
+ "name": "model",
1378
+ "type": "MODEL",
1379
+ "link": 42
1380
+ },
1381
+ {
1382
+ "name": "steps",
1383
+ "type": "INT",
1384
+ "widget": {
1385
+ "name": "steps"
1386
+ },
1387
+ "link": null
1388
+ },
1389
+ {
1390
+ "name": "2-step adapter",
1391
+ "type": "COMBO",
1392
+ "widget": {
1393
+ "name": "2-step adapter"
1394
+ },
1395
+ "link": null
1396
+ },
1397
+ {
1398
+ "name": "4-step adapter",
1399
+ "type": "COMBO",
1400
+ "widget": {
1401
+ "name": "4-step adapter"
1402
+ },
1403
+ "link": null
1404
+ }
1405
+ ],
1406
+ "outputs": [
1407
+ {
1408
+ "label": "steps",
1409
+ "localized_name": "INT",
1410
+ "name": "INT",
1411
+ "type": "INT",
1412
+ "links": [
1413
+ 43,
1414
+ 54
1415
+ ]
1416
+ },
1417
+ {
1418
+ "label": "max_raw_t",
1419
+ "localized_name": "FLOAT",
1420
+ "name": "FLOAT",
1421
+ "type": "FLOAT",
1422
+ "links": [
1423
+ 44
1424
+ ]
1425
+ },
1426
+ {
1427
+ "label": "model",
1428
+ "localized_name": "output",
1429
+ "name": "output",
1430
+ "type": "MODEL",
1431
+ "links": [
1432
+ 45
1433
+ ]
1434
+ }
1435
+ ],
1436
+ "title": "pi-H3 Adapter for HyperFlow (2 or 4 steps)",
1437
+ "properties": {
1438
+ "previewExposures": []
1439
+ },
1440
+ "widgets_values": [
1441
+ 4,
1442
+ "pi_h3_2step_dwd_adapter_int8_convrot.safetensors",
1443
+ "pi_h3_4step_dwd_adapter_int8_convrot.safetensors"
1444
+ ]
1445
+ },
1446
+ {
1447
+ "id": 40,
1448
+ "type": "a74d60af-3935-41b1-a4bc-a21f1fa87ceb",
1449
+ "pos": [
1450
+ 470,
1451
+ 250
1452
+ ],
1453
+ "size": [
1454
+ 270,
1455
+ 58
1456
+ ],
1457
+ "flags": {},
1458
+ "order": 10,
1459
+ "mode": 0,
1460
+ "inputs": [
1461
+ {
1462
+ "name": "seconds",
1463
+ "type": "FLOAT",
1464
+ "widget": {
1465
+ "name": "seconds"
1466
+ },
1467
+ "link": null
1468
+ }
1469
+ ],
1470
+ "outputs": [
1471
+ {
1472
+ "label": "length",
1473
+ "localized_name": "INT",
1474
+ "name": "INT",
1475
+ "type": "INT",
1476
+ "links": [
1477
+ 49
1478
+ ]
1479
+ }
1480
+ ],
1481
+ "title": "Duration",
1482
+ "properties": {
1483
+ "previewExposures": []
1484
+ },
1485
+ "widgets_values": [
1486
+ 5
1487
+ ]
1488
+ },
1489
+ {
1490
+ "id": 20,
1491
+ "type": "MiniMaxH3SparkAttentionSM120",
1492
+ "pos": [
1493
+ 970,
1494
+ 182
1495
+ ],
1496
+ "size": [
1497
+ 320,
1498
+ 442
1499
+ ],
1500
+ "flags": {},
1501
+ "order": 11,
1502
+ "mode": 0,
1503
+ "inputs": [
1504
+ {
1505
+ "localized_name": "model",
1506
+ "name": "model",
1507
+ "type": "MODEL",
1508
+ "link": 51
1509
+ },
1510
+ {
1511
+ "localized_name": "mode",
1512
+ "name": "mode",
1513
+ "type": "COMBO",
1514
+ "widget": {
1515
+ "name": "mode"
1516
+ },
1517
+ "link": null
1518
+ },
1519
+ {
1520
+ "localized_name": "steps",
1521
+ "name": "steps",
1522
+ "type": "INT",
1523
+ "widget": {
1524
+ "name": "steps"
1525
+ },
1526
+ "link": 54
1527
+ },
1528
+ {
1529
+ "localized_name": "warmup_mode",
1530
+ "name": "warmup_mode",
1531
+ "type": "COMBO",
1532
+ "widget": {
1533
+ "name": "warmup_mode"
1534
+ },
1535
+ "link": null
1536
+ },
1537
+ {
1538
+ "localized_name": "warmup_ratio",
1539
+ "name": "warmup_ratio",
1540
+ "type": "FLOAT",
1541
+ "widget": {
1542
+ "name": "warmup_ratio"
1543
+ },
1544
+ "link": null
1545
+ },
1546
+ {
1547
+ "localized_name": "warmup_steps",
1548
+ "name": "warmup_steps",
1549
+ "type": "INT",
1550
+ "widget": {
1551
+ "name": "warmup_steps"
1552
+ },
1553
+ "link": null
1554
+ },
1555
+ {
1556
+ "localized_name": "topk_mode",
1557
+ "name": "topk_mode",
1558
+ "type": "COMBO",
1559
+ "widget": {
1560
+ "name": "topk_mode"
1561
+ },
1562
+ "link": null
1563
+ },
1564
+ {
1565
+ "localized_name": "topk_ratio",
1566
+ "name": "topk_ratio",
1567
+ "type": "FLOAT",
1568
+ "widget": {
1569
+ "name": "topk_ratio"
1570
+ },
1571
+ "link": null
1572
+ },
1573
+ {
1574
+ "localized_name": "topk_blocks",
1575
+ "name": "topk_blocks",
1576
+ "type": "INT",
1577
+ "widget": {
1578
+ "name": "topk_blocks"
1579
+ },
1580
+ "link": null
1581
+ },
1582
+ {
1583
+ "localized_name": "dense_layers",
1584
+ "name": "dense_layers",
1585
+ "type": "INT",
1586
+ "widget": {
1587
+ "name": "dense_layers"
1588
+ },
1589
+ "link": null
1590
+ },
1591
+ {
1592
+ "localized_name": "min_tokens",
1593
+ "name": "min_tokens",
1594
+ "type": "INT",
1595
+ "widget": {
1596
+ "name": "min_tokens"
1597
+ },
1598
+ "link": null
1599
+ },
1600
+ {
1601
+ "localized_name": "strict",
1602
+ "name": "strict",
1603
+ "type": "BOOLEAN",
1604
+ "widget": {
1605
+ "name": "strict"
1606
+ },
1607
+ "link": null
1608
+ },
1609
+ {
1610
+ "localized_name": "dense_backend",
1611
+ "name": "dense_backend",
1612
+ "shape": 7,
1613
+ "type": "COMBO",
1614
+ "widget": {
1615
+ "name": "dense_backend"
1616
+ },
1617
+ "link": null
1618
+ },
1619
+ {
1620
+ "localized_name": "tail_granularity",
1621
+ "name": "tail_granularity",
1622
+ "shape": 7,
1623
+ "type": "COMBO",
1624
+ "widget": {
1625
+ "name": "tail_granularity"
1626
+ },
1627
+ "link": null
1628
+ },
1629
+ {
1630
+ "localized_name": "reblock_layout",
1631
+ "name": "reblock_layout",
1632
+ "shape": 7,
1633
+ "type": "COMBO",
1634
+ "widget": {
1635
+ "name": "reblock_layout"
1636
+ },
1637
+ "link": null
1638
+ },
1639
+ {
1640
+ "localized_name": "sparse_scope",
1641
+ "name": "sparse_scope",
1642
+ "shape": 7,
1643
+ "type": "COMBO",
1644
+ "widget": {
1645
+ "name": "sparse_scope"
1646
+ },
1647
+ "link": null
1648
+ },
1649
+ {
1650
+ "localized_name": "producer_chunk",
1651
+ "name": "producer_chunk",
1652
+ "shape": 7,
1653
+ "type": "INT",
1654
+ "widget": {
1655
+ "name": "producer_chunk"
1656
+ },
1657
+ "link": null
1658
+ },
1659
+ {
1660
+ "localized_name": "chunk_path",
1661
+ "name": "chunk_path",
1662
+ "shape": 7,
1663
+ "type": "COMBO",
1664
+ "widget": {
1665
+ "name": "chunk_path"
1666
+ },
1667
+ "link": null
1668
+ }
1669
+ ],
1670
+ "outputs": [
1671
+ {
1672
+ "localized_name": "MODEL",
1673
+ "name": "MODEL",
1674
+ "type": "MODEL",
1675
+ "links": [
1676
+ 52,
1677
+ 53
1678
+ ]
1679
+ }
1680
+ ],
1681
+ "properties": {
1682
+ "Node name for S&R": "MiniMaxH3SparkAttentionSM120"
1683
+ },
1684
+ "widgets_values": [
1685
+ "speed",
1686
+ 20,
1687
+ "warmup_ratio",
1688
+ 0,
1689
+ 4,
1690
+ "topk_ratio",
1691
+ 0.2,
1692
+ 228,
1693
+ 0,
1694
+ 12288,
1695
+ true,
1696
+ "inherit",
1697
+ "query",
1698
+ "q_reuse_k",
1699
+ "target-video",
1700
+ 16384,
1701
+ "none"
1702
+ ]
1703
+ }
1704
+ ],
1705
+ "links": [
1706
+ [
1707
+ 2,
1708
+ 3,
1709
+ 0,
1710
+ 6,
1711
+ 0,
1712
+ "CLIP"
1713
+ ],
1714
+ [
1715
+ 3,
1716
+ 4,
1717
+ 0,
1718
+ 6,
1719
+ 1,
1720
+ "VAE"
1721
+ ],
1722
+ [
1723
+ 4,
1724
+ 30,
1725
+ 0,
1726
+ 6,
1727
+ 5,
1728
+ "INT"
1729
+ ],
1730
+ [
1731
+ 5,
1732
+ 30,
1733
+ 1,
1734
+ 6,
1735
+ 6,
1736
+ "INT"
1737
+ ],
1738
+ [
1739
+ 7,
1740
+ 23,
1741
+ 0,
1742
+ 6,
1743
+ 2,
1744
+ "IMAGE"
1745
+ ],
1746
+ [
1747
+ 8,
1748
+ 24,
1749
+ 0,
1750
+ 6,
1751
+ 3,
1752
+ "IMAGE"
1753
+ ],
1754
+ [
1755
+ 11,
1756
+ 6,
1757
+ 0,
1758
+ 9,
1759
+ 1,
1760
+ "CONDITIONING"
1761
+ ],
1762
+ [
1763
+ 12,
1764
+ 10,
1765
+ 0,
1766
+ 11,
1767
+ 0,
1768
+ "NOISE"
1769
+ ],
1770
+ [
1771
+ 13,
1772
+ 9,
1773
+ 0,
1774
+ 11,
1775
+ 1,
1776
+ "GUIDER"
1777
+ ],
1778
+ [
1779
+ 14,
1780
+ 7,
1781
+ 0,
1782
+ 11,
1783
+ 2,
1784
+ "SAMPLER"
1785
+ ],
1786
+ [
1787
+ 15,
1788
+ 8,
1789
+ 0,
1790
+ 11,
1791
+ 3,
1792
+ "SIGMAS"
1793
+ ],
1794
+ [
1795
+ 16,
1796
+ 6,
1797
+ 1,
1798
+ 11,
1799
+ 4,
1800
+ "LATENT"
1801
+ ],
1802
+ [
1803
+ 17,
1804
+ 11,
1805
+ 0,
1806
+ 12,
1807
+ 0,
1808
+ "LATENT"
1809
+ ],
1810
+ [
1811
+ 18,
1812
+ 11,
1813
+ 0,
1814
+ 13,
1815
+ 0,
1816
+ "LATENT"
1817
+ ],
1818
+ [
1819
+ 19,
1820
+ 5,
1821
+ 0,
1822
+ 13,
1823
+ 1,
1824
+ "VAE"
1825
+ ],
1826
+ [
1827
+ 20,
1828
+ 12,
1829
+ 0,
1830
+ 14,
1831
+ 0,
1832
+ "IMAGE"
1833
+ ],
1834
+ [
1835
+ 21,
1836
+ 13,
1837
+ 0,
1838
+ 14,
1839
+ 1,
1840
+ "AUDIO"
1841
+ ],
1842
+ [
1843
+ 23,
1844
+ 1,
1845
+ 0,
1846
+ 17,
1847
+ 0,
1848
+ "MODEL"
1849
+ ],
1850
+ [
1851
+ 26,
1852
+ 21,
1853
+ 0,
1854
+ 23,
1855
+ 0,
1856
+ "IMAGE"
1857
+ ],
1858
+ [
1859
+ 27,
1860
+ 30,
1861
+ 0,
1862
+ 23,
1863
+ 2,
1864
+ "INT"
1865
+ ],
1866
+ [
1867
+ 28,
1868
+ 30,
1869
+ 1,
1870
+ 23,
1871
+ 3,
1872
+ "INT"
1873
+ ],
1874
+ [
1875
+ 29,
1876
+ 22,
1877
+ 0,
1878
+ 24,
1879
+ 0,
1880
+ "IMAGE"
1881
+ ],
1882
+ [
1883
+ 30,
1884
+ 30,
1885
+ 0,
1886
+ 24,
1887
+ 2,
1888
+ "INT"
1889
+ ],
1890
+ [
1891
+ 31,
1892
+ 30,
1893
+ 1,
1894
+ 24,
1895
+ 3,
1896
+ "INT"
1897
+ ],
1898
+ [
1899
+ 42,
1900
+ 17,
1901
+ 0,
1902
+ 39,
1903
+ 0,
1904
+ "MODEL"
1905
+ ],
1906
+ [
1907
+ 43,
1908
+ 39,
1909
+ 0,
1910
+ 8,
1911
+ 1,
1912
+ "INT"
1913
+ ],
1914
+ [
1915
+ 44,
1916
+ 39,
1917
+ 1,
1918
+ 8,
1919
+ 3,
1920
+ "FLOAT"
1921
+ ],
1922
+ [
1923
+ 45,
1924
+ 39,
1925
+ 2,
1926
+ 19,
1927
+ 0,
1928
+ "MODEL"
1929
+ ],
1930
+ [
1931
+ 49,
1932
+ 40,
1933
+ 0,
1934
+ 6,
1935
+ 7,
1936
+ "INT"
1937
+ ],
1938
+ [
1939
+ 22,
1940
+ 14,
1941
+ 0,
1942
+ 15,
1943
+ 0,
1944
+ "VIDEO"
1945
+ ],
1946
+ [
1947
+ 51,
1948
+ 19,
1949
+ 0,
1950
+ 20,
1951
+ 0,
1952
+ "MODEL"
1953
+ ],
1954
+ [
1955
+ 52,
1956
+ 20,
1957
+ 0,
1958
+ 8,
1959
+ 0,
1960
+ "MODEL"
1961
+ ],
1962
+ [
1963
+ 53,
1964
+ 20,
1965
+ 0,
1966
+ 9,
1967
+ 0,
1968
+ "MODEL"
1969
+ ],
1970
+ [
1971
+ 54,
1972
+ 39,
1973
+ 0,
1974
+ 20,
1975
+ 2,
1976
+ "INT"
1977
+ ]
1978
+ ],
1979
+ "groups": [
1980
+ {
1981
+ "id": 1,
1982
+ "title": "Step1 - Load models",
1983
+ "bounding": [
1984
+ 10,
1985
+ -50,
1986
+ 310,
1987
+ 1040
1988
+ ],
1989
+ "color": "#3f789e",
1990
+ "flags": {}
1991
+ },
1992
+ {
1993
+ "id": 2,
1994
+ "title": "Step2 - Video size and duration",
1995
+ "bounding": [
1996
+ 450,
1997
+ -50,
1998
+ 440,
1999
+ 418
2000
+ ],
2001
+ "color": "#3f789e",
2002
+ "flags": {}
2003
+ },
2004
+ {
2005
+ "id": 3,
2006
+ "title": "Step3 - Prompt",
2007
+ "bounding": [
2008
+ 450,
2009
+ 368,
2010
+ 460,
2011
+ 560
2012
+ ],
2013
+ "color": "#3f789e",
2014
+ "flags": {}
2015
+ },
2016
+ {
2017
+ "id": 4,
2018
+ "title": "Optional - First and last frames",
2019
+ "bounding": [
2020
+ 450,
2021
+ 968,
2022
+ 540,
2023
+ 620
2024
+ ],
2025
+ "color": "#3f789e",
2026
+ "flags": {}
2027
+ },
2028
+ {
2029
+ "id": 5,
2030
+ "title": "Step4 - Sampling",
2031
+ "bounding": [
2032
+ 950,
2033
+ -50,
2034
+ 330,
2035
+ 1290
2036
+ ],
2037
+ "color": "#3f789e",
2038
+ "flags": {}
2039
+ }
2040
+ ],
2041
+ "definitions": {
2042
+ "subgraphs": [
2043
+ {
2044
+ "id": "356a2ff0-98d5-4fa9-9bbd-452cccf6966f",
2045
+ "version": 1,
2046
+ "state": {
2047
+ "lastGroupId": 5,
2048
+ "lastNodeId": 40,
2049
+ "lastLinkId": 54,
2050
+ "lastRerouteId": 0
2051
+ },
2052
+ "revision": 0,
2053
+ "config": {},
2054
+ "name": "pi-H3 Adapter for HyperFlow",
2055
+ "inputNode": {
2056
+ "id": -10,
2057
+ "bounding": [
2058
+ -158,
2059
+ 324,
2060
+ 128,
2061
+ 68
2062
+ ]
2063
+ },
2064
+ "outputNode": {
2065
+ "id": -20,
2066
+ "bounding": [
2067
+ 1300,
2068
+ 304,
2069
+ 128,
2070
+ 108
2071
+ ]
2072
+ },
2073
+ "inputs": [
2074
+ {
2075
+ "id": "d52733e2-7307-4848-9bc1-edd76cc707b8",
2076
+ "name": "model",
2077
+ "type": "MODEL",
2078
+ "linkIds": [
2079
+ 1,
2080
+ 33
2081
+ ],
2082
+ "localized_name": "model",
2083
+ "pos": [
2084
+ 51,
2085
+ 24
2086
+ ]
2087
+ },
2088
+ {
2089
+ "id": "81c97db4-92f6-427a-9bb5-db34e3a442bb",
2090
+ "name": "steps",
2091
+ "type": "INT",
2092
+ "linkIds": [
2093
+ 46
2094
+ ],
2095
+ "pos": [
2096
+ 0,
2097
+ 0
2098
+ ]
2099
+ },
2100
+ {
2101
+ "id": "58ecdcd5-06af-4ca2-912c-2c60ae266bcf",
2102
+ "name": "2-step adapter",
2103
+ "type": "COMBO",
2104
+ "linkIds": [
2105
+ 47
2106
+ ],
2107
+ "pos": [
2108
+ 0,
2109
+ 0
2110
+ ]
2111
+ },
2112
+ {
2113
+ "id": "50f10d64-a0e9-4d82-ad1d-0a6fba648624",
2114
+ "name": "4-step adapter",
2115
+ "type": "COMBO",
2116
+ "linkIds": [
2117
+ 48
2118
+ ],
2119
+ "pos": [
2120
+ 0,
2121
+ 0
2122
+ ]
2123
+ }
2124
+ ],
2125
+ "outputs": [
2126
+ {
2127
+ "id": "2e5486c0-35fc-4606-936b-533f2a6c0a78",
2128
+ "name": "INT",
2129
+ "type": "INT",
2130
+ "linkIds": [
2131
+ 40
2132
+ ],
2133
+ "localized_name": "INT",
2134
+ "label": "steps",
2135
+ "pos": [
2136
+ 24,
2137
+ 24
2138
+ ]
2139
+ },
2140
+ {
2141
+ "id": "08b25231-24df-4cd0-a94a-663209cea5c6",
2142
+ "name": "FLOAT",
2143
+ "type": "FLOAT",
2144
+ "linkIds": [
2145
+ 41
2146
+ ],
2147
+ "localized_name": "FLOAT",
2148
+ "label": "max_raw_t",
2149
+ "pos": [
2150
+ 24,
2151
+ 44
2152
+ ]
2153
+ },
2154
+ {
2155
+ "id": "6635e991-4bb5-43d0-89b5-d56f02dfeda4",
2156
+ "name": "output",
2157
+ "type": "MODEL",
2158
+ "linkIds": [
2159
+ 36
2160
+ ],
2161
+ "localized_name": "output",
2162
+ "label": "model",
2163
+ "pos": [
2164
+ 24,
2165
+ 64
2166
+ ]
2167
+ }
2168
+ ],
2169
+ "widgets": [],
2170
+ "nodes": [
2171
+ {
2172
+ "id": 36,
2173
+ "type": "PrimitiveInt",
2174
+ "pos": [
2175
+ 970,
2176
+ 30
2177
+ ],
2178
+ "size": [
2179
+ 270,
2180
+ 82
2181
+ ],
2182
+ "flags": {},
2183
+ "order": 3,
2184
+ "mode": 0,
2185
+ "inputs": [
2186
+ {
2187
+ "localized_name": "value",
2188
+ "name": "value",
2189
+ "type": "INT",
2190
+ "widget": {
2191
+ "name": "value"
2192
+ },
2193
+ "link": 46
2194
+ }
2195
+ ],
2196
+ "outputs": [
2197
+ {
2198
+ "localized_name": "INT",
2199
+ "name": "INT",
2200
+ "type": "INT",
2201
+ "links": [
2202
+ 37,
2203
+ 38,
2204
+ 40
2205
+ ]
2206
+ }
2207
+ ],
2208
+ "title": "Steps (2 or 4)",
2209
+ "properties": {
2210
+ "Node name for S&R": "PrimitiveInt"
2211
+ },
2212
+ "widgets_values": [
2213
+ 4,
2214
+ "fixed"
2215
+ ]
2216
+ },
2217
+ {
2218
+ "id": 37,
2219
+ "type": "ComfyMathExpression",
2220
+ "pos": [
2221
+ 970,
2222
+ 182
2223
+ ],
2224
+ "size": [
2225
+ 270,
2226
+ 150
2227
+ ],
2228
+ "flags": {},
2229
+ "order": 4,
2230
+ "mode": 0,
2231
+ "inputs": [
2232
+ {
2233
+ "localized_name": "a",
2234
+ "name": "values.a",
2235
+ "type": "FLOAT,INT,BOOLEAN",
2236
+ "link": 37
2237
+ },
2238
+ {
2239
+ "localized_name": "b",
2240
+ "name": "values.b",
2241
+ "shape": 7,
2242
+ "type": "FLOAT,INT,BOOLEAN",
2243
+ "link": null
2244
+ },
2245
+ {
2246
+ "localized_name": "expression",
2247
+ "name": "expression",
2248
+ "type": "STRING",
2249
+ "widget": {
2250
+ "name": "expression"
2251
+ },
2252
+ "link": null
2253
+ }
2254
+ ],
2255
+ "outputs": [
2256
+ {
2257
+ "localized_name": "FLOAT",
2258
+ "name": "FLOAT",
2259
+ "type": "FLOAT",
2260
+ "links": null
2261
+ },
2262
+ {
2263
+ "localized_name": "INT",
2264
+ "name": "INT",
2265
+ "type": "INT",
2266
+ "links": null
2267
+ },
2268
+ {
2269
+ "localized_name": "BOOL",
2270
+ "name": "BOOL",
2271
+ "type": "BOOLEAN",
2272
+ "links": [
2273
+ 39
2274
+ ]
2275
+ }
2276
+ ],
2277
+ "title": "4-step adapter?",
2278
+ "properties": {
2279
+ "Node name for S&R": "ComfyMathExpression"
2280
+ },
2281
+ "widgets_values": [
2282
+ "a > 2"
2283
+ ]
2284
+ },
2285
+ {
2286
+ "id": 38,
2287
+ "type": "ComfyMathExpression",
2288
+ "pos": [
2289
+ 970,
2290
+ 402
2291
+ ],
2292
+ "size": [
2293
+ 270,
2294
+ 150
2295
+ ],
2296
+ "flags": {},
2297
+ "order": 5,
2298
+ "mode": 0,
2299
+ "inputs": [
2300
+ {
2301
+ "localized_name": "a",
2302
+ "name": "values.a",
2303
+ "type": "FLOAT,INT,BOOLEAN",
2304
+ "link": 38
2305
+ },
2306
+ {
2307
+ "localized_name": "b",
2308
+ "name": "values.b",
2309
+ "shape": 7,
2310
+ "type": "FLOAT,INT,BOOLEAN",
2311
+ "link": null
2312
+ },
2313
+ {
2314
+ "localized_name": "expression",
2315
+ "name": "expression",
2316
+ "type": "STRING",
2317
+ "widget": {
2318
+ "name": "expression"
2319
+ },
2320
+ "link": null
2321
+ }
2322
+ ],
2323
+ "outputs": [
2324
+ {
2325
+ "localized_name": "FLOAT",
2326
+ "name": "FLOAT",
2327
+ "type": "FLOAT",
2328
+ "links": [
2329
+ 41
2330
+ ]
2331
+ },
2332
+ {
2333
+ "localized_name": "INT",
2334
+ "name": "INT",
2335
+ "type": "INT",
2336
+ "links": null
2337
+ },
2338
+ {
2339
+ "localized_name": "BOOL",
2340
+ "name": "BOOL",
2341
+ "type": "BOOLEAN",
2342
+ "links": null
2343
+ }
2344
+ ],
2345
+ "title": "max_raw_t",
2346
+ "properties": {
2347
+ "Node name for S&R": "ComfyMathExpression"
2348
+ },
2349
+ "widgets_values": [
2350
+ "0.96 if a > 2 else 0.93"
2351
+ ]
2352
+ },
2353
+ {
2354
+ "id": 2,
2355
+ "type": "PiH3HyperFlowAdapter",
2356
+ "pos": [
2357
+ 30,
2358
+ 334
2359
+ ],
2360
+ "size": [
2361
+ 330,
2362
+ 178
2363
+ ],
2364
+ "flags": {},
2365
+ "order": 0,
2366
+ "mode": 0,
2367
+ "inputs": [
2368
+ {
2369
+ "localized_name": "model",
2370
+ "name": "model",
2371
+ "type": "MODEL",
2372
+ "link": 1
2373
+ },
2374
+ {
2375
+ "localized_name": "adapter_name",
2376
+ "name": "adapter_name",
2377
+ "type": "COMBO",
2378
+ "widget": {
2379
+ "name": "adapter_name"
2380
+ },
2381
+ "link": 47
2382
+ },
2383
+ {
2384
+ "localized_name": "adapter_strength",
2385
+ "name": "adapter_strength",
2386
+ "type": "FLOAT",
2387
+ "widget": {
2388
+ "name": "adapter_strength"
2389
+ },
2390
+ "link": null
2391
+ },
2392
+ {
2393
+ "localized_name": "time_path",
2394
+ "name": "time_path",
2395
+ "type": "COMBO",
2396
+ "widget": {
2397
+ "name": "time_path"
2398
+ },
2399
+ "link": null
2400
+ },
2401
+ {
2402
+ "localized_name": "stock_base",
2403
+ "name": "stock_base",
2404
+ "type": "COMBO",
2405
+ "widget": {
2406
+ "name": "stock_base"
2407
+ },
2408
+ "link": null
2409
+ },
2410
+ {
2411
+ "localized_name": "lora_mode",
2412
+ "name": "lora_mode",
2413
+ "type": "COMBO",
2414
+ "widget": {
2415
+ "name": "lora_mode"
2416
+ },
2417
+ "link": null
2418
+ },
2419
+ {
2420
+ "localized_name": "dropped_blocks",
2421
+ "name": "dropped_blocks",
2422
+ "type": "STRING",
2423
+ "widget": {
2424
+ "name": "dropped_blocks"
2425
+ },
2426
+ "link": null
2427
+ }
2428
+ ],
2429
+ "outputs": [
2430
+ {
2431
+ "localized_name": "MODEL",
2432
+ "name": "MODEL",
2433
+ "type": "MODEL",
2434
+ "links": [
2435
+ 34
2436
+ ]
2437
+ }
2438
+ ],
2439
+ "title": "Load 2-step adapter",
2440
+ "properties": {
2441
+ "Node name for S&R": "PiH3HyperFlowAdapter"
2442
+ },
2443
+ "widgets_values": [
2444
+ "pi_h3_2step_dwd_adapter_int8_convrot.safetensors",
2445
+ 1,
2446
+ "pi-H3 (stock H3 time curve)",
2447
+ "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
2448
+ "bypass (keeps the file's weights)",
2449
+ "auto"
2450
+ ]
2451
+ },
2452
+ {
2453
+ "id": 34,
2454
+ "type": "PiH3HyperFlowAdapter",
2455
+ "pos": [
2456
+ 30,
2457
+ 486
2458
+ ],
2459
+ "size": [
2460
+ 330,
2461
+ 178
2462
+ ],
2463
+ "flags": {},
2464
+ "order": 1,
2465
+ "mode": 0,
2466
+ "inputs": [
2467
+ {
2468
+ "localized_name": "model",
2469
+ "name": "model",
2470
+ "type": "MODEL",
2471
+ "link": 33
2472
+ },
2473
+ {
2474
+ "localized_name": "adapter_name",
2475
+ "name": "adapter_name",
2476
+ "type": "COMBO",
2477
+ "widget": {
2478
+ "name": "adapter_name"
2479
+ },
2480
+ "link": 48
2481
+ },
2482
+ {
2483
+ "localized_name": "adapter_strength",
2484
+ "name": "adapter_strength",
2485
+ "type": "FLOAT",
2486
+ "widget": {
2487
+ "name": "adapter_strength"
2488
+ },
2489
+ "link": null
2490
+ },
2491
+ {
2492
+ "localized_name": "time_path",
2493
+ "name": "time_path",
2494
+ "type": "COMBO",
2495
+ "widget": {
2496
+ "name": "time_path"
2497
+ },
2498
+ "link": null
2499
+ },
2500
+ {
2501
+ "localized_name": "stock_base",
2502
+ "name": "stock_base",
2503
+ "type": "COMBO",
2504
+ "widget": {
2505
+ "name": "stock_base"
2506
+ },
2507
+ "link": null
2508
+ },
2509
+ {
2510
+ "localized_name": "lora_mode",
2511
+ "name": "lora_mode",
2512
+ "type": "COMBO",
2513
+ "widget": {
2514
+ "name": "lora_mode"
2515
+ },
2516
+ "link": null
2517
+ },
2518
+ {
2519
+ "localized_name": "dropped_blocks",
2520
+ "name": "dropped_blocks",
2521
+ "type": "STRING",
2522
+ "widget": {
2523
+ "name": "dropped_blocks"
2524
+ },
2525
+ "link": null
2526
+ }
2527
+ ],
2528
+ "outputs": [
2529
+ {
2530
+ "localized_name": "MODEL",
2531
+ "name": "MODEL",
2532
+ "type": "MODEL",
2533
+ "links": [
2534
+ 35
2535
+ ]
2536
+ }
2537
+ ],
2538
+ "title": "Load 4-step adapter",
2539
+ "properties": {
2540
+ "Node name for S&R": "PiH3HyperFlowAdapter"
2541
+ },
2542
+ "widgets_values": [
2543
+ "pi_h3_4step_dwd_adapter_int8_convrot.safetensors",
2544
+ 1,
2545
+ "pi-H3 (stock H3 time curve)",
2546
+ "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
2547
+ "bypass (keeps the file's weights)",
2548
+ "auto"
2549
+ ]
2550
+ },
2551
+ {
2552
+ "id": 35,
2553
+ "type": "ComfySwitchNode",
2554
+ "pos": [
2555
+ 30,
2556
+ 638
2557
+ ],
2558
+ "size": [
2559
+ 270,
2560
+ 78
2561
+ ],
2562
+ "flags": {},
2563
+ "order": 2,
2564
+ "mode": 0,
2565
+ "inputs": [
2566
+ {
2567
+ "localized_name": "on_false",
2568
+ "name": "on_false",
2569
+ "shape": 7,
2570
+ "type": "MODEL",
2571
+ "link": 34
2572
+ },
2573
+ {
2574
+ "localized_name": "on_true",
2575
+ "name": "on_true",
2576
+ "shape": 7,
2577
+ "type": "MODEL",
2578
+ "link": 35
2579
+ },
2580
+ {
2581
+ "localized_name": "switch",
2582
+ "name": "switch",
2583
+ "type": "BOOLEAN",
2584
+ "widget": {
2585
+ "name": "switch"
2586
+ },
2587
+ "link": 39
2588
+ }
2589
+ ],
2590
+ "outputs": [
2591
+ {
2592
+ "localized_name": "output",
2593
+ "name": "output",
2594
+ "type": "MODEL",
2595
+ "links": [
2596
+ 36
2597
+ ]
2598
+ }
2599
+ ],
2600
+ "title": "Adapter for the steps",
2601
+ "properties": {
2602
+ "Node name for S&R": "ComfySwitchNode"
2603
+ },
2604
+ "widgets_values": [
2605
+ false
2606
+ ]
2607
+ }
2608
+ ],
2609
+ "groups": [],
2610
+ "links": [
2611
+ {
2612
+ "id": 34,
2613
+ "origin_id": 2,
2614
+ "origin_slot": 0,
2615
+ "target_id": 35,
2616
+ "target_slot": 0,
2617
+ "type": "MODEL"
2618
+ },
2619
+ {
2620
+ "id": 35,
2621
+ "origin_id": 34,
2622
+ "origin_slot": 0,
2623
+ "target_id": 35,
2624
+ "target_slot": 1,
2625
+ "type": "MODEL"
2626
+ },
2627
+ {
2628
+ "id": 39,
2629
+ "origin_id": 37,
2630
+ "origin_slot": 2,
2631
+ "target_id": 35,
2632
+ "target_slot": 2,
2633
+ "type": "BOOLEAN"
2634
+ },
2635
+ {
2636
+ "id": 1,
2637
+ "origin_id": -10,
2638
+ "origin_slot": 0,
2639
+ "target_id": 2,
2640
+ "target_slot": 0,
2641
+ "type": "MODEL"
2642
+ },
2643
+ {
2644
+ "id": 33,
2645
+ "origin_id": -10,
2646
+ "origin_slot": 0,
2647
+ "target_id": 34,
2648
+ "target_slot": 0,
2649
+ "type": "MODEL"
2650
+ },
2651
+ {
2652
+ "id": 40,
2653
+ "origin_id": 36,
2654
+ "origin_slot": 0,
2655
+ "target_id": -20,
2656
+ "target_slot": 0,
2657
+ "type": "INT"
2658
+ },
2659
+ {
2660
+ "id": 41,
2661
+ "origin_id": 38,
2662
+ "origin_slot": 0,
2663
+ "target_id": -20,
2664
+ "target_slot": 1,
2665
+ "type": "FLOAT"
2666
+ },
2667
+ {
2668
+ "id": 36,
2669
+ "origin_id": 35,
2670
+ "origin_slot": 0,
2671
+ "target_id": -20,
2672
+ "target_slot": 2,
2673
+ "type": "MODEL"
2674
+ },
2675
+ {
2676
+ "id": 46,
2677
+ "origin_id": -10,
2678
+ "origin_slot": 1,
2679
+ "target_id": 36,
2680
+ "target_slot": 0,
2681
+ "type": "INT"
2682
+ },
2683
+ {
2684
+ "id": 47,
2685
+ "origin_id": -10,
2686
+ "origin_slot": 2,
2687
+ "target_id": 2,
2688
+ "target_slot": 1,
2689
+ "type": "COMBO"
2690
+ },
2691
+ {
2692
+ "id": 48,
2693
+ "origin_id": -10,
2694
+ "origin_slot": 3,
2695
+ "target_id": 34,
2696
+ "target_slot": 1,
2697
+ "type": "COMBO"
2698
+ },
2699
+ {
2700
+ "id": 37,
2701
+ "origin_id": 36,
2702
+ "origin_slot": 0,
2703
+ "target_id": 37,
2704
+ "target_slot": 0,
2705
+ "type": "INT"
2706
+ },
2707
+ {
2708
+ "id": 38,
2709
+ "origin_id": 36,
2710
+ "origin_slot": 0,
2711
+ "target_id": 38,
2712
+ "target_slot": 0,
2713
+ "type": "INT"
2714
+ }
2715
+ ],
2716
+ "extra": {}
2717
+ },
2718
+ {
2719
+ "id": "a74d60af-3935-41b1-a4bc-a21f1fa87ceb",
2720
+ "version": 1,
2721
+ "state": {
2722
+ "lastGroupId": 5,
2723
+ "lastNodeId": 40,
2724
+ "lastLinkId": 54,
2725
+ "lastRerouteId": 0
2726
+ },
2727
+ "revision": 0,
2728
+ "config": {},
2729
+ "name": "Frame Count",
2730
+ "inputNode": {
2731
+ "id": -10,
2732
+ "bounding": [
2733
+ 282,
2734
+ 375,
2735
+ 128,
2736
+ 48
2737
+ ]
2738
+ },
2739
+ "outputNode": {
2740
+ "id": -20,
2741
+ "bounding": [
2742
+ 930,
2743
+ 365,
2744
+ 128,
2745
+ 68
2746
+ ]
2747
+ },
2748
+ "inputs": [
2749
+ {
2750
+ "id": "d0484a8e-11dc-4ba1-8a63-cfa9900f9865",
2751
+ "name": "seconds",
2752
+ "type": "FLOAT",
2753
+ "linkIds": [
2754
+ 50
2755
+ ],
2756
+ "pos": [
2757
+ 0,
2758
+ 0
2759
+ ]
2760
+ }
2761
+ ],
2762
+ "outputs": [
2763
+ {
2764
+ "id": "6ce08b9d-e5b9-4bb7-8e98-355cbdcb21a2",
2765
+ "name": "INT",
2766
+ "type": "INT",
2767
+ "linkIds": [
2768
+ 6
2769
+ ],
2770
+ "localized_name": "INT",
2771
+ "label": "length",
2772
+ "pos": [
2773
+ 24,
2774
+ 24
2775
+ ]
2776
+ }
2777
+ ],
2778
+ "widgets": [],
2779
+ "nodes": [
2780
+ {
2781
+ "id": 31,
2782
+ "type": "PrimitiveFloat",
2783
+ "pos": [
2784
+ 470,
2785
+ 250
2786
+ ],
2787
+ "size": [
2788
+ 270,
2789
+ 58
2790
+ ],
2791
+ "flags": {},
2792
+ "order": 0,
2793
+ "mode": 0,
2794
+ "inputs": [
2795
+ {
2796
+ "localized_name": "value",
2797
+ "name": "value",
2798
+ "type": "FLOAT",
2799
+ "widget": {
2800
+ "name": "value"
2801
+ },
2802
+ "link": 50
2803
+ }
2804
+ ],
2805
+ "outputs": [
2806
+ {
2807
+ "localized_name": "FLOAT",
2808
+ "name": "FLOAT",
2809
+ "type": "FLOAT",
2810
+ "links": [
2811
+ 32
2812
+ ]
2813
+ }
2814
+ ],
2815
+ "title": "Duration (seconds)",
2816
+ "properties": {
2817
+ "Node name for S&R": "PrimitiveFloat"
2818
+ },
2819
+ "widgets_values": [
2820
+ 5
2821
+ ]
2822
+ },
2823
+ {
2824
+ "id": 32,
2825
+ "type": "ComfyMathExpression",
2826
+ "pos": [
2827
+ 470,
2828
+ 378
2829
+ ],
2830
+ "size": [
2831
+ 400,
2832
+ 200
2833
+ ],
2834
+ "flags": {},
2835
+ "order": 1,
2836
+ "mode": 0,
2837
+ "inputs": [
2838
+ {
2839
+ "localized_name": "a",
2840
+ "name": "values.a",
2841
+ "type": "FLOAT,INT,BOOLEAN",
2842
+ "link": 32
2843
+ },
2844
+ {
2845
+ "localized_name": "b",
2846
+ "name": "values.b",
2847
+ "shape": 7,
2848
+ "type": "FLOAT,INT,BOOLEAN",
2849
+ "link": null
2850
+ },
2851
+ {
2852
+ "localized_name": "expression",
2853
+ "name": "expression",
2854
+ "type": "STRING",
2855
+ "widget": {
2856
+ "name": "expression"
2857
+ },
2858
+ "link": null
2859
+ }
2860
+ ],
2861
+ "outputs": [
2862
+ {
2863
+ "localized_name": "FLOAT",
2864
+ "name": "FLOAT",
2865
+ "type": "FLOAT",
2866
+ "links": null
2867
+ },
2868
+ {
2869
+ "localized_name": "INT",
2870
+ "name": "INT",
2871
+ "type": "INT",
2872
+ "links": [
2873
+ 6
2874
+ ]
2875
+ },
2876
+ {
2877
+ "localized_name": "BOOL",
2878
+ "name": "BOOL",
2879
+ "type": "BOOLEAN",
2880
+ "links": null
2881
+ }
2882
+ ],
2883
+ "title": "Frame count",
2884
+ "properties": {
2885
+ "Node name for S&R": "ComfyMathExpression"
2886
+ },
2887
+ "widgets_values": [
2888
+ "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
2889
+ ]
2890
+ }
2891
+ ],
2892
+ "groups": [],
2893
+ "links": [
2894
+ {
2895
+ "id": 6,
2896
+ "origin_id": 32,
2897
+ "origin_slot": 1,
2898
+ "target_id": -20,
2899
+ "target_slot": 0,
2900
+ "type": "INT"
2901
+ },
2902
+ {
2903
+ "id": 50,
2904
+ "origin_id": -10,
2905
+ "origin_slot": 0,
2906
+ "target_id": 31,
2907
+ "target_slot": 0,
2908
+ "type": "FLOAT"
2909
+ },
2910
+ {
2911
+ "id": 32,
2912
+ "origin_id": 31,
2913
+ "origin_slot": 0,
2914
+ "target_id": 32,
2915
+ "target_slot": 0,
2916
+ "type": "FLOAT"
2917
+ }
2918
+ ],
2919
+ "extra": {}
2920
+ }
2921
+ ]
2922
+ },
2923
+ "config": {},
2924
+ "extra": {
2925
+ "ds": {
2926
+ "scale": 0.45,
2927
+ "offset": [
2928
+ 680,
2929
+ 120
2930
+ ]
2931
+ }
2932
+ },
2933
+ "version": 0.4
2934
+ }
piH3_Official_480p_MaxSpeed_NVENC_T2VA_BennyDaBall.json ADDED
@@ -0,0 +1,2720 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "ce5c0ef8-9b93-434c-a3a8-75831e754d06",
3
+ "revision": 0,
4
+ "last_node_id": 40,
5
+ "last_link_id": 54,
6
+ "nodes": [
7
+ {
8
+ "id": 1,
9
+ "type": "UNETLoader",
10
+ "pos": [
11
+ 30,
12
+ 30
13
+ ],
14
+ "size": [
15
+ 270,
16
+ 82
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [
22
+ {
23
+ "localized_name": "unet_name",
24
+ "name": "unet_name",
25
+ "type": "COMBO",
26
+ "widget": {
27
+ "name": "unet_name"
28
+ },
29
+ "link": null
30
+ },
31
+ {
32
+ "localized_name": "weight_dtype",
33
+ "name": "weight_dtype",
34
+ "type": "COMBO",
35
+ "widget": {
36
+ "name": "weight_dtype"
37
+ },
38
+ "link": null
39
+ }
40
+ ],
41
+ "outputs": [
42
+ {
43
+ "localized_name": "MODEL",
44
+ "name": "MODEL",
45
+ "type": "MODEL",
46
+ "links": [
47
+ 23
48
+ ]
49
+ }
50
+ ],
51
+ "properties": {
52
+ "Node name for S&R": "UNETLoader"
53
+ },
54
+ "widgets_values": [
55
+ "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
56
+ "default"
57
+ ]
58
+ },
59
+ {
60
+ "id": 3,
61
+ "type": "CLIPLoader",
62
+ "pos": [
63
+ 30,
64
+ 558
65
+ ],
66
+ "size": [
67
+ 270,
68
+ 106
69
+ ],
70
+ "flags": {},
71
+ "order": 1,
72
+ "mode": 0,
73
+ "inputs": [
74
+ {
75
+ "localized_name": "clip_name",
76
+ "name": "clip_name",
77
+ "type": "COMBO",
78
+ "widget": {
79
+ "name": "clip_name"
80
+ },
81
+ "link": null
82
+ },
83
+ {
84
+ "localized_name": "type",
85
+ "name": "type",
86
+ "type": "COMBO",
87
+ "widget": {
88
+ "name": "type"
89
+ },
90
+ "link": null
91
+ },
92
+ {
93
+ "localized_name": "device",
94
+ "name": "device",
95
+ "shape": 7,
96
+ "type": "COMBO",
97
+ "widget": {
98
+ "name": "device"
99
+ },
100
+ "link": null
101
+ }
102
+ ],
103
+ "outputs": [
104
+ {
105
+ "localized_name": "CLIP",
106
+ "name": "CLIP",
107
+ "type": "CLIP",
108
+ "links": [
109
+ 2
110
+ ]
111
+ }
112
+ ],
113
+ "properties": {
114
+ "Node name for S&R": "CLIPLoader"
115
+ },
116
+ "widgets_values": [
117
+ "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
118
+ "minimax",
119
+ "default"
120
+ ]
121
+ },
122
+ {
123
+ "id": 4,
124
+ "type": "VAELoader",
125
+ "pos": [
126
+ 30,
127
+ 734
128
+ ],
129
+ "size": [
130
+ 270,
131
+ 58
132
+ ],
133
+ "flags": {},
134
+ "order": 2,
135
+ "mode": 0,
136
+ "inputs": [
137
+ {
138
+ "localized_name": "vae_name",
139
+ "name": "vae_name",
140
+ "type": "COMBO",
141
+ "widget": {
142
+ "name": "vae_name"
143
+ },
144
+ "link": null
145
+ }
146
+ ],
147
+ "outputs": [
148
+ {
149
+ "localized_name": "VAE",
150
+ "name": "VAE",
151
+ "type": "VAE",
152
+ "links": [
153
+ 3
154
+ ]
155
+ }
156
+ ],
157
+ "title": "Load VAE (video)",
158
+ "properties": {
159
+ "Node name for S&R": "VAELoader"
160
+ },
161
+ "widgets_values": [
162
+ "minimax_h3_video_vae_int8_convrot.safetensors"
163
+ ]
164
+ },
165
+ {
166
+ "id": 5,
167
+ "type": "VAELoader",
168
+ "pos": [
169
+ 30,
170
+ 862
171
+ ],
172
+ "size": [
173
+ 270,
174
+ 58
175
+ ],
176
+ "flags": {},
177
+ "order": 3,
178
+ "mode": 0,
179
+ "inputs": [
180
+ {
181
+ "localized_name": "vae_name",
182
+ "name": "vae_name",
183
+ "type": "COMBO",
184
+ "widget": {
185
+ "name": "vae_name"
186
+ },
187
+ "link": null
188
+ }
189
+ ],
190
+ "outputs": [
191
+ {
192
+ "localized_name": "VAE",
193
+ "name": "VAE",
194
+ "type": "VAE",
195
+ "links": [
196
+ 19
197
+ ]
198
+ }
199
+ ],
200
+ "title": "Load VAE (audio)",
201
+ "properties": {
202
+ "Node name for S&R": "VAELoader"
203
+ },
204
+ "widgets_values": [
205
+ "minimax_h3_audio_vae_fp32.safetensors"
206
+ ]
207
+ },
208
+ {
209
+ "id": 6,
210
+ "type": "MiniMaxH3ImageToVideo",
211
+ "pos": [
212
+ 470,
213
+ 448
214
+ ],
215
+ "size": [
216
+ 420,
217
+ 460
218
+ ],
219
+ "flags": {},
220
+ "order": 16,
221
+ "mode": 0,
222
+ "inputs": [
223
+ {
224
+ "localized_name": "clip",
225
+ "name": "clip",
226
+ "type": "CLIP",
227
+ "link": 2
228
+ },
229
+ {
230
+ "localized_name": "vae",
231
+ "name": "vae",
232
+ "type": "VAE",
233
+ "link": 3
234
+ },
235
+ {
236
+ "localized_name": "first_frame",
237
+ "name": "first_frame",
238
+ "shape": 7,
239
+ "type": "IMAGE",
240
+ "link": 7
241
+ },
242
+ {
243
+ "localized_name": "last_frame",
244
+ "name": "last_frame",
245
+ "shape": 7,
246
+ "type": "IMAGE",
247
+ "link": 8
248
+ },
249
+ {
250
+ "localized_name": "prompt",
251
+ "name": "prompt",
252
+ "type": "STRING",
253
+ "widget": {
254
+ "name": "prompt"
255
+ },
256
+ "link": null
257
+ },
258
+ {
259
+ "localized_name": "width",
260
+ "name": "width",
261
+ "type": "INT",
262
+ "widget": {
263
+ "name": "width"
264
+ },
265
+ "link": 4
266
+ },
267
+ {
268
+ "localized_name": "height",
269
+ "name": "height",
270
+ "type": "INT",
271
+ "widget": {
272
+ "name": "height"
273
+ },
274
+ "link": 5
275
+ },
276
+ {
277
+ "localized_name": "length",
278
+ "name": "length",
279
+ "type": "INT",
280
+ "widget": {
281
+ "name": "length"
282
+ },
283
+ "link": 49
284
+ }
285
+ ],
286
+ "outputs": [
287
+ {
288
+ "localized_name": "positive",
289
+ "name": "positive",
290
+ "type": "CONDITIONING",
291
+ "links": [
292
+ 11
293
+ ]
294
+ },
295
+ {
296
+ "localized_name": "LATENT",
297
+ "name": "LATENT",
298
+ "type": "LATENT",
299
+ "links": [
300
+ 16
301
+ ]
302
+ }
303
+ ],
304
+ "properties": {
305
+ "Node name for S&R": "MiniMaxH3ImageToVideo"
306
+ },
307
+ "widgets_values": [
308
+ "",
309
+ 1344,
310
+ 768,
311
+ 124
312
+ ]
313
+ },
314
+ {
315
+ "id": 7,
316
+ "type": "KSamplerSelect",
317
+ "pos": [
318
+ 970,
319
+ 894
320
+ ],
321
+ "size": [
322
+ 270,
323
+ 58
324
+ ],
325
+ "flags": {},
326
+ "order": 4,
327
+ "mode": 0,
328
+ "inputs": [
329
+ {
330
+ "localized_name": "sampler_name",
331
+ "name": "sampler_name",
332
+ "type": "COMBO",
333
+ "widget": {
334
+ "name": "sampler_name"
335
+ },
336
+ "link": null
337
+ }
338
+ ],
339
+ "outputs": [
340
+ {
341
+ "localized_name": "SAMPLER",
342
+ "name": "SAMPLER",
343
+ "type": "SAMPLER",
344
+ "links": [
345
+ 14
346
+ ]
347
+ }
348
+ ],
349
+ "properties": {
350
+ "Node name for S&R": "KSamplerSelect"
351
+ },
352
+ "widgets_values": [
353
+ "euler"
354
+ ]
355
+ },
356
+ {
357
+ "id": 8,
358
+ "type": "pi-Flow Scheduler",
359
+ "pos": [
360
+ 970,
361
+ 694
362
+ ],
363
+ "size": [
364
+ 281.62109375,
365
+ 130
366
+ ],
367
+ "flags": {},
368
+ "order": 17,
369
+ "mode": 0,
370
+ "inputs": [
371
+ {
372
+ "localized_name": "model",
373
+ "name": "model",
374
+ "type": "MODEL",
375
+ "link": 52
376
+ },
377
+ {
378
+ "localized_name": "steps",
379
+ "name": "steps",
380
+ "type": "INT",
381
+ "widget": {
382
+ "name": "steps"
383
+ },
384
+ "link": 43
385
+ },
386
+ {
387
+ "localized_name": "min_raw_t",
388
+ "name": "min_raw_t",
389
+ "type": "FLOAT",
390
+ "widget": {
391
+ "name": "min_raw_t"
392
+ },
393
+ "link": null
394
+ },
395
+ {
396
+ "localized_name": "max_raw_t",
397
+ "name": "max_raw_t",
398
+ "type": "FLOAT",
399
+ "widget": {
400
+ "name": "max_raw_t"
401
+ },
402
+ "link": 44
403
+ },
404
+ {
405
+ "localized_name": "final_step_size_scale",
406
+ "name": "final_step_size_scale",
407
+ "type": "FLOAT",
408
+ "widget": {
409
+ "name": "final_step_size_scale"
410
+ },
411
+ "link": null
412
+ }
413
+ ],
414
+ "outputs": [
415
+ {
416
+ "localized_name": "SIGMAS",
417
+ "name": "SIGMAS",
418
+ "type": "SIGMAS",
419
+ "links": [
420
+ 15
421
+ ]
422
+ }
423
+ ],
424
+ "properties": {
425
+ "Node name for S&R": "pi-Flow Scheduler"
426
+ },
427
+ "widgets_values": [
428
+ 2,
429
+ 0,
430
+ 0.93,
431
+ 0.6
432
+ ]
433
+ },
434
+ {
435
+ "id": 9,
436
+ "type": "BasicGuider",
437
+ "pos": [
438
+ 970,
439
+ 1174
440
+ ],
441
+ "size": [
442
+ 159.568359375,
443
+ 46
444
+ ],
445
+ "flags": {},
446
+ "order": 19,
447
+ "mode": 0,
448
+ "inputs": [
449
+ {
450
+ "localized_name": "model",
451
+ "name": "model",
452
+ "type": "MODEL",
453
+ "link": 53
454
+ },
455
+ {
456
+ "localized_name": "conditioning",
457
+ "name": "conditioning",
458
+ "type": "CONDITIONING",
459
+ "link": 11
460
+ }
461
+ ],
462
+ "outputs": [
463
+ {
464
+ "localized_name": "GUIDER",
465
+ "name": "GUIDER",
466
+ "type": "GUIDER",
467
+ "links": [
468
+ 13
469
+ ]
470
+ }
471
+ ],
472
+ "properties": {
473
+ "Node name for S&R": "BasicGuider"
474
+ }
475
+ },
476
+ {
477
+ "id": 10,
478
+ "type": "RandomNoise",
479
+ "pos": [
480
+ 970,
481
+ 1022
482
+ ],
483
+ "size": [
484
+ 270,
485
+ 82
486
+ ],
487
+ "flags": {},
488
+ "order": 5,
489
+ "mode": 0,
490
+ "inputs": [
491
+ {
492
+ "localized_name": "noise_seed",
493
+ "name": "noise_seed",
494
+ "type": "INT",
495
+ "widget": {
496
+ "name": "noise_seed"
497
+ },
498
+ "link": null
499
+ }
500
+ ],
501
+ "outputs": [
502
+ {
503
+ "localized_name": "NOISE",
504
+ "name": "NOISE",
505
+ "type": "NOISE",
506
+ "links": [
507
+ 12
508
+ ]
509
+ }
510
+ ],
511
+ "properties": {
512
+ "Node name for S&R": "RandomNoise"
513
+ },
514
+ "widgets_values": [
515
+ 42,
516
+ "randomize"
517
+ ]
518
+ },
519
+ {
520
+ "id": 11,
521
+ "type": "SamplerCustomAdvanced",
522
+ "pos": [
523
+ 1400,
524
+ 30
525
+ ],
526
+ "size": [
527
+ 420,
528
+ 520
529
+ ],
530
+ "flags": {},
531
+ "order": 20,
532
+ "mode": 0,
533
+ "inputs": [
534
+ {
535
+ "localized_name": "noise",
536
+ "name": "noise",
537
+ "type": "NOISE",
538
+ "link": 12
539
+ },
540
+ {
541
+ "localized_name": "guider",
542
+ "name": "guider",
543
+ "type": "GUIDER",
544
+ "link": 13
545
+ },
546
+ {
547
+ "localized_name": "sampler",
548
+ "name": "sampler",
549
+ "type": "SAMPLER",
550
+ "link": 14
551
+ },
552
+ {
553
+ "localized_name": "sigmas",
554
+ "name": "sigmas",
555
+ "type": "SIGMAS",
556
+ "link": 15
557
+ },
558
+ {
559
+ "localized_name": "latent_image",
560
+ "name": "latent_image",
561
+ "type": "LATENT",
562
+ "link": 16
563
+ }
564
+ ],
565
+ "outputs": [
566
+ {
567
+ "localized_name": "output",
568
+ "name": "output",
569
+ "type": "LATENT",
570
+ "links": [
571
+ 17,
572
+ 18
573
+ ]
574
+ },
575
+ {
576
+ "localized_name": "denoised_output",
577
+ "name": "denoised_output",
578
+ "type": "LATENT",
579
+ "links": null
580
+ }
581
+ ],
582
+ "properties": {
583
+ "Node name for S&R": "SamplerCustomAdvanced"
584
+ }
585
+ },
586
+ {
587
+ "id": 12,
588
+ "type": "DWD Decode",
589
+ "pos": [
590
+ 1400,
591
+ 620
592
+ ],
593
+ "size": [
594
+ 140,
595
+ 26
596
+ ],
597
+ "flags": {},
598
+ "order": 21,
599
+ "mode": 0,
600
+ "inputs": [
601
+ {
602
+ "localized_name": "samples",
603
+ "name": "samples",
604
+ "type": "LATENT",
605
+ "link": 17
606
+ }
607
+ ],
608
+ "outputs": [
609
+ {
610
+ "localized_name": "IMAGE",
611
+ "name": "IMAGE",
612
+ "type": "IMAGE",
613
+ "links": [
614
+ 20
615
+ ]
616
+ }
617
+ ],
618
+ "properties": {
619
+ "Node name for S&R": "DWD Decode"
620
+ }
621
+ },
622
+ {
623
+ "id": 13,
624
+ "type": "VAEDecodeAudio",
625
+ "pos": [
626
+ 1400,
627
+ 716
628
+ ],
629
+ "size": [
630
+ 164.2388671875,
631
+ 46
632
+ ],
633
+ "flags": {},
634
+ "order": 22,
635
+ "mode": 0,
636
+ "inputs": [
637
+ {
638
+ "localized_name": "samples",
639
+ "name": "samples",
640
+ "type": "LATENT",
641
+ "link": 18
642
+ },
643
+ {
644
+ "localized_name": "vae",
645
+ "name": "vae",
646
+ "type": "VAE",
647
+ "link": 19
648
+ }
649
+ ],
650
+ "outputs": [
651
+ {
652
+ "localized_name": "AUDIO",
653
+ "name": "AUDIO",
654
+ "type": "AUDIO",
655
+ "links": [
656
+ 21
657
+ ]
658
+ }
659
+ ],
660
+ "properties": {
661
+ "Node name for S&R": "VAEDecodeAudio"
662
+ }
663
+ },
664
+ {
665
+ "id": 17,
666
+ "type": "LoraLoaderModelOnly",
667
+ "pos": [
668
+ 30,
669
+ 182
670
+ ],
671
+ "size": [
672
+ 270,
673
+ 82
674
+ ],
675
+ "flags": {},
676
+ "order": 12,
677
+ "mode": 4,
678
+ "inputs": [
679
+ {
680
+ "localized_name": "model",
681
+ "name": "model",
682
+ "type": "MODEL",
683
+ "link": 23
684
+ },
685
+ {
686
+ "localized_name": "lora_name",
687
+ "name": "lora_name",
688
+ "type": "COMBO",
689
+ "widget": {
690
+ "name": "lora_name"
691
+ },
692
+ "link": null
693
+ },
694
+ {
695
+ "localized_name": "strength_model",
696
+ "name": "strength_model",
697
+ "type": "FLOAT",
698
+ "widget": {
699
+ "name": "strength_model"
700
+ },
701
+ "link": null
702
+ }
703
+ ],
704
+ "outputs": [
705
+ {
706
+ "localized_name": "MODEL",
707
+ "name": "MODEL",
708
+ "type": "MODEL",
709
+ "links": [
710
+ 42
711
+ ]
712
+ }
713
+ ],
714
+ "title": "Load LoRA (optional)",
715
+ "properties": {
716
+ "Node name for S&R": "LoraLoaderModelOnly"
717
+ },
718
+ "widgets_values": [
719
+ "your_h3_lora.safetensors",
720
+ 1
721
+ ]
722
+ },
723
+ {
724
+ "id": 19,
725
+ "type": "MiniMaxH3SigmaShift",
726
+ "pos": [
727
+ 970,
728
+ 30
729
+ ],
730
+ "size": [
731
+ 277.2857421875,
732
+ 82
733
+ ],
734
+ "flags": {},
735
+ "order": 18,
736
+ "mode": 0,
737
+ "inputs": [
738
+ {
739
+ "localized_name": "model",
740
+ "name": "model",
741
+ "type": "MODEL",
742
+ "link": 45
743
+ },
744
+ {
745
+ "localized_name": "shift_video",
746
+ "name": "shift_video",
747
+ "type": "FLOAT",
748
+ "widget": {
749
+ "name": "shift_video"
750
+ },
751
+ "link": null
752
+ },
753
+ {
754
+ "localized_name": "shift_audio",
755
+ "name": "shift_audio",
756
+ "type": "FLOAT",
757
+ "widget": {
758
+ "name": "shift_audio"
759
+ },
760
+ "link": null
761
+ }
762
+ ],
763
+ "outputs": [
764
+ {
765
+ "localized_name": "MODEL",
766
+ "name": "MODEL",
767
+ "type": "MODEL",
768
+ "links": [
769
+ 51
770
+ ]
771
+ }
772
+ ],
773
+ "properties": {
774
+ "Node name for S&R": "MiniMaxH3SigmaShift"
775
+ },
776
+ "widgets_values": [
777
+ 12,
778
+ 3
779
+ ]
780
+ },
781
+ {
782
+ "id": 21,
783
+ "type": "LoadImage",
784
+ "pos": [
785
+ 470,
786
+ 1048
787
+ ],
788
+ "size": [
789
+ 222.798828125,
790
+ 320
791
+ ],
792
+ "flags": {},
793
+ "order": 6,
794
+ "mode": 4,
795
+ "inputs": [
796
+ {
797
+ "localized_name": "image",
798
+ "name": "image",
799
+ "type": "COMBO",
800
+ "widget": {
801
+ "name": "image"
802
+ },
803
+ "link": null
804
+ },
805
+ {
806
+ "localized_name": "choose file to upload",
807
+ "name": "upload",
808
+ "type": "IMAGEUPLOAD",
809
+ "widget": {
810
+ "name": "upload"
811
+ },
812
+ "link": null
813
+ }
814
+ ],
815
+ "outputs": [
816
+ {
817
+ "localized_name": "IMAGE",
818
+ "name": "IMAGE",
819
+ "type": "IMAGE",
820
+ "links": [
821
+ 26
822
+ ]
823
+ },
824
+ {
825
+ "localized_name": "MASK",
826
+ "name": "MASK",
827
+ "type": "MASK",
828
+ "links": null
829
+ }
830
+ ],
831
+ "title": "First frame",
832
+ "properties": {
833
+ "Node name for S&R": "LoadImage"
834
+ },
835
+ "widgets_values": [
836
+ "example.png",
837
+ "image"
838
+ ]
839
+ },
840
+ {
841
+ "id": 22,
842
+ "type": "LoadImage",
843
+ "pos": [
844
+ 700,
845
+ 1048
846
+ ],
847
+ "size": [
848
+ 222.798828125,
849
+ 320
850
+ ],
851
+ "flags": {},
852
+ "order": 7,
853
+ "mode": 4,
854
+ "inputs": [
855
+ {
856
+ "localized_name": "image",
857
+ "name": "image",
858
+ "type": "COMBO",
859
+ "widget": {
860
+ "name": "image"
861
+ },
862
+ "link": null
863
+ },
864
+ {
865
+ "localized_name": "choose file to upload",
866
+ "name": "upload",
867
+ "type": "IMAGEUPLOAD",
868
+ "widget": {
869
+ "name": "upload"
870
+ },
871
+ "link": null
872
+ }
873
+ ],
874
+ "outputs": [
875
+ {
876
+ "localized_name": "IMAGE",
877
+ "name": "IMAGE",
878
+ "type": "IMAGE",
879
+ "links": [
880
+ 29
881
+ ]
882
+ },
883
+ {
884
+ "localized_name": "MASK",
885
+ "name": "MASK",
886
+ "type": "MASK",
887
+ "links": null
888
+ }
889
+ ],
890
+ "title": "Last frame",
891
+ "properties": {
892
+ "Node name for S&R": "LoadImage"
893
+ },
894
+ "widgets_values": [
895
+ "example.png",
896
+ "image"
897
+ ]
898
+ },
899
+ {
900
+ "id": 23,
901
+ "type": "ImageScale",
902
+ "pos": [
903
+ 470,
904
+ 1438
905
+ ],
906
+ "size": [
907
+ 270,
908
+ 130
909
+ ],
910
+ "flags": {},
911
+ "order": 13,
912
+ "mode": 4,
913
+ "inputs": [
914
+ {
915
+ "localized_name": "image",
916
+ "name": "image",
917
+ "type": "IMAGE",
918
+ "link": 26
919
+ },
920
+ {
921
+ "localized_name": "upscale_method",
922
+ "name": "upscale_method",
923
+ "type": "COMBO",
924
+ "widget": {
925
+ "name": "upscale_method"
926
+ },
927
+ "link": null
928
+ },
929
+ {
930
+ "localized_name": "width",
931
+ "name": "width",
932
+ "type": "INT",
933
+ "widget": {
934
+ "name": "width"
935
+ },
936
+ "link": 27
937
+ },
938
+ {
939
+ "localized_name": "height",
940
+ "name": "height",
941
+ "type": "INT",
942
+ "widget": {
943
+ "name": "height"
944
+ },
945
+ "link": 28
946
+ },
947
+ {
948
+ "localized_name": "crop",
949
+ "name": "crop",
950
+ "type": "COMBO",
951
+ "widget": {
952
+ "name": "crop"
953
+ },
954
+ "link": null
955
+ }
956
+ ],
957
+ "outputs": [
958
+ {
959
+ "localized_name": "IMAGE",
960
+ "name": "IMAGE",
961
+ "type": "IMAGE",
962
+ "links": [
963
+ 7
964
+ ]
965
+ }
966
+ ],
967
+ "title": "Resize first frame",
968
+ "properties": {
969
+ "Node name for S&R": "ImageScale"
970
+ },
971
+ "widgets_values": [
972
+ "lanczos",
973
+ 512,
974
+ 512,
975
+ "center"
976
+ ]
977
+ },
978
+ {
979
+ "id": 24,
980
+ "type": "ImageScale",
981
+ "pos": [
982
+ 700,
983
+ 1438
984
+ ],
985
+ "size": [
986
+ 270,
987
+ 130
988
+ ],
989
+ "flags": {},
990
+ "order": 14,
991
+ "mode": 4,
992
+ "inputs": [
993
+ {
994
+ "localized_name": "image",
995
+ "name": "image",
996
+ "type": "IMAGE",
997
+ "link": 29
998
+ },
999
+ {
1000
+ "localized_name": "upscale_method",
1001
+ "name": "upscale_method",
1002
+ "type": "COMBO",
1003
+ "widget": {
1004
+ "name": "upscale_method"
1005
+ },
1006
+ "link": null
1007
+ },
1008
+ {
1009
+ "localized_name": "width",
1010
+ "name": "width",
1011
+ "type": "INT",
1012
+ "widget": {
1013
+ "name": "width"
1014
+ },
1015
+ "link": 30
1016
+ },
1017
+ {
1018
+ "localized_name": "height",
1019
+ "name": "height",
1020
+ "type": "INT",
1021
+ "widget": {
1022
+ "name": "height"
1023
+ },
1024
+ "link": 31
1025
+ },
1026
+ {
1027
+ "localized_name": "crop",
1028
+ "name": "crop",
1029
+ "type": "COMBO",
1030
+ "widget": {
1031
+ "name": "crop"
1032
+ },
1033
+ "link": null
1034
+ }
1035
+ ],
1036
+ "outputs": [
1037
+ {
1038
+ "localized_name": "IMAGE",
1039
+ "name": "IMAGE",
1040
+ "type": "IMAGE",
1041
+ "links": [
1042
+ 8
1043
+ ]
1044
+ }
1045
+ ],
1046
+ "title": "Resize last frame",
1047
+ "properties": {
1048
+ "Node name for S&R": "ImageScale"
1049
+ },
1050
+ "widgets_values": [
1051
+ "lanczos",
1052
+ 512,
1053
+ 512,
1054
+ "center"
1055
+ ]
1056
+ },
1057
+ {
1058
+ "id": 30,
1059
+ "type": "ResolutionSelector",
1060
+ "pos": [
1061
+ 470,
1062
+ 30
1063
+ ],
1064
+ "size": [
1065
+ 270,
1066
+ 150
1067
+ ],
1068
+ "flags": {},
1069
+ "order": 8,
1070
+ "mode": 0,
1071
+ "inputs": [
1072
+ {
1073
+ "localized_name": "aspect_ratio",
1074
+ "name": "aspect_ratio",
1075
+ "type": "COMBO",
1076
+ "widget": {
1077
+ "name": "aspect_ratio"
1078
+ },
1079
+ "link": null
1080
+ },
1081
+ {
1082
+ "localized_name": "megapixels",
1083
+ "name": "megapixels",
1084
+ "type": "FLOAT",
1085
+ "widget": {
1086
+ "name": "megapixels"
1087
+ },
1088
+ "link": null
1089
+ },
1090
+ {
1091
+ "localized_name": "multiple",
1092
+ "name": "multiple",
1093
+ "type": "INT",
1094
+ "widget": {
1095
+ "name": "multiple"
1096
+ },
1097
+ "link": null
1098
+ },
1099
+ {
1100
+ "localized_name": "preview",
1101
+ "name": "preview",
1102
+ "shape": 7,
1103
+ "type": "RESOLUTION_PREVIEW",
1104
+ "widget": {
1105
+ "name": "preview"
1106
+ },
1107
+ "link": null
1108
+ }
1109
+ ],
1110
+ "outputs": [
1111
+ {
1112
+ "localized_name": "width",
1113
+ "name": "width",
1114
+ "type": "INT",
1115
+ "links": [
1116
+ 4,
1117
+ 27,
1118
+ 30
1119
+ ]
1120
+ },
1121
+ {
1122
+ "localized_name": "height",
1123
+ "name": "height",
1124
+ "type": "INT",
1125
+ "links": [
1126
+ 5,
1127
+ 28,
1128
+ 31
1129
+ ]
1130
+ }
1131
+ ],
1132
+ "properties": {
1133
+ "Node name for S&R": "ResolutionSelector"
1134
+ },
1135
+ "widgets_values": [
1136
+ "16:9 (Widescreen)",
1137
+ 0.4,
1138
+ 32
1139
+ ]
1140
+ },
1141
+ {
1142
+ "id": 33,
1143
+ "type": "MarkdownNote",
1144
+ "pos": [
1145
+ -620,
1146
+ 0
1147
+ ],
1148
+ "size": [
1149
+ 600,
1150
+ 1298
1151
+ ],
1152
+ "flags": {},
1153
+ "order": 9,
1154
+ "mode": 0,
1155
+ "inputs": [],
1156
+ "outputs": [],
1157
+ "title": "Model links",
1158
+ "properties": {},
1159
+ "widgets_values": [
1160
+ "## pi-H3 max speed, 480p\n\nThe author's pi-H3 DWD + Spark-Attn workflow (ComfyUI-piFlow) with two changes for speed:\n\n- **Resolution** 864x480 (Resolution Selector 16:9 at 0.40 MP). Set 0.97 for 1344x768.\n- **Save** with VideoHelperSuite Video Combine on NVENC (`video/nvenc_h264-mp4`, GPU H.264, 10 Mbit, AAC audio) in place of Create Video + Save Video, which encode on the CPU. The clip with sound is the `-audio.mp4` file.\n\nRTX 5090, 5s with audio, 2 steps, warm: about 4.7 to 4.9s per clip once the prompt is encoded (about 6s with the stock save). A new prompt adds the text encode, and on a 32 GB card the first clip or two after it run slower while the model streams back into VRAM.\n\n---\n\n## pi-H3 FL2VA\n\nThis is an FL2VA (first-last-frame to video and audio) workflow. It generates a video with synchronized audio from a text prompt, optionally conditioned on a first frame, a last frame, or both.\n\n## Model links\n\n**Base model**\n\n- Download [minimax_h3_fl2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors) and save it to\n<br>`models/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors`\n\n**pi-H3 adapters**\n\n- Download [pi_h3_2step_dwd_adapter_int8_convrot.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_2step_dwd_adapter_int8_convrot.safetensors) and save it to \n<br>`models/loras/pi_h3_2step_dwd_adapter_int8_convrot.safetensors`\n\n Alternative full-precision version: [pi_h3_2step_dwd_adapter/diffusion_pytorch_model.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_2step_dwd_adapter/diffusion_pytorch_model.safetensors), saved to `models/loras/pi_h3_2step_dwd_adapter.safetensors`\n\n- Download [pi_h3_4step_dwd_adapter_int8_convrot.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_4step_dwd_adapter_int8_convrot.safetensors) and save it to \n<br>`models/loras/pi_h3_4step_dwd_adapter_int8_convrot.safetensors`\n\n Alternative full-precision version: [pi_h3_4step_dwd_adapter/diffusion_pytorch_model.safetensors](https://huggingface.co/Lakonik/pi-H3/resolve/main/pi_h3_4step_dwd_adapter/diffusion_pytorch_model.safetensors), saved to `models/loras/pi_h3_4step_dwd_adapter.safetensors`\n\n**Text encoder**\n\n- Download [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) and save it to\n<br>`models/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors`\n\n**VAE**\n\n- Download [minimax_h3_video_vae_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors) and save it to\n<br>`models/vae/minimax_h3_video_vae_int8_convrot.safetensors`\n\n The video VAE only encodes the first and last frames, and decodes the video in the workflow without DWD.\n\n- Download [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors) and save it to\n<br>`models/vae/minimax_h3_audio_vae_fp32.safetensors`\n\n**Model Storage Location**\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── minimax_h3_fl2va_pruned_int8_convrot.safetensors\n│ ├── 📂 loras/\n│ │ ├── pi_h3_2step_dwd_adapter_int8_convrot.safetensors\n│ │ └── pi_h3_4step_dwd_adapter_int8_convrot.safetensors\n│ ├── 📂 vae/\n│ │ ├── minimax_h3_video_vae_int8_convrot.safetensors\n│ │ └── minimax_h3_audio_vae_fp32.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors\n```\n\n## Sampler steps\n\n`steps` on `pi-H3 Adapter (2 or 4 steps)` selects the adapter and its recommended `max_raw_t` (0.93 for 2 steps, 0.96 for 4 steps). `final_step_size_scale` is 0.6. `ModelSamplingMiniMaxH3` sets the video and audio shifts (12 and 3 by default).\n\n## Sparse attention\n\n`MiniMax H3 Spark Attention (SM120)` (Spark-Attn, for RTX 50 series and RTX PRO Blackwell GPUs) speeds up sampling. It comes from [Spark-H3](https://github.com/zechengtang/Spark-H3): see the pi-H3 docs of ComfyUI-piFlow for installation. Use the workflow for your GPU, or bypass the node to use dense attention."
1161
+ ],
1162
+ "color": "#432",
1163
+ "bgcolor": "#653"
1164
+ },
1165
+ {
1166
+ "id": 39,
1167
+ "type": "356a2ff0-98d5-4fa9-9bbd-452cccf6966f",
1168
+ "pos": [
1169
+ 30,
1170
+ 334
1171
+ ],
1172
+ "size": [
1173
+ 270,
1174
+ 154
1175
+ ],
1176
+ "flags": {},
1177
+ "order": 15,
1178
+ "mode": 0,
1179
+ "inputs": [
1180
+ {
1181
+ "localized_name": "model",
1182
+ "name": "model",
1183
+ "type": "MODEL",
1184
+ "link": 42
1185
+ },
1186
+ {
1187
+ "name": "steps",
1188
+ "type": "INT",
1189
+ "widget": {
1190
+ "name": "steps"
1191
+ },
1192
+ "link": null
1193
+ },
1194
+ {
1195
+ "name": "2-step adapter",
1196
+ "type": "COMBO",
1197
+ "widget": {
1198
+ "name": "2-step adapter"
1199
+ },
1200
+ "link": null
1201
+ },
1202
+ {
1203
+ "name": "4-step adapter",
1204
+ "type": "COMBO",
1205
+ "widget": {
1206
+ "name": "4-step adapter"
1207
+ },
1208
+ "link": null
1209
+ }
1210
+ ],
1211
+ "outputs": [
1212
+ {
1213
+ "label": "steps",
1214
+ "localized_name": "INT",
1215
+ "name": "INT",
1216
+ "type": "INT",
1217
+ "links": [
1218
+ 43,
1219
+ 54
1220
+ ]
1221
+ },
1222
+ {
1223
+ "label": "max_raw_t",
1224
+ "localized_name": "FLOAT",
1225
+ "name": "FLOAT",
1226
+ "type": "FLOAT",
1227
+ "links": [
1228
+ 44
1229
+ ]
1230
+ },
1231
+ {
1232
+ "label": "model",
1233
+ "localized_name": "output",
1234
+ "name": "output",
1235
+ "type": "MODEL",
1236
+ "links": [
1237
+ 45
1238
+ ]
1239
+ }
1240
+ ],
1241
+ "title": "pi-H3 Adapter (2 or 4 steps)",
1242
+ "properties": {
1243
+ "previewExposures": []
1244
+ },
1245
+ "widgets_values": [
1246
+ 2,
1247
+ "pi_h3_2step_dwd_adapter_int8_convrot.safetensors",
1248
+ "pi_h3_4step_dwd_adapter_int8_convrot.safetensors"
1249
+ ]
1250
+ },
1251
+ {
1252
+ "id": 40,
1253
+ "type": "a74d60af-3935-41b1-a4bc-a21f1fa87ceb",
1254
+ "pos": [
1255
+ 470,
1256
+ 250
1257
+ ],
1258
+ "size": [
1259
+ 270,
1260
+ 58
1261
+ ],
1262
+ "flags": {},
1263
+ "order": 10,
1264
+ "mode": 0,
1265
+ "inputs": [
1266
+ {
1267
+ "name": "seconds",
1268
+ "type": "FLOAT",
1269
+ "widget": {
1270
+ "name": "seconds"
1271
+ },
1272
+ "link": null
1273
+ }
1274
+ ],
1275
+ "outputs": [
1276
+ {
1277
+ "label": "length",
1278
+ "localized_name": "INT",
1279
+ "name": "INT",
1280
+ "type": "INT",
1281
+ "links": [
1282
+ 49
1283
+ ]
1284
+ }
1285
+ ],
1286
+ "title": "Duration",
1287
+ "properties": {
1288
+ "previewExposures": []
1289
+ },
1290
+ "widgets_values": [
1291
+ 5
1292
+ ]
1293
+ },
1294
+ {
1295
+ "id": 20,
1296
+ "type": "MiniMaxH3SparkAttentionSM120",
1297
+ "pos": [
1298
+ 970,
1299
+ 182
1300
+ ],
1301
+ "size": [
1302
+ 320,
1303
+ 442
1304
+ ],
1305
+ "flags": {},
1306
+ "order": 11,
1307
+ "mode": 0,
1308
+ "inputs": [
1309
+ {
1310
+ "localized_name": "model",
1311
+ "name": "model",
1312
+ "type": "MODEL",
1313
+ "link": 51
1314
+ },
1315
+ {
1316
+ "localized_name": "mode",
1317
+ "name": "mode",
1318
+ "type": "COMBO",
1319
+ "widget": {
1320
+ "name": "mode"
1321
+ },
1322
+ "link": null
1323
+ },
1324
+ {
1325
+ "localized_name": "steps",
1326
+ "name": "steps",
1327
+ "type": "INT",
1328
+ "widget": {
1329
+ "name": "steps"
1330
+ },
1331
+ "link": 54
1332
+ },
1333
+ {
1334
+ "localized_name": "warmup_mode",
1335
+ "name": "warmup_mode",
1336
+ "type": "COMBO",
1337
+ "widget": {
1338
+ "name": "warmup_mode"
1339
+ },
1340
+ "link": null
1341
+ },
1342
+ {
1343
+ "localized_name": "warmup_ratio",
1344
+ "name": "warmup_ratio",
1345
+ "type": "FLOAT",
1346
+ "widget": {
1347
+ "name": "warmup_ratio"
1348
+ },
1349
+ "link": null
1350
+ },
1351
+ {
1352
+ "localized_name": "warmup_steps",
1353
+ "name": "warmup_steps",
1354
+ "type": "INT",
1355
+ "widget": {
1356
+ "name": "warmup_steps"
1357
+ },
1358
+ "link": null
1359
+ },
1360
+ {
1361
+ "localized_name": "topk_mode",
1362
+ "name": "topk_mode",
1363
+ "type": "COMBO",
1364
+ "widget": {
1365
+ "name": "topk_mode"
1366
+ },
1367
+ "link": null
1368
+ },
1369
+ {
1370
+ "localized_name": "topk_ratio",
1371
+ "name": "topk_ratio",
1372
+ "type": "FLOAT",
1373
+ "widget": {
1374
+ "name": "topk_ratio"
1375
+ },
1376
+ "link": null
1377
+ },
1378
+ {
1379
+ "localized_name": "topk_blocks",
1380
+ "name": "topk_blocks",
1381
+ "type": "INT",
1382
+ "widget": {
1383
+ "name": "topk_blocks"
1384
+ },
1385
+ "link": null
1386
+ },
1387
+ {
1388
+ "localized_name": "dense_layers",
1389
+ "name": "dense_layers",
1390
+ "type": "INT",
1391
+ "widget": {
1392
+ "name": "dense_layers"
1393
+ },
1394
+ "link": null
1395
+ },
1396
+ {
1397
+ "localized_name": "min_tokens",
1398
+ "name": "min_tokens",
1399
+ "type": "INT",
1400
+ "widget": {
1401
+ "name": "min_tokens"
1402
+ },
1403
+ "link": null
1404
+ },
1405
+ {
1406
+ "localized_name": "strict",
1407
+ "name": "strict",
1408
+ "type": "BOOLEAN",
1409
+ "widget": {
1410
+ "name": "strict"
1411
+ },
1412
+ "link": null
1413
+ },
1414
+ {
1415
+ "localized_name": "dense_backend",
1416
+ "name": "dense_backend",
1417
+ "shape": 7,
1418
+ "type": "COMBO",
1419
+ "widget": {
1420
+ "name": "dense_backend"
1421
+ },
1422
+ "link": null
1423
+ },
1424
+ {
1425
+ "localized_name": "tail_granularity",
1426
+ "name": "tail_granularity",
1427
+ "shape": 7,
1428
+ "type": "COMBO",
1429
+ "widget": {
1430
+ "name": "tail_granularity"
1431
+ },
1432
+ "link": null
1433
+ },
1434
+ {
1435
+ "localized_name": "reblock_layout",
1436
+ "name": "reblock_layout",
1437
+ "shape": 7,
1438
+ "type": "COMBO",
1439
+ "widget": {
1440
+ "name": "reblock_layout"
1441
+ },
1442
+ "link": null
1443
+ },
1444
+ {
1445
+ "localized_name": "sparse_scope",
1446
+ "name": "sparse_scope",
1447
+ "shape": 7,
1448
+ "type": "COMBO",
1449
+ "widget": {
1450
+ "name": "sparse_scope"
1451
+ },
1452
+ "link": null
1453
+ },
1454
+ {
1455
+ "localized_name": "producer_chunk",
1456
+ "name": "producer_chunk",
1457
+ "shape": 7,
1458
+ "type": "INT",
1459
+ "widget": {
1460
+ "name": "producer_chunk"
1461
+ },
1462
+ "link": null
1463
+ },
1464
+ {
1465
+ "localized_name": "chunk_path",
1466
+ "name": "chunk_path",
1467
+ "shape": 7,
1468
+ "type": "COMBO",
1469
+ "widget": {
1470
+ "name": "chunk_path"
1471
+ },
1472
+ "link": null
1473
+ }
1474
+ ],
1475
+ "outputs": [
1476
+ {
1477
+ "localized_name": "MODEL",
1478
+ "name": "MODEL",
1479
+ "type": "MODEL",
1480
+ "links": [
1481
+ 52,
1482
+ 53
1483
+ ]
1484
+ }
1485
+ ],
1486
+ "properties": {
1487
+ "Node name for S&R": "MiniMaxH3SparkAttentionSM120"
1488
+ },
1489
+ "widgets_values": [
1490
+ "speed",
1491
+ 20,
1492
+ "warmup_ratio",
1493
+ 0,
1494
+ 4,
1495
+ "topk_ratio",
1496
+ 0.2,
1497
+ 228,
1498
+ 0,
1499
+ 12288,
1500
+ true,
1501
+ "inherit",
1502
+ "query",
1503
+ "q_reuse_k",
1504
+ "target-video",
1505
+ 16384,
1506
+ "none"
1507
+ ]
1508
+ },
1509
+ {
1510
+ "id": 41,
1511
+ "type": "VHS_VideoCombine",
1512
+ "pos": [
1513
+ 1400,
1514
+ 832
1515
+ ],
1516
+ "size": [
1517
+ 420,
1518
+ 560
1519
+ ],
1520
+ "flags": {},
1521
+ "order": 24,
1522
+ "mode": 0,
1523
+ "inputs": [
1524
+ {
1525
+ "name": "images",
1526
+ "type": "IMAGE",
1527
+ "link": 20
1528
+ },
1529
+ {
1530
+ "name": "audio",
1531
+ "shape": 7,
1532
+ "type": "AUDIO",
1533
+ "link": 21
1534
+ },
1535
+ {
1536
+ "name": "meta_batch",
1537
+ "shape": 7,
1538
+ "type": "VHS_BatchManager",
1539
+ "link": null
1540
+ },
1541
+ {
1542
+ "name": "vae",
1543
+ "shape": 7,
1544
+ "type": "VAE",
1545
+ "link": null
1546
+ }
1547
+ ],
1548
+ "outputs": [
1549
+ {
1550
+ "name": "Filenames",
1551
+ "type": "VHS_FILENAMES",
1552
+ "links": null
1553
+ }
1554
+ ],
1555
+ "title": "Save video (NVENC)",
1556
+ "properties": {
1557
+ "cnr_id": "comfyui-videohelpersuite",
1558
+ "Node name for S&R": "VHS_VideoCombine"
1559
+ },
1560
+ "widgets_values": {
1561
+ "frame_rate": 24,
1562
+ "loop_count": 0,
1563
+ "filename_prefix": "video/pi-H3-480p-max",
1564
+ "format": "video/nvenc_h264-mp4",
1565
+ "pix_fmt": "yuv420p",
1566
+ "bitrate": 10,
1567
+ "megabit": true,
1568
+ "save_metadata": true,
1569
+ "pingpong": false,
1570
+ "save_output": true,
1571
+ "videopreview": {
1572
+ "hidden": false,
1573
+ "paused": false,
1574
+ "params": {}
1575
+ }
1576
+ }
1577
+ }
1578
+ ],
1579
+ "links": [
1580
+ [
1581
+ 2,
1582
+ 3,
1583
+ 0,
1584
+ 6,
1585
+ 0,
1586
+ "CLIP"
1587
+ ],
1588
+ [
1589
+ 3,
1590
+ 4,
1591
+ 0,
1592
+ 6,
1593
+ 1,
1594
+ "VAE"
1595
+ ],
1596
+ [
1597
+ 4,
1598
+ 30,
1599
+ 0,
1600
+ 6,
1601
+ 5,
1602
+ "INT"
1603
+ ],
1604
+ [
1605
+ 5,
1606
+ 30,
1607
+ 1,
1608
+ 6,
1609
+ 6,
1610
+ "INT"
1611
+ ],
1612
+ [
1613
+ 7,
1614
+ 23,
1615
+ 0,
1616
+ 6,
1617
+ 2,
1618
+ "IMAGE"
1619
+ ],
1620
+ [
1621
+ 8,
1622
+ 24,
1623
+ 0,
1624
+ 6,
1625
+ 3,
1626
+ "IMAGE"
1627
+ ],
1628
+ [
1629
+ 11,
1630
+ 6,
1631
+ 0,
1632
+ 9,
1633
+ 1,
1634
+ "CONDITIONING"
1635
+ ],
1636
+ [
1637
+ 12,
1638
+ 10,
1639
+ 0,
1640
+ 11,
1641
+ 0,
1642
+ "NOISE"
1643
+ ],
1644
+ [
1645
+ 13,
1646
+ 9,
1647
+ 0,
1648
+ 11,
1649
+ 1,
1650
+ "GUIDER"
1651
+ ],
1652
+ [
1653
+ 14,
1654
+ 7,
1655
+ 0,
1656
+ 11,
1657
+ 2,
1658
+ "SAMPLER"
1659
+ ],
1660
+ [
1661
+ 15,
1662
+ 8,
1663
+ 0,
1664
+ 11,
1665
+ 3,
1666
+ "SIGMAS"
1667
+ ],
1668
+ [
1669
+ 16,
1670
+ 6,
1671
+ 1,
1672
+ 11,
1673
+ 4,
1674
+ "LATENT"
1675
+ ],
1676
+ [
1677
+ 17,
1678
+ 11,
1679
+ 0,
1680
+ 12,
1681
+ 0,
1682
+ "LATENT"
1683
+ ],
1684
+ [
1685
+ 18,
1686
+ 11,
1687
+ 0,
1688
+ 13,
1689
+ 0,
1690
+ "LATENT"
1691
+ ],
1692
+ [
1693
+ 19,
1694
+ 5,
1695
+ 0,
1696
+ 13,
1697
+ 1,
1698
+ "VAE"
1699
+ ],
1700
+ [
1701
+ 20,
1702
+ 12,
1703
+ 0,
1704
+ 41,
1705
+ 0,
1706
+ "IMAGE"
1707
+ ],
1708
+ [
1709
+ 21,
1710
+ 13,
1711
+ 0,
1712
+ 41,
1713
+ 1,
1714
+ "AUDIO"
1715
+ ],
1716
+ [
1717
+ 23,
1718
+ 1,
1719
+ 0,
1720
+ 17,
1721
+ 0,
1722
+ "MODEL"
1723
+ ],
1724
+ [
1725
+ 26,
1726
+ 21,
1727
+ 0,
1728
+ 23,
1729
+ 0,
1730
+ "IMAGE"
1731
+ ],
1732
+ [
1733
+ 27,
1734
+ 30,
1735
+ 0,
1736
+ 23,
1737
+ 2,
1738
+ "INT"
1739
+ ],
1740
+ [
1741
+ 28,
1742
+ 30,
1743
+ 1,
1744
+ 23,
1745
+ 3,
1746
+ "INT"
1747
+ ],
1748
+ [
1749
+ 29,
1750
+ 22,
1751
+ 0,
1752
+ 24,
1753
+ 0,
1754
+ "IMAGE"
1755
+ ],
1756
+ [
1757
+ 30,
1758
+ 30,
1759
+ 0,
1760
+ 24,
1761
+ 2,
1762
+ "INT"
1763
+ ],
1764
+ [
1765
+ 31,
1766
+ 30,
1767
+ 1,
1768
+ 24,
1769
+ 3,
1770
+ "INT"
1771
+ ],
1772
+ [
1773
+ 42,
1774
+ 17,
1775
+ 0,
1776
+ 39,
1777
+ 0,
1778
+ "MODEL"
1779
+ ],
1780
+ [
1781
+ 43,
1782
+ 39,
1783
+ 0,
1784
+ 8,
1785
+ 1,
1786
+ "INT"
1787
+ ],
1788
+ [
1789
+ 44,
1790
+ 39,
1791
+ 1,
1792
+ 8,
1793
+ 3,
1794
+ "FLOAT"
1795
+ ],
1796
+ [
1797
+ 45,
1798
+ 39,
1799
+ 2,
1800
+ 19,
1801
+ 0,
1802
+ "MODEL"
1803
+ ],
1804
+ [
1805
+ 49,
1806
+ 40,
1807
+ 0,
1808
+ 6,
1809
+ 7,
1810
+ "INT"
1811
+ ],
1812
+ [
1813
+ 51,
1814
+ 19,
1815
+ 0,
1816
+ 20,
1817
+ 0,
1818
+ "MODEL"
1819
+ ],
1820
+ [
1821
+ 52,
1822
+ 20,
1823
+ 0,
1824
+ 8,
1825
+ 0,
1826
+ "MODEL"
1827
+ ],
1828
+ [
1829
+ 53,
1830
+ 20,
1831
+ 0,
1832
+ 9,
1833
+ 0,
1834
+ "MODEL"
1835
+ ],
1836
+ [
1837
+ 54,
1838
+ 39,
1839
+ 0,
1840
+ 20,
1841
+ 2,
1842
+ "INT"
1843
+ ]
1844
+ ],
1845
+ "groups": [
1846
+ {
1847
+ "id": 1,
1848
+ "title": "Step1 - Load models",
1849
+ "bounding": [
1850
+ 10,
1851
+ -50,
1852
+ 310,
1853
+ 1040
1854
+ ],
1855
+ "color": "#3f789e",
1856
+ "flags": {}
1857
+ },
1858
+ {
1859
+ "id": 2,
1860
+ "title": "Step2 - Video size and duration",
1861
+ "bounding": [
1862
+ 450,
1863
+ -50,
1864
+ 440,
1865
+ 418
1866
+ ],
1867
+ "color": "#3f789e",
1868
+ "flags": {}
1869
+ },
1870
+ {
1871
+ "id": 3,
1872
+ "title": "Step3 - Prompt",
1873
+ "bounding": [
1874
+ 450,
1875
+ 368,
1876
+ 460,
1877
+ 560
1878
+ ],
1879
+ "color": "#3f789e",
1880
+ "flags": {}
1881
+ },
1882
+ {
1883
+ "id": 4,
1884
+ "title": "Optional - First and last frames",
1885
+ "bounding": [
1886
+ 450,
1887
+ 968,
1888
+ 540,
1889
+ 620
1890
+ ],
1891
+ "color": "#3f789e",
1892
+ "flags": {}
1893
+ },
1894
+ {
1895
+ "id": 5,
1896
+ "title": "Step4 - Sampling",
1897
+ "bounding": [
1898
+ 950,
1899
+ -50,
1900
+ 330,
1901
+ 1290
1902
+ ],
1903
+ "color": "#3f789e",
1904
+ "flags": {}
1905
+ }
1906
+ ],
1907
+ "definitions": {
1908
+ "subgraphs": [
1909
+ {
1910
+ "id": "356a2ff0-98d5-4fa9-9bbd-452cccf6966f",
1911
+ "version": 1,
1912
+ "state": {
1913
+ "lastGroupId": 5,
1914
+ "lastNodeId": 40,
1915
+ "lastLinkId": 54,
1916
+ "lastRerouteId": 0
1917
+ },
1918
+ "revision": 0,
1919
+ "config": {},
1920
+ "name": "pi-H3 Adapter",
1921
+ "inputNode": {
1922
+ "id": -10,
1923
+ "bounding": [
1924
+ -158,
1925
+ 324,
1926
+ 128,
1927
+ 68
1928
+ ]
1929
+ },
1930
+ "outputNode": {
1931
+ "id": -20,
1932
+ "bounding": [
1933
+ 1300,
1934
+ 304,
1935
+ 128,
1936
+ 108
1937
+ ]
1938
+ },
1939
+ "inputs": [
1940
+ {
1941
+ "id": "d52733e2-7307-4848-9bc1-edd76cc707b8",
1942
+ "name": "model",
1943
+ "type": "MODEL",
1944
+ "linkIds": [
1945
+ 1,
1946
+ 33
1947
+ ],
1948
+ "localized_name": "model",
1949
+ "pos": [
1950
+ 51,
1951
+ 24
1952
+ ]
1953
+ },
1954
+ {
1955
+ "id": "81c97db4-92f6-427a-9bb5-db34e3a442bb",
1956
+ "name": "steps",
1957
+ "type": "INT",
1958
+ "linkIds": [
1959
+ 46
1960
+ ],
1961
+ "pos": [
1962
+ 0,
1963
+ 0
1964
+ ]
1965
+ },
1966
+ {
1967
+ "id": "58ecdcd5-06af-4ca2-912c-2c60ae266bcf",
1968
+ "name": "2-step adapter",
1969
+ "type": "COMBO",
1970
+ "linkIds": [
1971
+ 47
1972
+ ],
1973
+ "pos": [
1974
+ 0,
1975
+ 0
1976
+ ]
1977
+ },
1978
+ {
1979
+ "id": "50f10d64-a0e9-4d82-ad1d-0a6fba648624",
1980
+ "name": "4-step adapter",
1981
+ "type": "COMBO",
1982
+ "linkIds": [
1983
+ 48
1984
+ ],
1985
+ "pos": [
1986
+ 0,
1987
+ 0
1988
+ ]
1989
+ }
1990
+ ],
1991
+ "outputs": [
1992
+ {
1993
+ "id": "2e5486c0-35fc-4606-936b-533f2a6c0a78",
1994
+ "name": "INT",
1995
+ "type": "INT",
1996
+ "linkIds": [
1997
+ 40
1998
+ ],
1999
+ "localized_name": "INT",
2000
+ "label": "steps",
2001
+ "pos": [
2002
+ 24,
2003
+ 24
2004
+ ]
2005
+ },
2006
+ {
2007
+ "id": "08b25231-24df-4cd0-a94a-663209cea5c6",
2008
+ "name": "FLOAT",
2009
+ "type": "FLOAT",
2010
+ "linkIds": [
2011
+ 41
2012
+ ],
2013
+ "localized_name": "FLOAT",
2014
+ "label": "max_raw_t",
2015
+ "pos": [
2016
+ 24,
2017
+ 44
2018
+ ]
2019
+ },
2020
+ {
2021
+ "id": "6635e991-4bb5-43d0-89b5-d56f02dfeda4",
2022
+ "name": "output",
2023
+ "type": "MODEL",
2024
+ "linkIds": [
2025
+ 36
2026
+ ],
2027
+ "localized_name": "output",
2028
+ "label": "model",
2029
+ "pos": [
2030
+ 24,
2031
+ 64
2032
+ ]
2033
+ }
2034
+ ],
2035
+ "widgets": [],
2036
+ "nodes": [
2037
+ {
2038
+ "id": 36,
2039
+ "type": "PrimitiveInt",
2040
+ "pos": [
2041
+ 970,
2042
+ 30
2043
+ ],
2044
+ "size": [
2045
+ 270,
2046
+ 82
2047
+ ],
2048
+ "flags": {},
2049
+ "order": 3,
2050
+ "mode": 0,
2051
+ "inputs": [
2052
+ {
2053
+ "localized_name": "value",
2054
+ "name": "value",
2055
+ "type": "INT",
2056
+ "widget": {
2057
+ "name": "value"
2058
+ },
2059
+ "link": 46
2060
+ }
2061
+ ],
2062
+ "outputs": [
2063
+ {
2064
+ "localized_name": "INT",
2065
+ "name": "INT",
2066
+ "type": "INT",
2067
+ "links": [
2068
+ 37,
2069
+ 38,
2070
+ 40
2071
+ ]
2072
+ }
2073
+ ],
2074
+ "title": "Steps (2 or 4)",
2075
+ "properties": {
2076
+ "Node name for S&R": "PrimitiveInt"
2077
+ },
2078
+ "widgets_values": [
2079
+ 2,
2080
+ "fixed"
2081
+ ]
2082
+ },
2083
+ {
2084
+ "id": 37,
2085
+ "type": "ComfyMathExpression",
2086
+ "pos": [
2087
+ 970,
2088
+ 182
2089
+ ],
2090
+ "size": [
2091
+ 270,
2092
+ 150
2093
+ ],
2094
+ "flags": {},
2095
+ "order": 4,
2096
+ "mode": 0,
2097
+ "inputs": [
2098
+ {
2099
+ "localized_name": "a",
2100
+ "name": "values.a",
2101
+ "type": "FLOAT,INT,BOOLEAN",
2102
+ "link": 37
2103
+ },
2104
+ {
2105
+ "localized_name": "b",
2106
+ "name": "values.b",
2107
+ "shape": 7,
2108
+ "type": "FLOAT,INT,BOOLEAN",
2109
+ "link": null
2110
+ },
2111
+ {
2112
+ "localized_name": "expression",
2113
+ "name": "expression",
2114
+ "type": "STRING",
2115
+ "widget": {
2116
+ "name": "expression"
2117
+ },
2118
+ "link": null
2119
+ }
2120
+ ],
2121
+ "outputs": [
2122
+ {
2123
+ "localized_name": "FLOAT",
2124
+ "name": "FLOAT",
2125
+ "type": "FLOAT",
2126
+ "links": null
2127
+ },
2128
+ {
2129
+ "localized_name": "INT",
2130
+ "name": "INT",
2131
+ "type": "INT",
2132
+ "links": null
2133
+ },
2134
+ {
2135
+ "localized_name": "BOOL",
2136
+ "name": "BOOL",
2137
+ "type": "BOOLEAN",
2138
+ "links": [
2139
+ 39
2140
+ ]
2141
+ }
2142
+ ],
2143
+ "title": "4-step adapter?",
2144
+ "properties": {
2145
+ "Node name for S&R": "ComfyMathExpression"
2146
+ },
2147
+ "widgets_values": [
2148
+ "a > 2"
2149
+ ]
2150
+ },
2151
+ {
2152
+ "id": 38,
2153
+ "type": "ComfyMathExpression",
2154
+ "pos": [
2155
+ 970,
2156
+ 402
2157
+ ],
2158
+ "size": [
2159
+ 270,
2160
+ 150
2161
+ ],
2162
+ "flags": {},
2163
+ "order": 5,
2164
+ "mode": 0,
2165
+ "inputs": [
2166
+ {
2167
+ "localized_name": "a",
2168
+ "name": "values.a",
2169
+ "type": "FLOAT,INT,BOOLEAN",
2170
+ "link": 38
2171
+ },
2172
+ {
2173
+ "localized_name": "b",
2174
+ "name": "values.b",
2175
+ "shape": 7,
2176
+ "type": "FLOAT,INT,BOOLEAN",
2177
+ "link": null
2178
+ },
2179
+ {
2180
+ "localized_name": "expression",
2181
+ "name": "expression",
2182
+ "type": "STRING",
2183
+ "widget": {
2184
+ "name": "expression"
2185
+ },
2186
+ "link": null
2187
+ }
2188
+ ],
2189
+ "outputs": [
2190
+ {
2191
+ "localized_name": "FLOAT",
2192
+ "name": "FLOAT",
2193
+ "type": "FLOAT",
2194
+ "links": [
2195
+ 41
2196
+ ]
2197
+ },
2198
+ {
2199
+ "localized_name": "INT",
2200
+ "name": "INT",
2201
+ "type": "INT",
2202
+ "links": null
2203
+ },
2204
+ {
2205
+ "localized_name": "BOOL",
2206
+ "name": "BOOL",
2207
+ "type": "BOOLEAN",
2208
+ "links": null
2209
+ }
2210
+ ],
2211
+ "title": "max_raw_t",
2212
+ "properties": {
2213
+ "Node name for S&R": "ComfyMathExpression"
2214
+ },
2215
+ "widgets_values": [
2216
+ "0.96 if a > 2 else 0.93"
2217
+ ]
2218
+ },
2219
+ {
2220
+ "id": 2,
2221
+ "type": "Load LakonLab Adapter",
2222
+ "pos": [
2223
+ 30,
2224
+ 334
2225
+ ],
2226
+ "size": [
2227
+ 270,
2228
+ 82
2229
+ ],
2230
+ "flags": {},
2231
+ "order": 0,
2232
+ "mode": 0,
2233
+ "inputs": [
2234
+ {
2235
+ "localized_name": "model",
2236
+ "name": "model",
2237
+ "type": "MODEL",
2238
+ "link": 1
2239
+ },
2240
+ {
2241
+ "localized_name": "adapter_name",
2242
+ "name": "adapter_name",
2243
+ "type": "COMBO",
2244
+ "widget": {
2245
+ "name": "adapter_name"
2246
+ },
2247
+ "link": 47
2248
+ },
2249
+ {
2250
+ "localized_name": "adapter_strength",
2251
+ "name": "adapter_strength",
2252
+ "type": "FLOAT",
2253
+ "widget": {
2254
+ "name": "adapter_strength"
2255
+ },
2256
+ "link": null
2257
+ }
2258
+ ],
2259
+ "outputs": [
2260
+ {
2261
+ "localized_name": "MODEL",
2262
+ "name": "MODEL",
2263
+ "type": "MODEL",
2264
+ "links": [
2265
+ 34
2266
+ ]
2267
+ }
2268
+ ],
2269
+ "title": "Load 2-step adapter",
2270
+ "properties": {
2271
+ "Node name for S&R": "Load LakonLab Adapter"
2272
+ },
2273
+ "widgets_values": [
2274
+ "pi_h3_2step_dwd_adapter_int8_convrot.safetensors",
2275
+ 1
2276
+ ]
2277
+ },
2278
+ {
2279
+ "id": 34,
2280
+ "type": "Load LakonLab Adapter",
2281
+ "pos": [
2282
+ 30,
2283
+ 486
2284
+ ],
2285
+ "size": [
2286
+ 270,
2287
+ 82
2288
+ ],
2289
+ "flags": {},
2290
+ "order": 1,
2291
+ "mode": 0,
2292
+ "inputs": [
2293
+ {
2294
+ "localized_name": "model",
2295
+ "name": "model",
2296
+ "type": "MODEL",
2297
+ "link": 33
2298
+ },
2299
+ {
2300
+ "localized_name": "adapter_name",
2301
+ "name": "adapter_name",
2302
+ "type": "COMBO",
2303
+ "widget": {
2304
+ "name": "adapter_name"
2305
+ },
2306
+ "link": 48
2307
+ },
2308
+ {
2309
+ "localized_name": "adapter_strength",
2310
+ "name": "adapter_strength",
2311
+ "type": "FLOAT",
2312
+ "widget": {
2313
+ "name": "adapter_strength"
2314
+ },
2315
+ "link": null
2316
+ }
2317
+ ],
2318
+ "outputs": [
2319
+ {
2320
+ "localized_name": "MODEL",
2321
+ "name": "MODEL",
2322
+ "type": "MODEL",
2323
+ "links": [
2324
+ 35
2325
+ ]
2326
+ }
2327
+ ],
2328
+ "title": "Load 4-step adapter",
2329
+ "properties": {
2330
+ "Node name for S&R": "Load LakonLab Adapter"
2331
+ },
2332
+ "widgets_values": [
2333
+ "pi_h3_4step_dwd_adapter_int8_convrot.safetensors",
2334
+ 1
2335
+ ]
2336
+ },
2337
+ {
2338
+ "id": 35,
2339
+ "type": "ComfySwitchNode",
2340
+ "pos": [
2341
+ 30,
2342
+ 638
2343
+ ],
2344
+ "size": [
2345
+ 270,
2346
+ 78
2347
+ ],
2348
+ "flags": {},
2349
+ "order": 2,
2350
+ "mode": 0,
2351
+ "inputs": [
2352
+ {
2353
+ "localized_name": "on_false",
2354
+ "name": "on_false",
2355
+ "shape": 7,
2356
+ "type": "MODEL",
2357
+ "link": 34
2358
+ },
2359
+ {
2360
+ "localized_name": "on_true",
2361
+ "name": "on_true",
2362
+ "shape": 7,
2363
+ "type": "MODEL",
2364
+ "link": 35
2365
+ },
2366
+ {
2367
+ "localized_name": "switch",
2368
+ "name": "switch",
2369
+ "type": "BOOLEAN",
2370
+ "widget": {
2371
+ "name": "switch"
2372
+ },
2373
+ "link": 39
2374
+ }
2375
+ ],
2376
+ "outputs": [
2377
+ {
2378
+ "localized_name": "output",
2379
+ "name": "output",
2380
+ "type": "MODEL",
2381
+ "links": [
2382
+ 36
2383
+ ]
2384
+ }
2385
+ ],
2386
+ "title": "Adapter for the steps",
2387
+ "properties": {
2388
+ "Node name for S&R": "ComfySwitchNode"
2389
+ },
2390
+ "widgets_values": [
2391
+ false
2392
+ ]
2393
+ }
2394
+ ],
2395
+ "groups": [],
2396
+ "links": [
2397
+ {
2398
+ "id": 34,
2399
+ "origin_id": 2,
2400
+ "origin_slot": 0,
2401
+ "target_id": 35,
2402
+ "target_slot": 0,
2403
+ "type": "MODEL"
2404
+ },
2405
+ {
2406
+ "id": 35,
2407
+ "origin_id": 34,
2408
+ "origin_slot": 0,
2409
+ "target_id": 35,
2410
+ "target_slot": 1,
2411
+ "type": "MODEL"
2412
+ },
2413
+ {
2414
+ "id": 39,
2415
+ "origin_id": 37,
2416
+ "origin_slot": 2,
2417
+ "target_id": 35,
2418
+ "target_slot": 2,
2419
+ "type": "BOOLEAN"
2420
+ },
2421
+ {
2422
+ "id": 1,
2423
+ "origin_id": -10,
2424
+ "origin_slot": 0,
2425
+ "target_id": 2,
2426
+ "target_slot": 0,
2427
+ "type": "MODEL"
2428
+ },
2429
+ {
2430
+ "id": 33,
2431
+ "origin_id": -10,
2432
+ "origin_slot": 0,
2433
+ "target_id": 34,
2434
+ "target_slot": 0,
2435
+ "type": "MODEL"
2436
+ },
2437
+ {
2438
+ "id": 40,
2439
+ "origin_id": 36,
2440
+ "origin_slot": 0,
2441
+ "target_id": -20,
2442
+ "target_slot": 0,
2443
+ "type": "INT"
2444
+ },
2445
+ {
2446
+ "id": 41,
2447
+ "origin_id": 38,
2448
+ "origin_slot": 0,
2449
+ "target_id": -20,
2450
+ "target_slot": 1,
2451
+ "type": "FLOAT"
2452
+ },
2453
+ {
2454
+ "id": 36,
2455
+ "origin_id": 35,
2456
+ "origin_slot": 0,
2457
+ "target_id": -20,
2458
+ "target_slot": 2,
2459
+ "type": "MODEL"
2460
+ },
2461
+ {
2462
+ "id": 46,
2463
+ "origin_id": -10,
2464
+ "origin_slot": 1,
2465
+ "target_id": 36,
2466
+ "target_slot": 0,
2467
+ "type": "INT"
2468
+ },
2469
+ {
2470
+ "id": 47,
2471
+ "origin_id": -10,
2472
+ "origin_slot": 2,
2473
+ "target_id": 2,
2474
+ "target_slot": 1,
2475
+ "type": "COMBO"
2476
+ },
2477
+ {
2478
+ "id": 48,
2479
+ "origin_id": -10,
2480
+ "origin_slot": 3,
2481
+ "target_id": 34,
2482
+ "target_slot": 1,
2483
+ "type": "COMBO"
2484
+ },
2485
+ {
2486
+ "id": 37,
2487
+ "origin_id": 36,
2488
+ "origin_slot": 0,
2489
+ "target_id": 37,
2490
+ "target_slot": 0,
2491
+ "type": "INT"
2492
+ },
2493
+ {
2494
+ "id": 38,
2495
+ "origin_id": 36,
2496
+ "origin_slot": 0,
2497
+ "target_id": 38,
2498
+ "target_slot": 0,
2499
+ "type": "INT"
2500
+ }
2501
+ ],
2502
+ "extra": {}
2503
+ },
2504
+ {
2505
+ "id": "a74d60af-3935-41b1-a4bc-a21f1fa87ceb",
2506
+ "version": 1,
2507
+ "state": {
2508
+ "lastGroupId": 5,
2509
+ "lastNodeId": 40,
2510
+ "lastLinkId": 54,
2511
+ "lastRerouteId": 0
2512
+ },
2513
+ "revision": 0,
2514
+ "config": {},
2515
+ "name": "Frame Count",
2516
+ "inputNode": {
2517
+ "id": -10,
2518
+ "bounding": [
2519
+ 282,
2520
+ 375,
2521
+ 128,
2522
+ 48
2523
+ ]
2524
+ },
2525
+ "outputNode": {
2526
+ "id": -20,
2527
+ "bounding": [
2528
+ 930,
2529
+ 365,
2530
+ 128,
2531
+ 68
2532
+ ]
2533
+ },
2534
+ "inputs": [
2535
+ {
2536
+ "id": "d0484a8e-11dc-4ba1-8a63-cfa9900f9865",
2537
+ "name": "seconds",
2538
+ "type": "FLOAT",
2539
+ "linkIds": [
2540
+ 50
2541
+ ],
2542
+ "pos": [
2543
+ 0,
2544
+ 0
2545
+ ]
2546
+ }
2547
+ ],
2548
+ "outputs": [
2549
+ {
2550
+ "id": "6ce08b9d-e5b9-4bb7-8e98-355cbdcb21a2",
2551
+ "name": "INT",
2552
+ "type": "INT",
2553
+ "linkIds": [
2554
+ 6
2555
+ ],
2556
+ "localized_name": "INT",
2557
+ "label": "length",
2558
+ "pos": [
2559
+ 24,
2560
+ 24
2561
+ ]
2562
+ }
2563
+ ],
2564
+ "widgets": [],
2565
+ "nodes": [
2566
+ {
2567
+ "id": 31,
2568
+ "type": "PrimitiveFloat",
2569
+ "pos": [
2570
+ 470,
2571
+ 250
2572
+ ],
2573
+ "size": [
2574
+ 270,
2575
+ 58
2576
+ ],
2577
+ "flags": {},
2578
+ "order": 0,
2579
+ "mode": 0,
2580
+ "inputs": [
2581
+ {
2582
+ "localized_name": "value",
2583
+ "name": "value",
2584
+ "type": "FLOAT",
2585
+ "widget": {
2586
+ "name": "value"
2587
+ },
2588
+ "link": 50
2589
+ }
2590
+ ],
2591
+ "outputs": [
2592
+ {
2593
+ "localized_name": "FLOAT",
2594
+ "name": "FLOAT",
2595
+ "type": "FLOAT",
2596
+ "links": [
2597
+ 32
2598
+ ]
2599
+ }
2600
+ ],
2601
+ "title": "Duration (seconds)",
2602
+ "properties": {
2603
+ "Node name for S&R": "PrimitiveFloat"
2604
+ },
2605
+ "widgets_values": [
2606
+ 5
2607
+ ]
2608
+ },
2609
+ {
2610
+ "id": 32,
2611
+ "type": "ComfyMathExpression",
2612
+ "pos": [
2613
+ 470,
2614
+ 378
2615
+ ],
2616
+ "size": [
2617
+ 400,
2618
+ 200
2619
+ ],
2620
+ "flags": {},
2621
+ "order": 1,
2622
+ "mode": 0,
2623
+ "inputs": [
2624
+ {
2625
+ "localized_name": "a",
2626
+ "name": "values.a",
2627
+ "type": "FLOAT,INT,BOOLEAN",
2628
+ "link": 32
2629
+ },
2630
+ {
2631
+ "localized_name": "b",
2632
+ "name": "values.b",
2633
+ "shape": 7,
2634
+ "type": "FLOAT,INT,BOOLEAN",
2635
+ "link": null
2636
+ },
2637
+ {
2638
+ "localized_name": "expression",
2639
+ "name": "expression",
2640
+ "type": "STRING",
2641
+ "widget": {
2642
+ "name": "expression"
2643
+ },
2644
+ "link": null
2645
+ }
2646
+ ],
2647
+ "outputs": [
2648
+ {
2649
+ "localized_name": "FLOAT",
2650
+ "name": "FLOAT",
2651
+ "type": "FLOAT",
2652
+ "links": null
2653
+ },
2654
+ {
2655
+ "localized_name": "INT",
2656
+ "name": "INT",
2657
+ "type": "INT",
2658
+ "links": [
2659
+ 6
2660
+ ]
2661
+ },
2662
+ {
2663
+ "localized_name": "BOOL",
2664
+ "name": "BOOL",
2665
+ "type": "BOOLEAN",
2666
+ "links": null
2667
+ }
2668
+ ],
2669
+ "title": "Frame count",
2670
+ "properties": {
2671
+ "Node name for S&R": "ComfyMathExpression"
2672
+ },
2673
+ "widgets_values": [
2674
+ "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
2675
+ ]
2676
+ }
2677
+ ],
2678
+ "groups": [],
2679
+ "links": [
2680
+ {
2681
+ "id": 6,
2682
+ "origin_id": 32,
2683
+ "origin_slot": 1,
2684
+ "target_id": -20,
2685
+ "target_slot": 0,
2686
+ "type": "INT"
2687
+ },
2688
+ {
2689
+ "id": 50,
2690
+ "origin_id": -10,
2691
+ "origin_slot": 0,
2692
+ "target_id": 31,
2693
+ "target_slot": 0,
2694
+ "type": "FLOAT"
2695
+ },
2696
+ {
2697
+ "id": 32,
2698
+ "origin_id": 31,
2699
+ "origin_slot": 0,
2700
+ "target_id": 32,
2701
+ "target_slot": 0,
2702
+ "type": "FLOAT"
2703
+ }
2704
+ ],
2705
+ "extra": {}
2706
+ }
2707
+ ]
2708
+ },
2709
+ "config": {},
2710
+ "extra": {
2711
+ "ds": {
2712
+ "scale": 0.45,
2713
+ "offset": [
2714
+ 680,
2715
+ 120
2716
+ ]
2717
+ }
2718
+ },
2719
+ "version": 0.4
2720
+ }