ai_swap_cloth.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623
  1. {
  2. "145": {
  3. "inputs": {
  4. "width": [
  5. "162",
  6. 1
  7. ],
  8. "height": [
  9. "162",
  10. 2
  11. ],
  12. "color": "#000000"
  13. },
  14. "class_type": "LayerUtility: ColorImage",
  15. "_meta": {
  16. "title": "LayerUtility: ColorImage"
  17. }
  18. },
  19. "146": {
  20. "inputs": {
  21. "mask": [
  22. "179",
  23. 1
  24. ]
  25. },
  26. "class_type": "MaskToImage",
  27. "_meta": {
  28. "title": "遮罩转换为图像"
  29. }
  30. },
  31. "147": {
  32. "inputs": {
  33. "channel": "red",
  34. "image": [
  35. "166",
  36. 0
  37. ]
  38. },
  39. "class_type": "ImageToMask",
  40. "_meta": {
  41. "title": "图像转换为遮罩"
  42. }
  43. },
  44. "148": {
  45. "inputs": {
  46. "direction": "right",
  47. "match_image_size": true,
  48. "image1": [
  49. "146",
  50. 0
  51. ],
  52. "image2": [
  53. "145",
  54. 0
  55. ]
  56. },
  57. "class_type": "ImageConcanate",
  58. "_meta": {
  59. "title": "Image Concatenate"
  60. }
  61. },
  62. "149": {
  63. "inputs": {
  64. "channel": "red",
  65. "image": [
  66. "148",
  67. 0
  68. ]
  69. },
  70. "class_type": "ImageToMask",
  71. "_meta": {
  72. "title": "图像转换为遮罩"
  73. }
  74. },
  75. "150": {
  76. "inputs": {
  77. "mask": [
  78. "200",
  79. 0
  80. ]
  81. },
  82. "class_type": "MaskToImage",
  83. "_meta": {
  84. "title": "遮罩转换为图像"
  85. }
  86. },
  87. "151": {
  88. "inputs": {
  89. "width": [
  90. "164",
  91. 1
  92. ],
  93. "height": [
  94. "164",
  95. 2
  96. ],
  97. "color": "#000000"
  98. },
  99. "class_type": "LayerUtility: ColorImage",
  100. "_meta": {
  101. "title": "LayerUtility: ColorImage"
  102. }
  103. },
  104. "152": {
  105. "inputs": {
  106. "strength": 1,
  107. "strength_type": "multiply",
  108. "conditioning": [
  109. "161",
  110. 0
  111. ],
  112. "style_model": [
  113. "176",
  114. 0
  115. ],
  116. "clip_vision_output": [
  117. "156",
  118. 0
  119. ]
  120. },
  121. "class_type": "StyleModelApply",
  122. "_meta": {
  123. "title": "应用风格模型"
  124. }
  125. },
  126. "153": {
  127. "inputs": {
  128. "text": "",
  129. "speak_and_recognation": {
  130. "__value__": [
  131. false,
  132. true
  133. ]
  134. },
  135. "clip": [
  136. "180",
  137. 0
  138. ]
  139. },
  140. "class_type": "CLIPTextEncode",
  141. "_meta": {
  142. "title": "CLIP文本编码"
  143. }
  144. },
  145. "154": {
  146. "inputs": {
  147. "text": "worst quality, lowres, blurry, jpeg artifacts, watermark, text, extra fingers, mutated hands, bad anatomy, long neck, cartoon, nsfw, out of frame,bad anatomy, malformed limbs, extra limbs, fused limbs, missing limbs, extra legs, extra arms, extra fingers, too many fingers, fused fingers, mutated hands, mutated fingers, poorly drawn hands, poorly drawn feet, bad hands, bad feet, bad proportions, long neck, long body, gross proportions, disconnected limbs, disfigured, deformed, distorted body, asymmetric body, malformed hands, mutated, mutation, blurry, blurry limbs, floating limbs, incorrect limb connection, malformed joints, twisted limbs",
  148. "speak_and_recognation": {
  149. "__value__": [
  150. false,
  151. true
  152. ]
  153. },
  154. "clip": [
  155. "180",
  156. 0
  157. ]
  158. },
  159. "class_type": "CLIPTextEncode",
  160. "_meta": {
  161. "title": "CLIP文本编码"
  162. }
  163. },
  164. "155": {
  165. "inputs": {
  166. "model": [
  167. "181",
  168. 0
  169. ]
  170. },
  171. "class_type": "DifferentialDiffusion",
  172. "_meta": {
  173. "title": "差异扩散DifferentialDiffusion"
  174. }
  175. },
  176. "156": {
  177. "inputs": {
  178. "crop": "center",
  179. "clip_vision": [
  180. "177",
  181. 0
  182. ],
  183. "image": [
  184. "164",
  185. 0
  186. ]
  187. },
  188. "class_type": "CLIPVisionEncode",
  189. "_meta": {
  190. "title": "CLIP视觉编码"
  191. }
  192. },
  193. "157": {
  194. "inputs": {
  195. "seed": 777153601332008,
  196. "steps": 20,
  197. "cfg": 1,
  198. "sampler_name": "euler",
  199. "scheduler": "simple",
  200. "denoise": 1,
  201. "model": [
  202. "155",
  203. 0
  204. ],
  205. "positive": [
  206. "167",
  207. 0
  208. ],
  209. "negative": [
  210. "167",
  211. 1
  212. ],
  213. "latent_image": [
  214. "167",
  215. 2
  216. ]
  217. },
  218. "class_type": "KSampler",
  219. "_meta": {
  220. "title": "K采样器"
  221. }
  222. },
  223. "158": {
  224. "inputs": {
  225. "samples": [
  226. "157",
  227. 0
  228. ],
  229. "vae": [
  230. "178",
  231. 0
  232. ]
  233. },
  234. "class_type": "VAEDecode",
  235. "_meta": {
  236. "title": "VAE解码"
  237. }
  238. },
  239. "160": {
  240. "inputs": {
  241. "direction": "right",
  242. "match_image_size": true,
  243. "image1": [
  244. "164",
  245. 0
  246. ],
  247. "image2": [
  248. "162",
  249. 0
  250. ]
  251. },
  252. "class_type": "ImageConcanate",
  253. "_meta": {
  254. "title": "Image Concatenate"
  255. }
  256. },
  257. "161": {
  258. "inputs": {
  259. "guidance": 30,
  260. "conditioning": [
  261. "153",
  262. 0
  263. ]
  264. },
  265. "class_type": "FluxGuidance",
  266. "_meta": {
  267. "title": "Flux引导"
  268. }
  269. },
  270. "162": {
  271. "inputs": {
  272. "width": 1600,
  273. "height": 1600,
  274. "interpolation": "lanczos",
  275. "method": "keep proportion",
  276. "condition": "always",
  277. "multiple_of": 0,
  278. "image": [
  279. "307",
  280. 0
  281. ]
  282. },
  283. "class_type": "ImageResize+",
  284. "_meta": {
  285. "title": "🔧 Image Resize"
  286. }
  287. },
  288. "163": {
  289. "inputs": {
  290. "width": 1600,
  291. "height": 1600,
  292. "interpolation": "lanczos",
  293. "method": "keep proportion",
  294. "condition": "always",
  295. "multiple_of": 0,
  296. "image": [
  297. "150",
  298. 0
  299. ]
  300. },
  301. "class_type": "ImageResize+",
  302. "_meta": {
  303. "title": "🔧 Image Resize"
  304. }
  305. },
  306. "164": {
  307. "inputs": {
  308. "width": 1600,
  309. "height": 1600,
  310. "interpolation": "lanczos",
  311. "method": "keep proportion",
  312. "condition": "always",
  313. "multiple_of": 0,
  314. "image": [
  315. "174",
  316. 0
  317. ]
  318. },
  319. "class_type": "ImageResize+",
  320. "_meta": {
  321. "title": "🔧 Image Resize"
  322. }
  323. },
  324. "165": {
  325. "inputs": {
  326. "context_expand_pixels": 10,
  327. "context_expand_factor": 1,
  328. "fill_mask_holes": true,
  329. "blur_mask_pixels": 10,
  330. "invert_mask": false,
  331. "blend_pixels": 16,
  332. "rescale_algorithm": "bicubic",
  333. "mode": "ranged size",
  334. "force_width": 1024,
  335. "force_height": 1024,
  336. "rescale_factor": 1,
  337. "min_width": 512,
  338. "min_height": 512,
  339. "max_width": 1600,
  340. "max_height": 1600,
  341. "padding": 32,
  342. "image": [
  343. "160",
  344. 0
  345. ],
  346. "mask": [
  347. "147",
  348. 0
  349. ],
  350. "optional_context_mask": [
  351. "149",
  352. 0
  353. ]
  354. },
  355. "class_type": "InpaintCrop",
  356. "_meta": {
  357. "title": "(OLD 💀, use the new ✂️ Inpaint Crop node)"
  358. }
  359. },
  360. "166": {
  361. "inputs": {
  362. "direction": "right",
  363. "match_image_size": true,
  364. "image1": [
  365. "151",
  366. 0
  367. ],
  368. "image2": [
  369. "163",
  370. 0
  371. ]
  372. },
  373. "class_type": "ImageConcanate",
  374. "_meta": {
  375. "title": "Image Concatenate"
  376. }
  377. },
  378. "167": {
  379. "inputs": {
  380. "noise_mask": false,
  381. "positive": [
  382. "152",
  383. 0
  384. ],
  385. "negative": [
  386. "154",
  387. 0
  388. ],
  389. "vae": [
  390. "178",
  391. 0
  392. ],
  393. "pixels": [
  394. "165",
  395. 1
  396. ],
  397. "mask": [
  398. "165",
  399. 2
  400. ]
  401. },
  402. "class_type": "InpaintModelConditioning",
  403. "_meta": {
  404. "title": "内补模型条件"
  405. }
  406. },
  407. "169": {
  408. "inputs": {
  409. "rescale_algorithm": "bislerp",
  410. "stitch": [
  411. "165",
  412. 0
  413. ],
  414. "inpainted_image": [
  415. "158",
  416. 0
  417. ]
  418. },
  419. "class_type": "InpaintStitch",
  420. "_meta": {
  421. "title": "(OLD 💀, use the new ✂️ Inpaint Stitch node)"
  422. }
  423. },
  424. "170": {
  425. "inputs": {
  426. "image": [
  427. "164",
  428. 0
  429. ]
  430. },
  431. "class_type": "easy imageSize",
  432. "_meta": {
  433. "title": "图像尺寸"
  434. }
  435. },
  436. "171": {
  437. "inputs": {
  438. "width": [
  439. "170",
  440. 0
  441. ],
  442. "height": [
  443. "170",
  444. 1
  445. ],
  446. "position": "top-left",
  447. "x_offset": [
  448. "170",
  449. 0
  450. ],
  451. "y_offset": 0,
  452. "image": [
  453. "169",
  454. 0
  455. ]
  456. },
  457. "class_type": "ImageCrop+",
  458. "_meta": {
  459. "title": "🔧 Image Crop"
  460. }
  461. },
  462. "174": {
  463. "inputs": {
  464. "image": "clothblue.jpg"
  465. },
  466. "class_type": "LoadImage",
  467. "_meta": {
  468. "title": "加载图像"
  469. }
  470. },
  471. "176": {
  472. "inputs": {
  473. "style_model_name": "FLUX.1-Redux-dev/flux1-redux-dev.safetensors"
  474. },
  475. "class_type": "StyleModelLoader",
  476. "_meta": {
  477. "title": "加载风格模型"
  478. }
  479. },
  480. "177": {
  481. "inputs": {
  482. "clip_name": "sigclip_vision_patch14_384/sigclip_vision_patch14_384.safetensors"
  483. },
  484. "class_type": "CLIPVisionLoader",
  485. "_meta": {
  486. "title": "加载CLIP视觉"
  487. }
  488. },
  489. "178": {
  490. "inputs": {
  491. "vae_name": "FLUX1/ae.safetensors"
  492. },
  493. "class_type": "VAELoader",
  494. "_meta": {
  495. "title": "加载VAE"
  496. }
  497. },
  498. "179": {
  499. "inputs": {
  500. "sam_model": "sam_vit_h (2.56GB)",
  501. "grounding_dino_model": "GroundingDINO_SwinT_OGC (694MB)",
  502. "threshold": 0.3,
  503. "detail_method": "VITMatte",
  504. "detail_erode": 6,
  505. "detail_dilate": 6,
  506. "black_point": 0.15,
  507. "white_point": 0.99,
  508. "process_detail": true,
  509. "prompt": "clothes",
  510. "device": "cuda",
  511. "max_megapixels": 2,
  512. "cache_model": false,
  513. "image": [
  514. "164",
  515. 0
  516. ]
  517. },
  518. "class_type": "LayerMask: SegmentAnythingUltra V2",
  519. "_meta": {
  520. "title": "LayerMask: SegmentAnythingUltra V2(Advance)"
  521. }
  522. },
  523. "180": {
  524. "inputs": {
  525. "clip_name1": "clip_l.safetensors",
  526. "clip_name2": "t5xxl_fp16.safetensors",
  527. "type": "flux",
  528. "device": "default"
  529. },
  530. "class_type": "DualCLIPLoader",
  531. "_meta": {
  532. "title": "双CLIP加载器"
  533. }
  534. },
  535. "181": {
  536. "inputs": {
  537. "unet_name": "flux-fill-FP8/fluxFillFP8_v10.safetensors",
  538. "weight_dtype": "fp8_e4m3fn_fast"
  539. },
  540. "class_type": "UNETLoader",
  541. "_meta": {
  542. "title": "UNet加载器"
  543. }
  544. },
  545. "196": {
  546. "inputs": {
  547. "face": false,
  548. "hair": false,
  549. "hat": false,
  550. "sunglass": false,
  551. "left_arm": true,
  552. "right_arm": true,
  553. "left_leg": true,
  554. "right_leg": true,
  555. "upper_clothes": true,
  556. "skirt": true,
  557. "pants": true,
  558. "dress": true,
  559. "belt": true,
  560. "shoe": false,
  561. "bag": false,
  562. "scarf": false,
  563. "detail_method": "PyMatting",
  564. "detail_erode": 20,
  565. "detail_dilate": 1,
  566. "black_point": 0.01,
  567. "white_point": 0.99,
  568. "process_detail": false,
  569. "device": "cpu",
  570. "max_megapixels": 2,
  571. "image": [
  572. "307",
  573. 0
  574. ]
  575. },
  576. "class_type": "LayerMask: SegformerB2ClothesUltra",
  577. "_meta": {
  578. "title": "LayerMask: Segformer B2 Clothes Ultra"
  579. }
  580. },
  581. "200": {
  582. "inputs": {
  583. "expand": 6,
  584. "incremental_expandrate": 0,
  585. "tapered_corners": true,
  586. "flip_input": false,
  587. "blur_radius": 0,
  588. "lerp_alpha": 1,
  589. "decay_factor": 1,
  590. "fill_holes": false,
  591. "mask": [
  592. "196",
  593. 1
  594. ]
  595. },
  596. "class_type": "GrowMaskWithBlur",
  597. "_meta": {
  598. "title": "Grow Mask With Blur"
  599. }
  600. },
  601. "254": {
  602. "inputs": {
  603. "filename_prefix": "ComfyUI",
  604. "images": [
  605. "171",
  606. 0
  607. ]
  608. },
  609. "class_type": "SaveImage",
  610. "_meta": {
  611. "title": "保存图像"
  612. }
  613. },
  614. "307": {
  615. "inputs": {
  616. "image": "11.jpg"
  617. },
  618. "class_type": "LoadImage",
  619. "_meta": {
  620. "title": "加载图像"
  621. }
  622. }
  623. }