Guest User

qwen-image-edit

a guest
Aug 20th, 2025
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.66 KB | None | 0 0
  1. {
  2. "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
  3. "revision": 0,
  4. "last_node_id": 119,
  5. "last_link_id": 228,
  6. "nodes": [
  7. {
  8. "id": 108,
  9. "type": "CLIPTextEncode",
  10. "pos": [
  11. 176.455810546875,
  12. 385.9449157714844
  13. ],
  14. "size": [
  15. 287.3215637207031,
  16. 162.44052124023438
  17. ],
  18. "flags": {},
  19. "order": 8,
  20. "mode": 0,
  21. "inputs": [
  22. {
  23. "name": "clip",
  24. "type": "CLIP",
  25. "link": 206
  26. }
  27. ],
  28. "outputs": [
  29. {
  30. "name": "CONDITIONING",
  31. "type": "CONDITIONING",
  32. "links": [
  33. 211
  34. ]
  35. }
  36. ],
  37. "properties": {
  38. "cnr_id": "comfy-core",
  39. "ver": "0.3.50",
  40. "Node name for S&R": "CLIPTextEncode"
  41. },
  42. "widgets_values": [
  43. ""
  44. ],
  45. "color": "#322",
  46. "bgcolor": "#533"
  47. },
  48. {
  49. "id": 8,
  50. "type": "VAEDecode",
  51. "pos": [
  52. 902.690185546875,
  53. 86.27099609375
  54. ],
  55. "size": [
  56. 210,
  57. 46
  58. ],
  59. "flags": {
  60. "collapsed": false
  61. },
  62. "order": 14,
  63. "mode": 0,
  64. "inputs": [
  65. {
  66. "name": "samples",
  67. "type": "LATENT",
  68. "link": 128
  69. },
  70. {
  71. "name": "vae",
  72. "type": "VAE",
  73. "link": 76
  74. }
  75. ],
  76. "outputs": [
  77. {
  78. "name": "IMAGE",
  79. "type": "IMAGE",
  80. "slot_index": 0,
  81. "links": [
  82. 110
  83. ]
  84. }
  85. ],
  86. "properties": {
  87. "cnr_id": "comfy-core",
  88. "ver": "0.3.48",
  89. "Node name for S&R": "VAEDecode",
  90. "enableTabs": false,
  91. "tabWidth": 65,
  92. "tabXOffset": 10,
  93. "hasSecondTab": false,
  94. "secondTabText": "Send Back",
  95. "secondTabOffset": 80,
  96. "secondTabWidth": 65,
  97. "widget_ue_connectable": {}
  98. },
  99. "widgets_values": []
  100. },
  101. {
  102. "id": 3,
  103. "type": "KSampler",
  104. "pos": [
  105. 771.3734741210938,
  106. 234.35992431640625
  107. ],
  108. "size": [
  109. 300,
  110. 474
  111. ],
  112. "flags": {},
  113. "order": 13,
  114. "mode": 0,
  115. "inputs": [
  116. {
  117. "name": "model",
  118. "type": "MODEL",
  119. "link": 226
  120. },
  121. {
  122. "name": "positive",
  123. "type": "CONDITIONING",
  124. "link": 208
  125. },
  126. {
  127. "name": "negative",
  128. "type": "CONDITIONING",
  129. "link": 213
  130. },
  131. {
  132. "name": "latent_image",
  133. "type": "LATENT",
  134. "link": 228
  135. }
  136. ],
  137. "outputs": [
  138. {
  139. "name": "LATENT",
  140. "type": "LATENT",
  141. "slot_index": 0,
  142. "links": [
  143. 128
  144. ]
  145. }
  146. ],
  147. "properties": {
  148. "cnr_id": "comfy-core",
  149. "ver": "0.3.48",
  150. "Node name for S&R": "KSampler",
  151. "enableTabs": false,
  152. "tabWidth": 65,
  153. "tabXOffset": 10,
  154. "hasSecondTab": false,
  155. "secondTabText": "Send Back",
  156. "secondTabOffset": 80,
  157. "secondTabWidth": 65,
  158. "widget_ue_connectable": {}
  159. },
  160. "widgets_values": [
  161. 798250490826260,
  162. "randomize",
  163. 25,
  164. 4,
  165. "euler",
  166. "simple",
  167. 1
  168. ]
  169. },
  170. {
  171. "id": 109,
  172. "type": "ReferenceLatent",
  173. "pos": [
  174. 518.5731811523438,
  175. 256.7789306640625
  176. ],
  177. "size": [
  178. 197.712890625,
  179. 46
  180. ],
  181. "flags": {},
  182. "order": 11,
  183. "mode": 0,
  184. "inputs": [
  185. {
  186. "name": "conditioning",
  187. "type": "CONDITIONING",
  188. "link": 207
  189. },
  190. {
  191. "name": "latent",
  192. "shape": 7,
  193. "type": "LATENT",
  194. "link": 223
  195. }
  196. ],
  197. "outputs": [
  198. {
  199. "name": "CONDITIONING",
  200. "type": "CONDITIONING",
  201. "links": [
  202. 208
  203. ]
  204. }
  205. ],
  206. "properties": {
  207. "cnr_id": "comfy-core",
  208. "ver": "0.3.50",
  209. "Node name for S&R": "ReferenceLatent"
  210. },
  211. "widgets_values": []
  212. },
  213. {
  214. "id": 60,
  215. "type": "SaveImage",
  216. "pos": [
  217. 1098.6826171875,
  218. 232.9499053955078
  219. ],
  220. "size": [
  221. 580,
  222. 650
  223. ],
  224. "flags": {},
  225. "order": 15,
  226. "mode": 0,
  227. "inputs": [
  228. {
  229. "name": "images",
  230. "type": "IMAGE",
  231. "link": 110
  232. }
  233. ],
  234. "outputs": [],
  235. "properties": {
  236. "cnr_id": "comfy-core",
  237. "ver": "0.3.48",
  238. "Node name for S&R": "SaveImage",
  239. "enableTabs": false,
  240. "tabWidth": 65,
  241. "tabXOffset": 10,
  242. "hasSecondTab": false,
  243. "secondTabText": "Send Back",
  244. "secondTabOffset": 80,
  245. "secondTabWidth": 65,
  246. "widget_ue_connectable": {}
  247. },
  248. "widgets_values": [
  249. "ComfyUI"
  250. ]
  251. },
  252. {
  253. "id": 112,
  254. "type": "ReferenceLatent",
  255. "pos": [
  256. 515.53515625,
  257. 357.0532531738281
  258. ],
  259. "size": [
  260. 197.712890625,
  261. 46
  262. ],
  263. "flags": {},
  264. "order": 12,
  265. "mode": 0,
  266. "inputs": [
  267. {
  268. "name": "conditioning",
  269. "type": "CONDITIONING",
  270. "link": 211
  271. },
  272. {
  273. "name": "latent",
  274. "shape": 7,
  275. "type": "LATENT",
  276. "link": 222
  277. }
  278. ],
  279. "outputs": [
  280. {
  281. "name": "CONDITIONING",
  282. "type": "CONDITIONING",
  283. "links": [
  284. 213
  285. ]
  286. }
  287. ],
  288. "properties": {
  289. "cnr_id": "comfy-core",
  290. "ver": "0.3.50",
  291. "Node name for S&R": "ReferenceLatent"
  292. },
  293. "widgets_values": []
  294. },
  295. {
  296. "id": 78,
  297. "type": "LoadImage",
  298. "pos": [
  299. -199.77560424804688,
  300. 507.7045593261719
  301. ],
  302. "size": [
  303. 274.080078125,
  304. 314.0000305175781
  305. ],
  306. "flags": {},
  307. "order": 0,
  308. "mode": 0,
  309. "inputs": [],
  310. "outputs": [
  311. {
  312. "name": "IMAGE",
  313. "type": "IMAGE",
  314. "links": [
  315. 217,
  316. 220
  317. ]
  318. },
  319. {
  320. "name": "MASK",
  321. "type": "MASK",
  322. "links": null
  323. }
  324. ],
  325. "properties": {
  326. "cnr_id": "comfy-core",
  327. "ver": "0.3.50",
  328. "Node name for S&R": "LoadImage",
  329. "enableTabs": false,
  330. "tabWidth": 65,
  331. "tabXOffset": 10,
  332. "hasSecondTab": false,
  333. "secondTabText": "Send Back",
  334. "secondTabOffset": 80,
  335. "secondTabWidth": 65,
  336. "ue_properties": {
  337. "widget_ue_connectable": {
  338. "image": true,
  339. "upload": true
  340. }
  341. }
  342. },
  343. "widgets_values": [
  344. "qwen-edit-problem-v0-46b1lzmciyjf1.webp",
  345. "image"
  346. ]
  347. },
  348. {
  349. "id": 39,
  350. "type": "VAELoader",
  351. "pos": [
  352. -250,
  353. 330
  354. ],
  355. "size": [
  356. 330,
  357. 60
  358. ],
  359. "flags": {},
  360. "order": 1,
  361. "mode": 0,
  362. "inputs": [],
  363. "outputs": [
  364. {
  365. "name": "VAE",
  366. "type": "VAE",
  367. "slot_index": 0,
  368. "links": [
  369. 76,
  370. 221
  371. ]
  372. }
  373. ],
  374. "properties": {
  375. "cnr_id": "comfy-core",
  376. "ver": "0.3.48",
  377. "Node name for S&R": "VAELoader",
  378. "models": [
  379. {
  380. "name": "qwen_image_vae.safetensors",
  381. "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
  382. "directory": "vae"
  383. }
  384. ],
  385. "enableTabs": false,
  386. "tabWidth": 65,
  387. "tabXOffset": 10,
  388. "hasSecondTab": false,
  389. "secondTabText": "Send Back",
  390. "secondTabOffset": 80,
  391. "secondTabWidth": 65,
  392. "widget_ue_connectable": {}
  393. },
  394. "widgets_values": [
  395. "qwen_image_vae.safetensors"
  396. ]
  397. },
  398. {
  399. "id": 114,
  400. "type": "GetImageSize",
  401. "pos": [
  402. 126.47962951660156,
  403. 731.9865112304688
  404. ],
  405. "size": [
  406. 210,
  407. 136
  408. ],
  409. "flags": {},
  410. "order": 4,
  411. "mode": 0,
  412. "inputs": [
  413. {
  414. "name": "image",
  415. "type": "IMAGE",
  416. "link": 217
  417. }
  418. ],
  419. "outputs": [
  420. {
  421. "name": "width",
  422. "type": "INT",
  423. "links": [
  424. 218
  425. ]
  426. },
  427. {
  428. "name": "height",
  429. "type": "INT",
  430. "links": [
  431. 219
  432. ]
  433. },
  434. {
  435. "name": "batch_size",
  436. "type": "INT",
  437. "links": null
  438. }
  439. ],
  440. "properties": {
  441. "cnr_id": "comfy-core",
  442. "ver": "0.3.50",
  443. "Node name for S&R": "GetImageSize"
  444. },
  445. "widgets_values": []
  446. },
  447. {
  448. "id": 107,
  449. "type": "CLIPTextEncode",
  450. "pos": [
  451. 174.3450469970703,
  452. 182.55386352539062
  453. ],
  454. "size": [
  455. 287.3215637207031,
  456. 162.44052124023438
  457. ],
  458. "flags": {},
  459. "order": 7,
  460. "mode": 0,
  461. "inputs": [
  462. {
  463. "name": "clip",
  464. "type": "CLIP",
  465. "link": 205
  466. }
  467. ],
  468. "outputs": [
  469. {
  470. "name": "CONDITIONING",
  471. "type": "CONDITIONING",
  472. "links": [
  473. 207
  474. ]
  475. }
  476. ],
  477. "properties": {
  478. "cnr_id": "comfy-core",
  479. "ver": "0.3.50",
  480. "Node name for S&R": "CLIPTextEncode"
  481. },
  482. "widgets_values": [
  483. "Place this character in a libary. He is sitting inside a chair and reading a book. On the book cover is a text saying \"How to be a good demon\"."
  484. ],
  485. "color": "#232",
  486. "bgcolor": "#353"
  487. },
  488. {
  489. "id": 118,
  490. "type": "ModelSamplingAuraFlow",
  491. "pos": [
  492. 123.67586517333984,
  493. 15.42076587677002
  494. ],
  495. "size": [
  496. 270,
  497. 58
  498. ],
  499. "flags": {},
  500. "order": 6,
  501. "mode": 0,
  502. "inputs": [
  503. {
  504. "name": "model",
  505. "type": "MODEL",
  506. "link": 224
  507. }
  508. ],
  509. "outputs": [
  510. {
  511. "name": "MODEL",
  512. "type": "MODEL",
  513. "links": [
  514. 225
  515. ]
  516. }
  517. ],
  518. "properties": {
  519. "cnr_id": "comfy-core",
  520. "ver": "0.3.50",
  521. "Node name for S&R": "ModelSamplingAuraFlow"
  522. },
  523. "widgets_values": [
  524. 3
  525. ]
  526. },
  527. {
  528. "id": 119,
  529. "type": "CFGNorm",
  530. "pos": [
  531. 428.6168518066406,
  532. 21.98710823059082
  533. ],
  534. "size": [
  535. 270,
  536. 58
  537. ],
  538. "flags": {},
  539. "order": 10,
  540. "mode": 0,
  541. "inputs": [
  542. {
  543. "name": "model",
  544. "type": "MODEL",
  545. "link": 225
  546. }
  547. ],
  548. "outputs": [
  549. {
  550. "name": "patched_model",
  551. "type": "MODEL",
  552. "links": [
  553. 226
  554. ]
  555. }
  556. ],
  557. "properties": {
  558. "cnr_id": "comfy-core",
  559. "ver": "0.3.50",
  560. "Node name for S&R": "CFGNorm"
  561. },
  562. "widgets_values": [
  563. 1
  564. ]
  565. },
  566. {
  567. "id": 37,
  568. "type": "UNETLoader",
  569. "pos": [
  570. -250,
  571. 30
  572. ],
  573. "size": [
  574. 330,
  575. 90
  576. ],
  577. "flags": {},
  578. "order": 2,
  579. "mode": 0,
  580. "inputs": [],
  581. "outputs": [
  582. {
  583. "name": "MODEL",
  584. "type": "MODEL",
  585. "slot_index": 0,
  586. "links": [
  587. 224
  588. ]
  589. }
  590. ],
  591. "properties": {
  592. "cnr_id": "comfy-core",
  593. "ver": "0.3.48",
  594. "Node name for S&R": "UNETLoader",
  595. "models": [
  596. {
  597. "name": "qwen_image_edit_fp8_e4m3fn.safetensors",
  598. "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_fp8_e4m3fn.safetensors",
  599. "directory": "diffusion_models"
  600. }
  601. ],
  602. "enableTabs": false,
  603. "tabWidth": 65,
  604. "tabXOffset": 10,
  605. "hasSecondTab": false,
  606. "secondTabText": "Send Back",
  607. "secondTabOffset": 80,
  608. "secondTabWidth": 65,
  609. "widget_ue_connectable": {}
  610. },
  611. "widgets_values": [
  612. "qwen_image_edit_bf16.safetensors",
  613. "default"
  614. ]
  615. },
  616. {
  617. "id": 38,
  618. "type": "CLIPLoader",
  619. "pos": [
  620. -250,
  621. 170
  622. ],
  623. "size": [
  624. 330,
  625. 110
  626. ],
  627. "flags": {},
  628. "order": 3,
  629. "mode": 0,
  630. "inputs": [],
  631. "outputs": [
  632. {
  633. "name": "CLIP",
  634. "type": "CLIP",
  635. "slot_index": 0,
  636. "links": [
  637. 205,
  638. 206
  639. ]
  640. }
  641. ],
  642. "properties": {
  643. "cnr_id": "comfy-core",
  644. "ver": "0.3.48",
  645. "Node name for S&R": "CLIPLoader",
  646. "models": [
  647. {
  648. "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
  649. "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
  650. "directory": "text_encoders"
  651. }
  652. ],
  653. "enableTabs": false,
  654. "tabWidth": 65,
  655. "tabXOffset": 10,
  656. "hasSecondTab": false,
  657. "secondTabText": "Send Back",
  658. "secondTabOffset": 80,
  659. "secondTabWidth": 65,
  660. "widget_ue_connectable": {}
  661. },
  662. "widgets_values": [
  663. "qwen_2.5_vl_7b.safetensors",
  664. "qwen_image",
  665. "default"
  666. ]
  667. },
  668. {
  669. "id": 116,
  670. "type": "VAEEncode",
  671. "pos": [
  672. 226.9273223876953,
  673. 593.402099609375
  674. ],
  675. "size": [
  676. 140,
  677. 46
  678. ],
  679. "flags": {},
  680. "order": 5,
  681. "mode": 0,
  682. "inputs": [
  683. {
  684. "name": "pixels",
  685. "type": "IMAGE",
  686. "link": 220
  687. },
  688. {
  689. "name": "vae",
  690. "type": "VAE",
  691. "link": 221
  692. }
  693. ],
  694. "outputs": [
  695. {
  696. "name": "LATENT",
  697. "type": "LATENT",
  698. "links": [
  699. 222,
  700. 223
  701. ]
  702. }
  703. ],
  704. "properties": {
  705. "cnr_id": "comfy-core",
  706. "ver": "0.3.50",
  707. "Node name for S&R": "VAEEncode"
  708. },
  709. "widgets_values": []
  710. },
  711. {
  712. "id": 113,
  713. "type": "EmptyLatentImage",
  714. "pos": [
  715. 369.6533203125,
  716. 735.7432250976562
  717. ],
  718. "size": [
  719. 270,
  720. 106
  721. ],
  722. "flags": {},
  723. "order": 9,
  724. "mode": 0,
  725. "inputs": [
  726. {
  727. "name": "width",
  728. "type": "INT",
  729. "widget": {
  730. "name": "width"
  731. },
  732. "link": 218
  733. },
  734. {
  735. "name": "height",
  736. "type": "INT",
  737. "widget": {
  738. "name": "height"
  739. },
  740. "link": 219
  741. }
  742. ],
  743. "outputs": [
  744. {
  745. "name": "LATENT",
  746. "type": "LATENT",
  747. "links": [
  748. 228
  749. ]
  750. }
  751. ],
  752. "properties": {
  753. "cnr_id": "comfy-core",
  754. "ver": "0.3.50",
  755. "Node name for S&R": "EmptyLatentImage"
  756. },
  757. "widgets_values": [
  758. 512,
  759. 512,
  760. 1
  761. ]
  762. }
  763. ],
  764. "links": [
  765. [
  766. 76,
  767. 39,
  768. 0,
  769. 8,
  770. 1,
  771. "VAE"
  772. ],
  773. [
  774. 110,
  775. 8,
  776. 0,
  777. 60,
  778. 0,
  779. "IMAGE"
  780. ],
  781. [
  782. 128,
  783. 3,
  784. 0,
  785. 8,
  786. 0,
  787. "LATENT"
  788. ],
  789. [
  790. 205,
  791. 38,
  792. 0,
  793. 107,
  794. 0,
  795. "CLIP"
  796. ],
  797. [
  798. 206,
  799. 38,
  800. 0,
  801. 108,
  802. 0,
  803. "CLIP"
  804. ],
  805. [
  806. 207,
  807. 107,
  808. 0,
  809. 109,
  810. 0,
  811. "CONDITIONING"
  812. ],
  813. [
  814. 208,
  815. 109,
  816. 0,
  817. 3,
  818. 1,
  819. "CONDITIONING"
  820. ],
  821. [
  822. 211,
  823. 108,
  824. 0,
  825. 112,
  826. 0,
  827. "CONDITIONING"
  828. ],
  829. [
  830. 213,
  831. 112,
  832. 0,
  833. 3,
  834. 2,
  835. "CONDITIONING"
  836. ],
  837. [
  838. 217,
  839. 78,
  840. 0,
  841. 114,
  842. 0,
  843. "IMAGE"
  844. ],
  845. [
  846. 218,
  847. 114,
  848. 0,
  849. 113,
  850. 0,
  851. "INT"
  852. ],
  853. [
  854. 219,
  855. 114,
  856. 1,
  857. 113,
  858. 1,
  859. "INT"
  860. ],
  861. [
  862. 220,
  863. 78,
  864. 0,
  865. 116,
  866. 0,
  867. "IMAGE"
  868. ],
  869. [
  870. 221,
  871. 39,
  872. 0,
  873. 116,
  874. 1,
  875. "VAE"
  876. ],
  877. [
  878. 222,
  879. 116,
  880. 0,
  881. 112,
  882. 1,
  883. "LATENT"
  884. ],
  885. [
  886. 223,
  887. 116,
  888. 0,
  889. 109,
  890. 1,
  891. "LATENT"
  892. ],
  893. [
  894. 224,
  895. 37,
  896. 0,
  897. 118,
  898. 0,
  899. "MODEL"
  900. ],
  901. [
  902. 225,
  903. 118,
  904. 0,
  905. 119,
  906. 0,
  907. "MODEL"
  908. ],
  909. [
  910. 226,
  911. 119,
  912. 0,
  913. 3,
  914. 0,
  915. "MODEL"
  916. ],
  917. [
  918. 228,
  919. 113,
  920. 0,
  921. 3,
  922. 3,
  923. "LATENT"
  924. ]
  925. ],
  926. "groups": [
  927. {
  928. "id": 1,
  929. "title": "Step1 - Load models",
  930. "bounding": [
  931. -270,
  932. -40,
  933. 370,
  934. 450
  935. ],
  936. "color": "#3f789e",
  937. "font_size": 24,
  938. "flags": {}
  939. },
  940. {
  941. "id": 2,
  942. "title": "Step 2 - Upload image for editing",
  943. "bounding": [
  944. -270,
  945. 430,
  946. 370,
  947. 400
  948. ],
  949. "color": "#3f789e",
  950. "font_size": 24,
  951. "flags": {}
  952. },
  953. {
  954. "id": 3,
  955. "title": "Step 3 - Prompt",
  956. "bounding": [
  957. 130,
  958. 130,
  959. 380,
  960. 433.6000061035156
  961. ],
  962. "color": "#3f789e",
  963. "font_size": 24,
  964. "flags": {}
  965. }
  966. ],
  967. "config": {},
  968. "extra": {
  969. "ds": {
  970. "scale": 0.943957295770718,
  971. "offset": [
  972. -104.22229133909403,
  973. -136.88286758366027
  974. ]
  975. },
  976. "frontendVersion": "1.23.4",
  977. "ue_links": [],
  978. "links_added_by_ue": [],
  979. "VHS_latentpreview": true,
  980. "VHS_latentpreviewrate": 0,
  981. "VHS_MetadataImage": true,
  982. "VHS_KeepIntermediate": true
  983. },
  984. "version": 0.4
  985. }
Advertisement
Add Comment
Please, Sign In to add comment