machineminded

DMD2 with Facedetailer

Mar 26th, 2025 (edited)
1,487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.82 KB | None | 0 0
  1. {
  2. "last_node_id": 16,
  3. "last_link_id": 28,
  4. "nodes": [
  5. {
  6. "id": 2,
  7. "type": "LoraLoader",
  8. "pos": [
  9. 42,
  10. 236
  11. ],
  12. "size": [
  13. 315,
  14. 126
  15. ],
  16. "flags": {},
  17. "order": 4,
  18. "mode": 0,
  19. "inputs": [
  20. {
  21. "name": "model",
  22. "localized_name": "model",
  23. "type": "MODEL",
  24. "link": 5
  25. },
  26. {
  27. "name": "clip",
  28. "localized_name": "clip",
  29. "type": "CLIP",
  30. "link": 7
  31. }
  32. ],
  33. "outputs": [
  34. {
  35. "name": "MODEL",
  36. "localized_name": "MODEL",
  37. "type": "MODEL",
  38. "links": [
  39. 13
  40. ],
  41. "slot_index": 0
  42. },
  43. {
  44. "name": "CLIP",
  45. "localized_name": "CLIP",
  46. "type": "CLIP",
  47. "links": [
  48. 14
  49. ],
  50. "slot_index": 1
  51. }
  52. ],
  53. "properties": {
  54. "Node name for S&R": "LoraLoader"
  55. },
  56. "widgets_values": [
  57. "dmd2_sdxl_4step_lora.safetensors",
  58. 1,
  59. 1
  60. ]
  61. },
  62. {
  63. "id": 9,
  64. "type": "PreviewImage",
  65. "pos": [
  66. 2398,
  67. 76
  68. ],
  69. "size": [
  70. 522.6699829101562,
  71. 565.47998046875
  72. ],
  73. "flags": {},
  74. "order": 12,
  75. "mode": 0,
  76. "inputs": [
  77. {
  78. "name": "images",
  79. "localized_name": "images",
  80. "type": "IMAGE",
  81. "link": 20
  82. }
  83. ],
  84. "outputs": [],
  85. "properties": {
  86. "Node name for S&R": "PreviewImage"
  87. },
  88. "widgets_values": []
  89. },
  90. {
  91. "id": 1,
  92. "type": "CheckpointLoaderSimple",
  93. "pos": [
  94. 43,
  95. 68
  96. ],
  97. "size": [
  98. 315,
  99. 98
  100. ],
  101. "flags": {},
  102. "order": 0,
  103. "mode": 0,
  104. "inputs": [],
  105. "outputs": [
  106. {
  107. "name": "MODEL",
  108. "localized_name": "MODEL",
  109. "type": "MODEL",
  110. "links": [
  111. 5
  112. ],
  113. "slot_index": 0
  114. },
  115. {
  116. "name": "CLIP",
  117. "localized_name": "CLIP",
  118. "type": "CLIP",
  119. "links": [
  120. 7
  121. ],
  122. "slot_index": 1
  123. },
  124. {
  125. "name": "VAE",
  126. "localized_name": "VAE",
  127. "type": "VAE",
  128. "links": [
  129. 11,
  130. 23
  131. ],
  132. "slot_index": 2
  133. }
  134. ],
  135. "properties": {
  136. "Node name for S&R": "CheckpointLoaderSimple"
  137. },
  138. "widgets_values": [
  139. "bigLust_v16.safetensors"
  140. ]
  141. },
  142. {
  143. "id": 10,
  144. "type": "LoraLoader",
  145. "pos": [
  146. 38,
  147. 449
  148. ],
  149. "size": [
  150. 315,
  151. 126
  152. ],
  153. "flags": {},
  154. "order": 5,
  155. "mode": 0,
  156. "inputs": [
  157. {
  158. "name": "model",
  159. "localized_name": "model",
  160. "type": "MODEL",
  161. "link": 13
  162. },
  163. {
  164. "name": "clip",
  165. "localized_name": "clip",
  166. "type": "CLIP",
  167. "link": 14
  168. }
  169. ],
  170. "outputs": [
  171. {
  172. "name": "MODEL",
  173. "localized_name": "MODEL",
  174. "type": "MODEL",
  175. "links": [
  176. 17
  177. ],
  178. "slot_index": 0
  179. },
  180. {
  181. "name": "CLIP",
  182. "localized_name": "CLIP",
  183. "type": "CLIP",
  184. "links": [
  185. 15,
  186. 16,
  187. 24
  188. ],
  189. "slot_index": 1
  190. }
  191. ],
  192. "properties": {
  193. "Node name for S&R": "LoraLoader"
  194. },
  195. "widgets_values": [
  196. "people\\taylor-swift-biglust16-v2.safetensors",
  197. 1,
  198. 1
  199. ]
  200. },
  201. {
  202. "id": 4,
  203. "type": "CLIPTextEncode",
  204. "pos": [
  205. 498,
  206. 70
  207. ],
  208. "size": [
  209. 400,
  210. 200
  211. ],
  212. "flags": {},
  213. "order": 7,
  214. "mode": 0,
  215. "inputs": [
  216. {
  217. "name": "clip",
  218. "localized_name": "clip",
  219. "type": "CLIP",
  220. "link": 15
  221. }
  222. ],
  223. "outputs": [
  224. {
  225. "name": "CONDITIONING",
  226. "localized_name": "CONDITIONING",
  227. "type": "CONDITIONING",
  228. "links": [
  229. 2,
  230. 25
  231. ],
  232. "slot_index": 0
  233. }
  234. ],
  235. "properties": {
  236. "Node name for S&R": "CLIPTextEncode"
  237. },
  238. "widgets_values": [
  239. "1girl, solo, taylor swift, wearing a cheerleading uniform"
  240. ]
  241. },
  242. {
  243. "id": 8,
  244. "type": "EmptyLatentImage",
  245. "pos": [
  246. 558,
  247. 655
  248. ],
  249. "size": [
  250. 315,
  251. 106
  252. ],
  253. "flags": {},
  254. "order": 1,
  255. "mode": 0,
  256. "inputs": [],
  257. "outputs": [
  258. {
  259. "name": "LATENT",
  260. "localized_name": "LATENT",
  261. "type": "LATENT",
  262. "links": [
  263. 4
  264. ],
  265. "slot_index": 0
  266. }
  267. ],
  268. "properties": {
  269. "Node name for S&R": "EmptyLatentImage"
  270. },
  271. "widgets_values": [
  272. 768,
  273. 1344,
  274. 1
  275. ]
  276. },
  277. {
  278. "id": 5,
  279. "type": "CLIPTextEncode",
  280. "pos": [
  281. 501,
  282. 333
  283. ],
  284. "size": [
  285. 400,
  286. 200
  287. ],
  288. "flags": {},
  289. "order": 8,
  290. "mode": 0,
  291. "inputs": [
  292. {
  293. "name": "clip",
  294. "localized_name": "clip",
  295. "type": "CLIP",
  296. "link": 16
  297. }
  298. ],
  299. "outputs": [
  300. {
  301. "name": "CONDITIONING",
  302. "localized_name": "CONDITIONING",
  303. "type": "CONDITIONING",
  304. "links": [
  305. 3,
  306. 26
  307. ],
  308. "slot_index": 0
  309. }
  310. ],
  311. "properties": {
  312. "Node name for S&R": "CLIPTextEncode"
  313. },
  314. "widgets_values": [
  315. ""
  316. ]
  317. },
  318. {
  319. "id": 11,
  320. "type": "PatchModelAddDownscale",
  321. "pos": [
  322. -105,
  323. 675
  324. ],
  325. "size": [
  326. 529.199951171875,
  327. 202
  328. ],
  329. "flags": {},
  330. "order": 6,
  331. "mode": 4,
  332. "inputs": [
  333. {
  334. "name": "model",
  335. "localized_name": "model",
  336. "type": "MODEL",
  337. "link": 17
  338. }
  339. ],
  340. "outputs": [
  341. {
  342. "name": "MODEL",
  343. "localized_name": "MODEL",
  344. "type": "MODEL",
  345. "links": [
  346. 18,
  347. 27
  348. ],
  349. "slot_index": 0
  350. }
  351. ],
  352. "properties": {
  353. "Node name for S&R": "PatchModelAddDownscale"
  354. },
  355. "widgets_values": [
  356. 3,
  357. 2,
  358. 0,
  359. 0.35,
  360. true,
  361. "bicubic",
  362. "bicubic"
  363. ]
  364. },
  365. {
  366. "id": 6,
  367. "type": "KSampler",
  368. "pos": [
  369. 1058,
  370. 37
  371. ],
  372. "size": [
  373. 315,
  374. 262
  375. ],
  376. "flags": {},
  377. "order": 9,
  378. "mode": 0,
  379. "inputs": [
  380. {
  381. "name": "model",
  382. "localized_name": "model",
  383. "type": "MODEL",
  384. "link": 18
  385. },
  386. {
  387. "name": "positive",
  388. "localized_name": "positive",
  389. "type": "CONDITIONING",
  390. "link": 2
  391. },
  392. {
  393. "name": "negative",
  394. "localized_name": "negative",
  395. "type": "CONDITIONING",
  396. "link": 3
  397. },
  398. {
  399. "name": "latent_image",
  400. "localized_name": "latent_image",
  401. "type": "LATENT",
  402. "link": 4
  403. }
  404. ],
  405. "outputs": [
  406. {
  407. "name": "LATENT",
  408. "localized_name": "LATENT",
  409. "type": "LATENT",
  410. "links": [
  411. 10
  412. ],
  413. "slot_index": 0
  414. }
  415. ],
  416. "properties": {
  417. "Node name for S&R": "KSampler"
  418. },
  419. "widgets_values": [
  420. 312827419503480,
  421. "randomize",
  422. 7,
  423. 1,
  424. "lcm",
  425. "karras",
  426. 1
  427. ]
  428. },
  429. {
  430. "id": 7,
  431. "type": "VAEDecode",
  432. "pos": [
  433. 1528.099853515625,
  434. 64.1100082397461
  435. ],
  436. "size": [
  437. 210,
  438. 46
  439. ],
  440. "flags": {
  441. "collapsed": true
  442. },
  443. "order": 10,
  444. "mode": 0,
  445. "inputs": [
  446. {
  447. "name": "samples",
  448. "localized_name": "samples",
  449. "type": "LATENT",
  450. "link": 10
  451. },
  452. {
  453. "name": "vae",
  454. "localized_name": "vae",
  455. "type": "VAE",
  456. "link": 11
  457. }
  458. ],
  459. "outputs": [
  460. {
  461. "name": "IMAGE",
  462. "localized_name": "IMAGE",
  463. "type": "IMAGE",
  464. "links": [
  465. 19
  466. ],
  467. "slot_index": 0
  468. }
  469. ],
  470. "properties": {
  471. "Node name for S&R": "VAEDecode"
  472. },
  473. "widgets_values": []
  474. },
  475. {
  476. "id": 16,
  477. "type": "UltralyticsDetectorProvider",
  478. "pos": [
  479. 1313.98046875,
  480. 534.31640625
  481. ],
  482. "size": [
  483. 340.20001220703125,
  484. 78
  485. ],
  486. "flags": {},
  487. "order": 2,
  488. "mode": 0,
  489. "inputs": [],
  490. "outputs": [
  491. {
  492. "name": "BBOX_DETECTOR",
  493. "localized_name": "BBOX_DETECTOR",
  494. "type": "BBOX_DETECTOR",
  495. "links": [
  496. 28
  497. ],
  498. "slot_index": 0
  499. },
  500. {
  501. "name": "SEGM_DETECTOR",
  502. "localized_name": "SEGM_DETECTOR",
  503. "type": "SEGM_DETECTOR",
  504. "links": null
  505. }
  506. ],
  507. "properties": {
  508. "Node name for S&R": "UltralyticsDetectorProvider"
  509. },
  510. "widgets_values": [
  511. "bbox/face_yolov8m.pt"
  512. ]
  513. },
  514. {
  515. "id": 13,
  516. "type": "SAMLoader",
  517. "pos": [
  518. 1355.232421875,
  519. 334.083251953125
  520. ],
  521. "size": [
  522. 315,
  523. 82
  524. ],
  525. "flags": {
  526. "collapsed": false
  527. },
  528. "order": 3,
  529. "mode": 0,
  530. "inputs": [],
  531. "outputs": [
  532. {
  533. "name": "SAM_MODEL",
  534. "localized_name": "SAM_MODEL",
  535. "type": "SAM_MODEL",
  536. "links": [
  537. 21
  538. ],
  539. "slot_index": 0
  540. }
  541. ],
  542. "properties": {
  543. "Node name for S&R": "SAMLoader"
  544. },
  545. "widgets_values": [
  546. "sam_vit_b_01ec64.pth",
  547. "AUTO"
  548. ]
  549. },
  550. {
  551. "id": 12,
  552. "type": "FaceDetailer",
  553. "pos": [
  554. 1794.385986328125,
  555. 84.84210205078125
  556. ],
  557. "size": [
  558. 519,
  559. 948
  560. ],
  561. "flags": {},
  562. "order": 11,
  563. "mode": 0,
  564. "inputs": [
  565. {
  566. "name": "image",
  567. "localized_name": "image",
  568. "type": "IMAGE",
  569. "link": 19
  570. },
  571. {
  572. "name": "model",
  573. "localized_name": "model",
  574. "type": "MODEL",
  575. "link": 27
  576. },
  577. {
  578. "name": "clip",
  579. "localized_name": "clip",
  580. "type": "CLIP",
  581. "link": 24
  582. },
  583. {
  584. "name": "vae",
  585. "localized_name": "vae",
  586. "type": "VAE",
  587. "link": 23
  588. },
  589. {
  590. "name": "positive",
  591. "localized_name": "positive",
  592. "type": "CONDITIONING",
  593. "link": 25
  594. },
  595. {
  596. "name": "negative",
  597. "localized_name": "negative",
  598. "type": "CONDITIONING",
  599. "link": 26
  600. },
  601. {
  602. "name": "bbox_detector",
  603. "localized_name": "bbox_detector",
  604. "type": "BBOX_DETECTOR",
  605. "link": 28
  606. },
  607. {
  608. "name": "sam_model_opt",
  609. "localized_name": "sam_model_opt",
  610. "type": "SAM_MODEL",
  611. "shape": 7,
  612. "link": 21
  613. },
  614. {
  615. "name": "segm_detector_opt",
  616. "localized_name": "segm_detector_opt",
  617. "type": "SEGM_DETECTOR",
  618. "shape": 7,
  619. "link": null
  620. },
  621. {
  622. "name": "detailer_hook",
  623. "localized_name": "detailer_hook",
  624. "type": "DETAILER_HOOK",
  625. "shape": 7,
  626. "link": null
  627. },
  628. {
  629. "name": "scheduler_func_opt",
  630. "localized_name": "scheduler_func_opt",
  631. "type": "SCHEDULER_FUNC",
  632. "shape": 7,
  633. "link": null
  634. }
  635. ],
  636. "outputs": [
  637. {
  638. "name": "image",
  639. "localized_name": "image",
  640. "type": "IMAGE",
  641. "links": [
  642. 20
  643. ],
  644. "slot_index": 0
  645. },
  646. {
  647. "name": "cropped_refined",
  648. "localized_name": "cropped_refined",
  649. "type": "IMAGE",
  650. "shape": 6,
  651. "links": null
  652. },
  653. {
  654. "name": "cropped_enhanced_alpha",
  655. "localized_name": "cropped_enhanced_alpha",
  656. "type": "IMAGE",
  657. "shape": 6,
  658. "links": null
  659. },
  660. {
  661. "name": "mask",
  662. "localized_name": "mask",
  663. "type": "MASK",
  664. "links": null
  665. },
  666. {
  667. "name": "detailer_pipe",
  668. "localized_name": "detailer_pipe",
  669. "type": "DETAILER_PIPE",
  670. "links": null
  671. },
  672. {
  673. "name": "cnet_images",
  674. "localized_name": "cnet_images",
  675. "type": "IMAGE",
  676. "shape": 6,
  677. "links": null
  678. }
  679. ],
  680. "properties": {
  681. "Node name for S&R": "FaceDetailer"
  682. },
  683. "widgets_values": [
  684. 720,
  685. true,
  686. 1024,
  687. 817377762813631,
  688. "randomize",
  689. 7,
  690. 1,
  691. "lcm",
  692. "karras",
  693. 0.3,
  694. 5,
  695. true,
  696. true,
  697. 0.5,
  698. 10,
  699. 3,
  700. "center-1",
  701. 0,
  702. 0.93,
  703. 0,
  704. 0.7,
  705. "False",
  706. 10,
  707. "",
  708. 2,
  709. false,
  710. 10,
  711. false,
  712. false
  713. ]
  714. }
  715. ],
  716. "links": [
  717. [
  718. 2,
  719. 4,
  720. 0,
  721. 6,
  722. 1,
  723. "CONDITIONING"
  724. ],
  725. [
  726. 3,
  727. 5,
  728. 0,
  729. 6,
  730. 2,
  731. "CONDITIONING"
  732. ],
  733. [
  734. 4,
  735. 8,
  736. 0,
  737. 6,
  738. 3,
  739. "LATENT"
  740. ],
  741. [
  742. 5,
  743. 1,
  744. 0,
  745. 2,
  746. 0,
  747. "MODEL"
  748. ],
  749. [
  750. 7,
  751. 1,
  752. 1,
  753. 2,
  754. 1,
  755. "CLIP"
  756. ],
  757. [
  758. 10,
  759. 6,
  760. 0,
  761. 7,
  762. 0,
  763. "LATENT"
  764. ],
  765. [
  766. 11,
  767. 1,
  768. 2,
  769. 7,
  770. 1,
  771. "VAE"
  772. ],
  773. [
  774. 13,
  775. 2,
  776. 0,
  777. 10,
  778. 0,
  779. "MODEL"
  780. ],
  781. [
  782. 14,
  783. 2,
  784. 1,
  785. 10,
  786. 1,
  787. "CLIP"
  788. ],
  789. [
  790. 15,
  791. 10,
  792. 1,
  793. 4,
  794. 0,
  795. "CLIP"
  796. ],
  797. [
  798. 16,
  799. 10,
  800. 1,
  801. 5,
  802. 0,
  803. "CLIP"
  804. ],
  805. [
  806. 17,
  807. 10,
  808. 0,
  809. 11,
  810. 0,
  811. "MODEL"
  812. ],
  813. [
  814. 18,
  815. 11,
  816. 0,
  817. 6,
  818. 0,
  819. "MODEL"
  820. ],
  821. [
  822. 19,
  823. 7,
  824. 0,
  825. 12,
  826. 0,
  827. "IMAGE"
  828. ],
  829. [
  830. 20,
  831. 12,
  832. 0,
  833. 9,
  834. 0,
  835. "IMAGE"
  836. ],
  837. [
  838. 21,
  839. 13,
  840. 0,
  841. 12,
  842. 7,
  843. "SAM_MODEL"
  844. ],
  845. [
  846. 23,
  847. 1,
  848. 2,
  849. 12,
  850. 3,
  851. "VAE"
  852. ],
  853. [
  854. 24,
  855. 10,
  856. 1,
  857. 12,
  858. 2,
  859. "CLIP"
  860. ],
  861. [
  862. 25,
  863. 4,
  864. 0,
  865. 12,
  866. 4,
  867. "CONDITIONING"
  868. ],
  869. [
  870. 26,
  871. 5,
  872. 0,
  873. 12,
  874. 5,
  875. "CONDITIONING"
  876. ],
  877. [
  878. 27,
  879. 11,
  880. 0,
  881. 12,
  882. 1,
  883. "MODEL"
  884. ],
  885. [
  886. 28,
  887. 16,
  888. 0,
  889. 12,
  890. 6,
  891. "BBOX_DETECTOR"
  892. ]
  893. ],
  894. "groups": [],
  895. "config": {},
  896. "extra": {
  897. "ds": {
  898. "scale": 1.1000000000000005,
  899. "offset": [
  900. -944.4333298522517,
  901. 92.73696473172602
  902. ]
  903. }
  904. },
  905. "version": 0.4
  906. }
Advertisement
Add Comment
Please, Sign In to add comment