工作流 /
图像 /
MiniMax-H3-Image:角色替换

MiniMax-H3-Image:角色替换
MiniMax-H3-Image: Character Swap
把照片里的人换成参考图中的角色。适配器把照片当作 <Picture 1>、把角色图当作 <Picture 2>,保留原片的姿势、构图与光线,并沿用参考角色的面部、服装与材质。基于 MiniMax-H3-Image,配合 h3_image_character_swap_v1 LoRA(强度 1.0)。
图像
18 个节点 2 个输入 ComfyUI ≥ 0.45.0 ComfyUI 27 KB
需要的权重
这个工作流引用了 4 个权重文件,其中 3 个能在本站模型库里找到。
h3_image_character_swap_v1.safetensors
模型库暂未收录
minimax_h3_image_pruned_int8_convrot.safetensors
在模型库查看
minimax_h3_image_vae_fp16.safetensors
在模型库查看
qwen3vl_32b_minimax_h3_int8_convrot.safetensors
在模型库查看
节点构成
MarkdownNote
× 2
LoadImage
× 2
ResizeImageMaskNode
× 2
SaveImage
× 1
UNETLoader
× 1
CLIPLoader
× 1
VAELoader
× 1
ConditioningZeroOut
× 1
KSampler
× 1
VAEDecode
× 1
PrimitiveStringMultiline
× 1
GetImageSize
× 1
ImageCompare
× 1
LoadLoraModel
× 1
MiniMaxH3ImageConditioning
× 1
官方标注的模型
MiniMax H3 Image
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "5b7aa274-568c-4675-82e4-6bae5430cc72",
3 "revision": 0,
4 "last_node_id": 68,
5 "last_link_id": 119,
6 "nodes": [
7 {
8 "id": 9,
9 "type": "SaveImage",
10 "pos": [
11 1550,
12 -120
13 ],
14 "size": [
15 1310,
16 990
17 ],
18 "flags": [],
19 "order": 16,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "images",
24 "type": "IMAGE",
25 "link": 61
26 }
27 ],
28 "outputs": [
29 {
30 "name": "images",
31 "type": "IMAGE",
32 "links": [
33 94
34 ]
35 }
36 ],
37 "properties": {
38 "Node name for S&R": "SaveImage"
39 },
40 "widgets_values": [
41 "image_minimax_h3_image_character_swap"
42 ],
43 "widgets_values_named": {
44 "filename_prefix": "image_minimax_h3_image_character_swap"
45 }
46 },
47 {
48 "id": 27,
49 "type": "MarkdownNote",
50 "pos": [
51 -20,
52 1080
53 ],
54 "size": [
55 440,
56 380
57 ],
58 "flags": {
59 "collapsed": false
60 },
61 "order": 0,
62 "mode": 0,
63 "inputs": [],
64 "outputs": [],
65 "title": "Note: size and reference images",
66 "properties": [],
67 "widgets_values": [
68 "Two pictures go in: **Load Image (Source Image)** is the picture to edit and reads as `<Picture 1>`; **Load Image (Reference Character)** is the character to carry over and reads as `<Picture 2>`.\n\nThe source is resized to **1 MP** (`scale total pixels`) and then to a multiple of 32, and that size becomes the canvas and the output size, 864 × 1152 with the example images. 1 MP is what the adapter's author tested and recommends. This workflow also holds up at 16 MP (`scale total pixels` = 16), at more VRAM and more time. The reference picture is scaled internally, so its own resolution only needs to be reasonable.\n\n**No prompt enhancer**: the adapter was trained on short editing instructions, so write the instruction yourself and keep the `<Picture n>` references. The author's own prompt, shortened:\n\n> Swap only the red-haired woman in the dark high-collared jacket in the close foreground in `<Picture 1>` with the character from `<Picture 2>`. Keep the original scene, framing, other people, and the target’s placement and action.\n\nFor more references, add `Load Image` nodes, connect them to the conditioning node and name them `<Picture 3>`, `<Picture 4>`, ..."
69 ],
70 "widgets_values_named": {
71 "text": "Two pictures go in: **Load Image (Source Image)** is the picture to edit and reads as `<Picture 1>`; **Load Image (Reference Character)** is the character to carry over and reads as `<Picture 2>`.\n\nThe source is resized to **1 MP** (`scale total pixels`) and then to a multiple of 32, and that size becomes the canvas and the output size, 864 × 1152 with the example images. 1 MP is what the adapter's author tested and recommends. This workflow also holds up at 16 MP (`scale total pixels` = 16), at more VRAM and more time. The reference picture is scaled internally, so its own resolution only needs to be reasonable.\n\n**No prompt enhancer**: the adapter was trained on short editing instructions, so write the instruction yourself and keep the `<Picture n>` references. The author's own prompt, shortened:\n\n> Swap only the red-haired woman in the dark high-collared jacket in the close foreground in `<Picture 1>` with the character from `<Picture 2>`. Keep the original scene, framing, other people, and the target’s placement and action.\n\nFor more references, add `Load Image` nodes, connect them to the conditioning node and name them `<Picture 3>`, `<Picture 4>`, ..."
72 },
73 "color": "#222",
74 "bgcolor": "#000"
75 },
76 {
77 "id": 28,
78 "type": "MarkdownNote",
79 "pos": [
80 -1080,
81 -250
82 ],
83 "size": [
84 490,
85 700
86 ],
87 "flags": [],
88 "order": 1,
89 "mode": 0,
90 "inputs": [],
91 "outputs": [],
92 "title": "Model Links",
93 "properties": [],
94 "widgets_values": [
95 "## Input Assets\n\n- [h3_char_swap_source.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/h3_char_swap_source.png)\n- [h3_char_swap_reference.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/h3_char_swap_reference.png)\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/MiniMax-H3-Image](https://huggingface.co/Comfy-Org/MiniMax-H3-Image)\n- [Hugging Face:Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n\n**diffusion_models**\n\n- [minimax_h3_image_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/main/diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors) (21 GB)\n\n**text_encoders**\n\n- [qwen3vl_32b_minimax_h3_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors) (25.28 GB)\n\n**vae**\n\n- [minimax_h3_image_vae_fp16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/main/vae/minimax_h3_image_vae_fp16.safetensors) (1.17 GB)\n\n**loras**\n\n- [h3_image_character_swap_v1.safetensors](https://huggingface.co/akatz-ai/MiniMax-H3-Image-Character-Swap-LoRA/resolve/main/h3_image_character_swap_v1.safetensors) (155 MB)\n\n## Adapter\n\nThe character-swap adapter is published in its original repo, [akatz-ai/MiniMax-H3-Image-Character-Swap-LoRA](https://huggingface.co/akatz-ai/MiniMax-H3-Image-Character-Swap-LoRA) (Akatz). It is a rank-16 LoRA trained with AI Toolkit on 140 paired edits and evaluated on the INT8 ConvRot checkpoint above; that repo holds the still-image examples, their prompts and the adapter license. Adapter use follows the MiniMax H3 Image Community License Agreement.\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── minimax_h3_image_pruned_int8_convrot.safetensors\n│ ├── 📂 loras/\n│ │ └── h3_image_character_swap_v1.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3vl_32b_minimax_h3_int8_convrot.safetensors\n│ └── 📂 vae/\n│ └── minimax_h3_image_vae_fp16.safetensors\n```\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)"
96 ],
97 "widgets_values_named": {
98 "text": "## Input Assets\n\n- [h3_char_swap_source.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/h3_char_swap_source.png)\n- [h3_char_swap_reference.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/h3_char_swap_reference.png)\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/MiniMax-H3-Image](https://huggingface.co/Comfy-Org/MiniMax-H3-Image)\n- [Hugging Face:Comfy-Org/MiniMax-H3](https://huggingface.co/Comfy-Org/MiniMax-H3)\n\n**diffusion_models**\n\n- [minimax_h3_image_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/main/diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors) (21 GB)\n\n**text_encoders**\n\n- [qwen3vl_32b_minimax_h3_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors) (25.28 GB)\n\n**vae**\n\n- [minimax_h3_image_vae_fp16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/main/vae/minimax_h3_image_vae_fp16.safetensors) (1.17 GB)\n\n**loras**\n\n- [h3_image_character_swap_v1.safetensors](https://huggingface.co/akatz-ai/MiniMax-H3-Image-Character-Swap-LoRA/resolve/main/h3_image_character_swap_v1.safetensors) (155 MB)\n\n## Adapter\n\nThe character-swap adapter is published in its original repo, [akatz-ai/MiniMax-H3-Image-Character-Swap-LoRA](https://huggingface.co/akatz-ai/MiniMax-H3-Image-Character-Swap-LoRA) (Akatz). It is a rank-16 LoRA trained with AI Toolkit on 140 paired edits and evaluated on the INT8 ConvRot checkpoint above; that repo holds the still-image examples, their prompts and the adapter license. Adapter use follows the MiniMax H3 Image Community License Agreement.\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── minimax_h3_image_pruned_int8_convrot.safetensors\n│ ├── 📂 loras/\n│ │ └── h3_image_character_swap_v1.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3vl_32b_minimax_h3_int8_convrot.safetensors\n│ └── 📂 vae/\n│ └── minimax_h3_image_vae_fp16.safetensors\n```\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)"
99 },
100 "color": "#222",
101 "bgcolor": "#000"
102 },
103 {
104 "id": 29,
105 "type": "UNETLoader",
106 "pos": [
107 -490,
108 -200
109 ],
110 "size": [
111 590,
112 90
113 ],
114 "flags": [],
115 "order": 2,
116 "mode": 0,
117 "inputs": [],
118 "outputs": [
119 {
120 "name": "MODEL",
121 "type": "MODEL",
122 "links": [
123 96
124 ]
125 }
126 ],
127 "properties": {
128 "Node name for S&R": "UNETLoader",
129 "models": [
130 {
131 "name": "minimax_h3_image_pruned_int8_convrot.safetensors",
132 "url": "https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/main/diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors",
133 "directory": "diffusion_models"
134 }
135 ]
136 },
137 "widgets_values": [
138 "minimax_h3_image_pruned_int8_convrot.safetensors",
139 "default"
140 ],
141 "widgets_values_named": {
142 "unet_name": "minimax_h3_image_pruned_int8_convrot.safetensors",
143 "weight_dtype": "default"
144 }
145 },
146 {
147 "id": 30,
148 "type": "CLIPLoader",
149 "pos": [
150 -470,
151 220
152 ],
153 "size": [
154 590,
155 120
156 ],
157 "flags": [],
158 "order": 3,
159 "mode": 0,
160 "showAdvanced": false,
161 "inputs": [],
162 "outputs": [
163 {
164 "name": "CLIP",
165 "type": "CLIP",
166 "links": [
167 101
168 ]
169 }
170 ],
171 "properties": {
172 "Node name for S&R": "CLIPLoader",
173 "models": [
174 {
175 "name": "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
176 "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
177 "directory": "text_encoders"
178 }
179 ]
180 },
181 "widgets_values": [
182 "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
183 "minimax",
184 "default"
185 ],
186 "widgets_values_named": {
187 "clip_name": "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
188 "type": "minimax",
189 "device": "default"
190 }
191 },
192 {
193 "id": 31,
194 "type": "VAELoader",
195 "pos": [
196 -470,
197 410
198 ],
199 "size": [
200 590,
201 70
202 ],
203 "flags": [],
204 "order": 4,
205 "mode": 0,
206 "inputs": [],
207 "outputs": [
208 {
209 "name": "VAE",
210 "type": "VAE",
211 "links": [
212 60,
213 102
214 ]
215 }
216 ],
217 "properties": {
218 "Node name for S&R": "VAELoader",
219 "models": [
220 {
221 "name": "minimax_h3_image_vae_fp16.safetensors",
222 "url": "https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/main/vae/minimax_h3_image_vae_fp16.safetensors",
223 "directory": "vae"
224 }
225 ]
226 },
227 "widgets_values": [
228 "minimax_h3_image_vae_fp16.safetensors"
229 ],
230 "widgets_values_named": {
231 "vae_name": "minimax_h3_image_vae_fp16.safetensors"
232 }
233 },
234 {
235 "id": 33,
236 "type": "ConditioningZeroOut",
237 "pos": [
238 410,
239 290
240 ],
241 "size": [
242 300,
243 50
244 ],
245 "flags": [],
246 "order": 13,
247 "mode": 0,
248 "inputs": [
249 {
250 "name": "conditioning",
251 "type": "CONDITIONING",
252 "link": 108
253 }
254 ],
255 "outputs": [
256 {
257 "name": "CONDITIONING",
258 "type": "CONDITIONING",
259 "links": [
260 56
261 ]
262 }
263 ],
264 "properties": {
265 "Node name for S&R": "ConditioningZeroOut"
266 }
267 },
268 {
269 "id": 38,
270 "type": "KSampler",
271 "pos": [
272 870,
273 -130
274 ],
275 "size": [
276 320,
277 510
278 ],
279 "flags": [],
280 "order": 14,
281 "mode": 0,
282 "inputs": [
283 {
284 "name": "model",
285 "type": "MODEL",
286 "link": 97
287 },
288 {
289 "name": "positive",
290 "type": "CONDITIONING",
291 "link": 109
292 },
293 {
294 "name": "negative",
295 "type": "CONDITIONING",
296 "link": 56
297 },
298 {
299 "name": "latent_image",
300 "type": "LATENT",
301 "link": 110
302 }
303 ],
304 "outputs": [
305 {
306 "name": "LATENT",
307 "type": "LATENT",
308 "links": [
309 59
310 ]
311 }
312 ],
313 "properties": {
314 "Node name for S&R": "KSampler"
315 },
316 "widgets_values": [
317 142232601287349,
318 "randomize",
319 6,
320 1,
321 "euler",
322 "simple",
323 1
324 ],
325 "widgets_values_named": {
326 "seed": 142232601287349,
327 "control_after_generate": "randomize",
328 "steps": 6,
329 "cfg": 1,
330 "sampler_name": "euler",
331 "scheduler": "simple",
332 "denoise": 1
333 }
334 },
335 {
336 "id": 42,
337 "type": "VAEDecode",
338 "pos": [
339 1230,
340 -120
341 ],
342 "size": [
343 230,
344 60
345 ],
346 "flags": [],
347 "order": 15,
348 "mode": 0,
349 "inputs": [
350 {
351 "name": "samples",
352 "type": "LATENT",
353 "link": 59
354 },
355 {
356 "name": "vae",
357 "type": "VAE",
358 "link": 60
359 }
360 ],
361 "outputs": [
362 {
363 "name": "IMAGE",
364 "type": "IMAGE",
365 "links": [
366 61
367 ]
368 }
369 ],
370 "properties": {
371 "Node name for S&R": "VAEDecode"
372 }
373 },
374 {
375 "id": 43,
376 "type": "PrimitiveStringMultiline",
377 "pos": [
378 560,
379 660
380 ],
381 "size": [
382 420,
383 570
384 ],
385 "flags": [],
386 "order": 5,
387 "mode": 0,
388 "inputs": [],
389 "outputs": [
390 {
391 "name": "STRING",
392 "type": "STRING",
393 "links": [
394 114
395 ]
396 }
397 ],
398 "title": "Text (user_prompt)",
399 "properties": {
400 "Node name for S&R": "PrimitiveStringMultiline"
401 },
402 "widgets_values": [
403 "Swap the human in <Picture 1> with human <Picture 2>, also update the human in the mirror"
404 ],
405 "widgets_values_named": {
406 "value": "Swap the human in <Picture 1> with human <Picture 2>, also update the human in the mirror"
407 },
408 "color": "#232",
409 "bgcolor": "#353"
410 },
411 {
412 "id": 45,
413 "type": "LoadImage",
414 "pos": [
415 -490,
416 640
417 ],
418 "size": [
419 420,
420 390
421 ],
422 "flags": [],
423 "order": 6,
424 "mode": 0,
425 "inputs": [],
426 "outputs": [
427 {
428 "name": "IMAGE",
429 "type": "IMAGE",
430 "links": [
431 87
432 ]
433 },
434 {
435 "name": "MASK",
436 "type": "MASK",
437 "links": null
438 }
439 ],
440 "title": "Load Image (Source Image)",
441 "properties": {
442 "Node name for S&R": "LoadImage"
443 },
444 "widgets_values": [
445 "h3_char_swap_source.png",
446 "image"
447 ],
448 "widgets_values_named": {
449 "image": "h3_char_swap_source.png",
450 "upload": "image"
451 }
452 },
453 {
454 "id": 48,
455 "type": "ResizeImageMaskNode",
456 "pos": [
457 -20,
458 650
459 ],
460 "size": [
461 270,
462 110
463 ],
464 "flags": [],
465 "order": 10,
466 "mode": 0,
467 "inputs": [
468 {
469 "name": "input",
470 "type": "IMAGE,MASK",
471 "link": 88
472 }
473 ],
474 "outputs": [
475 {
476 "name": "resized",
477 "type": "IMAGE",
478 "links": [
479 77,
480 95,
481 103
482 ]
483 }
484 ],
485 "properties": {
486 "Node name for S&R": "ResizeImageMaskNode"
487 },
488 "widgets_values": [
489 "scale to multiple",
490 32,
491 "area"
492 ],
493 "widgets_values_named": {
494 "resize_type": "scale to multiple",
495 "resize_type.multiple": 32,
496 "scale_method": "area"
497 }
498 },
499 {
500 "id": 50,
501 "type": "GetImageSize",
502 "pos": [
503 280,
504 650
505 ],
506 "size": [
507 140,
508 70
509 ],
510 "flags": [],
511 "order": 11,
512 "mode": 0,
513 "inputs": [
514 {
515 "name": "image",
516 "type": "IMAGE",
517 "link": 77
518 }
519 ],
520 "outputs": [
521 {
522 "name": "width",
523 "type": "INT",
524 "links": [
525 106
526 ]
527 },
528 {
529 "name": "height",
530 "type": "INT",
531 "links": [
532 107
533 ]
534 },
535 {
536 "name": "batch_size",
537 "type": "INT",
538 "links": null
539 }
540 ],
541 "properties": {
542 "Node name for S&R": "GetImageSize"
543 }
544 },
545 {
546 "id": 56,
547 "type": "ResizeImageMaskNode",
548 "pos": [
549 -20,
550 850
551 ],
552 "size": [
553 270,
554 110
555 ],
556 "flags": [],
557 "order": 9,
558 "mode": 0,
559 "inputs": [
560 {
561 "name": "input",
562 "type": "IMAGE,MASK",
563 "link": 87
564 }
565 ],
566 "outputs": [
567 {
568 "name": "resized",
569 "type": "IMAGE",
570 "links": [
571 88
572 ]
573 }
574 ],
575 "properties": {
576 "Node name for S&R": "ResizeImageMaskNode"
577 },
578 "widgets_values": [
579 "scale total pixels",
580 1,
581 "area"
582 ],
583 "widgets_values_named": {
584 "resize_type": "scale total pixels",
585 "resize_type.megapixels": 1,
586 "scale_method": "area"
587 }
588 },
589 {
590 "id": 62,
591 "type": "ImageCompare",
592 "pos": [
593 2910,
594 -120
595 ],
596 "size": [
597 1180,
598 990
599 ],
600 "flags": [],
601 "order": 17,
602 "mode": 0,
603 "inputs": [
604 {
605 "name": "image_a",
606 "shape": 7,
607 "type": "IMAGE",
608 "link": 95
609 },
610 {
611 "name": "image_b",
612 "shape": 7,
613 "type": "IMAGE",
614 "link": 94
615 }
616 ],
617 "outputs": [],
618 "properties": {
619 "Node name for S&R": "ImageCompare"
620 },
621 "widgets_values": [],
622 "widgets_values_named": []
623 },
624 {
625 "id": 63,
626 "type": "LoadLoraModel",
627 "pos": [
628 -480,
629 -40
630 ],
631 "size": [
632 580,
633 200
634 ],
635 "flags": [],
636 "order": 8,
637 "mode": 0,
638 "inputs": [
639 {
640 "name": "model",
641 "type": "MODEL",
642 "link": 96
643 },
644 {
645 "label": "LoRA #1 lora_name",
646 "name": "loras.0.lora_name",
647 "type": "COMBO",
648 "widget": {
649 "name": "loras.0.lora_name"
650 },
651 "link": null
652 },
653 {
654 "label": "LoRA #1 strength",
655 "name": "loras.0.strength",
656 "type": "FLOAT",
657 "widget": {
658 "name": "loras.0.strength"
659 },
660 "link": null
661 },
662 {
663 "label": "LoRA #1 enabled",
664 "name": "loras.0.enabled",
665 "type": "BOOLEAN",
666 "widget": {
667 "name": "loras.0.enabled"
668 },
669 "link": null
670 }
671 ],
672 "outputs": [
673 {
674 "name": "MODEL",
675 "type": "MODEL",
676 "links": [
677 97
678 ]
679 }
680 ],
681 "properties": {
682 "Node name for S&R": "LoadLoraModel",
683 "models": [
684 {
685 "name": "h3_image_character_swap_v1.safetensors",
686 "url": "https://huggingface.co/akatz-ai/MiniMax-H3-Image-Character-Swap-LoRA/resolve/main/h3_image_character_swap_v1.safetensors",
687 "directory": "loras"
688 }
689 ]
690 },
691 "widgets_values": [
692 1,
693 "h3_image_character_swap_v1.safetensors",
694 1,
695 true
696 ],
697 "widgets_values_named": {
698 "loras": 1,
699 "loras.0.lora_name": "h3_image_character_swap_v1.safetensors",
700 "loras.0.strength": 1,
701 "loras.0.enabled": true
702 }
703 },
704 {
705 "id": 64,
706 "type": "LoadImage",
707 "pos": [
708 -490,
709 1080
710 ],
711 "size": [
712 420,
713 390
714 ],
715 "flags": [],
716 "order": 7,
717 "mode": 0,
718 "inputs": [],
719 "outputs": [
720 {
721 "name": "IMAGE",
722 "type": "IMAGE",
723 "links": [
724 104
725 ]
726 },
727 {
728 "name": "MASK",
729 "type": "MASK",
730 "links": []
731 }
732 ],
733 "title": "Load Image (Reference Character)",
734 "properties": {
735 "Node name for S&R": "LoadImage"
736 },
737 "widgets_values": [
738 "h3_char_swap_reference.png",
739 "image"
740 ],
741 "widgets_values_named": {
742 "image": "h3_char_swap_reference.png",
743 "upload": "image"
744 }
745 },
746 {
747 "id": 65,
748 "type": "MiniMaxH3ImageConditioning",
749 "pos": [
750 280,
751 -200
752 ],
753 "size": [
754 400,
755 216
756 ],
757 "flags": [],
758 "order": 12,
759 "mode": 0,
760 "inputs": [
761 {
762 "name": "clip",
763 "type": "CLIP",
764 "link": 101
765 },
766 {
767 "name": "vae",
768 "shape": 7,
769 "type": "VAE",
770 "link": 102
771 },
772 {
773 "name": "images.image_0",
774 "shape": 7,
775 "type": "IMAGE",
776 "link": 103
777 },
778 {
779 "name": "images.image_1",
780 "shape": 7,
781 "type": "IMAGE",
782 "link": 104
783 },
784 {
785 "name": "images.image_2",
786 "shape": 7,
787 "type": "IMAGE",
788 "link": null
789 },
790 {
791 "name": "prompt",
792 "type": "STRING",
793 "widget": {
794 "name": "prompt"
795 },
796 "link": 114
797 },
798 {
799 "name": "width",
800 "type": "INT",
801 "widget": {
802 "name": "width"
803 },
804 "link": 106
805 },
806 {
807 "name": "height",
808 "type": "INT",
809 "widget": {
810 "name": "height"
811 },
812 "link": 107
813 }
814 ],
815 "outputs": [
816 {
817 "name": "positive",
818 "type": "CONDITIONING",
819 "links": [
820 108,
821 109
822 ]
823 },
824 {
825 "name": "LATENT",
826 "type": "LATENT",
827 "links": [
828 110
829 ]
830 }
831 ],
832 "properties": {
833 "Node name for S&R": "MiniMaxH3ImageConditioning"
834 },
835 "widgets_values": [
836 "",
837 0,
838 0
839 ],
840 "widgets_values_named": {
841 "prompt": "",
842 "width": 0,
843 "height": 0
844 }
845 }
846 ],
847 "links": [
848 [
849 56,
850 33,
851 0,
852 38,
853 2,
854 "CONDITIONING"
855 ],
856 [
857 59,
858 38,
859 0,
860 42,
861 0,
862 "LATENT"
863 ],
864 [
865 60,
866 31,
867 0,
868 42,
869 1,
870 "VAE"
871 ],
872 [
873 61,
874 42,
875 0,
876 9,
877 0,
878 "IMAGE"
879 ],
880 [
881 77,
882 48,
883 0,
884 50,
885 0,
886 "IMAGE"
887 ],
888 [
889 94,
890 9,
891 0,
892 62,
893 1,
894 "IMAGE"
895 ],
896 [
897 95,
898 48,
899 0,
900 62,
901 0,
902 "IMAGE"
903 ],
904 [
905 96,
906 29,
907 0,
908 63,
909 0,
910 "MODEL"
911 ],
912 [
913 97,
914 63,
915 0,
916 38,
917 0,
918 "MODEL"
919 ],
920 [
921 88,
922 56,
923 0,
924 48,
925 0,
926 "IMAGE"
927 ],
928 [
929 87,
930 45,
931 0,
932 56,
933 0,
934 "IMAGE"
935 ],
936 [
937 101,
938 30,
939 0,
940 65,
941 0,
942 "CLIP"
943 ],
944 [
945 102,
946 31,
947 0,
948 65,
949 1,
950 "VAE"
951 ],
952 [
953 103,
954 48,
955 0,
956 65,
957 2,
958 "IMAGE"
959 ],
960 [
961 104,
962 64,
963 0,
964 65,
965 3,
966 "IMAGE"
967 ],
968 [
969 106,
970 50,
971 0,
972 65,
973 6,
974 "INT"
975 ],
976 [
977 107,
978 50,
979 1,
980 65,
981 7,
982 "INT"
983 ],
984 [
985 108,
986 65,
987 0,
988 33,
989 0,
990 "CONDITIONING"
991 ],
992 [
993 109,
994 65,
995 0,
996 38,
997 1,
998 "CONDITIONING"
999 ],
1000 [
1001 110,
1002 65,
1003 1,
1004 38,
1005 3,
1006 "LATENT"
1007 ],
1008 [
1009 114,
1010 43,
1011 0,
1012 65,
1013 5,
1014 "STRING"
1015 ]
1016 ],
1017 "groups": [
1018 {
1019 "id": 6,
1020 "title": "Models",
1021 "bounding": [
1022 -520,
1023 -290,
1024 680,
1025 820
1026 ],
1027 "color": "#A88",
1028 "flags": []
1029 },
1030 {
1031 "id": 7,
1032 "title": "Conditioning",
1033 "bounding": [
1034 190,
1035 -290,
1036 580,
1037 820
1038 ],
1039 "color": "#3f789e",
1040 "flags": []
1041 },
1042 {
1043 "id": 8,
1044 "title": "Sampling & Decoding",
1045 "bounding": [
1046 800,
1047 -290,
1048 670,
1049 820
1050 ],
1051 "color": "#3f789e",
1052 "flags": []
1053 },
1054 {
1055 "id": 10,
1056 "title": "User Inputs",
1057 "bounding": [
1058 -520,
1059 560,
1060 1990,
1061 930
1062 ],
1063 "color": "#A88",
1064 "flags": []
1065 },
1066 {
1067 "id": 11,
1068 "title": "Output",
1069 "bounding": [
1070 1500,
1071 -290,
1072 2620,
1073 1780
1074 ],
1075 "color": "#3f789e",
1076 "flags": []
1077 }
1078 ],
1079 "config": [],
1080 "extra": {
1081 "ds": {
1082 "scale": 0.20211794831808005,
1083 "offset": [
1084 3492.5295378920296,
1085 1240.588044453223
1086 ]
1087 },
1088 "frontendVersion": "1.59.6",
1089 "VHS_latentpreview": false,
1090 "VHS_latentpreviewrate": 0,
1091 "VHS_MetadataImage": true,
1092 "VHS_KeepIntermediate": true
1093 },
1094 "version": 0.4
1095}