malcolmrey commited on
Commit
a18c52e
·
1 Parent(s): 4b9a572

h3 workflows

Browse files
H3/workflow_api_minimaxh3_c2v.json ADDED
@@ -0,0 +1,267 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "prompt": {
3
+ "121": {
4
+ "inputs": {
5
+ "value": 5
6
+ },
7
+ "class_type": "PrimitiveFloat",
8
+ "_meta": {
9
+ "title": "Float (duration)"
10
+ }
11
+ },
12
+ "122": {
13
+ "inputs": {
14
+ "vae_name": "minimax_h3_audio_vae_fp32.safetensors"
15
+ },
16
+ "class_type": "VAELoader",
17
+ "_meta": {
18
+ "title": "Load VAE"
19
+ }
20
+ },
21
+ "123": {
22
+ "inputs": {
23
+ "expression": "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17",
24
+ "values.a": ["121", 0]
25
+ },
26
+ "class_type": "ComfyMathExpression",
27
+ "_meta": {
28
+ "title": "Math Expression"
29
+ }
30
+ },
31
+ "124": {
32
+ "inputs": {
33
+ "vae_name": "minimax_h3_video_vae_fp16.safetensors"
34
+ },
35
+ "class_type": "VAELoader",
36
+ "_meta": {
37
+ "title": "Load VAE"
38
+ }
39
+ },
40
+ "125": {
41
+ "inputs": {
42
+ "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
43
+ "type": "minimax",
44
+ "device": "default"
45
+ },
46
+ "class_type": "CLIPLoader",
47
+ "_meta": {
48
+ "title": "Load CLIP"
49
+ }
50
+ },
51
+ "126": {
52
+ "inputs": {
53
+ "unet_name": "MinimaxH3\\minimax_h3_fl2va_pruned_int8_convrot.safetensors",
54
+ "weight_dtype": "default"
55
+ },
56
+ "class_type": "UNETLoader",
57
+ "_meta": {
58
+ "title": "Load Diffusion Model"
59
+ }
60
+ },
61
+ "127": {
62
+ "inputs": {
63
+ "prompt": "subject_definitions:\n<Subject 1> \n\nintegrated_multimodal_description:\n\n[Shot 1] \n\n[Shot 2] \n\noverall_soundscape: ",
64
+ "width": 960,
65
+ "height": 544,
66
+ "length": ["123", 1],
67
+ "clip": ["137", 1],
68
+ "vae": ["124", 0]
69
+ },
70
+ "class_type": "MiniMaxH3ImageToVideo",
71
+ "_meta": {
72
+ "title": "MiniMax H3 Image to Video"
73
+ }
74
+ },
75
+ "128": {
76
+ "inputs": {
77
+ "noise_seed": 836251032571729
78
+ },
79
+ "class_type": "RandomNoise",
80
+ "_meta": {
81
+ "title": "RandomNoise"
82
+ }
83
+ },
84
+ "129": {
85
+ "inputs": {
86
+ "model": ["137", 0],
87
+ "conditioning": ["151", 0]
88
+ },
89
+ "class_type": "BasicGuider",
90
+ "_meta": {
91
+ "title": "Basic Guider"
92
+ }
93
+ },
94
+ "130": {
95
+ "inputs": {
96
+ "sampler_name": "res_multistep"
97
+ },
98
+ "class_type": "KSamplerSelect",
99
+ "_meta": {
100
+ "title": "KSamplerSelect"
101
+ }
102
+ },
103
+ "131": {
104
+ "inputs": {
105
+ "scheduler": "simple",
106
+ "steps": 16,
107
+ "denoise": 1,
108
+ "model": ["137", 0]
109
+ },
110
+ "class_type": "BasicScheduler",
111
+ "_meta": {
112
+ "title": "BasicScheduler"
113
+ }
114
+ },
115
+ "132": {
116
+ "inputs": {
117
+ "noise": ["128", 0],
118
+ "guider": ["129", 0],
119
+ "sampler": ["130", 0],
120
+ "sigmas": ["131", 0],
121
+ "latent_image": ["127", 1]
122
+ },
123
+ "class_type": "SamplerCustomAdvanced",
124
+ "_meta": {
125
+ "title": "SamplerCustomAdvanced"
126
+ }
127
+ },
128
+ "133": {
129
+ "inputs": {
130
+ "samples": ["132", 0],
131
+ "vae": ["124", 0]
132
+ },
133
+ "class_type": "VAEDecode",
134
+ "_meta": {
135
+ "title": "VAE Decode"
136
+ }
137
+ },
138
+ "134": {
139
+ "inputs": {
140
+ "samples": ["132", 0],
141
+ "vae": ["122", 0]
142
+ },
143
+ "class_type": "VAEDecodeAudio",
144
+ "_meta": {
145
+ "title": "VAE Decode Audio"
146
+ }
147
+ },
148
+ "135": {
149
+ "inputs": {
150
+ "fps": 24,
151
+ "bit_depth": 8,
152
+ "images": ["152", 0],
153
+ "audio": ["152", 1]
154
+ },
155
+ "class_type": "CreateVideo",
156
+ "_meta": {
157
+ "title": "Create Video"
158
+ }
159
+ },
160
+ "136": {
161
+ "inputs": {
162
+ "filename_prefix": "video/MiniMax_H3_C2V",
163
+ "format": "auto",
164
+ "codec": "auto",
165
+ "video": ["135", 0]
166
+ },
167
+ "class_type": "SaveVideo",
168
+ "_meta": {
169
+ "title": "Save Video"
170
+ }
171
+ },
172
+ "137": {
173
+ "inputs": {
174
+ "PowerLoraLoaderHeaderWidget": {
175
+ "type": "PowerLoraLoaderHeaderWidget"
176
+ },
177
+ "➕ Add Lora": "",
178
+ "model": ["140", 0],
179
+ "clip": ["125", 0]
180
+ },
181
+ "class_type": "Power Lora Loader (rgthree)",
182
+ "_meta": {
183
+ "title": "Power Lora Loader (rgthree)"
184
+ }
185
+ },
186
+ "139": {
187
+ "inputs": {
188
+ "sage_attention": "auto",
189
+ "allow_compile": false,
190
+ "model": ["126", 0]
191
+ },
192
+ "class_type": "PathchSageAttentionKJ",
193
+ "_meta": {
194
+ "title": "Patch Sage Attention KJ"
195
+ }
196
+ },
197
+ "140": {
198
+ "inputs": {
199
+ "enabled": true,
200
+ "blend_weight": 0.5,
201
+ "degree": 1,
202
+ "ridge_lambda": 0.1,
203
+ "window_size": 2,
204
+ "flex_window": 0.75,
205
+ "warmup_steps": 1,
206
+ "tail_actual_steps": 1,
207
+ "max_history": 8,
208
+ "debug": false,
209
+ "history_storage": "vram",
210
+ "bootstrap_first_forecast": true,
211
+ "model": ["139", 0]
212
+ },
213
+ "class_type": "SpectrumApplyMiniMaxH3",
214
+ "_meta": {
215
+ "title": "Spectrum Apply MiniMax H3"
216
+ }
217
+ },
218
+ "150": {
219
+ "inputs": {
220
+ "latent_path": "h3_context",
221
+ "clip_index": 1
222
+ },
223
+ "class_type": "MiniMaxH3MotionContextLoadLatent",
224
+ "_meta": {
225
+ "title": "H3 Motion Context Load Latent"
226
+ }
227
+ },
228
+ "151": {
229
+ "inputs": {
230
+ "conditioning": ["127", 0],
231
+ "vae": ["124", 0],
232
+ "latent": ["127", 1],
233
+ "context_length": "22",
234
+ "audio_context_length": 24,
235
+ "context_latent": ["150", 0]
236
+ },
237
+ "class_type": "MiniMaxH3MotionContext",
238
+ "_meta": {
239
+ "title": "H3 Motion Context"
240
+ }
241
+ },
242
+ "152": {
243
+ "inputs": {
244
+ "images": ["133", 0],
245
+ "trim_frames": ["151", 1],
246
+ "audio": ["134", 0],
247
+ "fps": 24,
248
+ "match_tail": true
249
+ },
250
+ "class_type": "MiniMaxH3MotionContextTrim",
251
+ "_meta": {
252
+ "title": "H3 Motion Context Trim"
253
+ }
254
+ },
255
+ "153": {
256
+ "inputs": {
257
+ "latent": ["132", 0],
258
+ "filename_prefix": "h3_context/clip",
259
+ "clip_index": 2
260
+ },
261
+ "class_type": "MiniMaxH3MotionContextSaveLatent",
262
+ "_meta": {
263
+ "title": "H3 Motion Context Save Latent"
264
+ }
265
+ }
266
+ }
267
+ }
H3/workflow_api_minimaxh3_i2v.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "prompt": {
3
+ "121": {
4
+ "inputs": {
5
+ "value": 5
6
+ },
7
+ "class_type": "PrimitiveFloat",
8
+ "_meta": {
9
+ "title": "Float (duration)"
10
+ }
11
+ },
12
+ "122": {
13
+ "inputs": {
14
+ "vae_name": "minimax_h3_audio_vae_fp32.safetensors"
15
+ },
16
+ "class_type": "VAELoader",
17
+ "_meta": {
18
+ "title": "Load VAE"
19
+ }
20
+ },
21
+ "123": {
22
+ "inputs": {
23
+ "expression": "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17",
24
+ "values.a": ["121", 0]
25
+ },
26
+ "class_type": "ComfyMathExpression",
27
+ "_meta": {
28
+ "title": "Math Expression"
29
+ }
30
+ },
31
+ "124": {
32
+ "inputs": {
33
+ "vae_name": "minimax_h3_video_vae_fp16.safetensors"
34
+ },
35
+ "class_type": "VAELoader",
36
+ "_meta": {
37
+ "title": "Load VAE"
38
+ }
39
+ },
40
+ "125": {
41
+ "inputs": {
42
+ "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
43
+ "type": "minimax",
44
+ "device": "default"
45
+ },
46
+ "class_type": "CLIPLoader",
47
+ "_meta": {
48
+ "title": "Load CLIP"
49
+ }
50
+ },
51
+ "126": {
52
+ "inputs": {
53
+ "unet_name": "MinimaxH3\\minimax_h3_fl2va_pruned_int8_convrot.safetensors",
54
+ "weight_dtype": "default"
55
+ },
56
+ "class_type": "UNETLoader",
57
+ "_meta": {
58
+ "title": "Load Diffusion Model"
59
+ }
60
+ },
61
+ "127": {
62
+ "inputs": {
63
+ "prompt": "subject_definitions:\n<Subject 1> \n\nintegrated_multimodal_description:\n\n[Shot 1] \n\n[Shot 2] \n\noverall_soundscape: ",
64
+ "width": 960,
65
+ "height": 544,
66
+ "length": ["123", 1],
67
+ "clip": ["137", 1],
68
+ "vae": ["124", 0],
69
+ "first_frame": ["138", 0]
70
+ },
71
+ "class_type": "MiniMaxH3ImageToVideo",
72
+ "_meta": {
73
+ "title": "MiniMax H3 Image to Video"
74
+ }
75
+ },
76
+ "128": {
77
+ "inputs": {
78
+ "noise_seed": 836251032571729
79
+ },
80
+ "class_type": "RandomNoise",
81
+ "_meta": {
82
+ "title": "RandomNoise"
83
+ }
84
+ },
85
+ "129": {
86
+ "inputs": {
87
+ "model": ["137", 0],
88
+ "conditioning": ["127", 0]
89
+ },
90
+ "class_type": "BasicGuider",
91
+ "_meta": {
92
+ "title": "Basic Guider"
93
+ }
94
+ },
95
+ "130": {
96
+ "inputs": {
97
+ "sampler_name": "res_multistep"
98
+ },
99
+ "class_type": "KSamplerSelect",
100
+ "_meta": {
101
+ "title": "KSamplerSelect"
102
+ }
103
+ },
104
+ "131": {
105
+ "inputs": {
106
+ "scheduler": "simple",
107
+ "steps": 16,
108
+ "denoise": 1,
109
+ "model": ["137", 0]
110
+ },
111
+ "class_type": "BasicScheduler",
112
+ "_meta": {
113
+ "title": "BasicScheduler"
114
+ }
115
+ },
116
+ "132": {
117
+ "inputs": {
118
+ "noise": ["128", 0],
119
+ "guider": ["129", 0],
120
+ "sampler": ["130", 0],
121
+ "sigmas": ["131", 0],
122
+ "latent_image": ["127", 1]
123
+ },
124
+ "class_type": "SamplerCustomAdvanced",
125
+ "_meta": {
126
+ "title": "SamplerCustomAdvanced"
127
+ }
128
+ },
129
+ "133": {
130
+ "inputs": {
131
+ "samples": ["132", 0],
132
+ "vae": ["124", 0]
133
+ },
134
+ "class_type": "VAEDecode",
135
+ "_meta": {
136
+ "title": "VAE Decode"
137
+ }
138
+ },
139
+ "134": {
140
+ "inputs": {
141
+ "samples": ["132", 0],
142
+ "vae": ["122", 0]
143
+ },
144
+ "class_type": "VAEDecodeAudio",
145
+ "_meta": {
146
+ "title": "VAE Decode Audio"
147
+ }
148
+ },
149
+ "135": {
150
+ "inputs": {
151
+ "fps": 24,
152
+ "bit_depth": 8,
153
+ "images": ["133", 0],
154
+ "audio": ["134", 0]
155
+ },
156
+ "class_type": "CreateVideo",
157
+ "_meta": {
158
+ "title": "Create Video"
159
+ }
160
+ },
161
+ "136": {
162
+ "inputs": {
163
+ "filename_prefix": "video/MiniMax_H3",
164
+ "format": "auto",
165
+ "codec": "auto",
166
+ "video": ["135", 0]
167
+ },
168
+ "class_type": "SaveVideo",
169
+ "_meta": {
170
+ "title": "Save Video"
171
+ }
172
+ },
173
+ "137": {
174
+ "inputs": {
175
+ "PowerLoraLoaderHeaderWidget": {
176
+ "type": "PowerLoraLoaderHeaderWidget"
177
+ },
178
+ "➕ Add Lora": "",
179
+ "model": ["140", 0],
180
+ "clip": ["125", 0]
181
+ },
182
+ "class_type": "Power Lora Loader (rgthree)",
183
+ "_meta": {
184
+ "title": "Power Lora Loader (rgthree)"
185
+ }
186
+ },
187
+ "138": {
188
+ "inputs": {
189
+ "image": "transparent_rgb_gaming_mouse.png"
190
+ },
191
+ "class_type": "LoadImage",
192
+ "_meta": {
193
+ "title": "IMG1"
194
+ }
195
+ },
196
+ "139": {
197
+ "inputs": {
198
+ "sage_attention": "auto",
199
+ "allow_compile": false,
200
+ "model": ["126", 0]
201
+ },
202
+ "class_type": "PathchSageAttentionKJ",
203
+ "_meta": {
204
+ "title": "Patch Sage Attention KJ"
205
+ }
206
+ },
207
+ "140": {
208
+ "inputs": {
209
+ "enabled": true,
210
+ "blend_weight": 0.5,
211
+ "degree": 1,
212
+ "ridge_lambda": 0.1,
213
+ "window_size": 2,
214
+ "flex_window": 0.75,
215
+ "warmup_steps": 1,
216
+ "tail_actual_steps": 1,
217
+ "max_history": 8,
218
+ "debug": false,
219
+ "history_storage": "vram",
220
+ "bootstrap_first_forecast": true,
221
+ "model": ["139", 0]
222
+ },
223
+ "class_type": "SpectrumApplyMiniMaxH3",
224
+ "_meta": {
225
+ "title": "Spectrum Apply MiniMax H3"
226
+ }
227
+ }
228
+ }
229
+ }
H3/workflow_api_minimaxh3_r2v.json ADDED
@@ -0,0 +1,285 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "prompt": {
3
+ "92": {
4
+ "inputs": {
5
+ "filename_prefix": "video/MiniMax_H3",
6
+ "format": "auto",
7
+ "codec": "auto",
8
+ "video": ["130", 0]
9
+ },
10
+ "class_type": "SaveVideo",
11
+ "_meta": {
12
+ "title": "Save Video"
13
+ }
14
+ },
15
+ "115": {
16
+ "inputs": {
17
+ "aspect_ratio": "16:9 (Widescreen)",
18
+ "megapixels": 0.4,
19
+ "multiple": 32
20
+ },
21
+ "class_type": "ResolutionSelector",
22
+ "_meta": {
23
+ "title": "Resolution Selector (Size)"
24
+ }
25
+ },
26
+ "119": {
27
+ "inputs": {
28
+ "vae_name": "minimax_h3_video_vae_fp16.safetensors"
29
+ },
30
+ "class_type": "VAELoader",
31
+ "_meta": {
32
+ "title": "Load VAE"
33
+ }
34
+ },
35
+ "120": {
36
+ "inputs": {
37
+ "vae_name": "minimax_h3_audio_vae_fp32.safetensors"
38
+ },
39
+ "class_type": "VAELoader",
40
+ "_meta": {
41
+ "title": "Load VAE"
42
+ }
43
+ },
44
+ "121": {
45
+ "inputs": {
46
+ "samples": ["125", 0],
47
+ "vae": ["120", 0]
48
+ },
49
+ "class_type": "VAEDecodeAudio",
50
+ "_meta": {
51
+ "title": "VAE Decode Audio"
52
+ }
53
+ },
54
+ "122": {
55
+ "inputs": {
56
+ "samples": ["125", 0],
57
+ "vae": ["119", 0]
58
+ },
59
+ "class_type": "VAEDecode",
60
+ "_meta": {
61
+ "title": "VAE Decode"
62
+ }
63
+ },
64
+ "123": {
65
+ "inputs": {
66
+ "sampler_name": "res_multistep"
67
+ },
68
+ "class_type": "KSamplerSelect",
69
+ "_meta": {
70
+ "title": "KSamplerSelect"
71
+ }
72
+ },
73
+ "124": {
74
+ "inputs": {
75
+ "scheduler": "simple",
76
+ "steps": 20,
77
+ "denoise": 1,
78
+ "model": ["145", 0]
79
+ },
80
+ "class_type": "BasicScheduler",
81
+ "_meta": {
82
+ "title": "BasicScheduler"
83
+ }
84
+ },
85
+ "125": {
86
+ "inputs": {
87
+ "noise": ["129", 0],
88
+ "guider": ["126", 0],
89
+ "sampler": ["123", 0],
90
+ "sigmas": ["124", 0],
91
+ "latent_image": ["136", 1]
92
+ },
93
+ "class_type": "SamplerCustomAdvanced",
94
+ "_meta": {
95
+ "title": "SamplerCustomAdvanced"
96
+ }
97
+ },
98
+ "126": {
99
+ "inputs": {
100
+ "model": ["147", 0],
101
+ "conditioning": ["136", 0]
102
+ },
103
+ "class_type": "BasicGuider",
104
+ "_meta": {
105
+ "title": "Basic Guider"
106
+ }
107
+ },
108
+ "127": {
109
+ "inputs": {
110
+ "unet_name": "MinimaxH3\\minimax_h3_ref2va_pruned_fp8_scaled.safetensors",
111
+ "weight_dtype": "default"
112
+ },
113
+ "class_type": "UNETLoader",
114
+ "_meta": {
115
+ "title": "Load Diffusion Model"
116
+ }
117
+ },
118
+ "128": {
119
+ "inputs": {
120
+ "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
121
+ "type": "minimax",
122
+ "device": "default"
123
+ },
124
+ "class_type": "CLIPLoader",
125
+ "_meta": {
126
+ "title": "Load CLIP"
127
+ }
128
+ },
129
+ "129": {
130
+ "inputs": {
131
+ "noise_seed": 157368968253448
132
+ },
133
+ "class_type": "RandomNoise",
134
+ "_meta": {
135
+ "title": "RandomNoise"
136
+ }
137
+ },
138
+ "130": {
139
+ "inputs": {
140
+ "fps": 24,
141
+ "bit_depth": 8,
142
+ "images": ["122", 0],
143
+ "audio": ["121", 0]
144
+ },
145
+ "class_type": "CreateVideo",
146
+ "_meta": {
147
+ "title": "Create Video"
148
+ }
149
+ },
150
+ "131": {
151
+ "inputs": {
152
+ "expression": "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17",
153
+ "values.a": ["132", 0]
154
+ },
155
+ "class_type": "ComfyMathExpression",
156
+ "_meta": {
157
+ "title": "Math Expression"
158
+ }
159
+ },
160
+ "132": {
161
+ "inputs": {
162
+ "value": 5
163
+ },
164
+ "class_type": "PrimitiveFloat",
165
+ "_meta": {
166
+ "title": "Float (Duration)"
167
+ }
168
+ },
169
+ "136": {
170
+ "inputs": {
171
+ "prompt": ["138", 0],
172
+ "width": ["115", 0],
173
+ "height": ["115", 1],
174
+ "length": ["131", 1],
175
+ "ref_image_size": "match",
176
+ "clip": ["147", 1],
177
+ "vae": ["119", 0],
178
+ "audio_vae": ["120", 0],
179
+ "ref_images.ref_image_0": ["137", 0],
180
+ "ref_videos.ref_video_0": ["143", 0],
181
+ "ref_video_audios.ref_video_audio_0": ["143", 2],
182
+ "ref_audios.ref_audio_0": ["142", 0]
183
+ },
184
+ "class_type": "MiniMaxH3ReferenceToVideo",
185
+ "_meta": {
186
+ "title": "MiniMax H3 Reference to Video"
187
+ }
188
+ },
189
+ "137": {
190
+ "inputs": {
191
+ "image": "red_superboy_on_city_roof.png"
192
+ },
193
+ "class_type": "LoadImage",
194
+ "_meta": {
195
+ "title": "Load Image 1"
196
+ }
197
+ },
198
+ "138": {
199
+ "inputs": {
200
+ "value": "subject_definitions:\n<Picture 1> \n\nintegrated_multimodal_description:\nUse <Picture 1> as the reference frame and <Audio 1> exactly as it is.\n\n[Shot 1] \n\n[Shot 2] \n\noverall_soundscape: "
201
+ },
202
+ "class_type": "PrimitiveStringMultiline",
203
+ "_meta": {
204
+ "title": "Input Text (Prompt)"
205
+ }
206
+ },
207
+ "142": {
208
+ "inputs": {
209
+ "audio": "LTX2_3_00006-audio.mp4",
210
+ "start_time": 0,
211
+ "duration": 15
212
+ },
213
+ "class_type": "VHS_LoadAudioUpload",
214
+ "_meta": {
215
+ "title": "Load Audio 1"
216
+ }
217
+ },
218
+ "143": {
219
+ "inputs": {
220
+ "video": "CROPED_00001-audio (8).mp4",
221
+ "force_rate": 16,
222
+ "custom_width": 0,
223
+ "custom_height": 0,
224
+ "frame_load_cap": 0,
225
+ "skip_first_frames": 0,
226
+ "select_every_nth": 1,
227
+ "format": "LTXV"
228
+ },
229
+ "class_type": "VHS_LoadVideo",
230
+ "_meta": {
231
+ "title": "Load Video 1"
232
+ }
233
+ },
234
+ "145": {
235
+ "inputs": {
236
+ "enabled": true,
237
+ "blend_weight": 0.5,
238
+ "degree": 1,
239
+ "ridge_lambda": 0.1,
240
+ "window_size": 2,
241
+ "flex_window": 0.75,
242
+ "warmup_steps": 1,
243
+ "tail_actual_steps": 1,
244
+ "max_history": 8,
245
+ "debug": false,
246
+ "history_storage": "vram",
247
+ "bootstrap_first_forecast": true,
248
+ "anchor_residual_feedback": false,
249
+ "selective_rollback_correction": false,
250
+ "offline_smoothing_replay": true,
251
+ "audio_blend_weight": 0,
252
+ "model": ["146", 0]
253
+ },
254
+ "class_type": "SpectrumApplyMiniMaxH3",
255
+ "_meta": {
256
+ "title": "Spectrum Apply MiniMax H3"
257
+ }
258
+ },
259
+ "146": {
260
+ "inputs": {
261
+ "sage_attention": "auto",
262
+ "allow_compile": false,
263
+ "model": ["127", 0]
264
+ },
265
+ "class_type": "PathchSageAttentionKJ",
266
+ "_meta": {
267
+ "title": "Patch Sage Attention KJ"
268
+ }
269
+ },
270
+ "147": {
271
+ "inputs": {
272
+ "PowerLoraLoaderHeaderWidget": {
273
+ "type": "PowerLoraLoaderHeaderWidget"
274
+ },
275
+ "➕ Add Lora": "",
276
+ "model": ["145", 0],
277
+ "clip": ["128", 0]
278
+ },
279
+ "class_type": "Power Lora Loader (rgthree)",
280
+ "_meta": {
281
+ "title": "Power Lora Loader (rgthree)"
282
+ }
283
+ }
284
+ }
285
+ }
H3/workflow_api_minimaxh3_t2v.json ADDED
@@ -0,0 +1,219 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "prompt": {
3
+ "121": {
4
+ "inputs": {
5
+ "value": 5
6
+ },
7
+ "class_type": "PrimitiveFloat",
8
+ "_meta": {
9
+ "title": "Float (duration)"
10
+ }
11
+ },
12
+ "122": {
13
+ "inputs": {
14
+ "vae_name": "minimax_h3_audio_vae_fp32.safetensors"
15
+ },
16
+ "class_type": "VAELoader",
17
+ "_meta": {
18
+ "title": "Load VAE"
19
+ }
20
+ },
21
+ "123": {
22
+ "inputs": {
23
+ "expression": "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17",
24
+ "values.a": ["121", 0]
25
+ },
26
+ "class_type": "ComfyMathExpression",
27
+ "_meta": {
28
+ "title": "Math Expression"
29
+ }
30
+ },
31
+ "124": {
32
+ "inputs": {
33
+ "vae_name": "minimax_h3_video_vae_fp16.safetensors"
34
+ },
35
+ "class_type": "VAELoader",
36
+ "_meta": {
37
+ "title": "Load VAE"
38
+ }
39
+ },
40
+ "125": {
41
+ "inputs": {
42
+ "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
43
+ "type": "minimax",
44
+ "device": "default"
45
+ },
46
+ "class_type": "CLIPLoader",
47
+ "_meta": {
48
+ "title": "Load CLIP"
49
+ }
50
+ },
51
+ "126": {
52
+ "inputs": {
53
+ "unet_name": "MinimaxH3\\minimax_h3_fl2va_pruned_int8_convrot.safetensors",
54
+ "weight_dtype": "default"
55
+ },
56
+ "class_type": "UNETLoader",
57
+ "_meta": {
58
+ "title": "Load Diffusion Model"
59
+ }
60
+ },
61
+ "127": {
62
+ "inputs": {
63
+ "prompt": "subject_definitions:\n<Subject 1> \n\nintegrated_multimodal_description:\n\n[Shot 1] \n\n[Shot 2] \n\noverall_soundscape: ",
64
+ "width": 960,
65
+ "height": 544,
66
+ "length": ["123", 1],
67
+ "clip": ["137", 1],
68
+ "vae": ["124", 0]
69
+ },
70
+ "class_type": "MiniMaxH3ImageToVideo",
71
+ "_meta": {
72
+ "title": "MiniMax H3 Image to Video"
73
+ }
74
+ },
75
+ "128": {
76
+ "inputs": {
77
+ "noise_seed": 836251032571729
78
+ },
79
+ "class_type": "RandomNoise",
80
+ "_meta": {
81
+ "title": "RandomNoise"
82
+ }
83
+ },
84
+ "129": {
85
+ "inputs": {
86
+ "model": ["137", 0],
87
+ "conditioning": ["127", 0]
88
+ },
89
+ "class_type": "BasicGuider",
90
+ "_meta": {
91
+ "title": "Basic Guider"
92
+ }
93
+ },
94
+ "130": {
95
+ "inputs": {
96
+ "sampler_name": "res_multistep"
97
+ },
98
+ "class_type": "KSamplerSelect",
99
+ "_meta": {
100
+ "title": "KSamplerSelect"
101
+ }
102
+ },
103
+ "131": {
104
+ "inputs": {
105
+ "scheduler": "simple",
106
+ "steps": 16,
107
+ "denoise": 1,
108
+ "model": ["137", 0]
109
+ },
110
+ "class_type": "BasicScheduler",
111
+ "_meta": {
112
+ "title": "BasicScheduler"
113
+ }
114
+ },
115
+ "132": {
116
+ "inputs": {
117
+ "noise": ["128", 0],
118
+ "guider": ["129", 0],
119
+ "sampler": ["130", 0],
120
+ "sigmas": ["131", 0],
121
+ "latent_image": ["127", 1]
122
+ },
123
+ "class_type": "SamplerCustomAdvanced",
124
+ "_meta": {
125
+ "title": "SamplerCustomAdvanced"
126
+ }
127
+ },
128
+ "133": {
129
+ "inputs": {
130
+ "samples": ["132", 0],
131
+ "vae": ["124", 0]
132
+ },
133
+ "class_type": "VAEDecode",
134
+ "_meta": {
135
+ "title": "VAE Decode"
136
+ }
137
+ },
138
+ "134": {
139
+ "inputs": {
140
+ "samples": ["132", 0],
141
+ "vae": ["122", 0]
142
+ },
143
+ "class_type": "VAEDecodeAudio",
144
+ "_meta": {
145
+ "title": "VAE Decode Audio"
146
+ }
147
+ },
148
+ "135": {
149
+ "inputs": {
150
+ "fps": 24,
151
+ "bit_depth": 8,
152
+ "images": ["133", 0],
153
+ "audio": ["134", 0]
154
+ },
155
+ "class_type": "CreateVideo",
156
+ "_meta": {
157
+ "title": "Create Video"
158
+ }
159
+ },
160
+ "136": {
161
+ "inputs": {
162
+ "filename_prefix": "video/MiniMax_H3",
163
+ "format": "auto",
164
+ "codec": "auto",
165
+ "video": ["135", 0]
166
+ },
167
+ "class_type": "SaveVideo",
168
+ "_meta": {
169
+ "title": "Save Video"
170
+ }
171
+ },
172
+ "137": {
173
+ "inputs": {
174
+ "PowerLoraLoaderHeaderWidget": {
175
+ "type": "PowerLoraLoaderHeaderWidget"
176
+ },
177
+ "➕ Add Lora": "",
178
+ "model": ["140", 0],
179
+ "clip": ["125", 0]
180
+ },
181
+ "class_type": "Power Lora Loader (rgthree)",
182
+ "_meta": {
183
+ "title": "Power Lora Loader (rgthree)"
184
+ }
185
+ },
186
+ "139": {
187
+ "inputs": {
188
+ "sage_attention": "auto",
189
+ "allow_compile": false,
190
+ "model": ["126", 0]
191
+ },
192
+ "class_type": "PathchSageAttentionKJ",
193
+ "_meta": {
194
+ "title": "Patch Sage Attention KJ"
195
+ }
196
+ },
197
+ "140": {
198
+ "inputs": {
199
+ "enabled": true,
200
+ "blend_weight": 0.5,
201
+ "degree": 1,
202
+ "ridge_lambda": 0.1,
203
+ "window_size": 2,
204
+ "flex_window": 0.75,
205
+ "warmup_steps": 1,
206
+ "tail_actual_steps": 1,
207
+ "max_history": 8,
208
+ "debug": false,
209
+ "history_storage": "vram",
210
+ "bootstrap_first_forecast": true,
211
+ "model": ["139", 0]
212
+ },
213
+ "class_type": "SpectrumApplyMiniMaxH3",
214
+ "_meta": {
215
+ "title": "Spectrum Apply MiniMax H3"
216
+ }
217
+ }
218
+ }
219
+ }