ComfyPilotComfyPilot
工作流 / 图像 / Flux.1 Dev OneReward
Flux.1 Dev OneReward

Flux.1 Dev OneReward

Flux.1 Dev OneReward

支持多种使用例,如图像局部重绘、扩图和物体移除,由字节跳动研究团队开发

图像 8 个节点 1 个输入 62 次使用 ComfyUI ≥ 0.3.42 ComfyUI 73 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

需要的权重

这个工作流引用了 5 个权重文件,其中 4 个能在本站模型库里找到。

ae.safetensors 在模型库查看
clip_l.safetensors 在模型库查看
flux.1-fill-dev-OneReward-transformer_fp8.safetensors 在模型库查看
removal_timestep_alpha-2-1740.safetensors 模型库暂未收录
t5xxl_fp16.safetensors 在模型库查看

节点构成

PreviewImage × 2
MarkdownNote × 2
SaveImage × 1
LoadImage × 1
cb0eaf1c-704f-477d-8893-79665db14ed1 × 1
b8560576-5524-4495-baa5-2cb40da12e9e × 1

官方标注的模型

FLUX.1FLUX

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "e7c6bb1e-fcbe-44c9-a614-9d1972a25fb8",
3 "revision": 0,
4 "last_node_id": 121,
5 "last_link_id": 232,
6 "nodes": [
7 {
8 "id": 105,
9 "type": "PreviewImage",
10 "pos": [
11 560.0000062814186,
12 3.30310535616718e-5
13 ],
14 "size": [
15 540,
16 640
17 ],
18 "flags": [],
19 "order": 7,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "images",
24 "type": "IMAGE",
25 "link": 202
26 }
27 ],
28 "outputs": [],
29 "properties": {
30 "Node name for S&R": "PreviewImage",
31 "cnr_id": "comfy-core",
32 "ver": "0.3.59",
33 "enableTabs": false,
34 "tabWidth": 65,
35 "tabXOffset": 10,
36 "hasSecondTab": false,
37 "secondTabText": "Send Back",
38 "secondTabOffset": 80,
39 "secondTabWidth": 65
40 },
41 "widgets_values": []
42 },
43 {
44 "id": 121,
45 "type": "PreviewImage",
46 "pos": [
47 -209.9999270349025,
48 749.9999446828615
49 ],
50 "size": [
51 280,
52 340
53 ],
54 "flags": [],
55 "order": 4,
56 "mode": 0,
57 "inputs": [
58 {
59 "name": "images",
60 "type": "IMAGE",
61 "link": 220
62 }
63 ],
64 "outputs": [],
65 "properties": {
66 "Node name for S&R": "PreviewImage",
67 "cnr_id": "comfy-core",
68 "ver": "0.4.0",
69 "enableTabs": false,
70 "tabWidth": 65,
71 "tabXOffset": 10,
72 "hasSecondTab": false,
73 "secondTabText": "Send Back",
74 "secondTabOffset": 80,
75 "secondTabWidth": 65
76 },
77 "widgets_values": []
78 },
79 {
80 "id": 62,
81 "type": "SaveImage",
82 "pos": [
83 569.9999767808049,
84 749.9999446828615
85 ],
86 "size": [
87 520,
88 590
89 ],
90 "flags": [],
91 "order": 6,
92 "mode": 4,
93 "inputs": [
94 {
95 "name": "images",
96 "type": "IMAGE",
97 "link": 211
98 }
99 ],
100 "outputs": [],
101 "properties": {
102 "Node name for S&R": "SaveImage",
103 "cnr_id": "comfy-core",
104 "ver": "0.3.59",
105 "enableTabs": false,
106 "tabWidth": 65,
107 "tabXOffset": 10,
108 "hasSecondTab": false,
109 "secondTabText": "Send Back",
110 "secondTabOffset": 80,
111 "secondTabWidth": 65
112 },
113 "widgets_values": [
114 "ComfyUI"
115 ]
116 },
117 {
118 "id": 104,
119 "type": "MarkdownNote",
120 "pos": [
121 -209.9999270349025,
122 549.9999969235315
123 ],
124 "size": [
125 300,
126 120
127 ],
128 "flags": [],
129 "order": 0,
130 "mode": 0,
131 "inputs": [],
132 "outputs": [],
133 "title": "Note: How to draw mask",
134 "properties": [],
135 "widgets_values": [
136 "Right-click on the Load Image node, then click Open in `Maskeditor` to edit the mask."
137 ],
138 "color": "#222",
139 "bgcolor": "#000"
140 },
141 {
142 "id": 17,
143 "type": "LoadImage",
144 "pos": [
145 -219.99989753428883,
146 3.30310535616718e-5
147 ],
148 "size": [
149 310,
150 450
151 ],
152 "flags": {
153 "collapsed": false
154 },
155 "order": 1,
156 "mode": 0,
157 "inputs": [],
158 "outputs": [
159 {
160 "name": "IMAGE",
161 "type": "IMAGE",
162 "slot_index": 0,
163 "links": [
164 200,
165 219,
166 220
167 ]
168 },
169 {
170 "name": "MASK",
171 "type": "MASK",
172 "slot_index": 1,
173 "links": [
174 201
175 ]
176 }
177 ],
178 "properties": {
179 "Node name for S&R": "LoadImage",
180 "cnr_id": "comfy-core",
181 "ver": "0.3.59",
182 "enableTabs": false,
183 "tabWidth": 65,
184 "tabXOffset": 10,
185 "hasSecondTab": false,
186 "secondTabText": "Send Back",
187 "secondTabOffset": 80,
188 "secondTabWidth": 65
189 },
190 "widgets_values": [
191 "image_flux.1_fill_dev_OneReward_input_image.png",
192 "image"
193 ]
194 },
195 {
196 "id": 101,
197 "type": "MarkdownNote",
198 "pos": [
199 -800,
200 10
201 ],
202 "size": [
203 540,
204 1070
205 ],
206 "flags": [],
207 "order": 2,
208 "mode": 0,
209 "inputs": [],
210 "outputs": [],
211 "title": "Note: About OneReward and Model links",
212 "properties": {
213 "widget_ue_connectable": []
214 },
215 "widgets_values": [
216 "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model links\n\n- [Hugging Face:Comfy-Org/OneReward_repackaged](https://huggingface.co/Comfy-Org/OneReward_repackaged)\n- [Hugging Face:Comfy-Org/Lumina_Image_2.0_Repackaged](https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged)\n\n**ModelScope mirrors** (alternative repo location)\n\n- [ModelScope:Comfy-Org/OneReward_repackaged](https://modelscope.cn/models/Comfy-Org/OneReward_repackaged)\n- [ModelScope:Comfy-Org/Lumina_Image_2.0_Repackaged](https://modelscope.cn/models/Comfy-Org/Lumina_Image_2.0_Repackaged)\n\n**text_encoders**\n\n- [clip_l.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors?download=true) (234.7 MB)\n- [t5xxl_fp16.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors?download=true) (9.12 GB)\n- [t5xxl_fp16.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors) (9.12 GB)\n\n**loras**\n\n- [removal_timestep_alpha-2-1740.safetensors](https://huggingface.co/lrzjason/ObjectRemovalFluxFill/resolve/main/removal_timestep_alpha-2-1740.safetensors) (85.6 MB)\n\n**diffusion_models**\n\n- [flux.1-fill-dev-OneReward-transformer_fp8.safetensors](https://huggingface.co/Comfy-Org/OneReward_repackaged/resolve/main/split_files/diffusion_models/flux.1-fill-dev-OneReward-transformer_fp8.safetensors) (11.09 GB)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors) (319.8 MB)\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ ├── clip_l.safetensors\n│ │ ├── t5xxl_fp16.safetensors\n│ │ └── t5xxl_fp16.safetensors\n│ ├── 📂 loras/\n│ │ └── removal_timestep_alpha-2-1740.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── flux.1-fill-dev-OneReward-transformer_fp8.safetensors\n│ └── 📂 vae/\n│ └── ae.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 will be updated after the stable release; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/Comfy-Org/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"
217 ],
218 "color": "#222",
219 "bgcolor": "#000"
220 },
221 {
222 "id": 108,
223 "type": "cb0eaf1c-704f-477d-8893-79665db14ed1",
224 "pos": [
225 120.00001365657215,
226 3.30310535616718e-5
227 ],
228 "size": [
229 400,
230 621.328125
231 ],
232 "flags": [],
233 "order": 5,
234 "mode": 0,
235 "inputs": [
236 {
237 "label": "input_image",
238 "name": "destination",
239 "type": "IMAGE",
240 "link": 200
241 },
242 {
243 "name": "mask",
244 "type": "MASK",
245 "link": 201
246 },
247 {
248 "label": "prompt",
249 "name": "text",
250 "type": "STRING",
251 "widget": {
252 "name": "text"
253 },
254 "link": null
255 }
256 ],
257 "outputs": [
258 {
259 "label": "image",
260 "name": "IMAGE",
261 "type": "IMAGE",
262 "links": [
263 202
264 ]
265 }
266 ],
267 "properties": {
268 "proxyWidgets": [
269 [
270 "23",
271 "text"
272 ],
273 [
274 "3",
275 "seed"
276 ],
277 [
278 "31",
279 "unet_name"
280 ],
281 [
282 "100",
283 "lora_name"
284 ],
285 [
286 "34",
287 "clip_name1"
288 ],
289 [
290 "34",
291 "clip_name2"
292 ],
293 [
294 "32",
295 "vae_name"
296 ],
297 [
298 "3",
299 "control_after_generate"
300 ]
301 ],
302 "cnr_id": "comfy-core",
303 "ver": "0.4.0",
304 "enableTabs": false,
305 "tabWidth": 65,
306 "tabXOffset": 10,
307 "hasSecondTab": false,
308 "secondTabText": "Send Back",
309 "secondTabOffset": 80,
310 "secondTabWidth": 65
311 },
312 "widgets_values": []
313 },
314 {
315 "id": 110,
316 "type": "b8560576-5524-4495-baa5-2cb40da12e9e",
317 "pos": [
318 109.99993560286532,
319 759.9999151822478
320 ],
321 "size": [
322 410,
323 590
324 ],
325 "flags": [],
326 "order": 3,
327 "mode": 4,
328 "inputs": [
329 {
330 "name": "image",
331 "type": "IMAGE",
332 "link": 219
333 }
334 ],
335 "outputs": [
336 {
337 "name": "IMAGE",
338 "type": "IMAGE",
339 "links": [
340 211
341 ]
342 }
343 ],
344 "properties": {
345 "proxyWidgets": [
346 [
347 "75",
348 "left"
349 ],
350 [
351 "75",
352 "top"
353 ],
354 [
355 "75",
356 "right"
357 ],
358 [
359 "75",
360 "bottom"
361 ],
362 [
363 "75",
364 "feathering"
365 ],
366 [
367 "74",
368 "text"
369 ],
370 [
371 "58",
372 "seed"
373 ],
374 [
375 "64",
376 "unet_name"
377 ],
378 [
379 "57",
380 "clip_name1"
381 ],
382 [
383 "57",
384 "clip_name2"
385 ],
386 [
387 "59",
388 "vae_name"
389 ],
390 [
391 "58",
392 "control_after_generate"
393 ]
394 ],
395 "cnr_id": "comfy-core",
396 "ver": "0.4.0",
397 "enableTabs": false,
398 "tabWidth": 65,
399 "tabXOffset": 10,
400 "hasSecondTab": false,
401 "secondTabText": "Send Back",
402 "secondTabOffset": 80,
403 "secondTabWidth": 65
404 },
405 "widgets_values": []
406 }
407 ],
408 "links": [
409 [
410 200,
411 17,
412 0,
413 108,
414 0,
415 "IMAGE"
416 ],
417 [
418 201,
419 17,
420 1,
421 108,
422 1,
423 "MASK"
424 ],
425 [
426 202,
427 108,
428 0,
429 105,
430 0,
431 "IMAGE"
432 ],
433 [
434 211,
435 110,
436 0,
437 62,
438 0,
439 "IMAGE"
440 ],
441 [
442 219,
443 17,
444 0,
445 110,
446 0,
447 "IMAGE"
448 ],
449 [
450 220,
451 17,
452 0,
453 121,
454 0,
455 "IMAGE"
456 ]
457 ],
458 "groups": [],
459 "definitions": {
460 "subgraphs": [
461 {
462 "id": "cb0eaf1c-704f-477d-8893-79665db14ed1",
463 "version": 1,
464 "state": {
465 "lastGroupId": 9,
466 "lastNodeId": 121,
467 "lastLinkId": 232,
468 "lastRerouteId": 0
469 },
470 "revision": 0,
471 "config": [],
472 "name": "OneReward Image Inpainting",
473 "inputNode": {
474 "id": -10,
475 "bounding": [
476 -970,
477 210,
478 120,
479 220
480 ]
481 },
482 "outputNode": {
483 "id": -20,
484 "bounding": [
485 1110,
486 350,
487 120,
488 60
489 ]
490 },
491 "inputs": [
492 {
493 "id": "0436726e-a3a0-4cde-8df0-e03ad1bc38e0",
494 "name": "destination",
495 "type": "IMAGE",
496 "linkIds": [
497 99
498 ],
499 "localized_name": "destination",
500 "label": "input_image",
501 "pos": [
502 -870,
503 230
504 ]
505 },
506 {
507 "id": "1f223f5f-53d7-478f-82f4-5a848fca3ffd",
508 "name": "mask",
509 "type": "MASK",
510 "linkIds": [
511 201
512 ],
513 "pos": [
514 -870,
515 250
516 ]
517 },
518 {
519 "id": "402dbe3e-24f8-47df-ba9b-5daee05f1a11",
520 "name": "text",
521 "type": "STRING",
522 "linkIds": [
523 221
524 ],
525 "label": "prompt",
526 "pos": [
527 -870,
528 270
529 ]
530 },
531 {
532 "id": "cf43966e-fa8a-4f48-b3d0-43f22de7d419",
533 "name": "seed",
534 "type": "INT",
535 "linkIds": [
536 222
537 ],
538 "pos": [
539 -870,
540 290
541 ]
542 },
543 {
544 "id": "9826c97c-c32b-4b21-9cb5-1df437c31888",
545 "name": "unet_name",
546 "type": "COMBO",
547 "linkIds": [
548 223
549 ],
550 "pos": [
551 -870,
552 310
553 ]
554 },
555 {
556 "id": "0027809f-f5ad-4d75-b799-ff5e4a5f91e1",
557 "name": "lora_name",
558 "type": "COMBO",
559 "linkIds": [
560 224
561 ],
562 "pos": [
563 -870,
564 330
565 ]
566 },
567 {
568 "id": "1f96d7d0-c036-4888-9fce-86ddca4fe4d0",
569 "name": "clip_name1",
570 "type": "COMBO",
571 "linkIds": [
572 225
573 ],
574 "pos": [
575 -870,
576 350
577 ]
578 },
579 {
580 "id": "183a852d-7410-4f57-a1f3-9432010b936b",
581 "name": "clip_name2",
582 "type": "COMBO",
583 "linkIds": [
584 226
585 ],
586 "pos": [
587 -870,
588 370
589 ]
590 },
591 {
592 "id": "c14fab9b-2b6f-48f7-8173-afd58c1575d0",
593 "name": "vae_name",
594 "type": "COMBO",
595 "linkIds": [
596 227
597 ],
598 "pos": [
599 -870,
600 390
601 ]
602 }
603 ],
604 "outputs": [
605 {
606 "id": "d9b970e3-6003-4854-8004-d2e8c4531820",
607 "name": "IMAGE",
608 "type": "IMAGE",
609 "linkIds": [
610 95
611 ],
612 "localized_name": "IMAGE",
613 "label": "image",
614 "pos": [
615 1130,
616 370
617 ]
618 }
619 ],
620 "widgets": [],
621 "nodes": [
622 {
623 "id": 26,
624 "type": "FluxGuidance",
625 "pos": [
626 -30,
627 460
628 ],
629 "size": [
630 230,
631 110
632 ],
633 "flags": {
634 "collapsed": true
635 },
636 "order": 9,
637 "mode": 0,
638 "inputs": [
639 {
640 "localized_name": "conditioning",
641 "name": "conditioning",
642 "type": "CONDITIONING",
643 "link": 41
644 }
645 ],
646 "outputs": [
647 {
648 "localized_name": "CONDITIONING",
649 "name": "CONDITIONING",
650 "type": "CONDITIONING",
651 "slot_index": 0,
652 "links": [
653 80
654 ]
655 }
656 ],
657 "properties": {
658 "Node name for S&R": "FluxGuidance",
659 "cnr_id": "comfy-core",
660 "ver": "0.3.59",
661 "enableTabs": false,
662 "tabWidth": 65,
663 "tabXOffset": 10,
664 "hasSecondTab": false,
665 "secondTabText": "Send Back",
666 "secondTabOffset": 80,
667 "secondTabWidth": 65
668 },
669 "widgets_values": [
670 30
671 ]
672 },
673 {
674 "id": 46,
675 "type": "ConditioningZeroOut",
676 "pos": [
677 -30,
678 410
679 ],
680 "size": [
681 230,
682 80
683 ],
684 "flags": {
685 "collapsed": true
686 },
687 "order": 11,
688 "mode": 0,
689 "inputs": [
690 {
691 "localized_name": "conditioning",
692 "name": "conditioning",
693 "type": "CONDITIONING",
694 "link": 101
695 }
696 ],
697 "outputs": [
698 {
699 "localized_name": "CONDITIONING",
700 "name": "CONDITIONING",
701 "type": "CONDITIONING",
702 "links": [
703 102
704 ]
705 }
706 ],
707 "properties": {
708 "Node name for S&R": "ConditioningZeroOut",
709 "cnr_id": "comfy-core",
710 "ver": "0.3.59",
711 "enableTabs": false,
712 "tabWidth": 65,
713 "tabXOffset": 10,
714 "hasSecondTab": false,
715 "secondTabText": "Send Back",
716 "secondTabOffset": 80,
717 "secondTabWidth": 65
718 },
719 "widgets_values": []
720 },
721 {
722 "id": 39,
723 "type": "DifferentialDiffusion",
724 "pos": [
725 410.0000557301521,
726 -80.00000015999717
727 ],
728 "size": [
729 320,
730 110
731 ],
732 "flags": [],
733 "order": 5,
734 "mode": 0,
735 "inputs": [
736 {
737 "localized_name": "model",
738 "name": "model",
739 "type": "MODEL",
740 "link": 196
741 }
742 ],
743 "outputs": [
744 {
745 "localized_name": "MODEL",
746 "name": "MODEL",
747 "type": "MODEL",
748 "slot_index": 0,
749 "links": [
750 86
751 ]
752 }
753 ],
754 "properties": {
755 "Node name for S&R": "DifferentialDiffusion",
756 "cnr_id": "comfy-core",
757 "ver": "0.3.59",
758 "enableTabs": false,
759 "tabWidth": 65,
760 "tabXOffset": 10,
761 "hasSecondTab": false,
762 "secondTabText": "Send Back",
763 "secondTabOffset": 80,
764 "secondTabWidth": 65
765 },
766 "widgets_values": [
767 1
768 ]
769 },
770 {
771 "id": 8,
772 "type": "VAEDecode",
773 "pos": [
774 440.0000845602972,
775 610.000051829247
776 ],
777 "size": [
778 230,
779 100
780 ],
781 "flags": [],
782 "order": 7,
783 "mode": 0,
784 "inputs": [
785 {
786 "localized_name": "samples",
787 "name": "samples",
788 "type": "LATENT",
789 "link": 7
790 },
791 {
792 "localized_name": "vae",
793 "name": "vae",
794 "type": "VAE",
795 "link": 60
796 }
797 ],
798 "outputs": [
799 {
800 "localized_name": "IMAGE",
801 "name": "IMAGE",
802 "type": "IMAGE",
803 "slot_index": 0,
804 "links": [
805 95
806 ]
807 }
808 ],
809 "properties": {
810 "Node name for S&R": "VAEDecode",
811 "cnr_id": "comfy-core",
812 "ver": "0.3.59",
813 "enableTabs": false,
814 "tabWidth": 65,
815 "tabXOffset": 10,
816 "hasSecondTab": false,
817 "secondTabText": "Send Back",
818 "secondTabOffset": 80,
819 "secondTabWidth": 65
820 },
821 "widgets_values": []
822 },
823 {
824 "id": 32,
825 "type": "VAELoader",
826 "pos": [
827 -419.9999596906231,
828 610.000051829247
829 ],
830 "size": [
831 320,
832 110
833 ],
834 "flags": [],
835 "order": 0,
836 "mode": 0,
837 "inputs": [
838 {
839 "localized_name": "vae_name",
840 "name": "vae_name",
841 "type": "COMBO",
842 "widget": {
843 "name": "vae_name"
844 },
845 "link": 227
846 }
847 ],
848 "outputs": [
849 {
850 "localized_name": "VAE",
851 "name": "VAE",
852 "type": "VAE",
853 "slot_index": 0,
854 "links": [
855 60,
856 82
857 ]
858 }
859 ],
860 "properties": {
861 "Node name for S&R": "VAELoader",
862 "cnr_id": "comfy-core",
863 "ver": "0.3.59",
864 "models": [
865 {
866 "name": "ae.safetensors",
867 "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
868 "directory": "vae"
869 }
870 ],
871 "enableTabs": false,
872 "tabWidth": 65,
873 "tabXOffset": 10,
874 "hasSecondTab": false,
875 "secondTabText": "Send Back",
876 "secondTabOffset": 80,
877 "secondTabWidth": 65
878 },
879 "widgets_values": [
880 "ae.safetensors"
881 ]
882 },
883 {
884 "id": 31,
885 "type": "UNETLoader",
886 "pos": [
887 -429.9999693006714,
888 -49.99999577401576
889 ],
890 "size": [
891 320,
892 110
893 ],
894 "flags": [],
895 "order": 1,
896 "mode": 0,
897 "inputs": [
898 {
899 "localized_name": "unet_name",
900 "name": "unet_name",
901 "type": "COMBO",
902 "widget": {
903 "name": "unet_name"
904 },
905 "link": 223
906 }
907 ],
908 "outputs": [
909 {
910 "localized_name": "MODEL",
911 "name": "MODEL",
912 "type": "MODEL",
913 "slot_index": 0,
914 "links": [
915 195
916 ]
917 }
918 ],
919 "properties": {
920 "Node name for S&R": "UNETLoader",
921 "cnr_id": "comfy-core",
922 "ver": "0.3.59",
923 "models": [
924 {
925 "name": "flux.1-fill-dev-OneReward-transformer_fp8.safetensors",
926 "url": "https://huggingface.co/Comfy-Org/OneReward_repackaged/resolve/main/split_files/diffusion_models/flux.1-fill-dev-OneReward-transformer_fp8.safetensors",
927 "directory": "diffusion_models"
928 }
929 ],
930 "enableTabs": false,
931 "tabWidth": 65,
932 "tabXOffset": 10,
933 "hasSecondTab": false,
934 "secondTabText": "Send Back",
935 "secondTabOffset": 80,
936 "secondTabWidth": 65
937 },
938 "widgets_values": [
939 "flux.1-fill-dev-OneReward-transformer_fp8.safetensors",
940 "default"
941 ]
942 },
943 {
944 "id": 34,
945 "type": "DualCLIPLoader",
946 "pos": [
947 -419.9999596906231,
948 320.0000175794816
949 ],
950 "size": [
951 320,
952 220
953 ],
954 "flags": [],
955 "order": 2,
956 "mode": 0,
957 "showAdvanced": true,
958 "inputs": [
959 {
960 "localized_name": "clip_name1",
961 "name": "clip_name1",
962 "type": "COMBO",
963 "widget": {
964 "name": "clip_name1"
965 },
966 "link": 225
967 },
968 {
969 "localized_name": "clip_name2",
970 "name": "clip_name2",
971 "type": "COMBO",
972 "widget": {
973 "name": "clip_name2"
974 },
975 "link": 226
976 }
977 ],
978 "outputs": [
979 {
980 "localized_name": "CLIP",
981 "name": "CLIP",
982 "type": "CLIP",
983 "links": [
984 62
985 ]
986 }
987 ],
988 "properties": {
989 "Node name for S&R": "DualCLIPLoader",
990 "cnr_id": "comfy-core",
991 "ver": "0.3.59",
992 "models": [
993 {
994 "name": "clip_l.safetensors",
995 "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors?download=true",
996 "directory": "text_encoders"
997 },
998 {
999 "name": "t5xxl_fp16.safetensors",
1000 "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors?download=true",
1001 "directory": "text_encoders"
1002 }
1003 ],
1004 "enableTabs": false,
1005 "tabWidth": 65,
1006 "tabXOffset": 10,
1007 "hasSecondTab": false,
1008 "secondTabText": "Send Back",
1009 "secondTabOffset": 80,
1010 "secondTabWidth": 65
1011 },
1012 "widgets_values": [
1013 "clip_l.safetensors",
1014 "t5xxl_fp16.safetensors",
1015 "flux",
1016 "default"
1017 ]
1018 },
1019 {
1020 "id": 23,
1021 "type": "CLIPTextEncode",
1022 "pos": [
1023 -39.99998561540474,
1024 -49.99999577401576
1025 ],
1026 "size": [
1027 420,
1028 390
1029 ],
1030 "flags": [],
1031 "order": 8,
1032 "mode": 0,
1033 "inputs": [
1034 {
1035 "localized_name": "clip",
1036 "name": "clip",
1037 "type": "CLIP",
1038 "link": 62
1039 },
1040 {
1041 "localized_name": "text",
1042 "name": "text",
1043 "type": "STRING",
1044 "widget": {
1045 "name": "text"
1046 },
1047 "link": 221
1048 }
1049 ],
1050 "outputs": [
1051 {
1052 "localized_name": "CONDITIONING",
1053 "name": "CONDITIONING",
1054 "type": "CONDITIONING",
1055 "slot_index": 0,
1056 "links": [
1057 41,
1058 101
1059 ]
1060 }
1061 ],
1062 "title": "CLIP Text Encode (Positive Prompt)",
1063 "properties": {
1064 "Node name for S&R": "CLIPTextEncode",
1065 "cnr_id": "comfy-core",
1066 "ver": "0.3.59",
1067 "enableTabs": false,
1068 "tabWidth": 65,
1069 "tabXOffset": 10,
1070 "hasSecondTab": false,
1071 "secondTabText": "Send Back",
1072 "secondTabOffset": 80,
1073 "secondTabWidth": 65
1074 },
1075 "widgets_values": [
1076 "Remove the girl's hat\n"
1077 ],
1078 "color": "#232",
1079 "bgcolor": "#353"
1080 },
1081 {
1082 "id": 103,
1083 "type": "MarkdownNote",
1084 "pos": [
1085 -480.00001735091337,
1086 -350.00001518966576
1087 ],
1088 "size": [
1089 420,
1090 150
1091 ],
1092 "flags": [],
1093 "order": 3,
1094 "mode": 0,
1095 "inputs": [],
1096 "outputs": [],
1097 "title": "Note: About object removal",
1098 "properties": [],
1099 "widgets_values": [
1100 "By default, this group is an image inpainting workflow. \n\nYou can select the the \n**LoraLoaderModelOnly** node and use **Ctrl+B** to enable it, which will turn it into an object removal workflow. \n"
1101 ],
1102 "color": "#222",
1103 "bgcolor": "#000"
1104 },
1105 {
1106 "id": 100,
1107 "type": "LoraLoaderModelOnly",
1108 "pos": [
1109 -429.9999693006714,
1110 130.0000305418725
1111 ],
1112 "size": [
1113 320,
1114 140
1115 ],
1116 "flags": [],
1117 "order": 4,
1118 "mode": 0,
1119 "inputs": [
1120 {
1121 "localized_name": "model",
1122 "name": "model",
1123 "type": "MODEL",
1124 "link": 195
1125 },
1126 {
1127 "localized_name": "lora_name",
1128 "name": "lora_name",
1129 "type": "COMBO",
1130 "widget": {
1131 "name": "lora_name"
1132 },
1133 "link": 224
1134 }
1135 ],
1136 "outputs": [
1137 {
1138 "localized_name": "MODEL",
1139 "name": "MODEL",
1140 "type": "MODEL",
1141 "links": [
1142 196
1143 ]
1144 }
1145 ],
1146 "properties": {
1147 "Node name for S&R": "LoraLoaderModelOnly",
1148 "cnr_id": "comfy-core",
1149 "ver": "0.3.59",
1150 "models": [
1151 {
1152 "name": "removal_timestep_alpha-2-1740.safetensors",
1153 "url": "https://huggingface.co/lrzjason/ObjectRemovalFluxFill/resolve/main/removal_timestep_alpha-2-1740.safetensors",
1154 "directory": "loras"
1155 }
1156 ],
1157 "enableTabs": false,
1158 "tabWidth": 65,
1159 "tabXOffset": 10,
1160 "hasSecondTab": false,
1161 "secondTabText": "Send Back",
1162 "secondTabOffset": 80,
1163 "secondTabWidth": 65
1164 },
1165 "widgets_values": [
1166 "removal_timestep_alpha-2-1740.safetensors",
1167 1
1168 ]
1169 },
1170 {
1171 "id": 38,
1172 "type": "InpaintModelConditioning",
1173 "pos": [
1174 -29.99997600535653,
1175 520.0000631154667
1176 ],
1177 "size": [
1178 310,
1179 200
1180 ],
1181 "flags": [],
1182 "order": 10,
1183 "mode": 0,
1184 "inputs": [
1185 {
1186 "localized_name": "positive",
1187 "name": "positive",
1188 "type": "CONDITIONING",
1189 "link": 80
1190 },
1191 {
1192 "localized_name": "negative",
1193 "name": "negative",
1194 "type": "CONDITIONING",
1195 "link": 102
1196 },
1197 {
1198 "localized_name": "vae",
1199 "name": "vae",
1200 "type": "VAE",
1201 "link": 82
1202 },
1203 {
1204 "localized_name": "pixels",
1205 "name": "pixels",
1206 "type": "IMAGE",
1207 "link": 99
1208 },
1209 {
1210 "localized_name": "mask",
1211 "name": "mask",
1212 "type": "MASK",
1213 "link": 201
1214 }
1215 ],
1216 "outputs": [
1217 {
1218 "localized_name": "positive",
1219 "name": "positive",
1220 "type": "CONDITIONING",
1221 "slot_index": 0,
1222 "links": [
1223 77
1224 ]
1225 },
1226 {
1227 "localized_name": "negative",
1228 "name": "negative",
1229 "type": "CONDITIONING",
1230 "slot_index": 1,
1231 "links": [
1232 78
1233 ]
1234 },
1235 {
1236 "localized_name": "latent",
1237 "name": "latent",
1238 "type": "LATENT",
1239 "slot_index": 2,
1240 "links": [
1241 199
1242 ]
1243 }
1244 ],
1245 "properties": {
1246 "Node name for S&R": "InpaintModelConditioning",
1247 "cnr_id": "comfy-core",
1248 "ver": "0.3.59",
1249 "enableTabs": false,
1250 "tabWidth": 65,
1251 "tabXOffset": 10,
1252 "hasSecondTab": false,
1253 "secondTabText": "Send Back",
1254 "secondTabOffset": 80,
1255 "secondTabWidth": 65
1256 },
1257 "widgets_values": [
1258 true
1259 ]
1260 },
1261 {
1262 "id": 3,
1263 "type": "KSampler",
1264 "pos": [
1265 420.00006534020054,
1266 80.0000313799581
1267 ],
1268 "size": [
1269 320,
1270 480
1271 ],
1272 "flags": [],
1273 "order": 6,
1274 "mode": 0,
1275 "inputs": [
1276 {
1277 "localized_name": "model",
1278 "name": "model",
1279 "type": "MODEL",
1280 "link": 86
1281 },
1282 {
1283 "localized_name": "positive",
1284 "name": "positive",
1285 "type": "CONDITIONING",
1286 "link": 77
1287 },
1288 {
1289 "localized_name": "negative",
1290 "name": "negative",
1291 "type": "CONDITIONING",
1292 "link": 78
1293 },
1294 {
1295 "localized_name": "latent_image",
1296 "name": "latent_image",
1297 "type": "LATENT",
1298 "link": 199
1299 },
1300 {
1301 "localized_name": "seed",
1302 "name": "seed",
1303 "type": "INT",
1304 "widget": {
1305 "name": "seed"
1306 },
1307 "link": 222
1308 }
1309 ],
1310 "outputs": [
1311 {
1312 "localized_name": "LATENT",
1313 "name": "LATENT",
1314 "type": "LATENT",
1315 "slot_index": 0,
1316 "links": [
1317 7
1318 ]
1319 }
1320 ],
1321 "properties": {
1322 "Node name for S&R": "KSampler",
1323 "cnr_id": "comfy-core",
1324 "ver": "0.3.59",
1325 "enableTabs": false,
1326 "tabWidth": 65,
1327 "tabXOffset": 10,
1328 "hasSecondTab": false,
1329 "secondTabText": "Send Back",
1330 "secondTabOffset": 80,
1331 "secondTabWidth": 65
1332 },
1333 "widgets_values": [
1334 75154916226486,
1335 "randomize",
1336 20,
1337 1,
1338 "euler",
1339 "normal",
1340 1
1341 ]
1342 }
1343 ],
1344 "groups": [
1345 {
1346 "id": 9,
1347 "title": "Inpainting & Object removal",
1348 "bounding": [
1349 -490,
1350 -160,
1351 1350,
1352 1000
1353 ],
1354 "color": "#3f789e",
1355 "font_size": 24,
1356 "flags": []
1357 },
1358 {
1359 "id": 1,
1360 "title": "Step1 - Load models",
1361 "bounding": [
1362 -480,
1363 -120,
1364 420,
1365 890
1366 ],
1367 "color": "#3f789e",
1368 "font_size": 24,
1369 "flags": []
1370 },
1371 {
1372 "id": 3,
1373 "title": "Step3 - Prompt",
1374 "bounding": [
1375 -50,
1376 -120,
1377 440,
1378 480
1379 ],
1380 "color": "#3f789e",
1381 "font_size": 24,
1382 "flags": []
1383 }
1384 ],
1385 "links": [
1386 {
1387 "id": 86,
1388 "origin_id": 39,
1389 "origin_slot": 0,
1390 "target_id": 3,
1391 "target_slot": 0,
1392 "type": "MODEL"
1393 },
1394 {
1395 "id": 77,
1396 "origin_id": 38,
1397 "origin_slot": 0,
1398 "target_id": 3,
1399 "target_slot": 1,
1400 "type": "CONDITIONING"
1401 },
1402 {
1403 "id": 78,
1404 "origin_id": 38,
1405 "origin_slot": 1,
1406 "target_id": 3,
1407 "target_slot": 2,
1408 "type": "CONDITIONING"
1409 },
1410 {
1411 "id": 199,
1412 "origin_id": 38,
1413 "origin_slot": 2,
1414 "target_id": 3,
1415 "target_slot": 3,
1416 "type": "LATENT"
1417 },
1418 {
1419 "id": 41,
1420 "origin_id": 23,
1421 "origin_slot": 0,
1422 "target_id": 26,
1423 "target_slot": 0,
1424 "type": "CONDITIONING"
1425 },
1426 {
1427 "id": 101,
1428 "origin_id": 23,
1429 "origin_slot": 0,
1430 "target_id": 46,
1431 "target_slot": 0,
1432 "type": "CONDITIONING"
1433 },
1434 {
1435 "id": 196,
1436 "origin_id": 100,
1437 "origin_slot": 0,
1438 "target_id": 39,
1439 "target_slot": 0,
1440 "type": "MODEL"
1441 },
1442 {
1443 "id": 7,
1444 "origin_id": 3,
1445 "origin_slot": 0,
1446 "target_id": 8,
1447 "target_slot": 0,
1448 "type": "LATENT"
1449 },
1450 {
1451 "id": 60,
1452 "origin_id": 32,
1453 "origin_slot": 0,
1454 "target_id": 8,
1455 "target_slot": 1,
1456 "type": "VAE"
1457 },
1458 {
1459 "id": 62,
1460 "origin_id": 34,
1461 "origin_slot": 0,
1462 "target_id": 23,
1463 "target_slot": 0,
1464 "type": "CLIP"
1465 },
1466 {
1467 "id": 80,
1468 "origin_id": 26,
1469 "origin_slot": 0,
1470 "target_id": 38,
1471 "target_slot": 0,
1472 "type": "CONDITIONING"
1473 },
1474 {
1475 "id": 102,
1476 "origin_id": 46,
1477 "origin_slot": 0,
1478 "target_id": 38,
1479 "target_slot": 1,
1480 "type": "CONDITIONING"
1481 },
1482 {
1483 "id": 82,
1484 "origin_id": 32,
1485 "origin_slot": 0,
1486 "target_id": 38,
1487 "target_slot": 2,
1488 "type": "VAE"
1489 },
1490 {
1491 "id": 195,
1492 "origin_id": 31,
1493 "origin_slot": 0,
1494 "target_id": 100,
1495 "target_slot": 0,
1496 "type": "MODEL"
1497 },
1498 {
1499 "id": 99,
1500 "origin_id": -10,
1501 "origin_slot": 0,
1502 "target_id": 38,
1503 "target_slot": 3,
1504 "type": "IMAGE"
1505 },
1506 {
1507 "id": 95,
1508 "origin_id": 8,
1509 "origin_slot": 0,
1510 "target_id": -20,
1511 "target_slot": 0,
1512 "type": "IMAGE"
1513 },
1514 {
1515 "id": 201,
1516 "origin_id": -10,
1517 "origin_slot": 1,
1518 "target_id": 38,
1519 "target_slot": 4,
1520 "type": "MASK"
1521 },
1522 {
1523 "id": 221,
1524 "origin_id": -10,
1525 "origin_slot": 2,
1526 "target_id": 23,
1527 "target_slot": 1,
1528 "type": "STRING"
1529 },
1530 {
1531 "id": 222,
1532 "origin_id": -10,
1533 "origin_slot": 3,
1534 "target_id": 3,
1535 "target_slot": 4,
1536 "type": "INT"
1537 },
1538 {
1539 "id": 223,
1540 "origin_id": -10,
1541 "origin_slot": 4,
1542 "target_id": 31,
1543 "target_slot": 0,
1544 "type": "COMBO"
1545 },
1546 {
1547 "id": 224,
1548 "origin_id": -10,
1549 "origin_slot": 5,
1550 "target_id": 100,
1551 "target_slot": 1,
1552 "type": "COMBO"
1553 },
1554 {
1555 "id": 225,
1556 "origin_id": -10,
1557 "origin_slot": 6,
1558 "target_id": 34,
1559 "target_slot": 0,
1560 "type": "COMBO"
1561 },
1562 {
1563 "id": 226,
1564 "origin_id": -10,
1565 "origin_slot": 7,
1566 "target_id": 34,
1567 "target_slot": 1,
1568 "type": "COMBO"
1569 },
1570 {
1571 "id": 227,
1572 "origin_id": -10,
1573 "origin_slot": 8,
1574 "target_id": 32,
1575 "target_slot": 0,
1576 "type": "COMBO"
1577 }
1578 ],
1579 "extra": {
1580 "workflowRendererVersion": "LG"
1581 }
1582 },
1583 {
1584 "id": "b8560576-5524-4495-baa5-2cb40da12e9e",
1585 "version": 1,
1586 "state": {
1587 "lastGroupId": 9,
1588 "lastNodeId": 121,
1589 "lastLinkId": 232,
1590 "lastRerouteId": 0
1591 },
1592 "revision": 0,
1593 "config": [],
1594 "name": "OneReward Image Outpainting",
1595 "inputNode": {
1596 "id": -10,
1597 "bounding": [
1598 1760,
1599 275,
1600 120,
1601 280
1602 ]
1603 },
1604 "outputNode": {
1605 "id": -20,
1606 "bounding": [
1607 3570,
1608 630,
1609 120,
1610 60
1611 ]
1612 },
1613 "inputs": [
1614 {
1615 "id": "f974d37e-1eb8-475b-976c-170a284e696c",
1616 "name": "image",
1617 "type": "IMAGE",
1618 "linkIds": [
1619 143
1620 ],
1621 "localized_name": "image",
1622 "pos": [
1623 1860,
1624 295
1625 ]
1626 },
1627 {
1628 "id": "e73bdf33-93d3-45fc-b335-0ff3cdbbb494",
1629 "name": "left",
1630 "type": "INT",
1631 "linkIds": [
1632 210
1633 ],
1634 "pos": [
1635 1860,
1636 315
1637 ]
1638 },
1639 {
1640 "id": "02c9eb3a-6702-46f1-ba94-7cfe7af9b2e8",
1641 "name": "top",
1642 "type": "INT",
1643 "linkIds": [
1644 211
1645 ],
1646 "pos": [
1647 1860,
1648 335
1649 ]
1650 },
1651 {
1652 "id": "f7c630e9-8f9d-403d-8190-eefe98aec243",
1653 "name": "right",
1654 "type": "INT",
1655 "linkIds": [
1656 212
1657 ],
1658 "pos": [
1659 1860,
1660 355
1661 ]
1662 },
1663 {
1664 "id": "3fa12006-9d55-4c9a-8bc3-ffeb98a77ecd",
1665 "name": "bottom",
1666 "type": "INT",
1667 "linkIds": [
1668 213
1669 ],
1670 "pos": [
1671 1860,
1672 375
1673 ]
1674 },
1675 {
1676 "id": "3eb2072e-cdbe-4ef6-b891-a7f023ea65f0",
1677 "name": "feathering",
1678 "type": "INT",
1679 "linkIds": [
1680 214
1681 ],
1682 "pos": [
1683 1860,
1684 395
1685 ]
1686 },
1687 {
1688 "id": "b100ca10-b4d0-4bc4-bafc-f69663462a1b",
1689 "name": "text",
1690 "type": "STRING",
1691 "linkIds": [
1692 215
1693 ],
1694 "pos": [
1695 1860,
1696 415
1697 ]
1698 },
1699 {
1700 "id": "0c64d250-0561-48ba-889b-29907619ccaa",
1701 "name": "seed",
1702 "type": "INT",
1703 "linkIds": [
1704 228
1705 ],
1706 "pos": [
1707 1860,
1708 435
1709 ]
1710 },
1711 {
1712 "id": "776dc8c2-48b3-4f61-997e-ca717542232e",
1713 "name": "unet_name",
1714 "type": "COMBO",
1715 "linkIds": [
1716 229
1717 ],
1718 "pos": [
1719 1860,
1720 455
1721 ]
1722 },
1723 {
1724 "id": "81dd6345-faf0-42f5-acc2-a70a07abc4e9",
1725 "name": "clip_name1",
1726 "type": "COMBO",
1727 "linkIds": [
1728 230
1729 ],
1730 "pos": [
1731 1860,
1732 475
1733 ]
1734 },
1735 {
1736 "id": "9d125520-c4d3-4873-ab21-0a072e25e383",
1737 "name": "clip_name2",
1738 "type": "COMBO",
1739 "linkIds": [
1740 231
1741 ],
1742 "pos": [
1743 1860,
1744 495
1745 ]
1746 },
1747 {
1748 "id": "8fcd38ca-54c7-4af6-adcb-0a584c343a54",
1749 "name": "vae_name",
1750 "type": "COMBO",
1751 "linkIds": [
1752 232
1753 ],
1754 "pos": [
1755 1860,
1756 515
1757 ]
1758 }
1759 ],
1760 "outputs": [
1761 {
1762 "id": "b01fb25c-6be9-4adf-98ac-9fcde5495520",
1763 "name": "IMAGE",
1764 "type": "IMAGE",
1765 "linkIds": [
1766 125
1767 ],
1768 "localized_name": "IMAGE",
1769 "pos": [
1770 3590,
1771 650
1772 ]
1773 }
1774 ],
1775 "widgets": [],
1776 "nodes": [
1777 {
1778 "id": 59,
1779 "type": "VAELoader",
1780 "pos": [
1781 1999.999880405741,
1782 509.9999628845404
1783 ],
1784 "size": [
1785 320,
1786 108
1787 ],
1788 "flags": [],
1789 "order": 0,
1790 "mode": 0,
1791 "inputs": [
1792 {
1793 "localized_name": "vae_name",
1794 "name": "vae_name",
1795 "type": "COMBO",
1796 "widget": {
1797 "name": "vae_name"
1798 },
1799 "link": 232
1800 }
1801 ],
1802 "outputs": [
1803 {
1804 "localized_name": "VAE",
1805 "name": "VAE",
1806 "type": "VAE",
1807 "slot_index": 0,
1808 "links": [
1809 128,
1810 137
1811 ]
1812 }
1813 ],
1814 "properties": {
1815 "Node name for S&R": "VAELoader",
1816 "cnr_id": "comfy-core",
1817 "ver": "0.3.59",
1818 "models": [
1819 {
1820 "name": "ae.safetensors",
1821 "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
1822 "directory": "vae"
1823 }
1824 ],
1825 "enableTabs": false,
1826 "tabWidth": 65,
1827 "tabXOffset": 10,
1828 "hasSecondTab": false,
1829 "secondTabText": "Send Back",
1830 "secondTabOffset": 80,
1831 "secondTabWidth": 65
1832 },
1833 "widgets_values": [
1834 "ae.safetensors"
1835 ]
1836 },
1837 {
1838 "id": 60,
1839 "type": "FluxGuidance",
1840 "pos": [
1841 2410,
1842 350
1843 ],
1844 "size": [
1845 225,
1846 104
1847 ],
1848 "flags": {
1849 "collapsed": true
1850 },
1851 "order": 5,
1852 "mode": 0,
1853 "inputs": [
1854 {
1855 "localized_name": "conditioning",
1856 "name": "conditioning",
1857 "type": "CONDITIONING",
1858 "link": 123
1859 }
1860 ],
1861 "outputs": [
1862 {
1863 "localized_name": "CONDITIONING",
1864 "name": "CONDITIONING",
1865 "type": "CONDITIONING",
1866 "slot_index": 0,
1867 "links": [
1868 135
1869 ]
1870 }
1871 ],
1872 "properties": {
1873 "Node name for S&R": "FluxGuidance",
1874 "cnr_id": "comfy-core",
1875 "ver": "0.3.59",
1876 "enableTabs": false,
1877 "tabWidth": 65,
1878 "tabXOffset": 10,
1879 "hasSecondTab": false,
1880 "secondTabText": "Send Back",
1881 "secondTabOffset": 80,
1882 "secondTabWidth": 65
1883 },
1884 "widgets_values": [
1885 30
1886 ]
1887 },
1888 {
1889 "id": 61,
1890 "type": "ConditioningZeroOut",
1891 "pos": [
1892 2410,
1893 300
1894 ],
1895 "size": [
1896 225,
1897 72
1898 ],
1899 "flags": {
1900 "collapsed": true
1901 },
1902 "order": 6,
1903 "mode": 0,
1904 "inputs": [
1905 {
1906 "localized_name": "conditioning",
1907 "name": "conditioning",
1908 "type": "CONDITIONING",
1909 "link": 124
1910 }
1911 ],
1912 "outputs": [
1913 {
1914 "localized_name": "CONDITIONING",
1915 "name": "CONDITIONING",
1916 "type": "CONDITIONING",
1917 "links": [
1918 136
1919 ]
1920 }
1921 ],
1922 "properties": {
1923 "Node name for S&R": "ConditioningZeroOut",
1924 "cnr_id": "comfy-core",
1925 "ver": "0.3.59",
1926 "enableTabs": false,
1927 "tabWidth": 65,
1928 "tabXOffset": 10,
1929 "hasSecondTab": false,
1930 "secondTabText": "Send Back",
1931 "secondTabOffset": 80,
1932 "secondTabWidth": 65
1933 },
1934 "widgets_values": []
1935 },
1936 {
1937 "id": 63,
1938 "type": "DifferentialDiffusion",
1939 "pos": [
1940 2839.999773926964,
1941 -80.0000024676035
1942 ],
1943 "size": [
1944 320,
1945 104
1946 ],
1947 "flags": [],
1948 "order": 3,
1949 "mode": 0,
1950 "inputs": [
1951 {
1952 "localized_name": "model",
1953 "name": "model",
1954 "type": "MODEL",
1955 "link": 126
1956 }
1957 ],
1958 "outputs": [
1959 {
1960 "localized_name": "MODEL",
1961 "name": "MODEL",
1962 "type": "MODEL",
1963 "slot_index": 0,
1964 "links": [
1965 119
1966 ]
1967 }
1968 ],
1969 "properties": {
1970 "Node name for S&R": "DifferentialDiffusion",
1971 "cnr_id": "comfy-core",
1972 "ver": "0.3.59",
1973 "enableTabs": false,
1974 "tabWidth": 65,
1975 "tabXOffset": 10,
1976 "hasSecondTab": false,
1977 "secondTabText": "Send Back",
1978 "secondTabOffset": 80,
1979 "secondTabWidth": 65
1980 },
1981 "widgets_values": [
1982 1
1983 ]
1984 },
1985 {
1986 "id": 65,
1987 "type": "VAEDecode",
1988 "pos": [
1989 2849.999973363404,
1990 629.9999476732866
1991 ],
1992 "size": [
1993 225,
1994 96
1995 ],
1996 "flags": [],
1997 "order": 7,
1998 "mode": 0,
1999 "inputs": [
2000 {
2001 "localized_name": "samples",
2002 "name": "samples",
2003 "type": "LATENT",
2004 "link": 127
2005 },
2006 {
2007 "localized_name": "vae",
2008 "name": "vae",
2009 "type": "VAE",
2010 "link": 128
2011 }
2012 ],
2013 "outputs": [
2014 {
2015 "localized_name": "IMAGE",
2016 "name": "IMAGE",
2017 "type": "IMAGE",
2018 "slot_index": 0,
2019 "links": [
2020 125
2021 ]
2022 }
2023 ],
2024 "properties": {
2025 "Node name for S&R": "VAEDecode",
2026 "cnr_id": "comfy-core",
2027 "ver": "0.3.59",
2028 "enableTabs": false,
2029 "tabWidth": 65,
2030 "tabXOffset": 10,
2031 "hasSecondTab": false,
2032 "secondTabText": "Send Back",
2033 "secondTabOffset": 80,
2034 "secondTabWidth": 65
2035 },
2036 "widgets_values": []
2037 },
2038 {
2039 "id": 71,
2040 "type": "InpaintModelConditioning",
2041 "pos": [
2042 2409.999868574766,
2043 409.9999755605853
2044 ],
2045 "size": [
2046 310,
2047 196
2048 ],
2049 "flags": [],
2050 "order": 8,
2051 "mode": 0,
2052 "inputs": [
2053 {
2054 "localized_name": "positive",
2055 "name": "positive",
2056 "type": "CONDITIONING",
2057 "link": 135
2058 },
2059 {
2060 "localized_name": "negative",
2061 "name": "negative",
2062 "type": "CONDITIONING",
2063 "link": 136
2064 },
2065 {
2066 "localized_name": "vae",
2067 "name": "vae",
2068 "type": "VAE",
2069 "link": 137
2070 },
2071 {
2072 "localized_name": "pixels",
2073 "name": "pixels",
2074 "type": "IMAGE",
2075 "link": 149
2076 },
2077 {
2078 "localized_name": "mask",
2079 "name": "mask",
2080 "type": "MASK",
2081 "link": 158
2082 }
2083 ],
2084 "outputs": [
2085 {
2086 "localized_name": "positive",
2087 "name": "positive",
2088 "type": "CONDITIONING",
2089 "slot_index": 0,
2090 "links": [
2091 120
2092 ]
2093 },
2094 {
2095 "localized_name": "negative",
2096 "name": "negative",
2097 "type": "CONDITIONING",
2098 "slot_index": 1,
2099 "links": [
2100 121
2101 ]
2102 },
2103 {
2104 "localized_name": "latent",
2105 "name": "latent",
2106 "type": "LATENT",
2107 "slot_index": 2,
2108 "links": [
2109 140
2110 ]
2111 }
2112 ],
2113 "properties": {
2114 "Node name for S&R": "InpaintModelConditioning",
2115 "cnr_id": "comfy-core",
2116 "ver": "0.3.59",
2117 "enableTabs": false,
2118 "tabWidth": 65,
2119 "tabXOffset": 10,
2120 "hasSecondTab": false,
2121 "secondTabText": "Send Back",
2122 "secondTabOffset": 80,
2123 "secondTabWidth": 65
2124 },
2125 "widgets_values": [
2126 false
2127 ]
2128 },
2129 {
2130 "id": 58,
2131 "type": "KSampler",
2132 "pos": [
2133 2839.999773926964,
2134 69.99997851832913
2135 ],
2136 "size": [
2137 330,
2138 500
2139 ],
2140 "flags": [],
2141 "order": 4,
2142 "mode": 0,
2143 "inputs": [
2144 {
2145 "localized_name": "model",
2146 "name": "model",
2147 "type": "MODEL",
2148 "link": 119
2149 },
2150 {
2151 "localized_name": "positive",
2152 "name": "positive",
2153 "type": "CONDITIONING",
2154 "link": 120
2155 },
2156 {
2157 "localized_name": "negative",
2158 "name": "negative",
2159 "type": "CONDITIONING",
2160 "link": 121
2161 },
2162 {
2163 "localized_name": "latent_image",
2164 "name": "latent_image",
2165 "type": "LATENT",
2166 "link": 122
2167 },
2168 {
2169 "localized_name": "seed",
2170 "name": "seed",
2171 "type": "INT",
2172 "widget": {
2173 "name": "seed"
2174 },
2175 "link": 228
2176 }
2177 ],
2178 "outputs": [
2179 {
2180 "localized_name": "LATENT",
2181 "name": "LATENT",
2182 "type": "LATENT",
2183 "slot_index": 0,
2184 "links": [
2185 127
2186 ]
2187 }
2188 ],
2189 "properties": {
2190 "Node name for S&R": "KSampler",
2191 "cnr_id": "comfy-core",
2192 "ver": "0.3.59",
2193 "enableTabs": false,
2194 "tabWidth": 65,
2195 "tabXOffset": 10,
2196 "hasSecondTab": false,
2197 "secondTabText": "Send Back",
2198 "secondTabOffset": 80,
2199 "secondTabWidth": 65
2200 },
2201 "widgets_values": [
2202 220433686186430,
2203 "randomize",
2204 20,
2205 1,
2206 "euler",
2207 "normal",
2208 1
2209 ]
2210 },
2211 {
2212 "id": 73,
2213 "type": "SetLatentNoiseMask",
2214 "pos": [
2215 2479.999980123961,
2216 679.9999814760729
2217 ],
2218 "size": [
2219 225,
2220 96
2221 ],
2222 "flags": [],
2223 "order": 9,
2224 "mode": 0,
2225 "inputs": [
2226 {
2227 "localized_name": "samples",
2228 "name": "samples",
2229 "type": "LATENT",
2230 "link": 140
2231 },
2232 {
2233 "localized_name": "mask",
2234 "name": "mask",
2235 "type": "MASK",
2236 "link": 157
2237 }
2238 ],
2239 "outputs": [
2240 {
2241 "localized_name": "LATENT",
2242 "name": "LATENT",
2243 "type": "LATENT",
2244 "links": [
2245 122
2246 ]
2247 }
2248 ],
2249 "properties": {
2250 "Node name for S&R": "SetLatentNoiseMask",
2251 "cnr_id": "comfy-core",
2252 "ver": "0.3.59",
2253 "enableTabs": false,
2254 "tabWidth": 65,
2255 "tabXOffset": 10,
2256 "hasSecondTab": false,
2257 "secondTabText": "Send Back",
2258 "secondTabOffset": 80,
2259 "secondTabWidth": 65
2260 },
2261 "widgets_values": []
2262 },
2263 {
2264 "id": 75,
2265 "type": "ImagePadForOutpaint",
2266 "pos": [
2267 2089.9999091381096,
2268 739.9998935888282
2269 ],
2270 "size": [
2271 270,
2272 224
2273 ],
2274 "flags": [],
2275 "order": 11,
2276 "mode": 0,
2277 "inputs": [
2278 {
2279 "localized_name": "image",
2280 "name": "image",
2281 "type": "IMAGE",
2282 "link": 143
2283 },
2284 {
2285 "localized_name": "left",
2286 "name": "left",
2287 "type": "INT",
2288 "widget": {
2289 "name": "left"
2290 },
2291 "link": 210
2292 },
2293 {
2294 "localized_name": "top",
2295 "name": "top",
2296 "type": "INT",
2297 "widget": {
2298 "name": "top"
2299 },
2300 "link": 211
2301 },
2302 {
2303 "localized_name": "right",
2304 "name": "right",
2305 "type": "INT",
2306 "widget": {
2307 "name": "right"
2308 },
2309 "link": 212
2310 },
2311 {
2312 "localized_name": "bottom",
2313 "name": "bottom",
2314 "type": "INT",
2315 "widget": {
2316 "name": "bottom"
2317 },
2318 "link": 213
2319 },
2320 {
2321 "localized_name": "feathering",
2322 "name": "feathering",
2323 "type": "INT",
2324 "widget": {
2325 "name": "feathering"
2326 },
2327 "link": 214
2328 }
2329 ],
2330 "outputs": [
2331 {
2332 "localized_name": "IMAGE",
2333 "name": "IMAGE",
2334 "type": "IMAGE",
2335 "links": [
2336 149
2337 ]
2338 },
2339 {
2340 "localized_name": "MASK",
2341 "name": "MASK",
2342 "type": "MASK",
2343 "links": [
2344 157,
2345 158
2346 ]
2347 }
2348 ],
2349 "properties": {
2350 "Node name for S&R": "ImagePadForOutpaint",
2351 "cnr_id": "comfy-core",
2352 "ver": "0.3.59",
2353 "enableTabs": false,
2354 "tabWidth": 65,
2355 "tabXOffset": 10,
2356 "hasSecondTab": false,
2357 "secondTabText": "Send Back",
2358 "secondTabOffset": 80,
2359 "secondTabWidth": 65
2360 },
2361 "widgets_values": [
2362 40,
2363 0,
2364 104,
2365 104,
2366 40
2367 ]
2368 },
2369 {
2370 "id": 74,
2371 "type": "CLIPTextEncode",
2372 "pos": [
2373 2389.9999513915927,
2374 -50.000006270416975
2375 ],
2376 "size": [
2377 430,
2378 280
2379 ],
2380 "flags": [],
2381 "order": 10,
2382 "mode": 0,
2383 "inputs": [
2384 {
2385 "localized_name": "clip",
2386 "name": "clip",
2387 "type": "CLIP",
2388 "link": 142
2389 },
2390 {
2391 "localized_name": "text",
2392 "name": "text",
2393 "type": "STRING",
2394 "widget": {
2395 "name": "text"
2396 },
2397 "link": 215
2398 }
2399 ],
2400 "outputs": [
2401 {
2402 "localized_name": "CONDITIONING",
2403 "name": "CONDITIONING",
2404 "type": "CONDITIONING",
2405 "slot_index": 0,
2406 "links": [
2407 123,
2408 124
2409 ]
2410 }
2411 ],
2412 "title": "CLIP Text Encode (Positive Prompt)",
2413 "properties": {
2414 "Node name for S&R": "CLIPTextEncode",
2415 "cnr_id": "comfy-core",
2416 "ver": "0.3.59",
2417 "enableTabs": false,
2418 "tabWidth": 65,
2419 "tabXOffset": 10,
2420 "hasSecondTab": false,
2421 "secondTabText": "Send Back",
2422 "secondTabOffset": 80,
2423 "secondTabWidth": 65
2424 },
2425 "widgets_values": [
2426 ""
2427 ],
2428 "color": "#232",
2429 "bgcolor": "#353"
2430 },
2431 {
2432 "id": 64,
2433 "type": "UNETLoader",
2434 "pos": [
2435 2009.9999192789455,
2436 -10.00001134083493
2437 ],
2438 "size": [
2439 320,
2440 108
2441 ],
2442 "flags": [],
2443 "order": 1,
2444 "mode": 0,
2445 "inputs": [
2446 {
2447 "localized_name": "unet_name",
2448 "name": "unet_name",
2449 "type": "COMBO",
2450 "widget": {
2451 "name": "unet_name"
2452 },
2453 "link": 229
2454 }
2455 ],
2456 "outputs": [
2457 {
2458 "localized_name": "MODEL",
2459 "name": "MODEL",
2460 "type": "MODEL",
2461 "slot_index": 0,
2462 "links": [
2463 126
2464 ]
2465 }
2466 ],
2467 "properties": {
2468 "Node name for S&R": "UNETLoader",
2469 "cnr_id": "comfy-core",
2470 "ver": "0.3.59",
2471 "models": [
2472 {
2473 "name": "flux.1-fill-dev-OneReward-transformer_fp8.safetensors",
2474 "url": "https://huggingface.co/Comfy-Org/OneReward_repackaged/resolve/main/split_files/diffusion_models/flux.1-fill-dev-OneReward-transformer_fp8.safetensors",
2475 "directory": "diffusion_models"
2476 }
2477 ],
2478 "enableTabs": false,
2479 "tabWidth": 65,
2480 "tabXOffset": 10,
2481 "hasSecondTab": false,
2482 "secondTabText": "Send Back",
2483 "secondTabOffset": 80,
2484 "secondTabWidth": 65
2485 },
2486 "widgets_values": [
2487 "flux.1-fill-dev-OneReward-transformer_fp8.safetensors",
2488 "default"
2489 ]
2490 },
2491 {
2492 "id": 57,
2493 "type": "DualCLIPLoader",
2494 "pos": [
2495 1999.999880405741,
2496 210.00000091267515
2497 ],
2498 "size": [
2499 320,
2500 175.984375
2501 ],
2502 "flags": [],
2503 "order": 2,
2504 "mode": 0,
2505 "inputs": [
2506 {
2507 "localized_name": "clip_name1",
2508 "name": "clip_name1",
2509 "type": "COMBO",
2510 "widget": {
2511 "name": "clip_name1"
2512 },
2513 "link": 230
2514 },
2515 {
2516 "localized_name": "clip_name2",
2517 "name": "clip_name2",
2518 "type": "COMBO",
2519 "widget": {
2520 "name": "clip_name2"
2521 },
2522 "link": 231
2523 }
2524 ],
2525 "outputs": [
2526 {
2527 "localized_name": "CLIP",
2528 "name": "CLIP",
2529 "type": "CLIP",
2530 "links": [
2531 142
2532 ]
2533 }
2534 ],
2535 "properties": {
2536 "Node name for S&R": "DualCLIPLoader",
2537 "cnr_id": "comfy-core",
2538 "ver": "0.3.59",
2539 "models": [
2540 {
2541 "name": "clip_l.safetensors",
2542 "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors?download=true",
2543 "directory": "text_encoders"
2544 },
2545 {
2546 "name": "t5xxl_fp16.safetensors",
2547 "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors",
2548 "directory": "text_encoders"
2549 }
2550 ],
2551 "enableTabs": false,
2552 "tabWidth": 65,
2553 "tabXOffset": 10,
2554 "hasSecondTab": false,
2555 "secondTabText": "Send Back",
2556 "secondTabOffset": 80,
2557 "secondTabWidth": 65
2558 },
2559 "widgets_values": [
2560 "clip_l.safetensors",
2561 "t5xxl_fp16.safetensors",
2562 "flux",
2563 "default"
2564 ]
2565 }
2566 ],
2567 "groups": [
2568 {
2569 "id": 8,
2570 "title": "Outpainting",
2571 "bounding": [
2572 1940,
2573 -160,
2574 1250,
2575 1170
2576 ],
2577 "color": "#3f789e",
2578 "font_size": 24,
2579 "flags": []
2580 },
2581 {
2582 "id": 4,
2583 "title": "Step1 - Load models",
2584 "bounding": [
2585 1950,
2586 -120,
2587 420,
2588 800
2589 ],
2590 "color": "#3f789e",
2591 "font_size": 24,
2592 "flags": []
2593 },
2594 {
2595 "id": 6,
2596 "title": "Step3 - Prompt",
2597 "bounding": [
2598 2380,
2599 -120,
2600 440,
2601 370
2602 ],
2603 "color": "#3f789e",
2604 "font_size": 24,
2605 "flags": []
2606 }
2607 ],
2608 "links": [
2609 {
2610 "id": 123,
2611 "origin_id": 74,
2612 "origin_slot": 0,
2613 "target_id": 60,
2614 "target_slot": 0,
2615 "type": "CONDITIONING"
2616 },
2617 {
2618 "id": 124,
2619 "origin_id": 74,
2620 "origin_slot": 0,
2621 "target_id": 61,
2622 "target_slot": 0,
2623 "type": "CONDITIONING"
2624 },
2625 {
2626 "id": 126,
2627 "origin_id": 64,
2628 "origin_slot": 0,
2629 "target_id": 63,
2630 "target_slot": 0,
2631 "type": "MODEL"
2632 },
2633 {
2634 "id": 127,
2635 "origin_id": 58,
2636 "origin_slot": 0,
2637 "target_id": 65,
2638 "target_slot": 0,
2639 "type": "LATENT"
2640 },
2641 {
2642 "id": 128,
2643 "origin_id": 59,
2644 "origin_slot": 0,
2645 "target_id": 65,
2646 "target_slot": 1,
2647 "type": "VAE"
2648 },
2649 {
2650 "id": 135,
2651 "origin_id": 60,
2652 "origin_slot": 0,
2653 "target_id": 71,
2654 "target_slot": 0,
2655 "type": "CONDITIONING"
2656 },
2657 {
2658 "id": 136,
2659 "origin_id": 61,
2660 "origin_slot": 0,
2661 "target_id": 71,
2662 "target_slot": 1,
2663 "type": "CONDITIONING"
2664 },
2665 {
2666 "id": 137,
2667 "origin_id": 59,
2668 "origin_slot": 0,
2669 "target_id": 71,
2670 "target_slot": 2,
2671 "type": "VAE"
2672 },
2673 {
2674 "id": 149,
2675 "origin_id": 75,
2676 "origin_slot": 0,
2677 "target_id": 71,
2678 "target_slot": 3,
2679 "type": "IMAGE"
2680 },
2681 {
2682 "id": 158,
2683 "origin_id": 75,
2684 "origin_slot": 1,
2685 "target_id": 71,
2686 "target_slot": 4,
2687 "type": "MASK"
2688 },
2689 {
2690 "id": 142,
2691 "origin_id": 57,
2692 "origin_slot": 0,
2693 "target_id": 74,
2694 "target_slot": 0,
2695 "type": "CLIP"
2696 },
2697 {
2698 "id": 119,
2699 "origin_id": 63,
2700 "origin_slot": 0,
2701 "target_id": 58,
2702 "target_slot": 0,
2703 "type": "MODEL"
2704 },
2705 {
2706 "id": 120,
2707 "origin_id": 71,
2708 "origin_slot": 0,
2709 "target_id": 58,
2710 "target_slot": 1,
2711 "type": "CONDITIONING"
2712 },
2713 {
2714 "id": 121,
2715 "origin_id": 71,
2716 "origin_slot": 1,
2717 "target_id": 58,
2718 "target_slot": 2,
2719 "type": "CONDITIONING"
2720 },
2721 {
2722 "id": 122,
2723 "origin_id": 73,
2724 "origin_slot": 0,
2725 "target_id": 58,
2726 "target_slot": 3,
2727 "type": "LATENT"
2728 },
2729 {
2730 "id": 140,
2731 "origin_id": 71,
2732 "origin_slot": 2,
2733 "target_id": 73,
2734 "target_slot": 0,
2735 "type": "LATENT"
2736 },
2737 {
2738 "id": 157,
2739 "origin_id": 75,
2740 "origin_slot": 1,
2741 "target_id": 73,
2742 "target_slot": 1,
2743 "type": "MASK"
2744 },
2745 {
2746 "id": 143,
2747 "origin_id": -10,
2748 "origin_slot": 0,
2749 "target_id": 75,
2750 "target_slot": 0,
2751 "type": "IMAGE"
2752 },
2753 {
2754 "id": 125,
2755 "origin_id": 65,
2756 "origin_slot": 0,
2757 "target_id": -20,
2758 "target_slot": 0,
2759 "type": "IMAGE"
2760 },
2761 {
2762 "id": 210,
2763 "origin_id": -10,
2764 "origin_slot": 1,
2765 "target_id": 75,
2766 "target_slot": 1,
2767 "type": "INT"
2768 },
2769 {
2770 "id": 211,
2771 "origin_id": -10,
2772 "origin_slot": 2,
2773 "target_id": 75,
2774 "target_slot": 2,
2775 "type": "INT"
2776 },
2777 {
2778 "id": 212,
2779 "origin_id": -10,
2780 "origin_slot": 3,
2781 "target_id": 75,
2782 "target_slot": 3,
2783 "type": "INT"
2784 },
2785 {
2786 "id": 213,
2787 "origin_id": -10,
2788 "origin_slot": 4,
2789 "target_id": 75,
2790 "target_slot": 4,
2791 "type": "INT"
2792 },
2793 {
2794 "id": 214,
2795 "origin_id": -10,
2796 "origin_slot": 5,
2797 "target_id": 75,
2798 "target_slot": 5,
2799 "type": "INT"
2800 },
2801 {
2802 "id": 215,
2803 "origin_id": -10,
2804 "origin_slot": 6,
2805 "target_id": 74,
2806 "target_slot": 1,
2807 "type": "STRING"
2808 },
2809 {
2810 "id": 228,
2811 "origin_id": -10,
2812 "origin_slot": 7,
2813 "target_id": 58,
2814 "target_slot": 4,
2815 "type": "INT"
2816 },
2817 {
2818 "id": 229,
2819 "origin_id": -10,
2820 "origin_slot": 8,
2821 "target_id": 64,
2822 "target_slot": 0,
2823 "type": "COMBO"
2824 },
2825 {
2826 "id": 230,
2827 "origin_id": -10,
2828 "origin_slot": 9,
2829 "target_id": 57,
2830 "target_slot": 0,
2831 "type": "COMBO"
2832 },
2833 {
2834 "id": 231,
2835 "origin_id": -10,
2836 "origin_slot": 10,
2837 "target_id": 57,
2838 "target_slot": 1,
2839 "type": "COMBO"
2840 },
2841 {
2842 "id": 232,
2843 "origin_id": -10,
2844 "origin_slot": 11,
2845 "target_id": 59,
2846 "target_slot": 0,
2847 "type": "COMBO"
2848 }
2849 ],
2850 "extra": {
2851 "workflowRendererVersion": "LG"
2852 }
2853 }
2854 ]
2855 },
2856 "config": [],
2857 "extra": {
2858 "frontendVersion": "1.41.13",
2859 "workflowRendererVersion": "LG",
2860 "VHS_latentpreview": false,
2861 "VHS_latentpreviewrate": 0,
2862 "VHS_MetadataImage": true,
2863 "VHS_KeepIntermediate": true,
2864 "ds": {
2865 "scale": 0.5158928571428573,
2866 "offset": [
2867 1054.4978551699323,
2868 390.46003871812644
2869 ]
2870 }
2871 },
2872 "version": 0.4
2873}