Advertisement
MunchkinT

workflow SDXL - Fooocus inpaint

Jul 6th, 2024
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 12.84 KB | Software | 0 0
  1. {
  2.   "last_node_id": 79,
  3.   "last_link_id": 218,
  4.   "nodes": [
  5.     {
  6.       "id": 59,
  7.       "type": "SaveImage",
  8.       "pos": [
  9.         687,
  10.         291
  11.       ],
  12.       "size": {
  13.         "0": 434.7754211425781,
  14.         "1": 440.6299133300781
  15.       },
  16.       "flags": {},
  17.       "order": 10,
  18.       "mode": 0,
  19.       "inputs": [
  20.         {
  21.           "name": "images",
  22.           "type": "IMAGE",
  23.           "link": 213
  24.         }
  25.       ],
  26.       "properties": {
  27.         "Node name for S&R": "SaveImage"
  28.       },
  29.       "widgets_values": [
  30.         "ComfyUI"
  31.       ]
  32.     },
  33.     {
  34.       "id": 10,
  35.       "type": "CLIPTextEncode",
  36.       "pos": [
  37.         -456,
  38.         551
  39.       ],
  40.       "size": {
  41.         "0": 321.6668701171875,
  42.         "1": 76
  43.       },
  44.       "flags": {},
  45.       "order": 4,
  46.       "mode": 0,
  47.       "inputs": [
  48.         {
  49.           "name": "clip",
  50.           "type": "CLIP",
  51.           "link": 35
  52.         }
  53.       ],
  54.       "outputs": [
  55.         {
  56.           "name": "CONDITIONING",
  57.           "type": "CONDITIONING",
  58.           "links": [
  59.             123
  60.           ],
  61.           "shape": 3,
  62.           "slot_index": 0
  63.         }
  64.       ],
  65.       "properties": {
  66.         "Node name for S&R": "CLIPTextEncode"
  67.       },
  68.       "widgets_values": [
  69.         "bad quality, poor quality, doll, disfigured, jpg, toy, bad anatomy, missing limbs, missing fingers, "
  70.       ],
  71.       "color": "#322",
  72.       "bgcolor": "#533"
  73.     },
  74.     {
  75.       "id": 75,
  76.       "type": "LoadImage",
  77.       "pos": [
  78.         -920,
  79.         95
  80.       ],
  81.       "size": {
  82.         "0": 315,
  83.         "1": 314
  84.       },
  85.       "flags": {},
  86.       "order": 0,
  87.       "mode": 0,
  88.       "outputs": [
  89.         {
  90.           "name": "IMAGE",
  91.           "type": "IMAGE",
  92.           "links": [
  93.             203
  94.           ],
  95.           "shape": 3,
  96.           "slot_index": 0
  97.         },
  98.         {
  99.           "name": "MASK",
  100.           "type": "MASK",
  101.           "links": [
  102.             202
  103.           ],
  104.           "shape": 3,
  105.           "slot_index": 1
  106.         }
  107.       ],
  108.       "properties": {
  109.         "Node name for S&R": "LoadImage"
  110.       },
  111.       "widgets_values": [
  112.         "clipspace/clipspace-mask-640003.1999999955.png [input]",
  113.         "image"
  114.       ]
  115.     },
  116.     {
  117.       "id": 77,
  118.       "type": "InpaintResize",
  119.       "pos": [
  120.         -458,
  121.         111
  122.       ],
  123.       "size": {
  124.         "0": 430.8000183105469,
  125.         "1": 170
  126.       },
  127.       "flags": {},
  128.       "order": 3,
  129.       "mode": 0,
  130.       "inputs": [
  131.         {
  132.           "name": "image",
  133.           "type": "IMAGE",
  134.           "link": 203
  135.         },
  136.         {
  137.           "name": "mask",
  138.           "type": "MASK",
  139.           "link": 202
  140.         },
  141.         {
  142.           "name": "optional_context_mask",
  143.           "type": "MASK",
  144.           "link": null
  145.         }
  146.       ],
  147.       "outputs": [
  148.         {
  149.           "name": "image",
  150.           "type": "IMAGE",
  151.           "links": [
  152.             211
  153.           ],
  154.           "shape": 3,
  155.           "slot_index": 0
  156.         },
  157.         {
  158.           "name": "mask",
  159.           "type": "MASK",
  160.           "links": [
  161.             207
  162.           ],
  163.           "shape": 3,
  164.           "slot_index": 1
  165.         },
  166.         {
  167.           "name": "context_mask",
  168.           "type": "MASK",
  169.           "links": null,
  170.           "shape": 3
  171.         }
  172.       ],
  173.       "properties": {
  174.         "Node name for S&R": "InpaintResize"
  175.       },
  176.       "widgets_values": [
  177.         "bicubic",
  178.         "ensure minimum size",
  179.         1024,
  180.         1024,
  181.         1
  182.       ]
  183.     },
  184.     {
  185.       "id": 14,
  186.       "type": "VAEDecode",
  187.       "pos": [
  188.         700,
  189.         180
  190.       ],
  191.       "size": {
  192.         "0": 140,
  193.         "1": 49.74785232543945
  194.       },
  195.       "flags": {},
  196.       "order": 9,
  197.       "mode": 0,
  198.       "inputs": [
  199.         {
  200.           "name": "samples",
  201.           "type": "LATENT",
  202.           "link": 97
  203.         },
  204.         {
  205.           "name": "vae",
  206.           "type": "VAE",
  207.           "link": 43
  208.         }
  209.       ],
  210.       "outputs": [
  211.         {
  212.           "name": "IMAGE",
  213.           "type": "IMAGE",
  214.           "links": [
  215.             213
  216.           ],
  217.           "shape": 3,
  218.           "slot_index": 0
  219.         }
  220.       ],
  221.       "properties": {
  222.         "Node name for S&R": "VAEDecode"
  223.       }
  224.     },
  225.     {
  226.       "id": 40,
  227.       "type": "KSampler",
  228.       "pos": [
  229.         358,
  230.         286
  231.       ],
  232.       "size": {
  233.         "0": 315,
  234.         "1": 474
  235.       },
  236.       "flags": {},
  237.       "order": 8,
  238.       "mode": 0,
  239.       "inputs": [
  240.         {
  241.           "name": "model",
  242.           "type": "MODEL",
  243.           "link": 217
  244.         },
  245.         {
  246.           "name": "positive",
  247.           "type": "CONDITIONING",
  248.           "link": 124
  249.         },
  250.         {
  251.           "name": "negative",
  252.           "type": "CONDITIONING",
  253.           "link": 125
  254.         },
  255.         {
  256.           "name": "latent_image",
  257.           "type": "LATENT",
  258.           "link": 126
  259.         }
  260.       ],
  261.       "outputs": [
  262.         {
  263.           "name": "LATENT",
  264.           "type": "LATENT",
  265.           "links": [
  266.             97
  267.           ],
  268.           "shape": 3,
  269.           "slot_index": 0
  270.         }
  271.       ],
  272.       "properties": {
  273.         "Node name for S&R": "KSampler"
  274.       },
  275.       "widgets_values": [
  276.         398744522146916,
  277.         "randomize",
  278.         28,
  279.         4,
  280.         "dpmpp_2m",
  281.         "ddim_uniform",
  282.         0.8
  283.       ]
  284.     },
  285.     {
  286.       "id": 78,
  287.       "type": "INPAINT_LoadFooocusInpaint",
  288.       "pos": [
  289.         -29,
  290.         695
  291.       ],
  292.       "size": {
  293.         "0": 276.6825256347656,
  294.         "1": 82
  295.       },
  296.       "flags": {},
  297.       "order": 1,
  298.       "mode": 0,
  299.       "outputs": [
  300.         {
  301.           "name": "INPAINT_PATCH",
  302.           "type": "INPAINT_PATCH",
  303.           "links": [
  304.             215
  305.           ],
  306.           "shape": 3,
  307.           "slot_index": 0
  308.         }
  309.       ],
  310.       "properties": {
  311.         "Node name for S&R": "INPAINT_LoadFooocusInpaint"
  312.       },
  313.       "widgets_values": [
  314.         "fooocus_inpaint_head.pth",
  315.         "inpaint_v26.fooocus.patch"
  316.       ],
  317.       "color": "#323",
  318.       "bgcolor": "#535"
  319.     },
  320.     {
  321.       "id": 44,
  322.       "type": "INPAINT_VAEEncodeInpaintConditioning",
  323.       "pos": [
  324.         -72,
  325.         400
  326.       ],
  327.       "size": {
  328.         "0": 292.20001220703125,
  329.         "1": 106
  330.       },
  331.       "flags": {},
  332.       "order": 6,
  333.       "mode": 0,
  334.       "inputs": [
  335.         {
  336.           "name": "positive",
  337.           "type": "CONDITIONING",
  338.           "link": 122
  339.         },
  340.         {
  341.           "name": "negative",
  342.           "type": "CONDITIONING",
  343.           "link": 123
  344.         },
  345.         {
  346.           "name": "vae",
  347.           "type": "VAE",
  348.           "link": 128
  349.         },
  350.         {
  351.           "name": "pixels",
  352.           "type": "IMAGE",
  353.           "link": 211
  354.         },
  355.         {
  356.           "name": "mask",
  357.           "type": "MASK",
  358.           "link": 207
  359.         }
  360.       ],
  361.       "outputs": [
  362.         {
  363.           "name": "positive",
  364.           "type": "CONDITIONING",
  365.           "links": [
  366.             124
  367.           ],
  368.           "shape": 3,
  369.           "slot_index": 0
  370.         },
  371.         {
  372.           "name": "negative",
  373.           "type": "CONDITIONING",
  374.           "links": [
  375.             125
  376.           ],
  377.           "shape": 3,
  378.           "slot_index": 1
  379.         },
  380.         {
  381.           "name": "latent_inpaint",
  382.           "type": "LATENT",
  383.           "links": [
  384.             218
  385.           ],
  386.           "shape": 3,
  387.           "slot_index": 2
  388.         },
  389.         {
  390.           "name": "latent_samples",
  391.           "type": "LATENT",
  392.           "links": [
  393.             126
  394.           ],
  395.           "shape": 3,
  396.           "slot_index": 3
  397.         }
  398.       ],
  399.       "properties": {
  400.         "Node name for S&R": "INPAINT_VAEEncodeInpaintConditioning"
  401.       },
  402.       "color": "#323",
  403.       "bgcolor": "#535"
  404.     },
  405.     {
  406.       "id": 79,
  407.       "type": "INPAINT_ApplyFooocusInpaint",
  408.       "pos": [
  409.         20,
  410.         568
  411.       ],
  412.       "size": {
  413.         "0": 191.45639038085938,
  414.         "1": 66
  415.       },
  416.       "flags": {},
  417.       "order": 7,
  418.       "mode": 0,
  419.       "inputs": [
  420.         {
  421.           "name": "model",
  422.           "type": "MODEL",
  423.           "link": 216
  424.         },
  425.         {
  426.           "name": "patch",
  427.           "type": "INPAINT_PATCH",
  428.           "link": 215
  429.         },
  430.         {
  431.           "name": "latent",
  432.           "type": "LATENT",
  433.           "link": 218
  434.         }
  435.       ],
  436.       "outputs": [
  437.         {
  438.           "name": "MODEL",
  439.           "type": "MODEL",
  440.           "links": [
  441.             217
  442.           ],
  443.           "shape": 3,
  444.           "slot_index": 0
  445.         }
  446.       ],
  447.       "properties": {
  448.         "Node name for S&R": "INPAINT_ApplyFooocusInpaint"
  449.       },
  450.       "color": "#323",
  451.       "bgcolor": "#535"
  452.     },
  453.     {
  454.       "id": 19,
  455.       "type": "CheckpointLoaderSimple",
  456.       "pos": [
  457.         -524,
  458.         692
  459.       ],
  460.       "size": {
  461.         "0": 406.4723205566406,
  462.         "1": 98
  463.       },
  464.       "flags": {},
  465.       "order": 2,
  466.       "mode": 0,
  467.       "outputs": [
  468.         {
  469.           "name": "MODEL",
  470.           "type": "MODEL",
  471.           "links": [
  472.             216
  473.           ],
  474.           "shape": 3,
  475.           "slot_index": 0
  476.         },
  477.         {
  478.           "name": "CLIP",
  479.           "type": "CLIP",
  480.           "links": [
  481.             35,
  482.             88
  483.           ],
  484.           "shape": 3,
  485.           "slot_index": 1
  486.         },
  487.         {
  488.           "name": "VAE",
  489.           "type": "VAE",
  490.           "links": [
  491.             43,
  492.             128
  493.           ],
  494.           "shape": 3,
  495.           "slot_index": 2
  496.         }
  497.       ],
  498.       "properties": {
  499.         "Node name for S&R": "CheckpointLoaderSimple"
  500.       },
  501.       "widgets_values": [
  502.         "XL\\nightvisionxl_V900.safetensors"
  503.       ]
  504.     },
  505.     {
  506.       "id": 9,
  507.       "type": "CLIPTextEncode",
  508.       "pos": [
  509.         -552,
  510.         340
  511.       ],
  512.       "size": {
  513.         "0": 380.34686279296875,
  514.         "1": 144.51576232910156
  515.       },
  516.       "flags": {},
  517.       "order": 5,
  518.       "mode": 0,
  519.       "inputs": [
  520.         {
  521.           "name": "clip",
  522.           "type": "CLIP",
  523.           "link": 88
  524.         }
  525.       ],
  526.       "outputs": [
  527.         {
  528.           "name": "CONDITIONING",
  529.           "type": "CONDITIONING",
  530.           "links": [
  531.             122
  532.           ],
  533.           "shape": 3,
  534.           "slot_index": 0
  535.         }
  536.       ],
  537.       "properties": {
  538.         "Node name for S&R": "CLIPTextEncode"
  539.       },
  540.       "widgets_values": [
  541.         "cinematic film still of <lora:casting shadow style v2:0.8> church confessional, closeup, old woman face, casting lattice pattern shadow on face, lattice pattern, fancy clothes, from the side, casting shadow style cucoloris patterned illumination, in confessional, booth, box, church, shallow depth of field, vignette, highly detailed, high budget, cinemascope, moody, epic, gorgeous, film grain, grainy, very dark, dimly lit, low key"
  542.       ],
  543.       "color": "#232",
  544.       "bgcolor": "#353"
  545.     }
  546.   ],
  547.   "links": [
  548.     [
  549.       35,
  550.       19,
  551.       1,
  552.       10,
  553.       0,
  554.       "CLIP"
  555.     ],
  556.     [
  557.       43,
  558.       19,
  559.       2,
  560.       14,
  561.       1,
  562.       "VAE"
  563.     ],
  564.     [
  565.       88,
  566.       19,
  567.       1,
  568.       9,
  569.       0,
  570.       "CLIP"
  571.     ],
  572.     [
  573.       97,
  574.       40,
  575.       0,
  576.       14,
  577.       0,
  578.       "LATENT"
  579.     ],
  580.     [
  581.       122,
  582.       9,
  583.       0,
  584.       44,
  585.       0,
  586.       "CONDITIONING"
  587.     ],
  588.     [
  589.       123,
  590.       10,
  591.       0,
  592.       44,
  593.       1,
  594.       "CONDITIONING"
  595.     ],
  596.     [
  597.       124,
  598.       44,
  599.       0,
  600.       40,
  601.       1,
  602.       "CONDITIONING"
  603.     ],
  604.     [
  605.       125,
  606.       44,
  607.       1,
  608.       40,
  609.       2,
  610.       "CONDITIONING"
  611.     ],
  612.     [
  613.       126,
  614.       44,
  615.       3,
  616.       40,
  617.       3,
  618.       "LATENT"
  619.     ],
  620.     [
  621.       128,
  622.       19,
  623.       2,
  624.       44,
  625.       2,
  626.       "VAE"
  627.     ],
  628.     [
  629.       202,
  630.       75,
  631.       1,
  632.       77,
  633.       1,
  634.       "MASK"
  635.     ],
  636.     [
  637.       203,
  638.       75,
  639.       0,
  640.       77,
  641.       0,
  642.       "IMAGE"
  643.     ],
  644.     [
  645.       207,
  646.       77,
  647.       1,
  648.       44,
  649.       4,
  650.       "MASK"
  651.     ],
  652.     [
  653.       211,
  654.       77,
  655.       0,
  656.       44,
  657.       3,
  658.       "IMAGE"
  659.     ],
  660.     [
  661.       213,
  662.       14,
  663.       0,
  664.       59,
  665.       0,
  666.       "IMAGE"
  667.     ],
  668.     [
  669.       215,
  670.       78,
  671.       0,
  672.       79,
  673.       1,
  674.       "INPAINT_PATCH"
  675.     ],
  676.     [
  677.       216,
  678.       19,
  679.       0,
  680.       79,
  681.       0,
  682.       "MODEL"
  683.     ],
  684.     [
  685.       217,
  686.       79,
  687.       0,
  688.       40,
  689.       0,
  690.       "MODEL"
  691.     ],
  692.     [
  693.       218,
  694.       44,
  695.       2,
  696.       79,
  697.       2,
  698.       "LATENT"
  699.     ]
  700.   ],
  701.   "groups": [],
  702.   "config": {},
  703.   "extra": {
  704.     "ds": {
  705.       "scale": 0.8390545288824054,
  706.       "offset": {
  707.         "0": 1589.3287770436548,
  708.         "1": 186.6444290127448
  709.       }
  710.     }
  711.   },
  712.   "version": 0.4
  713. }
Tags: ComfyUI
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement