-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSDXL LCM + XY Plot (Steps-CFG).json
1 lines (1 loc) · 12.7 KB
/
SDXL LCM + XY Plot (Steps-CFG).json
1
{"last_node_id": 1067, "last_link_id": 2380, "nodes": [{"id": 980, "type": "PromptBuilder //Inspire", "pos": [-230, 350], "size": {"0": 530, "1": 170}, "flags": {}, "order": 0, "mode": 0, "outputs": [{"name": "STRING", "type": "STRING", "links": [2366], "shape": 3, "slot_index": 0}], "title": "Prompt Builder NEG", "properties": {"Node name for S&R": "PromptBuilder //Inspire"}, "widgets_values": ["Negative", "#PRESET", "Disfigure Body, Disfigured Torso, Disfigured Face, Disfigured Eyes, Disfigured Pupils, Disfigured Arms, Disfigured Hands, Disfigured Fingers, Disfigured Legs, Disfigured Toes, Blurry, Text, Watermark, Signature, Frame, Logo"], "color": "#322", "bgcolor": "#533"}, {"id": 1061, "type": "Reroute", "pos": [320, 590], "size": [75, 26], "flags": {}, "order": 12, "mode": 0, "inputs": [{"name": "", "type": "*", "link": 2373}], "outputs": [{"name": "", "type": "INT", "links": [2377], "label": "HEIGHT", "slot_index": 0}], "title": "HEIGHT", "properties": {"showOutputText": false, "horizontal": false, "showTitle": true}, "color": "#233", "bgcolor": "#355"}, {"id": 1062, "type": "Reroute", "pos": [320, 730], "size": [75, 26], "flags": {}, "order": 10, "mode": 0, "inputs": [{"name": "", "type": "*", "link": 2378}], "outputs": [{"name": "", "type": "LORA_STACK", "links": [2379], "label": "LORA", "slot_index": 0}], "title": "LORA", "properties": {"showOutputText": false, "horizontal": false, "showTitle": true}, "color": "#223", "bgcolor": "#335"}, {"id": 1053, "type": "LoRA Stacker", "pos": [-40, 730], "size": {"0": 340, "1": 130}, "flags": {}, "order": 1, "mode": 0, "inputs": [{"name": "lora_stack", "type": "LORA_STACK", "link": null}], "outputs": [{"name": "LORA_STACK", "type": "LORA_STACK", "links": [2378], "shape": 3}], "properties": {"Node name for S&R": "LoRA Stacker"}, "widgets_values": ["simple", 1, "pytorch_lora_weights.safetensors", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1, "None", 1, 1, 1], "color": "#222233", "bgcolor": "#333355", "shape": 1}, {"id": 1021, "type": "KSampler SDXL (Eff.)", "pos": [1430, 150], "size": [300, 540], "flags": {}, "order": 16, "mode": 0, "inputs": [{"name": "sdxl_tuple", "type": "SDXL_TUPLE", "link": 2297}, {"name": "latent_image", "type": "LATENT", "link": 2300}, {"name": "optional_vae", "type": "VAE", "link": 2299}, {"name": "script", "type": "SCRIPT", "link": 2298}, {"name": "noise_seed", "type": "INT", "link": 2358, "widget": {"name": "noise_seed"}}], "outputs": [{"name": "SDXL_TUPLE", "type": "SDXL_TUPLE", "links": null, "shape": 3}, {"name": "LATENT", "type": "LATENT", "links": null, "shape": 3}, {"name": "VAE", "type": "VAE", "links": null, "shape": 3}, {"name": "IMAGE", "type": "IMAGE", "links": [2301], "shape": 3, "slot_index": 3}], "properties": {"Node name for S&R": "KSampler SDXL (Eff.)"}, "widgets_values": [684304784389046, null, 10, 2, "lcm", "sgm_uniform", 0, -1, "none", "true"], "color": "#2a363b", "bgcolor": "#3f5159", "shape": 1}, {"id": 769, "type": "SDXLAspectRatio", "pos": [0, 560], "size": {"0": 300, "1": 130}, "flags": {"pinned": false}, "order": 2, "mode": 0, "outputs": [{"name": "Width", "type": "INT", "links": [2372], "shape": 3, "slot_index": 0}, {"name": "Height", "type": "INT", "links": [2373], "shape": 3, "slot_index": 1}], "properties": {"Node name for S&R": "SDXLAspectRatio"}, "widgets_values": [1024, 1024, "1:1 - 1024x1024 square"], "color": "#233", "bgcolor": "#355"}, {"id": 1055, "type": "XY Input: CFG Scale", "pos": [820, 320], "size": {"0": 340, "1": 110}, "flags": {}, "order": 3, "mode": 0, "outputs": [{"name": "X or Y", "type": "XY", "links": [2352], "shape": 3}], "properties": {"Node name for S&R": "XY Input: CFG Scale"}, "widgets_values": [6, 1.5, 2], "color": "#223333", "bgcolor": "#335555", "shape": 1}, {"id": 737, "type": "CR Seed", "pos": [1180, 380], "size": [240, 80], "flags": {}, "order": 4, "mode": 0, "outputs": [{"name": "seed", "type": "INT", "links": [2358], "shape": 3, "slot_index": 0}], "title": "\ud83c\udf31Global Seed", "properties": {"Node name for S&R": "CR Seed"}, "widgets_values": [1569875625027, "fixed"], "color": "#223", "bgcolor": "#335"}, {"id": 1059, "type": "Reroute", "pos": [320, 150], "size": [75, 26], "flags": {}, "order": 13, "mode": 0, "inputs": [{"name": "", "type": "*", "link": 2367}], "outputs": [{"name": "", "type": "STRING", "links": [2368], "label": "POS", "slot_index": 0}], "title": "POS", "properties": {"showOutputText": false, "horizontal": false, "showTitle": true}, "color": "#232", "bgcolor": "#353"}, {"id": 1058, "type": "Reroute", "pos": [320, 350], "size": [75, 26], "flags": {}, "order": 9, "mode": 0, "inputs": [{"name": "", "type": "*", "link": 2366}], "outputs": [{"name": "", "type": "STRING", "links": [2370], "label": "NEG", "slot_index": 0}], "title": "NEG", "properties": {"showOutputText": false, "horizontal": false, "showTitle": true}, "color": "#322", "bgcolor": "#533"}, {"id": 1060, "type": "Reroute", "pos": [320, 550], "size": [75, 26], "flags": {}, "order": 11, "mode": 0, "inputs": [{"name": "", "type": "*", "link": 2372}], "outputs": [{"name": "", "type": "INT", "links": [2376], "label": "WIDTH", "slot_index": 0}], "title": "WIDTH", "properties": {"showOutputText": false, "horizontal": false, "showTitle": true}, "color": "#233", "bgcolor": "#355"}, {"id": 1018, "type": "Eff. Loader SDXL", "pos": [410, 150], "size": {"0": 400, "1": 334}, "flags": {}, "order": 14, "mode": 0, "inputs": [{"name": "lora_stack", "type": "LORA_STACK", "link": 2379, "slot_index": 0}, {"name": "cnet_stack", "type": "CONTROL_NET_STACK", "link": null}, {"name": "positive", "type": "STRING", "link": 2368, "widget": {"name": "positive"}}, {"name": "negative", "type": "STRING", "link": 2370, "widget": {"name": "negative"}}, {"name": "empty_latent_width", "type": "INT", "link": 2376, "widget": {"name": "empty_latent_width"}}, {"name": "empty_latent_height", "type": "INT", "link": 2377, "widget": {"name": "empty_latent_height"}}], "outputs": [{"name": "SDXL_TUPLE", "type": "SDXL_TUPLE", "links": [2297], "shape": 3, "slot_index": 0}, {"name": "LATENT", "type": "LATENT", "links": [2300], "shape": 3, "slot_index": 1}, {"name": "VAE", "type": "VAE", "links": [2299], "shape": 3, "slot_index": 2}, {"name": "DEPENDENCIES", "type": "DEPENDENCIES", "links": [2290], "shape": 3, "slot_index": 3}], "properties": {"Node name for S&R": "Eff. Loader SDXL"}, "widgets_values": ["SDXL_BASE_V1.safetensors", -2, "None", -2, 6, 2, "sdxl_vae.safetensors", "CLIP_POSITIVE", "CLIP_NEGATIVE", "none", "comfy", 1024, 1024, 1], "color": "#443322", "bgcolor": "#665533", "shape": 1}, {"id": 973, "type": "PromptBuilder //Inspire", "pos": [-230, 150], "size": {"0": 530, "1": 170}, "flags": {}, "order": 5, "mode": 0, "outputs": [{"name": "STRING", "type": "STRING", "links": [2367], "shape": 3, "slot_index": 0}], "title": "Prompt Builder POS", "properties": {"Node name for S&R": "PromptBuilder //Inspire"}, "widgets_values": ["Composition", "#PRESET", "(Portrait of a young women:1.2), (Red Hair:1.15), (8K:1.1), (Realistic:1.1), (Hyperrealism:1.1), (Depth of Field:1.1), (85mm Lens:1.1), (F/4.6:1.1), (Headshot:1.1), (Three Quarter View:1.1), (Ultra Detailed:1.1), (Ultra Accurate Detailed:1.1), (Bokeh:1.1), (Bokeh Lighting:1.1)"], "color": "#232", "bgcolor": "#353"}, {"id": 1048, "type": "XY Input: Steps", "pos": [820, 150], "size": {"0": 340, "1": 130}, "flags": {}, "order": 6, "mode": 0, "outputs": [{"name": "X or Y", "type": "XY", "links": [2380], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "XY Input: Steps"}, "widgets_values": ["steps", 5, 6, 10, 0, 10, 10, 20, 10, 20], "color": "#223333", "bgcolor": "#335555", "shape": 1}, {"id": 987, "type": "Note", "pos": [-680, 150], "size": {"0": 440, "1": 160}, "flags": {"pinned": false, "collapsed": false}, "order": 7, "mode": 0, "title": "Post Note", "properties": {"text": ""}, "widgets_values": ["SDXL: LCM + X|Y Plot (Steps-CFG)\n\n\nWorkflow for using an X|Y Plot to test different parameters to better decide the optimal settings for a workflow. | @PCMonster in the ComfyUI Workflow Discord for more information. | Tips accepted https://paypal.me/pc3D | https://www.buymeacoffee.com/pcmonster | https://comfyworkflows.com/profile/28a5afb5-c525-42c9-8c0f-1f2e77ef9eaa"], "color": "#223", "bgcolor": "#335"}, {"id": 784, "type": "Note", "pos": [-680, 350], "size": [440, 740], "flags": {"pinned": false, "collapsed": false}, "order": 8, "mode": 0, "properties": {"text": ""}, "widgets_values": ["-------- INSTRUCTION GUIDE ---------\n\n1. X|Y Plots\n X|Y Plots are a way of testing different parameters to better decide the optimal settings for an image, model, workflow etc.. Steps and CFG are being tested in this model. Many more options can be tested. Search \"XY\" to see available options.\n\n2. Prompt Positive/Negative\n Prompt Builder (Inspire) is used heavily in the creation of the prompt. Use the category to select a category and select a preset to insert the text into the prompt. Edit these prompt-builder.yaml file in custom_nodes\\ComfyUI-Inspire-Pack\\resources directory to update your drop down selections.\n\nCliff notes:\n\nCtrl+ Up Arrow/Down Arrow - change the weight of the prompt.\n\n[object:X] - adds object after a X steps\n[object::X] - removes object after a X steps\n[object1:object2:0.X] - first X% is object1, then swaps to object2\n[object1:object2:X] - starts with object1, then changes to object2 at step X\n[object1|object2] - alternates between object1 and object2 every step\n[object1|object2|...|objectN] - alternates between object1 .. objectN, then loops back to object1\n\n3. LCM\n LCM Model Sampling is used within this workflow. It is recommended to use between 5-10 Steps and 1-2 CFG for quick accurate image generation. You must download the Lora at the link below. You must also set the sampler_name in your KSamplers to LCM (sgm_uniform scheduler recommended).\n\nhttps://huggingface.co/latent-consistency/lcm-lora-sdxl/tree/main\n\n4. Nodes/Models\n To install missing nodes/models use the ComfyUI Manager and select Install Missing Custom Nodes. Then install the models you need via Install Models within the ComfyUI Manager.\n\nhttps://github.com/ltdrdata/ComfyUI-Manager\n\nNOTE: For SDXL based models, it is recommended to use trained resolution values listed below:\n - 1024 x 1024\n - 1152 x 896\n - 896 x 1152\n - 1216 x 832\n - 832 x 1216\n - 1344 x 768\n - 768 x 1344\n - 1536 x 640\n - 640 x 1536\n\n\nAny recommendations/issues can be left on the comment section of the workflow.\nOr join the ComfyUI Workflows Discord and @PCMonster so we can chat.\nEnjoy!"], "color": "#432", "bgcolor": "#653"}, {"id": 1022, "type": "PreviewImage", "pos": [1750, 150], "size": [1000, 820], "flags": {}, "order": 17, "mode": 0, "inputs": [{"name": "images", "type": "IMAGE", "link": 2301}], "properties": {"Node name for S&R": "PreviewImage"}}, {"id": 1015, "type": "XY Plot", "pos": [1170, 150], "size": {"0": 250, "1": 194}, "flags": {}, "order": 15, "mode": 0, "inputs": [{"name": "dependencies", "type": "DEPENDENCIES", "link": 2290, "slot_index": 0}, {"name": "X", "type": "XY", "link": 2380, "slot_index": 1}, {"name": "Y", "type": "XY", "link": 2352, "slot_index": 2}], "outputs": [{"name": "SCRIPT", "type": "SCRIPT", "links": [2298], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "XY Plot"}, "widgets_values": [5, "True", "Vertical", "True", "Plot"], "color": "#332233", "bgcolor": "#553355", "shape": 1}], "links": [[2290, 1018, 3, 1015, 0, "DEPENDENCIES"], [2297, 1018, 0, 1021, 0, "SDXL_TUPLE"], [2298, 1015, 0, 1021, 3, "SCRIPT"], [2299, 1018, 2, 1021, 2, "VAE"], [2300, 1018, 1, 1021, 1, "LATENT"], [2301, 1021, 3, 1022, 0, "IMAGE"], [2352, 1055, 0, 1015, 2, "XY"], [2358, 737, 0, 1021, 4, "INT"], [2366, 980, 0, 1058, 0, "*"], [2367, 973, 0, 1059, 0, "*"], [2368, 1059, 0, 1018, 2, "STRING"], [2370, 1058, 0, 1018, 3, "STRING"], [2372, 769, 0, 1060, 0, "*"], [2373, 769, 1, 1061, 0, "*"], [2376, 1060, 0, 1018, 4, "INT"], [2377, 1061, 0, 1018, 5, "INT"], [2378, 1053, 0, 1062, 0, "*"], [2379, 1062, 0, 1018, 0, "LORA_STACK"], [2380, 1048, 0, 1015, 1, "XY"]], "groups": [], "config": {}, "extra": {}, "version": 0.4}