Advertisement
Guest User

Kontext LoRa workflow

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