zaq_hack

ST Expressions (Kontext + LLM)

Aug 26th, 2025
11,833
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 43.20 KB | Source Code | 0 0
  1. {
  2.   "id": "9751874a-8c82-4e80-afd8-8875d92b4f58",
  3.   "revision": 0,
  4.   "last_node_id": 288,
  5.   "last_link_id": 505,
  6.   "nodes": [
  7.     {
  8.       "id": 38,
  9.       "type": "DualCLIPLoader",
  10.       "pos": [
  11.         -811.876220703125,
  12.         -17.9962158203125
  13.       ],
  14.       "size": [
  15.         350,
  16.         130
  17.       ],
  18.       "flags": {},
  19.       "order": 0,
  20.       "mode": 0,
  21.       "inputs": [],
  22.       "outputs": [
  23.         {
  24.           "name": "CLIP",
  25.           "type": "CLIP",
  26.           "links": [
  27.             59
  28.           ]
  29.         }
  30.       ],
  31.       "properties": {
  32.         "cnr_id": "comfy-core",
  33.         "ver": "0.3.38",
  34.         "Node name for S&R": "DualCLIPLoader",
  35.         "models": [
  36.           {
  37.             "name": "clip_l.safetensors",
  38.             "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors",
  39.             "directory": "text_encoders"
  40.           },
  41.           {
  42.             "name": "t5xxl_fp8_e4m3fn_scaled.safetensors",
  43.             "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn_scaled.safetensors",
  44.             "directory": "text_encoders"
  45.           }
  46.         ]
  47.       },
  48.       "widgets_values": [
  49.         "clip_l.safetensors",
  50.         "t5xxl_fp8_e4m3fn_scaled.safetensors",
  51.         "flux",
  52.         "default"
  53.       ],
  54.       "color": "#223",
  55.       "bgcolor": "#335"
  56.     },
  57.     {
  58.       "id": 37,
  59.       "type": "UNETLoader",
  60.       "pos": [
  61.         -811.876220703125,
  62.         -147.9962615966797
  63.       ],
  64.       "size": [
  65.         350,
  66.         82
  67.       ],
  68.       "flags": {},
  69.       "order": 1,
  70.       "mode": 0,
  71.       "inputs": [],
  72.       "outputs": [
  73.         {
  74.           "name": "MODEL",
  75.           "type": "MODEL",
  76.           "links": [
  77.             417
  78.           ]
  79.         }
  80.       ],
  81.       "properties": {
  82.         "cnr_id": "comfy-core",
  83.         "ver": "0.3.38",
  84.         "Node name for S&R": "UNETLoader",
  85.         "models": [
  86.           {
  87.             "name": "flux1-dev-kontext_fp8_scaled.safetensors",
  88.             "url": "https://huggingface.co/Comfy-Org/flux1-kontext-dev_ComfyUI/resolve/main/split_files/diffusion_models/flux1-dev-kontext_fp8_scaled.safetensors",
  89.             "directory": "diffusion_models"
  90.           }
  91.         ]
  92.       },
  93.       "widgets_values": [
  94.         "5_flux.1K/flux1Kontext_flux1KontextDevFP8.safetensors",
  95.         "default"
  96.       ],
  97.       "color": "#223",
  98.       "bgcolor": "#335"
  99.     },
  100.     {
  101.       "id": 135,
  102.       "type": "ConditioningZeroOut",
  103.       "pos": [
  104.         311.54949951171875,
  105.         104.75756072998047
  106.       ],
  107.       "size": [
  108.         240,
  109.         26
  110.       ],
  111.       "flags": {
  112.         "collapsed": true
  113.       },
  114.       "order": 27,
  115.       "mode": 0,
  116.       "inputs": [
  117.         {
  118.           "name": "conditioning",
  119.           "type": "CONDITIONING",
  120.           "link": 237
  121.         }
  122.       ],
  123.       "outputs": [
  124.         {
  125.           "name": "CONDITIONING",
  126.           "type": "CONDITIONING",
  127.           "links": [
  128.             238
  129.           ]
  130.         }
  131.       ],
  132.       "properties": {
  133.         "cnr_id": "comfy-core",
  134.         "ver": "0.3.39",
  135.         "Node name for S&R": "ConditioningZeroOut"
  136.       },
  137.       "widgets_values": []
  138.     },
  139.     {
  140.       "id": 177,
  141.       "type": "ReferenceLatent",
  142.       "pos": [
  143.         62.29835510253906,
  144.         17.113853454589844
  145.       ],
  146.       "size": [
  147.         197.712890625,
  148.         46
  149.       ],
  150.       "flags": {
  151.         "collapsed": true
  152.       },
  153.       "order": 28,
  154.       "mode": 0,
  155.       "inputs": [
  156.         {
  157.           "name": "conditioning",
  158.           "type": "CONDITIONING",
  159.           "link": 294
  160.         },
  161.         {
  162.           "name": "latent",
  163.           "shape": 7,
  164.           "type": "LATENT",
  165.           "link": 293
  166.         }
  167.       ],
  168.       "outputs": [
  169.         {
  170.           "name": "CONDITIONING",
  171.           "type": "CONDITIONING",
  172.           "links": [
  173.             292
  174.           ]
  175.         }
  176.       ],
  177.       "properties": {
  178.         "cnr_id": "comfy-core",
  179.         "ver": "0.3.41",
  180.         "Node name for S&R": "ReferenceLatent"
  181.       },
  182.       "widgets_values": []
  183.     },
  184.     {
  185.       "id": 39,
  186.       "type": "VAELoader",
  187.       "pos": [
  188.         -811.876220703125,
  189.         162.00367736816406
  190.       ],
  191.       "size": [
  192.         350,
  193.         58
  194.       ],
  195.       "flags": {},
  196.       "order": 2,
  197.       "mode": 0,
  198.       "inputs": [],
  199.       "outputs": [
  200.         {
  201.           "name": "VAE",
  202.           "type": "VAE",
  203.           "links": [
  204.             61,
  205.             223
  206.           ]
  207.         }
  208.       ],
  209.       "properties": {
  210.         "cnr_id": "comfy-core",
  211.         "ver": "0.3.38",
  212.         "Node name for S&R": "VAELoader",
  213.         "models": [
  214.           {
  215.             "name": "ae.safetensors",
  216.             "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
  217.             "directory": "vae"
  218.           }
  219.         ]
  220.       },
  221.       "widgets_values": [
  222.         "ae.safetensors"
  223.       ],
  224.       "color": "#223",
  225.       "bgcolor": "#335"
  226.     },
  227.     {
  228.       "id": 6,
  229.       "type": "CLIPTextEncode",
  230.       "pos": [
  231.         -186.70306396484375,
  232.         105.86490631103516
  233.       ],
  234.       "size": [
  235.         263.2095642089844,
  236.         88
  237.       ],
  238.       "flags": {
  239.         "collapsed": true
  240.       },
  241.       "order": 25,
  242.       "mode": 0,
  243.       "inputs": [
  244.         {
  245.           "name": "clip",
  246.           "type": "CLIP",
  247.           "link": 59
  248.         },
  249.         {
  250.           "name": "text",
  251.           "type": "STRING",
  252.           "widget": {
  253.             "name": "text"
  254.           },
  255.           "link": 505
  256.         }
  257.       ],
  258.       "outputs": [
  259.         {
  260.           "name": "CONDITIONING",
  261.           "type": "CONDITIONING",
  262.           "slot_index": 0,
  263.           "links": [
  264.             237,
  265.             294
  266.           ]
  267.         }
  268.       ],
  269.       "title": "CLIP Text Encode (Positive Prompt)",
  270.       "properties": {
  271.         "cnr_id": "comfy-core",
  272.         "ver": "0.3.38",
  273.         "Node name for S&R": "CLIPTextEncode"
  274.       },
  275.       "widgets_values": [
  276.         ""
  277.       ]
  278.     },
  279.     {
  280.       "id": 35,
  281.       "type": "FluxGuidance",
  282.       "pos": [
  283.         244.69285583496094,
  284.         -12.19665241241455
  285.       ],
  286.       "size": [
  287.         240,
  288.         58
  289.       ],
  290.       "flags": {
  291.         "collapsed": false
  292.       },
  293.       "order": 30,
  294.       "mode": 0,
  295.       "inputs": [
  296.         {
  297.           "name": "conditioning",
  298.           "type": "CONDITIONING",
  299.           "link": 292
  300.         }
  301.       ],
  302.       "outputs": [
  303.         {
  304.           "name": "CONDITIONING",
  305.           "type": "CONDITIONING",
  306.           "slot_index": 0,
  307.           "links": [
  308.             57
  309.           ]
  310.         }
  311.       ],
  312.       "properties": {
  313.         "cnr_id": "comfy-core",
  314.         "ver": "0.3.38",
  315.         "Node name for S&R": "FluxGuidance"
  316.       },
  317.       "widgets_values": [
  318.         2.5
  319.       ]
  320.     },
  321.     {
  322.       "id": 218,
  323.       "type": "Reroute",
  324.       "pos": [
  325.         1011.34716796875,
  326.         119.85696411132812
  327.       ],
  328.       "size": [
  329.         75,
  330.         26
  331.       ],
  332.       "flags": {},
  333.       "order": 32,
  334.       "mode": 0,
  335.       "inputs": [
  336.         {
  337.           "name": "",
  338.           "type": "*",
  339.           "link": 331
  340.         }
  341.       ],
  342.       "outputs": [
  343.         {
  344.           "name": "",
  345.           "type": "LATENT",
  346.           "links": [
  347.             333
  348.           ]
  349.         }
  350.       ],
  351.       "properties": {
  352.         "showOutputText": false,
  353.         "horizontal": false
  354.       }
  355.     },
  356.     {
  357.       "id": 124,
  358.       "type": "VAEEncode",
  359.       "pos": [
  360.         -343.2458801269531,
  361.         -60.776737213134766
  362.       ],
  363.       "size": [
  364.         240,
  365.         50
  366.       ],
  367.       "flags": {
  368.         "collapsed": true
  369.       },
  370.       "order": 19,
  371.       "mode": 0,
  372.       "inputs": [
  373.         {
  374.           "name": "pixels",
  375.           "type": "IMAGE",
  376.           "link": 426
  377.         },
  378.         {
  379.           "name": "vae",
  380.           "type": "VAE",
  381.           "link": 223
  382.         }
  383.       ],
  384.       "outputs": [
  385.         {
  386.           "name": "LATENT",
  387.           "type": "LATENT",
  388.           "links": [
  389.             291,
  390.             293
  391.           ]
  392.         }
  393.       ],
  394.       "properties": {
  395.         "cnr_id": "comfy-core",
  396.         "ver": "0.3.39",
  397.         "Node name for S&R": "VAEEncode"
  398.       },
  399.       "widgets_values": []
  400.     },
  401.     {
  402.       "id": 261,
  403.       "type": "ttN seed",
  404.       "pos": [
  405.         -615.7572021484375,
  406.         1274.27392578125
  407.       ],
  408.       "size": [
  409.         210,
  410.         82
  411.       ],
  412.       "flags": {},
  413.       "order": 3,
  414.       "mode": 0,
  415.       "inputs": [],
  416.       "outputs": [
  417.         {
  418.           "name": "seed",
  419.           "type": "INT",
  420.           "links": [
  421.             469
  422.           ]
  423.         }
  424.       ],
  425.       "properties": {
  426.         "cnr_id": "comfyui_tinyterranodes",
  427.         "ver": "2.0.9",
  428.         "Node name for S&R": "ttN seed",
  429.         "ttNnodeVersion": "1.0.0"
  430.       },
  431.       "widgets_values": [
  432.         787869449374814,
  433.         "randomize"
  434.       ]
  435.     },
  436.     {
  437.       "id": 267,
  438.       "type": "easy showAnything",
  439.       "pos": [
  440.         1528.6544189453125,
  441.         1395.8302001953125
  442.       ],
  443.       "size": [
  444.         210,
  445.         88
  446.       ],
  447.       "flags": {},
  448.       "order": 39,
  449.       "mode": 0,
  450.       "inputs": [
  451.         {
  452.           "name": "anything",
  453.           "shape": 7,
  454.           "type": "*",
  455.           "link": 466
  456.         }
  457.       ],
  458.       "outputs": [
  459.         {
  460.           "name": "output",
  461.           "type": "*",
  462.           "links": null
  463.         }
  464.       ],
  465.       "properties": {
  466.         "cnr_id": "comfyui-easy-use",
  467.         "ver": "1.3.2",
  468.         "Node name for S&R": "easy showAnything"
  469.       },
  470.       "widgets_values": [
  471.         "17"
  472.       ],
  473.       "color": "#323",
  474.       "bgcolor": "#535"
  475.     },
  476.     {
  477.       "id": 274,
  478.       "type": "easy compare",
  479.       "pos": [
  480.         -1078.0045166015625,
  481.         1486.04833984375
  482.       ],
  483.       "size": [
  484.         210,
  485.         78
  486.       ],
  487.       "flags": {},
  488.       "order": 13,
  489.       "mode": 0,
  490.       "inputs": [
  491.         {
  492.           "name": "a",
  493.           "type": "*",
  494.           "link": 462
  495.         },
  496.         {
  497.           "name": "b",
  498.           "type": "*",
  499.           "link": 463
  500.         }
  501.       ],
  502.       "outputs": [
  503.         {
  504.           "name": "boolean",
  505.           "type": "BOOLEAN",
  506.           "links": [
  507.             465
  508.           ]
  509.         }
  510.       ],
  511.       "properties": {
  512.         "cnr_id": "comfyui-easy-use",
  513.         "ver": "1.3.2",
  514.         "Node name for S&R": "easy compare"
  515.       },
  516.       "widgets_values": [
  517.         "a < b"
  518.       ],
  519.       "color": "#323",
  520.       "bgcolor": "#535"
  521.     },
  522.     {
  523.       "id": 276,
  524.       "type": "easy showAnything",
  525.       "pos": [
  526.         1530.1368408203125,
  527.         1540.9969482421875
  528.       ],
  529.       "size": [
  530.         210,
  531.         88
  532.       ],
  533.       "flags": {},
  534.       "order": 40,
  535.       "mode": 0,
  536.       "inputs": [
  537.         {
  538.           "name": "anything",
  539.           "shape": 7,
  540.           "type": "*",
  541.           "link": 467
  542.         }
  543.       ],
  544.       "outputs": [
  545.         {
  546.           "name": "output",
  547.           "type": "*",
  548.           "links": null
  549.         }
  550.       ],
  551.       "properties": {
  552.         "cnr_id": "comfyui-easy-use",
  553.         "ver": "1.3.2",
  554.         "Node name for S&R": "easy showAnything"
  555.       },
  556.       "widgets_values": [
  557.         "444864373360915"
  558.       ]
  559.     },
  560.     {
  561.       "id": 223,
  562.       "type": "ttN text",
  563.       "pos": [
  564.         -1574.378173828125,
  565.         532.3641967773438
  566.       ],
  567.       "size": [
  568.         310,
  569.         88
  570.       ],
  571.       "flags": {},
  572.       "order": 4,
  573.       "mode": 0,
  574.       "inputs": [],
  575.       "outputs": [
  576.         {
  577.           "name": "text",
  578.           "type": "STRING",
  579.           "links": [
  580.             432
  581.           ]
  582.         }
  583.       ],
  584.       "title": "Character Name",
  585.       "properties": {
  586.         "cnr_id": "comfyui_tinyterranodes",
  587.         "ver": "2.0.9",
  588.         "Node name for S&R": "ttN text",
  589.         "ttNnodeVersion": "1.0.0"
  590.       },
  591.       "widgets_values": [
  592.         "syrin"
  593.       ],
  594.       "color": "#232",
  595.       "bgcolor": "#353"
  596.     },
  597.     {
  598.       "id": 278,
  599.       "type": "Image Rembg (Remove Background)",
  600.       "pos": [
  601.         -1191.4703369140625,
  602.         183.64218139648438
  603.       ],
  604.       "size": [
  605.         304.8125,
  606.         250
  607.       ],
  608.       "flags": {},
  609.       "order": 12,
  610.       "mode": 0,
  611.       "inputs": [
  612.         {
  613.           "name": "images",
  614.           "type": "IMAGE",
  615.           "link": 476
  616.         }
  617.       ],
  618.       "outputs": [
  619.         {
  620.           "name": "images",
  621.           "type": "IMAGE",
  622.           "links": [
  623.             475
  624.           ]
  625.         }
  626.       ],
  627.       "properties": {
  628.         "cnr_id": "was-ns",
  629.         "ver": "3.0.0",
  630.         "Node name for S&R": "Image Rembg (Remove Background)"
  631.       },
  632.       "widgets_values": [
  633.         true,
  634.         "isnet-anime",
  635.         false,
  636.         false,
  637.         false,
  638.         240,
  639.         10,
  640.         8,
  641.         "none"
  642.       ]
  643.     },
  644.     {
  645.       "id": 271,
  646.       "type": "easy whileLoopEnd",
  647.       "pos": [
  648.         1269.7581787109375,
  649.         1395.8302001953125
  650.       ],
  651.       "size": [
  652.         210,
  653.         118
  654.       ],
  655.       "flags": {},
  656.       "order": 38,
  657.       "mode": 0,
  658.       "inputs": [
  659.         {
  660.           "name": "flow",
  661.           "shape": 5,
  662.           "type": "FLOW_CONTROL",
  663.           "link": 473
  664.         },
  665.         {
  666.           "name": "initial_value0",
  667.           "shape": 7,
  668.           "type": "*",
  669.           "link": 494
  670.         },
  671.         {
  672.           "name": "condition",
  673.           "type": "BOOLEAN",
  674.           "widget": {
  675.             "name": "condition"
  676.           },
  677.           "link": 465
  678.         },
  679.         {
  680.           "name": "initial_value1",
  681.           "type": "*",
  682.           "link": 481
  683.         },
  684.         {
  685.           "name": "initial_value2",
  686.           "type": "*",
  687.           "link": null
  688.         }
  689.       ],
  690.       "outputs": [
  691.         {
  692.           "name": "value0",
  693.           "type": "*",
  694.           "links": [
  695.             466
  696.           ]
  697.         },
  698.         {
  699.           "name": "value1",
  700.           "type": "*",
  701.           "links": [
  702.             467
  703.           ]
  704.         },
  705.         {
  706.           "name": "value2",
  707.           "type": "*",
  708.           "links": null
  709.         }
  710.       ],
  711.       "properties": {
  712.         "cnr_id": "comfyui-easy-use",
  713.         "ver": "1.3.2",
  714.         "Node name for S&R": "easy whileLoopEnd"
  715.       },
  716.       "widgets_values": [
  717.         false
  718.       ],
  719.       "color": "#323",
  720.       "bgcolor": "#535"
  721.     },
  722.     {
  723.       "id": 269,
  724.       "type": "easy mathInt",
  725.       "pos": [
  726.         -615.7572021484375,
  727.         1100.414794921875
  728.       ],
  729.       "size": [
  730.         210,
  731.         106
  732.       ],
  733.       "flags": {},
  734.       "order": 17,
  735.       "mode": 0,
  736.       "inputs": [
  737.         {
  738.           "name": "a",
  739.           "type": "INT",
  740.           "widget": {
  741.             "name": "a"
  742.           },
  743.           "link": 493
  744.         }
  745.       ],
  746.       "outputs": [
  747.         {
  748.           "name": "INT",
  749.           "type": "INT",
  750.           "links": [
  751.             470
  752.           ]
  753.         }
  754.       ],
  755.       "properties": {
  756.         "cnr_id": "comfyui-easy-use",
  757.         "ver": "1.3.2",
  758.         "Node name for S&R": "easy mathInt"
  759.       },
  760.       "widgets_values": [
  761.         0,
  762.         64,
  763.         "multiply"
  764.       ]
  765.     },
  766.     {
  767.       "id": 262,
  768.       "type": "easy mathInt",
  769.       "pos": [
  770.         -386.9819030761719,
  771.         1096.6046142578125
  772.       ],
  773.       "size": [
  774.         210,
  775.         106
  776.       ],
  777.       "flags": {},
  778.       "order": 23,
  779.       "mode": 0,
  780.       "inputs": [
  781.         {
  782.           "name": "a",
  783.           "type": "INT",
  784.           "widget": {
  785.             "name": "a"
  786.           },
  787.           "link": 470
  788.         },
  789.         {
  790.           "name": "b",
  791.           "type": "INT",
  792.           "widget": {
  793.             "name": "b"
  794.           },
  795.           "link": 469
  796.         }
  797.       ],
  798.       "outputs": [
  799.         {
  800.           "name": "INT",
  801.           "type": "INT",
  802.           "links": [
  803.             484
  804.           ]
  805.         }
  806.       ],
  807.       "properties": {
  808.         "cnr_id": "comfyui-easy-use",
  809.         "ver": "1.3.2",
  810.         "Node name for S&R": "easy mathInt"
  811.       },
  812.       "widgets_values": [
  813.         0,
  814.         0,
  815.         "add"
  816.       ]
  817.     },
  818.     {
  819.       "id": 280,
  820.       "type": "easy forLoopStart",
  821.       "pos": [
  822.         -158.20034790039062,
  823.         1150.13330078125
  824.       ],
  825.       "size": [
  826.         210,
  827.         118
  828.       ],
  829.       "flags": {},
  830.       "order": 26,
  831.       "mode": 0,
  832.       "inputs": [
  833.         {
  834.           "name": "initial_value1",
  835.           "shape": 7,
  836.           "type": "*",
  837.           "link": 484
  838.         },
  839.         {
  840.           "name": "total",
  841.           "type": "INT",
  842.           "widget": {
  843.             "name": "total"
  844.           },
  845.           "link": 485
  846.         },
  847.         {
  848.           "name": "initial_value2",
  849.           "type": "*",
  850.           "link": null
  851.         }
  852.       ],
  853.       "outputs": [
  854.         {
  855.           "name": "flow",
  856.           "shape": 5,
  857.           "type": "FLOW_CONTROL",
  858.           "links": [
  859.             483
  860.           ]
  861.         },
  862.         {
  863.           "name": "index",
  864.           "type": "INT",
  865.           "links": []
  866.         },
  867.         {
  868.           "name": "value1",
  869.           "type": "*",
  870.           "links": [
  871.             487
  872.           ]
  873.         },
  874.         {
  875.           "name": "value2",
  876.           "type": "*",
  877.           "links": null
  878.         }
  879.       ],
  880.       "properties": {
  881.         "cnr_id": "comfyui-easy-use",
  882.         "ver": "1.3.2",
  883.         "Node name for S&R": "easy forLoopStart"
  884.       },
  885.       "widgets_values": [
  886.         1
  887.       ],
  888.       "color": "#233",
  889.       "bgcolor": "#355"
  890.     },
  891.     {
  892.       "id": 281,
  893.       "type": "easy forLoopEnd",
  894.       "pos": [
  895.         1054.4761962890625,
  896.         1150.1324462890625
  897.       ],
  898.       "size": [
  899.         163.08984375,
  900.         86
  901.       ],
  902.       "flags": {},
  903.       "order": 37,
  904.       "mode": 0,
  905.       "inputs": [
  906.         {
  907.           "name": "flow",
  908.           "shape": 5,
  909.           "type": "FLOW_CONTROL",
  910.           "link": 483
  911.         },
  912.         {
  913.           "name": "initial_value1",
  914.           "shape": 7,
  915.           "type": "*",
  916.           "link": 489
  917.         },
  918.         {
  919.           "name": "initial_value2",
  920.           "type": "*",
  921.           "link": 482
  922.         },
  923.         {
  924.           "name": "initial_value3",
  925.           "type": "*",
  926.           "link": null
  927.         }
  928.       ],
  929.       "outputs": [
  930.         {
  931.           "name": "value1",
  932.           "type": "*",
  933.           "links": [
  934.             481
  935.           ]
  936.         },
  937.         {
  938.           "name": "value2",
  939.           "type": "*",
  940.           "links": null
  941.         },
  942.         {
  943.           "name": "value3",
  944.           "type": "*",
  945.           "links": null
  946.         }
  947.       ],
  948.       "properties": {
  949.         "cnr_id": "comfyui-easy-use",
  950.         "ver": "1.3.2",
  951.         "Node name for S&R": "easy forLoopEnd"
  952.       },
  953.       "widgets_values": [],
  954.       "color": "#233",
  955.       "bgcolor": "#355"
  956.     },
  957.     {
  958.       "id": 282,
  959.       "type": "easy mathInt",
  960.       "pos": [
  961.         316.2461853027344,
  962.         1207.423583984375
  963.       ],
  964.       "size": [
  965.         210,
  966.         106
  967.       ],
  968.       "flags": {},
  969.       "order": 29,
  970.       "mode": 0,
  971.       "inputs": [
  972.         {
  973.           "name": "a",
  974.           "type": "INT",
  975.           "widget": {
  976.             "name": "a"
  977.           },
  978.           "link": 487
  979.         }
  980.       ],
  981.       "outputs": [
  982.         {
  983.           "name": "INT",
  984.           "type": "INT",
  985.           "links": [
  986.             488,
  987.             489
  988.           ]
  989.         }
  990.       ],
  991.       "properties": {
  992.         "cnr_id": "comfyui-easy-use",
  993.         "ver": "1.3.2",
  994.         "Node name for S&R": "easy mathInt"
  995.       },
  996.       "widgets_values": [
  997.         0,
  998.         1,
  999.         "add"
  1000.       ]
  1001.     },
  1002.     {
  1003.       "id": 265,
  1004.       "type": "Int",
  1005.       "pos": [
  1006.         -1586.0924072265625,
  1007.         1390.1246337890625
  1008.       ],
  1009.       "size": [
  1010.         210,
  1011.         58
  1012.       ],
  1013.       "flags": {},
  1014.       "order": 5,
  1015.       "mode": 0,
  1016.       "inputs": [],
  1017.       "outputs": [
  1018.         {
  1019.           "name": "INT",
  1020.           "type": "INT",
  1021.           "links": [
  1022.             456
  1023.           ]
  1024.         }
  1025.       ],
  1026.       "title": "Start",
  1027.       "properties": {
  1028.         "cnr_id": "comfyui-logic",
  1029.         "ver": "1.0.0",
  1030.         "Node name for S&R": "Int"
  1031.       },
  1032.       "widgets_values": [
  1033.         0
  1034.       ],
  1035.       "color": "#323",
  1036.       "bgcolor": "#535"
  1037.     },
  1038.     {
  1039.       "id": 270,
  1040.       "type": "easy whileLoopStart",
  1041.       "pos": [
  1042.         -1334.120849609375,
  1043.         1388.6832275390625
  1044.       ],
  1045.       "size": [
  1046.         210,
  1047.         98
  1048.       ],
  1049.       "flags": {},
  1050.       "order": 11,
  1051.       "mode": 0,
  1052.       "inputs": [
  1053.         {
  1054.           "name": "initial_value0",
  1055.           "shape": 7,
  1056.           "type": "*",
  1057.           "link": 456
  1058.         },
  1059.         {
  1060.           "name": "initial_value1",
  1061.           "type": "*",
  1062.           "link": null
  1063.         }
  1064.       ],
  1065.       "outputs": [
  1066.         {
  1067.           "name": "flow",
  1068.           "shape": 5,
  1069.           "type": "FLOW_CONTROL",
  1070.           "links": [
  1071.             473
  1072.           ]
  1073.         },
  1074.         {
  1075.           "name": "value0",
  1076.           "type": "*",
  1077.           "links": [
  1078.             462,
  1079.             491
  1080.           ]
  1081.         },
  1082.         {
  1083.           "name": "value1",
  1084.           "type": "*",
  1085.           "links": null
  1086.         }
  1087.       ],
  1088.       "properties": {
  1089.         "cnr_id": "comfyui-easy-use",
  1090.         "ver": "1.3.2",
  1091.         "Node name for S&R": "easy whileLoopStart"
  1092.       },
  1093.       "widgets_values": [
  1094.         true
  1095.       ],
  1096.       "color": "#323",
  1097.       "bgcolor": "#535"
  1098.     },
  1099.     {
  1100.       "id": 286,
  1101.       "type": "Reroute",
  1102.       "pos": [
  1103.         -944.994873046875,
  1104.         1409.5203857421875
  1105.       ],
  1106.       "size": [
  1107.         75,
  1108.         26
  1109.       ],
  1110.       "flags": {},
  1111.       "order": 14,
  1112.       "mode": 0,
  1113.       "inputs": [
  1114.         {
  1115.           "name": "",
  1116.           "type": "*",
  1117.           "widget": {
  1118.             "name": "value"
  1119.           },
  1120.           "link": 491
  1121.         }
  1122.       ],
  1123.       "outputs": [
  1124.         {
  1125.           "name": "",
  1126.           "type": "*",
  1127.           "links": [
  1128.             492,
  1129.             493,
  1130.             495
  1131.           ]
  1132.         }
  1133.       ],
  1134.       "properties": {
  1135.         "showOutputText": false,
  1136.         "horizontal": false
  1137.       }
  1138.     },
  1139.     {
  1140.       "id": 266,
  1141.       "type": "easy mathInt",
  1142.       "pos": [
  1143.         -609.2409057617188,
  1144.         1440.6343994140625
  1145.       ],
  1146.       "size": [
  1147.         210,
  1148.         106
  1149.       ],
  1150.       "flags": {
  1151.         "collapsed": true
  1152.       },
  1153.       "order": 18,
  1154.       "mode": 0,
  1155.       "inputs": [
  1156.         {
  1157.           "name": "a",
  1158.           "type": "INT",
  1159.           "widget": {
  1160.             "name": "a"
  1161.           },
  1162.           "link": 495
  1163.         }
  1164.       ],
  1165.       "outputs": [
  1166.         {
  1167.           "name": "INT",
  1168.           "type": "INT",
  1169.           "links": [
  1170.             494
  1171.           ]
  1172.         }
  1173.       ],
  1174.       "title": "Index +1",
  1175.       "properties": {
  1176.         "cnr_id": "comfyui-easy-use",
  1177.         "ver": "1.3.2",
  1178.         "Node name for S&R": "easy mathInt"
  1179.       },
  1180.       "widgets_values": [
  1181.         0,
  1182.         1,
  1183.         "add"
  1184.       ],
  1185.       "color": "#323",
  1186.       "bgcolor": "#535"
  1187.     },
  1188.     {
  1189.       "id": 31,
  1190.       "type": "KSampler",
  1191.       "pos": [
  1192.         647.2095947265625,
  1193.         -142.66256713867188
  1194.       ],
  1195.       "size": [
  1196.         320,
  1197.         262
  1198.       ],
  1199.       "flags": {},
  1200.       "order": 31,
  1201.       "mode": 0,
  1202.       "inputs": [
  1203.         {
  1204.           "name": "model",
  1205.           "type": "MODEL",
  1206.           "link": 417
  1207.         },
  1208.         {
  1209.           "name": "positive",
  1210.           "type": "CONDITIONING",
  1211.           "link": 57
  1212.         },
  1213.         {
  1214.           "name": "negative",
  1215.           "type": "CONDITIONING",
  1216.           "link": 238
  1217.         },
  1218.         {
  1219.           "name": "latent_image",
  1220.           "type": "LATENT",
  1221.           "link": 291
  1222.         },
  1223.         {
  1224.           "name": "seed",
  1225.           "type": "INT",
  1226.           "widget": {
  1227.             "name": "seed"
  1228.           },
  1229.           "link": 488
  1230.         }
  1231.       ],
  1232.       "outputs": [
  1233.         {
  1234.           "name": "LATENT",
  1235.           "type": "LATENT",
  1236.           "slot_index": 0,
  1237.           "links": [
  1238.             331
  1239.           ]
  1240.         }
  1241.       ],
  1242.       "properties": {
  1243.         "cnr_id": "comfy-core",
  1244.         "ver": "0.3.38",
  1245.         "Node name for S&R": "KSampler"
  1246.       },
  1247.       "widgets_values": [
  1248.         404906481003749,
  1249.         "increment",
  1250.         24,
  1251.         1,
  1252.         "euler_ancestral",
  1253.         "simple",
  1254.         1
  1255.       ]
  1256.     },
  1257.     {
  1258.       "id": 190,
  1259.       "type": "ImageScaleToTotalPixels",
  1260.       "pos": [
  1261.         -800.8126220703125,
  1262.         311.3168029785156
  1263.       ],
  1264.       "size": [
  1265.         333.8703308105469,
  1266.         83.62984466552734
  1267.       ],
  1268.       "flags": {},
  1269.       "order": 15,
  1270.       "mode": 0,
  1271.       "inputs": [
  1272.         {
  1273.           "name": "image",
  1274.           "type": "IMAGE",
  1275.           "link": 475
  1276.         }
  1277.       ],
  1278.       "outputs": [
  1279.         {
  1280.           "name": "IMAGE",
  1281.           "type": "IMAGE",
  1282.           "links": [
  1283.             426,
  1284.             477
  1285.           ]
  1286.         }
  1287.       ],
  1288.       "properties": {
  1289.         "cnr_id": "comfy-core",
  1290.         "ver": "0.3.50",
  1291.         "Node name for S&R": "ImageScaleToTotalPixels",
  1292.         "enableTabs": false,
  1293.         "tabWidth": 65,
  1294.         "tabXOffset": 10,
  1295.         "hasSecondTab": false,
  1296.         "secondTabText": "Send Back",
  1297.         "secondTabOffset": 80,
  1298.         "secondTabWidth": 65,
  1299.         "ue_properties": {
  1300.           "widget_ue_connectable": {
  1301.             "upscale_method": true,
  1302.             "megapixels": true
  1303.           }
  1304.         }
  1305.       },
  1306.       "widgets_values": [
  1307.         "lanczos",
  1308.         1
  1309.       ],
  1310.       "color": "#232",
  1311.       "bgcolor": "#353"
  1312.     },
  1313.     {
  1314.       "id": 219,
  1315.       "type": "Reroute",
  1316.       "pos": [
  1317.         -149.3343963623047,
  1318.         126.64717864990234
  1319.       ],
  1320.       "size": [
  1321.         75,
  1322.         26
  1323.       ],
  1324.       "flags": {},
  1325.       "order": 33,
  1326.       "mode": 0,
  1327.       "inputs": [
  1328.         {
  1329.           "name": "",
  1330.           "type": "*",
  1331.           "link": 333
  1332.         }
  1333.       ],
  1334.       "outputs": [
  1335.         {
  1336.           "name": "",
  1337.           "type": "LATENT",
  1338.           "links": [
  1339.             334
  1340.           ]
  1341.         }
  1342.       ],
  1343.       "properties": {
  1344.         "showOutputText": false,
  1345.         "horizontal": false
  1346.       }
  1347.     },
  1348.     {
  1349.       "id": 8,
  1350.       "type": "VAEDecode",
  1351.       "pos": [
  1352.         -10.235739707946777,
  1353.         265.4872741699219
  1354.       ],
  1355.       "size": [
  1356.         190,
  1357.         46
  1358.       ],
  1359.       "flags": {
  1360.         "collapsed": true
  1361.       },
  1362.       "order": 34,
  1363.       "mode": 0,
  1364.       "inputs": [
  1365.         {
  1366.           "name": "samples",
  1367.           "type": "LATENT",
  1368.           "link": 334
  1369.         },
  1370.         {
  1371.           "name": "vae",
  1372.           "type": "VAE",
  1373.           "link": 61
  1374.         }
  1375.       ],
  1376.       "outputs": [
  1377.         {
  1378.           "name": "IMAGE",
  1379.           "type": "IMAGE",
  1380.           "slot_index": 0,
  1381.           "links": [
  1382.             351
  1383.           ]
  1384.         }
  1385.       ],
  1386.       "properties": {
  1387.         "cnr_id": "comfy-core",
  1388.         "ver": "0.3.38",
  1389.         "Node name for S&R": "VAEDecode"
  1390.       },
  1391.       "widgets_values": []
  1392.     },
  1393.     {
  1394.       "id": 283,
  1395.       "type": "Int",
  1396.       "pos": [
  1397.         -384.1993103027344,
  1398.         1275.3238525390625
  1399.       ],
  1400.       "size": [
  1401.         210,
  1402.         58
  1403.       ],
  1404.       "flags": {},
  1405.       "order": 6,
  1406.       "mode": 0,
  1407.       "inputs": [],
  1408.       "outputs": [
  1409.         {
  1410.           "name": "INT",
  1411.           "type": "INT",
  1412.           "links": [
  1413.             485
  1414.           ]
  1415.         }
  1416.       ],
  1417.       "title": "Batch Size",
  1418.       "properties": {
  1419.         "cnr_id": "comfyui-logic",
  1420.         "ver": "1.0.0",
  1421.         "Node name for S&R": "Int"
  1422.       },
  1423.       "widgets_values": [
  1424.         2
  1425.       ],
  1426.       "color": "#233",
  1427.       "bgcolor": "#355"
  1428.     },
  1429.     {
  1430.       "id": 197,
  1431.       "type": "ttN text",
  1432.       "pos": [
  1433.         -1078.97998046875,
  1434.         632.520263671875
  1435.       ],
  1436.       "size": [
  1437.         210,
  1438.         411.2439880371094
  1439.       ],
  1440.       "flags": {},
  1441.       "order": 7,
  1442.       "mode": 0,
  1443.       "inputs": [],
  1444.       "outputs": [
  1445.         {
  1446.           "name": "text",
  1447.           "type": "STRING",
  1448.           "links": [
  1449.             438
  1450.           ]
  1451.         }
  1452.       ],
  1453.       "title": "Expressions",
  1454.       "properties": {
  1455.         "cnr_id": "comfyui_tinyterranodes",
  1456.         "ver": "2.0.9",
  1457.         "Node name for S&R": "ttN text",
  1458.         "ttNnodeVersion": "1.0.0"
  1459.       },
  1460.       "widgets_values": [
  1461.         "admiration\namusement\nanger\nannoyance\napproval\ncaring\nconfusion\ncuriosity\ndesire\ndisappointment\ndisapproval\ndisgust\nembarrassment\nexcitement\nfear\ngrattitude\ngrief\njoy\nlove\nnervousness\nneutral\noptimism\npride\nrealization\nrelief\nremorese\nsadness\nsurprise\nwonder"
  1462.       ],
  1463.       "color": "#323",
  1464.       "bgcolor": "#535"
  1465.     },
  1466.     {
  1467.       "id": 275,
  1468.       "type": "Int",
  1469.       "pos": [
  1470.         -1585.37451171875,
  1471.         1506.04833984375
  1472.       ],
  1473.       "size": [
  1474.         210,
  1475.         58
  1476.       ],
  1477.       "flags": {},
  1478.       "order": 8,
  1479.       "mode": 0,
  1480.       "inputs": [],
  1481.       "outputs": [
  1482.         {
  1483.           "name": "INT",
  1484.           "type": "INT",
  1485.           "links": [
  1486.             463
  1487.           ]
  1488.         }
  1489.       ],
  1490.       "title": "End",
  1491.       "properties": {
  1492.         "cnr_id": "comfyui-logic",
  1493.         "ver": "1.0.0",
  1494.         "Node name for S&R": "Int"
  1495.       },
  1496.       "widgets_values": [
  1497.         28
  1498.       ],
  1499.       "color": "#323",
  1500.       "bgcolor": "#535"
  1501.     },
  1502.     {
  1503.       "id": 251,
  1504.       "type": "LoadImage",
  1505.       "pos": [
  1506.         -1577.844482421875,
  1507.         72.04734802246094
  1508.       ],
  1509.       "size": [
  1510.         310,
  1511.         410
  1512.       ],
  1513.       "flags": {},
  1514.       "order": 9,
  1515.       "mode": 0,
  1516.       "inputs": [],
  1517.       "outputs": [
  1518.         {
  1519.           "name": "IMAGE",
  1520.           "type": "IMAGE",
  1521.           "links": [
  1522.             476
  1523.           ]
  1524.         },
  1525.         {
  1526.           "name": "MASK",
  1527.           "type": "MASK",
  1528.           "links": null
  1529.         }
  1530.       ],
  1531.       "properties": {
  1532.         "cnr_id": "comfy-core",
  1533.         "ver": "0.3.43",
  1534.         "Node name for S&R": "LoadImage"
  1535.       },
  1536.       "widgets_values": [
  1537.         "_Syrin_input_image.png",
  1538.         "image"
  1539.       ],
  1540.       "color": "#232",
  1541.       "bgcolor": "#353"
  1542.     },
  1543.     {
  1544.       "id": 228,
  1545.       "type": "Image Save",
  1546.       "pos": [
  1547.         642.5521850585938,
  1548.         480.7677917480469
  1549.       ],
  1550.       "size": [
  1551.         322.1832580566406,
  1552.         626
  1553.       ],
  1554.       "flags": {},
  1555.       "order": 36,
  1556.       "mode": 0,
  1557.       "inputs": [
  1558.         {
  1559.           "name": "images",
  1560.           "type": "IMAGE",
  1561.           "link": 355
  1562.         },
  1563.         {
  1564.           "name": "output_path",
  1565.           "type": "STRING",
  1566.           "widget": {
  1567.             "name": "output_path"
  1568.           },
  1569.           "link": 432
  1570.         },
  1571.         {
  1572.           "name": "filename_prefix",
  1573.           "type": "STRING",
  1574.           "widget": {
  1575.             "name": "filename_prefix"
  1576.           },
  1577.           "link": 497
  1578.         }
  1579.       ],
  1580.       "outputs": [
  1581.         {
  1582.           "name": "images",
  1583.           "type": "IMAGE",
  1584.           "links": [
  1585.             482
  1586.           ]
  1587.         },
  1588.         {
  1589.           "name": "files",
  1590.           "type": "STRING",
  1591.           "links": []
  1592.         }
  1593.       ],
  1594.       "properties": {
  1595.         "cnr_id": "was-ns",
  1596.         "ver": "3.0.0",
  1597.         "Node name for S&R": "Image Save"
  1598.       },
  1599.       "widgets_values": [
  1600.         "[time(%Y-%m-%d)]",
  1601.         "ComfyUI",
  1602.         "-",
  1603.         2,
  1604.         "false",
  1605.         "png",
  1606.         300,
  1607.         100,
  1608.         "true",
  1609.         "false",
  1610.         "false",
  1611.         "false",
  1612.         "true",
  1613.         "true",
  1614.         "true"
  1615.       ]
  1616.     },
  1617.     {
  1618.       "id": 222,
  1619.       "type": "ImpactStringSelector",
  1620.       "pos": [
  1621.         -721.8259887695312,
  1622.         609.8152465820312
  1623.       ],
  1624.       "size": [
  1625.         210,
  1626.         136
  1627.       ],
  1628.       "flags": {
  1629.         "collapsed": false
  1630.       },
  1631.       "order": 16,
  1632.       "mode": 0,
  1633.       "inputs": [
  1634.         {
  1635.           "name": "strings",
  1636.           "type": "STRING",
  1637.           "widget": {
  1638.             "name": "strings"
  1639.           },
  1640.           "link": 438
  1641.         },
  1642.         {
  1643.           "name": "select",
  1644.           "type": "INT",
  1645.           "widget": {
  1646.             "name": "select"
  1647.           },
  1648.           "link": 492
  1649.         }
  1650.       ],
  1651.       "outputs": [
  1652.         {
  1653.           "name": "STRING",
  1654.           "type": "STRING",
  1655.           "links": [
  1656.             496,
  1657.             504
  1658.           ]
  1659.         }
  1660.       ],
  1661.       "properties": {
  1662.         "cnr_id": "comfyui-impact-pack",
  1663.         "ver": "8.22.2",
  1664.         "Node name for S&R": "ImpactStringSelector"
  1665.       },
  1666.       "widgets_values": [
  1667.         "",
  1668.         false,
  1669.         0
  1670.       ]
  1671.     },
  1672.     {
  1673.       "id": 279,
  1674.       "type": "PreviewImage",
  1675.       "pos": [
  1676.         -421.63165283203125,
  1677.         266.3905944824219
  1678.       ],
  1679.       "size": [
  1680.         210,
  1681.         258
  1682.       ],
  1683.       "flags": {},
  1684.       "order": 20,
  1685.       "mode": 0,
  1686.       "inputs": [
  1687.         {
  1688.           "name": "images",
  1689.           "type": "IMAGE",
  1690.           "link": 477
  1691.         }
  1692.       ],
  1693.       "outputs": [],
  1694.       "properties": {
  1695.         "cnr_id": "comfy-core",
  1696.         "ver": "0.3.43",
  1697.         "Node name for S&R": "PreviewImage"
  1698.       },
  1699.       "widgets_values": []
  1700.     },
  1701.     {
  1702.       "id": 287,
  1703.       "type": "StringConcatenate",
  1704.       "pos": [
  1705.         -14.650768280029297,
  1706.         593.0750732421875
  1707.       ],
  1708.       "size": [
  1709.         210,
  1710.         166
  1711.       ],
  1712.       "flags": {},
  1713.       "order": 21,
  1714.       "mode": 0,
  1715.       "inputs": [
  1716.         {
  1717.           "name": "string_a",
  1718.           "type": "STRING",
  1719.           "widget": {
  1720.             "name": "string_a"
  1721.           },
  1722.           "link": 496
  1723.         }
  1724.       ],
  1725.       "outputs": [
  1726.         {
  1727.           "name": "STRING",
  1728.           "type": "STRING",
  1729.           "links": [
  1730.             497
  1731.           ]
  1732.         }
  1733.       ],
  1734.       "properties": {
  1735.         "cnr_id": "comfy-core",
  1736.         "ver": "0.3.43",
  1737.         "Node name for S&R": "StringConcatenate"
  1738.       },
  1739.       "widgets_values": [
  1740.         "",
  1741.         "kontext+llm",
  1742.         "-"
  1743.       ]
  1744.     },
  1745.     {
  1746.       "id": 220,
  1747.       "type": "ShowText",
  1748.       "pos": [
  1749.         -18.16658592224121,
  1750.         823.8458251953125
  1751.       ],
  1752.       "size": [
  1753.         219.79197692871094,
  1754.         165.96279907226562
  1755.       ],
  1756.       "flags": {},
  1757.       "order": 24,
  1758.       "mode": 0,
  1759.       "inputs": [
  1760.         {
  1761.           "name": "text",
  1762.           "type": "STRING",
  1763.           "link": 503
  1764.         }
  1765.       ],
  1766.       "outputs": [],
  1767.       "properties": {
  1768.         "cnr_id": "ardent-nodes-comfyui",
  1769.         "ver": "0.3.3",
  1770.         "Node name for S&R": "ShowText"
  1771.       },
  1772.       "widgets_values": [
  1773.         "Gentle, warm, attentive, compassionate, protective, supportive, reassuring, kind, concerned, nodding, leaning in, soft smile, open hands, eye contact, reaching out"
  1774.       ]
  1775.     },
  1776.     {
  1777.       "id": 226,
  1778.       "type": "Image Rembg (Remove Background)",
  1779.       "pos": [
  1780.         153.19668579101562,
  1781.         234.6299591064453
  1782.       ],
  1783.       "size": [
  1784.         304.8125,
  1785.         250
  1786.       ],
  1787.       "flags": {},
  1788.       "order": 35,
  1789.       "mode": 0,
  1790.       "inputs": [
  1791.         {
  1792.           "name": "images",
  1793.           "type": "IMAGE",
  1794.           "link": 351
  1795.         }
  1796.       ],
  1797.       "outputs": [
  1798.         {
  1799.           "name": "images",
  1800.           "type": "IMAGE",
  1801.           "links": [
  1802.             355
  1803.           ]
  1804.         }
  1805.       ],
  1806.       "properties": {
  1807.         "cnr_id": "was-ns",
  1808.         "ver": "3.0.0",
  1809.         "Node name for S&R": "Image Rembg (Remove Background)"
  1810.       },
  1811.       "widgets_values": [
  1812.         true,
  1813.         "u2net_human_seg",
  1814.         false,
  1815.         false,
  1816.         false,
  1817.         200,
  1818.         10,
  1819.         10,
  1820.         "none"
  1821.       ]
  1822.     },
  1823.     {
  1824.       "id": 288,
  1825.       "type": "OpenRouterNode",
  1826.       "pos": [
  1827.         -447.0390930175781,
  1828.         672.5484008789062
  1829.       ],
  1830.       "size": [
  1831.         331.685302734375,
  1832.         372.5855712890625
  1833.       ],
  1834.       "flags": {},
  1835.       "order": 22,
  1836.       "mode": 0,
  1837.       "inputs": [
  1838.         {
  1839.           "name": "image",
  1840.           "shape": 7,
  1841.           "type": "IMAGE",
  1842.           "link": null
  1843.         },
  1844.         {
  1845.           "name": "pdf_data",
  1846.           "shape": 7,
  1847.           "type": "*",
  1848.           "link": null
  1849.         },
  1850.         {
  1851.           "name": "user_message_input",
  1852.           "shape": 7,
  1853.           "type": "STRING",
  1854.           "link": null
  1855.         },
  1856.         {
  1857.           "name": "user_message_box",
  1858.           "type": "STRING",
  1859.           "widget": {
  1860.             "name": "user_message_box"
  1861.           },
  1862.           "link": 504
  1863.         }
  1864.       ],
  1865.       "outputs": [
  1866.         {
  1867.           "name": "Output",
  1868.           "type": "STRING",
  1869.           "links": [
  1870.             503,
  1871.             505
  1872.           ]
  1873.         },
  1874.         {
  1875.           "name": "Stats",
  1876.           "type": "STRING",
  1877.           "links": null
  1878.         },
  1879.         {
  1880.           "name": "Credits",
  1881.           "type": "STRING",
  1882.           "links": null
  1883.         }
  1884.       ],
  1885.       "properties": {
  1886.         "Node name for S&R": "OpenRouterNode",
  1887.         "cnr_id": "openrouter_node",
  1888.         "ver": "1.0.1"
  1889.       },
  1890.       "widgets_values": [
  1891.         "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",
  1892.         "Please think of 15 words (and only respond with those words and phrases separated by comas) that describe the face, posture, or gestures someone would make if they were feeling",
  1893.         "",
  1894.         "z-ai/glm-4.5-air:free",
  1895.         false,
  1896.         true,
  1897.         false,
  1898.         1,
  1899.         "mistral-ocr"
  1900.       ]
  1901.     },
  1902.     {
  1903.       "id": 255,
  1904.       "type": "MarkdownNote",
  1905.       "pos": [
  1906.         -2101.74609375,
  1907.         68.99189758300781
  1908.       ],
  1909.       "size": [
  1910.         496.38525390625,
  1911.         547.0382080078125
  1912.       ],
  1913.       "flags": {},
  1914.       "order": 10,
  1915.       "mode": 0,
  1916.       "inputs": [],
  1917.       "outputs": [],
  1918.       "properties": {},
  1919.       "widgets_values": [
  1920.         "## SillyTavern Flux Kontext Character Expression Generator\n\nInspired by [SillyTavern Expressions Workflow v2](https://www.reddit.com/r/SillyTavernAI/comments/1kb0s7n/sillytavern_expressions_workflow_v2_for_comfyui/)\n\n**CONCEPT** Use Flux Kontext to generate expressions that can include gestures and posture as part of the emotional imagery. The prompt is built by an LLM for this workflow, so if you have a very expressive character, you can increase the prompt intensity through what you ask the LLM. Or, if the subject is your virtual goth girlfriend, you can reduce the expressiveness to be low-key.\n\n**BLUE boxes** are the loaders. My directory structures are different than yours. Click each one to make sure the thing it wants is loadable in *your* directory structure. This is the most likely source of problems.\n\n**GREEN boxes** are the inputs. You provide a character name and image to the workflow. Once you have the loaders and inputs set, just hit \"Run\" and generate away. The scaling box is optional. Flux can give you some high-quality images, or you can run at 0.5 megapixels to spit out a pack of expressions really quickly.\n\n**PURPLE boxes** are the loop and logic controls that produce the different expressions. Don't screw with this unless you know what you are doing. You can change the index numbers to generate a subset of the list, for example. *I highly recommend* making a copy of the workflow *before* tinkering with the loops.\n\n**TEAL boxes** are a \"batch size\" loop. Kontext is amazing, but I have rarely been satisfied with the first run of every expression for a new character. I tend to run this at 4 or even 6, but if you just want something quick-and-dirty (you know who you are), you can turn it down to 1. Delete the ones you don't want, but ST can accept more than one image per expression if you have a couple of good ones for a given sentiment.\n\nOf backgrounds ... I am removing the background up front AND at the end of the workflow. I have found this gives me more consistent results. There is also a note for Kontext to provide a \"neutral background.\" If you prefer the images to have a background and not be just the character, you can *bypass* the two \"Rembg\" nodes.\n\nFinal note: Flux can change the character a bit more than I would like on certain input pictures. If you feed some of the same images back through a few times, they will trend toward \"Flux Face.\" If you are super-particular about the facial structure and features of your character, you may have to train add a Lora to the mix. Or perhaps you can use IP Adapter to solve this issue. For me, the \"drift\" from the original character is minimal and rarely enough for me to be concerned. I just wanted to note that it does happen, and sometimes, quite severely."
  1921.       ],
  1922.       "color": "#432",
  1923.       "bgcolor": "#653"
  1924.     }
  1925.   ],
  1926.   "links": [
  1927.     [
  1928.       57,
  1929.       35,
  1930.       0,
  1931.       31,
  1932.       1,
  1933.       "CONDITIONING"
  1934.     ],
  1935.     [
  1936.       59,
  1937.       38,
  1938.       0,
  1939.       6,
  1940.       0,
  1941.       "CLIP"
  1942.     ],
  1943.     [
  1944.       61,
  1945.       39,
  1946.       0,
  1947.       8,
  1948.       1,
  1949.       "VAE"
  1950.     ],
  1951.     [
  1952.       223,
  1953.       39,
  1954.       0,
  1955.       124,
  1956.       1,
  1957.       "VAE"
  1958.     ],
  1959.     [
  1960.       237,
  1961.       6,
  1962.       0,
  1963.       135,
  1964.       0,
  1965.       "CONDITIONING"
  1966.     ],
  1967.     [
  1968.       238,
  1969.       135,
  1970.       0,
  1971.       31,
  1972.       2,
  1973.       "CONDITIONING"
  1974.     ],
  1975.     [
  1976.       291,
  1977.       124,
  1978.       0,
  1979.       31,
  1980.       3,
  1981.       "LATENT"
  1982.     ],
  1983.     [
  1984.       292,
  1985.       177,
  1986.       0,
  1987.       35,
  1988.       0,
  1989.       "CONDITIONING"
  1990.     ],
  1991.     [
  1992.       293,
  1993.       124,
  1994.       0,
  1995.       177,
  1996.       1,
  1997.       "LATENT"
  1998.     ],
  1999.     [
  2000.       294,
  2001.       6,
  2002.       0,
  2003.       177,
  2004.       0,
  2005.       "CONDITIONING"
  2006.     ],
  2007.     [
  2008.       331,
  2009.       31,
  2010.       0,
  2011.       218,
  2012.       0,
  2013.       "*"
  2014.     ],
  2015.     [
  2016.       333,
  2017.       218,
  2018.       0,
  2019.       219,
  2020.       0,
  2021.       "*"
  2022.     ],
  2023.     [
  2024.       334,
  2025.       219,
  2026.       0,
  2027.       8,
  2028.       0,
  2029.       "LATENT"
  2030.     ],
  2031.     [
  2032.       351,
  2033.       8,
  2034.       0,
  2035.       226,
  2036.       0,
  2037.       "IMAGE"
  2038.     ],
  2039.     [
  2040.       355,
  2041.       226,
  2042.       0,
  2043.       228,
  2044.       0,
  2045.       "IMAGE"
  2046.     ],
  2047.     [
  2048.       417,
  2049.       37,
  2050.       0,
  2051.       31,
  2052.       0,
  2053.       "MODEL"
  2054.     ],
  2055.     [
  2056.       426,
  2057.       190,
  2058.       0,
  2059.       124,
  2060.       0,
  2061.       "IMAGE"
  2062.     ],
  2063.     [
  2064.       432,
  2065.       223,
  2066.       0,
  2067.       228,
  2068.       1,
  2069.       "STRING"
  2070.     ],
  2071.     [
  2072.       438,
  2073.       197,
  2074.       0,
  2075.       222,
  2076.       0,
  2077.       "STRING"
  2078.     ],
  2079.     [
  2080.       456,
  2081.       265,
  2082.       0,
  2083.       270,
  2084.       0,
  2085.       "*"
  2086.     ],
  2087.     [
  2088.       462,
  2089.       270,
  2090.       1,
  2091.       274,
  2092.       0,
  2093.       "*"
  2094.     ],
  2095.     [
  2096.       463,
  2097.       275,
  2098.       0,
  2099.       274,
  2100.       1,
  2101.       "*"
  2102.     ],
  2103.     [
  2104.       465,
  2105.       274,
  2106.       0,
  2107.       271,
  2108.       2,
  2109.       "BOOLEAN"
  2110.     ],
  2111.     [
  2112.       466,
  2113.       271,
  2114.       0,
  2115.       267,
  2116.       0,
  2117.       "*"
  2118.     ],
  2119.     [
  2120.       467,
  2121.       271,
  2122.       1,
  2123.       276,
  2124.       0,
  2125.       "*"
  2126.     ],
  2127.     [
  2128.       469,
  2129.       261,
  2130.       0,
  2131.       262,
  2132.       1,
  2133.       "INT"
  2134.     ],
  2135.     [
  2136.       470,
  2137.       269,
  2138.       0,
  2139.       262,
  2140.       0,
  2141.       "INT"
  2142.     ],
  2143.     [
  2144.       473,
  2145.       270,
  2146.       0,
  2147.       271,
  2148.       0,
  2149.       "FLOW_CONTROL"
  2150.     ],
  2151.     [
  2152.       475,
  2153.       278,
  2154.       0,
  2155.       190,
  2156.       0,
  2157.       "IMAGE"
  2158.     ],
  2159.     [
  2160.       476,
  2161.       251,
  2162.       0,
  2163.       278,
  2164.       0,
  2165.       "IMAGE"
  2166.     ],
  2167.     [
  2168.       477,
  2169.       190,
  2170.       0,
  2171.       279,
  2172.       0,
  2173.       "IMAGE"
  2174.     ],
  2175.     [
  2176.       481,
  2177.       281,
  2178.       0,
  2179.       271,
  2180.       3,
  2181.       "*"
  2182.     ],
  2183.     [
  2184.       482,
  2185.       228,
  2186.       0,
  2187.       281,
  2188.       2,
  2189.       "*"
  2190.     ],
  2191.     [
  2192.       483,
  2193.       280,
  2194.       0,
  2195.       281,
  2196.       0,
  2197.       "FLOW_CONTROL"
  2198.     ],
  2199.     [
  2200.       484,
  2201.       262,
  2202.       0,
  2203.       280,
  2204.       0,
  2205.       "*"
  2206.     ],
  2207.     [
  2208.       485,
  2209.       283,
  2210.       0,
  2211.       280,
  2212.       1,
  2213.       "INT"
  2214.     ],
  2215.     [
  2216.       487,
  2217.       280,
  2218.       2,
  2219.       282,
  2220.       0,
  2221.       "INT"
  2222.     ],
  2223.     [
  2224.       488,
  2225.       282,
  2226.       0,
  2227.       31,
  2228.       4,
  2229.       "INT"
  2230.     ],
  2231.     [
  2232.       489,
  2233.       282,
  2234.       0,
  2235.       281,
  2236.       1,
  2237.       "*"
  2238.     ],
  2239.     [
  2240.       491,
  2241.       270,
  2242.       1,
  2243.       286,
  2244.       0,
  2245.       "*"
  2246.     ],
  2247.     [
  2248.       492,
  2249.       286,
  2250.       0,
  2251.       222,
  2252.       1,
  2253.       "INT"
  2254.     ],
  2255.     [
  2256.       493,
  2257.       286,
  2258.       0,
  2259.       269,
  2260.       0,
  2261.       "INT"
  2262.     ],
  2263.     [
  2264.       494,
  2265.       266,
  2266.       0,
  2267.       271,
  2268.       1,
  2269.       "*"
  2270.     ],
  2271.     [
  2272.       495,
  2273.       286,
  2274.       0,
  2275.       266,
  2276.       0,
  2277.       "INT"
  2278.     ],
  2279.     [
  2280.       496,
  2281.       222,
  2282.       0,
  2283.       287,
  2284.       0,
  2285.       "STRING"
  2286.     ],
  2287.     [
  2288.       497,
  2289.       287,
  2290.       0,
  2291.       228,
  2292.       2,
  2293.       "STRING"
  2294.     ],
  2295.     [
  2296.       503,
  2297.       288,
  2298.       0,
  2299.       220,
  2300.       0,
  2301.       "STRING"
  2302.     ],
  2303.     [
  2304.       504,
  2305.       222,
  2306.       0,
  2307.       288,
  2308.       3,
  2309.       "STRING"
  2310.     ],
  2311.     [
  2312.       505,
  2313.       288,
  2314.       0,
  2315.       6,
  2316.       1,
  2317.       "STRING"
  2318.     ]
  2319.   ],
  2320.   "groups": [],
  2321.   "config": {},
  2322.   "extra": {
  2323.     "ds": {
  2324.       "scale": 0.7848005885598452,
  2325.       "offset": [
  2326.         3130.312584201712,
  2327.         367.88392324264305
  2328.       ]
  2329.     },
  2330.     "frontendVersion": "1.25.9",
  2331.     "groupNodes": {},
  2332.     "VHS_latentpreview": false,
  2333.     "VHS_latentpreviewrate": 0,
  2334.     "VHS_MetadataImage": true,
  2335.     "VHS_KeepIntermediate": true
  2336.   },
  2337.   "version": 0.4
  2338. }
Tags: ComfyUI
Advertisement