工作流 /
图像工具 /
去背景: RMBG 3.0

去背景: RMBG 3.0
Utility Rmbg3 Remove Background
RMBG 3.0 生成柔和的灰度 alpha matte 而非硬 mask,头发、玻璃、头纱与液体能保留真实透明。由视觉模型读图自动写抠图指令,补一句材质说明还能继续微调。
图像工具
8 个节点 1 个输入 ComfyUI ≥ 0.46.0 ComfyUI 78 KB
需要的权重
这个工作流引用了 3 个权重文件,其中 2 个能在本站模型库里找到。
flux2-vae.safetensors
在模型库查看
qwen3vl_4b_int8_convrot.safetensors
在模型库查看
rmbg3_int8_convrot.safetensors
模型库暂未收录
节点构成
MarkdownNote
× 2
SaveImage
× 2
LoadImage
× 1
ImageCompare
× 1
71614996-81e0-4af2-8540-a63693a3169f
× 1
MaskPreview
× 1
官方标注的模型
RMBG 3.0
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "c968c8f4-5788-4d2a-aea6-c4849ebd7b5d",
3 "revision": 0,
4 "last_node_id": 179,
5 "last_link_id": 207,
6 "nodes": [
7 {
8 "id": 10,
9 "type": "LoadImage",
10 "pos": [
11 -630,
12 80
13 ],
14 "size": [
15 430,
16 530
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "color_off": null,
25 "color_on": null,
26 "dir": null,
27 "label": null,
28 "locked": null,
29 "name": "IMAGE",
30 "nameLocked": null,
31 "removable": null,
32 "type": "IMAGE",
33 "pos": null,
34 "slot_index": null,
35 "links": [
36 31,
37 130
38 ]
39 },
40 {
41 "color_off": null,
42 "color_on": null,
43 "dir": null,
44 "label": null,
45 "locked": null,
46 "name": "MASK",
47 "nameLocked": null,
48 "removable": null,
49 "type": "MASK",
50 "pos": null,
51 "slot_index": null,
52 "links": null
53 }
54 ],
55 "title": "Load Image (source)",
56 "properties": {
57 "Node name for S&R": "LoadImage"
58 },
59 "widgets_values": [
60 "withered_hydrangeas_still_life_vintage_lit.png",
61 "image"
62 ],
63 "widgets_values_named": {
64 "image": "withered_hydrangeas_still_life_vintage_lit.png",
65 "upload": "image"
66 },
67 "color": "#322",
68 "bgcolor": "#533"
69 },
70 {
71 "id": 24,
72 "type": "ImageCompare",
73 "pos": [
74 990,
75 80
76 ],
77 "size": [
78 830,
79 530
80 ],
81 "flags": [],
82 "order": 4,
83 "mode": 0,
84 "inputs": [
85 {
86 "name": "image_a",
87 "shape": 7,
88 "type": "IMAGE",
89 "link": 31
90 },
91 {
92 "name": "image_b",
93 "shape": 7,
94 "type": "IMAGE",
95 "link": 191
96 }
97 ],
98 "outputs": [],
99 "properties": {
100 "Node name for S&R": "ImageCompare"
101 },
102 "widgets_values": [],
103 "widgets_values_named": []
104 },
105 {
106 "id": 146,
107 "type": "71614996-81e0-4af2-8540-a63693a3169f",
108 "pos": [
109 -150,
110 80
111 ],
112 "size": [
113 430,
114 690
115 ],
116 "flags": [],
117 "order": 3,
118 "mode": 0,
119 "inputs": [
120 {
121 "label": "auto_prompt",
122 "name": "switch",
123 "type": "BOOLEAN",
124 "widget": {
125 "name": "switch"
126 },
127 "link": null
128 },
129 {
130 "label": "subject_note",
131 "name": "prompt",
132 "type": "STRING",
133 "widget": {
134 "name": "prompt"
135 },
136 "link": null
137 },
138 {
139 "label": "mask_expand",
140 "name": "expand",
141 "type": "INT",
142 "widget": {
143 "name": "expand"
144 },
145 "link": null
146 },
147 {
148 "label": "mask_tapered_corners",
149 "name": "tapered_corners",
150 "type": "BOOLEAN",
151 "widget": {
152 "name": "tapered_corners"
153 },
154 "link": null
155 },
156 {
157 "label": "alpha_brightness",
158 "name": "factor",
159 "type": "FLOAT",
160 "widget": {
161 "name": "factor"
162 },
163 "link": null
164 },
165 {
166 "label": "alpha_contrast",
167 "name": "factor_1",
168 "type": "FLOAT",
169 "widget": {
170 "name": "factor_1"
171 },
172 "link": null
173 },
174 {
175 "label": "hard_mask",
176 "name": "switch_1",
177 "type": "BOOLEAN",
178 "widget": {
179 "name": "switch_1"
180 },
181 "link": null
182 },
183 {
184 "label": "mask_threshold",
185 "name": "value",
186 "type": "FLOAT",
187 "widget": {
188 "name": "value"
189 },
190 "link": null
191 },
192 {
193 "label": "source_image",
194 "name": "image",
195 "type": "IMAGE",
196 "link": 130
197 }
198 ],
199 "outputs": [
200 {
201 "label": "foreground_image",
202 "name": "IMAGE",
203 "type": "IMAGE",
204 "links": [
205 191,
206 194
207 ]
208 },
209 {
210 "label": "background_image",
211 "name": "IMAGE_1",
212 "type": "IMAGE",
213 "links": [
214 193
215 ]
216 },
217 {
218 "label": "mask",
219 "name": "MASK",
220 "type": "MASK",
221 "links": [
222 189
223 ]
224 }
225 ],
226 "properties": {
227 "previewExposures": [
228 {
229 "name": "$$canvas-image-preview",
230 "sourceNodeId": "5",
231 "sourcePreviewName": "$$canvas-image-preview"
232 }
233 ]
234 },
235 "widgets_values": [
236 false,
237 "",
238 42,
239 4,
240 1,
241 "euler",
242 "simple",
243 0,
244 true,
245 1,
246 1,
247 false,
248 0.8500000000000001,
249 "rmbg3_int8_convrot.safetensors",
250 "qwen3vl_4b_int8_convrot.safetensors",
251 "flux2-vae.safetensors"
252 ],
253 "widgets_values_named": {
254 "switch": false,
255 "prompt": "",
256 "seed": 42,
257 "steps": 4,
258 "cfg": 1,
259 "sampler_name": "euler",
260 "scheduler": "simple",
261 "expand": 0,
262 "tapered_corners": true,
263 "factor": 1,
264 "factor_1": 1,
265 "switch_1": false,
266 "value": 0.8500000000000001,
267 "unet_name": "rmbg3_int8_convrot.safetensors",
268 "clip_name": "qwen3vl_4b_int8_convrot.safetensors",
269 "vae_name": "flux2-vae.safetensors"
270 }
271 },
272 {
273 "id": 151,
274 "type": "MarkdownNote",
275 "pos": [
276 -1140,
277 80
278 ],
279 "size": [
280 460,
281 640
282 ],
283 "flags": [],
284 "order": 1,
285 "mode": 0,
286 "inputs": [],
287 "outputs": [],
288 "title": "Note: RMBG 3.0",
289 "properties": [],
290 "widgets_values": [
291 "## Remove Background: RMBG 3.0\n\nRMBG 3.0 renders a soft grayscale alpha matte instead of a hard mask, so hair, glass, veils and liquid keep real transparency.\n\n### Outputs\n\n- `foreground_image` — RGBA cutout at the source resolution\n- `background_image` — the source with the subject removed\n- `mask` — the raw matte\n\n### How to use\n\n- Drop a photo into `source_image`\n- Keep `auto_prompt` ON: a vision model writes the matting instruction from the image\n- Add `subject_note` (optional) to describe the material\n- Keep `cfg` at **1.0**; raise it only for see-through subjects (see below)\n- Subgraph guide: [docs.comfy.org › Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n### Writing `subject_note`\n\n- One short sentence about the material, not about the scene or lighting\n- Name what stays solid: paper, metal, skin, petals, fabric\n- Name what stays see-through: glass, liquid, veil, mesh, smoke\n- Example: `Clear glass bottle, paper label, metal cap`\n\n### Tuning\n\n- Glass or veil comes back solid white → describe it in `subject_note`, then raise `cfg` to **1.5–2.0**\n- Coloured glass often stays opaque → lower `alpha_brightness`, or paint that area by hand\n- Faint grey noise in the background → lower `alpha_brightness`, or enable `hard_mask`\n- `cfg` 1.0 is the official setting: RMBG 3.0 is distilled without classifier-free guidance, so a higher cfg trades source fidelity for transparency\n"
292 ],
293 "widgets_values_named": {
294 "text": "## What this subgraph does\n\nOne subgraph packs the whole job: loads RMBG 3.0 + its text encoder + VAE, has a vision model write the matte\ninstruction from the image (or uses the built-in Bria sentence when `auto_prompt` is off), samples 4 steps, shapes the\nalpha, and returns **three outputs**:\n\n## About the model\n\nRMBG 3.0 is a distillation of Fibo 2.0 Edit Turbo: an 8B diffusion transformer that **renders a grayscale alpha matte**\ninstead of predicting a mask. White = opaque, grey = semi-transparent, black = background.\n\n- It works at about 1 MP internally and returns the matte at your source resolution.\n- It understands the scene, so hair, fur, thin straps and cast shadows are handled well; shadows and reflections on\n the ground are dropped.\n- The matte is a rendered image, so faint noise can appear in the background — `alpha_brightness` (or a light\n `mask_threshold`) cleans it up.\n\n\n## Writing the prompt (optional)\n\n- `auto_prompt` OFF → a vision model looks at your image and writes the matte instruction itself. This is a prompt rewriting rule we added and is not provided by the original RMBG 3.0 project. When it's OFF, the workflow use the original RMBG 3.0 edit instruction.\n- `subject_note` only works when `auto_prompt` is on: leave it empty and the model decides what is solid and what is see-through.\n\nWrite one plain sentence about **material and what is see-through**, for example:\n\n- `Clear glass bottle with a paper label and a metal cap.`\n- `Frosted serum bottle, the glass body is semi-transparent, the dropper inside is visible.`\n- `Bride with a tulle veil: the gown is solid, the veil is see-through.`\n\nIt helps to name the parts that must stay solid (paper, metal, skin, petals, fabric) and the parts that must keep\nalpha (glass, liquid, veil, mesh, smoke).\n\nTwo things that help when the subject is see-through:\n\n- Glass, veil or smoke should come back grey instead of white — describe it, if it not work try to raise `cfg` to **1.5–2.0**\n (4 steps stay the same, RMBG 3.0 default cfg is 1.0).\n- Strongly coloured glass is still read as a solid object by this model, so it may come back white;\n lower `alpha_brightness` or paint the region by hand if you need real transparency there.\n\nAvoid: describing the scene, style or lighting — the model only needs the material split.\n"
295 },
296 "color": "#222",
297 "bgcolor": "#000"
298 },
299 {
300 "id": 152,
301 "type": "MarkdownNote",
302 "pos": [
303 -1750,
304 80
305 ],
306 "size": [
307 580,
308 700
309 ],
310 "flags": [],
311 "order": 2,
312 "mode": 0,
313 "inputs": [],
314 "outputs": [],
315 "title": "Note: Model links",
316 "properties": [],
317 "widgets_values": [
318 "## Input Asset\n\n- [withered_hydrangeas_still_life_vintage_lit.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/withered_hydrangeas_still_life_vintage_lit.png)\n\n## Model Links\n\n- [Hugging Face:briaai/RMBG-3.0-Comfy](https://huggingface.co/briaai/RMBG-3.0-Comfy)\n\n**diffusion_models**\n\n- [rmbg3_int8_convrot.safetensors](https://huggingface.co/briaai/RMBG-3.0-Comfy/resolve/main/diffusion_models/rmbg3_int8_convrot.safetensors) (7.83 GB)\n\n**text_encoders**\n\n- [qwen3vl_4b_int8_convrot.safetensors](https://huggingface.co/briaai/RMBG-3.0-Comfy/resolve/main/text_encoders/qwen3vl_4b_int8_convrot.safetensors) (4.52 GB)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/briaai/RMBG-3.0-Comfy/resolve/main/vae/flux2-vae.safetensors) (320.6 MB)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── rmbg3_int8_convrot.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3vl_4b_int8_convrot.safetensors\n│ └── 📂 vae/\n│ └── flux2-vae.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)\n"
319 ],
320 "widgets_values_named": {
321 "text": "## Input Asset\n\n- [offwhite_contoured_form.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/offwhite_contoured_form.png)\n\n## Model Links\n\n- [Hugging Face:briaai/RMBG-3.0-Comfy](https://huggingface.co/briaai/RMBG-3.0-Comfy)\n\n**diffusion_models**\n\n- [rmbg3_int8_convrot.safetensors](https://huggingface.co/briaai/RMBG-3.0-Comfy/resolve/main/diffusion_models/rmbg3_int8_convrot.safetensors) (7.83 GB)\n\n**text_encoders**\n\n- [qwen3vl_4b_int8_convrot.safetensors](https://huggingface.co/briaai/RMBG-3.0-Comfy/resolve/main/text_encoders/qwen3vl_4b_int8_convrot.safetensors) (4.52 GB)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/briaai/RMBG-3.0-Comfy/resolve/main/vae/flux2-vae.safetensors) (320.6 MB)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── rmbg3_int8_convrot.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3vl_4b_int8_convrot.safetensors\n│ └── 📂 vae/\n│ └── flux2-vae.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)\n"
322 },
323 "color": "#222",
324 "bgcolor": "#000"
325 },
326 {
327 "id": 168,
328 "type": "MaskPreview",
329 "pos": [
330 1010,
331 690
332 ],
333 "size": [
334 800,
335 530
336 ],
337 "flags": [],
338 "order": 7,
339 "mode": 0,
340 "inputs": [
341 {
342 "name": "mask",
343 "type": "MASK",
344 "link": 189
345 }
346 ],
347 "outputs": [
348 {
349 "name": "mask",
350 "type": "MASK",
351 "links": []
352 }
353 ],
354 "properties": {
355 "Node name for S&R": "MaskPreview"
356 }
357 },
358 {
359 "id": 170,
360 "type": "SaveImage",
361 "pos": [
362 330,
363 690
364 ],
365 "size": [
366 630,
367 530
368 ],
369 "flags": [],
370 "order": 6,
371 "mode": 0,
372 "inputs": [
373 {
374 "color_off": null,
375 "color_on": null,
376 "dir": null,
377 "label": null,
378 "locked": null,
379 "name": "images",
380 "nameLocked": null,
381 "removable": null,
382 "type": "IMAGE",
383 "pos": null,
384 "link": 193
385 }
386 ],
387 "outputs": [
388 {
389 "color_off": null,
390 "color_on": null,
391 "dir": null,
392 "label": null,
393 "locked": null,
394 "name": "images",
395 "nameLocked": null,
396 "removable": null,
397 "type": "IMAGE",
398 "pos": null,
399 "slot_index": null,
400 "links": []
401 }
402 ],
403 "title": "SaveImage",
404 "properties": [],
405 "widgets_values": [
406 "rmbg3/background"
407 ],
408 "widgets_values_named": {
409 "filename_prefix": "rmbg3/background"
410 }
411 },
412 {
413 "id": 171,
414 "type": "SaveImage",
415 "pos": [
416 330,
417 80
418 ],
419 "size": [
420 630,
421 530
422 ],
423 "flags": [],
424 "order": 5,
425 "mode": 0,
426 "inputs": [
427 {
428 "color_off": null,
429 "color_on": null,
430 "dir": null,
431 "label": null,
432 "locked": null,
433 "name": "images",
434 "nameLocked": null,
435 "removable": null,
436 "type": "IMAGE",
437 "pos": null,
438 "link": 194
439 }
440 ],
441 "outputs": [
442 {
443 "color_off": null,
444 "color_on": null,
445 "dir": null,
446 "label": null,
447 "locked": null,
448 "name": "images",
449 "nameLocked": null,
450 "removable": null,
451 "type": "IMAGE",
452 "pos": null,
453 "slot_index": null,
454 "links": []
455 }
456 ],
457 "title": "SaveImage",
458 "properties": [],
459 "widgets_values": [
460 "rmbg3/foreground"
461 ],
462 "widgets_values_named": {
463 "filename_prefix": "rmbg3/foreground"
464 },
465 "color": "#322",
466 "bgcolor": "#533"
467 }
468 ],
469 "links": [
470 [
471 31,
472 10,
473 0,
474 24,
475 0,
476 "IMAGE"
477 ],
478 [
479 189,
480 146,
481 2,
482 168,
483 0,
484 "MASK"
485 ],
486 [
487 191,
488 146,
489 0,
490 24,
491 1,
492 "IMAGE"
493 ],
494 [
495 193,
496 146,
497 1,
498 170,
499 0,
500 "IMAGE"
501 ],
502 [
503 194,
504 146,
505 0,
506 171,
507 0,
508 "IMAGE"
509 ],
510 [
511 130,
512 10,
513 0,
514 146,
515 8,
516 "IMAGE"
517 ]
518 ],
519 "groups": [],
520 "definitions": {
521 "subgraphs": [
522 {
523 "id": "71614996-81e0-4af2-8540-a63693a3169f",
524 "version": 1,
525 "state": {
526 "lastGroupId": 9,
527 "lastNodeId": 179,
528 "lastLinkId": 207,
529 "lastRerouteId": 0
530 },
531 "revision": 0,
532 "config": [],
533 "name": "Remove Background (RMBG 3.0)",
534 "inputNode": {
535 "id": -10,
536 "bounding": [
537 -620,
538 30,
539 176.537109375,
540 388
541 ]
542 },
543 "outputNode": {
544 "id": -20,
545 "bounding": [
546 3260,
547 250,
548 156.169921875,
549 108
550 ]
551 },
552 "inputs": [
553 {
554 "id": "723d9ba8-d096-4d58-a32c-bca56bfe7f3d",
555 "name": "switch",
556 "type": "BOOLEAN",
557 "linkIds": [
558 179
559 ],
560 "label": "auto_prompt",
561 "pos": [
562 -467.462890625,
563 54
564 ]
565 },
566 {
567 "id": "f31902d4-0d38-4cae-8ada-eb6388f3c022",
568 "name": "prompt",
569 "type": "STRING",
570 "linkIds": [
571 207
572 ],
573 "label": "subject_note",
574 "pos": [
575 -467.462890625,
576 74
577 ]
578 },
579 {
580 "id": "61c70ac4-ddde-4a6b-99ba-babcb728d39c",
581 "name": "seed",
582 "type": "INT",
583 "linkIds": [
584 141
585 ],
586 "pos": [
587 -467.462890625,
588 94
589 ]
590 },
591 {
592 "id": "6575a5e3-6336-41eb-9692-394badfa673e",
593 "name": "steps",
594 "type": "INT",
595 "linkIds": [
596 151
597 ],
598 "pos": [
599 -467.462890625,
600 114
601 ]
602 },
603 {
604 "id": "681f7e96-eacf-4180-aa70-a612322adad5",
605 "name": "cfg",
606 "type": "FLOAT",
607 "linkIds": [
608 142
609 ],
610 "pos": [
611 -467.462890625,
612 134
613 ]
614 },
615 {
616 "id": "b3b74dc6-9b42-47de-b26e-2adbbe761d92",
617 "name": "sampler_name",
618 "type": "COMBO",
619 "linkIds": [
620 143
621 ],
622 "pos": [
623 -467.462890625,
624 154
625 ]
626 },
627 {
628 "id": "80381de8-1760-4dc9-bdd8-0b7ad3862bd8",
629 "name": "scheduler",
630 "type": "COMBO",
631 "linkIds": [
632 144
633 ],
634 "pos": [
635 -467.462890625,
636 174
637 ]
638 },
639 {
640 "id": "cb158c6d-881f-462f-bbb6-a7438471fc1e",
641 "name": "expand",
642 "type": "INT",
643 "linkIds": [
644 146
645 ],
646 "label": "mask_expand",
647 "pos": [
648 -467.462890625,
649 194
650 ]
651 },
652 {
653 "id": "8696abde-39f3-46fe-9d38-ac8f01562eee",
654 "name": "tapered_corners",
655 "type": "BOOLEAN",
656 "linkIds": [
657 148
658 ],
659 "label": "mask_tapered_corners",
660 "pos": [
661 -467.462890625,
662 214
663 ]
664 },
665 {
666 "id": "f62d1cf2-63bf-4803-9c28-bdf09e9895aa",
667 "name": "factor",
668 "type": "FLOAT",
669 "linkIds": [
670 180
671 ],
672 "label": "alpha_brightness",
673 "pos": [
674 -467.462890625,
675 234
676 ]
677 },
678 {
679 "id": "bbf3fc77-1765-46f5-b929-7bebe96a4682",
680 "name": "factor_1",
681 "type": "FLOAT",
682 "linkIds": [
683 181
684 ],
685 "label": "alpha_contrast",
686 "pos": [
687 -467.462890625,
688 254
689 ]
690 },
691 {
692 "id": "2eaf5e85-579b-485e-a2be-f184d359bcb4",
693 "name": "switch_1",
694 "type": "BOOLEAN",
695 "linkIds": [
696 182
697 ],
698 "label": "hard_mask",
699 "pos": [
700 -467.462890625,
701 274
702 ]
703 },
704 {
705 "id": "20257656-50ea-43ec-9a89-42d00206d731",
706 "name": "value",
707 "type": "FLOAT",
708 "linkIds": [
709 183
710 ],
711 "label": "mask_threshold",
712 "pos": [
713 -467.462890625,
714 294
715 ]
716 },
717 {
718 "id": "8df2500b-a25b-4009-a2f6-45b282766bb5",
719 "name": "unet_name",
720 "type": "COMBO",
721 "linkIds": [
722 153
723 ],
724 "pos": [
725 -467.462890625,
726 314
727 ]
728 },
729 {
730 "id": "6e4f0550-7727-4b1a-8b8a-76f7674a92c0",
731 "name": "clip_name",
732 "type": "COMBO",
733 "linkIds": [
734 154,
735 156
736 ],
737 "pos": [
738 -467.462890625,
739 334
740 ]
741 },
742 {
743 "id": "3c92944b-22ea-4ac0-a26b-dd107d4fcee9",
744 "name": "vae_name",
745 "type": "COMBO",
746 "linkIds": [
747 155
748 ],
749 "pos": [
750 -467.462890625,
751 354
752 ]
753 },
754 {
755 "id": "9f6327e5-4b97-4176-8f62-29375db49969",
756 "name": "image",
757 "type": "IMAGE",
758 "linkIds": [
759 53,
760 3,
761 149,
762 161
763 ],
764 "localized_name": "image",
765 "label": "source_image",
766 "pos": [
767 -467.462890625,
768 374
769 ]
770 }
771 ],
772 "outputs": [
773 {
774 "id": "0d85bbdd-f86d-4736-a2fa-b36d15a9e6c4",
775 "name": "IMAGE",
776 "type": "IMAGE",
777 "linkIds": [
778 54
779 ],
780 "localized_name": "IMAGE",
781 "label": "foreground_image",
782 "pos": [
783 3284,
784 274
785 ]
786 },
787 {
788 "id": "9ba33272-79be-462b-b778-86cd8d10f2c8",
789 "name": "IMAGE_1",
790 "type": "IMAGE",
791 "linkIds": [
792 138
793 ],
794 "label": "background_image",
795 "pos": [
796 3284,
797 294
798 ]
799 },
800 {
801 "id": "cd3faea2-8ff6-40dd-82ba-806a124b8c2f",
802 "name": "MASK",
803 "type": "MASK",
804 "linkIds": [
805 171
806 ],
807 "label": "mask",
808 "pos": [
809 3284,
810 314
811 ]
812 }
813 ],
814 "widgets": [],
815 "nodes": [
816 {
817 "id": 34,
818 "type": "JoinImageWithAlpha",
819 "pos": [
820 2670,
821 240
822 ],
823 "size": [
824 300,
825 50
826 ],
827 "flags": [],
828 "order": 8,
829 "mode": 0,
830 "inputs": [
831 {
832 "localized_name": "image",
833 "name": "image",
834 "type": "IMAGE",
835 "link": 53
836 },
837 {
838 "localized_name": "alpha",
839 "name": "alpha",
840 "type": "MASK",
841 "link": 188
842 }
843 ],
844 "outputs": [
845 {
846 "localized_name": "IMAGE",
847 "name": "IMAGE",
848 "type": "IMAGE",
849 "links": [
850 54
851 ]
852 }
853 ],
854 "properties": {
855 "Node name for S&R": "JoinImageWithAlpha"
856 }
857 },
858 {
859 "id": 5,
860 "type": "KSampler",
861 "pos": [
862 940,
863 170
864 ],
865 "size": [
866 320,
867 500
868 ],
869 "flags": [],
870 "order": 6,
871 "mode": 0,
872 "inputs": [
873 {
874 "color_off": null,
875 "color_on": null,
876 "dir": null,
877 "label": null,
878 "localized_name": "model",
879 "locked": null,
880 "name": "model",
881 "nameLocked": null,
882 "removable": null,
883 "type": "MODEL",
884 "pos": null,
885 "link": 4
886 },
887 {
888 "color_off": null,
889 "color_on": null,
890 "dir": null,
891 "label": null,
892 "localized_name": "positive",
893 "locked": null,
894 "name": "positive",
895 "nameLocked": null,
896 "removable": null,
897 "type": "CONDITIONING",
898 "pos": null,
899 "link": 5
900 },
901 {
902 "color_off": null,
903 "color_on": null,
904 "dir": null,
905 "label": null,
906 "localized_name": "negative",
907 "locked": null,
908 "name": "negative",
909 "nameLocked": null,
910 "removable": null,
911 "type": "CONDITIONING",
912 "pos": null,
913 "link": 6
914 },
915 {
916 "color_off": null,
917 "color_on": null,
918 "dir": null,
919 "label": null,
920 "localized_name": "latent_image",
921 "locked": null,
922 "name": "latent_image",
923 "nameLocked": null,
924 "removable": null,
925 "type": "LATENT",
926 "pos": null,
927 "link": 7
928 },
929 {
930 "localized_name": "seed",
931 "name": "seed",
932 "type": "INT",
933 "widget": {
934 "name": "seed"
935 },
936 "link": 141
937 },
938 {
939 "localized_name": "steps",
940 "name": "steps",
941 "type": "INT",
942 "widget": {
943 "name": "steps"
944 },
945 "link": 151
946 },
947 {
948 "localized_name": "cfg",
949 "name": "cfg",
950 "type": "FLOAT",
951 "widget": {
952 "name": "cfg"
953 },
954 "link": 142
955 },
956 {
957 "localized_name": "sampler_name",
958 "name": "sampler_name",
959 "type": "COMBO",
960 "widget": {
961 "name": "sampler_name"
962 },
963 "link": 143
964 },
965 {
966 "localized_name": "scheduler",
967 "name": "scheduler",
968 "type": "COMBO",
969 "widget": {
970 "name": "scheduler"
971 },
972 "link": 144
973 }
974 ],
975 "outputs": [
976 {
977 "color_off": null,
978 "color_on": null,
979 "dir": null,
980 "label": null,
981 "localized_name": "LATENT",
982 "locked": null,
983 "name": "LATENT",
984 "nameLocked": null,
985 "removable": null,
986 "type": "LATENT",
987 "pos": null,
988 "slot_index": null,
989 "links": [
990 8
991 ]
992 }
993 ],
994 "properties": {
995 "Node name for S&R": "KSampler"
996 },
997 "widgets_values": [
998 42,
999 "fixed",
1000 4,
1001 1,
1002 "euler",
1003 "simple",
1004 1
1005 ],
1006 "widgets_values_named": {
1007 "seed": 42,
1008 "control_after_generate": "fixed",
1009 "steps": 4,
1010 "cfg": 1,
1011 "sampler_name": "euler",
1012 "scheduler": "simple",
1013 "denoise": 1
1014 }
1015 },
1016 {
1017 "id": 36,
1018 "type": "InvertMask",
1019 "pos": [
1020 2670,
1021 140
1022 ],
1023 "size": [
1024 300,
1025 30
1026 ],
1027 "flags": [],
1028 "order": 10,
1029 "mode": 0,
1030 "inputs": [
1031 {
1032 "localized_name": "mask",
1033 "name": "mask",
1034 "type": "MASK",
1035 "link": 187
1036 }
1037 ],
1038 "outputs": [
1039 {
1040 "localized_name": "MASK",
1041 "name": "MASK",
1042 "type": "MASK",
1043 "links": [
1044 188
1045 ]
1046 }
1047 ],
1048 "properties": {
1049 "Node name for S&R": "InvertMask"
1050 }
1051 },
1052 {
1053 "id": 35,
1054 "type": "ImageToMask",
1055 "pos": [
1056 1930,
1057 250
1058 ],
1059 "size": [
1060 300,
1061 60
1062 ],
1063 "flags": [],
1064 "order": 9,
1065 "mode": 0,
1066 "inputs": [
1067 {
1068 "localized_name": "image",
1069 "name": "image",
1070 "type": "IMAGE",
1071 "link": 168
1072 }
1073 ],
1074 "outputs": [
1075 {
1076 "localized_name": "MASK",
1077 "name": "MASK",
1078 "type": "MASK",
1079 "links": [
1080 172,
1081 174
1082 ]
1083 }
1084 ],
1085 "properties": {
1086 "Node name for S&R": "ImageToMask"
1087 },
1088 "widgets_values": [
1089 "red"
1090 ],
1091 "widgets_values_named": {
1092 "channel": "red"
1093 }
1094 },
1095 {
1096 "id": 4,
1097 "type": "TextEncodeFibo2",
1098 "pos": [
1099 410,
1100 170
1101 ],
1102 "size": [
1103 410,
1104 510
1105 ],
1106 "flags": [],
1107 "order": 5,
1108 "mode": 0,
1109 "showAdvanced": true,
1110 "inputs": [
1111 {
1112 "color_off": null,
1113 "color_on": null,
1114 "dir": null,
1115 "label": null,
1116 "localized_name": "clip",
1117 "locked": null,
1118 "name": "clip",
1119 "nameLocked": null,
1120 "removable": null,
1121 "type": "CLIP",
1122 "pos": null,
1123 "link": 1
1124 },
1125 {
1126 "color_off": null,
1127 "color_on": null,
1128 "dir": null,
1129 "label": null,
1130 "localized_name": "image_1",
1131 "locked": null,
1132 "name": "images.image_1",
1133 "nameLocked": null,
1134 "removable": null,
1135 "shape": 7,
1136 "type": "IMAGE",
1137 "pos": null,
1138 "link": 3
1139 },
1140 {
1141 "localized_name": "image_2",
1142 "name": "images.image_2",
1143 "shape": 7,
1144 "type": "IMAGE",
1145 "link": null
1146 },
1147 {
1148 "localized_name": "image_3",
1149 "name": "images.image_3",
1150 "shape": 7,
1151 "type": "IMAGE",
1152 "link": null
1153 },
1154 {
1155 "localized_name": "image_4",
1156 "name": "images.image_4",
1157 "shape": 7,
1158 "type": "IMAGE",
1159 "link": null
1160 },
1161 {
1162 "color_off": null,
1163 "color_on": null,
1164 "dir": null,
1165 "label": null,
1166 "localized_name": "vae",
1167 "locked": null,
1168 "name": "vae",
1169 "nameLocked": null,
1170 "removable": null,
1171 "shape": 7,
1172 "type": "VAE",
1173 "pos": null,
1174 "link": 150
1175 },
1176 {
1177 "color_off": null,
1178 "color_on": null,
1179 "dir": null,
1180 "label": null,
1181 "localized_name": "prompt",
1182 "locked": null,
1183 "name": "prompt",
1184 "nameLocked": null,
1185 "removable": null,
1186 "type": "STRING",
1187 "widget": {
1188 "name": "prompt"
1189 },
1190 "link": 178
1191 }
1192 ],
1193 "outputs": [
1194 {
1195 "color_off": null,
1196 "color_on": null,
1197 "dir": null,
1198 "label": null,
1199 "localized_name": "positive",
1200 "locked": null,
1201 "name": "positive",
1202 "nameLocked": null,
1203 "removable": null,
1204 "type": "CONDITIONING",
1205 "pos": null,
1206 "slot_index": null,
1207 "links": [
1208 5
1209 ]
1210 },
1211 {
1212 "color_off": null,
1213 "color_on": null,
1214 "dir": null,
1215 "label": null,
1216 "localized_name": "negative",
1217 "locked": null,
1218 "name": "negative",
1219 "nameLocked": null,
1220 "removable": null,
1221 "type": "CONDITIONING",
1222 "pos": null,
1223 "slot_index": null,
1224 "links": [
1225 6
1226 ]
1227 },
1228 {
1229 "color_off": null,
1230 "color_on": null,
1231 "dir": null,
1232 "label": null,
1233 "localized_name": "latent",
1234 "locked": null,
1235 "name": "latent",
1236 "nameLocked": null,
1237 "removable": null,
1238 "type": "LATENT",
1239 "pos": null,
1240 "slot_index": null,
1241 "links": [
1242 7
1243 ]
1244 }
1245 ],
1246 "properties": {
1247 "Node name for S&R": "TextEncodeFibo2"
1248 },
1249 "widgets_values": [
1250 "",
1251 "",
1252 0,
1253 0,
1254 1
1255 ],
1256 "widgets_values_named": {
1257 "prompt": "",
1258 "negative_prompt": "",
1259 "width": 0,
1260 "height": 0,
1261 "batch_size": 1
1262 },
1263 "color": "#322",
1264 "bgcolor": "#533"
1265 },
1266 {
1267 "id": 6,
1268 "type": "VAEDecode",
1269 "pos": [
1270 1390,
1271 160
1272 ],
1273 "size": [
1274 300,
1275 50
1276 ],
1277 "flags": [],
1278 "order": 7,
1279 "mode": 0,
1280 "inputs": [
1281 {
1282 "color_off": null,
1283 "color_on": null,
1284 "dir": null,
1285 "label": null,
1286 "localized_name": "samples",
1287 "locked": null,
1288 "name": "samples",
1289 "nameLocked": null,
1290 "removable": null,
1291 "type": "LATENT",
1292 "pos": null,
1293 "link": 8
1294 },
1295 {
1296 "color_off": null,
1297 "color_on": null,
1298 "dir": null,
1299 "label": null,
1300 "localized_name": "vae",
1301 "locked": null,
1302 "name": "vae",
1303 "nameLocked": null,
1304 "removable": null,
1305 "type": "VAE",
1306 "pos": null,
1307 "link": 9
1308 }
1309 ],
1310 "outputs": [
1311 {
1312 "color_off": null,
1313 "color_on": null,
1314 "dir": null,
1315 "label": null,
1316 "localized_name": "IMAGE",
1317 "locked": null,
1318 "name": "IMAGE",
1319 "nameLocked": null,
1320 "removable": null,
1321 "type": "IMAGE",
1322 "pos": null,
1323 "slot_index": null,
1324 "links": [
1325 165
1326 ]
1327 }
1328 ],
1329 "title": "VAEDecode",
1330 "properties": {
1331 "Node name for S&R": "VAEDecode"
1332 }
1333 },
1334 {
1335 "id": 1,
1336 "type": "UNETLoader",
1337 "pos": [
1338 -100,
1339 170
1340 ],
1341 "size": [
1342 410,
1343 90
1344 ],
1345 "flags": [],
1346 "order": 2,
1347 "mode": 0,
1348 "inputs": [
1349 {
1350 "localized_name": "unet_name",
1351 "name": "unet_name",
1352 "type": "COMBO",
1353 "widget": {
1354 "name": "unet_name"
1355 },
1356 "link": 153
1357 }
1358 ],
1359 "outputs": [
1360 {
1361 "color_off": null,
1362 "color_on": null,
1363 "dir": null,
1364 "label": null,
1365 "localized_name": "MODEL",
1366 "locked": null,
1367 "name": "MODEL",
1368 "nameLocked": null,
1369 "removable": null,
1370 "type": "MODEL",
1371 "pos": null,
1372 "slot_index": null,
1373 "links": [
1374 4
1375 ]
1376 }
1377 ],
1378 "properties": {
1379 "Node name for S&R": "UNETLoader",
1380 "models": [
1381 {
1382 "name": "rmbg3_int8_convrot.safetensors",
1383 "url": "https://huggingface.co/briaai/RMBG-3.0-Comfy/resolve/main/diffusion_models/rmbg3_int8_convrot.safetensors",
1384 "directory": "diffusion_models"
1385 }
1386 ]
1387 },
1388 "widgets_values": [
1389 "rmbg3_int8_convrot.safetensors",
1390 "default"
1391 ],
1392 "widgets_values_named": {
1393 "unet_name": "rmbg3_int8_convrot.safetensors",
1394 "weight_dtype": "default"
1395 }
1396 },
1397 {
1398 "id": 2,
1399 "type": "CLIPLoader",
1400 "pos": [
1401 -100,
1402 340
1403 ],
1404 "size": [
1405 410,
1406 110
1407 ],
1408 "flags": [],
1409 "order": 3,
1410 "mode": 0,
1411 "inputs": [
1412 {
1413 "localized_name": "clip_name",
1414 "name": "clip_name",
1415 "type": "COMBO",
1416 "widget": {
1417 "name": "clip_name"
1418 },
1419 "link": 154
1420 }
1421 ],
1422 "outputs": [
1423 {
1424 "color_off": null,
1425 "color_on": null,
1426 "dir": null,
1427 "label": null,
1428 "localized_name": "CLIP",
1429 "locked": null,
1430 "name": "CLIP",
1431 "nameLocked": null,
1432 "removable": null,
1433 "type": "CLIP",
1434 "pos": null,
1435 "slot_index": null,
1436 "links": [
1437 1
1438 ]
1439 }
1440 ],
1441 "properties": {
1442 "Node name for S&R": "CLIPLoader",
1443 "models": [
1444 {
1445 "name": "qwen3vl_4b_int8_convrot.safetensors",
1446 "url": "https://huggingface.co/briaai/RMBG-3.0-Comfy/resolve/main/text_encoders/qwen3vl_4b_int8_convrot.safetensors",
1447 "directory": "text_encoders"
1448 }
1449 ]
1450 },
1451 "widgets_values": [
1452 "qwen3vl_4b_int8_convrot.safetensors",
1453 "fibo2",
1454 "default"
1455 ],
1456 "widgets_values_named": {
1457 "clip_name": "qwen3vl_4b_int8_convrot.safetensors",
1458 "type": "fibo2",
1459 "device": "default"
1460 }
1461 },
1462 {
1463 "id": 3,
1464 "type": "VAELoader",
1465 "pos": [
1466 -100,
1467 550
1468 ],
1469 "size": [
1470 410,
1471 60
1472 ],
1473 "flags": [],
1474 "order": 4,
1475 "mode": 0,
1476 "inputs": [
1477 {
1478 "localized_name": "vae_name",
1479 "name": "vae_name",
1480 "type": "COMBO",
1481 "widget": {
1482 "name": "vae_name"
1483 },
1484 "link": 155
1485 }
1486 ],
1487 "outputs": [
1488 {
1489 "color_off": null,
1490 "color_on": null,
1491 "dir": null,
1492 "label": null,
1493 "localized_name": "VAE",
1494 "locked": null,
1495 "name": "VAE",
1496 "nameLocked": null,
1497 "removable": null,
1498 "type": "VAE",
1499 "pos": null,
1500 "slot_index": null,
1501 "links": [
1502 9,
1503 150
1504 ]
1505 }
1506 ],
1507 "properties": {
1508 "Node name for S&R": "VAELoader",
1509 "models": [
1510 {
1511 "name": "flux2-vae.safetensors",
1512 "url": "https://huggingface.co/briaai/RMBG-3.0-Comfy/resolve/main/vae/flux2-vae.safetensors",
1513 "directory": "vae"
1514 }
1515 ]
1516 },
1517 "widgets_values": [
1518 "flux2-vae.safetensors"
1519 ],
1520 "widgets_values_named": {
1521 "vae_name": "flux2-vae.safetensors"
1522 }
1523 },
1524 {
1525 "id": 147,
1526 "type": "JoinImageWithAlpha",
1527 "pos": [
1528 2670,
1529 590
1530 ],
1531 "size": [
1532 300,
1533 50
1534 ],
1535 "flags": [],
1536 "order": 11,
1537 "mode": 0,
1538 "inputs": [
1539 {
1540 "localized_name": "image",
1541 "name": "image",
1542 "type": "IMAGE",
1543 "link": 149
1544 },
1545 {
1546 "localized_name": "alpha",
1547 "name": "alpha",
1548 "type": "MASK",
1549 "link": 134
1550 }
1551 ],
1552 "outputs": [
1553 {
1554 "localized_name": "IMAGE",
1555 "name": "IMAGE",
1556 "type": "IMAGE",
1557 "links": [
1558 138
1559 ]
1560 }
1561 ],
1562 "properties": {
1563 "Node name for S&R": "JoinImageWithAlpha"
1564 }
1565 },
1566 {
1567 "id": 148,
1568 "type": "GrowMask",
1569 "pos": [
1570 2280,
1571 470
1572 ],
1573 "size": [
1574 300,
1575 90
1576 ],
1577 "flags": [],
1578 "order": 12,
1579 "mode": 0,
1580 "showAdvanced": true,
1581 "inputs": [
1582 {
1583 "localized_name": "mask",
1584 "name": "mask",
1585 "type": "MASK",
1586 "link": 170
1587 },
1588 {
1589 "localized_name": "expand",
1590 "name": "expand",
1591 "type": "INT",
1592 "widget": {
1593 "name": "expand"
1594 },
1595 "link": 146
1596 },
1597 {
1598 "localized_name": "tapered_corners",
1599 "name": "tapered_corners",
1600 "type": "BOOLEAN",
1601 "widget": {
1602 "name": "tapered_corners"
1603 },
1604 "link": 148
1605 }
1606 ],
1607 "outputs": [
1608 {
1609 "localized_name": "MASK",
1610 "name": "MASK",
1611 "type": "MASK",
1612 "links": [
1613 134,
1614 187
1615 ]
1616 }
1617 ],
1618 "properties": {
1619 "Node name for S&R": "GrowMask"
1620 },
1621 "widgets_values": [
1622 1,
1623 true
1624 ],
1625 "widgets_values_named": {
1626 "expand": 1,
1627 "tapered_corners": true
1628 }
1629 },
1630 {
1631 "id": 156,
1632 "type": "CLIPLoader",
1633 "pos": [
1634 -110,
1635 870
1636 ],
1637 "size": [
1638 410,
1639 110
1640 ],
1641 "flags": [],
1642 "order": 13,
1643 "mode": 0,
1644 "inputs": [
1645 {
1646 "localized_name": "clip_name",
1647 "name": "clip_name",
1648 "type": "COMBO",
1649 "widget": {
1650 "name": "clip_name"
1651 },
1652 "link": 156
1653 }
1654 ],
1655 "outputs": [
1656 {
1657 "color_off": null,
1658 "color_on": null,
1659 "dir": null,
1660 "label": null,
1661 "localized_name": "CLIP",
1662 "locked": null,
1663 "name": "CLIP",
1664 "nameLocked": null,
1665 "removable": null,
1666 "type": "CLIP",
1667 "pos": null,
1668 "slot_index": null,
1669 "links": [
1670 162
1671 ]
1672 }
1673 ],
1674 "properties": {
1675 "Node name for S&R": "CLIPLoader",
1676 "models": [
1677 {
1678 "name": "qwen3vl_4b_int8_convrot.safetensors",
1679 "url": "https://huggingface.co/briaai/RMBG-3.0-Comfy/resolve/main/text_encoders/qwen3vl_4b_int8_convrot.safetensors",
1680 "directory": "text_encoders"
1681 }
1682 ]
1683 },
1684 "widgets_values": [
1685 "qwen3vl_4b_int8_convrot.safetensors",
1686 "stable_diffusion",
1687 "default"
1688 ],
1689 "widgets_values_named": {
1690 "clip_name": "qwen3vl_4b_int8_convrot.safetensors",
1691 "type": "stable_diffusion",
1692 "device": "default"
1693 }
1694 },
1695 {
1696 "id": 157,
1697 "type": "PrimitiveStringMultiline",
1698 "pos": [
1699 -110,
1700 1030
1701 ],
1702 "size": [
1703 420,
1704 280
1705 ],
1706 "flags": [],
1707 "order": 0,
1708 "mode": 0,
1709 "inputs": [],
1710 "outputs": [
1711 {
1712 "localized_name": "STRING",
1713 "name": "STRING",
1714 "type": "STRING",
1715 "links": [
1716 163
1717 ]
1718 }
1719 ],
1720 "title": "Text (System Prompt)",
1721 "properties": {
1722 "Node name for S&R": "PrimitiveStringMultiline"
1723 },
1724 "widgets_values": [
1725 "You are the prompt writer for an image matting model (RMBG 3.0). You receive a photo and, optionally, a short note from the user about what the subject is or what material it is made of.\n\nAlways answer with ONE paragraph (max 90 words) that instructs the image model to render a grayscale transparency map of the main subject:\n- pure black background;\n- near-white for every opaque part of the subject, naming them as they appear in this image;\n- middle gray for see-through parts (glass, tulle, sheer fabric, liquid, smoke, mesh), dark gray only for the thinnest of them;\n- the entire subject must stay present and opaque parts must not be turned transparent;\n- keep continuous gray gradients inside the shape, and exclude the backdrop and any reflection or shadow on the ground.\n\nRules that override any other reading:\n- A part the note calls transparent, translucent or glass maps to middle gray (dark gray where it is thinnest) - NEVER to near-white.\n- Colour never implies opacity: coloured glass, coloured liquid and coloured mesh are still see-through and get gray, never white.\n- Only parts that are solid in the note and in the photo (skin, fabric, petals, stems, metal, wood) get near-white.\n\nIf the note is empty, decide the opaque / see-through split from the image alone. If the note names a material or what the thing is, treat it as authoritative and let it override what you would otherwise guess.\n\nReply with the instruction only."
1726 ],
1727 "widgets_values_named": {
1728 "value": "You are the prompt writer for an image matting model (RMBG 3.0). You receive a photo and, optionally, a short note from the user about what the subject is or what material it is made of.\n\nAlways answer with ONE paragraph (max 90 words) that instructs the image model to render a grayscale transparency map of the main subject:\n- pure black background;\n- near-white for every opaque part of the subject, naming them as they appear in this image;\n- middle gray for see-through parts (glass, tulle, sheer fabric, liquid, smoke, mesh), dark gray only for the thinnest of them;\n- the entire subject must stay present and opaque parts must not be turned transparent;\n- keep continuous gray gradients inside the shape, and exclude the backdrop and any reflection or shadow on the ground.\n\nRules that override any other reading:\n- A part the note calls transparent, translucent or glass maps to middle gray (dark gray where it is thinnest) - NEVER to near-white.\n- Colour never implies opacity: coloured glass, coloured liquid and coloured mesh are still see-through and get gray, never white.\n- Only parts that are solid in the note and in the photo (skin, fabric, petals, stems, metal, wood) get near-white.\n\nIf the note is empty, decide the opaque / see-through split from the image alone. If the note names a material or what the thing is, treat it as authoritative and let it override what you would otherwise guess.\n\nReply with the instruction only."
1729 }
1730 },
1731 {
1732 "id": 158,
1733 "type": "TextGenerateV2",
1734 "pos": [
1735 340,
1736 870
1737 ],
1738 "size": [
1739 400,
1740 540
1741 ],
1742 "flags": [],
1743 "order": 14,
1744 "mode": 0,
1745 "inputs": [
1746 {
1747 "localized_name": "clip",
1748 "name": "clip",
1749 "type": "CLIP",
1750 "link": 162
1751 },
1752 {
1753 "localized_name": "image1",
1754 "name": "images.image1",
1755 "shape": 7,
1756 "type": "IMAGE",
1757 "link": 161
1758 },
1759 {
1760 "localized_name": "image2",
1761 "name": "images.image2",
1762 "shape": 7,
1763 "type": "IMAGE",
1764 "link": null
1765 },
1766 {
1767 "localized_name": "video1",
1768 "name": "videos.video1",
1769 "shape": 7,
1770 "type": "IMAGE",
1771 "link": null
1772 },
1773 {
1774 "localized_name": "audio1",
1775 "name": "audios.audio1",
1776 "shape": 7,
1777 "type": "AUDIO",
1778 "link": null
1779 },
1780 {
1781 "localized_name": "audio2",
1782 "name": "audios.audio2",
1783 "shape": 7,
1784 "type": "AUDIO",
1785 "link": null
1786 },
1787 {
1788 "localized_name": "audio3",
1789 "name": "audios.audio3",
1790 "shape": 7,
1791 "type": "AUDIO",
1792 "link": null
1793 },
1794 {
1795 "localized_name": "system_prompt",
1796 "name": "system_prompt",
1797 "shape": 7,
1798 "type": "STRING",
1799 "link": 163
1800 },
1801 {
1802 "localized_name": "prompt",
1803 "name": "prompt",
1804 "type": "STRING",
1805 "widget": {
1806 "name": "prompt"
1807 },
1808 "link": 205
1809 }
1810 ],
1811 "outputs": [
1812 {
1813 "localized_name": "generated_text",
1814 "name": "generated_text",
1815 "type": "STRING",
1816 "links": [
1817 164
1818 ]
1819 },
1820 {
1821 "localized_name": "thinking",
1822 "name": "thinking",
1823 "type": "STRING",
1824 "links": null
1825 }
1826 ],
1827 "properties": {
1828 "Node name for S&R": "TextGenerateV2"
1829 },
1830 "widgets_values": [
1831 "",
1832 512,
1833 "on",
1834 0.7,
1835 64,
1836 0.95,
1837 0.05,
1838 1.05,
1839 0,
1840 0,
1841 true,
1842 true,
1843 "auto"
1844 ],
1845 "widgets_values_named": {
1846 "prompt": "",
1847 "max_length": 512,
1848 "sampling_mode": "on",
1849 "sampling_mode.temperature": 0.7,
1850 "sampling_mode.top_k": 64,
1851 "sampling_mode.top_p": 0.95,
1852 "sampling_mode.min_p": 0.05,
1853 "sampling_mode.repetition_penalty": 1.05,
1854 "sampling_mode.presence_penalty": 0,
1855 "sampling_mode.seed": 0,
1856 "thinking": true,
1857 "use_default_template": true,
1858 "mtp": "auto"
1859 }
1860 },
1861 {
1862 "id": 159,
1863 "type": "ComfySwitchNode",
1864 "pos": [
1865 800,
1866 910
1867 ],
1868 "size": [
1869 230,
1870 110
1871 ],
1872 "flags": [],
1873 "order": 15,
1874 "mode": 0,
1875 "inputs": [
1876 {
1877 "localized_name": "on_false",
1878 "name": "on_false",
1879 "shape": 7,
1880 "type": "STRING",
1881 "link": 203
1882 },
1883 {
1884 "localized_name": "on_true",
1885 "name": "on_true",
1886 "shape": 7,
1887 "type": "STRING",
1888 "link": 164
1889 },
1890 {
1891 "localized_name": "switch",
1892 "name": "switch",
1893 "type": "BOOLEAN",
1894 "widget": {
1895 "name": "switch"
1896 },
1897 "link": 179
1898 }
1899 ],
1900 "outputs": [
1901 {
1902 "localized_name": "output",
1903 "name": "output",
1904 "type": "STRING",
1905 "links": [
1906 177
1907 ]
1908 }
1909 ],
1910 "properties": {
1911 "Node name for S&R": "ComfySwitchNode"
1912 },
1913 "widgets_values": [
1914 false
1915 ],
1916 "widgets_values_named": {
1917 "switch": false
1918 }
1919 },
1920 {
1921 "id": 160,
1922 "type": "AdjustBrightness",
1923 "pos": [
1924 1390,
1925 280
1926 ],
1927 "size": [
1928 300,
1929 90
1930 ],
1931 "flags": [],
1932 "order": 16,
1933 "mode": 0,
1934 "inputs": [
1935 {
1936 "localized_name": "images",
1937 "name": "images",
1938 "type": "IMAGE",
1939 "link": 165
1940 },
1941 {
1942 "localized_name": "factor",
1943 "name": "factor",
1944 "type": "FLOAT",
1945 "widget": {
1946 "name": "factor"
1947 },
1948 "link": 180
1949 }
1950 ],
1951 "outputs": [
1952 {
1953 "localized_name": "images",
1954 "name": "images",
1955 "type": "IMAGE",
1956 "links": [
1957 167
1958 ]
1959 }
1960 ],
1961 "properties": {
1962 "Node name for S&R": "AdjustBrightness"
1963 },
1964 "widgets_values": [
1965 1
1966 ],
1967 "widgets_values_named": {
1968 "factor": 1
1969 }
1970 },
1971 {
1972 "id": 161,
1973 "type": "AdjustContrast",
1974 "pos": [
1975 1390,
1976 440
1977 ],
1978 "size": [
1979 300,
1980 90
1981 ],
1982 "flags": [],
1983 "order": 17,
1984 "mode": 0,
1985 "inputs": [
1986 {
1987 "localized_name": "images",
1988 "name": "images",
1989 "type": "IMAGE",
1990 "link": 167
1991 },
1992 {
1993 "localized_name": "factor",
1994 "name": "factor",
1995 "type": "FLOAT",
1996 "widget": {
1997 "name": "factor"
1998 },
1999 "link": 181
2000 }
2001 ],
2002 "outputs": [
2003 {
2004 "localized_name": "images",
2005 "name": "images",
2006 "type": "IMAGE",
2007 "links": [
2008 168
2009 ]
2010 }
2011 ],
2012 "properties": {
2013 "Node name for S&R": "AdjustContrast"
2014 },
2015 "widgets_values": [
2016 1
2017 ],
2018 "widgets_values_named": {
2019 "factor": 1
2020 }
2021 },
2022 {
2023 "id": 162,
2024 "type": "ThresholdMask",
2025 "pos": [
2026 1930,
2027 370
2028 ],
2029 "size": [
2030 310,
2031 70
2032 ],
2033 "flags": [],
2034 "order": 18,
2035 "mode": 0,
2036 "inputs": [
2037 {
2038 "localized_name": "mask",
2039 "name": "mask",
2040 "type": "MASK",
2041 "link": 174
2042 },
2043 {
2044 "localized_name": "value",
2045 "name": "value",
2046 "type": "FLOAT",
2047 "widget": {
2048 "name": "value"
2049 },
2050 "link": 183
2051 }
2052 ],
2053 "outputs": [
2054 {
2055 "localized_name": "MASK",
2056 "name": "MASK",
2057 "type": "MASK",
2058 "links": [
2059 173
2060 ]
2061 }
2062 ],
2063 "properties": {
2064 "Node name for S&R": "ThresholdMask"
2065 },
2066 "widgets_values": [
2067 0.5
2068 ],
2069 "widgets_values_named": {
2070 "value": 0.5
2071 }
2072 },
2073 {
2074 "id": 163,
2075 "type": "ComfySwitchNode",
2076 "pos": [
2077 2300,
2078 280
2079 ],
2080 "size": [
2081 270,
2082 80
2083 ],
2084 "flags": [],
2085 "order": 19,
2086 "mode": 0,
2087 "inputs": [
2088 {
2089 "localized_name": "on_false",
2090 "name": "on_false",
2091 "shape": 7,
2092 "type": "MASK",
2093 "link": 172
2094 },
2095 {
2096 "localized_name": "on_true",
2097 "name": "on_true",
2098 "shape": 7,
2099 "type": "MASK",
2100 "link": 173
2101 },
2102 {
2103 "localized_name": "switch",
2104 "name": "switch",
2105 "type": "BOOLEAN",
2106 "widget": {
2107 "name": "switch"
2108 },
2109 "link": 182
2110 }
2111 ],
2112 "outputs": [
2113 {
2114 "localized_name": "output",
2115 "name": "output",
2116 "type": "MASK",
2117 "links": [
2118 170,
2119 171
2120 ]
2121 }
2122 ],
2123 "properties": {
2124 "Node name for S&R": "ComfySwitchNode"
2125 },
2126 "widgets_values": [
2127 false
2128 ],
2129 "widgets_values_named": {
2130 "switch": false
2131 }
2132 },
2133 {
2134 "id": 164,
2135 "type": "PreviewAny",
2136 "pos": [
2137 800,
2138 1080
2139 ],
2140 "size": [
2141 430,
2142 520
2143 ],
2144 "flags": [],
2145 "order": 20,
2146 "mode": 0,
2147 "inputs": [
2148 {
2149 "localized_name": "source",
2150 "name": "source",
2151 "type": "*",
2152 "link": 177
2153 }
2154 ],
2155 "outputs": [
2156 {
2157 "localized_name": "STRING",
2158 "name": "STRING",
2159 "type": "STRING",
2160 "links": [
2161 178
2162 ]
2163 }
2164 ],
2165 "properties": {
2166 "Node name for S&R": "PreviewAny"
2167 },
2168 "widgets_values": [],
2169 "widgets_values_named": []
2170 },
2171 {
2172 "id": 177,
2173 "type": "PrimitiveStringMultiline",
2174 "pos": [
2175 340,
2176 1460
2177 ],
2178 "size": [
2179 410,
2180 170
2181 ],
2182 "flags": [],
2183 "order": 1,
2184 "mode": 0,
2185 "inputs": [],
2186 "outputs": [
2187 {
2188 "localized_name": "STRING",
2189 "name": "STRING",
2190 "type": "STRING",
2191 "links": [
2192 203
2193 ]
2194 }
2195 ],
2196 "title": "Text (Preset Instruction)",
2197 "properties": {
2198 "Node name for S&R": "PrimitiveStringMultiline"
2199 },
2200 "widgets_values": [
2201 "{\"edit_instruction\": \"Generate a detailed grayscale alpha matte. Map the opaque foreground to white and the background to black. Produce soft, anti-aliased grayscale gradients at the edges of the subject to represent fine details and transparency.\"}"
2202 ],
2203 "widgets_values_named": {
2204 "value": "{\"edit_instruction\": \"Generate a detailed grayscale alpha matte. Map the opaque foreground to white and the background to black. Produce soft, anti-aliased grayscale gradients at the edges of the subject to represent fine details and transparency.\"}"
2205 }
2206 },
2207 {
2208 "id": 178,
2209 "type": "StringFormat",
2210 "pos": [
2211 -110,
2212 1510
2213 ],
2214 "size": [
2215 390,
2216 130
2217 ],
2218 "flags": {
2219 "collapsed": false
2220 },
2221 "order": 21,
2222 "mode": 0,
2223 "inputs": [
2224 {
2225 "localized_name": "a",
2226 "name": "values.a",
2227 "shape": 7,
2228 "type": "*",
2229 "link": 206
2230 },
2231 {
2232 "localized_name": "b",
2233 "name": "values.b",
2234 "shape": 7,
2235 "type": "*",
2236 "link": null
2237 }
2238 ],
2239 "outputs": [
2240 {
2241 "localized_name": "STRING",
2242 "name": "STRING",
2243 "type": "STRING",
2244 "links": [
2245 205
2246 ]
2247 }
2248 ],
2249 "properties": {
2250 "Node name for S&R": "StringFormat"
2251 },
2252 "widgets_values": [
2253 "Write the matte instruction for this image.\n\nUser note about the subject (authoritative when present, may be empty): {a}"
2254 ],
2255 "widgets_values_named": {
2256 "f_string": "Write the matte instruction for this image.\n\nUser note about the subject (authoritative when present, may be empty): {a}"
2257 }
2258 },
2259 {
2260 "id": 179,
2261 "type": "PrimitiveStringMultiline",
2262 "pos": [
2263 -110,
2264 1360
2265 ],
2266 "size": [
2267 410,
2268 110
2269 ],
2270 "flags": [],
2271 "order": 22,
2272 "mode": 0,
2273 "inputs": [
2274 {
2275 "localized_name": "value",
2276 "name": "value",
2277 "type": "STRING",
2278 "widget": {
2279 "name": "value"
2280 },
2281 "link": 207
2282 }
2283 ],
2284 "outputs": [
2285 {
2286 "localized_name": "STRING",
2287 "name": "STRING",
2288 "type": "STRING",
2289 "links": [
2290 206
2291 ]
2292 }
2293 ],
2294 "title": "Text ( (User guide))",
2295 "properties": {
2296 "Node name for S&R": "PrimitiveStringMultiline"
2297 },
2298 "widgets_values": [
2299 ""
2300 ],
2301 "widgets_values_named": {
2302 "value": ""
2303 }
2304 }
2305 ],
2306 "groups": [
2307 {
2308 "id": 4,
2309 "title": "Conditioning",
2310 "bounding": [
2311 370,
2312 0,
2313 510,
2314 770
2315 ],
2316 "color": "#3f789e",
2317 "flags": []
2318 },
2319 {
2320 "id": 5,
2321 "title": "Sampling",
2322 "bounding": [
2323 910,
2324 0,
2325 370,
2326 770
2327 ],
2328 "color": "#3f789e",
2329 "flags": []
2330 },
2331 {
2332 "id": 6,
2333 "title": "Mask Adjustment & Output",
2334 "bounding": [
2335 1310,
2336 0,
2337 1290,
2338 770
2339 ],
2340 "color": "#3f789e",
2341 "flags": []
2342 },
2343 {
2344 "id": 1,
2345 "title": "Models",
2346 "bounding": [
2347 -120,
2348 0,
2349 460,
2350 770
2351 ],
2352 "color": "#3f789e",
2353 "flags": []
2354 },
2355 {
2356 "id": 7,
2357 "title": "Foreground",
2358 "bounding": [
2359 2630,
2360 0,
2361 390,
2362 410
2363 ],
2364 "color": "#3f789e",
2365 "flags": []
2366 },
2367 {
2368 "id": 8,
2369 "title": "Background",
2370 "bounding": [
2371 2630,
2372 440,
2373 390,
2374 330
2375 ],
2376 "color": "#3f789e",
2377 "flags": []
2378 },
2379 {
2380 "id": 9,
2381 "title": "Prompt from Image",
2382 "bounding": [
2383 -120,
2384 800,
2385 1400,
2386 850
2387 ],
2388 "color": "#444",
2389 "flags": []
2390 }
2391 ],
2392 "links": [
2393 {
2394 "id": 4,
2395 "origin_id": 1,
2396 "origin_slot": 0,
2397 "target_id": 5,
2398 "target_slot": 0,
2399 "type": "MODEL"
2400 },
2401 {
2402 "id": 5,
2403 "origin_id": 4,
2404 "origin_slot": 0,
2405 "target_id": 5,
2406 "target_slot": 1,
2407 "type": "CONDITIONING"
2408 },
2409 {
2410 "id": 6,
2411 "origin_id": 4,
2412 "origin_slot": 1,
2413 "target_id": 5,
2414 "target_slot": 2,
2415 "type": "CONDITIONING"
2416 },
2417 {
2418 "id": 7,
2419 "origin_id": 4,
2420 "origin_slot": 2,
2421 "target_id": 5,
2422 "target_slot": 3,
2423 "type": "LATENT"
2424 },
2425 {
2426 "id": 8,
2427 "origin_id": 5,
2428 "origin_slot": 0,
2429 "target_id": 6,
2430 "target_slot": 0,
2431 "type": "LATENT"
2432 },
2433 {
2434 "id": 9,
2435 "origin_id": 3,
2436 "origin_slot": 0,
2437 "target_id": 6,
2438 "target_slot": 1,
2439 "type": "VAE"
2440 },
2441 {
2442 "id": 54,
2443 "origin_id": 34,
2444 "origin_slot": 0,
2445 "target_id": -20,
2446 "target_slot": 0,
2447 "type": "IMAGE"
2448 },
2449 {
2450 "id": 134,
2451 "origin_id": 148,
2452 "origin_slot": 0,
2453 "target_id": 147,
2454 "target_slot": 1,
2455 "type": "MASK"
2456 },
2457 {
2458 "id": 138,
2459 "origin_id": 147,
2460 "origin_slot": 0,
2461 "target_id": -20,
2462 "target_slot": 1,
2463 "type": "IMAGE"
2464 },
2465 {
2466 "id": 164,
2467 "origin_id": 158,
2468 "origin_slot": 0,
2469 "target_id": 159,
2470 "target_slot": 1,
2471 "type": "STRING"
2472 },
2473 {
2474 "id": 165,
2475 "origin_id": 6,
2476 "origin_slot": 0,
2477 "target_id": 160,
2478 "target_slot": 0,
2479 "type": "IMAGE"
2480 },
2481 {
2482 "id": 167,
2483 "origin_id": 160,
2484 "origin_slot": 0,
2485 "target_id": 161,
2486 "target_slot": 0,
2487 "type": "IMAGE"
2488 },
2489 {
2490 "id": 168,
2491 "origin_id": 161,
2492 "origin_slot": 0,
2493 "target_id": 35,
2494 "target_slot": 0,
2495 "type": "IMAGE"
2496 },
2497 {
2498 "id": 170,
2499 "origin_id": 163,
2500 "origin_slot": 0,
2501 "target_id": 148,
2502 "target_slot": 0,
2503 "type": "MASK"
2504 },
2505 {
2506 "id": 171,
2507 "origin_id": 163,
2508 "origin_slot": 0,
2509 "target_id": -20,
2510 "target_slot": 2,
2511 "type": "*"
2512 },
2513 {
2514 "id": 172,
2515 "origin_id": 35,
2516 "origin_slot": 0,
2517 "target_id": 163,
2518 "target_slot": 0,
2519 "type": "MASK"
2520 },
2521 {
2522 "id": 173,
2523 "origin_id": 162,
2524 "origin_slot": 0,
2525 "target_id": 163,
2526 "target_slot": 1,
2527 "type": "MASK"
2528 },
2529 {
2530 "id": 174,
2531 "origin_id": 35,
2532 "origin_slot": 0,
2533 "target_id": 162,
2534 "target_slot": 0,
2535 "type": "MASK"
2536 },
2537 {
2538 "id": 177,
2539 "origin_id": 159,
2540 "origin_slot": 0,
2541 "target_id": 164,
2542 "target_slot": 0,
2543 "type": "STRING"
2544 },
2545 {
2546 "id": 187,
2547 "origin_id": 148,
2548 "origin_slot": 0,
2549 "target_id": 36,
2550 "target_slot": 0,
2551 "type": "MASK"
2552 },
2553 {
2554 "id": 188,
2555 "origin_id": 36,
2556 "origin_slot": 0,
2557 "target_id": 34,
2558 "target_slot": 1,
2559 "type": "MASK"
2560 },
2561 {
2562 "id": 203,
2563 "origin_id": 177,
2564 "origin_slot": 0,
2565 "target_id": 159,
2566 "target_slot": 0,
2567 "type": "STRING"
2568 },
2569 {
2570 "id": 179,
2571 "origin_id": -10,
2572 "origin_slot": 0,
2573 "target_id": 159,
2574 "target_slot": 2,
2575 "type": "BOOLEAN"
2576 },
2577 {
2578 "id": 207,
2579 "origin_id": -10,
2580 "origin_slot": 1,
2581 "target_id": 179,
2582 "target_slot": 0,
2583 "type": "STRING"
2584 },
2585 {
2586 "id": 141,
2587 "origin_id": -10,
2588 "origin_slot": 2,
2589 "target_id": 5,
2590 "target_slot": 4,
2591 "type": "INT"
2592 },
2593 {
2594 "id": 151,
2595 "origin_id": -10,
2596 "origin_slot": 3,
2597 "target_id": 5,
2598 "target_slot": 5,
2599 "type": "INT"
2600 },
2601 {
2602 "id": 142,
2603 "origin_id": -10,
2604 "origin_slot": 4,
2605 "target_id": 5,
2606 "target_slot": 6,
2607 "type": "FLOAT"
2608 },
2609 {
2610 "id": 143,
2611 "origin_id": -10,
2612 "origin_slot": 5,
2613 "target_id": 5,
2614 "target_slot": 7,
2615 "type": "COMBO"
2616 },
2617 {
2618 "id": 144,
2619 "origin_id": -10,
2620 "origin_slot": 6,
2621 "target_id": 5,
2622 "target_slot": 8,
2623 "type": "COMBO"
2624 },
2625 {
2626 "id": 146,
2627 "origin_id": -10,
2628 "origin_slot": 7,
2629 "target_id": 148,
2630 "target_slot": 1,
2631 "type": "INT"
2632 },
2633 {
2634 "id": 148,
2635 "origin_id": -10,
2636 "origin_slot": 8,
2637 "target_id": 148,
2638 "target_slot": 2,
2639 "type": "BOOLEAN"
2640 },
2641 {
2642 "id": 180,
2643 "origin_id": -10,
2644 "origin_slot": 9,
2645 "target_id": 160,
2646 "target_slot": 1,
2647 "type": "FLOAT"
2648 },
2649 {
2650 "id": 181,
2651 "origin_id": -10,
2652 "origin_slot": 10,
2653 "target_id": 161,
2654 "target_slot": 1,
2655 "type": "FLOAT"
2656 },
2657 {
2658 "id": 182,
2659 "origin_id": -10,
2660 "origin_slot": 11,
2661 "target_id": 163,
2662 "target_slot": 2,
2663 "type": "BOOLEAN"
2664 },
2665 {
2666 "id": 183,
2667 "origin_id": -10,
2668 "origin_slot": 12,
2669 "target_id": 162,
2670 "target_slot": 1,
2671 "type": "FLOAT"
2672 },
2673 {
2674 "id": 153,
2675 "origin_id": -10,
2676 "origin_slot": 13,
2677 "target_id": 1,
2678 "target_slot": 0,
2679 "type": "COMBO"
2680 },
2681 {
2682 "id": 154,
2683 "origin_id": -10,
2684 "origin_slot": 14,
2685 "target_id": 2,
2686 "target_slot": 0,
2687 "type": "COMBO"
2688 },
2689 {
2690 "id": 156,
2691 "origin_id": -10,
2692 "origin_slot": 14,
2693 "target_id": 156,
2694 "target_slot": 0,
2695 "type": "COMBO"
2696 },
2697 {
2698 "id": 155,
2699 "origin_id": -10,
2700 "origin_slot": 15,
2701 "target_id": 3,
2702 "target_slot": 0,
2703 "type": "COMBO"
2704 },
2705 {
2706 "id": 53,
2707 "origin_id": -10,
2708 "origin_slot": 16,
2709 "target_id": 34,
2710 "target_slot": 0,
2711 "type": "IMAGE"
2712 },
2713 {
2714 "id": 149,
2715 "origin_id": -10,
2716 "origin_slot": 16,
2717 "target_id": 147,
2718 "target_slot": 0,
2719 "type": "IMAGE"
2720 },
2721 {
2722 "id": 1,
2723 "origin_id": 2,
2724 "origin_slot": 0,
2725 "target_id": 4,
2726 "target_slot": 0,
2727 "type": "CLIP"
2728 },
2729 {
2730 "id": 3,
2731 "origin_id": -10,
2732 "origin_slot": 16,
2733 "target_id": 4,
2734 "target_slot": 1,
2735 "type": "IMAGE"
2736 },
2737 {
2738 "id": 162,
2739 "origin_id": 156,
2740 "origin_slot": 0,
2741 "target_id": 158,
2742 "target_slot": 0,
2743 "type": "CLIP"
2744 },
2745 {
2746 "id": 161,
2747 "origin_id": -10,
2748 "origin_slot": 16,
2749 "target_id": 158,
2750 "target_slot": 1,
2751 "type": "IMAGE"
2752 },
2753 {
2754 "id": 163,
2755 "origin_id": 157,
2756 "origin_slot": 0,
2757 "target_id": 158,
2758 "target_slot": 7,
2759 "type": "STRING"
2760 },
2761 {
2762 "id": 205,
2763 "origin_id": 178,
2764 "origin_slot": 0,
2765 "target_id": 158,
2766 "target_slot": 8,
2767 "type": "STRING"
2768 },
2769 {
2770 "id": 206,
2771 "origin_id": 179,
2772 "origin_slot": 0,
2773 "target_id": 178,
2774 "target_slot": 0,
2775 "type": "STRING"
2776 },
2777 {
2778 "id": 150,
2779 "origin_id": 3,
2780 "origin_slot": 0,
2781 "target_id": 4,
2782 "target_slot": 5,
2783 "type": "VAE"
2784 },
2785 {
2786 "id": 178,
2787 "origin_id": 164,
2788 "origin_slot": 0,
2789 "target_id": 4,
2790 "target_slot": 6,
2791 "type": "STRING"
2792 }
2793 ],
2794 "extra": []
2795 }
2796 ]
2797 },
2798 "config": [],
2799 "extra": {
2800 "frontendVersion": "1.59.10",
2801 "VHS_latentpreview": false,
2802 "VHS_latentpreviewrate": 0,
2803 "VHS_MetadataImage": true,
2804 "VHS_KeepIntermediate": true,
2805 "ds": {
2806 "scale": 0.7587032213846309,
2807 "offset": [
2808 928.6690460654521,
2809 -1.8862290802083883
2810 ]
2811 }
2812 },
2813 "version": 0.4
2814}