{ "last_node_id": 80, "last_link_id": 195, "nodes": [ { "id": 69, "type": "workflow/Custom Flux Sampler", "pos": { "0": 717, "1": -164 }, "size": { "0": 355.20001220703125, "1": 186 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 172 }, { "name": "model", "type": "MODEL", "link": 173 }, { "name": "sampler", "type": "SAMPLER", "link": 178 }, { "name": "sigmas", "type": "SIGMAS", "link": 179 }, { "name": "latent_image", "type": "LATENT", "link": 177 } ], "outputs": [ { "name": "output", "type": "LATENT", "links": null, "shape": 3 }, { "name": "denoised_output", "type": "LATENT", "links": [ 171 ], "shape": 3 } ], "properties": { "Node name for S&R": "workflow/Custom Flux Sampler" }, "widgets_values": [ 624739570601769, "decrement", 3.5 ] }, { "id": 67, "type": "workflow/Upscale Image", "pos": { "0": 737, "1": 72 }, "size": { "0": 315, "1": 58 }, "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 169 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 167 ], "shape": 3 } ], "properties": { "Node name for S&R": "workflow/Upscale Image" }, "widgets_values": [ "4x_foolhardy_Remacri.pth" ] }, { "id": 72, "type": "workflow/Load PuLID, Eva and Insightface Models", "pos": { "0": -131, "1": 5 }, "size": { "0": 478.8000183105469, "1": 122 }, "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "EVA_CLIP", "type": "EVA_CLIP", "links": [ 183 ], "shape": 3 }, { "name": "FACEANALYSIS", "type": "FACEANALYSIS", "links": [ 184 ], "shape": 3 }, { "name": "PULIDFLUX", "type": "PULIDFLUX", "links": [ 185 ], "shape": 3 } ], "properties": { "Node name for S&R": "workflow/Load PuLID, Eva and Insightface Models" }, "widgets_values": [ "CUDA", "pulid_flux_v0.9.0.safetensors" ] }, { "id": 71, "type": "workflow/Load GGUF and DualClip Models", "pos": { "0": -40, "1": -202 }, "size": { "0": 365.4000244140625, "1": 150 }, "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 181 ], "shape": 3 }, { "name": "CLIP", "type": "CLIP", "links": [ 182 ], "shape": 3 } ], "properties": { "Node name for S&R": "workflow/Load GGUF and DualClip Models" }, "widgets_values": [ "flux1-dev-Q4_0.gguf", "t5xxl_fp8_e4m3fn.safetensors", "clip_l.safetensors", "flux" ] }, { "id": 57, "type": "ApplyPulidFlux", "pos": { "0": 372, "1": -228 }, "size": { "0": 315, "1": 326 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 161 }, { "name": "pulid_flux", "type": "PULIDFLUX", "link": 185 }, { "name": "eva_clip", "type": "EVA_CLIP", "link": 183 }, { "name": "face_analysis", "type": "FACEANALYSIS", "link": 184 }, { "name": "image", "type": "IMAGE", "link": 154 }, { "name": "attn_mask", "type": "MASK", "link": null } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 173, 180 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "ApplyPulidFlux" }, "widgets_values": [ 1, 0, 1, "mean", 1, 0, 3000, true ] }, { "id": 70, "type": "workflow/Custom Ksampler", "pos": { "0": 374, "1": 150 }, "size": { "0": 315, "1": 242 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 180 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 177 ], "shape": 3 }, { "name": "SAMPLER", "type": "SAMPLER", "links": [ 178 ], "shape": 3 }, { "name": "SIGMAS", "type": "SIGMAS", "links": [ 179 ], "shape": 3 } ], "properties": { "Node name for S&R": "workflow/Custom Ksampler" }, "widgets_values": [ 512, 768, 1, "euler", "simple", 15, 1 ] }, { "id": 68, "type": "workflow/Load and Decode VAE", "pos": { "0": 1078, "1": 71 }, "size": { "0": 315, "1": 58 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 171 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 169 ], "shape": 3 } ], "properties": { "Node name for S&R": "workflow/Load and Decode VAE" }, "widgets_values": [ "flux_vae.safetensors" ] }, { "id": 22, "type": "CLIPTextEncode", "pos": { "0": 376, "1": 442 }, "size": [ 306.2377469142125, 54.84247232504373 ], "flags": { "collapsed": false }, "order": 11, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 186 }, { "name": "text", "type": "STRING", "link": 190, "widget": { "name": "text" } } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 172 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "closeup portrait of a woman construction worker" ] }, { "id": 12, "type": "LoadImage", "pos": { "0": -68, "1": 345 }, "size": { "0": 404.07366943359375, "1": 496.2817077636719 }, "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 154 ], "slot_index": 0, "shape": 3 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "sarah2face.jpg", "image" ] }, { "id": 80, "type": "ShowText|pysssss", "pos": { "0": 718, "1": 995 }, "size": [ 596.621989205473, 113.13063170309522 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "text", "type": "STRING", "link": 193, "widget": { "name": "text" } } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": null, "shape": 6 } ], "title": "Gemini API Output(Cannot be edited)", "properties": { "Node name for S&R": "ShowText|pysssss" }, "widgets_values": [ "", "A stylish young woman, with flowing hair and bright eyes, joyfully takes a bite of a double-scoop ice cream cone, the setting sun casting a warm glow on her face. Focus on the texture of the melting ice cream and the joyful expression. \n" ], "color": "#232", "bgcolor": "#353" }, { "id": 55, "type": "SaveImage", "pos": { "0": 723, "1": 185 }, "size": { "0": 639.85302734375, "1": 602.8834838867188 }, "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 167 } ], "outputs": [], "properties": { "Node name for S&R": "SaveImage" }, "widgets_values": [ "ComfyUI" ] }, { "id": 78, "type": "TextBox", "pos": { "0": -77, "1": 890 }, "size": [ 401.9148346400425, 96.64853294210934 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "text", "type": "STRING", "links": [ 192 ], "shape": 3, "slot_index": 0 } ], "title": "Positive Prompt", "properties": { "Node name for S&R": "TextBox" }, "widgets_values": [ "A woman in a bikini" ], "color": "#232", "bgcolor": "#353" }, { "id": 79, "type": "GeminiAPI", "pos": { "0": 349, "1": 939 }, "size": [ 357.49259685829406, 162.80461967381348 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": null } ], "outputs": [ { "name": "text", "type": "STRING", "links": [ 193, 194 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "GeminiAPI" }, "widgets_values": [ "Create a image prompt for a woman eating ice cream. Only respond with the image prompt and nothing else.", "gemini-1.5-pro-latest", false ] }, { "id": 62, "type": "LoraLoader", "pos": { "0": -4, "1": 173 }, "size": { "0": 315, "1": 126 }, "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 181 }, { "name": "clip", "type": "CLIP", "link": 182 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 161 ], "slot_index": 0, "shape": 3 }, { "name": "CLIP", "type": "CLIP", "links": [ 186 ], "slot_index": 1, "shape": 3 } ], "properties": { "Node name for S&R": "LoraLoader" }, "widgets_values": [ "fluxRealSkin-V2.safetensors", 1, 1 ] }, { "id": 76, "type": "Text Concatenate", "pos": { "0": 367, "1": 543 }, "size": [ 341.27295778051916, 142 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "text_a", "type": "STRING", "link": 192, "widget": { "name": "text_a" } }, { "name": "text_b", "type": "STRING", "link": 191, "widget": { "name": "text_b" } }, { "name": "text_c", "type": "STRING", "link": 194, "widget": { "name": "text_c" } }, { "name": "text_d", "type": "STRING", "link": null, "widget": { "name": "text_d" } } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 190 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "Text Concatenate" }, "widgets_values": [ ", ", "true", "", "", "", "" ] }, { "id": 75, "type": "ShowText|pysssss", "pos": { "0": 722, "1": 833 }, "size": [ 596.621989205473, 113.13063170309522 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "text", "type": "STRING", "link": 195, "widget": { "name": "text" } } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": null, "shape": 6 } ], "title": "Ollama API Output(Cannot be edited)", "properties": { "Node name for S&R": "ShowText|pysssss" }, "widgets_values": [ "", "A serene afternoon scene featuring a happy, smiling young woman with her hair tied up in a ponytail, sitting on a worn wooden bench overlooking a lush green garden. She is dressed in a bright sundress with white flowers, and has a few strategically-placed ice cream stains on the hem. Her hands are clasped together around a waffle cone filled with two scoops of creamy vanilla ice cream, topped with a cherry and sprinkles. The sun shines down upon her face, casting a warm glow over the entire scene, as a gentle breeze rustles the leaves of the surrounding plants." ], "color": "#232", "bgcolor": "#353" }, { "id": 73, "type": "OllamaAPI", "pos": { "0": 361, "1": 733 }, "size": [ 343.6088166002644, 152.20005301516903 ], "flags": {}, "order": 5, "mode": 4, "inputs": [ { "name": "image", "type": "IMAGE", "link": null } ], "outputs": [ { "name": "text", "type": "STRING", "links": [ 191, 195 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "OllamaAPI" }, "widgets_values": [ "Create a image prompt for a woman eating ice cream. Only respond with the image prompt and nothing else.", "llama3.2:latest", 0 ] } ], "links": [ [ 154, 12, 0, 57, 4, "IMAGE" ], [ 161, 62, 0, 57, 0, "MODEL" ], [ 167, 67, 0, 55, 0, "IMAGE" ], [ 169, 68, 0, 67, 0, "IMAGE" ], [ 171, 69, 1, 68, 0, "LATENT" ], [ 172, 22, 0, 69, 0, "CONDITIONING" ], [ 173, 57, 0, 69, 1, "MODEL" ], [ 177, 70, 0, 69, 4, "LATENT" ], [ 178, 70, 1, 69, 2, "SAMPLER" ], [ 179, 70, 2, 69, 3, "SIGMAS" ], [ 180, 57, 0, 70, 0, "MODEL" ], [ 181, 71, 0, 62, 0, "MODEL" ], [ 182, 71, 1, 62, 1, "CLIP" ], [ 183, 72, 0, 57, 2, "EVA_CLIP" ], [ 184, 72, 1, 57, 3, "FACEANALYSIS" ], [ 185, 72, 2, 57, 1, "PULIDFLUX" ], [ 186, 62, 1, 22, 0, "CLIP" ], [ 190, 76, 0, 22, 1, "STRING" ], [ 191, 73, 0, 76, 1, "STRING" ], [ 192, 78, 0, 76, 0, "STRING" ], [ 193, 79, 0, 80, 0, "STRING" ], [ 194, 79, 0, 76, 2, "STRING" ], [ 195, 73, 0, 75, 0, "STRING" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.6209213230591553, "offset": [ 392.9141069283936, -270.0304642618659 ] }, "groupNodes": { "Upscale Image": { "nodes": [ { "id": -1, "type": "UpscaleModelLoader", "pos": { "0": 1288, "1": -12 }, "size": { "0": 315, "1": 58 }, "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [ { "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "UpscaleModelLoader" }, "widgets_values": [ "4x_foolhardy_Remacri.pth" ], "index": 0 }, { "id": -1, "type": "ImageUpscaleWithModel", "pos": { "0": 1285, "1": 84 }, "size": { "0": 340.20001220703125, "1": 46 }, "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "upscale_model", "type": "UPSCALE_MODEL", "link": null }, { "name": "image", "type": "IMAGE", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageUpscaleWithModel" }, "index": 1 } ], "links": [ [ 0, 0, 1, 0, 63, "UPSCALE_MODEL" ], [ null, 0, 1, 1, 8, "IMAGE" ] ], "external": [ [ 1, 0, "IMAGE" ] ] }, "Load and Decode VAE": { "nodes": [ { "id": -1, "type": "VAELoader", "pos": { "0": 908, "1": 91 }, "size": { "0": 315, "1": 58 }, "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "flux_vae.safetensors" ], "index": 0 }, { "id": -1, "type": "VAEDecode", "pos": { "0": 1112, "1": 18 }, "size": { "0": 140, "1": 46 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": null }, { "name": "vae", "type": "VAE", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "index": 1 } ], "links": [ [ null, 1, 1, 0, 46, "LATENT" ], [ 0, 0, 1, 1, 61, "VAE" ] ], "external": [ [ 1, 0, "IMAGE" ] ] }, "Custom Flux Sampler": { "nodes": [ { "id": -1, "type": "RandomNoise", "pos": { "0": 761, "1": -310 }, "size": { "0": 315, "1": 82 }, "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "NOISE", "type": "NOISE", "links": [], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "RandomNoise" }, "widgets_values": [ 624739570601776, "decrement" ], "index": 0 }, { "id": -1, "type": "FluxGuidance", "pos": { "0": 749, "1": -188 }, "size": { "0": 317.4000244140625, "1": 58 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": null } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "FluxGuidance" }, "widgets_values": [ 3.5 ], "index": 1 }, { "id": -1, "type": "BasicGuider", "pos": { "0": 822, "1": -137 }, "size": { "0": 241.79998779296875, "1": 46 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": null }, { "name": "conditioning", "type": "CONDITIONING", "link": null } ], "outputs": [ { "name": "GUIDER", "type": "GUIDER", "links": [], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "BasicGuider" }, "index": 2 }, { "id": -1, "type": "SamplerCustomAdvanced", "pos": { "0": 711, "1": -74 }, "size": { "0": 355.20001220703125, "1": 106 }, "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "noise", "type": "NOISE", "link": null }, { "name": "guider", "type": "GUIDER", "link": null }, { "name": "sampler", "type": "SAMPLER", "link": null }, { "name": "sigmas", "type": "SIGMAS", "link": null }, { "name": "latent_image", "type": "LATENT", "link": null } ], "outputs": [ { "name": "output", "type": "LATENT", "links": null, "shape": 3 }, { "name": "denoised_output", "type": "LATENT", "links": [], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "SamplerCustomAdvanced" }, "index": 3 } ], "links": [ [ null, 0, 1, 0, 22, "CONDITIONING" ], [ null, 0, 2, 0, 57, "MODEL" ], [ 1, 0, 2, 1, 47, "CONDITIONING" ], [ 0, 0, 3, 0, 52, "NOISE" ], [ 2, 0, 3, 1, 48, "GUIDER" ], [ null, 0, 3, 2, 50, "SAMPLER" ], [ null, 0, 3, 3, 51, "SIGMAS" ], [ null, 0, 3, 4, 5, "LATENT" ] ], "external": [ [ 3, 1, "LATENT" ] ] }, "Custom Ksampler": { "nodes": [ { "id": -1, "type": "EmptyLatentImage", "pos": { "0": 367, "1": 434 }, "size": { "0": 315, "1": 106 }, "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 512, 768, 1 ], "index": 0 }, { "id": -1, "type": "KSamplerSelect", "pos": { "0": 371, "1": 166 }, "size": { "0": 315, "1": 58 }, "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "KSamplerSelect" }, "widgets_values": [ "euler" ], "index": 1 }, { "id": -1, "type": "BasicScheduler", "pos": { "0": 370, "1": 275 }, "size": { "0": 314.8738708496094, "1": 106 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": null } ], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "links": [], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "BasicScheduler" }, "widgets_values": [ "simple", 15, 1 ], "index": 2 } ], "links": [ [ null, 0, 2, 0, 57, "MODEL" ] ], "external": [ [ 0, 0, "LATENT" ], [ 1, 0, "SAMPLER" ], [ 2, 0, "SIGMAS" ] ] }, "Load GGUF and DualClip Models": { "nodes": [ { "id": -1, "type": "UnetLoaderGGUF", "pos": { "0": 9, "1": -235 }, "size": { "0": 315, "1": 58 }, "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "UnetLoaderGGUF" }, "widgets_values": [ "flux1-dev-Q4_0.gguf" ], "index": 0 }, { "id": -1, "type": "DualCLIPLoader", "pos": { "0": 9, "1": -135 }, "size": { "0": 315, "1": 106 }, "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "DualCLIPLoader" }, "widgets_values": [ "t5xxl_fp8_e4m3fn.safetensors", "clip_l.safetensors", "flux" ], "index": 1 } ], "links": [], "external": [ [ 0, 0, "MODEL" ], [ 1, 0, "CLIP" ] ] }, "Load PuLID, Eva and Insightface Models": { "nodes": [ { "id": -1, "type": "PulidEvaClipLoader", "pos": { "0": 81, "1": 109 }, "size": { "0": 212.55770874023438, "1": 31.574542999267578 }, "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "EVA_CLIP", "type": "EVA_CLIP", "links": [], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "PulidEvaClipLoader" }, "index": 0 }, { "id": -1, "type": "PulidInsightFaceLoader", "pos": { "0": 79, "1": 187 }, "size": { "0": 212.5350341796875, "1": 58 }, "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "FACEANALYSIS", "type": "FACEANALYSIS", "links": [], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "PulidInsightFaceLoader" }, "widgets_values": [ "CUDA" ], "index": 1 }, { "id": -1, "type": "PulidFluxModelLoader", "pos": { "0": 2, "1": 7 }, "size": { "0": 315, "1": 58 }, "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "PULIDFLUX", "type": "PULIDFLUX", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "PulidFluxModelLoader" }, "widgets_values": [ "pulid_flux_v0.9.0.safetensors" ], "index": 2 } ], "links": [], "external": [ [ 0, 0, "EVA_CLIP" ], [ 1, 0, "FACEANALYSIS" ], [ 2, 0, "PULIDFLUX" ] ] } } }, "version": 0.4 }