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
+ "pos": [
11
+ 750,
12
+ 4870
13
+ ],
14
+ "size": [
15
+ 1380,
16
+ 970
17
+ ],
18
+ "flags": {},
19
+ "order": 31,
20
+ "mode": 0,
21
+ "inputs": [
22
+ {
23
+ "name": "video",
24
+ "type": "VIDEO",
25
+ "link": 260
26
+ }
27
+ ],
28
+ "outputs": [
29
+ {
30
+ "name": "video",
31
+ "type": "VIDEO",
32
+ "links": null
33
+ }
34
+ ],
35
+ "properties": {
36
+ "cnr_id": "comfy-core",
37
+ "ver": "0.33.0"
38
+ },
39
+ "widgets_values": [
40
+ "video/H3_Character_Swap_v1",
41
+ "auto",
42
+ "auto",
43
+ "auto"
44
+ ],
45
+ "widgets_values_named": {
46
+ "filename_prefix": "video/H3_Character_Swap_v1",
47
+ "format": "auto",
48
+ "format.codec": "auto",
49
+ "codec": "auto"
50
+ }
51
+ },
52
+ {
53
+ "id": 115,
54
+ "type": "ResolutionSelector",
55
+ "pos": [
56
+ -1487.2027972027972,
57
+ 6221.538461538463
58
+ ],
59
+ "size": [
60
+ 270,
61
+ 170
62
+ ],
63
+ "flags": {},
64
+ "order": 0,
65
+ "mode": 0,
66
+ "showAdvanced": false,
67
+ "inputs": [],
68
+ "outputs": [
69
+ {
70
+ "name": "width",
71
+ "type": "INT",
72
+ "links": [
73
+ 276
74
+ ]
75
+ },
76
+ {
77
+ "name": "height",
78
+ "type": "INT",
79
+ "links": [
80
+ 277
81
+ ]
82
+ }
83
+ ],
84
+ "title": "Resolution Selector (Size)",
85
+ "properties": {
86
+ "Node name for S&R": "ResolutionSelector",
87
+ "cnr_id": "comfy-core",
88
+ "ver": "0.33.0"
89
+ },
90
+ "widgets_values": [
91
+ "16:9 (Widescreen)",
92
+ 0.4,
93
+ 32
94
+ ],
95
+ "widgets_values_named": {
96
+ "aspect_ratio": "16:9 (Widescreen)",
97
+ "megapixels": 0.4,
98
+ "multiple": 32
99
+ },
100
+ "color": "#322",
101
+ "bgcolor": "#533"
102
+ },
103
+ {
104
+ "id": 116,
105
+ "type": "MarkdownNote",
106
+ "pos": [
107
+ -2030,
108
+ 4850
109
+ ],
110
+ "size": [
111
+ 450,
112
+ 890
113
+ ],
114
+ "flags": {},
115
+ "order": 1,
116
+ "mode": 0,
117
+ "inputs": [],
118
+ "outputs": [],
119
+ "title": "Note: MiniMax H3",
120
+ "properties": {},
121
+ "widgets_values": [
122
+ "## MiniMax H3\n\n[MiniMax H3](https://www.minimax.io/blog/minimax-h3) is MiniMax's general-purpose, omni-modal generation model. It jointly understands text, image, video, and audio, and generates video with **native stereo audio**: voice, sound effects, and music are modeled jointly in a single forward pass, not layered on afterward. Output is up to 2K resolution, 24fps, and up to about 15 seconds.\n\n## ComfyUI links\n- [ComfyUI#15224](https://github.com/Comfy-Org/ComfyUI/pull/15224)\n- [🤗 Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n\n## About this workflow\n\nThis template runs the **reference-to-video (ref2va)** task using the `MiniMaxH3ReferenceToVideo` node. It takes any mix of reference images, videos, and standalone audio, and weaves them into the generation to lock in a character's identity, a style, a motion, a camera move, or a voice.\n\n**Key inputs**\n\n- **ref_images / ref_videos / ref_video_audios / ref_audios**: up to 9 reference images, 3 reference videos (each may carry its own paired soundtrack), and 3 standalone reference audio clips\n- **prompt**: reference the inputs by tag, in the exact order they were connected, for example `<Picture 1>`, `<Video 1>`, `<Audio 1>`, then describe the target scene, motion, and audio\n- **ref_image_size**: `match` scales references down to the generation's resolution (faster); `max` keeps up to a 2048px short edge for stronger identity fidelity, at the cost of speed since reference tokens ride along every sampling step\n- **width / height**: set via Resolution Selector.\n- **duration (seconds)**: converted to a valid frame `length` by the Math Expression node\n\n**Sampling and decode**\n\n- Sampler: `res_multistep`. `beta` or `normal` scheduler tends to outperform `simple` for reference-heavy prompts like this one\n- The sampler's joint audio+video `LATENT` output feeds directly into both `VAEDecode` (video, `minimax_h3_video_vae_int8_convrot`) and `VAEDecodeAudio` (audio, `minimax_h3_audio_vae_fp32`); each decode node automatically pulls its own half out of the packed latent. `CreateVideo` then muxes the two into a single MP4 with synced sound\n- The diffusion model here is `minimax_h3_ref2va_pruned_int8_convrot.safetensors`, a different set of weights from the `fl2va` model used by the t2v/i2v templates\n\nRef2va's output is very sensitive to prompt wording; matching the reference tags precisely and being explicit about which reference drives which part of the shot tends to work best."
123
+ ],
124
+ "widgets_values_named": {
125
+ "text": "## MiniMax H3\n\n[MiniMax H3](https://www.minimax.io/blog/minimax-h3) is MiniMax's general-purpose, omni-modal generation model. It jointly understands text, image, video, and audio, and generates video with **native stereo audio**: voice, sound effects, and music are modeled jointly in a single forward pass, not layered on afterward. Output is up to 2K resolution, 24fps, and up to about 15 seconds.\n\n## ComfyUI links\n- [ComfyUI#15224](https://github.com/Comfy-Org/ComfyUI/pull/15224)\n- [🤗 Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n\n## About this workflow\n\nThis template runs the **reference-to-video (ref2va)** task using the `MiniMaxH3ReferenceToVideo` node. It takes any mix of reference images, videos, and standalone audio, and weaves them into the generation to lock in a character's identity, a style, a motion, a camera move, or a voice.\n\n**Key inputs**\n\n- **ref_images / ref_videos / ref_video_audios / ref_audios**: up to 9 reference images, 3 reference videos (each may carry its own paired soundtrack), and 3 standalone reference audio clips\n- **prompt**: reference the inputs by tag, in the exact order they were connected, for example `<Picture 1>`, `<Video 1>`, `<Audio 1>`, then describe the target scene, motion, and audio\n- **ref_image_size**: `match` scales references down to the generation's resolution (faster); `max` keeps up to a 2048px short edge for stronger identity fidelity, at the cost of speed since reference tokens ride along every sampling step\n- **width / height**: set via Resolution Selector.\n- **duration (seconds)**: converted to a valid frame `length` by the Math Expression node\n\n**Sampling and decode**\n\n- Sampler: `res_multistep`. `beta` or `normal` scheduler tends to outperform `simple` for reference-heavy prompts like this one\n- The sampler's joint audio+video `LATENT` output feeds directly into both `VAEDecode` (video, `minimax_h3_video_vae_int8_convrot`) and `VAEDecodeAudio` (audio, `minimax_h3_audio_vae_fp32`); each decode node automatically pulls its own half out of the packed latent. `CreateVideo` then muxes the two into a single MP4 with synced sound\n- The diffusion model here is `minimax_h3_ref2va_pruned_int8_convrot.safetensors`, a different set of weights from the `fl2va` model used by the t2v/i2v templates\n\nRef2va's output is very sensitive to prompt wording; matching the reference tags precisely and being explicit about which reference drives which part of the shot tends to work best."
126
+ },
127
+ "color": "#222",
128
+ "bgcolor": "#000"
129
+ },
130
+ {
131
+ "id": 117,
132
+ "type": "MarkdownNote",
133
+ "pos": [
134
+ -2500,
135
+ 4850
136
+ ],
137
+ "size": [
138
+ 440,
139
+ 740
140
+ ],
141
+ "flags": {},
142
+ "order": 2,
143
+ "mode": 0,
144
+ "inputs": [],
145
+ "outputs": [],
146
+ "title": "Note: Model Links",
147
+ "properties": {},
148
+ "widgets_values": [
149
+ "## Model Links\n[🤗 Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n\n**vae**\n\n- [minimax_h3_video_vae_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors)\n- [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors)\n\n**diffusion_models**\n\n- [minimax_h3_ref2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors)\n\n**loras**\n\n- 4 steps: [minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors)\n\n**embeddings**\n\n- [10 style embeddings](https://huggingface.co/Comfy-Org/MiniMax-H3/tree/main/embeddings) (`minimaxh3_*.safetensors`), for example `minimaxh3_art_is_explosion`\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 vae/\n│ │ ├── minimax_h3_video_vae_int8_convrot.safetensors\n│ │ └── minimax_h3_audio_vae_fp32.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── minimax_h3_ref2va_pruned_int8_convrot.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors\n│ ├── 📂 loras/\n│ │ └── minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors\n│ └── 📂 embeddings/\n│ └── minimaxh3_art_is_explosion.safetensors\n```\n\n## Using Prompt Embeddings\n\nPrompt embeddings (supported since [ComfyUI#15697](https://github.com/Comfy-Org/ComfyUI/pull/15697)) add reusable style tokens to your prompt. Download one or more embeddings from the folder above into `ComfyUI/models/embeddings/`, then reference one in the prompt text with the `embedding:` prefix and the filename without its extension, for example:\n\n`embedding:minimaxh3_art_is_explosion`\n\nUsing an embedding is optional and the template runs fine without one.\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
150
+ ],
151
+ "widgets_values_named": {
152
+ "text": "## Model Links\n[🤗 Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n\n**vae**\n\n- [minimax_h3_video_vae_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors)\n- [minimax_h3_audio_vae_fp32.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors)\n\n**diffusion_models**\n\n- [minimax_h3_ref2va_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors)\n\n**loras**\n\n- 4 steps: [minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors)\n\n**embeddings**\n\n- [10 style embeddings](https://huggingface.co/Comfy-Org/MiniMax-H3/tree/main/embeddings) (`minimaxh3_*.safetensors`), for example `minimaxh3_art_is_explosion`\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 vae/\n│ │ ├── minimax_h3_video_vae_int8_convrot.safetensors\n│ │ └── minimax_h3_audio_vae_fp32.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── minimax_h3_ref2va_pruned_int8_convrot.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors\n│ ├── 📂 loras/\n│ │ └── minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors\n│ └── 📂 embeddings/\n│ └── minimaxh3_art_is_explosion.safetensors\n```\n\n## Using Prompt Embeddings\n\nPrompt embeddings (supported since [ComfyUI#15697](https://github.com/Comfy-Org/ComfyUI/pull/15697)) add reusable style tokens to your prompt. Download one or more embeddings from the folder above into `ComfyUI/models/embeddings/`, then reference one in the prompt text with the `embedding:` prefix and the filename without its extension, for example:\n\n`embedding:minimaxh3_art_is_explosion`\n\nUsing an embedding is optional and the template runs fine without one.\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
153
+ },
154
+ "color": "#222",
155
+ "bgcolor": "#000"
156
+ },
157
+ {
158
+ "id": 119,
159
+ "type": "VAELoader",
160
+ "pos": [
161
+ -1490,
162
+ 5650
163
+ ],
164
+ "size": [
165
+ 640,
166
+ 70
167
+ ],
168
+ "flags": {},
169
+ "order": 3,
170
+ "mode": 0,
171
+ "inputs": [],
172
+ "outputs": [
173
+ {
174
+ "name": "VAE",
175
+ "type": "VAE",
176
+ "links": [
177
+ 251,
178
+ 273
179
+ ]
180
+ }
181
+ ],
182
+ "properties": {
183
+ "Node name for S&R": "VAELoader",
184
+ "cnr_id": "comfy-core",
185
+ "ver": "0.33.0",
186
+ "models": [
187
+ {
188
+ "name": "minimax_h3_video_vae_int8_convrot.safetensors",
189
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors",
190
+ "directory": "vae"
191
+ }
192
+ ]
193
+ },
194
+ "widgets_values": [
195
+ "minimax_h3_video_vae_int8_convrot.safetensors"
196
+ ],
197
+ "widgets_values_named": {
198
+ "vae_name": "minimax_h3_video_vae_int8_convrot.safetensors"
199
+ }
200
+ },
201
+ {
202
+ "id": 120,
203
+ "type": "VAELoader",
204
+ "pos": [
205
+ -1490,
206
+ 5790
207
+ ],
208
+ "size": [
209
+ 650,
210
+ 70
211
+ ],
212
+ "flags": {},
213
+ "order": 4,
214
+ "mode": 0,
215
+ "inputs": [],
216
+ "outputs": [
217
+ {
218
+ "name": "VAE",
219
+ "type": "VAE",
220
+ "links": [
221
+ 250,
222
+ 274
223
+ ]
224
+ }
225
+ ],
226
+ "properties": {
227
+ "Node name for S&R": "VAELoader",
228
+ "cnr_id": "comfy-core",
229
+ "ver": "0.33.0",
230
+ "models": [
231
+ {
232
+ "name": "minimax_h3_audio_vae_fp32.safetensors",
233
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors",
234
+ "directory": "vae"
235
+ }
236
+ ]
237
+ },
238
+ "widgets_values": [
239
+ "minimax_h3_audio_vae_fp32.safetensors"
240
+ ],
241
+ "widgets_values_named": {
242
+ "vae_name": "minimax_h3_audio_vae_fp32.safetensors"
243
+ }
244
+ },
245
+ {
246
+ "id": 121,
247
+ "type": "VAEDecodeAudio",
248
+ "pos": [
249
+ 20,
250
+ 5750
251
+ ],
252
+ "size": [
253
+ 230,
254
+ 60
255
+ ],
256
+ "flags": {
257
+ "collapsed": false
258
+ },
259
+ "order": 29,
260
+ "mode": 0,
261
+ "inputs": [
262
+ {
263
+ "name": "samples",
264
+ "type": "LATENT",
265
+ "link": 281
266
+ },
267
+ {
268
+ "name": "vae",
269
+ "type": "VAE",
270
+ "link": 250
271
+ }
272
+ ],
273
+ "outputs": [
274
+ {
275
+ "name": "AUDIO",
276
+ "type": "AUDIO",
277
+ "links": [
278
+ 259
279
+ ]
280
+ }
281
+ ],
282
+ "properties": {
283
+ "Node name for S&R": "VAEDecodeAudio",
284
+ "cnr_id": "comfy-core",
285
+ "ver": "0.33.0"
286
+ }
287
+ },
288
+ {
289
+ "id": 122,
290
+ "type": "VAEDecode",
291
+ "pos": [
292
+ 20,
293
+ 5650
294
+ ],
295
+ "size": [
296
+ 230,
297
+ 60
298
+ ],
299
+ "flags": {
300
+ "collapsed": false
301
+ },
302
+ "order": 28,
303
+ "mode": 0,
304
+ "inputs": [
305
+ {
306
+ "name": "samples",
307
+ "type": "LATENT",
308
+ "link": 280
309
+ },
310
+ {
311
+ "name": "vae",
312
+ "type": "VAE",
313
+ "link": 251
314
+ }
315
+ ],
316
+ "outputs": [
317
+ {
318
+ "name": "IMAGE",
319
+ "type": "IMAGE",
320
+ "links": [
321
+ 258
322
+ ]
323
+ }
324
+ ],
325
+ "properties": {
326
+ "Node name for S&R": "VAEDecode",
327
+ "cnr_id": "comfy-core",
328
+ "ver": "0.33.0"
329
+ }
330
+ },
331
+ {
332
+ "id": 123,
333
+ "type": "KSamplerSelect",
334
+ "pos": [
335
+ 0,
336
+ 5200
337
+ ],
338
+ "size": [
339
+ 370,
340
+ 70
341
+ ],
342
+ "flags": {},
343
+ "order": 5,
344
+ "mode": 0,
345
+ "inputs": [],
346
+ "outputs": [
347
+ {
348
+ "name": "SAMPLER",
349
+ "type": "SAMPLER",
350
+ "links": [
351
+ 255
352
+ ]
353
+ }
354
+ ],
355
+ "properties": {
356
+ "Node name for S&R": "KSamplerSelect",
357
+ "cnr_id": "comfy-core",
358
+ "ver": "0.33.0"
359
+ },
360
+ "widgets_values": [
361
+ "res_multistep"
362
+ ],
363
+ "widgets_values_named": {
364
+ "sampler_name": "res_multistep"
365
+ }
366
+ },
367
+ {
368
+ "id": 124,
369
+ "type": "BasicScheduler",
370
+ "pos": [
371
+ 0,
372
+ 5320
373
+ ],
374
+ "size": [
375
+ 370,
376
+ 130
377
+ ],
378
+ "flags": {},
379
+ "order": 23,
380
+ "mode": 0,
381
+ "inputs": [
382
+ {
383
+ "name": "model",
384
+ "type": "MODEL",
385
+ "link": 252
386
+ },
387
+ {
388
+ "name": "steps",
389
+ "type": "INT",
390
+ "widget": {
391
+ "name": "steps"
392
+ },
393
+ "link": 289
394
+ }
395
+ ],
396
+ "outputs": [
397
+ {
398
+ "name": "SIGMAS",
399
+ "type": "SIGMAS",
400
+ "links": [
401
+ 256
402
+ ]
403
+ }
404
+ ],
405
+ "properties": {
406
+ "Node name for S&R": "BasicScheduler",
407
+ "cnr_id": "comfy-core",
408
+ "ver": "0.33.0"
409
+ },
410
+ "widgets_values": [
411
+ "simple",
412
+ 20,
413
+ 1
414
+ ],
415
+ "widgets_values_named": {
416
+ "scheduler": "simple",
417
+ "steps": 20,
418
+ "denoise": 1
419
+ }
420
+ },
421
+ {
422
+ "id": 125,
423
+ "type": "SamplerCustomAdvanced",
424
+ "pos": [
425
+ 410,
426
+ 5120
427
+ ],
428
+ "size": [
429
+ 230,
430
+ 140
431
+ ],
432
+ "flags": {},
433
+ "order": 27,
434
+ "mode": 0,
435
+ "inputs": [
436
+ {
437
+ "name": "noise",
438
+ "type": "NOISE",
439
+ "link": 253
440
+ },
441
+ {
442
+ "name": "guider",
443
+ "type": "GUIDER",
444
+ "link": 254
445
+ },
446
+ {
447
+ "name": "sampler",
448
+ "type": "SAMPLER",
449
+ "link": 255
450
+ },
451
+ {
452
+ "name": "sigmas",
453
+ "type": "SIGMAS",
454
+ "link": 256
455
+ },
456
+ {
457
+ "name": "latent_image",
458
+ "type": "LATENT",
459
+ "link": 271
460
+ }
461
+ ],
462
+ "outputs": [
463
+ {
464
+ "name": "output",
465
+ "type": "LATENT",
466
+ "links": [
467
+ 280,
468
+ 281
469
+ ]
470
+ },
471
+ {
472
+ "name": "denoised_output",
473
+ "type": "LATENT",
474
+ "links": []
475
+ }
476
+ ],
477
+ "properties": {
478
+ "Node name for S&R": "SamplerCustomAdvanced",
479
+ "cnr_id": "comfy-core",
480
+ "ver": "0.33.0"
481
+ }
482
+ },
483
+ {
484
+ "id": 126,
485
+ "type": "BasicGuider",
486
+ "pos": [
487
+ 0,
488
+ 5090
489
+ ],
490
+ "size": [
491
+ 360,
492
+ 60
493
+ ],
494
+ "flags": {},
495
+ "order": 26,
496
+ "mode": 0,
497
+ "inputs": [
498
+ {
499
+ "name": "model",
500
+ "type": "MODEL",
501
+ "link": 288
502
+ },
503
+ {
504
+ "name": "conditioning",
505
+ "type": "CONDITIONING",
506
+ "link": 270
507
+ }
508
+ ],
509
+ "outputs": [
510
+ {
511
+ "name": "GUIDER",
512
+ "type": "GUIDER",
513
+ "links": [
514
+ 254
515
+ ]
516
+ }
517
+ ],
518
+ "properties": {
519
+ "Node name for S&R": "BasicGuider",
520
+ "cnr_id": "comfy-core",
521
+ "ver": "0.33.0"
522
+ }
523
+ },
524
+ {
525
+ "id": 127,
526
+ "type": "UNETLoader",
527
+ "pos": [
528
+ -1490,
529
+ 4980
530
+ ],
531
+ "size": [
532
+ 640,
533
+ 90
534
+ ],
535
+ "flags": {},
536
+ "order": 6,
537
+ "mode": 0,
538
+ "inputs": [],
539
+ "outputs": [
540
+ {
541
+ "name": "MODEL",
542
+ "type": "MODEL",
543
+ "links": [
544
+ 292
545
+ ]
546
+ }
547
+ ],
548
+ "properties": {
549
+ "Node name for S&R": "UNETLoader",
550
+ "cnr_id": "comfy-core",
551
+ "ver": "0.33.0",
552
+ "models": [
553
+ {
554
+ "name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
555
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors",
556
+ "directory": "diffusion_models"
557
+ }
558
+ ]
559
+ },
560
+ "widgets_values": [
561
+ "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
562
+ "default"
563
+ ],
564
+ "widgets_values_named": {
565
+ "unet_name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
566
+ "weight_dtype": "default"
567
+ }
568
+ },
569
+ {
570
+ "id": 128,
571
+ "type": "CLIPLoader",
572
+ "pos": [
573
+ -1490,
574
+ 5460
575
+ ],
576
+ "size": [
577
+ 640,
578
+ 120
579
+ ],
580
+ "flags": {},
581
+ "order": 7,
582
+ "mode": 0,
583
+ "inputs": [],
584
+ "outputs": [
585
+ {
586
+ "name": "CLIP",
587
+ "type": "CLIP",
588
+ "links": [
589
+ 272
590
+ ]
591
+ }
592
+ ],
593
+ "properties": {
594
+ "Node name for S&R": "CLIPLoader",
595
+ "cnr_id": "comfy-core",
596
+ "ver": "0.33.0",
597
+ "models": [
598
+ {
599
+ "name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
600
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
601
+ "directory": "text_encoders"
602
+ }
603
+ ]
604
+ },
605
+ "widgets_values": [
606
+ "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
607
+ "minimax",
608
+ "default"
609
+ ],
610
+ "widgets_values_named": {
611
+ "clip_name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
612
+ "type": "minimax",
613
+ "device": "default"
614
+ }
615
+ },
616
+ {
617
+ "id": 129,
618
+ "type": "RandomNoise",
619
+ "pos": [
620
+ 0,
621
+ 4950
622
+ ],
623
+ "size": [
624
+ 360,
625
+ 90
626
+ ],
627
+ "flags": {},
628
+ "order": 8,
629
+ "mode": 0,
630
+ "inputs": [],
631
+ "outputs": [
632
+ {
633
+ "name": "NOISE",
634
+ "type": "NOISE",
635
+ "links": [
636
+ 253
637
+ ]
638
+ }
639
+ ],
640
+ "properties": {
641
+ "Node name for S&R": "RandomNoise",
642
+ "cnr_id": "comfy-core",
643
+ "ver": "0.33.0"
644
+ },
645
+ "widgets_values": [
646
+ 904234,
647
+ "fixed"
648
+ ],
649
+ "widgets_values_named": {
650
+ "noise_seed": 904234,
651
+ "control_after_generate": "fixed"
652
+ }
653
+ },
654
+ {
655
+ "id": 130,
656
+ "type": "CreateVideo",
657
+ "pos": [
658
+ 330,
659
+ 5650
660
+ ],
661
+ "size": [
662
+ 270,
663
+ 150
664
+ ],
665
+ "flags": {},
666
+ "order": 30,
667
+ "mode": 0,
668
+ "inputs": [
669
+ {
670
+ "name": "images",
671
+ "type": "IMAGE",
672
+ "link": 258
673
+ },
674
+ {
675
+ "name": "audio",
676
+ "shape": 7,
677
+ "type": "AUDIO",
678
+ "link": 259
679
+ }
680
+ ],
681
+ "outputs": [
682
+ {
683
+ "name": "VIDEO",
684
+ "type": "VIDEO",
685
+ "links": [
686
+ 260
687
+ ]
688
+ }
689
+ ],
690
+ "properties": {
691
+ "Node name for S&R": "CreateVideo",
692
+ "cnr_id": "comfy-core",
693
+ "ver": "0.33.0"
694
+ },
695
+ "widgets_values": [
696
+ 24,
697
+ 8,
698
+ "sRGB",
699
+ "none"
700
+ ],
701
+ "widgets_values_named": {
702
+ "fps": 24,
703
+ "bit_depth": 8,
704
+ "color_space": "sRGB",
705
+ "codec": "none"
706
+ }
707
+ },
708
+ {
709
+ "id": 131,
710
+ "type": "ComfyMathExpression",
711
+ "pos": [
712
+ -1487.2027972027972,
713
+ 6601.538461538463
714
+ ],
715
+ "size": [
716
+ 225,
717
+ 74
718
+ ],
719
+ "flags": {
720
+ "collapsed": true
721
+ },
722
+ "order": 19,
723
+ "mode": 0,
724
+ "inputs": [
725
+ {
726
+ "label": "a",
727
+ "name": "values.a",
728
+ "type": "FLOAT,INT,BOOLEAN",
729
+ "link": 261
730
+ },
731
+ {
732
+ "name": "values.b",
733
+ "shape": 7,
734
+ "type": "FLOAT,INT,BOOLEAN",
735
+ "link": null
736
+ }
737
+ ],
738
+ "outputs": [
739
+ {
740
+ "name": "FLOAT",
741
+ "type": "FLOAT",
742
+ "links": []
743
+ },
744
+ {
745
+ "name": "INT",
746
+ "type": "INT",
747
+ "links": [
748
+ 275
749
+ ]
750
+ },
751
+ {
752
+ "name": "BOOL",
753
+ "type": "BOOLEAN",
754
+ "links": []
755
+ }
756
+ ],
757
+ "properties": {
758
+ "Node name for S&R": "ComfyMathExpression",
759
+ "cnr_id": "comfy-core",
760
+ "ver": "0.33.0"
761
+ },
762
+ "widgets_values": [
763
+ "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
764
+ ],
765
+ "widgets_values_named": {
766
+ "expression": "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
767
+ }
768
+ },
769
+ {
770
+ "id": 132,
771
+ "type": "PrimitiveFloat",
772
+ "pos": [
773
+ -1487.2027972027972,
774
+ 6461.538461538463
775
+ ],
776
+ "size": [
777
+ 271.378515625,
778
+ 70
779
+ ],
780
+ "flags": {},
781
+ "order": 9,
782
+ "mode": 0,
783
+ "inputs": [],
784
+ "outputs": [
785
+ {
786
+ "name": "FLOAT",
787
+ "type": "FLOAT",
788
+ "links": [
789
+ 261
790
+ ]
791
+ }
792
+ ],
793
+ "title": "Duration · 5 seconds → 124 frames",
794
+ "properties": {
795
+ "Node name for S&R": "PrimitiveFloat",
796
+ "cnr_id": "comfy-core",
797
+ "ver": "0.33.0"
798
+ },
799
+ "widgets_values": [
800
+ 5
801
+ ],
802
+ "widgets_values_named": {
803
+ "value": 5
804
+ },
805
+ "color": "#322",
806
+ "bgcolor": "#533"
807
+ },
808
+ {
809
+ "id": 136,
810
+ "type": "MiniMaxH3ReferenceToVideo",
811
+ "pos": [
812
+ -620,
813
+ 5420
814
+ ],
815
+ "size": [
816
+ 400,
817
+ 464
818
+ ],
819
+ "flags": {},
820
+ "order": 24,
821
+ "mode": 0,
822
+ "inputs": [
823
+ {
824
+ "name": "clip",
825
+ "type": "CLIP",
826
+ "link": 272
827
+ },
828
+ {
829
+ "name": "vae",
830
+ "shape": 7,
831
+ "type": "VAE",
832
+ "link": 273
833
+ },
834
+ {
835
+ "name": "audio_vae",
836
+ "shape": 7,
837
+ "type": "VAE",
838
+ "link": 274
839
+ },
840
+ {
841
+ "label": "ref_image_0",
842
+ "name": "ref_images.ref_image_0",
843
+ "shape": 7,
844
+ "type": "IMAGE",
845
+ "link": 278
846
+ },
847
+ {
848
+ "name": "ref_images.ref_image_1",
849
+ "shape": 7,
850
+ "type": "IMAGE",
851
+ "link": null
852
+ },
853
+ {
854
+ "name": "ref_images.ref_image_2",
855
+ "shape": 7,
856
+ "type": "IMAGE",
857
+ "link": null
858
+ },
859
+ {
860
+ "label": "ref_video_0",
861
+ "name": "ref_videos.ref_video_0",
862
+ "shape": 7,
863
+ "type": "IMAGE",
864
+ "link": 294
865
+ },
866
+ {
867
+ "name": "ref_videos.ref_video_1",
868
+ "shape": 7,
869
+ "type": "IMAGE",
870
+ "link": null
871
+ },
872
+ {
873
+ "label": "ref_video_audio_0",
874
+ "name": "ref_video_audios.ref_video_audio_0",
875
+ "shape": 7,
876
+ "type": "AUDIO",
877
+ "link": null
878
+ },
879
+ {
880
+ "name": "ref_video_audios.ref_video_audio_1",
881
+ "shape": 7,
882
+ "type": "AUDIO",
883
+ "link": null
884
+ },
885
+ {
886
+ "name": "ref_video_audios.ref_video_audio_2",
887
+ "shape": 7,
888
+ "type": "AUDIO",
889
+ "link": null
890
+ },
891
+ {
892
+ "label": "ref_audio_0",
893
+ "name": "ref_audios.ref_audio_0",
894
+ "shape": 7,
895
+ "type": "AUDIO",
896
+ "link": null
897
+ },
898
+ {
899
+ "name": "ref_audios.ref_audio_1",
900
+ "shape": 7,
901
+ "type": "AUDIO",
902
+ "link": null
903
+ },
904
+ {
905
+ "name": "ref_audios.ref_audio_2",
906
+ "shape": 7,
907
+ "type": "AUDIO",
908
+ "link": null
909
+ },
910
+ {
911
+ "name": "prompt",
912
+ "type": "STRING",
913
+ "widget": {
914
+ "name": "prompt"
915
+ },
916
+ "link": 279
917
+ },
918
+ {
919
+ "name": "width",
920
+ "type": "INT",
921
+ "widget": {
922
+ "name": "width"
923
+ },
924
+ "link": 276
925
+ },
926
+ {
927
+ "name": "height",
928
+ "type": "INT",
929
+ "widget": {
930
+ "name": "height"
931
+ },
932
+ "link": 277
933
+ },
934
+ {
935
+ "name": "length",
936
+ "type": "INT",
937
+ "widget": {
938
+ "name": "length"
939
+ },
940
+ "link": 275
941
+ }
942
+ ],
943
+ "outputs": [
944
+ {
945
+ "name": "positive",
946
+ "type": "CONDITIONING",
947
+ "links": [
948
+ 270
949
+ ]
950
+ },
951
+ {
952
+ "name": "LATENT",
953
+ "type": "LATENT",
954
+ "links": [
955
+ 271
956
+ ]
957
+ }
958
+ ],
959
+ "properties": {
960
+ "Node name for S&R": "MiniMaxH3ReferenceToVideo",
961
+ "cnr_id": "comfy-core",
962
+ "ver": "0.33.0"
963
+ },
964
+ "widgets_values": [
965
+ "",
966
+ 1344,
967
+ 768,
968
+ 124,
969
+ "match"
970
+ ],
971
+ "widgets_values_named": {
972
+ "prompt": "",
973
+ "width": 1344,
974
+ "height": 768,
975
+ "length": 124,
976
+ "ref_image_size": "match"
977
+ }
978
+ },
979
+ {
980
+ "id": 137,
981
+ "type": "LoadImage",
982
+ "pos": [
983
+ -1047.2027972027972,
984
+ 6121.538461538463
985
+ ],
986
+ "size": [
987
+ 350,
988
+ 400
989
+ ],
990
+ "flags": {},
991
+ "order": 10,
992
+ "mode": 0,
993
+ "inputs": [],
994
+ "outputs": [
995
+ {
996
+ "name": "IMAGE",
997
+ "type": "IMAGE",
998
+ "links": [
999
+ 278
1000
+ ]
1001
+ },
1002
+ {
1003
+ "name": "MASK",
1004
+ "type": "MASK",
1005
+ "links": null
1006
+ }
1007
+ ],
1008
+ "title": "Replacement character · <Picture 1>",
1009
+ "properties": {
1010
+ "Node name for S&R": "LoadImage",
1011
+ "cnr_id": "comfy-core",
1012
+ "ver": "0.33.0"
1013
+ },
1014
+ "widgets_values": [
1015
+ "replacement_character.png",
1016
+ "image"
1017
+ ],
1018
+ "widgets_values_named": {
1019
+ "image": "replacement_character.png",
1020
+ "upload": "image"
1021
+ }
1022
+ },
1023
+ {
1024
+ "id": 138,
1025
+ "type": "PrimitiveStringMultiline",
1026
+ "pos": [
1027
+ -1047.2027972027972,
1028
+ 6721.538461538463
1029
+ ],
1030
+ "size": [
1031
+ 1130,
1032
+ 300
1033
+ ],
1034
+ "flags": {},
1035
+ "order": 11,
1036
+ "mode": 0,
1037
+ "inputs": [],
1038
+ "outputs": [
1039
+ {
1040
+ "name": "STRING",
1041
+ "type": "STRING",
1042
+ "links": [
1043
+ 279
1044
+ ]
1045
+ }
1046
+ ],
1047
+ "title": "Swap prompt · update the target person",
1048
+ "properties": {
1049
+ "Node name for S&R": "PrimitiveStringMultiline",
1050
+ "cnr_id": "comfy-core",
1051
+ "ver": "0.33.0"
1052
+ },
1053
+ "widgets_values": [
1054
+ "Replace only the woman in the foreground in <Video 1> with the character in <Picture 1>. Keep the replacement character's identity, outfit, and art style from <Picture 1>. Preserve the source video's camera, framing, background, lighting, objects, and all other people. Match the selected woman's position, scale, pose, and movement throughout the clip. Do not show the reference sheet or its background."
1055
+ ],
1056
+ "widgets_values_named": {
1057
+ "value": "Replace only the woman in the foreground in <Video 1> with the character in <Picture 1>. Keep the replacement character's identity, outfit, and art style from <Picture 1>. Preserve the source video's camera, framing, background, lighting, objects, and all other people. Match the selected woman's position, scale, pose, and movement throughout the clip. Do not show the reference sheet or its background."
1058
+ },
1059
+ "color": "#322",
1060
+ "bgcolor": "#533"
1061
+ },
1062
+ {
1063
+ "id": 140,
1064
+ "type": "MarkdownNote",
1065
+ "pos": [
1066
+ -2843.0769230769224,
1067
+ 5066.923076923075
1068
+ ],
1069
+ "size": [
1070
+ 300,
1071
+ 520
1072
+ ],
1073
+ "flags": {},
1074
+ "order": 12,
1075
+ "mode": 0,
1076
+ "inputs": [],
1077
+ "outputs": [],
1078
+ "title": "Note: Size Settings Reference",
1079
+ "properties": {},
1080
+ "widgets_values": [
1081
+ "| megapixels | Aspect | Output (multiple=32) |\n|---|---|---|\n| 0.2 | 16:9 | 608 x 352 |\n| 0.3 | 16:9 | 736 x 416 |\n| 0.4 | 16:9 | 864 x 480 |\n| 0.5 | 16:9 | 960 x 544 |\n| 0.6 | 16:9 | 1056 x 608 |\n| 0.7 | 16:9 | 1152 x 640 |\n| 0.8 | 16:9 | 1216 x 672 |\n| 0.9 | 16:9 | 1280 x 736 |\n| 0.98 | 16:9 | 1344 x 768 (official 768p) |"
1082
+ ],
1083
+ "widgets_values_named": {
1084
+ "text": "| megapixels | Aspect | Output (multiple=32) |\n|---|---|---|\n| 0.2 | 16:9 | 608 x 352 |\n| 0.3 | 16:9 | 736 x 416 |\n| 0.4 | 16:9 | 864 x 480 |\n| 0.5 | 16:9 | 960 x 544 |\n| 0.6 | 16:9 | 1056 x 608 |\n| 0.7 | 16:9 | 1152 x 640 |\n| 0.8 | 16:9 | 1216 x 672 |\n| 0.9 | 16:9 | 1280 x 736 |\n| 0.98 | 16:9 | 1344 x 768 (official 768p) |"
1085
+ },
1086
+ "color": "#222",
1087
+ "bgcolor": "#000"
1088
+ },
1089
+ {
1090
+ "id": 141,
1091
+ "type": "ComfySwitchNode",
1092
+ "pos": [
1093
+ -730,
1094
+ 4940
1095
+ ],
1096
+ "size": [
1097
+ 270,
1098
+ 110
1099
+ ],
1100
+ "flags": {},
1101
+ "order": 25,
1102
+ "mode": 0,
1103
+ "inputs": [
1104
+ {
1105
+ "name": "on_false",
1106
+ "shape": 7,
1107
+ "type": "MODEL",
1108
+ "link": 287
1109
+ },
1110
+ {
1111
+ "name": "on_true",
1112
+ "shape": 7,
1113
+ "type": "MODEL",
1114
+ "link": 286
1115
+ },
1116
+ {
1117
+ "name": "switch",
1118
+ "type": "BOOLEAN",
1119
+ "widget": {
1120
+ "name": "switch"
1121
+ },
1122
+ "link": 290
1123
+ }
1124
+ ],
1125
+ "outputs": [
1126
+ {
1127
+ "name": "output",
1128
+ "type": "MODEL",
1129
+ "links": [
1130
+ 288
1131
+ ]
1132
+ }
1133
+ ],
1134
+ "title": "If/Else Switch (model)",
1135
+ "properties": {
1136
+ "Node name for S&R": "ComfySwitchNode",
1137
+ "cnr_id": "comfy-core",
1138
+ "ver": "0.33.0"
1139
+ },
1140
+ "widgets_values": [
1141
+ false
1142
+ ],
1143
+ "widgets_values_named": {
1144
+ "switch": false
1145
+ }
1146
+ },
1147
+ {
1148
+ "id": 142,
1149
+ "type": "ComfySwitchNode",
1150
+ "pos": [
1151
+ -390,
1152
+ 5110
1153
+ ],
1154
+ "size": [
1155
+ 270,
1156
+ 110
1157
+ ],
1158
+ "flags": {},
1159
+ "order": 20,
1160
+ "mode": 0,
1161
+ "inputs": [
1162
+ {
1163
+ "name": "on_false",
1164
+ "shape": 7,
1165
+ "type": "INT",
1166
+ "link": 284
1167
+ },
1168
+ {
1169
+ "name": "on_true",
1170
+ "shape": 7,
1171
+ "type": "INT",
1172
+ "link": 283
1173
+ },
1174
+ {
1175
+ "name": "switch",
1176
+ "type": "BOOLEAN",
1177
+ "widget": {
1178
+ "name": "switch"
1179
+ },
1180
+ "link": 291
1181
+ }
1182
+ ],
1183
+ "outputs": [
1184
+ {
1185
+ "name": "output",
1186
+ "type": "INT",
1187
+ "links": [
1188
+ 289
1189
+ ]
1190
+ }
1191
+ ],
1192
+ "title": "If/Else Switch (Steps)",
1193
+ "properties": {
1194
+ "Node name for S&R": "ComfySwitchNode",
1195
+ "cnr_id": "comfy-core",
1196
+ "ver": "0.33.0"
1197
+ },
1198
+ "widgets_values": [
1199
+ false
1200
+ ],
1201
+ "widgets_values_named": {
1202
+ "switch": false
1203
+ }
1204
+ },
1205
+ {
1206
+ "id": 143,
1207
+ "type": "PrimitiveInt",
1208
+ "pos": [
1209
+ -730,
1210
+ 5090
1211
+ ],
1212
+ "size": [
1213
+ 270,
1214
+ 90
1215
+ ],
1216
+ "flags": {},
1217
+ "order": 13,
1218
+ "mode": 0,
1219
+ "inputs": [],
1220
+ "outputs": [
1221
+ {
1222
+ "name": "INT",
1223
+ "type": "INT",
1224
+ "links": [
1225
+ 284
1226
+ ]
1227
+ }
1228
+ ],
1229
+ "title": "Int (Full)",
1230
+ "properties": {
1231
+ "Node name for S&R": "PrimitiveInt",
1232
+ "cnr_id": "comfy-core",
1233
+ "ver": "0.33.0"
1234
+ },
1235
+ "widgets_values": [
1236
+ 20,
1237
+ "fixed"
1238
+ ],
1239
+ "widgets_values_named": {
1240
+ "value": 20,
1241
+ "fixed": "fixed"
1242
+ }
1243
+ },
1244
+ {
1245
+ "id": 144,
1246
+ "type": "PrimitiveInt",
1247
+ "pos": [
1248
+ -730,
1249
+ 5220
1250
+ ],
1251
+ "size": [
1252
+ 270,
1253
+ 90
1254
+ ],
1255
+ "flags": {},
1256
+ "order": 14,
1257
+ "mode": 0,
1258
+ "inputs": [],
1259
+ "outputs": [
1260
+ {
1261
+ "name": "INT",
1262
+ "type": "INT",
1263
+ "links": [
1264
+ 283
1265
+ ]
1266
+ }
1267
+ ],
1268
+ "title": "Int (Lightning LoRA)",
1269
+ "properties": {
1270
+ "Node name for S&R": "PrimitiveInt",
1271
+ "cnr_id": "comfy-core",
1272
+ "ver": "0.33.0"
1273
+ },
1274
+ "widgets_values": [
1275
+ 4,
1276
+ "fixed"
1277
+ ],
1278
+ "widgets_values_named": {
1279
+ "value": 4,
1280
+ "fixed": "fixed"
1281
+ }
1282
+ },
1283
+ {
1284
+ "id": 145,
1285
+ "type": "LoraLoaderModelOnly",
1286
+ "pos": [
1287
+ -1490,
1288
+ 5300
1289
+ ],
1290
+ "size": [
1291
+ 640,
1292
+ 90
1293
+ ],
1294
+ "flags": {},
1295
+ "order": 22,
1296
+ "mode": 4,
1297
+ "inputs": [
1298
+ {
1299
+ "name": "model",
1300
+ "type": "MODEL",
1301
+ "link": 285
1302
+ }
1303
+ ],
1304
+ "outputs": [
1305
+ {
1306
+ "name": "MODEL",
1307
+ "type": "MODEL",
1308
+ "links": [
1309
+ 286
1310
+ ]
1311
+ }
1312
+ ],
1313
+ "title": "Optional Ref2VA Turbo · bypassed (Ctrl+B)",
1314
+ "properties": {
1315
+ "Node name for S&R": "LoraLoaderModelOnly",
1316
+ "cnr_id": "comfy-core",
1317
+ "ver": "0.33.0",
1318
+ "models": [
1319
+ {
1320
+ "name": "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
1321
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
1322
+ "directory": "loras"
1323
+ }
1324
+ ]
1325
+ },
1326
+ "widgets_values": [
1327
+ "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
1328
+ 1
1329
+ ],
1330
+ "widgets_values_named": {
1331
+ "lora_name": "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
1332
+ "strength_model": 1
1333
+ }
1334
+ },
1335
+ {
1336
+ "id": 146,
1337
+ "type": "PrimitiveBoolean",
1338
+ "pos": [
1339
+ -1487.2027972027972,
1340
+ 6101.538461538463
1341
+ ],
1342
+ "size": [
1343
+ 286.3013671875,
1344
+ 70
1345
+ ],
1346
+ "flags": {},
1347
+ "order": 15,
1348
+ "mode": 0,
1349
+ "inputs": [],
1350
+ "outputs": [
1351
+ {
1352
+ "name": "BOOLEAN",
1353
+ "type": "BOOLEAN",
1354
+ "links": [
1355
+ 290,
1356
+ 291
1357
+ ]
1358
+ }
1359
+ ],
1360
+ "title": "Enable optional Turbo (off by default)",
1361
+ "properties": {
1362
+ "Node name for S&R": "PrimitiveBoolean",
1363
+ "cnr_id": "comfy-core",
1364
+ "ver": "0.33.0"
1365
+ },
1366
+ "widgets_values": [
1367
+ false
1368
+ ],
1369
+ "widgets_values_named": {
1370
+ "value": false
1371
+ },
1372
+ "color": "#322",
1373
+ "bgcolor": "#533"
1374
+ },
1375
+ {
1376
+ "id": 147,
1377
+ "type": "LoraLoaderModelOnly",
1378
+ "pos": [
1379
+ -1490,
1380
+ 5140
1381
+ ],
1382
+ "size": [
1383
+ 640,
1384
+ 90
1385
+ ],
1386
+ "flags": {},
1387
+ "order": 18,
1388
+ "mode": 0,
1389
+ "inputs": [
1390
+ {
1391
+ "name": "model",
1392
+ "type": "MODEL",
1393
+ "link": 292
1394
+ }
1395
+ ],
1396
+ "outputs": [
1397
+ {
1398
+ "name": "MODEL",
1399
+ "type": "MODEL",
1400
+ "links": [
1401
+ 252,
1402
+ 285,
1403
+ 287
1404
+ ]
1405
+ }
1406
+ ],
1407
+ "properties": {
1408
+ "Node name for S&R": "LoraLoaderModelOnly",
1409
+ "cnr_id": "comfy-core",
1410
+ "ver": "0.33.0",
1411
+ "models": [
1412
+ {
1413
+ "name": "h3_character_swap_pro4500_1000.safetensors",
1414
+ "url": "https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA/resolve/main/h3_character_swap_pro4500_1000.safetensors",
1415
+ "directory": "loras"
1416
+ }
1417
+ ]
1418
+ },
1419
+ "widgets_values": [
1420
+ "h3_character_swap_pro4500_1000.safetensors",
1421
+ 1
1422
+ ],
1423
+ "widgets_values_named": {
1424
+ "lora_name": "h3_character_swap_pro4500_1000.safetensors",
1425
+ "strength_model": 1
1426
+ },
1427
+ "color": "#232",
1428
+ "bgcolor": "#353"
1429
+ },
1430
+ {
1431
+ "id": 139,
1432
+ "type": "LoadVideo",
1433
+ "pos": [
1434
+ -647.2027972027972,
1435
+ 6121.538461538463
1436
+ ],
1437
+ "size": [
1438
+ 350,
1439
+ 400
1440
+ ],
1441
+ "flags": {},
1442
+ "order": 16,
1443
+ "mode": 0,
1444
+ "inputs": [],
1445
+ "outputs": [
1446
+ {
1447
+ "name": "VIDEO",
1448
+ "type": "VIDEO",
1449
+ "links": [
1450
+ 293
1451
+ ]
1452
+ }
1453
+ ],
1454
+ "title": "Source clip · <Video 1> · 24 fps",
1455
+ "properties": {
1456
+ "Node name for S&R": "LoadVideo",
1457
+ "cnr_id": "comfy-core",
1458
+ "ver": "0.37.0"
1459
+ },
1460
+ "widgets_values": [
1461
+ "source_video.mp4",
1462
+ "image"
1463
+ ],
1464
+ "widgets_values_named": {
1465
+ "file": "source_video.mp4",
1466
+ "upload": "image"
1467
+ }
1468
+ },
1469
+ {
1470
+ "id": 148,
1471
+ "type": "GetVideoComponents",
1472
+ "pos": [
1473
+ -197.2027972027972,
1474
+ 6121.538461538463
1475
+ ],
1476
+ "size": [
1477
+ 300,
1478
+ 155
1479
+ ],
1480
+ "flags": {},
1481
+ "order": 21,
1482
+ "mode": 0,
1483
+ "inputs": [
1484
+ {
1485
+ "name": "video",
1486
+ "type": "VIDEO",
1487
+ "link": 293
1488
+ }
1489
+ ],
1490
+ "outputs": [
1491
+ {
1492
+ "name": "images",
1493
+ "type": "IMAGE",
1494
+ "links": [
1495
+ 294
1496
+ ]
1497
+ },
1498
+ {
1499
+ "name": "audio",
1500
+ "type": "AUDIO",
1501
+ "links": null
1502
+ },
1503
+ {
1504
+ "name": "fps",
1505
+ "type": "FLOAT",
1506
+ "links": null
1507
+ },
1508
+ {
1509
+ "name": "bit_depth",
1510
+ "type": "COMBO",
1511
+ "links": null
1512
+ },
1513
+ {
1514
+ "name": "color_space",
1515
+ "type": "COMBO",
1516
+ "links": null
1517
+ }
1518
+ ],
1519
+ "title": "Source frames (optional source audio)",
1520
+ "properties": {
1521
+ "Node name for S&R": "GetVideoComponents",
1522
+ "cnr_id": "comfy-core",
1523
+ "ver": "0.37.0"
1524
+ }
1525
+ },
1526
+ {
1527
+ "id": 149,
1528
+ "type": "MarkdownNote",
1529
+ "pos": [
1530
+ -2562.587412587414,
1531
+ 6054.755244755246
1532
+ ],
1533
+ "size": [
1534
+ 1000,
1535
+ 660
1536
+ ],
1537
+ "flags": {},
1538
+ "order": 17,
1539
+ "mode": 0,
1540
+ "inputs": [],
1541
+ "outputs": [],
1542
+ "title": "READ ME · Character Swap v1 setup and tips",
1543
+ "properties": {},
1544
+ "widgets_values": [
1545
+ "# Akatz Labs · Character Swap LoRA v1\n\n## 1. Download the character LoRA\n[Model card](https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA) · [Download the 1000-step weights](https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA/resolve/main/h3_character_swap_pro4500_1000.safetensors)\n\nPut `h3_character_swap_pro4500_1000.safetensors` in **ComfyUI/models/loras/** and refresh the model list (or restart ComfyUI). Select it in **Load LoRA** node, with **strength 1.0**. Set strength to 0 for a base-model comparison. No trigger word is needed.\n\n## 2. Supply your inputs\n- Upload a replacement image or character sheet into **<Picture 1>**.\n- Upload a short **24 fps** source clip into **<Video 1>**. Start with a continuous shot around 5 seconds.\n- Edit the prompt to identify exactly who to replace. The reference supplies identity, outfit and art style; the video supplies performance and scene.\n- The loader does **not** resample frame rate. Convert non-24-fps clips beforehand while preserving playback speed.\n\n## 3. Default settings\n**Ref2VA INT8 · character LoRA 1.0 · 20 steps · res_multistep / simple · Turbo OFF.** All execution nodes are built into ComfyUI; no custom-node pack is required. Validated against ComfyUI 0.37.0.\n\nThe optional Turbo branch is preserved from the official template. Its loader is **bypassed** so its weights are not required. To enable Turbo: download its listed weights, select its loader and press **Ctrl+B** to un-bypass it, then turn **Enable optional Turbo** on. This is a separate accelerator; the character LoRA remains active with either branch.\n\nResolution starts at **0.4 MP / 864 × 480**. Set **0.98 MP / 1344 × 768** for 768p; match the source aspect ratio. Higher resolution, longer clips and larger references require more memory. This is not a blanket 24 GB fit guarantee.\n\nSet duration to match your clip. H3 uses **24 fps** and **17n+5 frames**: 5 seconds rounds up to **124 frames / 5.167 seconds**. For aligned comparisons, prepare a matching frame count or trim the final output.\n\n## 4. Audio and limitations\nSource audio is disconnected by default so silent clips work. If your source has sound, optionally connect **Get Video Components → audio** to **ref_video_audios.ref_video_audio_0**. H3 still generates audio; exact preservation requires muxing the original soundtrack afterward.\n\nV1 can drift in timing, facial expressions and hard cuts, especially on long clips. Source-video conditioning is not a pixel-preserving mask. Keep prompts clear; additional wording does not guarantee stronger adherence.\n\nA compatible Ref2VA hybrid can be selected in the model loader, but it is not required or bundled. Plain FL2VA/T2V weights are not a drop-in replacement for this reference workflow.\n\n## Upstream\nBased on [ComfyUI's official H3 Ref2VA template](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/video_minimax_h3_r2v.json). Its original notes are retained. **Save/export this workflow after selecting your own inputs.**"
1546
+ ],
1547
+ "widgets_values_named": {
1548
+ "text": "# Akatz Labs · Character Swap LoRA v1\n\n## 1. Download the character LoRA\n[Model card](https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA) · [Download the 1000-step weights](https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA/resolve/main/h3_character_swap_pro4500_1000.safetensors)\n\nPut `h3_character_swap_pro4500_1000.safetensors` in **ComfyUI/models/loras/** and refresh the model list (or restart ComfyUI). Select it in **Load LoRA** node, with **strength 1.0**. Set strength to 0 for a base-model comparison. No trigger word is needed.\n\n## 2. Supply your inputs\n- Upload a replacement image or character sheet into **<Picture 1>**.\n- Upload a short **24 fps** source clip into **<Video 1>**. Start with a continuous shot around 5 seconds.\n- Edit the prompt to identify exactly who to replace. The reference supplies identity, outfit and art style; the video supplies performance and scene.\n- The loader does **not** resample frame rate. Convert non-24-fps clips beforehand while preserving playback speed.\n\n## 3. Default settings\n**Ref2VA INT8 · character LoRA 1.0 · 20 steps · res_multistep / simple · Turbo OFF.** All execution nodes are built into ComfyUI; no custom-node pack is required. Validated against ComfyUI 0.37.0.\n\nThe optional Turbo branch is preserved from the official template. Its loader is **bypassed** so its weights are not required. To enable Turbo: download its listed weights, select its loader and press **Ctrl+B** to un-bypass it, then turn **Enable optional Turbo** on. This is a separate accelerator; the character LoRA remains active with either branch.\n\nResolution starts at **0.4 MP / 864 × 480**. Set **0.98 MP / 1344 × 768** for 768p; match the source aspect ratio. Higher resolution, longer clips and larger references require more memory. This is not a blanket 24 GB fit guarantee.\n\nSet duration to match your clip. H3 uses **24 fps** and **17n+5 frames**: 5 seconds rounds up to **124 frames / 5.167 seconds**. For aligned comparisons, prepare a matching frame count or trim the final output.\n\n## 4. Audio and limitations\nSource audio is disconnected by default so silent clips work. If your source has sound, optionally connect **Get Video Components → audio** to **ref_video_audios.ref_video_audio_0**. H3 still generates audio; exact preservation requires muxing the original soundtrack afterward.\n\nV1 can drift in timing, facial expressions and hard cuts, especially on long clips. Source-video conditioning is not a pixel-preserving mask. Keep prompts clear; additional wording does not guarantee stronger adherence.\n\nA compatible Ref2VA hybrid can be selected in the model loader, but it is not required or bundled. Plain FL2VA/T2V weights are not a drop-in replacement for this reference workflow.\n\n## Upstream\nBased on [ComfyUI's official H3 Ref2VA template](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/video_minimax_h3_r2v.json). Its original notes are retained. **Save/export this workflow after selecting your own inputs.**"
1549
+ },
1550
+ "color": "#234",
1551
+ "bgcolor": "#345"
1552
+ }
1553
+ ],
1554
+ "links": [
1555
+ [
1556
+ 250,
1557
+ 120,
1558
+ 0,
1559
+ 121,
1560
+ 1,
1561
+ "VAE"
1562
+ ],
1563
+ [
1564
+ 251,
1565
+ 119,
1566
+ 0,
1567
+ 122,
1568
+ 1,
1569
+ "VAE"
1570
+ ],
1571
+ [
1572
+ 252,
1573
+ 147,
1574
+ 0,
1575
+ 124,
1576
+ 0,
1577
+ "MODEL"
1578
+ ],
1579
+ [
1580
+ 253,
1581
+ 129,
1582
+ 0,
1583
+ 125,
1584
+ 0,
1585
+ "NOISE"
1586
+ ],
1587
+ [
1588
+ 254,
1589
+ 126,
1590
+ 0,
1591
+ 125,
1592
+ 1,
1593
+ "GUIDER"
1594
+ ],
1595
+ [
1596
+ 255,
1597
+ 123,
1598
+ 0,
1599
+ 125,
1600
+ 2,
1601
+ "SAMPLER"
1602
+ ],
1603
+ [
1604
+ 256,
1605
+ 124,
1606
+ 0,
1607
+ 125,
1608
+ 3,
1609
+ "SIGMAS"
1610
+ ],
1611
+ [
1612
+ 258,
1613
+ 122,
1614
+ 0,
1615
+ 130,
1616
+ 0,
1617
+ "IMAGE"
1618
+ ],
1619
+ [
1620
+ 259,
1621
+ 121,
1622
+ 0,
1623
+ 130,
1624
+ 1,
1625
+ "AUDIO"
1626
+ ],
1627
+ [
1628
+ 270,
1629
+ 136,
1630
+ 0,
1631
+ 126,
1632
+ 1,
1633
+ "CONDITIONING"
1634
+ ],
1635
+ [
1636
+ 271,
1637
+ 136,
1638
+ 1,
1639
+ 125,
1640
+ 4,
1641
+ "LATENT"
1642
+ ],
1643
+ [
1644
+ 280,
1645
+ 125,
1646
+ 0,
1647
+ 122,
1648
+ 0,
1649
+ "LATENT"
1650
+ ],
1651
+ [
1652
+ 281,
1653
+ 125,
1654
+ 0,
1655
+ 121,
1656
+ 0,
1657
+ "LATENT"
1658
+ ],
1659
+ [
1660
+ 283,
1661
+ 144,
1662
+ 0,
1663
+ 142,
1664
+ 1,
1665
+ "INT"
1666
+ ],
1667
+ [
1668
+ 284,
1669
+ 143,
1670
+ 0,
1671
+ 142,
1672
+ 0,
1673
+ "INT"
1674
+ ],
1675
+ [
1676
+ 285,
1677
+ 147,
1678
+ 0,
1679
+ 145,
1680
+ 0,
1681
+ "MODEL"
1682
+ ],
1683
+ [
1684
+ 286,
1685
+ 145,
1686
+ 0,
1687
+ 141,
1688
+ 1,
1689
+ "MODEL"
1690
+ ],
1691
+ [
1692
+ 287,
1693
+ 147,
1694
+ 0,
1695
+ 141,
1696
+ 0,
1697
+ "MODEL"
1698
+ ],
1699
+ [
1700
+ 288,
1701
+ 141,
1702
+ 0,
1703
+ 126,
1704
+ 0,
1705
+ "MODEL"
1706
+ ],
1707
+ [
1708
+ 290,
1709
+ 146,
1710
+ 0,
1711
+ 141,
1712
+ 2,
1713
+ "BOOLEAN"
1714
+ ],
1715
+ [
1716
+ 291,
1717
+ 146,
1718
+ 0,
1719
+ 142,
1720
+ 2,
1721
+ "BOOLEAN"
1722
+ ],
1723
+ [
1724
+ 292,
1725
+ 127,
1726
+ 0,
1727
+ 147,
1728
+ 0,
1729
+ "MODEL"
1730
+ ],
1731
+ [
1732
+ 293,
1733
+ 139,
1734
+ 0,
1735
+ 148,
1736
+ 0,
1737
+ "VIDEO"
1738
+ ],
1739
+ [
1740
+ 289,
1741
+ 142,
1742
+ 0,
1743
+ 124,
1744
+ 1,
1745
+ "INT"
1746
+ ],
1747
+ [
1748
+ 260,
1749
+ 130,
1750
+ 0,
1751
+ 92,
1752
+ 0,
1753
+ "VIDEO"
1754
+ ],
1755
+ [
1756
+ 261,
1757
+ 132,
1758
+ 0,
1759
+ 131,
1760
+ 0,
1761
+ "FLOAT"
1762
+ ],
1763
+ [
1764
+ 272,
1765
+ 128,
1766
+ 0,
1767
+ 136,
1768
+ 0,
1769
+ "CLIP"
1770
+ ],
1771
+ [
1772
+ 273,
1773
+ 119,
1774
+ 0,
1775
+ 136,
1776
+ 1,
1777
+ "VAE"
1778
+ ],
1779
+ [
1780
+ 274,
1781
+ 120,
1782
+ 0,
1783
+ 136,
1784
+ 2,
1785
+ "VAE"
1786
+ ],
1787
+ [
1788
+ 278,
1789
+ 137,
1790
+ 0,
1791
+ 136,
1792
+ 3,
1793
+ "IMAGE"
1794
+ ],
1795
+ [
1796
+ 294,
1797
+ 148,
1798
+ 0,
1799
+ 136,
1800
+ 6,
1801
+ "IMAGE"
1802
+ ],
1803
+ [
1804
+ 279,
1805
+ 138,
1806
+ 0,
1807
+ 136,
1808
+ 14,
1809
+ "STRING"
1810
+ ],
1811
+ [
1812
+ 276,
1813
+ 115,
1814
+ 0,
1815
+ 136,
1816
+ 15,
1817
+ "INT"
1818
+ ],
1819
+ [
1820
+ 277,
1821
+ 115,
1822
+ 1,
1823
+ 136,
1824
+ 16,
1825
+ "INT"
1826
+ ],
1827
+ [
1828
+ 275,
1829
+ 131,
1830
+ 1,
1831
+ 136,
1832
+ 17,
1833
+ "INT"
1834
+ ]
1835
+ ],
1836
+ "groups": [
1837
+ {
1838
+ "id": 1,
1839
+ "title": "Models",
1840
+ "bounding": [
1841
+ -1520,
1842
+ 4840,
1843
+ 700,
1844
+ 1110
1845
+ ],
1846
+ "color": "#3f789e",
1847
+ "flags": {}
1848
+ },
1849
+ {
1850
+ "id": 2,
1851
+ "title": "Sampling",
1852
+ "bounding": [
1853
+ -30,
1854
+ 4840,
1855
+ 690,
1856
+ 700
1857
+ ],
1858
+ "color": "#3f789e",
1859
+ "flags": {}
1860
+ },
1861
+ {
1862
+ "id": 3,
1863
+ "title": "Switch Model and Settings",
1864
+ "bounding": [
1865
+ -790,
1866
+ 4840,
1867
+ 730,
1868
+ 490
1869
+ ],
1870
+ "color": "#3f789e",
1871
+ "flags": {}
1872
+ },
1873
+ {
1874
+ "id": 4,
1875
+ "title": "Decoding and create video",
1876
+ "bounding": [
1877
+ -30,
1878
+ 5570,
1879
+ 690,
1880
+ 260
1881
+ ],
1882
+ "color": "#3f789e",
1883
+ "flags": {}
1884
+ },
1885
+ {
1886
+ "id": 5,
1887
+ "title": "User Inputs",
1888
+ "bounding": [
1889
+ -1517.2027972027972,
1890
+ 6021.538461538463,
1891
+ 2190,
1892
+ 1250
1893
+ ],
1894
+ "color": "#3f789e",
1895
+ "flags": {}
1896
+ },
1897
+ {
1898
+ "id": 6,
1899
+ "title": "Conditioning",
1900
+ "bounding": [
1901
+ -790,
1902
+ 5350,
1903
+ 725.8041958041958,
1904
+ 598.8811188811187
1905
+ ],
1906
+ "color": "#3f789e",
1907
+ "flags": {}
1908
+ }
1909
+ ],
1910
+ "config": {},
1911
+ "extra": {
1912
+ "ds": {
1913
+ "scale": 0.3335527768499604,
1914
+ "offset": [
1915
+ 3050.033562161152,
1916
+ -4466.884161133787
1917
+ ]
1918
+ },
1919
+ "frontendVersion": "1.53.6",
1920
+ "akatz_character_swap": {
1921
+ "version": 1,
1922
+ "upstream_template_commit": "fc427f00097817d3f7d8099c5259837fa51e1267",
1923
+ "base": "ref2va",
1924
+ "custom_nodes_required": false
1925
+ }
1926
+ },
1927
+ "version": 0.4
1928
+ }
examples/UPSTREAM-LICENSE.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2023-present Comfy Org
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.