{ "id": 128078, "modelId": 101055, "name": "v1.0 VAE fix", "createdAt": "2023-07-28T20:11:36.710Z", "updatedAt": "2023-07-29T15:09:06.388Z", "publishedAt": "2023-07-29T15:09:06.386Z", "trainedWords": [], "trainingStatus": null, "trainingDetails": null, "baseModel": "SDXL 1.0", "baseModelType": "Standard", "earlyAccessTimeFrame": 0, "description": null, "stats": { "downloadCount": 71292, "ratingCount": 297, "rating": 4.76 }, "model": { "name": "SD XL", "type": "Checkpoint", "nsfw": false, "poi": false }, "files": [ { "id": 92696, "sizeKB": 6775467.123046875, "name": "sdXL_v10VAEFix.safetensors", "type": "Model", "metadata": { "fp": "fp32", "size": "full", "format": "SafeTensor" }, "pickleScanResult": "Success", "pickleScanMessage": "No Pickle imports", "virusScanResult": "Success", "virusScanMessage": null, "scannedAt": "2023-07-28T20:27:03.500Z", "hashes": { "AutoV1": "BE9EDD61", "AutoV2": "E6BB9EA85B", "SHA256": "E6BB9EA85BBF7BF6478A7C6D18B71246F22E95D41BCDD80ED40AA212C33CFEFF", "CRC32": "9B4D991F", "BLAKE3": "D4B89247EE54185BA1DCC1ACC0BB2E1A2E9333D7F53CE651A19B8B76CB520A95" }, "primary": true, "downloadUrl": "https://civitai.com/api/download/models/128078" } ], "images": [ { "url": "https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8f9573d7-5616-4260-a967-53343afd5e33/width=450/1777436.jpeg", "nsfw": "Mature", "width": 896, "height": 1152, "hash": "U8F580W;01IT-,4;Nz%10eD*?Ho#~paxv}M{", "type": "image", "metadata": { "hash": "U8F580W;01IT-,4;Nz%10eD*?Ho#~paxv}M{", "width": 896, "height": 1152 }, "meta": { "vaes": [ "sdXLVAE_09.safetensors" ], "Model": "sd_xl_base_1.0_0.9vae", "comfy": { "prompt": { "4": { "inputs": { "ckpt_name": "sd_xl_base_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "5": { "inputs": { "width": 896, "height": 1152, "batch_size": 1 }, "class_type": "EmptyLatentImage" }, "6": { "inputs": { "clip": [ "4", 1 ], "text": "masterpiece, best quality, gorgeous pale american cute girl, smiling, (crop top), red hair loose braided hair, short polca skirt, lean against a tree, field, flowers smiling, perfectly symmetrical face, detailed skin, elegant, alluring, attractive, amazing photograph, masterpiece, best quality, 8K, high quality, photorealistic, realism, art photography, Nikon D850, 16k, sharp focus, masterpiece, breathtaking, atmospheric perspective, diffusion, pore correlation, skin imperfections, DSLR, 80mm Sigma f2, depth of field, intricate natural lighting, looking at camara" }, "class_type": "CLIPTextEncode" }, "7": { "inputs": { "clip": [ "4", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "10": { "inputs": { "cfg": 8, "model": [ "4", 0 ], "steps": 50, "negative": [ "7", 0 ], "positive": [ "6", 0 ], "add_noise": "enable", "scheduler": "normal", "noise_seed": 968671136649137, "end_at_step": 25, "latent_image": [ "5", 0 ], "sampler_name": "euler", "start_at_step": 0, "return_with_leftover_noise": "enable" }, "class_type": "KSamplerAdvanced" }, "11": { "inputs": { "cfg": 8, "model": [ "12", 0 ], "steps": 50, "negative": [ "16", 0 ], "positive": [ "15", 0 ], "add_noise": "disable", "scheduler": "normal", "noise_seed": 0, "end_at_step": 10000, "latent_image": [ "10", 0 ], "sampler_name": "euler", "start_at_step": 25, "return_with_leftover_noise": "disable" }, "class_type": "KSamplerAdvanced" }, "12": { "inputs": { "ckpt_name": "sd_xl_refiner_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "15": { "inputs": { "clip": [ "12", 1 ], "text": "masterpiece, best quality, gorgeous pale american cute girl, smiling, (crop top), red hair loose braided hair, short polca skirt, lean against a tree, field, flowers smiling, perfectly symmetrical face, detailed skin, elegant, alluring, attractive, amazing photograph, masterpiece, best quality, 8K, high quality, photorealistic, realism, art photography, Nikon D850, 16k, sharp focus, masterpiece, breathtaking, atmospheric perspective, diffusion, pore correlation, skin imperfections, DSLR, 80mm Sigma f2, depth of field, intricate natural lighting, looking at camara" }, "class_type": "CLIPTextEncode" }, "16": { "inputs": { "clip": [ "12", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "17": { "inputs": { "vae": [ "4", 2 ], "samples": [ "11", 0 ] }, "class_type": "VAEDecode" }, "19": { "inputs": { "images": [ "17", 0 ], "filename_prefix": "ComfyUI" }, "class_type": "SaveImage" }, "48": { "inputs": { "vae_name": "sdXLVAE_09.safetensors" }, "class_type": "VAELoader" } }, "workflow": { "extra": {}, "links": [ [ 3, 4, 1, 6, 0, "CLIP" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 10, 4, 0, 10, 0, "MODEL" ], [ 11, 6, 0, 10, 1, "CONDITIONING" ], [ 12, 7, 0, 10, 2, "CONDITIONING" ], [ 13, 10, 0, 11, 3, "LATENT" ], [ 14, 12, 0, 11, 0, "MODEL" ], [ 16, 13, 0, 6, 1, "STRING" ], [ 18, 14, 0, 7, 1, "STRING" ], [ 19, 12, 1, 15, 0, "CLIP" ], [ 20, 12, 1, 16, 0, "CLIP" ], [ 21, 13, 0, 15, 1, "STRING" ], [ 22, 14, 0, 16, 1, "STRING" ], [ 23, 15, 0, 11, 1, "CONDITIONING" ], [ 24, 16, 0, 11, 2, "CONDITIONING" ], [ 25, 11, 0, 17, 0, "LATENT" ], [ 27, 5, 0, 10, 3, "LATENT" ], [ 28, 17, 0, 19, 0, "IMAGE" ], [ 38, 45, 0, 11, 4, "INT" ], [ 41, 45, 0, 10, 4, "INT" ], [ 43, 47, 0, 10, 5, "INT" ], [ 44, 47, 0, 11, 5, "INT" ], [ 46, 4, 2, 17, 1, "VAE" ] ], "nodes": [ { "id": 15, "pos": [ 275.7593716647332, 667.5821631843008 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 16, "inputs": [ { "link": 19, "name": "clip", "type": "CLIP" }, { "link": 21, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 23 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "photo realistic, ultra details, natural light ultra detailed portrait of a female necromancer, skeleton face volumetric fog, Hyperrealism, breathtaking, ultra realistic, ultra detailed, cyber background, cinematic lighting, highly detailed, breathtaking, photography, stunning environment, wide-angle\", \"text_l\": \"photo realistic, ultra details, natural light ultra detailed portrait of a female necromancer, skeleton face volumetric fog, Hyperrealism, breathtaking, ultra realistic, ultra detailed, cyber background, cinematic lighting, highly detailed, breathtaking, photography, stunning environment, wide-angle" ] }, { "id": 16, "pos": [ 275.7593716647332, 757.5821631843007 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 17, "inputs": [ { "link": 20, "name": "clip", "type": "CLIP" }, { "link": 22, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 24 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 14, "pos": [ 0, 230 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#322", "flags": {}, "order": 0, "title": "Negative Prompt (Text)", "bgcolor": "#533", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 18, 22 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 37, "pos": [ 390.7699487304686, -222.63156538085923 ], "mode": 0, "size": { "0": 330, "1": 140 }, "type": "Note", "color": "#323", "flags": {}, "order": 1, "title": "Note - Load Checkpoint REFINER", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Refiner SDXL model\n\nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations." ] }, { "id": 38, "pos": [ 9, 429 ], "mode": 0, "size": { "0": 284.3257141113281, "1": 123.88604736328125 }, "type": "Note", "color": "#323", "flags": {}, "order": 2, "title": "Note - Text Prompts", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes are where you include the text for:\n - what you want in the picture (Positive Prompt, Green)\n - or what you don't want in the picture (Negative Prompt, Red)\n\nThis node type is called a \"PrimitiveNode\" if you are searching for the node type." ] }, { "id": 17, "pos": [ 854.9474981722423, 130.28335640899812 ], "mode": 0, "size": { "0": 200, "1": 50 }, "type": "VAEDecode", "color": "#332922", "flags": {}, "order": 22, "inputs": [ { "link": 25, "name": "samples", "type": "LATENT" }, { "link": 46, "name": "vae", "type": "VAE" } ], "bgcolor": "#593930", "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 28 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 41, "pos": [ 794.9474981722423, 230.28335640899817 ], "mode": 0, "size": { "0": 320, "1": 120 }, "type": "Note", "color": "#332922", "flags": {}, "order": 3, "title": "Note - VAE Decoder", "bgcolor": "#593930", "properties": { "text": "" }, "widgets_values": [ "This node will take the latent data from the KSampler and, using the VAE, it will decode it into visible data\n\nVAE = Latent --> Visible\n\nThis can then be sent to the Save Image node to be saved as a PNG." ] }, { "id": 42, "pos": [ 370.9816719852805, 174.85043653634958 ], "mode": 0, "size": { "0": 260, "1": 210 }, "type": "Note", "color": "#323", "flags": {}, "order": 4, "title": "Note - Empty Latent Image", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This node sets the image's resolution in Width and Height.\n\nNOTE: For SDXL, it is recommended to use trained 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" ] }, { "id": 43, "pos": [ 261.64906289062463, 859.3716520507812 ], "mode": 0, "size": { "0": 240, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 5, "title": "Note - CLIP Encode (REFINER)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Refiner)" ] }, { "id": 6, "pos": [ -6.777983882626609, 667.9484536162162 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 18, "inputs": [ { "link": 3, "name": "clip", "type": "CLIP" }, { "link": 16, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 11 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "photo realistic, ultra details, natural light ultra detailed portrait of a female necromancer, skeleton face volumetric fog, Hyperrealism, breathtaking, ultra realistic, ultra detailed, cyber background, cinematic lighting, highly detailed, breathtaking, photography, stunning environment, wide-angle\", \"text_l\": \"photo realistic, ultra details, natural light ultra detailed portrait of a female necromancer, skeleton face volumetric fog, Hyperrealism, breathtaking, ultra realistic, ultra detailed, cyber background, cinematic lighting, highly detailed, breathtaking, photography, stunning environment, wide-angle" ] }, { "id": 7, "pos": [ -6.777983882626609, 757.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 19, "inputs": [ { "link": 5, "name": "clip", "type": "CLIP" }, { "link": 18, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 12 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 39, "pos": [ -6.777983882626609, 847.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 6, "title": "Note - CLIP Encode (BASE)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Base)" ] }, { "id": 40, "pos": [ 777, -434 ], "mode": 0, "size": { "0": 451.5049743652344, "1": 424.4164123535156 }, "type": "Note", "color": "#432", "flags": {}, "order": 7, "title": "Note - KSampler ADVANCED General Information", "bgcolor": "#653", "properties": { "text": "" }, "widgets_values": [ "Here are the settings that SHOULD stay in place if you want this workflow to work correctly:\n - add_noise: enable = This adds random noise into the picture so the model can denoise it\n\n - return_with_leftover_noise: enable = This sends the latent image data and all it's leftover noise to the next KSampler node.\n\nThe settings to pay attention to:\n - control_after_generate = generates a new random seed after each workflow job completed.\n - steps = This is the amount of iterations you would like to run the positive and negative CLIP prompts through. Each Step will add (positive) or remove (negative) pixels based on what stable diffusion \"thinks\" should be there according to the model's training\n - cfg = This is how much you want SDXL to adhere to the prompt. Lower CFG gives you more creative but often blurrier results. Higher CFG (recommended max 10) gives you stricter results according to the CLIP prompt. If the CFG value is too high, it can also result in \"burn-in\" where the edges of the picture become even stronger, often highlighting details in unnatural ways.\n - sampler_name = This is the sampler type, and unfortunately different samplers and schedulers have better results with fewer steps, while others have better success with higher steps. This will require experimentation on your part!\n - scheduler = The algorithm/method used to choose the timesteps to denoise the picture.\n - start_at_step = This is the step number the KSampler will start out it's process of de-noising the picture or \"removing the random noise to reveal the picture within\". The first KSampler usually starts with Step 0. Starting at step 0 is the same as setting denoise to 1.0 in the regular Sampler node.\n - end_at_step = This is the step number the KSampler will stop it's process of de-noising the picture. If there is any remaining leftover noise and return_with_leftover_noise is enabled, then it will pass on the left over noise to the next KSampler (assuming there is another one)." ] }, { "id": 10, "pos": [ 827, 561 ], "mode": 0, "size": { "0": 300, "1": 334 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 20, "title": "KSampler (Advanced) - BASE", "inputs": [ { "link": 10, "name": "model", "type": "MODEL" }, { "link": 11, "name": "positive", "type": "CONDITIONING" }, { "link": 12, "name": "negative", "type": "CONDITIONING" }, { "link": 27, "name": "latent_image", "type": "LATENT" }, { "link": 41, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 43, "name": "end_at_step", "type": "INT", "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 5 } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 13 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "enable", 968671136649137, "randomize", 50, 8, "euler", "normal", 0, 25, "enable" ] }, { "id": 11, "pos": [ 1136, 563 ], "mode": 0, "size": { "0": 300, "1": 340 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 21, "title": "KSampler (Advanced) - REFINER", "inputs": [ { "link": 14, "name": "model", "type": "MODEL", "slot_index": 0 }, { "link": 23, "name": "positive", "type": "CONDITIONING" }, { "link": 24, "name": "negative", "type": "CONDITIONING" }, { "link": 13, "name": "latent_image", "type": "LATENT" }, { "link": 38, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 44, "name": "start_at_step", "type": "INT", "widget": { "name": "start_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 0 } ] } } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 25 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "disable", 0, "fixed", 50, 8, "euler", "normal", 25, 10000, "disable" ] }, { "id": 47, "pos": [ 581, 686 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 8, "title": "end_at_step", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 43, 44 ], "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ 25, "fixed" ] }, { "id": 36, "pos": [ 2, -233 ], "mode": 0, "size": { "0": 315.70074462890625, "1": 147.9551239013672 }, "type": "Note", "color": "#323", "flags": {}, "order": 9, "title": "Note - Load Checkpoint BASE", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Base SDXL model\n - This node is also used for SD1.5 and SD2.x models\n \nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations" ] }, { "id": 45, "pos": [ 579, 565 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 10, "title": "steps", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 38, 41 ], "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] } } ], "properties": {}, "widgets_values": [ 50, "fixed" ] }, { "id": 13, "pos": [ 0, 30 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#232", "flags": {}, "order": 11, "title": "Positive Prompt (Text)", "bgcolor": "#353", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 16, 21 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "masterpiece, best quality, gorgeous pale american cute girl, smiling, (crop top), red hair loose braided hair, short polca skirt, lean against a tree, field, flowers smiling, perfectly symmetrical face, detailed skin, elegant, alluring, attractive, amazing photograph, masterpiece, best quality, 8K, high quality, photorealistic, realism, art photography, Nikon D850, 16k, sharp focus, masterpiece, breathtaking, atmospheric perspective, diffusion, pore correlation, skin imperfections, DSLR, 80mm Sigma f2, depth of field, intricate natural lighting, looking at camara" ] }, { "id": 12, "pos": [ 380.7699487304686, -373.6315653808593 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 12, "title": "Load Checkpoint - REFINER", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 14 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 19, 20 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_refiner_1.0_0.9vae.safetensors" ] }, { "id": 48, "pos": [ -17, -554 ], "mode": 0, "size": { "0": 315, "1": 58 }, "type": "VAELoader", "flags": {}, "order": 13, "outputs": [ { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "sdXLVAE_09.safetensors" ] }, { "id": 4, "pos": [ -8.020796957397433, -382.63156538085923 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 14, "title": "Load Checkpoint - BASE", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 10 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 3, 5 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 46 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_base_1.0_0.9vae.safetensors" ] }, { "id": 5, "pos": [ 350.98167198528, 24.85043653634971 ], "mode": 0, "size": { "0": 300, "1": 110 }, "type": "EmptyLatentImage", "color": "#323", "flags": {}, "order": 15, "bgcolor": "#535", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 27 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 896, 1152, 1 ] }, { "id": 19, "pos": [ 1253, -433 ], "mode": 0, "size": { "0": 867.0028076171875, "1": 913.7769775390625 }, "type": "SaveImage", "flags": {}, "order": 23, "inputs": [ { "link": 28, "name": "images", "type": "IMAGE" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] } ], "config": {}, "groups": [ { "color": "#3f789e", "title": "Base Prompt", "bounding": [ -27, 587, 252, 361 ] }, { "color": "#3f789e", "title": "Refiner Prompt", "bounding": [ 239, 588, 279, 362 ] }, { "color": "#3f789e", "title": "Text Prompts", "bounding": [ -20, -53, 339, 622 ] }, { "color": "#a1309b", "title": "Load in BASE SDXL Model", "bounding": [ -18, -463, 369, 399 ] }, { "color": "#a1309b", "title": "Load in REFINER SDXL Model", "bounding": [ 362, -463, 391, 400 ] }, { "color": "#a1309b", "title": "Empty Latent Image", "bounding": [ 330, -49, 339, 443 ] }, { "color": "#b06634", "title": "VAE Decoder", "bounding": [ 777, 51, 360, 350 ] } ], "version": 0.4, "last_link_id": 46, "last_node_id": 48 } }, "steps": 50, "width": 896, "height": 1152, "models": [ "sd_xl_base_1.0_0.9vae.safetensors", "sd_xl_refiner_1.0_0.9vae.safetensors" ], "prompt": "masterpiece, best quality, gorgeous pale american cute girl, smiling, (crop top), red hair loose braided hair, short polca skirt, lean against a tree, field, flowers smiling, perfectly symmetrical face, detailed skin, elegant, alluring, attractive, amazing photograph, masterpiece, best quality, 8K, high quality, photorealistic, realism, art photography, Nikon D850, 16k, sharp focus, masterpiece, breathtaking, atmospheric perspective, diffusion, pore correlation, skin imperfections, DSLR, 80mm Sigma f2, depth of field, intricate natural lighting, looking at camara", "sampler": "Euler", "cfgScale": 8, "scheduler": "normal", "upscalers": [], "controlNets": [], "negativePrompt": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera", "additionalResources": [] } }, { "url": "https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/7e8b8587-c647-4f9b-86a2-301c95ac938f/width=450/1777443.jpeg", "nsfw": "None", "width": 896, "height": 1152, "hash": "U571+F~lx.I]?Y%e?Zt6IWSio#jZ-.tPD+E3", "type": "image", "metadata": { "hash": "U571+F~lx.I]?Y%e?Zt6IWSio#jZ-.tPD+E3", "width": 896, "height": 1152 }, "meta": { "vaes": [ "sdXLVAE_09.safetensors" ], "Model": "sd_xl_base_1.0_0.9vae", "comfy": { "prompt": { "4": { "inputs": { "ckpt_name": "sd_xl_base_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "5": { "inputs": { "width": 896, "height": 1152, "batch_size": 1 }, "class_type": "EmptyLatentImage" }, "6": { "inputs": { "clip": [ "4", 1 ], "text": "cinematic still, filmed by Guillermo del Toro, Amidst a deep dark forest, an enigmatic being appears--an amalgamation of flora and fauna, with vines for hair, eyes gleaming like embers, and skin adorned with iridescent scales " }, "class_type": "CLIPTextEncode" }, "7": { "inputs": { "clip": [ "4", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "10": { "inputs": { "cfg": 8, "model": [ "4", 0 ], "steps": 50, "negative": [ "7", 0 ], "positive": [ "6", 0 ], "add_noise": "enable", "scheduler": "normal", "noise_seed": 240281553126393, "end_at_step": 25, "latent_image": [ "5", 0 ], "sampler_name": "euler", "start_at_step": 0, "return_with_leftover_noise": "enable" }, "class_type": "KSamplerAdvanced" }, "11": { "inputs": { "cfg": 8, "model": [ "12", 0 ], "steps": 50, "negative": [ "16", 0 ], "positive": [ "15", 0 ], "add_noise": "disable", "scheduler": "normal", "noise_seed": 0, "end_at_step": 10000, "latent_image": [ "10", 0 ], "sampler_name": "euler", "start_at_step": 25, "return_with_leftover_noise": "disable" }, "class_type": "KSamplerAdvanced" }, "12": { "inputs": { "ckpt_name": "sd_xl_refiner_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "15": { "inputs": { "clip": [ "12", 1 ], "text": "cinematic still, filmed by Guillermo del Toro, Amidst a deep dark forest, an enigmatic being appears--an amalgamation of flora and fauna, with vines for hair, eyes gleaming like embers, and skin adorned with iridescent scales " }, "class_type": "CLIPTextEncode" }, "16": { "inputs": { "clip": [ "12", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "17": { "inputs": { "vae": [ "4", 2 ], "samples": [ "11", 0 ] }, "class_type": "VAEDecode" }, "19": { "inputs": { "images": [ "17", 0 ], "filename_prefix": "ComfyUI" }, "class_type": "SaveImage" }, "48": { "inputs": { "vae_name": "sdXLVAE_09.safetensors" }, "class_type": "VAELoader" } }, "workflow": { "extra": {}, "links": [ [ 3, 4, 1, 6, 0, "CLIP" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 10, 4, 0, 10, 0, "MODEL" ], [ 11, 6, 0, 10, 1, "CONDITIONING" ], [ 12, 7, 0, 10, 2, "CONDITIONING" ], [ 13, 10, 0, 11, 3, "LATENT" ], [ 14, 12, 0, 11, 0, "MODEL" ], [ 16, 13, 0, 6, 1, "STRING" ], [ 18, 14, 0, 7, 1, "STRING" ], [ 19, 12, 1, 15, 0, "CLIP" ], [ 20, 12, 1, 16, 0, "CLIP" ], [ 21, 13, 0, 15, 1, "STRING" ], [ 22, 14, 0, 16, 1, "STRING" ], [ 23, 15, 0, 11, 1, "CONDITIONING" ], [ 24, 16, 0, 11, 2, "CONDITIONING" ], [ 25, 11, 0, 17, 0, "LATENT" ], [ 27, 5, 0, 10, 3, "LATENT" ], [ 28, 17, 0, 19, 0, "IMAGE" ], [ 38, 45, 0, 11, 4, "INT" ], [ 41, 45, 0, 10, 4, "INT" ], [ 43, 47, 0, 10, 5, "INT" ], [ 44, 47, 0, 11, 5, "INT" ], [ 46, 4, 2, 17, 1, "VAE" ] ], "nodes": [ { "id": 15, "pos": [ 275.7593716647332, 667.5821631843008 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 16, "inputs": [ { "link": 19, "name": "clip", "type": "CLIP" }, { "link": 21, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 23 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "masterpiece, best quality, gorgeous pale american cute girl, smiling, (crop top), red hair loose braided hair, short polca skirt, lean against a tree, field, flowers smiling, perfectly symmetrical face, detailed skin, elegant, alluring, attractive, amazing photograph, masterpiece, best quality, 8K, high quality, photorealistic, realism, art photography, Nikon D850, 16k, sharp focus, masterpiece, breathtaking, atmospheric perspective, diffusion, pore correlation, skin imperfections, DSLR, 80mm Sigma f2, depth of field, intricate natural lighting, looking at camara" ] }, { "id": 16, "pos": [ 275.7593716647332, 757.5821631843007 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 17, "inputs": [ { "link": 20, "name": "clip", "type": "CLIP" }, { "link": 22, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 24 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 14, "pos": [ 0, 230 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#322", "flags": {}, "order": 0, "title": "Negative Prompt (Text)", "bgcolor": "#533", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 18, 22 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 37, "pos": [ 390.7699487304686, -222.63156538085923 ], "mode": 0, "size": { "0": 330, "1": 140 }, "type": "Note", "color": "#323", "flags": {}, "order": 1, "title": "Note - Load Checkpoint REFINER", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Refiner SDXL model\n\nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations." ] }, { "id": 38, "pos": [ 9, 429 ], "mode": 0, "size": { "0": 284.3257141113281, "1": 123.88604736328125 }, "type": "Note", "color": "#323", "flags": {}, "order": 2, "title": "Note - Text Prompts", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes are where you include the text for:\n - what you want in the picture (Positive Prompt, Green)\n - or what you don't want in the picture (Negative Prompt, Red)\n\nThis node type is called a \"PrimitiveNode\" if you are searching for the node type." ] }, { "id": 17, "pos": [ 854.9474981722423, 130.28335640899812 ], "mode": 0, "size": { "0": 200, "1": 50 }, "type": "VAEDecode", "color": "#332922", "flags": {}, "order": 22, "inputs": [ { "link": 25, "name": "samples", "type": "LATENT" }, { "link": 46, "name": "vae", "type": "VAE" } ], "bgcolor": "#593930", "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 28 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 41, "pos": [ 794.9474981722423, 230.28335640899817 ], "mode": 0, "size": { "0": 320, "1": 120 }, "type": "Note", "color": "#332922", "flags": {}, "order": 3, "title": "Note - VAE Decoder", "bgcolor": "#593930", "properties": { "text": "" }, "widgets_values": [ "This node will take the latent data from the KSampler and, using the VAE, it will decode it into visible data\n\nVAE = Latent --> Visible\n\nThis can then be sent to the Save Image node to be saved as a PNG." ] }, { "id": 42, "pos": [ 370.9816719852805, 174.85043653634958 ], "mode": 0, "size": { "0": 260, "1": 210 }, "type": "Note", "color": "#323", "flags": {}, "order": 4, "title": "Note - Empty Latent Image", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This node sets the image's resolution in Width and Height.\n\nNOTE: For SDXL, it is recommended to use trained 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" ] }, { "id": 43, "pos": [ 261.64906289062463, 859.3716520507812 ], "mode": 0, "size": { "0": 240, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 5, "title": "Note - CLIP Encode (REFINER)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Refiner)" ] }, { "id": 6, "pos": [ -6.777983882626609, 667.9484536162162 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 18, "inputs": [ { "link": 3, "name": "clip", "type": "CLIP" }, { "link": 16, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 11 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "masterpiece, best quality, gorgeous pale american cute girl, smiling, (crop top), red hair loose braided hair, short polca skirt, lean against a tree, field, flowers smiling, perfectly symmetrical face, detailed skin, elegant, alluring, attractive, amazing photograph, masterpiece, best quality, 8K, high quality, photorealistic, realism, art photography, Nikon D850, 16k, sharp focus, masterpiece, breathtaking, atmospheric perspective, diffusion, pore correlation, skin imperfections, DSLR, 80mm Sigma f2, depth of field, intricate natural lighting, looking at camara" ] }, { "id": 7, "pos": [ -6.777983882626609, 757.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 19, "inputs": [ { "link": 5, "name": "clip", "type": "CLIP" }, { "link": 18, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 12 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 39, "pos": [ -6.777983882626609, 847.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 6, "title": "Note - CLIP Encode (BASE)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Base)" ] }, { "id": 40, "pos": [ 777, -434 ], "mode": 0, "size": { "0": 451.5049743652344, "1": 424.4164123535156 }, "type": "Note", "color": "#432", "flags": {}, "order": 7, "title": "Note - KSampler ADVANCED General Information", "bgcolor": "#653", "properties": { "text": "" }, "widgets_values": [ "Here are the settings that SHOULD stay in place if you want this workflow to work correctly:\n - add_noise: enable = This adds random noise into the picture so the model can denoise it\n\n - return_with_leftover_noise: enable = This sends the latent image data and all it's leftover noise to the next KSampler node.\n\nThe settings to pay attention to:\n - control_after_generate = generates a new random seed after each workflow job completed.\n - steps = This is the amount of iterations you would like to run the positive and negative CLIP prompts through. Each Step will add (positive) or remove (negative) pixels based on what stable diffusion \"thinks\" should be there according to the model's training\n - cfg = This is how much you want SDXL to adhere to the prompt. Lower CFG gives you more creative but often blurrier results. Higher CFG (recommended max 10) gives you stricter results according to the CLIP prompt. If the CFG value is too high, it can also result in \"burn-in\" where the edges of the picture become even stronger, often highlighting details in unnatural ways.\n - sampler_name = This is the sampler type, and unfortunately different samplers and schedulers have better results with fewer steps, while others have better success with higher steps. This will require experimentation on your part!\n - scheduler = The algorithm/method used to choose the timesteps to denoise the picture.\n - start_at_step = This is the step number the KSampler will start out it's process of de-noising the picture or \"removing the random noise to reveal the picture within\". The first KSampler usually starts with Step 0. Starting at step 0 is the same as setting denoise to 1.0 in the regular Sampler node.\n - end_at_step = This is the step number the KSampler will stop it's process of de-noising the picture. If there is any remaining leftover noise and return_with_leftover_noise is enabled, then it will pass on the left over noise to the next KSampler (assuming there is another one)." ] }, { "id": 10, "pos": [ 827, 561 ], "mode": 0, "size": { "0": 300, "1": 334 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 20, "title": "KSampler (Advanced) - BASE", "inputs": [ { "link": 10, "name": "model", "type": "MODEL" }, { "link": 11, "name": "positive", "type": "CONDITIONING" }, { "link": 12, "name": "negative", "type": "CONDITIONING" }, { "link": 27, "name": "latent_image", "type": "LATENT" }, { "link": 41, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 43, "name": "end_at_step", "type": "INT", "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 5 } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 13 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "enable", 240281553126393, "randomize", 50, 8, "euler", "normal", 0, 25, "enable" ] }, { "id": 11, "pos": [ 1136, 563 ], "mode": 0, "size": { "0": 300, "1": 340 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 21, "title": "KSampler (Advanced) - REFINER", "inputs": [ { "link": 14, "name": "model", "type": "MODEL", "slot_index": 0 }, { "link": 23, "name": "positive", "type": "CONDITIONING" }, { "link": 24, "name": "negative", "type": "CONDITIONING" }, { "link": 13, "name": "latent_image", "type": "LATENT" }, { "link": 38, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 44, "name": "start_at_step", "type": "INT", "widget": { "name": "start_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 0 } ] } } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 25 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "disable", 0, "fixed", 50, 8, "euler", "normal", 25, 10000, "disable" ] }, { "id": 47, "pos": [ 581, 686 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 8, "title": "end_at_step", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 43, 44 ], "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ 25, "fixed" ] }, { "id": 36, "pos": [ 2, -233 ], "mode": 0, "size": { "0": 315.70074462890625, "1": 147.9551239013672 }, "type": "Note", "color": "#323", "flags": {}, "order": 9, "title": "Note - Load Checkpoint BASE", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Base SDXL model\n - This node is also used for SD1.5 and SD2.x models\n \nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations" ] }, { "id": 45, "pos": [ 579, 565 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 10, "title": "steps", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 38, 41 ], "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] } } ], "properties": {}, "widgets_values": [ 50, "fixed" ] }, { "id": 13, "pos": [ 0, 30 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#232", "flags": {}, "order": 11, "title": "Positive Prompt (Text)", "bgcolor": "#353", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 16, 21 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "cinematic still, filmed by Guillermo del Toro, Amidst a deep dark forest, an enigmatic being appears--an amalgamation of flora and fauna, with vines for hair, eyes gleaming like embers, and skin adorned with iridescent scales " ] }, { "id": 12, "pos": [ 380.7699487304686, -373.6315653808593 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 12, "title": "Load Checkpoint - REFINER", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 14 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 19, 20 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_refiner_1.0_0.9vae.safetensors" ] }, { "id": 48, "pos": [ -17, -554 ], "mode": 0, "size": { "0": 315, "1": 58 }, "type": "VAELoader", "flags": {}, "order": 13, "outputs": [ { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "sdXLVAE_09.safetensors" ] }, { "id": 4, "pos": [ -8.020796957397433, -382.63156538085923 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 14, "title": "Load Checkpoint - BASE", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 10 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 3, 5 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 46 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_base_1.0_0.9vae.safetensors" ] }, { "id": 5, "pos": [ 350.98167198528, 24.85043653634971 ], "mode": 0, "size": { "0": 300, "1": 110 }, "type": "EmptyLatentImage", "color": "#323", "flags": {}, "order": 15, "bgcolor": "#535", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 27 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 896, 1152, 1 ] }, { "id": 19, "pos": [ 1253, -433 ], "mode": 0, "size": { "0": 867.0028076171875, "1": 913.7769775390625 }, "type": "SaveImage", "flags": {}, "order": 23, "inputs": [ { "link": 28, "name": "images", "type": "IMAGE" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] } ], "config": {}, "groups": [ { "color": "#3f789e", "title": "Base Prompt", "bounding": [ -27, 587, 252, 361 ] }, { "color": "#3f789e", "title": "Refiner Prompt", "bounding": [ 239, 588, 279, 362 ] }, { "color": "#3f789e", "title": "Text Prompts", "bounding": [ -20, -53, 339, 622 ] }, { "color": "#a1309b", "title": "Load in BASE SDXL Model", "bounding": [ -18, -463, 369, 399 ] }, { "color": "#a1309b", "title": "Load in REFINER SDXL Model", "bounding": [ 362, -463, 391, 400 ] }, { "color": "#a1309b", "title": "Empty Latent Image", "bounding": [ 330, -49, 339, 443 ] }, { "color": "#b06634", "title": "VAE Decoder", "bounding": [ 777, 51, 360, 350 ] } ], "version": 0.4, "last_link_id": 46, "last_node_id": 48 } }, "steps": 50, "width": 896, "height": 1152, "models": [ "sd_xl_base_1.0_0.9vae.safetensors", "sd_xl_refiner_1.0_0.9vae.safetensors" ], "prompt": "cinematic still, filmed by Guillermo del Toro, Amidst a deep dark forest, an enigmatic being appears--an amalgamation of flora and fauna, with vines for hair, eyes gleaming like embers, and skin adorned with iridescent scales ", "sampler": "Euler", "cfgScale": 8, "scheduler": "normal", "upscalers": [], "controlNets": [], "negativePrompt": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera", "additionalResources": [] } }, { "url": "https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/07aa2d9d-3f86-4e5f-aea5-4a06795fde3d/width=450/1777444.jpeg", "nsfw": "None", "width": 896, "height": 1152, "hash": "UF7Bs2yDX9jF.Tx]fkj[%NtQWAog%Mt7Rjof", "type": "image", "metadata": { "hash": "UF7Bs2yDX9jF.Tx]fkj[%NtQWAog%Mt7Rjof", "width": 896, "height": 1152 }, "meta": { "vaes": [ "sdXLVAE_09.safetensors" ], "Model": "sd_xl_base_1.0_0.9vae", "comfy": { "prompt": { "4": { "inputs": { "ckpt_name": "sd_xl_base_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "5": { "inputs": { "width": 896, "height": 1152, "batch_size": 1 }, "class_type": "EmptyLatentImage" }, "6": { "inputs": { "clip": [ "4", 1 ], "text": "photo realistic, ultra details, natural light ultra detailed portrait of a female necromancer, skeleton face volumetric fog, Hyperrealism, breathtaking, ultra realistic, ultra detailed, cyber background, cinematic lighting, highly detailed, breathtaking, photography, stunning environment, wide-angle\", \"text_l\": \"photo realistic, ultra details, natural light ultra detailed portrait of a female necromancer, skeleton face volumetric fog, Hyperrealism, breathtaking, ultra realistic, ultra detailed, cyber background, cinematic lighting, highly detailed, breathtaking, photography, stunning environment, wide-angle" }, "class_type": "CLIPTextEncode" }, "7": { "inputs": { "clip": [ "4", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "10": { "inputs": { "cfg": 8, "model": [ "4", 0 ], "steps": 50, "negative": [ "7", 0 ], "positive": [ "6", 0 ], "add_noise": "enable", "scheduler": "normal", "noise_seed": 1086963115022886, "end_at_step": 25, "latent_image": [ "5", 0 ], "sampler_name": "euler", "start_at_step": 0, "return_with_leftover_noise": "enable" }, "class_type": "KSamplerAdvanced" }, "11": { "inputs": { "cfg": 8, "model": [ "12", 0 ], "steps": 50, "negative": [ "16", 0 ], "positive": [ "15", 0 ], "add_noise": "disable", "scheduler": "normal", "noise_seed": 0, "end_at_step": 10000, "latent_image": [ "10", 0 ], "sampler_name": "euler", "start_at_step": 25, "return_with_leftover_noise": "disable" }, "class_type": "KSamplerAdvanced" }, "12": { "inputs": { "ckpt_name": "sd_xl_refiner_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "15": { "inputs": { "clip": [ "12", 1 ], "text": "photo realistic, ultra details, natural light ultra detailed portrait of a female necromancer, skeleton face volumetric fog, Hyperrealism, breathtaking, ultra realistic, ultra detailed, cyber background, cinematic lighting, highly detailed, breathtaking, photography, stunning environment, wide-angle\", \"text_l\": \"photo realistic, ultra details, natural light ultra detailed portrait of a female necromancer, skeleton face volumetric fog, Hyperrealism, breathtaking, ultra realistic, ultra detailed, cyber background, cinematic lighting, highly detailed, breathtaking, photography, stunning environment, wide-angle" }, "class_type": "CLIPTextEncode" }, "16": { "inputs": { "clip": [ "12", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "17": { "inputs": { "vae": [ "4", 2 ], "samples": [ "11", 0 ] }, "class_type": "VAEDecode" }, "19": { "inputs": { "images": [ "17", 0 ], "filename_prefix": "ComfyUI" }, "class_type": "SaveImage" }, "48": { "inputs": { "vae_name": "sdXLVAE_09.safetensors" }, "class_type": "VAELoader" } }, "workflow": { "extra": {}, "links": [ [ 3, 4, 1, 6, 0, "CLIP" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 10, 4, 0, 10, 0, "MODEL" ], [ 11, 6, 0, 10, 1, "CONDITIONING" ], [ 12, 7, 0, 10, 2, "CONDITIONING" ], [ 13, 10, 0, 11, 3, "LATENT" ], [ 14, 12, 0, 11, 0, "MODEL" ], [ 16, 13, 0, 6, 1, "STRING" ], [ 18, 14, 0, 7, 1, "STRING" ], [ 19, 12, 1, 15, 0, "CLIP" ], [ 20, 12, 1, 16, 0, "CLIP" ], [ 21, 13, 0, 15, 1, "STRING" ], [ 22, 14, 0, 16, 1, "STRING" ], [ 23, 15, 0, 11, 1, "CONDITIONING" ], [ 24, 16, 0, 11, 2, "CONDITIONING" ], [ 25, 11, 0, 17, 0, "LATENT" ], [ 27, 5, 0, 10, 3, "LATENT" ], [ 28, 17, 0, 19, 0, "IMAGE" ], [ 38, 45, 0, 11, 4, "INT" ], [ 41, 45, 0, 10, 4, "INT" ], [ 43, 47, 0, 10, 5, "INT" ], [ 44, 47, 0, 11, 5, "INT" ], [ 46, 4, 2, 17, 1, "VAE" ] ], "nodes": [ { "id": 15, "pos": [ 275.7593716647332, 667.5821631843008 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 16, "inputs": [ { "link": 19, "name": "clip", "type": "CLIP" }, { "link": 21, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 23 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "award winning closeup photo of a female (sci-fi explorer:1.3) wearing helmet with hexagonal glass visor, [Style-Psycho::10], beside a (crashed vehicle:1.2), (smoke:1.4), looking out over a verdant alien planet, (mountains:1.2) (tall grass:1.2), rocks, highly detailed, fine detail, (intricate:1.3), (lens flare:0.6), (backlighting:0.8), (bloom:0.8), shallow depth of field, warzone, explosion, running troops" ] }, { "id": 16, "pos": [ 275.7593716647332, 757.5821631843007 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 17, "inputs": [ { "link": 20, "name": "clip", "type": "CLIP" }, { "link": 22, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 24 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 14, "pos": [ 0, 230 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#322", "flags": {}, "order": 0, "title": "Negative Prompt (Text)", "bgcolor": "#533", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 18, 22 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 37, "pos": [ 390.7699487304686, -222.63156538085923 ], "mode": 0, "size": { "0": 330, "1": 140 }, "type": "Note", "color": "#323", "flags": {}, "order": 1, "title": "Note - Load Checkpoint REFINER", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Refiner SDXL model\n\nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations." ] }, { "id": 38, "pos": [ 9, 429 ], "mode": 0, "size": { "0": 284.3257141113281, "1": 123.88604736328125 }, "type": "Note", "color": "#323", "flags": {}, "order": 2, "title": "Note - Text Prompts", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes are where you include the text for:\n - what you want in the picture (Positive Prompt, Green)\n - or what you don't want in the picture (Negative Prompt, Red)\n\nThis node type is called a \"PrimitiveNode\" if you are searching for the node type." ] }, { "id": 17, "pos": [ 854.9474981722423, 130.28335640899812 ], "mode": 0, "size": { "0": 200, "1": 50 }, "type": "VAEDecode", "color": "#332922", "flags": {}, "order": 22, "inputs": [ { "link": 25, "name": "samples", "type": "LATENT" }, { "link": 46, "name": "vae", "type": "VAE" } ], "bgcolor": "#593930", "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 28 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 41, "pos": [ 794.9474981722423, 230.28335640899817 ], "mode": 0, "size": { "0": 320, "1": 120 }, "type": "Note", "color": "#332922", "flags": {}, "order": 3, "title": "Note - VAE Decoder", "bgcolor": "#593930", "properties": { "text": "" }, "widgets_values": [ "This node will take the latent data from the KSampler and, using the VAE, it will decode it into visible data\n\nVAE = Latent --> Visible\n\nThis can then be sent to the Save Image node to be saved as a PNG." ] }, { "id": 42, "pos": [ 370.9816719852805, 174.85043653634958 ], "mode": 0, "size": { "0": 260, "1": 210 }, "type": "Note", "color": "#323", "flags": {}, "order": 4, "title": "Note - Empty Latent Image", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This node sets the image's resolution in Width and Height.\n\nNOTE: For SDXL, it is recommended to use trained 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" ] }, { "id": 43, "pos": [ 261.64906289062463, 859.3716520507812 ], "mode": 0, "size": { "0": 240, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 5, "title": "Note - CLIP Encode (REFINER)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Refiner)" ] }, { "id": 6, "pos": [ -6.777983882626609, 667.9484536162162 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 18, "inputs": [ { "link": 3, "name": "clip", "type": "CLIP" }, { "link": 16, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 11 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "award winning closeup photo of a female (sci-fi explorer:1.3) wearing helmet with hexagonal glass visor, [Style-Psycho::10], beside a (crashed vehicle:1.2), (smoke:1.4), looking out over a verdant alien planet, (mountains:1.2) (tall grass:1.2), rocks, highly detailed, fine detail, (intricate:1.3), (lens flare:0.6), (backlighting:0.8), (bloom:0.8), shallow depth of field, warzone, explosion, running troops" ] }, { "id": 7, "pos": [ -6.777983882626609, 757.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 19, "inputs": [ { "link": 5, "name": "clip", "type": "CLIP" }, { "link": 18, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 12 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 39, "pos": [ -6.777983882626609, 847.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 6, "title": "Note - CLIP Encode (BASE)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Base)" ] }, { "id": 40, "pos": [ 777, -434 ], "mode": 0, "size": { "0": 451.5049743652344, "1": 424.4164123535156 }, "type": "Note", "color": "#432", "flags": {}, "order": 7, "title": "Note - KSampler ADVANCED General Information", "bgcolor": "#653", "properties": { "text": "" }, "widgets_values": [ "Here are the settings that SHOULD stay in place if you want this workflow to work correctly:\n - add_noise: enable = This adds random noise into the picture so the model can denoise it\n\n - return_with_leftover_noise: enable = This sends the latent image data and all it's leftover noise to the next KSampler node.\n\nThe settings to pay attention to:\n - control_after_generate = generates a new random seed after each workflow job completed.\n - steps = This is the amount of iterations you would like to run the positive and negative CLIP prompts through. Each Step will add (positive) or remove (negative) pixels based on what stable diffusion \"thinks\" should be there according to the model's training\n - cfg = This is how much you want SDXL to adhere to the prompt. Lower CFG gives you more creative but often blurrier results. Higher CFG (recommended max 10) gives you stricter results according to the CLIP prompt. If the CFG value is too high, it can also result in \"burn-in\" where the edges of the picture become even stronger, often highlighting details in unnatural ways.\n - sampler_name = This is the sampler type, and unfortunately different samplers and schedulers have better results with fewer steps, while others have better success with higher steps. This will require experimentation on your part!\n - scheduler = The algorithm/method used to choose the timesteps to denoise the picture.\n - start_at_step = This is the step number the KSampler will start out it's process of de-noising the picture or \"removing the random noise to reveal the picture within\". The first KSampler usually starts with Step 0. Starting at step 0 is the same as setting denoise to 1.0 in the regular Sampler node.\n - end_at_step = This is the step number the KSampler will stop it's process of de-noising the picture. If there is any remaining leftover noise and return_with_leftover_noise is enabled, then it will pass on the left over noise to the next KSampler (assuming there is another one)." ] }, { "id": 10, "pos": [ 827, 561 ], "mode": 0, "size": { "0": 300, "1": 334 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 20, "title": "KSampler (Advanced) - BASE", "inputs": [ { "link": 10, "name": "model", "type": "MODEL" }, { "link": 11, "name": "positive", "type": "CONDITIONING" }, { "link": 12, "name": "negative", "type": "CONDITIONING" }, { "link": 27, "name": "latent_image", "type": "LATENT" }, { "link": 41, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 43, "name": "end_at_step", "type": "INT", "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 5 } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 13 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "enable", 1086963115022886, "randomize", 50, 8, "euler", "normal", 0, 25, "enable" ] }, { "id": 11, "pos": [ 1136, 563 ], "mode": 0, "size": { "0": 300, "1": 340 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 21, "title": "KSampler (Advanced) - REFINER", "inputs": [ { "link": 14, "name": "model", "type": "MODEL", "slot_index": 0 }, { "link": 23, "name": "positive", "type": "CONDITIONING" }, { "link": 24, "name": "negative", "type": "CONDITIONING" }, { "link": 13, "name": "latent_image", "type": "LATENT" }, { "link": 38, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 44, "name": "start_at_step", "type": "INT", "widget": { "name": "start_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 0 } ] } } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 25 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "disable", 0, "fixed", 50, 8, "euler", "normal", 25, 10000, "disable" ] }, { "id": 47, "pos": [ 581, 686 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 8, "title": "end_at_step", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 43, 44 ], "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ 25, "fixed" ] }, { "id": 36, "pos": [ 2, -233 ], "mode": 0, "size": { "0": 315.70074462890625, "1": 147.9551239013672 }, "type": "Note", "color": "#323", "flags": {}, "order": 9, "title": "Note - Load Checkpoint BASE", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Base SDXL model\n - This node is also used for SD1.5 and SD2.x models\n \nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations" ] }, { "id": 45, "pos": [ 579, 565 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 10, "title": "steps", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 38, 41 ], "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] } } ], "properties": {}, "widgets_values": [ 50, "fixed" ] }, { "id": 13, "pos": [ 0, 30 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#232", "flags": {}, "order": 11, "title": "Positive Prompt (Text)", "bgcolor": "#353", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 16, 21 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "photo realistic, ultra details, natural light ultra detailed portrait of a female necromancer, skeleton face volumetric fog, Hyperrealism, breathtaking, ultra realistic, ultra detailed, cyber background, cinematic lighting, highly detailed, breathtaking, photography, stunning environment, wide-angle\", \"text_l\": \"photo realistic, ultra details, natural light ultra detailed portrait of a female necromancer, skeleton face volumetric fog, Hyperrealism, breathtaking, ultra realistic, ultra detailed, cyber background, cinematic lighting, highly detailed, breathtaking, photography, stunning environment, wide-angle" ] }, { "id": 12, "pos": [ 380.7699487304686, -373.6315653808593 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 12, "title": "Load Checkpoint - REFINER", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 14 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 19, 20 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_refiner_1.0_0.9vae.safetensors" ] }, { "id": 48, "pos": [ -17, -554 ], "mode": 0, "size": { "0": 315, "1": 58 }, "type": "VAELoader", "flags": {}, "order": 13, "outputs": [ { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "sdXLVAE_09.safetensors" ] }, { "id": 4, "pos": [ -8.020796957397433, -382.63156538085923 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 14, "title": "Load Checkpoint - BASE", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 10 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 3, 5 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 46 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_base_1.0_0.9vae.safetensors" ] }, { "id": 5, "pos": [ 350.98167198528, 24.85043653634971 ], "mode": 0, "size": { "0": 300, "1": 110 }, "type": "EmptyLatentImage", "color": "#323", "flags": {}, "order": 15, "bgcolor": "#535", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 27 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 896, 1152, 1 ] }, { "id": 19, "pos": [ 1253, -433 ], "mode": 0, "size": { "0": 867.0028076171875, "1": 913.7769775390625 }, "type": "SaveImage", "flags": {}, "order": 23, "inputs": [ { "link": 28, "name": "images", "type": "IMAGE" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] } ], "config": {}, "groups": [ { "color": "#3f789e", "title": "Base Prompt", "bounding": [ -27, 587, 252, 361 ] }, { "color": "#3f789e", "title": "Refiner Prompt", "bounding": [ 239, 588, 279, 362 ] }, { "color": "#3f789e", "title": "Text Prompts", "bounding": [ -20, -53, 339, 622 ] }, { "color": "#a1309b", "title": "Load in BASE SDXL Model", "bounding": [ -18, -463, 369, 399 ] }, { "color": "#a1309b", "title": "Load in REFINER SDXL Model", "bounding": [ 362, -463, 391, 400 ] }, { "color": "#a1309b", "title": "Empty Latent Image", "bounding": [ 330, -49, 339, 443 ] }, { "color": "#b06634", "title": "VAE Decoder", "bounding": [ 777, 51, 360, 350 ] } ], "version": 0.4, "last_link_id": 46, "last_node_id": 48 } }, "steps": 50, "width": 896, "height": 1152, "models": [ "sd_xl_base_1.0_0.9vae.safetensors", "sd_xl_refiner_1.0_0.9vae.safetensors" ], "prompt": "photo realistic, ultra details, natural light ultra detailed portrait of a female necromancer, skeleton face volumetric fog, Hyperrealism, breathtaking, ultra realistic, ultra detailed, cyber background, cinematic lighting, highly detailed, breathtaking, photography, stunning environment, wide-angle\", \"text_l\": \"photo realistic, ultra details, natural light ultra detailed portrait of a female necromancer, skeleton face volumetric fog, Hyperrealism, breathtaking, ultra realistic, ultra detailed, cyber background, cinematic lighting, highly detailed, breathtaking, photography, stunning environment, wide-angle", "sampler": "Euler", "cfgScale": 8, "scheduler": "normal", "upscalers": [], "controlNets": [], "negativePrompt": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera", "additionalResources": [] } }, { "url": "https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8311cc9f-fafe-4428-b0e3-0509af7c1e1b/width=450/1777445.jpeg", "nsfw": "Soft", "width": 896, "height": 1152, "hash": "U49aEfVD00pKyERPIAxv00bc^*n#~pog4oRP", "type": "image", "metadata": { "hash": "U49aEfVD00pKyERPIAxv00bc^*n#~pog4oRP", "width": 896, "height": 1152 }, "meta": { "vaes": [ "sdXLVAE_09.safetensors" ], "Model": "sd_xl_base_1.0_0.9vae", "comfy": { "prompt": { "4": { "inputs": { "ckpt_name": "sd_xl_base_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "5": { "inputs": { "width": 896, "height": 1152, "batch_size": 1 }, "class_type": "EmptyLatentImage" }, "6": { "inputs": { "clip": [ "4", 1 ], "text": "award winning photo, in the (dark:1.3), (deep shadow:1.3), creepy, scary, best quality, highres, ismail inceoglu, beautiful eyes, beautiful detailed face, 1girl, beautiful woman, (white hair), (short hair), bob cut, ((white leotard)), thighhighs, (large breasts), (narrow waist), wide hips, thick thighs, long legs, (detailed lips), (in a gothic castle), ((moonlight)), light particles, intricate details, window in the background, dynamic angle, slight smile, (night:1.4)" }, "class_type": "CLIPTextEncode" }, "7": { "inputs": { "clip": [ "4", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "10": { "inputs": { "cfg": 8, "model": [ "4", 0 ], "steps": 50, "negative": [ "7", 0 ], "positive": [ "6", 0 ], "add_noise": "enable", "scheduler": "normal", "noise_seed": 286392510332217, "end_at_step": 25, "latent_image": [ "5", 0 ], "sampler_name": "euler", "start_at_step": 0, "return_with_leftover_noise": "enable" }, "class_type": "KSamplerAdvanced" }, "11": { "inputs": { "cfg": 8, "model": [ "12", 0 ], "steps": 50, "negative": [ "16", 0 ], "positive": [ "15", 0 ], "add_noise": "disable", "scheduler": "normal", "noise_seed": 0, "end_at_step": 10000, "latent_image": [ "10", 0 ], "sampler_name": "euler", "start_at_step": 25, "return_with_leftover_noise": "disable" }, "class_type": "KSamplerAdvanced" }, "12": { "inputs": { "ckpt_name": "sd_xl_refiner_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "15": { "inputs": { "clip": [ "12", 1 ], "text": "award winning photo, in the (dark:1.3), (deep shadow:1.3), creepy, scary, best quality, highres, ismail inceoglu, beautiful eyes, beautiful detailed face, 1girl, beautiful woman, (white hair), (short hair), bob cut, ((white leotard)), thighhighs, (large breasts), (narrow waist), wide hips, thick thighs, long legs, (detailed lips), (in a gothic castle), ((moonlight)), light particles, intricate details, window in the background, dynamic angle, slight smile, (night:1.4)" }, "class_type": "CLIPTextEncode" }, "16": { "inputs": { "clip": [ "12", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "17": { "inputs": { "vae": [ "4", 2 ], "samples": [ "11", 0 ] }, "class_type": "VAEDecode" }, "19": { "inputs": { "images": [ "17", 0 ], "filename_prefix": "ComfyUI" }, "class_type": "SaveImage" }, "48": { "inputs": { "vae_name": "sdXLVAE_09.safetensors" }, "class_type": "VAELoader" } }, "workflow": { "extra": {}, "links": [ [ 3, 4, 1, 6, 0, "CLIP" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 10, 4, 0, 10, 0, "MODEL" ], [ 11, 6, 0, 10, 1, "CONDITIONING" ], [ 12, 7, 0, 10, 2, "CONDITIONING" ], [ 13, 10, 0, 11, 3, "LATENT" ], [ 14, 12, 0, 11, 0, "MODEL" ], [ 16, 13, 0, 6, 1, "STRING" ], [ 18, 14, 0, 7, 1, "STRING" ], [ 19, 12, 1, 15, 0, "CLIP" ], [ 20, 12, 1, 16, 0, "CLIP" ], [ 21, 13, 0, 15, 1, "STRING" ], [ 22, 14, 0, 16, 1, "STRING" ], [ 23, 15, 0, 11, 1, "CONDITIONING" ], [ 24, 16, 0, 11, 2, "CONDITIONING" ], [ 25, 11, 0, 17, 0, "LATENT" ], [ 27, 5, 0, 10, 3, "LATENT" ], [ 28, 17, 0, 19, 0, "IMAGE" ], [ 38, 45, 0, 11, 4, "INT" ], [ 41, 45, 0, 10, 4, "INT" ], [ 43, 47, 0, 10, 5, "INT" ], [ 44, 47, 0, 11, 5, "INT" ], [ 46, 4, 2, 17, 1, "VAE" ] ], "nodes": [ { "id": 15, "pos": [ 275.7593716647332, 667.5821631843008 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 16, "inputs": [ { "link": 19, "name": "clip", "type": "CLIP" }, { "link": 21, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 23 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "a beautiful cottage, scotland coastal village, (sharp focus:1.2), extremely detailed, (photorealistic:1.4), (RAW image, 8k high resolution:1.2), RAW candid cinema, 16mm, color graded Portra 400 film, ultra realistic, cinematic film still, subsurface scattering, ray tracing, (volumetric lighting)" ] }, { "id": 16, "pos": [ 275.7593716647332, 757.5821631843007 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 17, "inputs": [ { "link": 20, "name": "clip", "type": "CLIP" }, { "link": 22, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 24 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 14, "pos": [ 0, 230 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#322", "flags": {}, "order": 0, "title": "Negative Prompt (Text)", "bgcolor": "#533", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 18, 22 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 37, "pos": [ 390.7699487304686, -222.63156538085923 ], "mode": 0, "size": { "0": 330, "1": 140 }, "type": "Note", "color": "#323", "flags": {}, "order": 1, "title": "Note - Load Checkpoint REFINER", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Refiner SDXL model\n\nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations." ] }, { "id": 38, "pos": [ 9, 429 ], "mode": 0, "size": { "0": 284.3257141113281, "1": 123.88604736328125 }, "type": "Note", "color": "#323", "flags": {}, "order": 2, "title": "Note - Text Prompts", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes are where you include the text for:\n - what you want in the picture (Positive Prompt, Green)\n - or what you don't want in the picture (Negative Prompt, Red)\n\nThis node type is called a \"PrimitiveNode\" if you are searching for the node type." ] }, { "id": 17, "pos": [ 854.9474981722423, 130.28335640899812 ], "mode": 0, "size": { "0": 200, "1": 50 }, "type": "VAEDecode", "color": "#332922", "flags": {}, "order": 22, "inputs": [ { "link": 25, "name": "samples", "type": "LATENT" }, { "link": 46, "name": "vae", "type": "VAE" } ], "bgcolor": "#593930", "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 28 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 41, "pos": [ 794.9474981722423, 230.28335640899817 ], "mode": 0, "size": { "0": 320, "1": 120 }, "type": "Note", "color": "#332922", "flags": {}, "order": 3, "title": "Note - VAE Decoder", "bgcolor": "#593930", "properties": { "text": "" }, "widgets_values": [ "This node will take the latent data from the KSampler and, using the VAE, it will decode it into visible data\n\nVAE = Latent --> Visible\n\nThis can then be sent to the Save Image node to be saved as a PNG." ] }, { "id": 42, "pos": [ 370.9816719852805, 174.85043653634958 ], "mode": 0, "size": { "0": 260, "1": 210 }, "type": "Note", "color": "#323", "flags": {}, "order": 4, "title": "Note - Empty Latent Image", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This node sets the image's resolution in Width and Height.\n\nNOTE: For SDXL, it is recommended to use trained 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" ] }, { "id": 43, "pos": [ 261.64906289062463, 859.3716520507812 ], "mode": 0, "size": { "0": 240, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 5, "title": "Note - CLIP Encode (REFINER)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Refiner)" ] }, { "id": 6, "pos": [ -6.777983882626609, 667.9484536162162 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 18, "inputs": [ { "link": 3, "name": "clip", "type": "CLIP" }, { "link": 16, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 11 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "a beautiful cottage, scotland coastal village, (sharp focus:1.2), extremely detailed, (photorealistic:1.4), (RAW image, 8k high resolution:1.2), RAW candid cinema, 16mm, color graded Portra 400 film, ultra realistic, cinematic film still, subsurface scattering, ray tracing, (volumetric lighting)" ] }, { "id": 7, "pos": [ -6.777983882626609, 757.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 19, "inputs": [ { "link": 5, "name": "clip", "type": "CLIP" }, { "link": 18, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 12 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 39, "pos": [ -6.777983882626609, 847.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 6, "title": "Note - CLIP Encode (BASE)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Base)" ] }, { "id": 40, "pos": [ 777, -434 ], "mode": 0, "size": { "0": 451.5049743652344, "1": 424.4164123535156 }, "type": "Note", "color": "#432", "flags": {}, "order": 7, "title": "Note - KSampler ADVANCED General Information", "bgcolor": "#653", "properties": { "text": "" }, "widgets_values": [ "Here are the settings that SHOULD stay in place if you want this workflow to work correctly:\n - add_noise: enable = This adds random noise into the picture so the model can denoise it\n\n - return_with_leftover_noise: enable = This sends the latent image data and all it's leftover noise to the next KSampler node.\n\nThe settings to pay attention to:\n - control_after_generate = generates a new random seed after each workflow job completed.\n - steps = This is the amount of iterations you would like to run the positive and negative CLIP prompts through. Each Step will add (positive) or remove (negative) pixels based on what stable diffusion \"thinks\" should be there according to the model's training\n - cfg = This is how much you want SDXL to adhere to the prompt. Lower CFG gives you more creative but often blurrier results. Higher CFG (recommended max 10) gives you stricter results according to the CLIP prompt. If the CFG value is too high, it can also result in \"burn-in\" where the edges of the picture become even stronger, often highlighting details in unnatural ways.\n - sampler_name = This is the sampler type, and unfortunately different samplers and schedulers have better results with fewer steps, while others have better success with higher steps. This will require experimentation on your part!\n - scheduler = The algorithm/method used to choose the timesteps to denoise the picture.\n - start_at_step = This is the step number the KSampler will start out it's process of de-noising the picture or \"removing the random noise to reveal the picture within\". The first KSampler usually starts with Step 0. Starting at step 0 is the same as setting denoise to 1.0 in the regular Sampler node.\n - end_at_step = This is the step number the KSampler will stop it's process of de-noising the picture. If there is any remaining leftover noise and return_with_leftover_noise is enabled, then it will pass on the left over noise to the next KSampler (assuming there is another one)." ] }, { "id": 10, "pos": [ 827, 561 ], "mode": 0, "size": { "0": 300, "1": 334 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 20, "title": "KSampler (Advanced) - BASE", "inputs": [ { "link": 10, "name": "model", "type": "MODEL" }, { "link": 11, "name": "positive", "type": "CONDITIONING" }, { "link": 12, "name": "negative", "type": "CONDITIONING" }, { "link": 27, "name": "latent_image", "type": "LATENT" }, { "link": 41, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 43, "name": "end_at_step", "type": "INT", "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 5 } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 13 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "enable", 286392510332217, "randomize", 50, 8, "euler", "normal", 0, 25, "enable" ] }, { "id": 11, "pos": [ 1136, 563 ], "mode": 0, "size": { "0": 300, "1": 340 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 21, "title": "KSampler (Advanced) - REFINER", "inputs": [ { "link": 14, "name": "model", "type": "MODEL", "slot_index": 0 }, { "link": 23, "name": "positive", "type": "CONDITIONING" }, { "link": 24, "name": "negative", "type": "CONDITIONING" }, { "link": 13, "name": "latent_image", "type": "LATENT" }, { "link": 38, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 44, "name": "start_at_step", "type": "INT", "widget": { "name": "start_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 0 } ] } } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 25 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "disable", 0, "fixed", 50, 8, "euler", "normal", 25, 10000, "disable" ] }, { "id": 47, "pos": [ 581, 686 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 8, "title": "end_at_step", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 43, 44 ], "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ 25, "fixed" ] }, { "id": 36, "pos": [ 2, -233 ], "mode": 0, "size": { "0": 315.70074462890625, "1": 147.9551239013672 }, "type": "Note", "color": "#323", "flags": {}, "order": 9, "title": "Note - Load Checkpoint BASE", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Base SDXL model\n - This node is also used for SD1.5 and SD2.x models\n \nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations" ] }, { "id": 45, "pos": [ 579, 565 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 10, "title": "steps", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 38, 41 ], "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] } } ], "properties": {}, "widgets_values": [ 50, "fixed" ] }, { "id": 13, "pos": [ 0, 30 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#232", "flags": {}, "order": 11, "title": "Positive Prompt (Text)", "bgcolor": "#353", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 16, 21 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "award winning photo, in the (dark:1.3), (deep shadow:1.3), creepy, scary, best quality, highres, ismail inceoglu, beautiful eyes, beautiful detailed face, 1girl, beautiful woman, (white hair), (short hair), bob cut, ((white leotard)), thighhighs, (large breasts), (narrow waist), wide hips, thick thighs, long legs, (detailed lips), (in a gothic castle), ((moonlight)), light particles, intricate details, window in the background, dynamic angle, slight smile, (night:1.4)" ] }, { "id": 12, "pos": [ 380.7699487304686, -373.6315653808593 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 12, "title": "Load Checkpoint - REFINER", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 14 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 19, 20 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_refiner_1.0_0.9vae.safetensors" ] }, { "id": 48, "pos": [ -17, -554 ], "mode": 0, "size": { "0": 315, "1": 58 }, "type": "VAELoader", "flags": {}, "order": 13, "outputs": [ { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "sdXLVAE_09.safetensors" ] }, { "id": 4, "pos": [ -8.020796957397433, -382.63156538085923 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 14, "title": "Load Checkpoint - BASE", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 10 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 3, 5 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 46 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_base_1.0_0.9vae.safetensors" ] }, { "id": 5, "pos": [ 350.98167198528, 24.85043653634971 ], "mode": 0, "size": { "0": 300, "1": 110 }, "type": "EmptyLatentImage", "color": "#323", "flags": {}, "order": 15, "bgcolor": "#535", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 27 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 896, 1152, 1 ] }, { "id": 19, "pos": [ 1253, -433 ], "mode": 0, "size": { "0": 867.0028076171875, "1": 913.7769775390625 }, "type": "SaveImage", "flags": {}, "order": 23, "inputs": [ { "link": 28, "name": "images", "type": "IMAGE" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] } ], "config": {}, "groups": [ { "color": "#3f789e", "title": "Base Prompt", "bounding": [ -27, 587, 252, 361 ] }, { "color": "#3f789e", "title": "Refiner Prompt", "bounding": [ 239, 588, 279, 362 ] }, { "color": "#3f789e", "title": "Text Prompts", "bounding": [ -20, -53, 339, 622 ] }, { "color": "#a1309b", "title": "Load in BASE SDXL Model", "bounding": [ -18, -463, 369, 399 ] }, { "color": "#a1309b", "title": "Load in REFINER SDXL Model", "bounding": [ 362, -463, 391, 400 ] }, { "color": "#a1309b", "title": "Empty Latent Image", "bounding": [ 330, -49, 339, 443 ] }, { "color": "#b06634", "title": "VAE Decoder", "bounding": [ 777, 51, 360, 350 ] } ], "version": 0.4, "last_link_id": 46, "last_node_id": 48 } }, "steps": 50, "width": 896, "height": 1152, "models": [ "sd_xl_base_1.0_0.9vae.safetensors", "sd_xl_refiner_1.0_0.9vae.safetensors" ], "prompt": "award winning photo, in the (dark:1.3), (deep shadow:1.3), creepy, scary, best quality, highres, ismail inceoglu, beautiful eyes, beautiful detailed face, 1girl, beautiful woman, (white hair), (short hair), bob cut, ((white leotard)), thighhighs, (large breasts), (narrow waist), wide hips, thick thighs, long legs, (detailed lips), (in a gothic castle), ((moonlight)), light particles, intricate details, window in the background, dynamic angle, slight smile, (night:1.4)", "sampler": "Euler", "cfgScale": 8, "scheduler": "normal", "upscalers": [], "controlNets": [], "negativePrompt": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera", "additionalResources": [] } }, { "url": "https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9f3be75d-22ab-4f03-a0c4-bbcf53a3e912/width=450/1777446.jpeg", "nsfw": "None", "width": 896, "height": 1152, "hash": "UAETt|-n9_9|}?%013I[].5;K4=w5XAHoy}p", "type": "image", "metadata": { "hash": "UAETt|-n9_9|}?%013I[].5;K4=w5XAHoy}p", "width": 896, "height": 1152 }, "meta": { "vaes": [ "sdXLVAE_09.safetensors" ], "Model": "sd_xl_base_1.0_0.9vae", "comfy": { "prompt": { "4": { "inputs": { "ckpt_name": "sd_xl_base_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "5": { "inputs": { "width": 896, "height": 1152, "batch_size": 1 }, "class_type": "EmptyLatentImage" }, "6": { "inputs": { "clip": [ "4", 1 ], "text": "masterpiece, best quality, greg rutkowski, fire, no humans, open mouth, wings, dragon, sharp teeth, teeth, tail, solo, breathing fire, horns, monster, claws, smoke , very detailed, high resolution, sharp, sharp image, 4k, 8k," }, "class_type": "CLIPTextEncode" }, "7": { "inputs": { "clip": [ "4", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "10": { "inputs": { "cfg": 8, "model": [ "4", 0 ], "steps": 50, "negative": [ "7", 0 ], "positive": [ "6", 0 ], "add_noise": "enable", "scheduler": "normal", "noise_seed": 1040697295859660, "end_at_step": 25, "latent_image": [ "5", 0 ], "sampler_name": "euler", "start_at_step": 0, "return_with_leftover_noise": "enable" }, "class_type": "KSamplerAdvanced" }, "11": { "inputs": { "cfg": 8, "model": [ "12", 0 ], "steps": 50, "negative": [ "16", 0 ], "positive": [ "15", 0 ], "add_noise": "disable", "scheduler": "normal", "noise_seed": 0, "end_at_step": 10000, "latent_image": [ "10", 0 ], "sampler_name": "euler", "start_at_step": 25, "return_with_leftover_noise": "disable" }, "class_type": "KSamplerAdvanced" }, "12": { "inputs": { "ckpt_name": "sd_xl_refiner_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "15": { "inputs": { "clip": [ "12", 1 ], "text": "masterpiece, best quality, greg rutkowski, fire, no humans, open mouth, wings, dragon, sharp teeth, teeth, tail, solo, breathing fire, horns, monster, claws, smoke , very detailed, high resolution, sharp, sharp image, 4k, 8k," }, "class_type": "CLIPTextEncode" }, "16": { "inputs": { "clip": [ "12", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "17": { "inputs": { "vae": [ "4", 2 ], "samples": [ "11", 0 ] }, "class_type": "VAEDecode" }, "19": { "inputs": { "images": [ "17", 0 ], "filename_prefix": "ComfyUI" }, "class_type": "SaveImage" }, "48": { "inputs": { "vae_name": "sdXLVAE_09.safetensors" }, "class_type": "VAELoader" } }, "workflow": { "extra": {}, "links": [ [ 3, 4, 1, 6, 0, "CLIP" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 10, 4, 0, 10, 0, "MODEL" ], [ 11, 6, 0, 10, 1, "CONDITIONING" ], [ 12, 7, 0, 10, 2, "CONDITIONING" ], [ 13, 10, 0, 11, 3, "LATENT" ], [ 14, 12, 0, 11, 0, "MODEL" ], [ 16, 13, 0, 6, 1, "STRING" ], [ 18, 14, 0, 7, 1, "STRING" ], [ 19, 12, 1, 15, 0, "CLIP" ], [ 20, 12, 1, 16, 0, "CLIP" ], [ 21, 13, 0, 15, 1, "STRING" ], [ 22, 14, 0, 16, 1, "STRING" ], [ 23, 15, 0, 11, 1, "CONDITIONING" ], [ 24, 16, 0, 11, 2, "CONDITIONING" ], [ 25, 11, 0, 17, 0, "LATENT" ], [ 27, 5, 0, 10, 3, "LATENT" ], [ 28, 17, 0, 19, 0, "IMAGE" ], [ 38, 45, 0, 11, 4, "INT" ], [ 41, 45, 0, 10, 4, "INT" ], [ 43, 47, 0, 10, 5, "INT" ], [ 44, 47, 0, 11, 5, "INT" ], [ 46, 4, 2, 17, 1, "VAE" ] ], "nodes": [ { "id": 15, "pos": [ 275.7593716647332, 667.5821631843008 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 16, "inputs": [ { "link": 19, "name": "clip", "type": "CLIP" }, { "link": 21, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 23 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "closeup of woman wearing gothic clothes, braided pigtails, in a castle, sharp focus, looking at the night time, Mystical atmosphere, cinematic" ] }, { "id": 16, "pos": [ 275.7593716647332, 757.5821631843007 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 17, "inputs": [ { "link": 20, "name": "clip", "type": "CLIP" }, { "link": 22, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 24 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 14, "pos": [ 0, 230 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#322", "flags": {}, "order": 0, "title": "Negative Prompt (Text)", "bgcolor": "#533", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 18, 22 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 37, "pos": [ 390.7699487304686, -222.63156538085923 ], "mode": 0, "size": { "0": 330, "1": 140 }, "type": "Note", "color": "#323", "flags": {}, "order": 1, "title": "Note - Load Checkpoint REFINER", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Refiner SDXL model\n\nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations." ] }, { "id": 38, "pos": [ 9, 429 ], "mode": 0, "size": { "0": 284.3257141113281, "1": 123.88604736328125 }, "type": "Note", "color": "#323", "flags": {}, "order": 2, "title": "Note - Text Prompts", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes are where you include the text for:\n - what you want in the picture (Positive Prompt, Green)\n - or what you don't want in the picture (Negative Prompt, Red)\n\nThis node type is called a \"PrimitiveNode\" if you are searching for the node type." ] }, { "id": 17, "pos": [ 854.9474981722423, 130.28335640899812 ], "mode": 0, "size": { "0": 200, "1": 50 }, "type": "VAEDecode", "color": "#332922", "flags": {}, "order": 22, "inputs": [ { "link": 25, "name": "samples", "type": "LATENT" }, { "link": 46, "name": "vae", "type": "VAE" } ], "bgcolor": "#593930", "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 28 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 41, "pos": [ 794.9474981722423, 230.28335640899817 ], "mode": 0, "size": { "0": 320, "1": 120 }, "type": "Note", "color": "#332922", "flags": {}, "order": 3, "title": "Note - VAE Decoder", "bgcolor": "#593930", "properties": { "text": "" }, "widgets_values": [ "This node will take the latent data from the KSampler and, using the VAE, it will decode it into visible data\n\nVAE = Latent --> Visible\n\nThis can then be sent to the Save Image node to be saved as a PNG." ] }, { "id": 42, "pos": [ 370.9816719852805, 174.85043653634958 ], "mode": 0, "size": { "0": 260, "1": 210 }, "type": "Note", "color": "#323", "flags": {}, "order": 4, "title": "Note - Empty Latent Image", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This node sets the image's resolution in Width and Height.\n\nNOTE: For SDXL, it is recommended to use trained 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" ] }, { "id": 43, "pos": [ 261.64906289062463, 859.3716520507812 ], "mode": 0, "size": { "0": 240, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 5, "title": "Note - CLIP Encode (REFINER)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Refiner)" ] }, { "id": 6, "pos": [ -6.777983882626609, 667.9484536162162 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 18, "inputs": [ { "link": 3, "name": "clip", "type": "CLIP" }, { "link": 16, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 11 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "closeup of woman wearing gothic clothes, braided pigtails, in a castle, sharp focus, looking at the night time, Mystical atmosphere, cinematic" ] }, { "id": 7, "pos": [ -6.777983882626609, 757.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 19, "inputs": [ { "link": 5, "name": "clip", "type": "CLIP" }, { "link": 18, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 12 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 39, "pos": [ -6.777983882626609, 847.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 6, "title": "Note - CLIP Encode (BASE)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Base)" ] }, { "id": 40, "pos": [ 777, -434 ], "mode": 0, "size": { "0": 451.5049743652344, "1": 424.4164123535156 }, "type": "Note", "color": "#432", "flags": {}, "order": 7, "title": "Note - KSampler ADVANCED General Information", "bgcolor": "#653", "properties": { "text": "" }, "widgets_values": [ "Here are the settings that SHOULD stay in place if you want this workflow to work correctly:\n - add_noise: enable = This adds random noise into the picture so the model can denoise it\n\n - return_with_leftover_noise: enable = This sends the latent image data and all it's leftover noise to the next KSampler node.\n\nThe settings to pay attention to:\n - control_after_generate = generates a new random seed after each workflow job completed.\n - steps = This is the amount of iterations you would like to run the positive and negative CLIP prompts through. Each Step will add (positive) or remove (negative) pixels based on what stable diffusion \"thinks\" should be there according to the model's training\n - cfg = This is how much you want SDXL to adhere to the prompt. Lower CFG gives you more creative but often blurrier results. Higher CFG (recommended max 10) gives you stricter results according to the CLIP prompt. If the CFG value is too high, it can also result in \"burn-in\" where the edges of the picture become even stronger, often highlighting details in unnatural ways.\n - sampler_name = This is the sampler type, and unfortunately different samplers and schedulers have better results with fewer steps, while others have better success with higher steps. This will require experimentation on your part!\n - scheduler = The algorithm/method used to choose the timesteps to denoise the picture.\n - start_at_step = This is the step number the KSampler will start out it's process of de-noising the picture or \"removing the random noise to reveal the picture within\". The first KSampler usually starts with Step 0. Starting at step 0 is the same as setting denoise to 1.0 in the regular Sampler node.\n - end_at_step = This is the step number the KSampler will stop it's process of de-noising the picture. If there is any remaining leftover noise and return_with_leftover_noise is enabled, then it will pass on the left over noise to the next KSampler (assuming there is another one)." ] }, { "id": 10, "pos": [ 827, 561 ], "mode": 0, "size": { "0": 300, "1": 334 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 20, "title": "KSampler (Advanced) - BASE", "inputs": [ { "link": 10, "name": "model", "type": "MODEL" }, { "link": 11, "name": "positive", "type": "CONDITIONING" }, { "link": 12, "name": "negative", "type": "CONDITIONING" }, { "link": 27, "name": "latent_image", "type": "LATENT" }, { "link": 41, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 43, "name": "end_at_step", "type": "INT", "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 5 } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 13 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "enable", 1040697295859660, "randomize", 50, 8, "euler", "normal", 0, 25, "enable" ] }, { "id": 11, "pos": [ 1136, 563 ], "mode": 0, "size": { "0": 300, "1": 340 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 21, "title": "KSampler (Advanced) - REFINER", "inputs": [ { "link": 14, "name": "model", "type": "MODEL", "slot_index": 0 }, { "link": 23, "name": "positive", "type": "CONDITIONING" }, { "link": 24, "name": "negative", "type": "CONDITIONING" }, { "link": 13, "name": "latent_image", "type": "LATENT" }, { "link": 38, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 44, "name": "start_at_step", "type": "INT", "widget": { "name": "start_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 0 } ] } } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 25 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "disable", 0, "fixed", 50, 8, "euler", "normal", 25, 10000, "disable" ] }, { "id": 47, "pos": [ 581, 686 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 8, "title": "end_at_step", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 43, 44 ], "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ 25, "fixed" ] }, { "id": 36, "pos": [ 2, -233 ], "mode": 0, "size": { "0": 315.70074462890625, "1": 147.9551239013672 }, "type": "Note", "color": "#323", "flags": {}, "order": 9, "title": "Note - Load Checkpoint BASE", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Base SDXL model\n - This node is also used for SD1.5 and SD2.x models\n \nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations" ] }, { "id": 45, "pos": [ 579, 565 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 10, "title": "steps", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 38, 41 ], "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] } } ], "properties": {}, "widgets_values": [ 50, "fixed" ] }, { "id": 13, "pos": [ 0, 30 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#232", "flags": {}, "order": 11, "title": "Positive Prompt (Text)", "bgcolor": "#353", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 16, 21 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "masterpiece, best quality, greg rutkowski, fire, no humans, open mouth, wings, dragon, sharp teeth, teeth, tail, solo, breathing fire, horns, monster, claws, smoke , very detailed, high resolution, sharp, sharp image, 4k, 8k," ] }, { "id": 12, "pos": [ 380.7699487304686, -373.6315653808593 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 12, "title": "Load Checkpoint - REFINER", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 14 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 19, 20 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_refiner_1.0_0.9vae.safetensors" ] }, { "id": 48, "pos": [ -17, -554 ], "mode": 0, "size": { "0": 315, "1": 58 }, "type": "VAELoader", "flags": {}, "order": 13, "outputs": [ { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "sdXLVAE_09.safetensors" ] }, { "id": 4, "pos": [ -8.020796957397433, -382.63156538085923 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 14, "title": "Load Checkpoint - BASE", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 10 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 3, 5 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 46 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_base_1.0_0.9vae.safetensors" ] }, { "id": 5, "pos": [ 350.98167198528, 24.85043653634971 ], "mode": 0, "size": { "0": 300, "1": 110 }, "type": "EmptyLatentImage", "color": "#323", "flags": {}, "order": 15, "bgcolor": "#535", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 27 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 896, 1152, 1 ] }, { "id": 19, "pos": [ 1253, -433 ], "mode": 0, "size": { "0": 867.0028076171875, "1": 913.7769775390625 }, "type": "SaveImage", "flags": {}, "order": 23, "inputs": [ { "link": 28, "name": "images", "type": "IMAGE" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] } ], "config": {}, "groups": [ { "color": "#3f789e", "title": "Base Prompt", "bounding": [ -27, 587, 252, 361 ] }, { "color": "#3f789e", "title": "Refiner Prompt", "bounding": [ 239, 588, 279, 362 ] }, { "color": "#3f789e", "title": "Text Prompts", "bounding": [ -20, -53, 339, 622 ] }, { "color": "#a1309b", "title": "Load in BASE SDXL Model", "bounding": [ -18, -463, 369, 399 ] }, { "color": "#a1309b", "title": "Load in REFINER SDXL Model", "bounding": [ 362, -463, 391, 400 ] }, { "color": "#a1309b", "title": "Empty Latent Image", "bounding": [ 330, -49, 339, 443 ] }, { "color": "#b06634", "title": "VAE Decoder", "bounding": [ 777, 51, 360, 350 ] } ], "version": 0.4, "last_link_id": 46, "last_node_id": 48 } }, "steps": 50, "width": 896, "height": 1152, "models": [ "sd_xl_base_1.0_0.9vae.safetensors", "sd_xl_refiner_1.0_0.9vae.safetensors" ], "prompt": "masterpiece, best quality, greg rutkowski, fire, no humans, open mouth, wings, dragon, sharp teeth, teeth, tail, solo, breathing fire, horns, monster, claws, smoke , very detailed, high resolution, sharp, sharp image, 4k, 8k,", "sampler": "Euler", "cfgScale": 8, "scheduler": "normal", "upscalers": [], "controlNets": [], "negativePrompt": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera", "additionalResources": [] } }, { "url": "https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9b32c2c3-88e3-464f-a63a-959877975e25/width=450/1777447.jpeg", "nsfw": "None", "width": 896, "height": 1152, "hash": "UFBfz%D*Ip^+~VM|IVt7-:WVRkozt6oKNGbb", "type": "image", "metadata": { "hash": "UFBfz%D*Ip^+~VM|IVt7-:WVRkozt6oKNGbb", "width": 896, "height": 1152 }, "meta": { "vaes": [ "sdXLVAE_09.safetensors" ], "Model": "sd_xl_base_1.0_0.9vae", "comfy": { "prompt": { "4": { "inputs": { "ckpt_name": "sd_xl_base_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "5": { "inputs": { "width": 896, "height": 1152, "batch_size": 1 }, "class_type": "EmptyLatentImage" }, "6": { "inputs": { "clip": [ "4", 1 ], "text": "Victorian man, London, (sharp focus:1.2), extremely detailed, (photorealistic:1.4), (RAW image, 8k high resolution:1.2), RAW candid cinema, 16mm, color graded Portra 400 film, ultra realistic, cinematic film still, subsurface scattering, ray tracing, (volumetric lighting)" }, "class_type": "CLIPTextEncode" }, "7": { "inputs": { "clip": [ "4", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "10": { "inputs": { "cfg": 8, "model": [ "4", 0 ], "steps": 50, "negative": [ "7", 0 ], "positive": [ "6", 0 ], "add_noise": "enable", "scheduler": "normal", "noise_seed": 1976467086839, "end_at_step": 25, "latent_image": [ "5", 0 ], "sampler_name": "euler", "start_at_step": 0, "return_with_leftover_noise": "enable" }, "class_type": "KSamplerAdvanced" }, "11": { "inputs": { "cfg": 8, "model": [ "12", 0 ], "steps": 50, "negative": [ "16", 0 ], "positive": [ "15", 0 ], "add_noise": "disable", "scheduler": "normal", "noise_seed": 0, "end_at_step": 10000, "latent_image": [ "10", 0 ], "sampler_name": "euler", "start_at_step": 25, "return_with_leftover_noise": "disable" }, "class_type": "KSamplerAdvanced" }, "12": { "inputs": { "ckpt_name": "sd_xl_refiner_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "15": { "inputs": { "clip": [ "12", 1 ], "text": "Victorian man, London, (sharp focus:1.2), extremely detailed, (photorealistic:1.4), (RAW image, 8k high resolution:1.2), RAW candid cinema, 16mm, color graded Portra 400 film, ultra realistic, cinematic film still, subsurface scattering, ray tracing, (volumetric lighting)" }, "class_type": "CLIPTextEncode" }, "16": { "inputs": { "clip": [ "12", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "17": { "inputs": { "vae": [ "4", 2 ], "samples": [ "11", 0 ] }, "class_type": "VAEDecode" }, "19": { "inputs": { "images": [ "17", 0 ], "filename_prefix": "ComfyUI" }, "class_type": "SaveImage" }, "48": { "inputs": { "vae_name": "sdXLVAE_09.safetensors" }, "class_type": "VAELoader" } }, "workflow": { "extra": {}, "links": [ [ 3, 4, 1, 6, 0, "CLIP" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 10, 4, 0, 10, 0, "MODEL" ], [ 11, 6, 0, 10, 1, "CONDITIONING" ], [ 12, 7, 0, 10, 2, "CONDITIONING" ], [ 13, 10, 0, 11, 3, "LATENT" ], [ 14, 12, 0, 11, 0, "MODEL" ], [ 16, 13, 0, 6, 1, "STRING" ], [ 18, 14, 0, 7, 1, "STRING" ], [ 19, 12, 1, 15, 0, "CLIP" ], [ 20, 12, 1, 16, 0, "CLIP" ], [ 21, 13, 0, 15, 1, "STRING" ], [ 22, 14, 0, 16, 1, "STRING" ], [ 23, 15, 0, 11, 1, "CONDITIONING" ], [ 24, 16, 0, 11, 2, "CONDITIONING" ], [ 25, 11, 0, 17, 0, "LATENT" ], [ 27, 5, 0, 10, 3, "LATENT" ], [ 28, 17, 0, 19, 0, "IMAGE" ], [ 38, 45, 0, 11, 4, "INT" ], [ 41, 45, 0, 10, 4, "INT" ], [ 43, 47, 0, 10, 5, "INT" ], [ 44, 47, 0, 11, 5, "INT" ], [ 46, 4, 2, 17, 1, "VAE" ] ], "nodes": [ { "id": 15, "pos": [ 275.7593716647332, 667.5821631843008 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 16, "inputs": [ { "link": 19, "name": "clip", "type": "CLIP" }, { "link": 21, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 23 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "Victorian man, London, (sharp focus:1.2), extremely detailed, (photorealistic:1.4), (RAW image, 8k high resolution:1.2), RAW candid cinema, 16mm, color graded Portra 400 film, ultra realistic, cinematic film still, subsurface scattering, ray tracing, (volumetric lighting)" ] }, { "id": 16, "pos": [ 275.7593716647332, 757.5821631843007 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 17, "inputs": [ { "link": 20, "name": "clip", "type": "CLIP" }, { "link": 22, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 24 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 14, "pos": [ 0, 230 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#322", "flags": {}, "order": 0, "title": "Negative Prompt (Text)", "bgcolor": "#533", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 18, 22 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 37, "pos": [ 390.7699487304686, -222.63156538085923 ], "mode": 0, "size": { "0": 330, "1": 140 }, "type": "Note", "color": "#323", "flags": {}, "order": 1, "title": "Note - Load Checkpoint REFINER", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Refiner SDXL model\n\nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations." ] }, { "id": 38, "pos": [ 9, 429 ], "mode": 0, "size": { "0": 284.3257141113281, "1": 123.88604736328125 }, "type": "Note", "color": "#323", "flags": {}, "order": 2, "title": "Note - Text Prompts", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes are where you include the text for:\n - what you want in the picture (Positive Prompt, Green)\n - or what you don't want in the picture (Negative Prompt, Red)\n\nThis node type is called a \"PrimitiveNode\" if you are searching for the node type." ] }, { "id": 17, "pos": [ 854.9474981722423, 130.28335640899812 ], "mode": 0, "size": { "0": 200, "1": 50 }, "type": "VAEDecode", "color": "#332922", "flags": {}, "order": 22, "inputs": [ { "link": 25, "name": "samples", "type": "LATENT" }, { "link": 46, "name": "vae", "type": "VAE" } ], "bgcolor": "#593930", "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 28 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 41, "pos": [ 794.9474981722423, 230.28335640899817 ], "mode": 0, "size": { "0": 320, "1": 120 }, "type": "Note", "color": "#332922", "flags": {}, "order": 3, "title": "Note - VAE Decoder", "bgcolor": "#593930", "properties": { "text": "" }, "widgets_values": [ "This node will take the latent data from the KSampler and, using the VAE, it will decode it into visible data\n\nVAE = Latent --> Visible\n\nThis can then be sent to the Save Image node to be saved as a PNG." ] }, { "id": 42, "pos": [ 370.9816719852805, 174.85043653634958 ], "mode": 0, "size": { "0": 260, "1": 210 }, "type": "Note", "color": "#323", "flags": {}, "order": 4, "title": "Note - Empty Latent Image", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This node sets the image's resolution in Width and Height.\n\nNOTE: For SDXL, it is recommended to use trained 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" ] }, { "id": 43, "pos": [ 261.64906289062463, 859.3716520507812 ], "mode": 0, "size": { "0": 240, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 5, "title": "Note - CLIP Encode (REFINER)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Refiner)" ] }, { "id": 6, "pos": [ -6.777983882626609, 667.9484536162162 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 18, "inputs": [ { "link": 3, "name": "clip", "type": "CLIP" }, { "link": 16, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 11 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "Victorian man, London, (sharp focus:1.2), extremely detailed, (photorealistic:1.4), (RAW image, 8k high resolution:1.2), RAW candid cinema, 16mm, color graded Portra 400 film, ultra realistic, cinematic film still, subsurface scattering, ray tracing, (volumetric lighting)" ] }, { "id": 7, "pos": [ -6.777983882626609, 757.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 19, "inputs": [ { "link": 5, "name": "clip", "type": "CLIP" }, { "link": 18, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 12 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 39, "pos": [ -6.777983882626609, 847.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 6, "title": "Note - CLIP Encode (BASE)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Base)" ] }, { "id": 40, "pos": [ 777, -434 ], "mode": 0, "size": { "0": 451.5049743652344, "1": 424.4164123535156 }, "type": "Note", "color": "#432", "flags": {}, "order": 7, "title": "Note - KSampler ADVANCED General Information", "bgcolor": "#653", "properties": { "text": "" }, "widgets_values": [ "Here are the settings that SHOULD stay in place if you want this workflow to work correctly:\n - add_noise: enable = This adds random noise into the picture so the model can denoise it\n\n - return_with_leftover_noise: enable = This sends the latent image data and all it's leftover noise to the next KSampler node.\n\nThe settings to pay attention to:\n - control_after_generate = generates a new random seed after each workflow job completed.\n - steps = This is the amount of iterations you would like to run the positive and negative CLIP prompts through. Each Step will add (positive) or remove (negative) pixels based on what stable diffusion \"thinks\" should be there according to the model's training\n - cfg = This is how much you want SDXL to adhere to the prompt. Lower CFG gives you more creative but often blurrier results. Higher CFG (recommended max 10) gives you stricter results according to the CLIP prompt. If the CFG value is too high, it can also result in \"burn-in\" where the edges of the picture become even stronger, often highlighting details in unnatural ways.\n - sampler_name = This is the sampler type, and unfortunately different samplers and schedulers have better results with fewer steps, while others have better success with higher steps. This will require experimentation on your part!\n - scheduler = The algorithm/method used to choose the timesteps to denoise the picture.\n - start_at_step = This is the step number the KSampler will start out it's process of de-noising the picture or \"removing the random noise to reveal the picture within\". The first KSampler usually starts with Step 0. Starting at step 0 is the same as setting denoise to 1.0 in the regular Sampler node.\n - end_at_step = This is the step number the KSampler will stop it's process of de-noising the picture. If there is any remaining leftover noise and return_with_leftover_noise is enabled, then it will pass on the left over noise to the next KSampler (assuming there is another one)." ] }, { "id": 10, "pos": [ 827, 561 ], "mode": 0, "size": { "0": 300, "1": 334 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 20, "title": "KSampler (Advanced) - BASE", "inputs": [ { "link": 10, "name": "model", "type": "MODEL" }, { "link": 11, "name": "positive", "type": "CONDITIONING" }, { "link": 12, "name": "negative", "type": "CONDITIONING" }, { "link": 27, "name": "latent_image", "type": "LATENT" }, { "link": 41, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 43, "name": "end_at_step", "type": "INT", "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 5 } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 13 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "enable", 1976467086839, "randomize", 50, 8, "euler", "normal", 0, 25, "enable" ] }, { "id": 11, "pos": [ 1136, 563 ], "mode": 0, "size": { "0": 300, "1": 340 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 21, "title": "KSampler (Advanced) - REFINER", "inputs": [ { "link": 14, "name": "model", "type": "MODEL", "slot_index": 0 }, { "link": 23, "name": "positive", "type": "CONDITIONING" }, { "link": 24, "name": "negative", "type": "CONDITIONING" }, { "link": 13, "name": "latent_image", "type": "LATENT" }, { "link": 38, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 44, "name": "start_at_step", "type": "INT", "widget": { "name": "start_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 0 } ] } } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 25 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "disable", 0, "fixed", 50, 8, "euler", "normal", 25, 10000, "disable" ] }, { "id": 47, "pos": [ 581, 686 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 8, "title": "end_at_step", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 43, 44 ], "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ 25, "fixed" ] }, { "id": 36, "pos": [ 2, -233 ], "mode": 0, "size": { "0": 315.70074462890625, "1": 147.9551239013672 }, "type": "Note", "color": "#323", "flags": {}, "order": 9, "title": "Note - Load Checkpoint BASE", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Base SDXL model\n - This node is also used for SD1.5 and SD2.x models\n \nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations" ] }, { "id": 45, "pos": [ 579, 565 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 10, "title": "steps", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 38, 41 ], "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] } } ], "properties": {}, "widgets_values": [ 50, "fixed" ] }, { "id": 13, "pos": [ 0, 30 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#232", "flags": {}, "order": 11, "title": "Positive Prompt (Text)", "bgcolor": "#353", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 16, 21 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "Victorian man, London, (sharp focus:1.2), extremely detailed, (photorealistic:1.4), (RAW image, 8k high resolution:1.2), RAW candid cinema, 16mm, color graded Portra 400 film, ultra realistic, cinematic film still, subsurface scattering, ray tracing, (volumetric lighting)" ] }, { "id": 12, "pos": [ 380.7699487304686, -373.6315653808593 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 12, "title": "Load Checkpoint - REFINER", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 14 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 19, 20 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_refiner_1.0_0.9vae.safetensors" ] }, { "id": 48, "pos": [ -17, -554 ], "mode": 0, "size": { "0": 315, "1": 58 }, "type": "VAELoader", "flags": {}, "order": 13, "outputs": [ { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "sdXLVAE_09.safetensors" ] }, { "id": 4, "pos": [ -8.020796957397433, -382.63156538085923 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 14, "title": "Load Checkpoint - BASE", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 10 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 3, 5 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 46 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_base_1.0_0.9vae.safetensors" ] }, { "id": 5, "pos": [ 350.98167198528, 24.85043653634971 ], "mode": 0, "size": { "0": 300, "1": 110 }, "type": "EmptyLatentImage", "color": "#323", "flags": {}, "order": 15, "bgcolor": "#535", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 27 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 896, 1152, 1 ] }, { "id": 19, "pos": [ 1253, -433 ], "mode": 0, "size": { "0": 867.0028076171875, "1": 913.7769775390625 }, "type": "SaveImage", "flags": {}, "order": 23, "inputs": [ { "link": 28, "name": "images", "type": "IMAGE" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] } ], "config": {}, "groups": [ { "color": "#3f789e", "title": "Base Prompt", "bounding": [ -27, 587, 252, 361 ] }, { "color": "#3f789e", "title": "Refiner Prompt", "bounding": [ 239, 588, 279, 362 ] }, { "color": "#3f789e", "title": "Text Prompts", "bounding": [ -20, -53, 339, 622 ] }, { "color": "#a1309b", "title": "Load in BASE SDXL Model", "bounding": [ -18, -463, 369, 399 ] }, { "color": "#a1309b", "title": "Load in REFINER SDXL Model", "bounding": [ 362, -463, 391, 400 ] }, { "color": "#a1309b", "title": "Empty Latent Image", "bounding": [ 330, -49, 339, 443 ] }, { "color": "#b06634", "title": "VAE Decoder", "bounding": [ 777, 51, 360, 350 ] } ], "version": 0.4, "last_link_id": 46, "last_node_id": 48 } }, "steps": 50, "width": 896, "height": 1152, "models": [ "sd_xl_base_1.0_0.9vae.safetensors", "sd_xl_refiner_1.0_0.9vae.safetensors" ], "prompt": "Victorian man, London, (sharp focus:1.2), extremely detailed, (photorealistic:1.4), (RAW image, 8k high resolution:1.2), RAW candid cinema, 16mm, color graded Portra 400 film, ultra realistic, cinematic film still, subsurface scattering, ray tracing, (volumetric lighting)", "sampler": "Euler", "cfgScale": 8, "scheduler": "normal", "upscalers": [], "controlNets": [], "negativePrompt": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera", "additionalResources": [] } }, { "url": "https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/214985aa-fe49-4ab6-b2d7-6c3d4ce5fd1d/width=450/1777448.jpeg", "nsfw": "None", "width": 896, "height": 1152, "hash": "U48WgP}q0fE*^PE20zEjEL%1xaaeI:=w=xw]", "type": "image", "metadata": { "hash": "U48WgP}q0fE*^PE20zEjEL%1xaaeI:=w=xw]", "width": 896, "height": 1152 }, "meta": { "vaes": [ "sdXLVAE_09.safetensors" ], "Model": "sd_xl_base_1.0_0.9vae", "comfy": { "prompt": { "4": { "inputs": { "ckpt_name": "sd_xl_base_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "5": { "inputs": { "width": 896, "height": 1152, "batch_size": 1 }, "class_type": "EmptyLatentImage" }, "6": { "inputs": { "clip": [ "4", 1 ], "text": "closeup of woman wearing gothic clothes, braided pigtails, in a castle, sharp focus, looking at the night time, Mystical atmosphere, cinematic" }, "class_type": "CLIPTextEncode" }, "7": { "inputs": { "clip": [ "4", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "10": { "inputs": { "cfg": 8, "model": [ "4", 0 ], "steps": 50, "negative": [ "7", 0 ], "positive": [ "6", 0 ], "add_noise": "enable", "scheduler": "normal", "noise_seed": 62944071016371, "end_at_step": 25, "latent_image": [ "5", 0 ], "sampler_name": "euler", "start_at_step": 0, "return_with_leftover_noise": "enable" }, "class_type": "KSamplerAdvanced" }, "11": { "inputs": { "cfg": 8, "model": [ "12", 0 ], "steps": 50, "negative": [ "16", 0 ], "positive": [ "15", 0 ], "add_noise": "disable", "scheduler": "normal", "noise_seed": 0, "end_at_step": 10000, "latent_image": [ "10", 0 ], "sampler_name": "euler", "start_at_step": 25, "return_with_leftover_noise": "disable" }, "class_type": "KSamplerAdvanced" }, "12": { "inputs": { "ckpt_name": "sd_xl_refiner_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "15": { "inputs": { "clip": [ "12", 1 ], "text": "closeup of woman wearing gothic clothes, braided pigtails, in a castle, sharp focus, looking at the night time, Mystical atmosphere, cinematic" }, "class_type": "CLIPTextEncode" }, "16": { "inputs": { "clip": [ "12", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "17": { "inputs": { "vae": [ "4", 2 ], "samples": [ "11", 0 ] }, "class_type": "VAEDecode" }, "19": { "inputs": { "images": [ "17", 0 ], "filename_prefix": "ComfyUI" }, "class_type": "SaveImage" }, "48": { "inputs": { "vae_name": "sdXLVAE_09.safetensors" }, "class_type": "VAELoader" } }, "workflow": { "extra": {}, "links": [ [ 3, 4, 1, 6, 0, "CLIP" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 10, 4, 0, 10, 0, "MODEL" ], [ 11, 6, 0, 10, 1, "CONDITIONING" ], [ 12, 7, 0, 10, 2, "CONDITIONING" ], [ 13, 10, 0, 11, 3, "LATENT" ], [ 14, 12, 0, 11, 0, "MODEL" ], [ 16, 13, 0, 6, 1, "STRING" ], [ 18, 14, 0, 7, 1, "STRING" ], [ 19, 12, 1, 15, 0, "CLIP" ], [ 20, 12, 1, 16, 0, "CLIP" ], [ 21, 13, 0, 15, 1, "STRING" ], [ 22, 14, 0, 16, 1, "STRING" ], [ 23, 15, 0, 11, 1, "CONDITIONING" ], [ 24, 16, 0, 11, 2, "CONDITIONING" ], [ 25, 11, 0, 17, 0, "LATENT" ], [ 27, 5, 0, 10, 3, "LATENT" ], [ 28, 17, 0, 19, 0, "IMAGE" ], [ 38, 45, 0, 11, 4, "INT" ], [ 41, 45, 0, 10, 4, "INT" ], [ 43, 47, 0, 10, 5, "INT" ], [ 44, 47, 0, 11, 5, "INT" ], [ 46, 4, 2, 17, 1, "VAE" ] ], "nodes": [ { "id": 15, "pos": [ 275.7593716647332, 667.5821631843008 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 16, "inputs": [ { "link": 19, "name": "clip", "type": "CLIP" }, { "link": 21, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 23 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "magic, magical power, sharp focus, masterpiece, best quality, full body, (dark forest:1.2), by lee jeffries nikon d850 film stock photograph 4 kodak portra 400 camera f1.6 lens rich colors hyper realistic lifelike texture dramatic lighting unrealengine trending on artstation cinestill 800" ] }, { "id": 16, "pos": [ 275.7593716647332, 757.5821631843007 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 17, "inputs": [ { "link": 20, "name": "clip", "type": "CLIP" }, { "link": 22, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 24 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 14, "pos": [ 0, 230 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#322", "flags": {}, "order": 0, "title": "Negative Prompt (Text)", "bgcolor": "#533", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 18, 22 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 37, "pos": [ 390.7699487304686, -222.63156538085923 ], "mode": 0, "size": { "0": 330, "1": 140 }, "type": "Note", "color": "#323", "flags": {}, "order": 1, "title": "Note - Load Checkpoint REFINER", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Refiner SDXL model\n\nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations." ] }, { "id": 38, "pos": [ 9, 429 ], "mode": 0, "size": { "0": 284.3257141113281, "1": 123.88604736328125 }, "type": "Note", "color": "#323", "flags": {}, "order": 2, "title": "Note - Text Prompts", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes are where you include the text for:\n - what you want in the picture (Positive Prompt, Green)\n - or what you don't want in the picture (Negative Prompt, Red)\n\nThis node type is called a \"PrimitiveNode\" if you are searching for the node type." ] }, { "id": 17, "pos": [ 854.9474981722423, 130.28335640899812 ], "mode": 0, "size": { "0": 200, "1": 50 }, "type": "VAEDecode", "color": "#332922", "flags": {}, "order": 22, "inputs": [ { "link": 25, "name": "samples", "type": "LATENT" }, { "link": 46, "name": "vae", "type": "VAE" } ], "bgcolor": "#593930", "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 28 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 41, "pos": [ 794.9474981722423, 230.28335640899817 ], "mode": 0, "size": { "0": 320, "1": 120 }, "type": "Note", "color": "#332922", "flags": {}, "order": 3, "title": "Note - VAE Decoder", "bgcolor": "#593930", "properties": { "text": "" }, "widgets_values": [ "This node will take the latent data from the KSampler and, using the VAE, it will decode it into visible data\n\nVAE = Latent --> Visible\n\nThis can then be sent to the Save Image node to be saved as a PNG." ] }, { "id": 42, "pos": [ 370.9816719852805, 174.85043653634958 ], "mode": 0, "size": { "0": 260, "1": 210 }, "type": "Note", "color": "#323", "flags": {}, "order": 4, "title": "Note - Empty Latent Image", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This node sets the image's resolution in Width and Height.\n\nNOTE: For SDXL, it is recommended to use trained 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" ] }, { "id": 43, "pos": [ 261.64906289062463, 859.3716520507812 ], "mode": 0, "size": { "0": 240, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 5, "title": "Note - CLIP Encode (REFINER)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Refiner)" ] }, { "id": 6, "pos": [ -6.777983882626609, 667.9484536162162 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 18, "inputs": [ { "link": 3, "name": "clip", "type": "CLIP" }, { "link": 16, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 11 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "magic, magical power, sharp focus, masterpiece, best quality, full body, (dark forest:1.2), by lee jeffries nikon d850 film stock photograph 4 kodak portra 400 camera f1.6 lens rich colors hyper realistic lifelike texture dramatic lighting unrealengine trending on artstation cinestill 800" ] }, { "id": 7, "pos": [ -6.777983882626609, 757.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 19, "inputs": [ { "link": 5, "name": "clip", "type": "CLIP" }, { "link": 18, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 12 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 39, "pos": [ -6.777983882626609, 847.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 6, "title": "Note - CLIP Encode (BASE)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Base)" ] }, { "id": 40, "pos": [ 777, -434 ], "mode": 0, "size": { "0": 451.5049743652344, "1": 424.4164123535156 }, "type": "Note", "color": "#432", "flags": {}, "order": 7, "title": "Note - KSampler ADVANCED General Information", "bgcolor": "#653", "properties": { "text": "" }, "widgets_values": [ "Here are the settings that SHOULD stay in place if you want this workflow to work correctly:\n - add_noise: enable = This adds random noise into the picture so the model can denoise it\n\n - return_with_leftover_noise: enable = This sends the latent image data and all it's leftover noise to the next KSampler node.\n\nThe settings to pay attention to:\n - control_after_generate = generates a new random seed after each workflow job completed.\n - steps = This is the amount of iterations you would like to run the positive and negative CLIP prompts through. Each Step will add (positive) or remove (negative) pixels based on what stable diffusion \"thinks\" should be there according to the model's training\n - cfg = This is how much you want SDXL to adhere to the prompt. Lower CFG gives you more creative but often blurrier results. Higher CFG (recommended max 10) gives you stricter results according to the CLIP prompt. If the CFG value is too high, it can also result in \"burn-in\" where the edges of the picture become even stronger, often highlighting details in unnatural ways.\n - sampler_name = This is the sampler type, and unfortunately different samplers and schedulers have better results with fewer steps, while others have better success with higher steps. This will require experimentation on your part!\n - scheduler = The algorithm/method used to choose the timesteps to denoise the picture.\n - start_at_step = This is the step number the KSampler will start out it's process of de-noising the picture or \"removing the random noise to reveal the picture within\". The first KSampler usually starts with Step 0. Starting at step 0 is the same as setting denoise to 1.0 in the regular Sampler node.\n - end_at_step = This is the step number the KSampler will stop it's process of de-noising the picture. If there is any remaining leftover noise and return_with_leftover_noise is enabled, then it will pass on the left over noise to the next KSampler (assuming there is another one)." ] }, { "id": 10, "pos": [ 827, 561 ], "mode": 0, "size": { "0": 300, "1": 334 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 20, "title": "KSampler (Advanced) - BASE", "inputs": [ { "link": 10, "name": "model", "type": "MODEL" }, { "link": 11, "name": "positive", "type": "CONDITIONING" }, { "link": 12, "name": "negative", "type": "CONDITIONING" }, { "link": 27, "name": "latent_image", "type": "LATENT" }, { "link": 41, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 43, "name": "end_at_step", "type": "INT", "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 5 } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 13 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "enable", 62944071016371, "randomize", 50, 8, "euler", "normal", 0, 25, "enable" ] }, { "id": 11, "pos": [ 1136, 563 ], "mode": 0, "size": { "0": 300, "1": 340 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 21, "title": "KSampler (Advanced) - REFINER", "inputs": [ { "link": 14, "name": "model", "type": "MODEL", "slot_index": 0 }, { "link": 23, "name": "positive", "type": "CONDITIONING" }, { "link": 24, "name": "negative", "type": "CONDITIONING" }, { "link": 13, "name": "latent_image", "type": "LATENT" }, { "link": 38, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 44, "name": "start_at_step", "type": "INT", "widget": { "name": "start_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 0 } ] } } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 25 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "disable", 0, "fixed", 50, 8, "euler", "normal", 25, 10000, "disable" ] }, { "id": 47, "pos": [ 581, 686 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 8, "title": "end_at_step", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 43, 44 ], "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ 25, "fixed" ] }, { "id": 36, "pos": [ 2, -233 ], "mode": 0, "size": { "0": 315.70074462890625, "1": 147.9551239013672 }, "type": "Note", "color": "#323", "flags": {}, "order": 9, "title": "Note - Load Checkpoint BASE", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Base SDXL model\n - This node is also used for SD1.5 and SD2.x models\n \nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations" ] }, { "id": 45, "pos": [ 579, 565 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 10, "title": "steps", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 38, 41 ], "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] } } ], "properties": {}, "widgets_values": [ 50, "fixed" ] }, { "id": 13, "pos": [ 0, 30 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#232", "flags": {}, "order": 11, "title": "Positive Prompt (Text)", "bgcolor": "#353", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 16, 21 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "closeup of woman wearing gothic clothes, braided pigtails, in a castle, sharp focus, looking at the night time, Mystical atmosphere, cinematic" ] }, { "id": 12, "pos": [ 380.7699487304686, -373.6315653808593 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 12, "title": "Load Checkpoint - REFINER", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 14 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 19, 20 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_refiner_1.0_0.9vae.safetensors" ] }, { "id": 48, "pos": [ -17, -554 ], "mode": 0, "size": { "0": 315, "1": 58 }, "type": "VAELoader", "flags": {}, "order": 13, "outputs": [ { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "sdXLVAE_09.safetensors" ] }, { "id": 4, "pos": [ -8.020796957397433, -382.63156538085923 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 14, "title": "Load Checkpoint - BASE", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 10 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 3, 5 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 46 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_base_1.0_0.9vae.safetensors" ] }, { "id": 5, "pos": [ 350.98167198528, 24.85043653634971 ], "mode": 0, "size": { "0": 300, "1": 110 }, "type": "EmptyLatentImage", "color": "#323", "flags": {}, "order": 15, "bgcolor": "#535", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 27 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 896, 1152, 1 ] }, { "id": 19, "pos": [ 1253, -433 ], "mode": 0, "size": { "0": 867.0028076171875, "1": 913.7769775390625 }, "type": "SaveImage", "flags": {}, "order": 23, "inputs": [ { "link": 28, "name": "images", "type": "IMAGE" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] } ], "config": {}, "groups": [ { "color": "#3f789e", "title": "Base Prompt", "bounding": [ -27, 587, 252, 361 ] }, { "color": "#3f789e", "title": "Refiner Prompt", "bounding": [ 239, 588, 279, 362 ] }, { "color": "#3f789e", "title": "Text Prompts", "bounding": [ -20, -53, 339, 622 ] }, { "color": "#a1309b", "title": "Load in BASE SDXL Model", "bounding": [ -18, -463, 369, 399 ] }, { "color": "#a1309b", "title": "Load in REFINER SDXL Model", "bounding": [ 362, -463, 391, 400 ] }, { "color": "#a1309b", "title": "Empty Latent Image", "bounding": [ 330, -49, 339, 443 ] }, { "color": "#b06634", "title": "VAE Decoder", "bounding": [ 777, 51, 360, 350 ] } ], "version": 0.4, "last_link_id": 46, "last_node_id": 48 } }, "steps": 50, "width": 896, "height": 1152, "models": [ "sd_xl_base_1.0_0.9vae.safetensors", "sd_xl_refiner_1.0_0.9vae.safetensors" ], "prompt": "closeup of woman wearing gothic clothes, braided pigtails, in a castle, sharp focus, looking at the night time, Mystical atmosphere, cinematic", "sampler": "Euler", "cfgScale": 8, "scheduler": "normal", "upscalers": [], "controlNets": [], "negativePrompt": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera", "additionalResources": [] } }, { "url": "https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/7b714205-111c-4987-be9d-c959d0e34535/width=450/1777449.jpeg", "nsfw": "None", "width": 896, "height": 1152, "hash": "UPB::F%#9FRQ_4%MIoRkPBtls;M{9]Rl$%t6", "type": "image", "metadata": { "hash": "UPB::F%#9FRQ_4%MIoRkPBtls;M{9]Rl$%t6", "width": 896, "height": 1152 }, "meta": { "vaes": [ "sdXLVAE_09.safetensors" ], "Model": "sd_xl_base_1.0_0.9vae", "comfy": { "prompt": { "4": { "inputs": { "ckpt_name": "sd_xl_base_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "5": { "inputs": { "width": 896, "height": 1152, "batch_size": 1 }, "class_type": "EmptyLatentImage" }, "6": { "inputs": { "clip": [ "4", 1 ], "text": "\"Cinematic still, filmed by Alfonso Cuar\\u00f3n, wide-shot, a creature adorned with luminescent feathers that cascade like a vibrant waterfall, their iridescent glow casting an enchanting shimmer upon the surroundings, mythical creature had stepped into our world, exuding an aura of otherworldly beauty and intrigue" }, "class_type": "CLIPTextEncode" }, "7": { "inputs": { "clip": [ "4", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "10": { "inputs": { "cfg": 8, "model": [ "4", 0 ], "steps": 50, "negative": [ "7", 0 ], "positive": [ "6", 0 ], "add_noise": "enable", "scheduler": "normal", "noise_seed": 725803095679294, "end_at_step": 25, "latent_image": [ "5", 0 ], "sampler_name": "euler", "start_at_step": 0, "return_with_leftover_noise": "enable" }, "class_type": "KSamplerAdvanced" }, "11": { "inputs": { "cfg": 8, "model": [ "12", 0 ], "steps": 50, "negative": [ "16", 0 ], "positive": [ "15", 0 ], "add_noise": "disable", "scheduler": "normal", "noise_seed": 0, "end_at_step": 10000, "latent_image": [ "10", 0 ], "sampler_name": "euler", "start_at_step": 25, "return_with_leftover_noise": "disable" }, "class_type": "KSamplerAdvanced" }, "12": { "inputs": { "ckpt_name": "sd_xl_refiner_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "15": { "inputs": { "clip": [ "12", 1 ], "text": "\"Cinematic still, filmed by Alfonso Cuar\\u00f3n, wide-shot, a creature adorned with luminescent feathers that cascade like a vibrant waterfall, their iridescent glow casting an enchanting shimmer upon the surroundings, mythical creature had stepped into our world, exuding an aura of otherworldly beauty and intrigue" }, "class_type": "CLIPTextEncode" }, "16": { "inputs": { "clip": [ "12", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "17": { "inputs": { "vae": [ "4", 2 ], "samples": [ "11", 0 ] }, "class_type": "VAEDecode" }, "19": { "inputs": { "images": [ "17", 0 ], "filename_prefix": "ComfyUI" }, "class_type": "SaveImage" }, "48": { "inputs": { "vae_name": "sdXLVAE_09.safetensors" }, "class_type": "VAELoader" } }, "workflow": { "extra": {}, "links": [ [ 3, 4, 1, 6, 0, "CLIP" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 10, 4, 0, 10, 0, "MODEL" ], [ 11, 6, 0, 10, 1, "CONDITIONING" ], [ 12, 7, 0, 10, 2, "CONDITIONING" ], [ 13, 10, 0, 11, 3, "LATENT" ], [ 14, 12, 0, 11, 0, "MODEL" ], [ 16, 13, 0, 6, 1, "STRING" ], [ 18, 14, 0, 7, 1, "STRING" ], [ 19, 12, 1, 15, 0, "CLIP" ], [ 20, 12, 1, 16, 0, "CLIP" ], [ 21, 13, 0, 15, 1, "STRING" ], [ 22, 14, 0, 16, 1, "STRING" ], [ 23, 15, 0, 11, 1, "CONDITIONING" ], [ 24, 16, 0, 11, 2, "CONDITIONING" ], [ 25, 11, 0, 17, 0, "LATENT" ], [ 27, 5, 0, 10, 3, "LATENT" ], [ 28, 17, 0, 19, 0, "IMAGE" ], [ 38, 45, 0, 11, 4, "INT" ], [ 41, 45, 0, 10, 4, "INT" ], [ 43, 47, 0, 10, 5, "INT" ], [ 44, 47, 0, 11, 5, "INT" ], [ 46, 4, 2, 17, 1, "VAE" ] ], "nodes": [ { "id": 15, "pos": [ 275.7593716647332, 667.5821631843008 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 16, "inputs": [ { "link": 19, "name": "clip", "type": "CLIP" }, { "link": 21, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 23 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "\"Cinematic still, filmed by Alfonso Cuar\\u00f3n, wide-shot, a creature adorned with luminescent feathers that cascade like a vibrant waterfall, their iridescent glow casting an enchanting shimmer upon the surroundings, mythical creature had stepped into our world, exuding an aura of otherworldly beauty and intrigue" ] }, { "id": 16, "pos": [ 275.7593716647332, 757.5821631843007 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 17, "inputs": [ { "link": 20, "name": "clip", "type": "CLIP" }, { "link": 22, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 24 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 14, "pos": [ 0, 230 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#322", "flags": {}, "order": 0, "title": "Negative Prompt (Text)", "bgcolor": "#533", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 18, 22 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 37, "pos": [ 390.7699487304686, -222.63156538085923 ], "mode": 0, "size": { "0": 330, "1": 140 }, "type": "Note", "color": "#323", "flags": {}, "order": 1, "title": "Note - Load Checkpoint REFINER", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Refiner SDXL model\n\nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations." ] }, { "id": 38, "pos": [ 9, 429 ], "mode": 0, "size": { "0": 284.3257141113281, "1": 123.88604736328125 }, "type": "Note", "color": "#323", "flags": {}, "order": 2, "title": "Note - Text Prompts", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes are where you include the text for:\n - what you want in the picture (Positive Prompt, Green)\n - or what you don't want in the picture (Negative Prompt, Red)\n\nThis node type is called a \"PrimitiveNode\" if you are searching for the node type." ] }, { "id": 17, "pos": [ 854.9474981722423, 130.28335640899812 ], "mode": 0, "size": { "0": 200, "1": 50 }, "type": "VAEDecode", "color": "#332922", "flags": {}, "order": 22, "inputs": [ { "link": 25, "name": "samples", "type": "LATENT" }, { "link": 46, "name": "vae", "type": "VAE" } ], "bgcolor": "#593930", "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 28 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 41, "pos": [ 794.9474981722423, 230.28335640899817 ], "mode": 0, "size": { "0": 320, "1": 120 }, "type": "Note", "color": "#332922", "flags": {}, "order": 3, "title": "Note - VAE Decoder", "bgcolor": "#593930", "properties": { "text": "" }, "widgets_values": [ "This node will take the latent data from the KSampler and, using the VAE, it will decode it into visible data\n\nVAE = Latent --> Visible\n\nThis can then be sent to the Save Image node to be saved as a PNG." ] }, { "id": 42, "pos": [ 370.9816719852805, 174.85043653634958 ], "mode": 0, "size": { "0": 260, "1": 210 }, "type": "Note", "color": "#323", "flags": {}, "order": 4, "title": "Note - Empty Latent Image", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This node sets the image's resolution in Width and Height.\n\nNOTE: For SDXL, it is recommended to use trained 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" ] }, { "id": 43, "pos": [ 261.64906289062463, 859.3716520507812 ], "mode": 0, "size": { "0": 240, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 5, "title": "Note - CLIP Encode (REFINER)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Refiner)" ] }, { "id": 6, "pos": [ -6.777983882626609, 667.9484536162162 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 18, "inputs": [ { "link": 3, "name": "clip", "type": "CLIP" }, { "link": 16, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 11 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "\"Cinematic still, filmed by Alfonso Cuar\\u00f3n, wide-shot, a creature adorned with luminescent feathers that cascade like a vibrant waterfall, their iridescent glow casting an enchanting shimmer upon the surroundings, mythical creature had stepped into our world, exuding an aura of otherworldly beauty and intrigue" ] }, { "id": 7, "pos": [ -6.777983882626609, 757.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 19, "inputs": [ { "link": 5, "name": "clip", "type": "CLIP" }, { "link": 18, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 12 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 39, "pos": [ -6.777983882626609, 847.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 6, "title": "Note - CLIP Encode (BASE)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Base)" ] }, { "id": 40, "pos": [ 777, -434 ], "mode": 0, "size": { "0": 451.5049743652344, "1": 424.4164123535156 }, "type": "Note", "color": "#432", "flags": {}, "order": 7, "title": "Note - KSampler ADVANCED General Information", "bgcolor": "#653", "properties": { "text": "" }, "widgets_values": [ "Here are the settings that SHOULD stay in place if you want this workflow to work correctly:\n - add_noise: enable = This adds random noise into the picture so the model can denoise it\n\n - return_with_leftover_noise: enable = This sends the latent image data and all it's leftover noise to the next KSampler node.\n\nThe settings to pay attention to:\n - control_after_generate = generates a new random seed after each workflow job completed.\n - steps = This is the amount of iterations you would like to run the positive and negative CLIP prompts through. Each Step will add (positive) or remove (negative) pixels based on what stable diffusion \"thinks\" should be there according to the model's training\n - cfg = This is how much you want SDXL to adhere to the prompt. Lower CFG gives you more creative but often blurrier results. Higher CFG (recommended max 10) gives you stricter results according to the CLIP prompt. If the CFG value is too high, it can also result in \"burn-in\" where the edges of the picture become even stronger, often highlighting details in unnatural ways.\n - sampler_name = This is the sampler type, and unfortunately different samplers and schedulers have better results with fewer steps, while others have better success with higher steps. This will require experimentation on your part!\n - scheduler = The algorithm/method used to choose the timesteps to denoise the picture.\n - start_at_step = This is the step number the KSampler will start out it's process of de-noising the picture or \"removing the random noise to reveal the picture within\". The first KSampler usually starts with Step 0. Starting at step 0 is the same as setting denoise to 1.0 in the regular Sampler node.\n - end_at_step = This is the step number the KSampler will stop it's process of de-noising the picture. If there is any remaining leftover noise and return_with_leftover_noise is enabled, then it will pass on the left over noise to the next KSampler (assuming there is another one)." ] }, { "id": 10, "pos": [ 827, 561 ], "mode": 0, "size": { "0": 300, "1": 334 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 20, "title": "KSampler (Advanced) - BASE", "inputs": [ { "link": 10, "name": "model", "type": "MODEL" }, { "link": 11, "name": "positive", "type": "CONDITIONING" }, { "link": 12, "name": "negative", "type": "CONDITIONING" }, { "link": 27, "name": "latent_image", "type": "LATENT" }, { "link": 41, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 43, "name": "end_at_step", "type": "INT", "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 5 } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 13 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "enable", 725803095679294, "randomize", 50, 8, "euler", "normal", 0, 25, "enable" ] }, { "id": 11, "pos": [ 1136, 563 ], "mode": 0, "size": { "0": 300, "1": 340 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 21, "title": "KSampler (Advanced) - REFINER", "inputs": [ { "link": 14, "name": "model", "type": "MODEL", "slot_index": 0 }, { "link": 23, "name": "positive", "type": "CONDITIONING" }, { "link": 24, "name": "negative", "type": "CONDITIONING" }, { "link": 13, "name": "latent_image", "type": "LATENT" }, { "link": 38, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 44, "name": "start_at_step", "type": "INT", "widget": { "name": "start_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 0 } ] } } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 25 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "disable", 0, "fixed", 50, 8, "euler", "normal", 25, 10000, "disable" ] }, { "id": 47, "pos": [ 581, 686 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 8, "title": "end_at_step", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 43, 44 ], "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ 25, "fixed" ] }, { "id": 36, "pos": [ 2, -233 ], "mode": 0, "size": { "0": 315.70074462890625, "1": 147.9551239013672 }, "type": "Note", "color": "#323", "flags": {}, "order": 9, "title": "Note - Load Checkpoint BASE", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Base SDXL model\n - This node is also used for SD1.5 and SD2.x models\n \nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations" ] }, { "id": 45, "pos": [ 579, 565 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 10, "title": "steps", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 38, 41 ], "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] } } ], "properties": {}, "widgets_values": [ 50, "fixed" ] }, { "id": 13, "pos": [ 0, 30 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#232", "flags": {}, "order": 11, "title": "Positive Prompt (Text)", "bgcolor": "#353", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 16, 21 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "\"Cinematic still, filmed by Alfonso Cuar\\u00f3n, wide-shot, a creature adorned with luminescent feathers that cascade like a vibrant waterfall, their iridescent glow casting an enchanting shimmer upon the surroundings, mythical creature had stepped into our world, exuding an aura of otherworldly beauty and intrigue" ] }, { "id": 12, "pos": [ 380.7699487304686, -373.6315653808593 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 12, "title": "Load Checkpoint - REFINER", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 14 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 19, 20 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_refiner_1.0_0.9vae.safetensors" ] }, { "id": 48, "pos": [ -17, -554 ], "mode": 0, "size": { "0": 315, "1": 58 }, "type": "VAELoader", "flags": {}, "order": 13, "outputs": [ { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "sdXLVAE_09.safetensors" ] }, { "id": 4, "pos": [ -8.020796957397433, -382.63156538085923 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 14, "title": "Load Checkpoint - BASE", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 10 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 3, 5 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 46 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_base_1.0_0.9vae.safetensors" ] }, { "id": 5, "pos": [ 350.98167198528, 24.85043653634971 ], "mode": 0, "size": { "0": 300, "1": 110 }, "type": "EmptyLatentImage", "color": "#323", "flags": {}, "order": 15, "bgcolor": "#535", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 27 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 896, 1152, 1 ] }, { "id": 19, "pos": [ 1253, -433 ], "mode": 0, "size": { "0": 867.0028076171875, "1": 913.7769775390625 }, "type": "SaveImage", "flags": {}, "order": 23, "inputs": [ { "link": 28, "name": "images", "type": "IMAGE" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] } ], "config": {}, "groups": [ { "color": "#3f789e", "title": "Base Prompt", "bounding": [ -27, 587, 252, 361 ] }, { "color": "#3f789e", "title": "Refiner Prompt", "bounding": [ 239, 588, 279, 362 ] }, { "color": "#3f789e", "title": "Text Prompts", "bounding": [ -20, -53, 339, 622 ] }, { "color": "#a1309b", "title": "Load in BASE SDXL Model", "bounding": [ -18, -463, 369, 399 ] }, { "color": "#a1309b", "title": "Load in REFINER SDXL Model", "bounding": [ 362, -463, 391, 400 ] }, { "color": "#a1309b", "title": "Empty Latent Image", "bounding": [ 330, -49, 339, 443 ] }, { "color": "#b06634", "title": "VAE Decoder", "bounding": [ 777, 51, 360, 350 ] } ], "version": 0.4, "last_link_id": 46, "last_node_id": 48 } }, "steps": 50, "width": 896, "height": 1152, "models": [ "sd_xl_base_1.0_0.9vae.safetensors", "sd_xl_refiner_1.0_0.9vae.safetensors" ], "prompt": "\"Cinematic still, filmed by Alfonso Cuar\\u00f3n, wide-shot, a creature adorned with luminescent feathers that cascade like a vibrant waterfall, their iridescent glow casting an enchanting shimmer upon the surroundings, mythical creature had stepped into our world, exuding an aura of otherworldly beauty and intrigue", "sampler": "Euler", "cfgScale": 8, "scheduler": "normal", "upscalers": [], "controlNets": [], "negativePrompt": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera", "additionalResources": [] } }, { "url": "https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/58930429-f1d9-455d-813b-39902e10ba05/width=450/1777483.jpeg", "nsfw": "None", "width": 896, "height": 1152, "hash": "U78qKit5zUv1UH?cL}QlFyxurDVDTKIpxFxZ", "type": "image", "metadata": { "hash": "U78qKit5zUv1UH?cL}QlFyxurDVDTKIpxFxZ", "width": 896, "height": 1152 }, "meta": { "vaes": [ "sdXLVAE_09.safetensors" ], "Model": "sd_xl_base_1.0_0.9vae", "comfy": { "prompt": { "4": { "inputs": { "ckpt_name": "sd_xl_base_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "5": { "inputs": { "width": 896, "height": 1152, "batch_size": 1 }, "class_type": "EmptyLatentImage" }, "6": { "inputs": { "clip": [ "4", 1 ], "text": "\"cinematic still, medium shot on ARRI Alexa 35, a lone hooded figure using chaos magic, low-key color grading, hyper-realistic pop, cyberpunk, Chicago 2087" }, "class_type": "CLIPTextEncode" }, "7": { "inputs": { "clip": [ "4", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "10": { "inputs": { "cfg": 8, "model": [ "4", 0 ], "steps": 50, "negative": [ "7", 0 ], "positive": [ "6", 0 ], "add_noise": "enable", "scheduler": "normal", "noise_seed": 544848292323662, "end_at_step": 25, "latent_image": [ "5", 0 ], "sampler_name": "euler", "start_at_step": 0, "return_with_leftover_noise": "enable" }, "class_type": "KSamplerAdvanced" }, "11": { "inputs": { "cfg": 8, "model": [ "12", 0 ], "steps": 50, "negative": [ "16", 0 ], "positive": [ "15", 0 ], "add_noise": "disable", "scheduler": "normal", "noise_seed": 0, "end_at_step": 10000, "latent_image": [ "10", 0 ], "sampler_name": "euler", "start_at_step": 25, "return_with_leftover_noise": "disable" }, "class_type": "KSamplerAdvanced" }, "12": { "inputs": { "ckpt_name": "sd_xl_refiner_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "15": { "inputs": { "clip": [ "12", 1 ], "text": "\"cinematic still, medium shot on ARRI Alexa 35, a lone hooded figure using chaos magic, low-key color grading, hyper-realistic pop, cyberpunk, Chicago 2087" }, "class_type": "CLIPTextEncode" }, "16": { "inputs": { "clip": [ "12", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "17": { "inputs": { "vae": [ "4", 2 ], "samples": [ "11", 0 ] }, "class_type": "VAEDecode" }, "19": { "inputs": { "images": [ "17", 0 ], "filename_prefix": "ComfyUI" }, "class_type": "SaveImage" }, "48": { "inputs": { "vae_name": "sdXLVAE_09.safetensors" }, "class_type": "VAELoader" } }, "workflow": { "extra": {}, "links": [ [ 3, 4, 1, 6, 0, "CLIP" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 10, 4, 0, 10, 0, "MODEL" ], [ 11, 6, 0, 10, 1, "CONDITIONING" ], [ 12, 7, 0, 10, 2, "CONDITIONING" ], [ 13, 10, 0, 11, 3, "LATENT" ], [ 14, 12, 0, 11, 0, "MODEL" ], [ 16, 13, 0, 6, 1, "STRING" ], [ 18, 14, 0, 7, 1, "STRING" ], [ 19, 12, 1, 15, 0, "CLIP" ], [ 20, 12, 1, 16, 0, "CLIP" ], [ 21, 13, 0, 15, 1, "STRING" ], [ 22, 14, 0, 16, 1, "STRING" ], [ 23, 15, 0, 11, 1, "CONDITIONING" ], [ 24, 16, 0, 11, 2, "CONDITIONING" ], [ 25, 11, 0, 17, 0, "LATENT" ], [ 27, 5, 0, 10, 3, "LATENT" ], [ 28, 17, 0, 19, 0, "IMAGE" ], [ 38, 45, 0, 11, 4, "INT" ], [ 41, 45, 0, 10, 4, "INT" ], [ 43, 47, 0, 10, 5, "INT" ], [ 44, 47, 0, 11, 5, "INT" ], [ 46, 4, 2, 17, 1, "VAE" ] ], "nodes": [ { "id": 15, "pos": [ 275.7593716647332, 667.5821631843008 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 16, "inputs": [ { "link": 19, "name": "clip", "type": "CLIP" }, { "link": 21, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 23 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "\"cinematic still, medium shot on ARRI Alexa 35, a lone hooded figure using chaos magic, low-key color grading, hyper-realistic pop, cyberpunk, Chicago 2087" ] }, { "id": 16, "pos": [ 275.7593716647332, 757.5821631843007 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 17, "inputs": [ { "link": 20, "name": "clip", "type": "CLIP" }, { "link": 22, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 24 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 14, "pos": [ 0, 230 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#322", "flags": {}, "order": 0, "title": "Negative Prompt (Text)", "bgcolor": "#533", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 18, 22 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 37, "pos": [ 390.7699487304686, -222.63156538085923 ], "mode": 0, "size": { "0": 330, "1": 140 }, "type": "Note", "color": "#323", "flags": {}, "order": 1, "title": "Note - Load Checkpoint REFINER", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Refiner SDXL model\n\nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations." ] }, { "id": 38, "pos": [ 9, 429 ], "mode": 0, "size": { "0": 284.3257141113281, "1": 123.88604736328125 }, "type": "Note", "color": "#323", "flags": {}, "order": 2, "title": "Note - Text Prompts", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes are where you include the text for:\n - what you want in the picture (Positive Prompt, Green)\n - or what you don't want in the picture (Negative Prompt, Red)\n\nThis node type is called a \"PrimitiveNode\" if you are searching for the node type." ] }, { "id": 17, "pos": [ 854.9474981722423, 130.28335640899812 ], "mode": 0, "size": { "0": 200, "1": 50 }, "type": "VAEDecode", "color": "#332922", "flags": {}, "order": 22, "inputs": [ { "link": 25, "name": "samples", "type": "LATENT" }, { "link": 46, "name": "vae", "type": "VAE" } ], "bgcolor": "#593930", "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 28 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 41, "pos": [ 794.9474981722423, 230.28335640899817 ], "mode": 0, "size": { "0": 320, "1": 120 }, "type": "Note", "color": "#332922", "flags": {}, "order": 3, "title": "Note - VAE Decoder", "bgcolor": "#593930", "properties": { "text": "" }, "widgets_values": [ "This node will take the latent data from the KSampler and, using the VAE, it will decode it into visible data\n\nVAE = Latent --> Visible\n\nThis can then be sent to the Save Image node to be saved as a PNG." ] }, { "id": 42, "pos": [ 370.9816719852805, 174.85043653634958 ], "mode": 0, "size": { "0": 260, "1": 210 }, "type": "Note", "color": "#323", "flags": {}, "order": 4, "title": "Note - Empty Latent Image", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This node sets the image's resolution in Width and Height.\n\nNOTE: For SDXL, it is recommended to use trained 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" ] }, { "id": 43, "pos": [ 261.64906289062463, 859.3716520507812 ], "mode": 0, "size": { "0": 240, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 5, "title": "Note - CLIP Encode (REFINER)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Refiner)" ] }, { "id": 6, "pos": [ -6.777983882626609, 667.9484536162162 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 18, "inputs": [ { "link": 3, "name": "clip", "type": "CLIP" }, { "link": 16, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 11 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "\"cinematic still, medium shot on ARRI Alexa 35, a lone hooded figure using chaos magic, low-key color grading, hyper-realistic pop, cyberpunk, Chicago 2087" ] }, { "id": 7, "pos": [ -6.777983882626609, 757.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 19, "inputs": [ { "link": 5, "name": "clip", "type": "CLIP" }, { "link": 18, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 12 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 39, "pos": [ -6.777983882626609, 847.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 6, "title": "Note - CLIP Encode (BASE)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Base)" ] }, { "id": 40, "pos": [ 777, -434 ], "mode": 0, "size": { "0": 451.5049743652344, "1": 424.4164123535156 }, "type": "Note", "color": "#432", "flags": {}, "order": 7, "title": "Note - KSampler ADVANCED General Information", "bgcolor": "#653", "properties": { "text": "" }, "widgets_values": [ "Here are the settings that SHOULD stay in place if you want this workflow to work correctly:\n - add_noise: enable = This adds random noise into the picture so the model can denoise it\n\n - return_with_leftover_noise: enable = This sends the latent image data and all it's leftover noise to the next KSampler node.\n\nThe settings to pay attention to:\n - control_after_generate = generates a new random seed after each workflow job completed.\n - steps = This is the amount of iterations you would like to run the positive and negative CLIP prompts through. Each Step will add (positive) or remove (negative) pixels based on what stable diffusion \"thinks\" should be there according to the model's training\n - cfg = This is how much you want SDXL to adhere to the prompt. Lower CFG gives you more creative but often blurrier results. Higher CFG (recommended max 10) gives you stricter results according to the CLIP prompt. If the CFG value is too high, it can also result in \"burn-in\" where the edges of the picture become even stronger, often highlighting details in unnatural ways.\n - sampler_name = This is the sampler type, and unfortunately different samplers and schedulers have better results with fewer steps, while others have better success with higher steps. This will require experimentation on your part!\n - scheduler = The algorithm/method used to choose the timesteps to denoise the picture.\n - start_at_step = This is the step number the KSampler will start out it's process of de-noising the picture or \"removing the random noise to reveal the picture within\". The first KSampler usually starts with Step 0. Starting at step 0 is the same as setting denoise to 1.0 in the regular Sampler node.\n - end_at_step = This is the step number the KSampler will stop it's process of de-noising the picture. If there is any remaining leftover noise and return_with_leftover_noise is enabled, then it will pass on the left over noise to the next KSampler (assuming there is another one)." ] }, { "id": 10, "pos": [ 827, 561 ], "mode": 0, "size": { "0": 300, "1": 334 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 20, "title": "KSampler (Advanced) - BASE", "inputs": [ { "link": 10, "name": "model", "type": "MODEL" }, { "link": 11, "name": "positive", "type": "CONDITIONING" }, { "link": 12, "name": "negative", "type": "CONDITIONING" }, { "link": 27, "name": "latent_image", "type": "LATENT" }, { "link": 41, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 43, "name": "end_at_step", "type": "INT", "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 5 } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 13 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "enable", 544848292323662, "randomize", 50, 8, "euler", "normal", 0, 25, "enable" ] }, { "id": 11, "pos": [ 1136, 563 ], "mode": 0, "size": { "0": 300, "1": 340 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 21, "title": "KSampler (Advanced) - REFINER", "inputs": [ { "link": 14, "name": "model", "type": "MODEL", "slot_index": 0 }, { "link": 23, "name": "positive", "type": "CONDITIONING" }, { "link": 24, "name": "negative", "type": "CONDITIONING" }, { "link": 13, "name": "latent_image", "type": "LATENT" }, { "link": 38, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 44, "name": "start_at_step", "type": "INT", "widget": { "name": "start_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 0 } ] } } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 25 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "disable", 0, "fixed", 50, 8, "euler", "normal", 25, 10000, "disable" ] }, { "id": 47, "pos": [ 581, 686 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 8, "title": "end_at_step", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 43, 44 ], "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ 25, "fixed" ] }, { "id": 36, "pos": [ 2, -233 ], "mode": 0, "size": { "0": 315.70074462890625, "1": 147.9551239013672 }, "type": "Note", "color": "#323", "flags": {}, "order": 9, "title": "Note - Load Checkpoint BASE", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Base SDXL model\n - This node is also used for SD1.5 and SD2.x models\n \nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations" ] }, { "id": 45, "pos": [ 579, 565 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 10, "title": "steps", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 38, 41 ], "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] } } ], "properties": {}, "widgets_values": [ 50, "fixed" ] }, { "id": 13, "pos": [ 0, 30 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#232", "flags": {}, "order": 11, "title": "Positive Prompt (Text)", "bgcolor": "#353", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 16, 21 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "\"cinematic still, medium shot on ARRI Alexa 35, a lone hooded figure using chaos magic, low-key color grading, hyper-realistic pop, cyberpunk, Chicago 2087" ] }, { "id": 12, "pos": [ 380.7699487304686, -373.6315653808593 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 12, "title": "Load Checkpoint - REFINER", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 14 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 19, 20 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_refiner_1.0_0.9vae.safetensors" ] }, { "id": 48, "pos": [ -17, -554 ], "mode": 0, "size": { "0": 315, "1": 58 }, "type": "VAELoader", "flags": {}, "order": 13, "outputs": [ { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "sdXLVAE_09.safetensors" ] }, { "id": 4, "pos": [ -8.020796957397433, -382.63156538085923 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 14, "title": "Load Checkpoint - BASE", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 10 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 3, 5 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 46 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_base_1.0_0.9vae.safetensors" ] }, { "id": 5, "pos": [ 350.98167198528, 24.85043653634971 ], "mode": 0, "size": { "0": 300, "1": 110 }, "type": "EmptyLatentImage", "color": "#323", "flags": {}, "order": 15, "bgcolor": "#535", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 27 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 896, 1152, 1 ] }, { "id": 19, "pos": [ 1253, -433 ], "mode": 0, "size": { "0": 867.0028076171875, "1": 913.7769775390625 }, "type": "SaveImage", "flags": {}, "order": 23, "inputs": [ { "link": 28, "name": "images", "type": "IMAGE" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] } ], "config": {}, "groups": [ { "color": "#3f789e", "title": "Base Prompt", "bounding": [ -27, 587, 252, 361 ] }, { "color": "#3f789e", "title": "Refiner Prompt", "bounding": [ 239, 588, 279, 362 ] }, { "color": "#3f789e", "title": "Text Prompts", "bounding": [ -20, -53, 339, 622 ] }, { "color": "#a1309b", "title": "Load in BASE SDXL Model", "bounding": [ -18, -463, 369, 399 ] }, { "color": "#a1309b", "title": "Load in REFINER SDXL Model", "bounding": [ 362, -463, 391, 400 ] }, { "color": "#a1309b", "title": "Empty Latent Image", "bounding": [ 330, -49, 339, 443 ] }, { "color": "#b06634", "title": "VAE Decoder", "bounding": [ 777, 51, 360, 350 ] } ], "version": 0.4, "last_link_id": 46, "last_node_id": 48 } }, "steps": 50, "width": 896, "height": 1152, "models": [ "sd_xl_base_1.0_0.9vae.safetensors", "sd_xl_refiner_1.0_0.9vae.safetensors" ], "prompt": "\"cinematic still, medium shot on ARRI Alexa 35, a lone hooded figure using chaos magic, low-key color grading, hyper-realistic pop, cyberpunk, Chicago 2087", "sampler": "Euler", "cfgScale": 8, "scheduler": "normal", "upscalers": [], "controlNets": [], "negativePrompt": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera", "additionalResources": [] } }, { "url": "https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/3f0cec62-f60f-4c59-a9a1-35c6c106afa5/width=450/1777453.jpeg", "nsfw": "None", "width": 896, "height": 1152, "hash": "UVHmT7H@}[Sg=G#TM{xa.7D*Ors.t5K4WBkW", "type": "image", "metadata": { "hash": "UVHmT7H@}[Sg=G#TM{xa.7D*Ors.t5K4WBkW", "width": 896, "height": 1152 }, "meta": { "vaes": [ "sdXLVAE_09.safetensors" ], "Model": "sd_xl_base_1.0_0.9vae", "comfy": { "prompt": { "4": { "inputs": { "ckpt_name": "sd_xl_base_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "5": { "inputs": { "width": 896, "height": 1152, "batch_size": 1 }, "class_type": "EmptyLatentImage" }, "6": { "inputs": { "clip": [ "4", 1 ], "text": "Intricate dynamic action shot of cowboy in a shootout, cinematic Steve Henderson Fabian Perez Henry Asencio Jeremy Mann Marc Simonetti Fantasy, red dead redemption 2 atmosphere, cinematic, #photograph" }, "class_type": "CLIPTextEncode" }, "7": { "inputs": { "clip": [ "4", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "10": { "inputs": { "cfg": 8, "model": [ "4", 0 ], "steps": 50, "negative": [ "7", 0 ], "positive": [ "6", 0 ], "add_noise": "enable", "scheduler": "normal", "noise_seed": 1039242751680710, "end_at_step": 25, "latent_image": [ "5", 0 ], "sampler_name": "euler", "start_at_step": 0, "return_with_leftover_noise": "enable" }, "class_type": "KSamplerAdvanced" }, "11": { "inputs": { "cfg": 8, "model": [ "12", 0 ], "steps": 50, "negative": [ "16", 0 ], "positive": [ "15", 0 ], "add_noise": "disable", "scheduler": "normal", "noise_seed": 0, "end_at_step": 10000, "latent_image": [ "10", 0 ], "sampler_name": "euler", "start_at_step": 25, "return_with_leftover_noise": "disable" }, "class_type": "KSamplerAdvanced" }, "12": { "inputs": { "ckpt_name": "sd_xl_refiner_1.0_0.9vae.safetensors" }, "class_type": "CheckpointLoaderSimple" }, "15": { "inputs": { "clip": [ "12", 1 ], "text": "Intricate dynamic action shot of cowboy in a shootout, cinematic Steve Henderson Fabian Perez Henry Asencio Jeremy Mann Marc Simonetti Fantasy, red dead redemption 2 atmosphere, cinematic, #photograph" }, "class_type": "CLIPTextEncode" }, "16": { "inputs": { "clip": [ "12", 1 ], "text": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" }, "class_type": "CLIPTextEncode" }, "17": { "inputs": { "vae": [ "4", 2 ], "samples": [ "11", 0 ] }, "class_type": "VAEDecode" }, "19": { "inputs": { "images": [ "17", 0 ], "filename_prefix": "ComfyUI" }, "class_type": "SaveImage" }, "48": { "inputs": { "vae_name": "sdXLVAE_09.safetensors" }, "class_type": "VAELoader" } }, "workflow": { "extra": {}, "links": [ [ 3, 4, 1, 6, 0, "CLIP" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 10, 4, 0, 10, 0, "MODEL" ], [ 11, 6, 0, 10, 1, "CONDITIONING" ], [ 12, 7, 0, 10, 2, "CONDITIONING" ], [ 13, 10, 0, 11, 3, "LATENT" ], [ 14, 12, 0, 11, 0, "MODEL" ], [ 16, 13, 0, 6, 1, "STRING" ], [ 18, 14, 0, 7, 1, "STRING" ], [ 19, 12, 1, 15, 0, "CLIP" ], [ 20, 12, 1, 16, 0, "CLIP" ], [ 21, 13, 0, 15, 1, "STRING" ], [ 22, 14, 0, 16, 1, "STRING" ], [ 23, 15, 0, 11, 1, "CONDITIONING" ], [ 24, 16, 0, 11, 2, "CONDITIONING" ], [ 25, 11, 0, 17, 0, "LATENT" ], [ 27, 5, 0, 10, 3, "LATENT" ], [ 28, 17, 0, 19, 0, "IMAGE" ], [ 38, 45, 0, 11, 4, "INT" ], [ 41, 45, 0, 10, 4, "INT" ], [ 43, 47, 0, 10, 5, "INT" ], [ 44, 47, 0, 11, 5, "INT" ], [ 46, 4, 2, 17, 1, "VAE" ] ], "nodes": [ { "id": 15, "pos": [ 275.7593716647332, 667.5821631843008 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 16, "inputs": [ { "link": 19, "name": "clip", "type": "CLIP" }, { "link": 21, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 23 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "\"Cinematic still, filmed by Alfonso Cuar\\u00f3n, wide-shot, a creature adorned with luminescent feathers that cascade like a vibrant waterfall, their iridescent glow casting an enchanting shimmer upon the surroundings, mythical creature had stepped into our world, exuding an aura of otherworldly beauty and intrigue" ] }, { "id": 16, "pos": [ 275.7593716647332, 757.5821631843007 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 17, "inputs": [ { "link": 20, "name": "clip", "type": "CLIP" }, { "link": 22, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 24 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 14, "pos": [ 0, 230 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#322", "flags": {}, "order": 0, "title": "Negative Prompt (Text)", "bgcolor": "#533", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 18, 22 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 37, "pos": [ 390.7699487304686, -222.63156538085923 ], "mode": 0, "size": { "0": 330, "1": 140 }, "type": "Note", "color": "#323", "flags": {}, "order": 1, "title": "Note - Load Checkpoint REFINER", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Refiner SDXL model\n\nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations." ] }, { "id": 38, "pos": [ 9, 429 ], "mode": 0, "size": { "0": 284.3257141113281, "1": 123.88604736328125 }, "type": "Note", "color": "#323", "flags": {}, "order": 2, "title": "Note - Text Prompts", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes are where you include the text for:\n - what you want in the picture (Positive Prompt, Green)\n - or what you don't want in the picture (Negative Prompt, Red)\n\nThis node type is called a \"PrimitiveNode\" if you are searching for the node type." ] }, { "id": 17, "pos": [ 854.9474981722423, 130.28335640899812 ], "mode": 0, "size": { "0": 200, "1": 50 }, "type": "VAEDecode", "color": "#332922", "flags": {}, "order": 22, "inputs": [ { "link": 25, "name": "samples", "type": "LATENT" }, { "link": 46, "name": "vae", "type": "VAE" } ], "bgcolor": "#593930", "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 28 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 41, "pos": [ 794.9474981722423, 230.28335640899817 ], "mode": 0, "size": { "0": 320, "1": 120 }, "type": "Note", "color": "#332922", "flags": {}, "order": 3, "title": "Note - VAE Decoder", "bgcolor": "#593930", "properties": { "text": "" }, "widgets_values": [ "This node will take the latent data from the KSampler and, using the VAE, it will decode it into visible data\n\nVAE = Latent --> Visible\n\nThis can then be sent to the Save Image node to be saved as a PNG." ] }, { "id": 42, "pos": [ 370.9816719852805, 174.85043653634958 ], "mode": 0, "size": { "0": 260, "1": 210 }, "type": "Note", "color": "#323", "flags": {}, "order": 4, "title": "Note - Empty Latent Image", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This node sets the image's resolution in Width and Height.\n\nNOTE: For SDXL, it is recommended to use trained 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" ] }, { "id": 43, "pos": [ 261.64906289062463, 859.3716520507812 ], "mode": 0, "size": { "0": 240, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 5, "title": "Note - CLIP Encode (REFINER)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Refiner)" ] }, { "id": 6, "pos": [ -6.777983882626609, 667.9484536162162 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#232", "flags": {}, "order": 18, "inputs": [ { "link": 3, "name": "clip", "type": "CLIP" }, { "link": 16, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#353", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 11 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "\"Cinematic still, filmed by Alfonso Cuar\\u00f3n, wide-shot, a creature adorned with luminescent feathers that cascade like a vibrant waterfall, their iridescent glow casting an enchanting shimmer upon the surroundings, mythical creature had stepped into our world, exuding an aura of otherworldly beauty and intrigue" ] }, { "id": 7, "pos": [ -6.777983882626609, 757.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 54 }, "type": "CLIPTextEncode", "color": "#322", "flags": {}, "order": 19, "inputs": [ { "link": 5, "name": "clip", "type": "CLIP" }, { "link": 18, "name": "text", "type": "STRING", "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 1 } ], "bgcolor": "#533", "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 12 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera" ] }, { "id": 39, "pos": [ -6.777983882626609, 847.9484536162164 ], "mode": 0, "size": { "0": 210, "1": 80 }, "type": "Note", "color": "#323", "flags": {}, "order": 6, "title": "Note - CLIP Encode (BASE)", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "These nodes receive the text from the prompt and use the optimal CLIP settings for the specified checkpoint model (in this case: SDXL Base)" ] }, { "id": 40, "pos": [ 777, -434 ], "mode": 0, "size": { "0": 451.5049743652344, "1": 424.4164123535156 }, "type": "Note", "color": "#432", "flags": {}, "order": 7, "title": "Note - KSampler ADVANCED General Information", "bgcolor": "#653", "properties": { "text": "" }, "widgets_values": [ "Here are the settings that SHOULD stay in place if you want this workflow to work correctly:\n - add_noise: enable = This adds random noise into the picture so the model can denoise it\n\n - return_with_leftover_noise: enable = This sends the latent image data and all it's leftover noise to the next KSampler node.\n\nThe settings to pay attention to:\n - control_after_generate = generates a new random seed after each workflow job completed.\n - steps = This is the amount of iterations you would like to run the positive and negative CLIP prompts through. Each Step will add (positive) or remove (negative) pixels based on what stable diffusion \"thinks\" should be there according to the model's training\n - cfg = This is how much you want SDXL to adhere to the prompt. Lower CFG gives you more creative but often blurrier results. Higher CFG (recommended max 10) gives you stricter results according to the CLIP prompt. If the CFG value is too high, it can also result in \"burn-in\" where the edges of the picture become even stronger, often highlighting details in unnatural ways.\n - sampler_name = This is the sampler type, and unfortunately different samplers and schedulers have better results with fewer steps, while others have better success with higher steps. This will require experimentation on your part!\n - scheduler = The algorithm/method used to choose the timesteps to denoise the picture.\n - start_at_step = This is the step number the KSampler will start out it's process of de-noising the picture or \"removing the random noise to reveal the picture within\". The first KSampler usually starts with Step 0. Starting at step 0 is the same as setting denoise to 1.0 in the regular Sampler node.\n - end_at_step = This is the step number the KSampler will stop it's process of de-noising the picture. If there is any remaining leftover noise and return_with_leftover_noise is enabled, then it will pass on the left over noise to the next KSampler (assuming there is another one)." ] }, { "id": 10, "pos": [ 827, 561 ], "mode": 0, "size": { "0": 300, "1": 334 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 20, "title": "KSampler (Advanced) - BASE", "inputs": [ { "link": 10, "name": "model", "type": "MODEL" }, { "link": 11, "name": "positive", "type": "CONDITIONING" }, { "link": 12, "name": "negative", "type": "CONDITIONING" }, { "link": 27, "name": "latent_image", "type": "LATENT" }, { "link": 41, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 43, "name": "end_at_step", "type": "INT", "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 5 } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 13 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "enable", 1039242751680710, "randomize", 50, 8, "euler", "normal", 0, 25, "enable" ] }, { "id": 11, "pos": [ 1136, 563 ], "mode": 0, "size": { "0": 300, "1": 340 }, "type": "KSamplerAdvanced", "color": "#223", "flags": {}, "order": 21, "title": "KSampler (Advanced) - REFINER", "inputs": [ { "link": 14, "name": "model", "type": "MODEL", "slot_index": 0 }, { "link": 23, "name": "positive", "type": "CONDITIONING" }, { "link": 24, "name": "negative", "type": "CONDITIONING" }, { "link": 13, "name": "latent_image", "type": "LATENT" }, { "link": 38, "name": "steps", "type": "INT", "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] }, "slot_index": 4 }, { "link": 44, "name": "start_at_step", "type": "INT", "widget": { "name": "start_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 0 } ] } } ], "bgcolor": "#335", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 25 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSamplerAdvanced" }, "widgets_values": [ "disable", 0, "fixed", 50, 8, "euler", "normal", 25, 10000, "disable" ] }, { "id": 47, "pos": [ 581, 686 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 8, "title": "end_at_step", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 43, 44 ], "widget": { "name": "end_at_step", "config": [ "INT", { "max": 10000, "min": 0, "default": 10000 } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ 25, "fixed" ] }, { "id": 36, "pos": [ 2, -233 ], "mode": 0, "size": { "0": 315.70074462890625, "1": 147.9551239013672 }, "type": "Note", "color": "#323", "flags": {}, "order": 9, "title": "Note - Load Checkpoint BASE", "bgcolor": "#535", "properties": { "text": "" }, "widgets_values": [ "This is a checkpoint model loader. \n - This is set up automatically with the optimal settings for whatever SD model version you choose to use.\n - In this example, it is for the Base SDXL model\n - This node is also used for SD1.5 and SD2.x models\n \nNOTE: When loading in another person's workflow, be sure to manually choose your own *local* model. This also applies to LoRas and all their deviations" ] }, { "id": 45, "pos": [ 579, 565 ], "mode": 0, "size": { "0": 210, "1": 82 }, "type": "PrimitiveNode", "color": "#432", "flags": {}, "order": 10, "title": "steps", "bgcolor": "#653", "outputs": [ { "name": "INT", "type": "INT", "links": [ 38, 41 ], "widget": { "name": "steps", "config": [ "INT", { "max": 10000, "min": 1, "default": 20 } ] } } ], "properties": {}, "widgets_values": [ 50, "fixed" ] }, { "id": 13, "pos": [ 0, 30 ], "mode": 0, "size": { "0": 300, "1": 160 }, "type": "PrimitiveNode", "color": "#232", "flags": {}, "order": 11, "title": "Positive Prompt (Text)", "bgcolor": "#353", "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 16, 21 ], "widget": { "name": "text", "config": [ "STRING", { "multiline": true } ] }, "slot_index": 0 } ], "properties": {}, "widgets_values": [ "Intricate dynamic action shot of cowboy in a shootout, cinematic Steve Henderson Fabian Perez Henry Asencio Jeremy Mann Marc Simonetti Fantasy, red dead redemption 2 atmosphere, cinematic, #photograph" ] }, { "id": 12, "pos": [ 380.7699487304686, -373.6315653808593 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 12, "title": "Load Checkpoint - REFINER", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 14 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 19, 20 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_refiner_1.0_0.9vae.safetensors" ] }, { "id": 48, "pos": [ -17, -554 ], "mode": 0, "size": { "0": 315, "1": 58 }, "type": "VAELoader", "flags": {}, "order": 13, "outputs": [ { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "sdXLVAE_09.safetensors" ] }, { "id": 4, "pos": [ -8.020796957397433, -382.63156538085923 ], "mode": 0, "size": { "0": 350, "1": 100 }, "type": "CheckpointLoaderSimple", "color": "#323", "flags": {}, "order": 14, "title": "Load Checkpoint - BASE", "bgcolor": "#535", "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 10 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 3, 5 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 46 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd_xl_base_1.0_0.9vae.safetensors" ] }, { "id": 5, "pos": [ 350.98167198528, 24.85043653634971 ], "mode": 0, "size": { "0": 300, "1": 110 }, "type": "EmptyLatentImage", "color": "#323", "flags": {}, "order": 15, "bgcolor": "#535", "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 27 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 896, 1152, 1 ] }, { "id": 19, "pos": [ 1253, -433 ], "mode": 0, "size": { "0": 867.0028076171875, "1": 913.7769775390625 }, "type": "SaveImage", "flags": {}, "order": 23, "inputs": [ { "link": 28, "name": "images", "type": "IMAGE" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] } ], "config": {}, "groups": [ { "color": "#3f789e", "title": "Base Prompt", "bounding": [ -27, 587, 252, 361 ] }, { "color": "#3f789e", "title": "Refiner Prompt", "bounding": [ 239, 588, 279, 362 ] }, { "color": "#3f789e", "title": "Text Prompts", "bounding": [ -20, -53, 339, 622 ] }, { "color": "#a1309b", "title": "Load in BASE SDXL Model", "bounding": [ -18, -463, 369, 399 ] }, { "color": "#a1309b", "title": "Load in REFINER SDXL Model", "bounding": [ 362, -463, 391, 400 ] }, { "color": "#a1309b", "title": "Empty Latent Image", "bounding": [ 330, -49, 339, 443 ] }, { "color": "#b06634", "title": "VAE Decoder", "bounding": [ 777, 51, 360, 350 ] } ], "version": 0.4, "last_link_id": 46, "last_node_id": 48 } }, "steps": 50, "width": 896, "height": 1152, "models": [ "sd_xl_base_1.0_0.9vae.safetensors", "sd_xl_refiner_1.0_0.9vae.safetensors" ], "prompt": "Intricate dynamic action shot of cowboy in a shootout, cinematic Steve Henderson Fabian Perez Henry Asencio Jeremy Mann Marc Simonetti Fantasy, red dead redemption 2 atmosphere, cinematic, #photograph", "sampler": "Euler", "cfgScale": 8, "scheduler": "normal", "upscalers": [], "controlNets": [], "negativePrompt": "(deformed iris, deformed pupils), text, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, (extra fingers), (mutated hands), poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, (fused fingers), (too many fingers), long neck, camera", "additionalResources": [] } } ], "downloadUrl": "https://civitai.com/api/download/models/128078" }