ComfyPilotComfyPilot
工作流 / 图像 / Bernini-R:图像编辑
Bernini-R:图像编辑

Bernini-R:图像编辑

Bernini-R: Image Edit

生成一张匹配光照的编辑后图像,并查看并排的前后对比。适用于人像和产品重新布光、照片集的一致光照以及电商目录摄影。

图像 11 个节点 2 个输入 70 次使用 ComfyUI ≥ 0.25.0 ComfyUI 96 KB

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

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

需要的权重

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

Wan2_1_VAE_bf16.safetensors 在模型库查看
lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors 在模型库查看
umt5_xxl_fp8_e4m3fn_scaled.safetensors 在模型库查看
wan2.2_bernini_r_high_noise_fp8_scaled.safetensors 在模型库查看
wan2.2_bernini_r_low_noise_fp8_scaled.safetensors 在模型库查看

节点构成

MarkdownNote × 3
LoadImage × 2
64670aa5-a932-4e9f-a299-3bfef6ebc043 × 1
BatchImagesNode × 1
SaveImage × 1
ResizeImageMaskNode × 1
GetImageSize × 1
ImageCompare × 1

官方标注的模型

Bernini-R

工作流 JSON

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

1{
2 "id": "247ea069-731d-4b79-9d64-8807463de95c",
3 "revision": 0,
4 "last_node_id": 120,
5 "last_link_id": 308,
6 "nodes": [
7 {
8 "id": 76,
9 "type": "64670aa5-a932-4e9f-a299-3bfef6ebc043",
10 "pos": [
11 3240,
12 4340
13 ],
14 "size": [
15 510,
16 849.984375
17 ],
18 "flags": [],
19 "order": 8,
20 "mode": 0,
21 "inputs": [
22 {
23 "label": "source_image",
24 "name": "source_video",
25 "shape": 7,
26 "type": "IMAGE",
27 "link": 303
28 },
29 {
30 "name": "reference_video",
31 "shape": 7,
32 "type": "IMAGE",
33 "link": null
34 },
35 {
36 "label": "reference_image",
37 "name": "reference_images.reference_image_0",
38 "shape": 7,
39 "type": "IMAGE",
40 "link": null
41 },
42 {
43 "label": "prompt",
44 "name": "text",
45 "type": "STRING",
46 "widget": {
47 "name": "text"
48 },
49 "link": null
50 },
51 {
52 "label": "task_type",
53 "name": "choice",
54 "type": "COMBO",
55 "widget": {
56 "name": "choice"
57 },
58 "link": null
59 },
60 {
61 "name": "width",
62 "type": "INT",
63 "widget": {
64 "name": "width"
65 },
66 "link": 301
67 },
68 {
69 "name": "height",
70 "type": "INT",
71 "widget": {
72 "name": "height"
73 },
74 "link": 302
75 },
76 {
77 "label": "enable_turbo_mode",
78 "name": "value",
79 "type": "BOOLEAN",
80 "widget": {
81 "name": "value"
82 },
83 "link": null
84 },
85 {
86 "label": "high_noise_model",
87 "name": "unet_name",
88 "type": "COMBO",
89 "widget": {
90 "name": "unet_name"
91 },
92 "link": null
93 },
94 {
95 "label": "low_noise_model",
96 "name": "unet_name_1",
97 "type": "COMBO",
98 "widget": {
99 "name": "unet_name_1"
100 },
101 "link": null
102 },
103 {
104 "label": "lightning_lora",
105 "name": "lora_name",
106 "type": "COMBO",
107 "widget": {
108 "name": "lora_name"
109 },
110 "link": null
111 }
112 ],
113 "outputs": [
114 {
115 "name": "IMAGE",
116 "type": "IMAGE",
117 "links": [
118 298,
119 305
120 ]
121 }
122 ],
123 "title": "Image Edit (Bernini-R)",
124 "properties": {
125 "proxyWidgets": [
126 [
127 "120",
128 "value"
129 ],
130 [
131 "54",
132 "choice"
133 ],
134 [
135 "50",
136 "width"
137 ],
138 [
139 "50",
140 "height"
141 ],
142 [
143 "50",
144 "ref_max_size"
145 ],
146 [
147 "70",
148 "value"
149 ],
150 [
151 "5",
152 "unet_name"
153 ],
154 [
155 "12",
156 "unet_name"
157 ],
158 [
159 "11",
160 "lora_name"
161 ],
162 [
163 "9",
164 "clip_name"
165 ],
166 [
167 "7",
168 "vae_name"
169 ],
170 [
171 "19",
172 "noise_seed"
173 ],
174 [
175 "50",
176 "length"
177 ]
178 ],
179 "cnr_id": "comfy-core",
180 "ver": "0.24.0"
181 },
182 "widgets_values": []
183 },
184 {
185 "id": 78,
186 "type": "MarkdownNote",
187 "pos": [
188 1380,
189 4330
190 ],
191 "size": [
192 759.984375,
193 2289.984375
194 ],
195 "flags": {
196 "collapsed": false
197 },
198 "order": 0,
199 "mode": 0,
200 "inputs": [],
201 "outputs": [],
202 "title": "Bernini-R Image Editing Guide",
203 "properties": [],
204 "widgets_values": [
205 "## Bernini-R · Image Editing Workflow\n\n**Official repos**\n- Inference & task docs: [bytedance/Bernini](https://github.com/bytedance/Bernini)\n- Bernini-R weights (ComfyUI): [Comfy-Org/Bernini-R](https://huggingface.co/Comfy-Org/Bernini-R)\n- Paper: [Bernini: Latent Semantic Planning for Video Diffusion](https://arxiv.org/abs/2605.22344)\n\n---\n\n### What is this workflow?\n\nBuilt for **Bernini-R image generation & editing** in ComfyUI: pick **task type** → connect inputs → write prompt → run.\n\nBernini-R is ByteDance's **renderer-only** Wan 2.2 model (in-context conditioning). It does **not** include the full Bernini MLLM planner. For longer, official-quality prompts, see `--use_pe` in the [Bernini repo](https://github.com/bytedance/Bernini).\n\nDefault **`length = 1`** inside the graph — suited to **single-frame image** output (saved via **Save Video** as a 1-frame clip). Raise `length` only if you intentionally want a short motion clip.\n\n**Prompt format:** `{system prompt from task type}` + `{your English description}` via **Prompt Construction**.\n\n---\n\n### Task types (this workflow)\n\n| Task type | What to connect | Use for |\n|-----------|-----------------|---------|\n| **Default** | Nothing | Generic generation; default system prompt |\n| **Text to Image** | Nothing | Generate an image from text only (`t2i`) |\n| **Text to Video** | Nothing | Generate motion from text only (`t2v`; increase `length` if needed) |\n| **Image Editing** | **`source_image`** | Edit an existing image — background swap, remove/add objects, style tweaks (`i2i`) |\n| **Subject to Image** | **`reference_image(s)`** | Compose a new image from reference subjects / items / scenes (`r2i`) |\n\nVideo-editing task types (`v2v`, `rv2v`, `r2v`, `ads2v`, …) are **not** included in this workflow.\n\n---\n\n### Inputs\n\n**`source_image` (slot 1 — Image Editing)**\n- The image to edit. **Load Image** (or image frames) → subgraph **`source_image`**.\n- Resized to **`width × height`** (inside graph). Match your image aspect; both dimensions should be **multiples of 16**.\n- Leave disconnected for **Text to Image / Text to Video / Default**.\n\n**`reference_image(s)` (optional — group: Reference Image input)**\n- Used for **Subject to Image**. Each image is a separate in-context stream; long edge capped by **`ref_max_size`** (default **848**), aspect ratio preserved.\n- **Wire:** **Load Image** → **Batch Images** (`image0`, `image1`, …) → subgraph **`reference_image`**.\n- In prompt, refer to **`image0`, `image1`, …** (order = batch slot order).\n\n**`reference_video`**\n- Still available on the subgraph but **not used** by the task types above. Leave disconnected unless you extend the graph yourself.\n\n---\n\n### Turbo mode (`enable_turbo_mode`)\n\n**Turbo = fast preview**, not the official Bernini sampling recipe.\n\n| | **Turbo ON** (default) | **Turbo OFF** |\n|--|------------------------|---------------|\n| **LightX2V distill LoRA** | ON (high **3.0**, low **1.5**) | OFF |\n| **Steps** | **6** (split **3** / **3**) | **40** (split **20** / **20**) |\n| **CFG** | **1** | **5** |\n\nUse Turbo to iterate on prompts; turn **OFF** for final quality.\n\nOfficial defaults: [gradio_demo.py](https://github.com/bytedance/Bernini/blob/main/gradio_demo.py)\n\n---\n\n### Prompt examples\n\n**Image Editing (`source_image`, no reference)**\n- Background: *Replace the plain white studio background with a warm beach at sunset … Keep the model's identity, clothing, pose, and framing unchanged.*\n- Remove object: *Delete the bicycle in front of the window. Fill the area with matching wall and ground. Keep everything else unchanged.*\n- Add element: *Add a small potted plant on the table at center-left. Keep the table, lighting, and all other objects unchanged.*\n\n**Subject to Image (`reference_image` only)**\n- *The marble statue from image0, wearing the black T-shirt from image1, sits on the bench in the beach sunset setting from image2, facing the camera in a medium shot.*\n\nMore cases: [assets/testcases/](https://github.com/bytedance/Bernini/tree/main/assets/testcases/)\n\n---\n\n### Tips\n\n- **Image Editing:** say both **what changes** and **what must stay** (identity, pose, lighting, composition).\n- **Subject to Image:** name each reference (`image0`, `image1`, …) and its role.\n- Task type sets the **system prompt prefix** only; wiring (`source_image` vs `reference_image`) determines what BerniniConditioning receives.\n"
206 ],
207 "color": "#222",
208 "bgcolor": "#000"
209 },
210 {
211 "id": 79,
212 "type": "MarkdownNote",
213 "pos": [
214 720,
215 4330
216 ],
217 "size": [
218 609.984375,
219 1039.96875
220 ],
221 "flags": [],
222 "order": 1,
223 "mode": 0,
224 "inputs": [],
225 "outputs": [],
226 "title": "Model Links",
227 "properties": [],
228 "widgets_values": [
229 "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/Wan_2.1_ComfyUI_repackaged](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged)\n- [ModelScope:Comfy-Org/Wan_2.1_ComfyUI_repackaged](https://modelscope.cn/models/Comfy-Org/Wan_2.1_ComfyUI_repackaged)\n- [Hugging Face:Comfy-Org/Bernini-R](https://huggingface.co/Comfy-Org/Bernini-R)\n- [ModelScope:Comfy-Org/Bernini-R](https://modelscope.cn/models/Comfy-Org/Bernini-R)\n\n**text_encoders**\n\n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true) (6.27 GB)\n\n**vae**\n\n- [Wan2_1_VAE_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan2_1_VAE_bf16.safetensors?download=true) (242 MB)\n\n**loras**\n\n- [lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors?download=true) (601.5 MB)\n\n**diffusion_models**\n\n- [wan2.2_bernini_r_high_noise_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_high_noise_fp8_scaled.safetensors) (14.51 GB)\n- [wan2.2_bernini_r_low_noise_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_low_noise_fp8_scaled.safetensors) (14.51 GB)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── umt5_xxl_fp8_e4m3fn_scaled.safetensors\n│ ├── 📂 vae/\n│ │ └── Wan2_1_VAE_bf16.safetensors\n│ ├── 📂 loras/\n│ │ └── lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors\n│ └── 📂 diffusion_models/\n│ ├── wan2.2_bernini_r_high_noise_fp8_scaled.safetensors\n│ └── wan2.2_bernini_r_low_noise_fp8_scaled.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"
230 ],
231 "color": "#222",
232 "bgcolor": "#000"
233 },
234 {
235 "id": 100,
236 "type": "BatchImagesNode",
237 "pos": [
238 2670,
239 5380
240 ],
241 "size": [
242 229.96875,
243 99.984375
244 ],
245 "flags": [],
246 "order": 5,
247 "mode": 0,
248 "inputs": [
249 {
250 "label": "image0",
251 "name": "images.image0",
252 "type": "IMAGE",
253 "link": 287
254 },
255 {
256 "label": "image1",
257 "name": "images.image1",
258 "shape": 7,
259 "type": "IMAGE",
260 "link": null
261 }
262 ],
263 "outputs": [
264 {
265 "name": "IMAGE",
266 "type": "IMAGE",
267 "links": null
268 }
269 ],
270 "properties": {
271 "Node name for S&R": "BatchImagesNode",
272 "cnr_id": "comfy-core",
273 "ver": "0.24.0"
274 },
275 "widgets_values": []
276 },
277 {
278 "id": 101,
279 "type": "MarkdownNote",
280 "pos": [
281 2670,
282 5530
283 ],
284 "size": [
285 420,
286 390
287 ],
288 "flags": [],
289 "order": 2,
290 "mode": 0,
291 "inputs": [],
292 "outputs": [],
293 "title": "Reference Image input",
294 "properties": [],
295 "widgets_values": [
296 "### Reference Image input (multi-image)\n\nUse for **Subject to Image** when you need **one or more reference images** (subject, outfit, scene, props).\n\n1. **Load Image** — one node per reference.\n2. **Batch Images** — connect loads to `image0`, `image1`, …\n3. **Subgraph** — **Batch Images → IMAGE** → **`reference_image`**.\n\nIn the prompt, use **`image0`, `image1`, …** to say which reference is which.\n\nNot needed for **Image Editing** — that task uses **`source_image`** instead.\n"
297 ],
298 "color": "#222",
299 "bgcolor": "#000"
300 },
301 {
302 "id": 104,
303 "type": "LoadImage",
304 "pos": [
305 2250,
306 5380
307 ],
308 "size": [
309 289.96875,
310 372
311 ],
312 "flags": [],
313 "order": 3,
314 "mode": 0,
315 "inputs": [],
316 "outputs": [
317 {
318 "name": "IMAGE",
319 "type": "IMAGE",
320 "links": [
321 287
322 ]
323 },
324 {
325 "name": "MASK",
326 "type": "MASK",
327 "links": null
328 }
329 ],
330 "properties": {
331 "Node name for S&R": "LoadImage",
332 "cnr_id": "comfy-core",
333 "ver": "0.24.0"
334 },
335 "widgets_values": [
336 "example.png",
337 "image"
338 ]
339 },
340 {
341 "id": 114,
342 "type": "LoadImage",
343 "pos": [
344 2190,
345 4340
346 ],
347 "size": [
348 669.984375,
349 859.96875
350 ],
351 "flags": [],
352 "order": 4,
353 "mode": 0,
354 "inputs": [],
355 "outputs": [
356 {
357 "name": "IMAGE",
358 "type": "IMAGE",
359 "links": [
360 299,
361 304
362 ]
363 },
364 {
365 "name": "MASK",
366 "type": "MASK",
367 "links": null
368 }
369 ],
370 "properties": {
371 "Node name for S&R": "LoadImage",
372 "cnr_id": "comfy-core",
373 "ver": "0.24.0"
374 },
375 "widgets_values": [
376 "desert_oasis_backyard.png",
377 "image"
378 ]
379 },
380 {
381 "id": 115,
382 "type": "SaveImage",
383 "pos": [
384 3800,
385 4340
386 ],
387 "size": [
388 690,
389 849.984375
390 ],
391 "flags": [],
392 "order": 9,
393 "mode": 0,
394 "inputs": [
395 {
396 "name": "images",
397 "type": "IMAGE",
398 "link": 298
399 }
400 ],
401 "outputs": [],
402 "properties": {
403 "cnr_id": "comfy-core",
404 "ver": "0.24.0",
405 "Node name for S&R": "SaveImage"
406 },
407 "widgets_values": [
408 "Bernini-R"
409 ]
410 },
411 {
412 "id": 116,
413 "type": "ResizeImageMaskNode",
414 "pos": [
415 2910,
416 4340
417 ],
418 "size": [
419 270,
420 144
421 ],
422 "flags": [],
423 "order": 6,
424 "mode": 0,
425 "inputs": [
426 {
427 "name": "input",
428 "type": "IMAGE,MASK",
429 "link": 299
430 }
431 ],
432 "outputs": [
433 {
434 "name": "resized",
435 "type": "IMAGE",
436 "links": [
437 300,
438 303
439 ]
440 }
441 ],
442 "properties": {
443 "Node name for S&R": "ResizeImageMaskNode",
444 "cnr_id": "comfy-core",
445 "ver": "0.24.0"
446 },
447 "widgets_values": [
448 "scale longer dimension",
449 1280,
450 "area"
451 ]
452 },
453 {
454 "id": 117,
455 "type": "GetImageSize",
456 "pos": [
457 2910,
458 4650
459 ],
460 "size": [
461 270,
462 189.984375
463 ],
464 "flags": [],
465 "order": 7,
466 "mode": 0,
467 "inputs": [
468 {
469 "name": "image",
470 "type": "IMAGE",
471 "link": 300
472 }
473 ],
474 "outputs": [
475 {
476 "name": "width",
477 "type": "INT",
478 "links": [
479 301
480 ]
481 },
482 {
483 "name": "height",
484 "type": "INT",
485 "links": [
486 302
487 ]
488 },
489 {
490 "name": "batch_size",
491 "type": "INT",
492 "links": null
493 }
494 ],
495 "properties": {
496 "Node name for S&R": "GetImageSize",
497 "cnr_id": "comfy-core",
498 "ver": "0.24.0"
499 },
500 "widgets_values": []
501 },
502 {
503 "id": 118,
504 "type": "ImageCompare",
505 "pos": [
506 4530,
507 4340
508 ],
509 "size": [
510 729.984375,
511 840
512 ],
513 "flags": {
514 "collapsed": false
515 },
516 "order": 10,
517 "mode": 0,
518 "inputs": [
519 {
520 "name": "image_a",
521 "shape": 7,
522 "type": "IMAGE",
523 "link": 304
524 },
525 {
526 "name": "image_b",
527 "shape": 7,
528 "type": "IMAGE",
529 "link": 305
530 }
531 ],
532 "outputs": [],
533 "properties": {
534 "Node name for S&R": "ImageCompare",
535 "cnr_id": "comfy-core",
536 "ver": "0.24.0"
537 },
538 "widgets_values": []
539 }
540 ],
541 "links": [
542 [
543 287,
544 104,
545 0,
546 100,
547 0,
548 "IMAGE"
549 ],
550 [
551 298,
552 76,
553 0,
554 115,
555 0,
556 "IMAGE"
557 ],
558 [
559 299,
560 114,
561 0,
562 116,
563 0,
564 "IMAGE"
565 ],
566 [
567 300,
568 116,
569 0,
570 117,
571 0,
572 "IMAGE"
573 ],
574 [
575 301,
576 117,
577 0,
578 76,
579 5,
580 "INT"
581 ],
582 [
583 302,
584 117,
585 1,
586 76,
587 6,
588 "INT"
589 ],
590 [
591 303,
592 116,
593 0,
594 76,
595 0,
596 "IMAGE"
597 ],
598 [
599 304,
600 114,
601 0,
602 118,
603 0,
604 "IMAGE"
605 ],
606 [
607 305,
608 76,
609 0,
610 118,
611 1,
612 "IMAGE"
613 ]
614 ],
615 "groups": [
616 {
617 "id": 9,
618 "title": "Reference Image input",
619 "bounding": [
620 2230,
621 5300,
622 880,
623 630
624 ],
625 "color": "#3f789e",
626 "flags": []
627 }
628 ],
629 "definitions": {
630 "subgraphs": [
631 {
632 "id": "c39e0ea5-b767-460c-b394-b09703772fa6",
633 "version": 1,
634 "state": {
635 "lastGroupId": 9,
636 "lastNodeId": 120,
637 "lastLinkId": 308,
638 "lastRerouteId": 0
639 },
640 "revision": 0,
641 "config": [],
642 "name": "Select Per-Line Text by Index",
643 "description": "Selects one line from multiline text by zero-based index for batch or list-driven prompt workflows.",
644 "inputNode": {
645 "id": -10,
646 "bounding": [
647 -990,
648 8595,
649 128,
650 88
651 ]
652 },
653 "outputNode": {
654 "id": -20,
655 "bounding": [
656 710,
657 8585,
658 128,
659 68
660 ]
661 },
662 "inputs": [
663 {
664 "id": "75417d82-a934-4ac9-b667-d8dcd5a3bfb3",
665 "name": "text_per_line",
666 "type": "STRING",
667 "linkIds": [
668 13
669 ],
670 "localized_name": "text_per_line",
671 "pos": [
672 -886,
673 8619
674 ]
675 },
676 {
677 "id": "46e69a73-1804-4ca6-9175-31445bf0be96",
678 "name": "index",
679 "type": "INT",
680 "linkIds": [
681 14
682 ],
683 "localized_name": "index",
684 "pos": [
685 -886,
686 8639
687 ]
688 }
689 ],
690 "outputs": [
691 {
692 "id": "e34e8ad1-84d2-4bd2-a460-eb7de6067c10",
693 "name": "selected_line",
694 "type": "STRING",
695 "linkIds": [
696 10
697 ],
698 "localized_name": "selected_line",
699 "pos": [
700 734,
701 8609
702 ]
703 }
704 ],
705 "widgets": [],
706 "nodes": [
707 {
708 "id": 1,
709 "type": "PreviewAny",
710 "pos": [
711 -500,
712 8400
713 ],
714 "size": [
715 230,
716 180
717 ],
718 "flags": [],
719 "order": 0,
720 "mode": 0,
721 "inputs": [
722 {
723 "localized_name": "source",
724 "name": "source",
725 "type": "*",
726 "link": 1
727 }
728 ],
729 "outputs": [
730 {
731 "localized_name": "STRING",
732 "name": "STRING",
733 "type": "STRING",
734 "links": [
735 6
736 ]
737 }
738 ],
739 "properties": {
740 "Node name for S&R": "PreviewAny",
741 "cnr_id": "comfy-core",
742 "ver": "0.19.0",
743 "ue_properties": {
744 "widget_ue_connectable": [],
745 "input_ue_unconnectable": []
746 }
747 },
748 "widgets_values": [
749 null,
750 null,
751 null
752 ]
753 },
754 {
755 "id": 2,
756 "type": "RegexExtract",
757 "pos": [
758 -240,
759 8740
760 ],
761 "size": [
762 470,
763 460
764 ],
765 "flags": [],
766 "order": 1,
767 "mode": 0,
768 "showAdvanced": false,
769 "inputs": [
770 {
771 "localized_name": "string",
772 "name": "string",
773 "type": "STRING",
774 "widget": {
775 "name": "string"
776 },
777 "link": 13
778 },
779 {
780 "localized_name": "regex_pattern",
781 "name": "regex_pattern",
782 "type": "STRING",
783 "widget": {
784 "name": "regex_pattern"
785 },
786 "link": 9
787 }
788 ],
789 "outputs": [
790 {
791 "localized_name": "STRING",
792 "name": "STRING",
793 "type": "STRING",
794 "links": [
795 10
796 ]
797 }
798 ],
799 "properties": {
800 "Node name for S&R": "RegexExtract",
801 "cnr_id": "comfy-core",
802 "ver": "0.19.0",
803 "ue_properties": {
804 "widget_ue_connectable": [],
805 "input_ue_unconnectable": []
806 }
807 },
808 "widgets_values": [
809 "You are a helpful assistant.\nYou are a helpful assistant specialized in text-to-image generation.\nYou are a helpful assistant specialized in text-to-video generation.\nYou are a helpful assistant specialized in image editing.\nYou are a helpful assistant specialized in subject-to-image generation.",
810 "",
811 "First Group",
812 false,
813 false,
814 false,
815 1
816 ]
817 },
818 {
819 "id": 56,
820 "type": "PrimitiveInt",
821 "pos": [
822 -810,
823 8400
824 ],
825 "size": [
826 270,
827 110
828 ],
829 "flags": [],
830 "order": 3,
831 "mode": 0,
832 "inputs": [
833 {
834 "localized_name": "value",
835 "name": "value",
836 "type": "INT",
837 "widget": {
838 "name": "value"
839 },
840 "link": 14
841 }
842 ],
843 "outputs": [
844 {
845 "localized_name": "INT",
846 "name": "INT",
847 "type": "INT",
848 "links": [
849 1
850 ]
851 }
852 ],
853 "title": "Int (line index)",
854 "properties": {
855 "Node name for S&R": "Int (line index)",
856 "cnr_id": "comfy-core",
857 "ver": "0.19.0",
858 "ue_properties": {
859 "widget_ue_connectable": [],
860 "input_ue_unconnectable": []
861 }
862 },
863 "widgets_values": [
864 0,
865 "fixed"
866 ]
867 },
868 {
869 "id": 8,
870 "type": "StringReplace",
871 "pos": [
872 -240,
873 8400
874 ],
875 "size": [
876 400,
877 280
878 ],
879 "flags": [],
880 "order": 2,
881 "mode": 0,
882 "inputs": [
883 {
884 "localized_name": "replace",
885 "name": "replace",
886 "type": "STRING",
887 "widget": {
888 "name": "replace"
889 },
890 "link": 6
891 }
892 ],
893 "outputs": [
894 {
895 "localized_name": "STRING",
896 "name": "STRING",
897 "type": "STRING",
898 "links": [
899 9
900 ]
901 }
902 ],
903 "properties": {
904 "Node name for S&R": "StringReplace",
905 "cnr_id": "comfy-core",
906 "ver": "0.19.0",
907 "ue_properties": {
908 "widget_ue_connectable": [],
909 "input_ue_unconnectable": []
910 }
911 },
912 "widgets_values": [
913 "^(?:[^\\n]*\\n){index}([^\\n]*)(?:\\n|$)",
914 "index",
915 ""
916 ]
917 }
918 ],
919 "groups": [],
920 "links": [
921 {
922 "id": 1,
923 "origin_id": 56,
924 "origin_slot": 0,
925 "target_id": 1,
926 "target_slot": 0,
927 "type": "INT"
928 },
929 {
930 "id": 9,
931 "origin_id": 8,
932 "origin_slot": 0,
933 "target_id": 2,
934 "target_slot": 1,
935 "type": "STRING"
936 },
937 {
938 "id": 6,
939 "origin_id": 1,
940 "origin_slot": 0,
941 "target_id": 8,
942 "target_slot": 0,
943 "type": "STRING"
944 },
945 {
946 "id": 10,
947 "origin_id": 2,
948 "origin_slot": 0,
949 "target_id": -20,
950 "target_slot": 0,
951 "type": "STRING"
952 },
953 {
954 "id": 13,
955 "origin_id": -10,
956 "origin_slot": 0,
957 "target_id": 2,
958 "target_slot": 0,
959 "type": "STRING"
960 },
961 {
962 "id": 14,
963 "origin_id": -10,
964 "origin_slot": 1,
965 "target_id": 56,
966 "target_slot": 0,
967 "type": "INT"
968 }
969 ],
970 "extra": {
971 "ue_links": [],
972 "links_added_by_ue": []
973 }
974 },
975 {
976 "id": "64670aa5-a932-4e9f-a299-3bfef6ebc043",
977 "version": 1,
978 "state": {
979 "lastGroupId": 9,
980 "lastNodeId": 120,
981 "lastLinkId": 308,
982 "lastRerouteId": 0
983 },
984 "revision": 0,
985 "config": [],
986 "name": "Image Edit (Bernini-R)",
987 "inputNode": {
988 "id": -10,
989 "bounding": [
990 -60,
991 4230,
992 159.744140625,
993 368
994 ]
995 },
996 "outputNode": {
997 "id": -20,
998 "bounding": [
999 4720,
1000 4220,
1001 128,
1002 68
1003 ]
1004 },
1005 "inputs": [
1006 {
1007 "id": "3df44016-bb49-40a2-a1dc-47d750440516",
1008 "name": "source_video",
1009 "type": "IMAGE",
1010 "linkIds": [
1011 294
1012 ],
1013 "label": "source_image",
1014 "pos": [
1015 75.744140625,
1016 4254
1017 ]
1018 },
1019 {
1020 "id": "9e960570-35a6-4f48-bfa3-5f6ded6ede10",
1021 "name": "reference_video",
1022 "type": "IMAGE",
1023 "linkIds": [
1024 162
1025 ],
1026 "pos": [
1027 75.744140625,
1028 4274
1029 ]
1030 },
1031 {
1032 "id": "4ddf8f1f-b92a-4802-96cd-1379ce4dcba3",
1033 "name": "reference_images.reference_image_0",
1034 "type": "IMAGE",
1035 "linkIds": [
1036 163
1037 ],
1038 "label": "reference_image",
1039 "pos": [
1040 75.744140625,
1041 4294
1042 ]
1043 },
1044 {
1045 "id": "fb6d520b-6281-4b05-8a36-64ed7ef58850",
1046 "name": "text",
1047 "type": "STRING",
1048 "linkIds": [
1049 308
1050 ],
1051 "label": "prompt",
1052 "pos": [
1053 75.744140625,
1054 4314
1055 ]
1056 },
1057 {
1058 "id": "8005758c-ac19-4baf-8895-4661b2bf9327",
1059 "name": "choice",
1060 "type": "COMBO",
1061 "linkIds": [
1062 165
1063 ],
1064 "label": "task_type",
1065 "pos": [
1066 75.744140625,
1067 4334
1068 ]
1069 },
1070 {
1071 "id": "8f7316d5-b98d-4702-83db-6f57fd8804c6",
1072 "name": "width",
1073 "type": "INT",
1074 "linkIds": [
1075 166
1076 ],
1077 "pos": [
1078 75.744140625,
1079 4354
1080 ]
1081 },
1082 {
1083 "id": "2dc22817-de2d-4d0f-8763-71795668c1d3",
1084 "name": "height",
1085 "type": "INT",
1086 "linkIds": [
1087 167
1088 ],
1089 "pos": [
1090 75.744140625,
1091 4374
1092 ]
1093 },
1094 {
1095 "id": "ff81d4ba-46f0-40e3-995d-50df973d951c",
1096 "name": "ref_max_size",
1097 "type": "INT",
1098 "linkIds": [
1099 169
1100 ],
1101 "pos": [
1102 75.744140625,
1103 4394
1104 ]
1105 },
1106 {
1107 "id": "2c12a5f5-e9d9-45e7-bb62-bbf7a352731f",
1108 "name": "value",
1109 "type": "BOOLEAN",
1110 "linkIds": [
1111 170
1112 ],
1113 "label": "enable_turbo_mode",
1114 "pos": [
1115 75.744140625,
1116 4414
1117 ]
1118 },
1119 {
1120 "id": "ff09c771-83a5-4d92-bc16-006e6eb19406",
1121 "name": "unet_name",
1122 "type": "COMBO",
1123 "linkIds": [
1124 171
1125 ],
1126 "label": "high_noise_model",
1127 "pos": [
1128 75.744140625,
1129 4434
1130 ]
1131 },
1132 {
1133 "id": "67aed2f7-f407-4f55-add0-6ae669a069dc",
1134 "name": "unet_name_1",
1135 "type": "COMBO",
1136 "linkIds": [
1137 173
1138 ],
1139 "label": "low_noise_model",
1140 "pos": [
1141 75.744140625,
1142 4454
1143 ]
1144 },
1145 {
1146 "id": "7f456845-cdba-46f0-829c-31b72d4a9038",
1147 "name": "lora_name",
1148 "type": "COMBO",
1149 "linkIds": [
1150 174,
1151 175
1152 ],
1153 "label": "lightning_lora",
1154 "pos": [
1155 75.744140625,
1156 4474
1157 ]
1158 },
1159 {
1160 "id": "b7332485-fd38-4522-8192-ea862afe9a35",
1161 "name": "clip_name",
1162 "type": "COMBO",
1163 "linkIds": [
1164 176
1165 ],
1166 "pos": [
1167 75.744140625,
1168 4494
1169 ]
1170 },
1171 {
1172 "id": "3328f3bc-c4ce-467e-830e-0e394c8da2b7",
1173 "name": "vae_name",
1174 "type": "COMBO",
1175 "linkIds": [
1176 177
1177 ],
1178 "pos": [
1179 75.744140625,
1180 4514
1181 ]
1182 },
1183 {
1184 "id": "c8a71e1e-2d0b-4f9a-afd8-4186ba4cc241",
1185 "name": "noise_seed",
1186 "type": "INT",
1187 "linkIds": [
1188 283
1189 ],
1190 "pos": [
1191 75.744140625,
1192 4534
1193 ]
1194 },
1195 {
1196 "id": "3663f935-0959-4cb3-923d-d44736198056",
1197 "name": "length",
1198 "type": "INT",
1199 "linkIds": [
1200 295
1201 ],
1202 "pos": [
1203 75.744140625,
1204 4554
1205 ]
1206 }
1207 ],
1208 "outputs": [
1209 {
1210 "id": "5621984a-f548-41d5-b812-481a9122dd81",
1211 "name": "IMAGE",
1212 "type": "IMAGE",
1213 "linkIds": [
1214 297
1215 ],
1216 "pos": [
1217 4744,
1218 4244
1219 ]
1220 }
1221 ],
1222 "widgets": [],
1223 "nodes": [
1224 {
1225 "id": 9,
1226 "type": "CLIPLoader",
1227 "pos": [
1228 890,
1229 5030
1230 ],
1231 "size": [
1232 669.984375,
1233 169.984375
1234 ],
1235 "flags": [],
1236 "order": 12,
1237 "mode": 0,
1238 "inputs": [
1239 {
1240 "localized_name": "clip_name",
1241 "name": "clip_name",
1242 "type": "COMBO",
1243 "widget": {
1244 "name": "clip_name"
1245 },
1246 "link": 176
1247 }
1248 ],
1249 "outputs": [
1250 {
1251 "localized_name": "CLIP",
1252 "name": "CLIP",
1253 "type": "CLIP",
1254 "links": [
1255 7,
1256 8
1257 ]
1258 }
1259 ],
1260 "properties": {
1261 "Node name for S&R": "CLIPLoader",
1262 "cnr_id": "comfy-core",
1263 "ver": "0.24.0",
1264 "models": [
1265 {
1266 "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
1267 "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors?download=true",
1268 "directory": "text_encoders"
1269 }
1270 ],
1271 "enableTabs": false,
1272 "tabWidth": 65,
1273 "tabXOffset": 10,
1274 "hasSecondTab": false,
1275 "secondTabText": "Send Back",
1276 "secondTabOffset": 80,
1277 "secondTabWidth": 65
1278 },
1279 "widgets_values": [
1280 "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
1281 "wan",
1282 "default"
1283 ]
1284 },
1285 {
1286 "id": 7,
1287 "type": "VAELoader",
1288 "pos": [
1289 890,
1290 5260
1291 ],
1292 "size": [
1293 669.984375,
1294 109.984375
1295 ],
1296 "flags": [],
1297 "order": 11,
1298 "mode": 0,
1299 "inputs": [
1300 {
1301 "localized_name": "vae_name",
1302 "name": "vae_name",
1303 "type": "COMBO",
1304 "widget": {
1305 "name": "vae_name"
1306 },
1307 "link": 177
1308 }
1309 ],
1310 "outputs": [
1311 {
1312 "localized_name": "VAE",
1313 "name": "VAE",
1314 "type": "VAE",
1315 "links": [
1316 99,
1317 119
1318 ]
1319 }
1320 ],
1321 "properties": {
1322 "Node name for S&R": "VAELoader",
1323 "cnr_id": "comfy-core",
1324 "ver": "0.24.0",
1325 "models": [
1326 {
1327 "name": "Wan2_1_VAE_bf16.safetensors",
1328 "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan2_1_VAE_bf16.safetensors?download=true",
1329 "directory": "vae"
1330 }
1331 ],
1332 "enableTabs": false,
1333 "tabWidth": 65,
1334 "tabXOffset": 10,
1335 "hasSecondTab": false,
1336 "secondTabText": "Send Back",
1337 "secondTabOffset": 80,
1338 "secondTabWidth": 65
1339 },
1340 "widgets_values": [
1341 "Wan2_1_VAE_bf16.safetensors"
1342 ]
1343 },
1344 {
1345 "id": 29,
1346 "type": "LoraLoaderModelOnly",
1347 "pos": [
1348 890,
1349 4810
1350 ],
1351 "size": [
1352 669.984375,
1353 169.984375
1354 ],
1355 "flags": [],
1356 "order": 20,
1357 "mode": 0,
1358 "inputs": [
1359 {
1360 "localized_name": "model",
1361 "name": "model",
1362 "type": "MODEL",
1363 "link": 128
1364 },
1365 {
1366 "localized_name": "lora_name",
1367 "name": "lora_name",
1368 "type": "COMBO",
1369 "widget": {
1370 "name": "lora_name"
1371 },
1372 "link": 175
1373 }
1374 ],
1375 "outputs": [
1376 {
1377 "localized_name": "MODEL",
1378 "name": "MODEL",
1379 "type": "MODEL",
1380 "links": [
1381 132
1382 ]
1383 }
1384 ],
1385 "properties": {
1386 "Node name for S&R": "LoraLoaderModelOnly",
1387 "cnr_id": "comfy-core",
1388 "ver": "0.24.0",
1389 "models": [
1390 {
1391 "name": "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
1392 "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors?download=true",
1393 "directory": "loras"
1394 }
1395 ],
1396 "enableTabs": false,
1397 "tabWidth": 65,
1398 "tabXOffset": 10,
1399 "hasSecondTab": false,
1400 "secondTabText": "Send Back",
1401 "secondTabOffset": 80,
1402 "secondTabWidth": 65
1403 },
1404 "widgets_values": [
1405 "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
1406 1.5
1407 ],
1408 "color": "#332922",
1409 "bgcolor": "#593930"
1410 },
1411 {
1412 "id": 4,
1413 "type": "CLIPTextEncode",
1414 "pos": [
1415 1670,
1416 4670
1417 ],
1418 "size": [
1419 699.984375,
1420 240
1421 ],
1422 "flags": [],
1423 "order": 9,
1424 "mode": 0,
1425 "inputs": [
1426 {
1427 "localized_name": "clip",
1428 "name": "clip",
1429 "type": "CLIP",
1430 "link": 8
1431 }
1432 ],
1433 "outputs": [
1434 {
1435 "localized_name": "CONDITIONING",
1436 "name": "CONDITIONING",
1437 "type": "CONDITIONING",
1438 "links": [
1439 118
1440 ]
1441 }
1442 ],
1443 "properties": {
1444 "Node name for S&R": "CLIPTextEncode",
1445 "cnr_id": "comfy-core",
1446 "ver": "0.24.0",
1447 "enableTabs": false,
1448 "tabWidth": 65,
1449 "tabXOffset": 10,
1450 "hasSecondTab": false,
1451 "secondTabText": "Send Back",
1452 "secondTabOffset": 80,
1453 "secondTabWidth": 65
1454 },
1455 "widgets_values": [
1456 "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
1457 ],
1458 "color": "#223",
1459 "bgcolor": "#335"
1460 },
1461 {
1462 "id": 17,
1463 "type": "SplitSigmas",
1464 "pos": [
1465 3240,
1466 4450
1467 ],
1468 "size": [
1469 270,
1470 129.984375
1471 ],
1472 "flags": [],
1473 "order": 17,
1474 "mode": 0,
1475 "inputs": [
1476 {
1477 "localized_name": "sigmas",
1478 "name": "sigmas",
1479 "type": "SIGMAS",
1480 "link": 33
1481 },
1482 {
1483 "localized_name": "step",
1484 "name": "step",
1485 "type": "INT",
1486 "widget": {
1487 "name": "step"
1488 },
1489 "link": 146
1490 }
1491 ],
1492 "outputs": [
1493 {
1494 "localized_name": "high_sigmas",
1495 "name": "high_sigmas",
1496 "type": "SIGMAS",
1497 "links": [
1498 41
1499 ]
1500 },
1501 {
1502 "localized_name": "low_sigmas",
1503 "name": "low_sigmas",
1504 "type": "SIGMAS",
1505 "links": [
1506 42
1507 ]
1508 }
1509 ],
1510 "properties": {
1511 "Node name for S&R": "SplitSigmas",
1512 "cnr_id": "comfy-core",
1513 "ver": "0.24.0",
1514 "enableTabs": false,
1515 "tabWidth": 65,
1516 "tabXOffset": 10,
1517 "hasSecondTab": false,
1518 "secondTabText": "Send Back",
1519 "secondTabOffset": 80,
1520 "secondTabWidth": 65
1521 },
1522 "widgets_values": [
1523 3
1524 ]
1525 },
1526 {
1527 "id": 27,
1528 "type": "KSamplerSelect",
1529 "pos": [
1530 3240,
1531 4640
1532 ],
1533 "size": [
1534 270,
1535 109.984375
1536 ],
1537 "flags": [],
1538 "order": 0,
1539 "mode": 0,
1540 "inputs": [],
1541 "outputs": [
1542 {
1543 "localized_name": "SAMPLER",
1544 "name": "SAMPLER",
1545 "type": "SAMPLER",
1546 "links": [
1547 53,
1548 56
1549 ]
1550 }
1551 ],
1552 "properties": {
1553 "Node name for S&R": "KSamplerSelect",
1554 "cnr_id": "comfy-core",
1555 "ver": "0.24.0",
1556 "enableTabs": false,
1557 "tabWidth": 65,
1558 "tabXOffset": 10,
1559 "hasSecondTab": false,
1560 "secondTabText": "Send Back",
1561 "secondTabOffset": 80,
1562 "secondTabWidth": 65
1563 },
1564 "widgets_values": [
1565 "res_multistep"
1566 ]
1567 },
1568 {
1569 "id": 5,
1570 "type": "UNETLoader",
1571 "pos": [
1572 890,
1573 4200
1574 ],
1575 "size": [
1576 669.984375,
1577 139.984375
1578 ],
1579 "flags": [],
1580 "order": 10,
1581 "mode": 0,
1582 "inputs": [
1583 {
1584 "localized_name": "unet_name",
1585 "name": "unet_name",
1586 "type": "COMBO",
1587 "widget": {
1588 "name": "unet_name"
1589 },
1590 "link": 171
1591 }
1592 ],
1593 "outputs": [
1594 {
1595 "localized_name": "MODEL",
1596 "name": "MODEL",
1597 "type": "MODEL",
1598 "links": [
1599 127,
1600 130
1601 ]
1602 }
1603 ],
1604 "properties": {
1605 "Node name for S&R": "UNETLoader",
1606 "cnr_id": "comfy-core",
1607 "ver": "0.24.0",
1608 "models": [
1609 {
1610 "name": "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
1611 "url": "https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
1612 "directory": "diffusion_models"
1613 }
1614 ],
1615 "enableTabs": false,
1616 "tabWidth": 65,
1617 "tabXOffset": 10,
1618 "hasSecondTab": false,
1619 "secondTabText": "Send Back",
1620 "secondTabOffset": 80,
1621 "secondTabWidth": 65
1622 },
1623 "widgets_values": [
1624 "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
1625 "default"
1626 ]
1627 },
1628 {
1629 "id": 11,
1630 "type": "LoraLoaderModelOnly",
1631 "pos": [
1632 890,
1633 4390
1634 ],
1635 "size": [
1636 669.984375,
1637 169.984375
1638 ],
1639 "flags": [],
1640 "order": 13,
1641 "mode": 0,
1642 "inputs": [
1643 {
1644 "localized_name": "model",
1645 "name": "model",
1646 "type": "MODEL",
1647 "link": 127
1648 },
1649 {
1650 "localized_name": "lora_name",
1651 "name": "lora_name",
1652 "type": "COMBO",
1653 "widget": {
1654 "name": "lora_name"
1655 },
1656 "link": 174
1657 }
1658 ],
1659 "outputs": [
1660 {
1661 "localized_name": "MODEL",
1662 "name": "MODEL",
1663 "type": "MODEL",
1664 "links": [
1665 129
1666 ]
1667 }
1668 ],
1669 "properties": {
1670 "Node name for S&R": "LoraLoaderModelOnly",
1671 "cnr_id": "comfy-core",
1672 "ver": "0.24.0",
1673 "models": [
1674 {
1675 "name": "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
1676 "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors?download=true",
1677 "directory": "loras"
1678 }
1679 ],
1680 "enableTabs": false,
1681 "tabWidth": 65,
1682 "tabXOffset": 10,
1683 "hasSecondTab": false,
1684 "secondTabText": "Send Back",
1685 "secondTabOffset": 80,
1686 "secondTabWidth": 65
1687 },
1688 "widgets_values": [
1689 "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
1690 3
1691 ],
1692 "color": "#332922",
1693 "bgcolor": "#593930"
1694 },
1695 {
1696 "id": 12,
1697 "type": "UNETLoader",
1698 "pos": [
1699 890,
1700 4620
1701 ],
1702 "size": [
1703 669.984375,
1704 139.984375
1705 ],
1706 "flags": [],
1707 "order": 14,
1708 "mode": 0,
1709 "inputs": [
1710 {
1711 "localized_name": "unet_name",
1712 "name": "unet_name",
1713 "type": "COMBO",
1714 "widget": {
1715 "name": "unet_name"
1716 },
1717 "link": 173
1718 }
1719 ],
1720 "outputs": [
1721 {
1722 "localized_name": "MODEL",
1723 "name": "MODEL",
1724 "type": "MODEL",
1725 "links": [
1726 34,
1727 128,
1728 131
1729 ]
1730 }
1731 ],
1732 "properties": {
1733 "Node name for S&R": "UNETLoader",
1734 "cnr_id": "comfy-core",
1735 "ver": "0.24.0",
1736 "models": [
1737 {
1738 "name": "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
1739 "url": "https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
1740 "directory": "diffusion_models"
1741 }
1742 ],
1743 "enableTabs": false,
1744 "tabWidth": 65,
1745 "tabXOffset": 10,
1746 "hasSecondTab": false,
1747 "secondTabText": "Send Back",
1748 "secondTabOffset": 80,
1749 "secondTabWidth": 65
1750 },
1751 "widgets_values": [
1752 "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
1753 "default"
1754 ]
1755 },
1756 {
1757 "id": 16,
1758 "type": "VAEDecode",
1759 "pos": [
1760 4410,
1761 4220
1762 ],
1763 "size": [
1764 249.984375,
1765 99.984375
1766 ],
1767 "flags": [],
1768 "order": 16,
1769 "mode": 0,
1770 "inputs": [
1771 {
1772 "localized_name": "samples",
1773 "name": "samples",
1774 "type": "LATENT",
1775 "link": 31
1776 },
1777 {
1778 "localized_name": "vae",
1779 "name": "vae",
1780 "type": "VAE",
1781 "link": 99
1782 }
1783 ],
1784 "outputs": [
1785 {
1786 "localized_name": "IMAGE",
1787 "name": "IMAGE",
1788 "type": "IMAGE",
1789 "links": [
1790 297
1791 ]
1792 }
1793 ],
1794 "properties": {
1795 "Node name for S&R": "VAEDecode",
1796 "cnr_id": "comfy-core",
1797 "ver": "0.24.0",
1798 "enableTabs": false,
1799 "tabWidth": 65,
1800 "tabXOffset": 10,
1801 "hasSecondTab": false,
1802 "secondTabText": "Send Back",
1803 "secondTabOffset": 80,
1804 "secondTabWidth": 65
1805 },
1806 "widgets_values": []
1807 },
1808 {
1809 "id": 19,
1810 "type": "SamplerCustom",
1811 "pos": [
1812 3580,
1813 4220
1814 ],
1815 "size": [
1816 279.984375,
1817 679.984375
1818 ],
1819 "flags": [],
1820 "order": 19,
1821 "mode": 0,
1822 "showAdvanced": false,
1823 "inputs": [
1824 {
1825 "localized_name": "model",
1826 "name": "model",
1827 "type": "MODEL",
1828 "link": 133
1829 },
1830 {
1831 "localized_name": "positive",
1832 "name": "positive",
1833 "type": "CONDITIONING",
1834 "link": 121
1835 },
1836 {
1837 "localized_name": "negative",
1838 "name": "negative",
1839 "type": "CONDITIONING",
1840 "link": 123
1841 },
1842 {
1843 "localized_name": "sampler",
1844 "name": "sampler",
1845 "type": "SAMPLER",
1846 "link": 53
1847 },
1848 {
1849 "localized_name": "sigmas",
1850 "name": "sigmas",
1851 "type": "SIGMAS",
1852 "link": 41
1853 },
1854 {
1855 "localized_name": "latent_image",
1856 "name": "latent_image",
1857 "type": "LATENT",
1858 "link": 125
1859 },
1860 {
1861 "localized_name": "noise_seed",
1862 "name": "noise_seed",
1863 "type": "INT",
1864 "widget": {
1865 "name": "noise_seed"
1866 },
1867 "link": 283
1868 },
1869 {
1870 "localized_name": "cfg",
1871 "name": "cfg",
1872 "type": "FLOAT",
1873 "widget": {
1874 "name": "cfg"
1875 },
1876 "link": 153
1877 }
1878 ],
1879 "outputs": [
1880 {
1881 "localized_name": "output",
1882 "name": "output",
1883 "type": "LATENT",
1884 "links": [
1885 40
1886 ]
1887 },
1888 {
1889 "localized_name": "denoised_output",
1890 "name": "denoised_output",
1891 "type": "LATENT",
1892 "links": []
1893 }
1894 ],
1895 "properties": {
1896 "Node name for S&R": "SamplerCustom",
1897 "cnr_id": "comfy-core",
1898 "ver": "0.24.0",
1899 "enableTabs": false,
1900 "tabWidth": 65,
1901 "tabXOffset": 10,
1902 "hasSecondTab": false,
1903 "secondTabText": "Send Back",
1904 "secondTabOffset": 80,
1905 "secondTabWidth": 65
1906 },
1907 "widgets_values": [
1908 true,
1909 283365432432581,
1910 "randomize",
1911 1
1912 ]
1913 },
1914 {
1915 "id": 18,
1916 "type": "BasicScheduler",
1917 "pos": [
1918 3240,
1919 4230
1920 ],
1921 "size": [
1922 270,
1923 169.984375
1924 ],
1925 "flags": [],
1926 "order": 18,
1927 "mode": 0,
1928 "inputs": [
1929 {
1930 "localized_name": "model",
1931 "name": "model",
1932 "type": "MODEL",
1933 "link": 34
1934 },
1935 {
1936 "localized_name": "steps",
1937 "name": "steps",
1938 "type": "INT",
1939 "widget": {
1940 "name": "steps"
1941 },
1942 "link": 143
1943 }
1944 ],
1945 "outputs": [
1946 {
1947 "localized_name": "SIGMAS",
1948 "name": "SIGMAS",
1949 "type": "SIGMAS",
1950 "links": [
1951 33
1952 ]
1953 }
1954 ],
1955 "properties": {
1956 "Node name for S&R": "BasicScheduler",
1957 "cnr_id": "comfy-core",
1958 "ver": "0.24.0",
1959 "enableTabs": false,
1960 "tabWidth": 65,
1961 "tabXOffset": 10,
1962 "hasSecondTab": false,
1963 "secondTabText": "Send Back",
1964 "secondTabOffset": 80,
1965 "secondTabWidth": 65
1966 },
1967 "widgets_values": [
1968 "simple",
1969 6,
1970 1
1971 ]
1972 },
1973 {
1974 "id": 15,
1975 "type": "SamplerCustom",
1976 "pos": [
1977 3910,
1978 4220
1979 ],
1980 "size": [
1981 279.984375,
1982 679.984375
1983 ],
1984 "flags": [],
1985 "order": 15,
1986 "mode": 0,
1987 "showAdvanced": false,
1988 "inputs": [
1989 {
1990 "localized_name": "model",
1991 "name": "model",
1992 "type": "MODEL",
1993 "link": 134
1994 },
1995 {
1996 "localized_name": "positive",
1997 "name": "positive",
1998 "type": "CONDITIONING",
1999 "link": 122
2000 },
2001 {
2002 "localized_name": "negative",
2003 "name": "negative",
2004 "type": "CONDITIONING",
2005 "link": 124
2006 },
2007 {
2008 "localized_name": "sampler",
2009 "name": "sampler",
2010 "type": "SAMPLER",
2011 "link": 56
2012 },
2013 {
2014 "localized_name": "sigmas",
2015 "name": "sigmas",
2016 "type": "SIGMAS",
2017 "link": 42
2018 },
2019 {
2020 "localized_name": "latent_image",
2021 "name": "latent_image",
2022 "type": "LATENT",
2023 "link": 40
2024 },
2025 {
2026 "localized_name": "cfg",
2027 "name": "cfg",
2028 "type": "FLOAT",
2029 "widget": {
2030 "name": "cfg"
2031 },
2032 "link": 154
2033 }
2034 ],
2035 "outputs": [
2036 {
2037 "localized_name": "output",
2038 "name": "output",
2039 "type": "LATENT",
2040 "links": [
2041 31
2042 ]
2043 },
2044 {
2045 "localized_name": "denoised_output",
2046 "name": "denoised_output",
2047 "type": "LATENT",
2048 "links": null
2049 }
2050 ],
2051 "properties": {
2052 "Node name for S&R": "SamplerCustom",
2053 "cnr_id": "comfy-core",
2054 "ver": "0.24.0",
2055 "enableTabs": false,
2056 "tabWidth": 65,
2057 "tabXOffset": 10,
2058 "hasSecondTab": false,
2059 "secondTabText": "Send Back",
2060 "secondTabOffset": 80,
2061 "secondTabWidth": 65
2062 },
2063 "widgets_values": [
2064 false,
2065 0,
2066 "fixed",
2067 1
2068 ]
2069 },
2070 {
2071 "id": 50,
2072 "type": "BerniniConditioning",
2073 "pos": [
2074 1880,
2075 4990
2076 ],
2077 "size": [
2078 309.984375,
2079 379.984375
2080 ],
2081 "flags": [],
2082 "order": 21,
2083 "mode": 0,
2084 "inputs": [
2085 {
2086 "localized_name": "positive",
2087 "name": "positive",
2088 "type": "CONDITIONING",
2089 "link": 117
2090 },
2091 {
2092 "localized_name": "negative",
2093 "name": "negative",
2094 "type": "CONDITIONING",
2095 "link": 118
2096 },
2097 {
2098 "localized_name": "vae",
2099 "name": "vae",
2100 "type": "VAE",
2101 "link": 119
2102 },
2103 {
2104 "localized_name": "source_video",
2105 "name": "source_video",
2106 "shape": 7,
2107 "type": "IMAGE",
2108 "link": 294
2109 },
2110 {
2111 "localized_name": "reference_video",
2112 "name": "reference_video",
2113 "shape": 7,
2114 "type": "IMAGE",
2115 "link": 162
2116 },
2117 {
2118 "label": "reference_image_0",
2119 "localized_name": "reference_images.reference_image_0",
2120 "name": "reference_images.reference_image_0",
2121 "shape": 7,
2122 "type": "IMAGE",
2123 "link": 163
2124 },
2125 {
2126 "label": "reference_image_1",
2127 "localized_name": "reference_images.reference_image_1",
2128 "name": "reference_images.reference_image_1",
2129 "shape": 7,
2130 "type": "IMAGE",
2131 "link": null
2132 },
2133 {
2134 "localized_name": "width",
2135 "name": "width",
2136 "type": "INT",
2137 "widget": {
2138 "name": "width"
2139 },
2140 "link": 166
2141 },
2142 {
2143 "localized_name": "height",
2144 "name": "height",
2145 "type": "INT",
2146 "widget": {
2147 "name": "height"
2148 },
2149 "link": 167
2150 },
2151 {
2152 "localized_name": "length",
2153 "name": "length",
2154 "type": "INT",
2155 "widget": {
2156 "name": "length"
2157 },
2158 "link": 295
2159 },
2160 {
2161 "localized_name": "ref_max_size",
2162 "name": "ref_max_size",
2163 "shape": 7,
2164 "type": "INT",
2165 "widget": {
2166 "name": "ref_max_size"
2167 },
2168 "link": 169
2169 }
2170 ],
2171 "outputs": [
2172 {
2173 "localized_name": "positive",
2174 "name": "positive",
2175 "type": "CONDITIONING",
2176 "links": [
2177 121,
2178 122
2179 ]
2180 },
2181 {
2182 "localized_name": "negative",
2183 "name": "negative",
2184 "type": "CONDITIONING",
2185 "links": [
2186 123,
2187 124
2188 ]
2189 },
2190 {
2191 "localized_name": "latent",
2192 "name": "latent",
2193 "type": "LATENT",
2194 "links": [
2195 125
2196 ]
2197 }
2198 ],
2199 "properties": {
2200 "Node name for S&R": "BerniniConditioning",
2201 "cnr_id": "comfy-core",
2202 "ver": "0.24.0",
2203 "enableTabs": false,
2204 "tabWidth": 65,
2205 "tabXOffset": 10,
2206 "hasSecondTab": false,
2207 "secondTabText": "Send Back",
2208 "secondTabOffset": 80,
2209 "secondTabWidth": 65
2210 },
2211 "widgets_values": [
2212 928,
2213 1280,
2214 1,
2215 1,
2216 848
2217 ],
2218 "color": "#322",
2219 "bgcolor": "#533"
2220 },
2221 {
2222 "id": 3,
2223 "type": "CLIPTextEncode",
2224 "pos": [
2225 1670,
2226 4210
2227 ],
2228 "size": [
2229 709.984375,
2230 390
2231 ],
2232 "flags": [],
2233 "order": 8,
2234 "mode": 0,
2235 "inputs": [
2236 {
2237 "localized_name": "clip",
2238 "name": "clip",
2239 "type": "CLIP",
2240 "link": 7
2241 },
2242 {
2243 "localized_name": "text",
2244 "name": "text",
2245 "type": "STRING",
2246 "widget": {
2247 "name": "text"
2248 },
2249 "link": 140
2250 }
2251 ],
2252 "outputs": [
2253 {
2254 "localized_name": "CONDITIONING",
2255 "name": "CONDITIONING",
2256 "type": "CONDITIONING",
2257 "links": [
2258 117
2259 ]
2260 }
2261 ],
2262 "properties": {
2263 "Node name for S&R": "CLIPTextEncode",
2264 "cnr_id": "comfy-core",
2265 "ver": "0.24.0",
2266 "enableTabs": false,
2267 "tabWidth": 65,
2268 "tabXOffset": 10,
2269 "hasSecondTab": false,
2270 "secondTabText": "Send Back",
2271 "secondTabOffset": 80,
2272 "secondTabWidth": 65
2273 },
2274 "widgets_values": [
2275 ""
2276 ],
2277 "color": "#232",
2278 "bgcolor": "#353"
2279 },
2280 {
2281 "id": 53,
2282 "type": "ComfySwitchNode",
2283 "pos": [
2284 2860,
2285 4520
2286 ],
2287 "size": [
2288 270,
2289 129.984375
2290 ],
2291 "flags": [],
2292 "order": 23,
2293 "mode": 0,
2294 "inputs": [
2295 {
2296 "localized_name": "on_false",
2297 "name": "on_false",
2298 "type": "MODEL",
2299 "link": 131
2300 },
2301 {
2302 "localized_name": "on_true",
2303 "name": "on_true",
2304 "type": "MODEL",
2305 "link": 132
2306 },
2307 {
2308 "localized_name": "switch",
2309 "name": "switch",
2310 "type": "BOOLEAN",
2311 "widget": {
2312 "name": "switch"
2313 },
2314 "link": 148
2315 }
2316 ],
2317 "outputs": [
2318 {
2319 "localized_name": "output",
2320 "name": "output",
2321 "type": "MODEL",
2322 "links": [
2323 134
2324 ]
2325 }
2326 ],
2327 "title": "Switch (Low Noise)",
2328 "properties": {
2329 "Node name for S&R": "ComfySwitchNode",
2330 "cnr_id": "comfy-core",
2331 "ver": "0.24.0"
2332 },
2333 "widgets_values": [
2334 false
2335 ]
2336 },
2337 {
2338 "id": 54,
2339 "type": "CustomCombo",
2340 "pos": [
2341 890,
2342 3070
2343 ],
2344 "size": [
2345 229.984375,
2346 349.984375
2347 ],
2348 "flags": [],
2349 "order": 24,
2350 "mode": 0,
2351 "inputs": [
2352 {
2353 "localized_name": "choice",
2354 "name": "choice",
2355 "type": "COMBO",
2356 "widget": {
2357 "name": "choice"
2358 },
2359 "link": 165
2360 }
2361 ],
2362 "outputs": [
2363 {
2364 "localized_name": "STRING",
2365 "name": "STRING",
2366 "type": "STRING",
2367 "links": null
2368 },
2369 {
2370 "localized_name": "INDEX",
2371 "name": "INDEX",
2372 "type": "INT",
2373 "links": [
2374 135
2375 ]
2376 }
2377 ],
2378 "properties": {
2379 "Node name for S&R": "CustomCombo",
2380 "cnr_id": "comfy-core",
2381 "ver": "0.24.0"
2382 },
2383 "widgets_values": [
2384 "Default",
2385 0,
2386 "Default",
2387 "Text to Image",
2388 "Text to Video",
2389 "Image Editing",
2390 "Subject to Image",
2391 ""
2392 ]
2393 },
2394 {
2395 "id": 57,
2396 "type": "c39e0ea5-b767-460c-b394-b09703772fa6",
2397 "pos": [
2398 1400,
2399 3070
2400 ],
2401 "size": [
2402 390,
2403 439.984375
2404 ],
2405 "flags": [],
2406 "order": 25,
2407 "mode": 0,
2408 "inputs": [
2409 {
2410 "localized_name": "index",
2411 "name": "index",
2412 "type": "INT",
2413 "widget": {
2414 "name": "index"
2415 },
2416 "link": 135
2417 }
2418 ],
2419 "outputs": [
2420 {
2421 "localized_name": "selected_line",
2422 "name": "selected_line",
2423 "type": "STRING",
2424 "links": [
2425 137
2426 ]
2427 }
2428 ],
2429 "properties": {
2430 "proxyWidgets": [
2431 [
2432 "2",
2433 "string"
2434 ],
2435 [
2436 "56",
2437 "value"
2438 ]
2439 ],
2440 "cnr_id": "comfy-core",
2441 "ver": "0.19.0",
2442 "ue_properties": {
2443 "widget_ue_connectable": [],
2444 "input_ue_unconnectable": []
2445 }
2446 },
2447 "widgets_values": []
2448 },
2449 {
2450 "id": 59,
2451 "type": "StringConcatenate",
2452 "pos": [
2453 1410,
2454 3770
2455 ],
2456 "size": [
2457 399.984375,
2458 249.984375
2459 ],
2460 "flags": [],
2461 "order": 26,
2462 "mode": 0,
2463 "inputs": [
2464 {
2465 "localized_name": "string_a",
2466 "name": "string_a",
2467 "type": "STRING",
2468 "widget": {
2469 "name": "string_a"
2470 },
2471 "link": 137
2472 },
2473 {
2474 "localized_name": "string_b",
2475 "name": "string_b",
2476 "type": "STRING",
2477 "widget": {
2478 "name": "string_b"
2479 },
2480 "link": 307
2481 }
2482 ],
2483 "outputs": [
2484 {
2485 "localized_name": "STRING",
2486 "name": "STRING",
2487 "type": "STRING",
2488 "links": [
2489 140
2490 ]
2491 }
2492 ],
2493 "properties": {
2494 "Node name for S&R": "StringConcatenate",
2495 "cnr_id": "comfy-core",
2496 "ver": "0.24.0"
2497 },
2498 "widgets_values": [
2499 "",
2500 "",
2501 ""
2502 ]
2503 },
2504 {
2505 "id": 62,
2506 "type": "PrimitiveInt",
2507 "pos": [
2508 2460,
2509 4240
2510 ],
2511 "size": [
2512 270,
2513 109.984375
2514 ],
2515 "flags": [],
2516 "order": 1,
2517 "mode": 0,
2518 "inputs": [],
2519 "outputs": [
2520 {
2521 "localized_name": "INT",
2522 "name": "INT",
2523 "type": "INT",
2524 "links": [
2525 141
2526 ]
2527 }
2528 ],
2529 "title": "Int (Steps)",
2530 "properties": {
2531 "Node name for S&R": "PrimitiveInt",
2532 "cnr_id": "comfy-core",
2533 "ver": "0.24.0"
2534 },
2535 "widgets_values": [
2536 40,
2537 "fixed"
2538 ]
2539 },
2540 {
2541 "id": 63,
2542 "type": "PrimitiveInt",
2543 "pos": [
2544 2470,
2545 4780
2546 ],
2547 "size": [
2548 270,
2549 109.984375
2550 ],
2551 "flags": [],
2552 "order": 2,
2553 "mode": 0,
2554 "inputs": [],
2555 "outputs": [
2556 {
2557 "localized_name": "INT",
2558 "name": "INT",
2559 "type": "INT",
2560 "links": [
2561 142
2562 ]
2563 }
2564 ],
2565 "title": "Int (Steps)",
2566 "properties": {
2567 "Node name for S&R": "PrimitiveInt",
2568 "cnr_id": "comfy-core",
2569 "ver": "0.24.0"
2570 },
2571 "widgets_values": [
2572 6,
2573 "fixed"
2574 ]
2575 },
2576 {
2577 "id": 64,
2578 "type": "ComfySwitchNode",
2579 "pos": [
2580 2860,
2581 4710
2582 ],
2583 "size": [
2584 270,
2585 129.984375
2586 ],
2587 "flags": [],
2588 "order": 27,
2589 "mode": 0,
2590 "inputs": [
2591 {
2592 "localized_name": "on_false",
2593 "name": "on_false",
2594 "type": "INT",
2595 "link": 141
2596 },
2597 {
2598 "localized_name": "on_true",
2599 "name": "on_true",
2600 "type": "INT",
2601 "link": 142
2602 },
2603 {
2604 "localized_name": "switch",
2605 "name": "switch",
2606 "type": "BOOLEAN",
2607 "widget": {
2608 "name": "switch"
2609 },
2610 "link": 149
2611 }
2612 ],
2613 "outputs": [
2614 {
2615 "localized_name": "output",
2616 "name": "output",
2617 "type": "INT",
2618 "links": [
2619 143
2620 ]
2621 }
2622 ],
2623 "title": "Switch (Steps)",
2624 "properties": {
2625 "Node name for S&R": "ComfySwitchNode",
2626 "cnr_id": "comfy-core",
2627 "ver": "0.24.0"
2628 },
2629 "widgets_values": [
2630 false
2631 ]
2632 },
2633 {
2634 "id": 66,
2635 "type": "PrimitiveInt",
2636 "pos": [
2637 2460,
2638 4400
2639 ],
2640 "size": [
2641 270,
2642 109.984375
2643 ],
2644 "flags": [],
2645 "order": 3,
2646 "mode": 0,
2647 "inputs": [],
2648 "outputs": [
2649 {
2650 "localized_name": "INT",
2651 "name": "INT",
2652 "type": "INT",
2653 "links": [
2654 144
2655 ]
2656 }
2657 ],
2658 "title": "Int (Split Steps)",
2659 "properties": {
2660 "Node name for S&R": "PrimitiveInt",
2661 "cnr_id": "comfy-core",
2662 "ver": "0.24.0"
2663 },
2664 "widgets_values": [
2665 20,
2666 "fixed"
2667 ]
2668 },
2669 {
2670 "id": 67,
2671 "type": "PrimitiveInt",
2672 "pos": [
2673 2470,
2674 4950
2675 ],
2676 "size": [
2677 270,
2678 109.984375
2679 ],
2680 "flags": [],
2681 "order": 4,
2682 "mode": 0,
2683 "inputs": [],
2684 "outputs": [
2685 {
2686 "localized_name": "INT",
2687 "name": "INT",
2688 "type": "INT",
2689 "links": [
2690 145
2691 ]
2692 }
2693 ],
2694 "title": "Int (Split Steps)",
2695 "properties": {
2696 "Node name for S&R": "PrimitiveInt",
2697 "cnr_id": "comfy-core",
2698 "ver": "0.24.0"
2699 },
2700 "widgets_values": [
2701 3,
2702 "fixed"
2703 ]
2704 },
2705 {
2706 "id": 68,
2707 "type": "ComfySwitchNode",
2708 "pos": [
2709 2860,
2710 4910
2711 ],
2712 "size": [
2713 270,
2714 129.984375
2715 ],
2716 "flags": [],
2717 "order": 28,
2718 "mode": 0,
2719 "inputs": [
2720 {
2721 "localized_name": "on_false",
2722 "name": "on_false",
2723 "type": "INT",
2724 "link": 144
2725 },
2726 {
2727 "localized_name": "on_true",
2728 "name": "on_true",
2729 "type": "INT",
2730 "link": 145
2731 },
2732 {
2733 "localized_name": "switch",
2734 "name": "switch",
2735 "type": "BOOLEAN",
2736 "widget": {
2737 "name": "switch"
2738 },
2739 "link": 150
2740 }
2741 ],
2742 "outputs": [
2743 {
2744 "localized_name": "output",
2745 "name": "output",
2746 "type": "INT",
2747 "links": [
2748 146
2749 ]
2750 }
2751 ],
2752 "title": "Switch (Low Steps)",
2753 "properties": {
2754 "Node name for S&R": "ComfySwitchNode",
2755 "cnr_id": "comfy-core",
2756 "ver": "0.24.0"
2757 },
2758 "widgets_values": [
2759 false
2760 ]
2761 },
2762 {
2763 "id": 72,
2764 "type": "ComfySwitchNode",
2765 "pos": [
2766 2860,
2767 5100
2768 ],
2769 "size": [
2770 270,
2771 129.984375
2772 ],
2773 "flags": [],
2774 "order": 30,
2775 "mode": 0,
2776 "inputs": [
2777 {
2778 "localized_name": "on_false",
2779 "name": "on_false",
2780 "type": "FLOAT",
2781 "link": 151
2782 },
2783 {
2784 "localized_name": "on_true",
2785 "name": "on_true",
2786 "type": "FLOAT",
2787 "link": 152
2788 },
2789 {
2790 "localized_name": "switch",
2791 "name": "switch",
2792 "type": "BOOLEAN",
2793 "widget": {
2794 "name": "switch"
2795 },
2796 "link": 155
2797 }
2798 ],
2799 "outputs": [
2800 {
2801 "localized_name": "output",
2802 "name": "output",
2803 "type": "FLOAT",
2804 "links": [
2805 153,
2806 154
2807 ]
2808 }
2809 ],
2810 "title": "Switch (CFG)",
2811 "properties": {
2812 "Node name for S&R": "ComfySwitchNode",
2813 "cnr_id": "comfy-core",
2814 "ver": "0.24.0"
2815 },
2816 "widgets_values": [
2817 false
2818 ]
2819 },
2820 {
2821 "id": 73,
2822 "type": "PrimitiveFloat",
2823 "pos": [
2824 2470,
2825 5110
2826 ],
2827 "size": [
2828 270,
2829 109.984375
2830 ],
2831 "flags": [],
2832 "order": 5,
2833 "mode": 0,
2834 "inputs": [],
2835 "outputs": [
2836 {
2837 "localized_name": "FLOAT",
2838 "name": "FLOAT",
2839 "type": "FLOAT",
2840 "links": [
2841 152
2842 ]
2843 }
2844 ],
2845 "title": "Float (CFG)",
2846 "properties": {
2847 "Node name for S&R": "PrimitiveFloat",
2848 "cnr_id": "comfy-core",
2849 "ver": "0.24.0"
2850 },
2851 "widgets_values": [
2852 1
2853 ]
2854 },
2855 {
2856 "id": 71,
2857 "type": "PrimitiveFloat",
2858 "pos": [
2859 2460,
2860 4560
2861 ],
2862 "size": [
2863 270,
2864 109.984375
2865 ],
2866 "flags": [],
2867 "order": 6,
2868 "mode": 0,
2869 "inputs": [],
2870 "outputs": [
2871 {
2872 "localized_name": "FLOAT",
2873 "name": "FLOAT",
2874 "type": "FLOAT",
2875 "links": [
2876 151
2877 ]
2878 }
2879 ],
2880 "title": "Float (CFG)",
2881 "properties": {
2882 "Node name for S&R": "PrimitiveFloat",
2883 "cnr_id": "comfy-core",
2884 "ver": "0.24.0"
2885 },
2886 "widgets_values": [
2887 5
2888 ]
2889 },
2890 {
2891 "id": 70,
2892 "type": "PrimitiveBoolean",
2893 "pos": [
2894 2470,
2895 5290
2896 ],
2897 "size": [
2898 270,
2899 99.984375
2900 ],
2901 "flags": [],
2902 "order": 29,
2903 "mode": 0,
2904 "inputs": [
2905 {
2906 "localized_name": "value",
2907 "name": "value",
2908 "type": "BOOLEAN",
2909 "widget": {
2910 "name": "value"
2911 },
2912 "link": 170
2913 }
2914 ],
2915 "outputs": [
2916 {
2917 "localized_name": "BOOLEAN",
2918 "name": "BOOLEAN",
2919 "type": "BOOLEAN",
2920 "links": [
2921 147,
2922 148,
2923 149,
2924 150,
2925 155
2926 ]
2927 }
2928 ],
2929 "title": "Boolean (Enable Turbo LoRA?)",
2930 "properties": {
2931 "Node name for S&R": "PrimitiveBoolean",
2932 "cnr_id": "comfy-core",
2933 "ver": "0.24.0"
2934 },
2935 "widgets_values": [
2936 true
2937 ]
2938 },
2939 {
2940 "id": 52,
2941 "type": "ComfySwitchNode",
2942 "pos": [
2943 2860,
2944 4330
2945 ],
2946 "size": [
2947 270,
2948 129.984375
2949 ],
2950 "flags": [],
2951 "order": 22,
2952 "mode": 0,
2953 "inputs": [
2954 {
2955 "localized_name": "on_false",
2956 "name": "on_false",
2957 "type": "MODEL",
2958 "link": 130
2959 },
2960 {
2961 "localized_name": "on_true",
2962 "name": "on_true",
2963 "type": "MODEL",
2964 "link": 129
2965 },
2966 {
2967 "localized_name": "switch",
2968 "name": "switch",
2969 "type": "BOOLEAN",
2970 "widget": {
2971 "name": "switch"
2972 },
2973 "link": 147
2974 }
2975 ],
2976 "outputs": [
2977 {
2978 "localized_name": "output",
2979 "name": "output",
2980 "type": "MODEL",
2981 "links": [
2982 133
2983 ]
2984 }
2985 ],
2986 "title": "Switch (High Noise)",
2987 "properties": {
2988 "Node name for S&R": "ComfySwitchNode",
2989 "cnr_id": "comfy-core",
2990 "ver": "0.24.0"
2991 },
2992 "widgets_values": [
2993 false
2994 ]
2995 },
2996 {
2997 "id": 75,
2998 "type": "MarkdownNote",
2999 "pos": [
3000 2450,
3001 3950
3002 ],
3003 "size": [
3004 339.984375,
3005 150
3006 ],
3007 "flags": [],
3008 "order": 7,
3009 "mode": 0,
3010 "inputs": [],
3011 "outputs": [],
3012 "properties": [],
3013 "widgets_values": [
3014 "You can find the original settings here: https://github.com/bytedance/Bernini/blob/main/gradio_demo.py"
3015 ],
3016 "color": "#222",
3017 "bgcolor": "#000"
3018 },
3019 {
3020 "id": 120,
3021 "type": "PrimitiveStringMultiline",
3022 "pos": [
3023 890,
3024 3750
3025 ],
3026 "size": [
3027 469.984375,
3028 289.984375
3029 ],
3030 "flags": [],
3031 "order": 31,
3032 "mode": 0,
3033 "inputs": [
3034 {
3035 "localized_name": "value",
3036 "name": "value",
3037 "type": "STRING",
3038 "widget": {
3039 "name": "value"
3040 },
3041 "link": 308
3042 }
3043 ],
3044 "outputs": [
3045 {
3046 "localized_name": "STRING",
3047 "name": "STRING",
3048 "type": "STRING",
3049 "links": [
3050 307
3051 ]
3052 }
3053 ],
3054 "title": "Text Multiline (User Prompt)",
3055 "properties": {
3056 "Node name for S&R": "PrimitiveStringMultiline",
3057 "cnr_id": "comfy-core",
3058 "ver": "0.24.0"
3059 },
3060 "widgets_values": [
3061 "make it night"
3062 ]
3063 }
3064 ],
3065 "groups": [
3066 {
3067 "id": 1,
3068 "title": "Prompt & Conditioning",
3069 "bounding": [
3070 1650,
3071 4130,
3072 760,
3073 1270
3074 ],
3075 "color": "#3f789e",
3076 "flags": []
3077 },
3078 {
3079 "id": 2,
3080 "title": "Models",
3081 "bounding": [
3082 870,
3083 4130,
3084 750,
3085 1270
3086 ],
3087 "color": "#3f789e",
3088 "flags": []
3089 },
3090 {
3091 "id": 3,
3092 "title": "Sampling",
3093 "bounding": [
3094 3210,
3095 4130,
3096 1160,
3097 1270
3098 ],
3099 "color": "#3f789e",
3100 "flags": []
3101 },
3102 {
3103 "id": 8,
3104 "title": "Prompt Construction",
3105 "bounding": [
3106 870,
3107 2960,
3108 960,
3109 1120
3110 ],
3111 "color": "#3f789e",
3112 "flags": []
3113 },
3114 {
3115 "id": 4,
3116 "title": "System Prompt (Based on task type)",
3117 "bounding": [
3118 880,
3119 3000,
3120 920,
3121 680
3122 ],
3123 "color": "#3f789e",
3124 "flags": []
3125 },
3126 {
3127 "id": 7,
3128 "title": "Switch Settings",
3129 "bounding": [
3130 2440,
3131 4130,
3132 740,
3133 1270
3134 ],
3135 "color": "#3f789e",
3136 "flags": []
3137 },
3138 {
3139 "id": 5,
3140 "title": "Distill LoRA settings",
3141 "bounding": [
3142 2450,
3143 4710,
3144 310,
3145 530
3146 ],
3147 "color": "#3f789e",
3148 "flags": []
3149 },
3150 {
3151 "id": 6,
3152 "title": "Original Settings",
3153 "bounding": [
3154 2450,
3155 4170,
3156 300,
3157 504
3158 ],
3159 "color": "#3f789e",
3160 "flags": []
3161 }
3162 ],
3163 "links": [
3164 {
3165 "id": 128,
3166 "origin_id": 12,
3167 "origin_slot": 0,
3168 "target_id": 29,
3169 "target_slot": 0,
3170 "type": "MODEL"
3171 },
3172 {
3173 "id": 8,
3174 "origin_id": 9,
3175 "origin_slot": 0,
3176 "target_id": 4,
3177 "target_slot": 0,
3178 "type": "CLIP"
3179 },
3180 {
3181 "id": 33,
3182 "origin_id": 18,
3183 "origin_slot": 0,
3184 "target_id": 17,
3185 "target_slot": 0,
3186 "type": "SIGMAS"
3187 },
3188 {
3189 "id": 146,
3190 "origin_id": 68,
3191 "origin_slot": 0,
3192 "target_id": 17,
3193 "target_slot": 1,
3194 "type": "INT"
3195 },
3196 {
3197 "id": 127,
3198 "origin_id": 5,
3199 "origin_slot": 0,
3200 "target_id": 11,
3201 "target_slot": 0,
3202 "type": "MODEL"
3203 },
3204 {
3205 "id": 31,
3206 "origin_id": 15,
3207 "origin_slot": 0,
3208 "target_id": 16,
3209 "target_slot": 0,
3210 "type": "LATENT"
3211 },
3212 {
3213 "id": 99,
3214 "origin_id": 7,
3215 "origin_slot": 0,
3216 "target_id": 16,
3217 "target_slot": 1,
3218 "type": "VAE"
3219 },
3220 {
3221 "id": 133,
3222 "origin_id": 52,
3223 "origin_slot": 0,
3224 "target_id": 19,
3225 "target_slot": 0,
3226 "type": "MODEL"
3227 },
3228 {
3229 "id": 121,
3230 "origin_id": 50,
3231 "origin_slot": 0,
3232 "target_id": 19,
3233 "target_slot": 1,
3234 "type": "CONDITIONING"
3235 },
3236 {
3237 "id": 123,
3238 "origin_id": 50,
3239 "origin_slot": 1,
3240 "target_id": 19,
3241 "target_slot": 2,
3242 "type": "CONDITIONING"
3243 },
3244 {
3245 "id": 53,
3246 "origin_id": 27,
3247 "origin_slot": 0,
3248 "target_id": 19,
3249 "target_slot": 3,
3250 "type": "SAMPLER"
3251 },
3252 {
3253 "id": 41,
3254 "origin_id": 17,
3255 "origin_slot": 0,
3256 "target_id": 19,
3257 "target_slot": 4,
3258 "type": "SIGMAS"
3259 },
3260 {
3261 "id": 125,
3262 "origin_id": 50,
3263 "origin_slot": 2,
3264 "target_id": 19,
3265 "target_slot": 5,
3266 "type": "LATENT"
3267 },
3268 {
3269 "id": 153,
3270 "origin_id": 72,
3271 "origin_slot": 0,
3272 "target_id": 19,
3273 "target_slot": 7,
3274 "type": "FLOAT"
3275 },
3276 {
3277 "id": 34,
3278 "origin_id": 12,
3279 "origin_slot": 0,
3280 "target_id": 18,
3281 "target_slot": 0,
3282 "type": "MODEL"
3283 },
3284 {
3285 "id": 143,
3286 "origin_id": 64,
3287 "origin_slot": 0,
3288 "target_id": 18,
3289 "target_slot": 1,
3290 "type": "INT"
3291 },
3292 {
3293 "id": 134,
3294 "origin_id": 53,
3295 "origin_slot": 0,
3296 "target_id": 15,
3297 "target_slot": 0,
3298 "type": "MODEL"
3299 },
3300 {
3301 "id": 122,
3302 "origin_id": 50,
3303 "origin_slot": 0,
3304 "target_id": 15,
3305 "target_slot": 1,
3306 "type": "CONDITIONING"
3307 },
3308 {
3309 "id": 124,
3310 "origin_id": 50,
3311 "origin_slot": 1,
3312 "target_id": 15,
3313 "target_slot": 2,
3314 "type": "CONDITIONING"
3315 },
3316 {
3317 "id": 56,
3318 "origin_id": 27,
3319 "origin_slot": 0,
3320 "target_id": 15,
3321 "target_slot": 3,
3322 "type": "SAMPLER"
3323 },
3324 {
3325 "id": 42,
3326 "origin_id": 17,
3327 "origin_slot": 1,
3328 "target_id": 15,
3329 "target_slot": 4,
3330 "type": "SIGMAS"
3331 },
3332 {
3333 "id": 40,
3334 "origin_id": 19,
3335 "origin_slot": 0,
3336 "target_id": 15,
3337 "target_slot": 5,
3338 "type": "LATENT"
3339 },
3340 {
3341 "id": 154,
3342 "origin_id": 72,
3343 "origin_slot": 0,
3344 "target_id": 15,
3345 "target_slot": 6,
3346 "type": "FLOAT"
3347 },
3348 {
3349 "id": 117,
3350 "origin_id": 3,
3351 "origin_slot": 0,
3352 "target_id": 50,
3353 "target_slot": 0,
3354 "type": "CONDITIONING"
3355 },
3356 {
3357 "id": 118,
3358 "origin_id": 4,
3359 "origin_slot": 0,
3360 "target_id": 50,
3361 "target_slot": 1,
3362 "type": "CONDITIONING"
3363 },
3364 {
3365 "id": 119,
3366 "origin_id": 7,
3367 "origin_slot": 0,
3368 "target_id": 50,
3369 "target_slot": 2,
3370 "type": "VAE"
3371 },
3372 {
3373 "id": 7,
3374 "origin_id": 9,
3375 "origin_slot": 0,
3376 "target_id": 3,
3377 "target_slot": 0,
3378 "type": "CLIP"
3379 },
3380 {
3381 "id": 140,
3382 "origin_id": 59,
3383 "origin_slot": 0,
3384 "target_id": 3,
3385 "target_slot": 1,
3386 "type": "STRING"
3387 },
3388 {
3389 "id": 131,
3390 "origin_id": 12,
3391 "origin_slot": 0,
3392 "target_id": 53,
3393 "target_slot": 0,
3394 "type": "MODEL"
3395 },
3396 {
3397 "id": 132,
3398 "origin_id": 29,
3399 "origin_slot": 0,
3400 "target_id": 53,
3401 "target_slot": 1,
3402 "type": "MODEL"
3403 },
3404 {
3405 "id": 148,
3406 "origin_id": 70,
3407 "origin_slot": 0,
3408 "target_id": 53,
3409 "target_slot": 2,
3410 "type": "BOOLEAN"
3411 },
3412 {
3413 "id": 135,
3414 "origin_id": 54,
3415 "origin_slot": 1,
3416 "target_id": 57,
3417 "target_slot": 0,
3418 "type": "INT"
3419 },
3420 {
3421 "id": 137,
3422 "origin_id": 57,
3423 "origin_slot": 0,
3424 "target_id": 59,
3425 "target_slot": 0,
3426 "type": "STRING"
3427 },
3428 {
3429 "id": 141,
3430 "origin_id": 62,
3431 "origin_slot": 0,
3432 "target_id": 64,
3433 "target_slot": 0,
3434 "type": "INT"
3435 },
3436 {
3437 "id": 142,
3438 "origin_id": 63,
3439 "origin_slot": 0,
3440 "target_id": 64,
3441 "target_slot": 1,
3442 "type": "INT"
3443 },
3444 {
3445 "id": 149,
3446 "origin_id": 70,
3447 "origin_slot": 0,
3448 "target_id": 64,
3449 "target_slot": 2,
3450 "type": "BOOLEAN"
3451 },
3452 {
3453 "id": 144,
3454 "origin_id": 66,
3455 "origin_slot": 0,
3456 "target_id": 68,
3457 "target_slot": 0,
3458 "type": "INT"
3459 },
3460 {
3461 "id": 145,
3462 "origin_id": 67,
3463 "origin_slot": 0,
3464 "target_id": 68,
3465 "target_slot": 1,
3466 "type": "INT"
3467 },
3468 {
3469 "id": 150,
3470 "origin_id": 70,
3471 "origin_slot": 0,
3472 "target_id": 68,
3473 "target_slot": 2,
3474 "type": "BOOLEAN"
3475 },
3476 {
3477 "id": 151,
3478 "origin_id": 71,
3479 "origin_slot": 0,
3480 "target_id": 72,
3481 "target_slot": 0,
3482 "type": "FLOAT"
3483 },
3484 {
3485 "id": 152,
3486 "origin_id": 73,
3487 "origin_slot": 0,
3488 "target_id": 72,
3489 "target_slot": 1,
3490 "type": "FLOAT"
3491 },
3492 {
3493 "id": 155,
3494 "origin_id": 70,
3495 "origin_slot": 0,
3496 "target_id": 72,
3497 "target_slot": 2,
3498 "type": "BOOLEAN"
3499 },
3500 {
3501 "id": 130,
3502 "origin_id": 5,
3503 "origin_slot": 0,
3504 "target_id": 52,
3505 "target_slot": 0,
3506 "type": "MODEL"
3507 },
3508 {
3509 "id": 129,
3510 "origin_id": 11,
3511 "origin_slot": 0,
3512 "target_id": 52,
3513 "target_slot": 1,
3514 "type": "MODEL"
3515 },
3516 {
3517 "id": 147,
3518 "origin_id": 70,
3519 "origin_slot": 0,
3520 "target_id": 52,
3521 "target_slot": 2,
3522 "type": "BOOLEAN"
3523 },
3524 {
3525 "id": 162,
3526 "origin_id": -10,
3527 "origin_slot": 1,
3528 "target_id": 50,
3529 "target_slot": 4,
3530 "type": "IMAGE"
3531 },
3532 {
3533 "id": 163,
3534 "origin_id": -10,
3535 "origin_slot": 2,
3536 "target_id": 50,
3537 "target_slot": 5,
3538 "type": "IMAGE"
3539 },
3540 {
3541 "id": 165,
3542 "origin_id": -10,
3543 "origin_slot": 4,
3544 "target_id": 54,
3545 "target_slot": 0,
3546 "type": "COMBO"
3547 },
3548 {
3549 "id": 166,
3550 "origin_id": -10,
3551 "origin_slot": 5,
3552 "target_id": 50,
3553 "target_slot": 7,
3554 "type": "INT"
3555 },
3556 {
3557 "id": 167,
3558 "origin_id": -10,
3559 "origin_slot": 6,
3560 "target_id": 50,
3561 "target_slot": 8,
3562 "type": "INT"
3563 },
3564 {
3565 "id": 169,
3566 "origin_id": -10,
3567 "origin_slot": 7,
3568 "target_id": 50,
3569 "target_slot": 10,
3570 "type": "INT"
3571 },
3572 {
3573 "id": 170,
3574 "origin_id": -10,
3575 "origin_slot": 8,
3576 "target_id": 70,
3577 "target_slot": 0,
3578 "type": "BOOLEAN"
3579 },
3580 {
3581 "id": 171,
3582 "origin_id": -10,
3583 "origin_slot": 9,
3584 "target_id": 5,
3585 "target_slot": 0,
3586 "type": "COMBO"
3587 },
3588 {
3589 "id": 173,
3590 "origin_id": -10,
3591 "origin_slot": 10,
3592 "target_id": 12,
3593 "target_slot": 0,
3594 "type": "COMBO"
3595 },
3596 {
3597 "id": 174,
3598 "origin_id": -10,
3599 "origin_slot": 11,
3600 "target_id": 11,
3601 "target_slot": 1,
3602 "type": "COMBO"
3603 },
3604 {
3605 "id": 175,
3606 "origin_id": -10,
3607 "origin_slot": 11,
3608 "target_id": 29,
3609 "target_slot": 1,
3610 "type": "COMBO"
3611 },
3612 {
3613 "id": 176,
3614 "origin_id": -10,
3615 "origin_slot": 12,
3616 "target_id": 9,
3617 "target_slot": 0,
3618 "type": "COMBO"
3619 },
3620 {
3621 "id": 177,
3622 "origin_id": -10,
3623 "origin_slot": 13,
3624 "target_id": 7,
3625 "target_slot": 0,
3626 "type": "COMBO"
3627 },
3628 {
3629 "id": 283,
3630 "origin_id": -10,
3631 "origin_slot": 14,
3632 "target_id": 19,
3633 "target_slot": 6,
3634 "type": "INT"
3635 },
3636 {
3637 "id": 294,
3638 "origin_id": -10,
3639 "origin_slot": 0,
3640 "target_id": 50,
3641 "target_slot": 3,
3642 "type": "IMAGE"
3643 },
3644 {
3645 "id": 295,
3646 "origin_id": -10,
3647 "origin_slot": 15,
3648 "target_id": 50,
3649 "target_slot": 9,
3650 "type": "INT"
3651 },
3652 {
3653 "id": 297,
3654 "origin_id": 16,
3655 "origin_slot": 0,
3656 "target_id": -20,
3657 "target_slot": 0,
3658 "type": "IMAGE"
3659 },
3660 {
3661 "id": 307,
3662 "origin_id": 120,
3663 "origin_slot": 0,
3664 "target_id": 59,
3665 "target_slot": 1,
3666 "type": "STRING"
3667 },
3668 {
3669 "id": 308,
3670 "origin_id": -10,
3671 "origin_slot": 3,
3672 "target_id": 120,
3673 "target_slot": 0,
3674 "type": "STRING"
3675 }
3676 ],
3677 "extra": []
3678 }
3679 ]
3680 },
3681 "config": [],
3682 "extra": {
3683 "ds": {
3684 "scale": 0.26571767296288623,
3685 "offset": [
3686 -1310.5478517889846,
3687 -3631.488721258115
3688 ]
3689 },
3690 "frontendVersion": "1.45.15",
3691 "VHS_latentpreview": false,
3692 "VHS_latentpreviewrate": 0,
3693 "VHS_MetadataImage": true,
3694 "VHS_KeepIntermediate": true
3695 },
3696 "version": 0.4
3697}