Advertisement
MunchkinT

workflow SDXL - Fooocus outpainting

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