Advertisement
Satscape

ComfyUI workflow for using OpenPose

Nov 19th, 2023
1,655
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 10.61 KB | None | 0 0
  1. {
  2.   "last_node_id": 62,
  3.   "last_link_id": 140,
  4.   "nodes": [
  5.     {
  6.       "id": 34,
  7.       "type": "ControlNetLoader",
  8.       "pos": [
  9.         290,
  10.         -420
  11.       ],
  12.       "size": {
  13.         "0": 457.5661315917969,
  14.         "1": 58
  15.       },
  16.       "flags": {},
  17.       "order": 0,
  18.       "mode": 0,
  19.       "outputs": [
  20.         {
  21.           "name": "CONTROL_NET",
  22.           "type": "CONTROL_NET",
  23.           "links": [
  24.             60
  25.           ],
  26.           "shape": 3
  27.         }
  28.       ],
  29.       "properties": {
  30.         "Node name for S&R": "ControlNetLoader"
  31.       },
  32.       "widgets_values": [
  33.         "control_v11p_sd15_openpose_fp16.safetensors"
  34.       ]
  35.     },
  36.     {
  37.       "id": 55,
  38.       "type": "VAEDecode",
  39.       "pos": [
  40.         1555.358897816051,
  41.         191.0334347811612
  42.       ],
  43.       "size": {
  44.         "0": 210,
  45.         "1": 46
  46.       },
  47.       "flags": {},
  48.       "order": 11,
  49.       "mode": 0,
  50.       "inputs": [
  51.         {
  52.           "name": "samples",
  53.           "type": "LATENT",
  54.           "link": 125
  55.         },
  56.         {
  57.           "name": "vae",
  58.           "type": "VAE",
  59.           "link": 126
  60.         }
  61.       ],
  62.       "outputs": [
  63.         {
  64.           "name": "IMAGE",
  65.           "type": "IMAGE",
  66.           "links": [
  67.             140
  68.           ],
  69.           "shape": 3,
  70.           "slot_index": 0
  71.         }
  72.       ],
  73.       "properties": {
  74.         "Node name for S&R": "VAEDecode"
  75.       }
  76.     },
  77.     {
  78.       "id": 52,
  79.       "type": "CLIPTextEncode",
  80.       "pos": [
  81.         322,
  82.         -100
  83.       ],
  84.       "size": {
  85.         "0": 400,
  86.         "1": 200
  87.       },
  88.       "flags": {},
  89.       "order": 6,
  90.       "mode": 0,
  91.       "inputs": [
  92.         {
  93.           "name": "clip",
  94.           "type": "CLIP",
  95.           "link": 115
  96.         }
  97.       ],
  98.       "outputs": [
  99.         {
  100.           "name": "CONDITIONING",
  101.           "type": "CONDITIONING",
  102.           "links": [
  103.             128
  104.           ],
  105.           "shape": 3,
  106.           "slot_index": 0
  107.         }
  108.       ],
  109.       "properties": {
  110.         "Node name for S&R": "CLIPTextEncode"
  111.       },
  112.       "widgets_values": [
  113.         "A person"
  114.       ],
  115.       "color": "#232",
  116.       "bgcolor": "#353"
  117.     },
  118.     {
  119.       "id": 53,
  120.       "type": "CLIPTextEncode",
  121.       "pos": [
  122.         319,
  123.         145
  124.       ],
  125.       "size": {
  126.         "0": 400,
  127.         "1": 200
  128.       },
  129.       "flags": {},
  130.       "order": 7,
  131.       "mode": 0,
  132.       "inputs": [
  133.         {
  134.           "name": "clip",
  135.           "type": "CLIP",
  136.           "link": 119
  137.         }
  138.       ],
  139.       "outputs": [
  140.         {
  141.           "name": "CONDITIONING",
  142.           "type": "CONDITIONING",
  143.           "links": [
  144.             117
  145.           ],
  146.           "shape": 3,
  147.           "slot_index": 0
  148.         }
  149.       ],
  150.       "properties": {
  151.         "Node name for S&R": "CLIPTextEncode"
  152.       },
  153.       "widgets_values": [
  154.         "text"
  155.       ],
  156.       "color": "#322",
  157.       "bgcolor": "#533"
  158.     },
  159.     {
  160.       "id": 51,
  161.       "type": "KSampler",
  162.       "pos": [
  163.         1055,
  164.         238
  165.       ],
  166.       "size": {
  167.         "0": 437.8135070800781,
  168.         "1": 671.9424438476562
  169.       },
  170.       "flags": {},
  171.       "order": 10,
  172.       "mode": 0,
  173.       "inputs": [
  174.         {
  175.           "name": "model",
  176.           "type": "MODEL",
  177.           "link": 114
  178.         },
  179.         {
  180.           "name": "positive",
  181.           "type": "CONDITIONING",
  182.           "link": 130
  183.         },
  184.         {
  185.           "name": "negative",
  186.           "type": "CONDITIONING",
  187.           "link": 117
  188.         },
  189.         {
  190.           "name": "latent_image",
  191.           "type": "LATENT",
  192.           "link": 139,
  193.           "slot_index": 3
  194.         }
  195.       ],
  196.       "outputs": [
  197.         {
  198.           "name": "LATENT",
  199.           "type": "LATENT",
  200.           "links": [
  201.             125
  202.           ],
  203.           "shape": 3,
  204.           "slot_index": 0
  205.         }
  206.       ],
  207.       "properties": {
  208.         "Node name for S&R": "KSampler"
  209.       },
  210.       "widgets_values": [
  211.         1347568955296,
  212.         "randomize",
  213.         35,
  214.         7,
  215.         "euler",
  216.         "normal",
  217.         1
  218.       ],
  219.       "color": "#223",
  220.       "bgcolor": "#335"
  221.     },
  222.     {
  223.       "id": 50,
  224.       "type": "CheckpointLoaderSimple",
  225.       "pos": [
  226.         -120,
  227.         29
  228.       ],
  229.       "size": {
  230.         "0": 315,
  231.         "1": 98
  232.       },
  233.       "flags": {},
  234.       "order": 1,
  235.       "mode": 0,
  236.       "outputs": [
  237.         {
  238.           "name": "MODEL",
  239.           "type": "MODEL",
  240.           "links": [
  241.             114
  242.           ],
  243.           "shape": 3,
  244.           "slot_index": 0
  245.         },
  246.         {
  247.           "name": "CLIP",
  248.           "type": "CLIP",
  249.           "links": [
  250.             115,
  251.             119
  252.           ],
  253.           "shape": 3,
  254.           "slot_index": 1
  255.         },
  256.         {
  257.           "name": "VAE",
  258.           "type": "VAE",
  259.           "links": [
  260.             121
  261.           ],
  262.           "shape": 3,
  263.           "slot_index": 2
  264.         }
  265.       ],
  266.       "properties": {
  267.         "Node name for S&R": "CheckpointLoaderSimple"
  268.       },
  269.       "widgets_values": [
  270.         "epicRealism_sd15.safetensors"
  271.       ]
  272.     },
  273.     {
  274.       "id": 32,
  275.       "type": "ControlNetApply",
  276.       "pos": [
  277.         800,
  278.         -270
  279.       ],
  280.       "size": {
  281.         "0": 317.4000244140625,
  282.         "1": 98
  283.       },
  284.       "flags": {},
  285.       "order": 9,
  286.       "mode": 0,
  287.       "inputs": [
  288.         {
  289.           "name": "conditioning",
  290.           "type": "CONDITIONING",
  291.           "link": 128
  292.         },
  293.         {
  294.           "name": "control_net",
  295.           "type": "CONTROL_NET",
  296.           "link": 60,
  297.           "slot_index": 1
  298.         },
  299.         {
  300.           "name": "image",
  301.           "type": "IMAGE",
  302.           "link": 138
  303.         }
  304.       ],
  305.       "outputs": [
  306.         {
  307.           "name": "CONDITIONING",
  308.           "type": "CONDITIONING",
  309.           "links": [
  310.             130
  311.           ],
  312.           "shape": 3,
  313.           "slot_index": 0
  314.         }
  315.       ],
  316.       "properties": {
  317.         "Node name for S&R": "ControlNetApply"
  318.       },
  319.       "widgets_values": [
  320.         1
  321.       ]
  322.     },
  323.     {
  324.       "id": 58,
  325.       "type": "EmptyLatentImage",
  326.       "pos": [
  327.         515,
  328.         409
  329.       ],
  330.       "size": {
  331.         "0": 315,
  332.         "1": 106
  333.       },
  334.       "flags": {},
  335.       "order": 2,
  336.       "mode": 0,
  337.       "inputs": [],
  338.       "outputs": [
  339.         {
  340.           "name": "LATENT",
  341.           "type": "LATENT",
  342.           "links": [
  343.             139
  344.           ],
  345.           "shape": 3,
  346.           "slot_index": 0
  347.         }
  348.       ],
  349.       "properties": {
  350.         "Node name for S&R": "EmptyLatentImage"
  351.       },
  352.       "widgets_values": [
  353.         512,
  354.         512,
  355.         1
  356.       ]
  357.     },
  358.     {
  359.       "id": 61,
  360.       "type": "Note",
  361.       "pos": [
  362.         295,
  363.         -521
  364.       ],
  365.       "size": [
  366.         445.5208213771756,
  367.         58.870972000683764
  368.       ],
  369.       "flags": {},
  370.       "order": 3,
  371.       "mode": 0,
  372.       "properties": {
  373.         "text": ""
  374.       },
  375.       "widgets_values": [
  376.         "You'll need the OpenPose controlnet selected here I use\n\"control_v11p_sd15_openpose_fp16.safetensors\""
  377.       ],
  378.       "color": "#432",
  379.       "bgcolor": "#653"
  380.     },
  381.     {
  382.       "id": 60,
  383.       "type": "LoadImage",
  384.       "pos": [
  385.         -182,
  386.         -351
  387.       ],
  388.       "size": {
  389.         "0": 315,
  390.         "1": 102
  391.       },
  392.       "flags": {},
  393.       "order": 4,
  394.       "mode": 0,
  395.       "outputs": [
  396.         {
  397.           "name": "IMAGE",
  398.           "type": "IMAGE",
  399.           "links": [
  400.             138
  401.           ],
  402.           "shape": 3,
  403.           "slot_index": 0
  404.         },
  405.         {
  406.           "name": "MASK",
  407.           "type": "MASK",
  408.           "links": null,
  409.           "shape": 3
  410.         }
  411.       ],
  412.       "properties": {
  413.         "Node name for S&R": "LoadImage"
  414.       },
  415.       "widgets_values": [
  416.         null,
  417.         "image"
  418.       ]
  419.     },
  420.     {
  421.       "id": 62,
  422.       "type": "Note",
  423.       "pos": [
  424.         -172,
  425.         -461
  426.       ],
  427.       "size": [
  428.         301.7019565734173,
  429.         64.23535472660637
  430.       ],
  431.       "flags": {},
  432.       "order": 5,
  433.       "mode": 0,
  434.       "properties": {
  435.         "text": ""
  436.       },
  437.       "widgets_values": [
  438.         "Load your open pose image here"
  439.       ],
  440.       "color": "#432",
  441.       "bgcolor": "#653"
  442.     },
  443.     {
  444.       "id": 20,
  445.       "type": "SaveImage",
  446.       "pos": [
  447.         1818,
  448.         198
  449.       ],
  450.       "size": {
  451.         "0": 821.7040405273438,
  452.         "1": 834.4818115234375
  453.       },
  454.       "flags": {},
  455.       "order": 12,
  456.       "mode": 0,
  457.       "inputs": [
  458.         {
  459.           "name": "images",
  460.           "type": "IMAGE",
  461.           "link": 140,
  462.           "slot_index": 0
  463.         }
  464.       ],
  465.       "properties": {},
  466.       "widgets_values": [
  467.         "OpenPose"
  468.       ]
  469.     },
  470.     {
  471.       "id": 54,
  472.       "type": "Reroute",
  473.       "pos": [
  474.         1125,
  475.         53
  476.       ],
  477.       "size": [
  478.         75,
  479.         26
  480.       ],
  481.       "flags": {},
  482.       "order": 8,
  483.       "mode": 0,
  484.       "inputs": [
  485.         {
  486.           "name": "",
  487.           "type": "*",
  488.           "link": 121
  489.         }
  490.       ],
  491.       "outputs": [
  492.         {
  493.           "name": "",
  494.           "type": "VAE",
  495.           "links": [
  496.             126
  497.           ],
  498.           "slot_index": 0
  499.         }
  500.       ],
  501.       "properties": {
  502.         "showOutputText": false,
  503.         "horizontal": false
  504.       }
  505.     }
  506.   ],
  507.   "links": [
  508.     [
  509.       60,
  510.       34,
  511.       0,
  512.       32,
  513.       1,
  514.       "CONTROL_NET"
  515.     ],
  516.     [
  517.       114,
  518.       50,
  519.       0,
  520.       51,
  521.       0,
  522.       "MODEL"
  523.     ],
  524.     [
  525.       115,
  526.       50,
  527.       1,
  528.       52,
  529.       0,
  530.       "CLIP"
  531.     ],
  532.     [
  533.       117,
  534.       53,
  535.       0,
  536.       51,
  537.       2,
  538.       "CONDITIONING"
  539.     ],
  540.     [
  541.       119,
  542.       50,
  543.       1,
  544.       53,
  545.       0,
  546.       "CLIP"
  547.     ],
  548.     [
  549.       121,
  550.       50,
  551.       2,
  552.       54,
  553.       0,
  554.       "*"
  555.     ],
  556.     [
  557.       125,
  558.       51,
  559.       0,
  560.       55,
  561.       0,
  562.       "LATENT"
  563.     ],
  564.     [
  565.       126,
  566.       54,
  567.       0,
  568.       55,
  569.       1,
  570.       "VAE"
  571.     ],
  572.     [
  573.       128,
  574.       52,
  575.       0,
  576.       32,
  577.       0,
  578.       "CONDITIONING"
  579.     ],
  580.     [
  581.       130,
  582.       32,
  583.       0,
  584.       51,
  585.       1,
  586.       "CONDITIONING"
  587.     ],
  588.     [
  589.       138,
  590.       60,
  591.       0,
  592.       32,
  593.       2,
  594.       "IMAGE"
  595.     ],
  596.     [
  597.       139,
  598.       58,
  599.       0,
  600.       51,
  601.       3,
  602.       "LATENT"
  603.     ],
  604.     [
  605.       140,
  606.       55,
  607.       0,
  608.       20,
  609.       0,
  610.       "IMAGE"
  611.     ]
  612.   ],
  613.   "groups": [],
  614.   "config": {},
  615.   "extra": {},
  616.   "version": 0.4
  617. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement