Advertisement
MunchkinT

workflow SD 1.5 - outpainting

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