Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": "4e3d003b-f94c-44cc-a16f-a975de03ab8e",
- "revision": 0,
- "last_node_id": 287,
- "last_link_id": 497,
- "nodes": [
- {
- "id": 38,
- "type": "DualCLIPLoader",
- "pos": [
- -811.876220703125,
- -17.9962158203125
- ],
- "size": [
- 350,
- 130
- ],
- "flags": {},
- "order": 0,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "CLIP",
- "type": "CLIP",
- "links": [
- 59
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.38",
- "Node name for S&R": "DualCLIPLoader",
- "models": [
- {
- "name": "clip_l.safetensors",
- "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors",
- "directory": "text_encoders"
- },
- {
- "name": "t5xxl_fp8_e4m3fn_scaled.safetensors",
- "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn_scaled.safetensors",
- "directory": "text_encoders"
- }
- ]
- },
- "widgets_values": [
- "clip_l.safetensors",
- "t5xxl_fp8_e4m3fn_scaled.safetensors",
- "flux",
- "default"
- ],
- "color": "#223",
- "bgcolor": "#335"
- },
- {
- "id": 37,
- "type": "UNETLoader",
- "pos": [
- -811.876220703125,
- -147.9962615966797
- ],
- "size": [
- 350,
- 82
- ],
- "flags": {},
- "order": 1,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "MODEL",
- "type": "MODEL",
- "links": [
- 417
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.38",
- "Node name for S&R": "UNETLoader",
- "models": [
- {
- "name": "flux1-dev-kontext_fp8_scaled.safetensors",
- "url": "https://huggingface.co/Comfy-Org/flux1-kontext-dev_ComfyUI/resolve/main/split_files/diffusion_models/flux1-dev-kontext_fp8_scaled.safetensors",
- "directory": "diffusion_models"
- }
- ]
- },
- "widgets_values": [
- "5_flux.1K/flux1Kontext_flux1KontextDevFP8.safetensors",
- "default"
- ],
- "color": "#223",
- "bgcolor": "#335"
- },
- {
- "id": 135,
- "type": "ConditioningZeroOut",
- "pos": [
- 311.54949951171875,
- 104.75756072998047
- ],
- "size": [
- 240,
- 26
- ],
- "flags": {
- "collapsed": true
- },
- "order": 33,
- "mode": 0,
- "inputs": [
- {
- "name": "conditioning",
- "type": "CONDITIONING",
- "link": 237
- }
- ],
- "outputs": [
- {
- "name": "CONDITIONING",
- "type": "CONDITIONING",
- "links": [
- 238
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.39",
- "Node name for S&R": "ConditioningZeroOut"
- },
- "widgets_values": []
- },
- {
- "id": 177,
- "type": "ReferenceLatent",
- "pos": [
- 62.29835510253906,
- 17.113853454589844
- ],
- "size": [
- 197.712890625,
- 46
- ],
- "flags": {
- "collapsed": true
- },
- "order": 34,
- "mode": 0,
- "inputs": [
- {
- "name": "conditioning",
- "type": "CONDITIONING",
- "link": 294
- },
- {
- "name": "latent",
- "shape": 7,
- "type": "LATENT",
- "link": 293
- }
- ],
- "outputs": [
- {
- "name": "CONDITIONING",
- "type": "CONDITIONING",
- "links": [
- 292
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.41",
- "Node name for S&R": "ReferenceLatent"
- },
- "widgets_values": []
- },
- {
- "id": 39,
- "type": "VAELoader",
- "pos": [
- -811.876220703125,
- 162.00367736816406
- ],
- "size": [
- 350,
- 58
- ],
- "flags": {},
- "order": 2,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "VAE",
- "type": "VAE",
- "links": [
- 61,
- 223
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.38",
- "Node name for S&R": "VAELoader",
- "models": [
- {
- "name": "ae.safetensors",
- "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
- "directory": "vae"
- }
- ]
- },
- "widgets_values": [
- "ae.safetensors"
- ],
- "color": "#223",
- "bgcolor": "#335"
- },
- {
- "id": 6,
- "type": "CLIPTextEncode",
- "pos": [
- -186.70306396484375,
- 105.86490631103516
- ],
- "size": [
- 263.2095642089844,
- 88
- ],
- "flags": {
- "collapsed": true
- },
- "order": 32,
- "mode": 0,
- "inputs": [
- {
- "name": "clip",
- "type": "CLIP",
- "link": 59
- },
- {
- "name": "text",
- "type": "STRING",
- "widget": {
- "name": "text"
- },
- "link": 415
- }
- ],
- "outputs": [
- {
- "name": "CONDITIONING",
- "type": "CONDITIONING",
- "slot_index": 0,
- "links": [
- 237,
- 294
- ]
- }
- ],
- "title": "CLIP Text Encode (Positive Prompt)",
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.38",
- "Node name for S&R": "CLIPTextEncode"
- },
- "widgets_values": [
- ""
- ]
- },
- {
- "id": 35,
- "type": "FluxGuidance",
- "pos": [
- 244.69285583496094,
- -12.19665241241455
- ],
- "size": [
- 240,
- 58
- ],
- "flags": {
- "collapsed": false
- },
- "order": 35,
- "mode": 0,
- "inputs": [
- {
- "name": "conditioning",
- "type": "CONDITIONING",
- "link": 292
- }
- ],
- "outputs": [
- {
- "name": "CONDITIONING",
- "type": "CONDITIONING",
- "slot_index": 0,
- "links": [
- 57
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.38",
- "Node name for S&R": "FluxGuidance"
- },
- "widgets_values": [
- 2.5
- ]
- },
- {
- "id": 218,
- "type": "Reroute",
- "pos": [
- 1011.34716796875,
- 119.85696411132812
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 37,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 331
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "LATENT",
- "links": [
- 333
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 124,
- "type": "VAEEncode",
- "pos": [
- -343.2458801269531,
- -60.776737213134766
- ],
- "size": [
- 240,
- 50
- ],
- "flags": {
- "collapsed": true
- },
- "order": 21,
- "mode": 0,
- "inputs": [
- {
- "name": "pixels",
- "type": "IMAGE",
- "link": 426
- },
- {
- "name": "vae",
- "type": "VAE",
- "link": 223
- }
- ],
- "outputs": [
- {
- "name": "LATENT",
- "type": "LATENT",
- "links": [
- 291,
- 293
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.39",
- "Node name for S&R": "VAEEncode"
- },
- "widgets_values": []
- },
- {
- "id": 194,
- "type": "StringConcatenate",
- "pos": [
- -388.88916015625,
- 872.7361450195312
- ],
- "size": [
- 210,
- 166
- ],
- "flags": {},
- "order": 26,
- "mode": 0,
- "inputs": [
- {
- "name": "string_a",
- "type": "STRING",
- "widget": {
- "name": "string_a"
- },
- "link": 315
- }
- ],
- "outputs": [
- {
- "name": "STRING",
- "type": "STRING",
- "links": [
- 412
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.43",
- "Node name for S&R": "StringConcatenate"
- },
- "widgets_values": [
- "",
- ")), shift posture to ((",
- ""
- ]
- },
- {
- "id": 261,
- "type": "ttN seed",
- "pos": [
- -615.7572021484375,
- 1274.27392578125
- ],
- "size": [
- 210,
- 82
- ],
- "flags": {},
- "order": 3,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "seed",
- "type": "INT",
- "links": [
- 469
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfyui_tinyterranodes",
- "ver": "2.0.9",
- "Node name for S&R": "ttN seed",
- "ttNnodeVersion": "1.0.0"
- },
- "widgets_values": [
- 912445442496132,
- "randomize"
- ]
- },
- {
- "id": 267,
- "type": "easy showAnything",
- "pos": [
- 1528.6544189453125,
- 1395.8302001953125
- ],
- "size": [
- 210,
- 88
- ],
- "flags": {},
- "order": 44,
- "mode": 0,
- "inputs": [
- {
- "name": "anything",
- "shape": 7,
- "type": "*",
- "link": 466
- }
- ],
- "outputs": [
- {
- "name": "output",
- "type": "*",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfyui-easy-use",
- "ver": "1.3.2",
- "Node name for S&R": "easy showAnything"
- },
- "widgets_values": [
- "17"
- ],
- "color": "#323",
- "bgcolor": "#535"
- },
- {
- "id": 274,
- "type": "easy compare",
- "pos": [
- -1078.0045166015625,
- 1486.04833984375
- ],
- "size": [
- 210,
- 78
- ],
- "flags": {},
- "order": 15,
- "mode": 0,
- "inputs": [
- {
- "name": "a",
- "type": "*",
- "link": 462
- },
- {
- "name": "b",
- "type": "*",
- "link": 463
- }
- ],
- "outputs": [
- {
- "name": "boolean",
- "type": "BOOLEAN",
- "links": [
- 465
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfyui-easy-use",
- "ver": "1.3.2",
- "Node name for S&R": "easy compare"
- },
- "widgets_values": [
- "a < b"
- ],
- "color": "#323",
- "bgcolor": "#535"
- },
- {
- "id": 276,
- "type": "easy showAnything",
- "pos": [
- 1530.1368408203125,
- 1540.9969482421875
- ],
- "size": [
- 210,
- 88
- ],
- "flags": {},
- "order": 45,
- "mode": 0,
- "inputs": [
- {
- "name": "anything",
- "shape": 7,
- "type": "*",
- "link": 467
- }
- ],
- "outputs": [
- {
- "name": "output",
- "type": "*",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfyui-easy-use",
- "ver": "1.3.2",
- "Node name for S&R": "easy showAnything"
- },
- "widgets_values": [
- "444864373360915"
- ]
- },
- {
- "id": 223,
- "type": "ttN text",
- "pos": [
- -1574.378173828125,
- 532.3641967773438
- ],
- "size": [
- 310,
- 88
- ],
- "flags": {},
- "order": 4,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "text",
- "type": "STRING",
- "links": [
- 432
- ]
- }
- ],
- "title": "Character Name",
- "properties": {
- "cnr_id": "comfyui_tinyterranodes",
- "ver": "2.0.9",
- "Node name for S&R": "ttN text",
- "ttNnodeVersion": "1.0.0"
- },
- "widgets_values": [
- "syrin"
- ],
- "color": "#232",
- "bgcolor": "#353"
- },
- {
- "id": 222,
- "type": "ImpactStringSelector",
- "pos": [
- -721.8259887695312,
- 609.8152465820312
- ],
- "size": [
- 210,
- 136
- ],
- "flags": {
- "collapsed": false
- },
- "order": 18,
- "mode": 0,
- "inputs": [
- {
- "name": "strings",
- "type": "STRING",
- "widget": {
- "name": "strings"
- },
- "link": 438
- },
- {
- "name": "select",
- "type": "INT",
- "widget": {
- "name": "select"
- },
- "link": 492
- }
- ],
- "outputs": [
- {
- "name": "STRING",
- "type": "STRING",
- "links": [
- 479,
- 480,
- 496
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfyui-impact-pack",
- "ver": "8.22.2",
- "Node name for S&R": "ImpactStringSelector"
- },
- "widgets_values": [
- "",
- false,
- 0
- ]
- },
- {
- "id": 193,
- "type": "StringConcatenate",
- "pos": [
- -620.570556640625,
- 872.7361450195312
- ],
- "size": [
- 210,
- 166
- ],
- "flags": {
- "collapsed": false
- },
- "order": 23,
- "mode": 0,
- "inputs": [
- {
- "name": "string_b",
- "type": "STRING",
- "widget": {
- "name": "string_b"
- },
- "link": 480
- }
- ],
- "outputs": [
- {
- "name": "STRING",
- "type": "STRING",
- "links": [
- 315
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.43",
- "Node name for S&R": "StringConcatenate"
- },
- "widgets_values": [
- "change face expression to ((",
- "",
- ""
- ]
- },
- {
- "id": 226,
- "type": "Image Rembg (Remove Background)",
- "pos": [
- 153.19668579101562,
- 234.6299591064453
- ],
- "size": [
- 304.8125,
- 250
- ],
- "flags": {},
- "order": 40,
- "mode": 0,
- "inputs": [
- {
- "name": "images",
- "type": "IMAGE",
- "link": 351
- }
- ],
- "outputs": [
- {
- "name": "images",
- "type": "IMAGE",
- "links": [
- 355
- ]
- }
- ],
- "properties": {
- "cnr_id": "was-ns",
- "ver": "3.0.0",
- "Node name for S&R": "Image Rembg (Remove Background)"
- },
- "widgets_values": [
- true,
- "isnet-general-use",
- false,
- false,
- false,
- 200,
- 10,
- 10,
- "none"
- ]
- },
- {
- "id": 278,
- "type": "Image Rembg (Remove Background)",
- "pos": [
- -1191.4703369140625,
- 183.64218139648438
- ],
- "size": [
- 304.8125,
- 250
- ],
- "flags": {},
- "order": 14,
- "mode": 0,
- "inputs": [
- {
- "name": "images",
- "type": "IMAGE",
- "link": 476
- }
- ],
- "outputs": [
- {
- "name": "images",
- "type": "IMAGE",
- "links": [
- 475
- ]
- }
- ],
- "properties": {
- "cnr_id": "was-ns",
- "ver": "3.0.0",
- "Node name for S&R": "Image Rembg (Remove Background)"
- },
- "widgets_values": [
- true,
- "isnet-anime",
- false,
- false,
- false,
- 240,
- 10,
- 8,
- "none"
- ]
- },
- {
- "id": 271,
- "type": "easy whileLoopEnd",
- "pos": [
- 1269.7581787109375,
- 1395.8302001953125
- ],
- "size": [
- 210,
- 118
- ],
- "flags": {},
- "order": 43,
- "mode": 0,
- "inputs": [
- {
- "name": "flow",
- "shape": 5,
- "type": "FLOW_CONTROL",
- "link": 473
- },
- {
- "name": "initial_value0",
- "shape": 7,
- "type": "*",
- "link": 494
- },
- {
- "name": "condition",
- "type": "BOOLEAN",
- "widget": {
- "name": "condition"
- },
- "link": 465
- },
- {
- "name": "initial_value1",
- "type": "*",
- "link": 481
- },
- {
- "name": "initial_value2",
- "type": "*",
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "value0",
- "type": "*",
- "links": [
- 466
- ]
- },
- {
- "name": "value1",
- "type": "*",
- "links": [
- 467
- ]
- },
- {
- "name": "value2",
- "type": "*",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfyui-easy-use",
- "ver": "1.3.2",
- "Node name for S&R": "easy whileLoopEnd"
- },
- "widgets_values": [
- false
- ],
- "color": "#323",
- "bgcolor": "#535"
- },
- {
- "id": 269,
- "type": "easy mathInt",
- "pos": [
- -615.7572021484375,
- 1100.414794921875
- ],
- "size": [
- 210,
- 106
- ],
- "flags": {},
- "order": 19,
- "mode": 0,
- "inputs": [
- {
- "name": "a",
- "type": "INT",
- "widget": {
- "name": "a"
- },
- "link": 493
- }
- ],
- "outputs": [
- {
- "name": "INT",
- "type": "INT",
- "links": [
- 470
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfyui-easy-use",
- "ver": "1.3.2",
- "Node name for S&R": "easy mathInt"
- },
- "widgets_values": [
- 0,
- 64,
- "multiply"
- ]
- },
- {
- "id": 258,
- "type": "StringConcatenate",
- "pos": [
- 72.83399963378906,
- 871.5449829101562
- ],
- "size": [
- 210,
- 166
- ],
- "flags": {},
- "order": 30,
- "mode": 0,
- "inputs": [
- {
- "name": "string_a",
- "type": "STRING",
- "widget": {
- "name": "string_a"
- },
- "link": 413
- }
- ],
- "outputs": [
- {
- "name": "STRING",
- "type": "STRING",
- "links": [
- 414,
- 415
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.43",
- "Node name for S&R": "StringConcatenate"
- },
- "widgets_values": [
- "",
- ")), expressive gestures, neutral background",
- ""
- ]
- },
- {
- "id": 257,
- "type": "StringConcatenate",
- "pos": [
- -158.32351684570312,
- 872.7361450195312
- ],
- "size": [
- 210,
- 166
- ],
- "flags": {},
- "order": 28,
- "mode": 0,
- "inputs": [
- {
- "name": "string_a",
- "type": "STRING",
- "widget": {
- "name": "string_a"
- },
- "link": 412
- },
- {
- "name": "string_b",
- "type": "STRING",
- "widget": {
- "name": "string_b"
- },
- "link": 479
- }
- ],
- "outputs": [
- {
- "name": "STRING",
- "type": "STRING",
- "links": [
- 413
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.43",
- "Node name for S&R": "StringConcatenate"
- },
- "widgets_values": [
- "",
- ") and (",
- ""
- ]
- },
- {
- "id": 262,
- "type": "easy mathInt",
- "pos": [
- -386.9819030761719,
- 1096.6046142578125
- ],
- "size": [
- 210,
- 106
- ],
- "flags": {},
- "order": 25,
- "mode": 0,
- "inputs": [
- {
- "name": "a",
- "type": "INT",
- "widget": {
- "name": "a"
- },
- "link": 470
- },
- {
- "name": "b",
- "type": "INT",
- "widget": {
- "name": "b"
- },
- "link": 469
- }
- ],
- "outputs": [
- {
- "name": "INT",
- "type": "INT",
- "links": [
- 484
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfyui-easy-use",
- "ver": "1.3.2",
- "Node name for S&R": "easy mathInt"
- },
- "widgets_values": [
- 0,
- 0,
- "add"
- ]
- },
- {
- "id": 280,
- "type": "easy forLoopStart",
- "pos": [
- -158.20034790039062,
- 1150.13330078125
- ],
- "size": [
- 210,
- 118
- ],
- "flags": {},
- "order": 27,
- "mode": 0,
- "inputs": [
- {
- "name": "initial_value1",
- "shape": 7,
- "type": "*",
- "link": 484
- },
- {
- "name": "total",
- "type": "INT",
- "widget": {
- "name": "total"
- },
- "link": 485
- },
- {
- "name": "initial_value2",
- "type": "*",
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "flow",
- "shape": 5,
- "type": "FLOW_CONTROL",
- "links": [
- 483
- ]
- },
- {
- "name": "index",
- "type": "INT",
- "links": []
- },
- {
- "name": "value1",
- "type": "*",
- "links": [
- 487
- ]
- },
- {
- "name": "value2",
- "type": "*",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfyui-easy-use",
- "ver": "1.3.2",
- "Node name for S&R": "easy forLoopStart"
- },
- "widgets_values": [
- 1
- ],
- "color": "#233",
- "bgcolor": "#355"
- },
- {
- "id": 220,
- "type": "ShowText",
- "pos": [
- 310.5021057128906,
- 868.2969360351562
- ],
- "size": [
- 219.79197692871094,
- 165.96279907226562
- ],
- "flags": {},
- "order": 31,
- "mode": 0,
- "inputs": [
- {
- "name": "text",
- "type": "STRING",
- "link": 414
- }
- ],
- "outputs": [],
- "properties": {
- "cnr_id": "ardent-nodes-comfyui",
- "ver": "0.3.3",
- "Node name for S&R": "ShowText"
- },
- "widgets_values": []
- },
- {
- "id": 281,
- "type": "easy forLoopEnd",
- "pos": [
- 1054.4761962890625,
- 1150.1324462890625
- ],
- "size": [
- 163.08984375,
- 86
- ],
- "flags": {},
- "order": 42,
- "mode": 0,
- "inputs": [
- {
- "name": "flow",
- "shape": 5,
- "type": "FLOW_CONTROL",
- "link": 483
- },
- {
- "name": "initial_value1",
- "shape": 7,
- "type": "*",
- "link": 489
- },
- {
- "name": "initial_value2",
- "type": "*",
- "link": 482
- },
- {
- "name": "initial_value3",
- "type": "*",
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "value1",
- "type": "*",
- "links": [
- 481
- ]
- },
- {
- "name": "value2",
- "type": "*",
- "links": null
- },
- {
- "name": "value3",
- "type": "*",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfyui-easy-use",
- "ver": "1.3.2",
- "Node name for S&R": "easy forLoopEnd"
- },
- "widgets_values": [],
- "color": "#233",
- "bgcolor": "#355"
- },
- {
- "id": 282,
- "type": "easy mathInt",
- "pos": [
- 316.2461853027344,
- 1207.423583984375
- ],
- "size": [
- 210,
- 106
- ],
- "flags": {},
- "order": 29,
- "mode": 0,
- "inputs": [
- {
- "name": "a",
- "type": "INT",
- "widget": {
- "name": "a"
- },
- "link": 487
- }
- ],
- "outputs": [
- {
- "name": "INT",
- "type": "INT",
- "links": [
- 488,
- 489
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfyui-easy-use",
- "ver": "1.3.2",
- "Node name for S&R": "easy mathInt"
- },
- "widgets_values": [
- 0,
- 1,
- "add"
- ]
- },
- {
- "id": 265,
- "type": "Int",
- "pos": [
- -1586.0924072265625,
- 1390.1246337890625
- ],
- "size": [
- 210,
- 58
- ],
- "flags": {},
- "order": 5,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "INT",
- "type": "INT",
- "links": [
- 456
- ]
- }
- ],
- "title": "Start",
- "properties": {
- "cnr_id": "comfyui-logic",
- "ver": "1.0.0",
- "Node name for S&R": "Int"
- },
- "widgets_values": [
- 0
- ],
- "color": "#323",
- "bgcolor": "#535"
- },
- {
- "id": 284,
- "type": "Reroute",
- "pos": [
- -545.0181274414062,
- 927.90087890625
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 6,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "*",
- "links": null
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 285,
- "type": "Reroute",
- "pos": [
- -545.0181274414062,
- 927.90087890625
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 7,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "*",
- "links": null
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 270,
- "type": "easy whileLoopStart",
- "pos": [
- -1334.120849609375,
- 1388.6832275390625
- ],
- "size": [
- 210,
- 98
- ],
- "flags": {},
- "order": 13,
- "mode": 0,
- "inputs": [
- {
- "name": "initial_value0",
- "shape": 7,
- "type": "*",
- "link": 456
- },
- {
- "name": "initial_value1",
- "type": "*",
- "link": null
- }
- ],
- "outputs": [
- {
- "name": "flow",
- "shape": 5,
- "type": "FLOW_CONTROL",
- "links": [
- 473
- ]
- },
- {
- "name": "value0",
- "type": "*",
- "links": [
- 462,
- 491
- ]
- },
- {
- "name": "value1",
- "type": "*",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfyui-easy-use",
- "ver": "1.3.2",
- "Node name for S&R": "easy whileLoopStart"
- },
- "widgets_values": [
- true
- ],
- "color": "#323",
- "bgcolor": "#535"
- },
- {
- "id": 286,
- "type": "Reroute",
- "pos": [
- -944.994873046875,
- 1409.5203857421875
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 16,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "widget": {
- "name": "value"
- },
- "link": 491
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "*",
- "links": [
- 492,
- 493,
- 495
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 266,
- "type": "easy mathInt",
- "pos": [
- -609.2409057617188,
- 1440.6343994140625
- ],
- "size": [
- 210,
- 106
- ],
- "flags": {
- "collapsed": true
- },
- "order": 20,
- "mode": 0,
- "inputs": [
- {
- "name": "a",
- "type": "INT",
- "widget": {
- "name": "a"
- },
- "link": 495
- }
- ],
- "outputs": [
- {
- "name": "INT",
- "type": "INT",
- "links": [
- 494
- ]
- }
- ],
- "title": "Index +1",
- "properties": {
- "cnr_id": "comfyui-easy-use",
- "ver": "1.3.2",
- "Node name for S&R": "easy mathInt"
- },
- "widgets_values": [
- 0,
- 1,
- "add"
- ],
- "color": "#323",
- "bgcolor": "#535"
- },
- {
- "id": 31,
- "type": "KSampler",
- "pos": [
- 647.2095947265625,
- -142.66256713867188
- ],
- "size": [
- 320,
- 262
- ],
- "flags": {},
- "order": 36,
- "mode": 0,
- "inputs": [
- {
- "name": "model",
- "type": "MODEL",
- "link": 417
- },
- {
- "name": "positive",
- "type": "CONDITIONING",
- "link": 57
- },
- {
- "name": "negative",
- "type": "CONDITIONING",
- "link": 238
- },
- {
- "name": "latent_image",
- "type": "LATENT",
- "link": 291
- },
- {
- "name": "seed",
- "type": "INT",
- "widget": {
- "name": "seed"
- },
- "link": 488
- }
- ],
- "outputs": [
- {
- "name": "LATENT",
- "type": "LATENT",
- "slot_index": 0,
- "links": [
- 331
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.38",
- "Node name for S&R": "KSampler"
- },
- "widgets_values": [
- 404906481003747,
- "increment",
- 24,
- 1,
- "euler_ancestral",
- "simple",
- 1
- ]
- },
- {
- "id": 279,
- "type": "PreviewImage",
- "pos": [
- -396.03863525390625,
- 262.3495178222656
- ],
- "size": [
- 210,
- 258
- ],
- "flags": {},
- "order": 22,
- "mode": 0,
- "inputs": [
- {
- "name": "images",
- "type": "IMAGE",
- "link": 477
- }
- ],
- "outputs": [],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.43",
- "Node name for S&R": "PreviewImage"
- },
- "widgets_values": []
- },
- {
- "id": 190,
- "type": "ImageScaleToTotalPixels",
- "pos": [
- -800.8126220703125,
- 311.3168029785156
- ],
- "size": [
- 333.8703308105469,
- 83.62984466552734
- ],
- "flags": {},
- "order": 17,
- "mode": 0,
- "inputs": [
- {
- "name": "image",
- "type": "IMAGE",
- "link": 475
- }
- ],
- "outputs": [
- {
- "name": "IMAGE",
- "type": "IMAGE",
- "links": [
- 426,
- 477
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.50",
- "Node name for S&R": "ImageScaleToTotalPixels",
- "enableTabs": false,
- "tabWidth": 65,
- "tabXOffset": 10,
- "hasSecondTab": false,
- "secondTabText": "Send Back",
- "secondTabOffset": 80,
- "secondTabWidth": 65,
- "ue_properties": {
- "widget_ue_connectable": {
- "upscale_method": true,
- "megapixels": true
- }
- }
- },
- "widgets_values": [
- "lanczos",
- 1
- ],
- "color": "#232",
- "bgcolor": "#353"
- },
- {
- "id": 219,
- "type": "Reroute",
- "pos": [
- -149.3343963623047,
- 126.64717864990234
- ],
- "size": [
- 75,
- 26
- ],
- "flags": {},
- "order": 38,
- "mode": 0,
- "inputs": [
- {
- "name": "",
- "type": "*",
- "link": 333
- }
- ],
- "outputs": [
- {
- "name": "",
- "type": "LATENT",
- "links": [
- 334
- ]
- }
- ],
- "properties": {
- "showOutputText": false,
- "horizontal": false
- }
- },
- {
- "id": 8,
- "type": "VAEDecode",
- "pos": [
- -10.235739707946777,
- 265.4872741699219
- ],
- "size": [
- 190,
- 46
- ],
- "flags": {
- "collapsed": true
- },
- "order": 39,
- "mode": 0,
- "inputs": [
- {
- "name": "samples",
- "type": "LATENT",
- "link": 334
- },
- {
- "name": "vae",
- "type": "VAE",
- "link": 61
- }
- ],
- "outputs": [
- {
- "name": "IMAGE",
- "type": "IMAGE",
- "slot_index": 0,
- "links": [
- 351
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.38",
- "Node name for S&R": "VAEDecode"
- },
- "widgets_values": []
- },
- {
- "id": 283,
- "type": "Int",
- "pos": [
- -384.1993103027344,
- 1275.3238525390625
- ],
- "size": [
- 210,
- 58
- ],
- "flags": {},
- "order": 8,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "INT",
- "type": "INT",
- "links": [
- 485
- ]
- }
- ],
- "title": "Batch Size",
- "properties": {
- "cnr_id": "comfyui-logic",
- "ver": "1.0.0",
- "Node name for S&R": "Int"
- },
- "widgets_values": [
- 2
- ],
- "color": "#233",
- "bgcolor": "#355"
- },
- {
- "id": 197,
- "type": "ttN text",
- "pos": [
- -1078.97998046875,
- 632.520263671875
- ],
- "size": [
- 210,
- 411.2439880371094
- ],
- "flags": {},
- "order": 9,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "text",
- "type": "STRING",
- "links": [
- 438
- ]
- }
- ],
- "title": "Expressions",
- "properties": {
- "cnr_id": "comfyui_tinyterranodes",
- "ver": "2.0.9",
- "Node name for S&R": "ttN text",
- "ttNnodeVersion": "1.0.0"
- },
- "widgets_values": [
- "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"
- ],
- "color": "#323",
- "bgcolor": "#535"
- },
- {
- "id": 275,
- "type": "Int",
- "pos": [
- -1585.37451171875,
- 1506.04833984375
- ],
- "size": [
- 210,
- 58
- ],
- "flags": {},
- "order": 10,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "INT",
- "type": "INT",
- "links": [
- 463
- ]
- }
- ],
- "title": "End",
- "properties": {
- "cnr_id": "comfyui-logic",
- "ver": "1.0.0",
- "Node name for S&R": "Int"
- },
- "widgets_values": [
- 28
- ],
- "color": "#323",
- "bgcolor": "#535"
- },
- {
- "id": 251,
- "type": "LoadImage",
- "pos": [
- -1577.844482421875,
- 72.04734802246094
- ],
- "size": [
- 310,
- 410
- ],
- "flags": {},
- "order": 11,
- "mode": 0,
- "inputs": [],
- "outputs": [
- {
- "name": "IMAGE",
- "type": "IMAGE",
- "links": [
- 476
- ]
- },
- {
- "name": "MASK",
- "type": "MASK",
- "links": null
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.43",
- "Node name for S&R": "LoadImage"
- },
- "widgets_values": [
- "_Syrin_input_image.png",
- "image"
- ],
- "color": "#232",
- "bgcolor": "#353"
- },
- {
- "id": 228,
- "type": "Image Save",
- "pos": [
- 642.5521850585938,
- 480.7677917480469
- ],
- "size": [
- 322.1832580566406,
- 626
- ],
- "flags": {},
- "order": 41,
- "mode": 0,
- "inputs": [
- {
- "name": "images",
- "type": "IMAGE",
- "link": 355
- },
- {
- "name": "output_path",
- "type": "STRING",
- "widget": {
- "name": "output_path"
- },
- "link": 432
- },
- {
- "name": "filename_prefix",
- "type": "STRING",
- "widget": {
- "name": "filename_prefix"
- },
- "link": 497
- }
- ],
- "outputs": [
- {
- "name": "images",
- "type": "IMAGE",
- "links": [
- 482
- ]
- },
- {
- "name": "files",
- "type": "STRING",
- "links": []
- }
- ],
- "properties": {
- "cnr_id": "was-ns",
- "ver": "3.0.0",
- "Node name for S&R": "Image Save"
- },
- "widgets_values": [
- "[time(%Y-%m-%d)]",
- "ComfyUI",
- "-",
- 2,
- "false",
- "png",
- 300,
- 100,
- "true",
- "false",
- "false",
- "false",
- "true",
- "true",
- "true"
- ]
- },
- {
- "id": 287,
- "type": "StringConcatenate",
- "pos": [
- -156.0860595703125,
- 589.0340576171875
- ],
- "size": [
- 210,
- 166
- ],
- "flags": {},
- "order": 24,
- "mode": 0,
- "inputs": [
- {
- "name": "string_a",
- "type": "STRING",
- "widget": {
- "name": "string_a"
- },
- "link": 496
- }
- ],
- "outputs": [
- {
- "name": "STRING",
- "type": "STRING",
- "links": [
- 497
- ]
- }
- ],
- "properties": {
- "cnr_id": "comfy-core",
- "ver": "0.3.43",
- "Node name for S&R": "StringConcatenate"
- },
- "widgets_values": [
- "",
- "kontext",
- "-"
- ]
- },
- {
- "id": 255,
- "type": "MarkdownNote",
- "pos": [
- -2101.74609375,
- 68.99189758300781
- ],
- "size": [
- 496.38525390625,
- 547.0382080078125
- ],
- "flags": {},
- "order": 12,
- "mode": 0,
- "inputs": [],
- "outputs": [],
- "properties": {},
- "widgets_values": [
- "## 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 on concatenated strings, so if you have a very expressive character, you can increase the prompt intensity by adding weights or additional expressive, vivid, etc. personality types. 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. Be sure to also remove the \"neutral background\" part of the prompt string builder (the last \"concatenate\" in the chain).\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."
- ],
- "color": "#432",
- "bgcolor": "#653"
- }
- ],
- "links": [
- [
- 57,
- 35,
- 0,
- 31,
- 1,
- "CONDITIONING"
- ],
- [
- 59,
- 38,
- 0,
- 6,
- 0,
- "CLIP"
- ],
- [
- 61,
- 39,
- 0,
- 8,
- 1,
- "VAE"
- ],
- [
- 223,
- 39,
- 0,
- 124,
- 1,
- "VAE"
- ],
- [
- 237,
- 6,
- 0,
- 135,
- 0,
- "CONDITIONING"
- ],
- [
- 238,
- 135,
- 0,
- 31,
- 2,
- "CONDITIONING"
- ],
- [
- 291,
- 124,
- 0,
- 31,
- 3,
- "LATENT"
- ],
- [
- 292,
- 177,
- 0,
- 35,
- 0,
- "CONDITIONING"
- ],
- [
- 293,
- 124,
- 0,
- 177,
- 1,
- "LATENT"
- ],
- [
- 294,
- 6,
- 0,
- 177,
- 0,
- "CONDITIONING"
- ],
- [
- 315,
- 193,
- 0,
- 194,
- 0,
- "STRING"
- ],
- [
- 331,
- 31,
- 0,
- 218,
- 0,
- "*"
- ],
- [
- 333,
- 218,
- 0,
- 219,
- 0,
- "*"
- ],
- [
- 334,
- 219,
- 0,
- 8,
- 0,
- "LATENT"
- ],
- [
- 351,
- 8,
- 0,
- 226,
- 0,
- "IMAGE"
- ],
- [
- 355,
- 226,
- 0,
- 228,
- 0,
- "IMAGE"
- ],
- [
- 412,
- 194,
- 0,
- 257,
- 0,
- "STRING"
- ],
- [
- 413,
- 257,
- 0,
- 258,
- 0,
- "STRING"
- ],
- [
- 414,
- 258,
- 0,
- 220,
- 0,
- "STRING"
- ],
- [
- 415,
- 258,
- 0,
- 6,
- 1,
- "STRING"
- ],
- [
- 417,
- 37,
- 0,
- 31,
- 0,
- "MODEL"
- ],
- [
- 426,
- 190,
- 0,
- 124,
- 0,
- "IMAGE"
- ],
- [
- 432,
- 223,
- 0,
- 228,
- 1,
- "STRING"
- ],
- [
- 438,
- 197,
- 0,
- 222,
- 0,
- "STRING"
- ],
- [
- 456,
- 265,
- 0,
- 270,
- 0,
- "*"
- ],
- [
- 462,
- 270,
- 1,
- 274,
- 0,
- "*"
- ],
- [
- 463,
- 275,
- 0,
- 274,
- 1,
- "*"
- ],
- [
- 465,
- 274,
- 0,
- 271,
- 2,
- "BOOLEAN"
- ],
- [
- 466,
- 271,
- 0,
- 267,
- 0,
- "*"
- ],
- [
- 467,
- 271,
- 1,
- 276,
- 0,
- "*"
- ],
- [
- 469,
- 261,
- 0,
- 262,
- 1,
- "INT"
- ],
- [
- 470,
- 269,
- 0,
- 262,
- 0,
- "INT"
- ],
- [
- 473,
- 270,
- 0,
- 271,
- 0,
- "FLOW_CONTROL"
- ],
- [
- 475,
- 278,
- 0,
- 190,
- 0,
- "IMAGE"
- ],
- [
- 476,
- 251,
- 0,
- 278,
- 0,
- "IMAGE"
- ],
- [
- 477,
- 190,
- 0,
- 279,
- 0,
- "IMAGE"
- ],
- [
- 479,
- 222,
- 0,
- 257,
- 1,
- "STRING"
- ],
- [
- 480,
- 222,
- 0,
- 193,
- 0,
- "STRING"
- ],
- [
- 481,
- 281,
- 0,
- 271,
- 3,
- "*"
- ],
- [
- 482,
- 228,
- 0,
- 281,
- 2,
- "*"
- ],
- [
- 483,
- 280,
- 0,
- 281,
- 0,
- "FLOW_CONTROL"
- ],
- [
- 484,
- 262,
- 0,
- 280,
- 0,
- "*"
- ],
- [
- 485,
- 283,
- 0,
- 280,
- 1,
- "INT"
- ],
- [
- 487,
- 280,
- 2,
- 282,
- 0,
- "INT"
- ],
- [
- 488,
- 282,
- 0,
- 31,
- 4,
- "INT"
- ],
- [
- 489,
- 282,
- 0,
- 281,
- 1,
- "*"
- ],
- [
- 491,
- 270,
- 1,
- 286,
- 0,
- "*"
- ],
- [
- 492,
- 286,
- 0,
- 222,
- 1,
- "INT"
- ],
- [
- 493,
- 286,
- 0,
- 269,
- 0,
- "INT"
- ],
- [
- 494,
- 266,
- 0,
- 271,
- 1,
- "*"
- ],
- [
- 495,
- 286,
- 0,
- 266,
- 0,
- "INT"
- ],
- [
- 496,
- 222,
- 0,
- 287,
- 0,
- "STRING"
- ],
- [
- 497,
- 287,
- 0,
- 228,
- 2,
- "STRING"
- ]
- ],
- "groups": [],
- "config": {},
- "extra": {
- "ds": {
- "scale": 1.4028667237706982,
- "offset": [
- 2136.573230064132,
- -5.4384263804667805
- ]
- },
- "frontendVersion": "1.25.9",
- "groupNodes": {},
- "VHS_latentpreview": false,
- "VHS_latentpreviewrate": 0,
- "VHS_MetadataImage": true,
- "VHS_KeepIntermediate": true
- },
- "version": 0.4
- }
Advertisement