{ "id": "69654ef5-f128-4550-8136-4305f8fc00d9", "revision": 0, "last_node_id": 32, "last_link_id": 48, "nodes": [ { "id": 10, "type": "UITSampler", "pos": [ 80, 580 ], "size": [ 278.5999984741211, 414 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 33 }, { "name": "clip", "shape": 7, "type": "CLIP", "link": 11 }, { "name": "vae", "shape": 7, "type": "VAE", "link": 12 }, { "name": "input_image", "shape": 7, "type": "IMAGE", "link": null }, { "name": "reference_image1", "shape": 7, "type": "IMAGE", "link": null }, { "name": "reference_image2", "shape": 7, "type": "IMAGE", "link": null }, { "name": "positive_prompt", "shape": 7, "type": "STRING", "link": 13 }, { "name": "negative_prompt", "shape": 7, "type": "STRING", "link": null } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 28, 30, 34, 45, 47 ] }, { "name": "step_images", "type": "IMAGE", "links": null } ], "title": "1.3 · UIT Sampler", "properties": { "Node name for S&R": "UITSampler" }, "widgets_values": [ 2048, 2048, 1063170614706899, "fixed", 4, "euler", "simple", 50, 1, 6.5 ], "color": "#233", "bgcolor": "#355" }, { "id": 11, "type": "CheckpointLoaderSimple", "pos": [ 80, 120 ], "size": [ 270, 98 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 33 ] }, { "name": "CLIP", "type": "CLIP", "links": [ 11 ] }, { "name": "VAE", "type": "VAE", "links": [ 12 ] } ], "title": "1.1 · HiDream-O1 Model", "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "HiDream-O1-Image-bf16/model.safetensors" ], "color": "#233", "bgcolor": "#355" }, { "id": 12, "type": "PrimitiveStringMultiline", "pos": [ 80, 300 ], "size": [ 380, 200 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 13 ] } ], "title": "1.2 · Scene Prompt", "properties": { "Node name for S&R": "PrimitiveStringMultiline" }, "widgets_values": [ "A closeup of a pensive african tunisian trader with his trusted camel is getting ready to head to the market to sell his wares. cinematic." ], "color": "#233", "bgcolor": "#355" }, { "id": 16, "type": "VAELoader", "pos": [ 1010, 460 ], "size": [ 330, 108 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 23, 42 ] } ], "title": "2.6 · flux VAE", "properties": { "Node name for S&R": "VAELoader", "cnr_id": "comfy-core", "ver": "0.25.0" }, "widgets_values": [ "flux_vae.safetensors" ], "color": "#323", "bgcolor": "#535" }, { "id": 18, "type": "CLIPLoader", "pos": [ 620, 280 ], "size": [ 330, 140 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 19 ] } ], "title": "2.2 · qwen_3_4b (CLIP)", "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.25.0" }, "widgets_values": [ "qwen_3_4b.safetensors", "lumina2", "default" ], "color": "#323", "bgcolor": "#535" }, { "id": 19, "type": "UNETLoader", "pos": [ 620, 120 ], "size": [ 330, 108 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 18 ] } ], "title": "2.1 · Z-Image Turbo (UNET)", "properties": { "Node name for S&R": "UNETLoader", "cnr_id": "comfy-core", "ver": "0.25.0" }, "widgets_values": [ "z_image_turbo_bf16.safetensors", "default" ], "color": "#323", "bgcolor": "#535" }, { "id": 20, "type": "Power Lora Loader (rgthree)", "pos": [ 620, 480 ], "size": [ 340.4749923706055, 166 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "dir": 3, "name": "model", "type": "MODEL", "link": 18 }, { "dir": 3, "name": "clip", "type": "CLIP", "link": 19 } ], "outputs": [ { "dir": 4, "name": "MODEL", "shape": 3, "type": "MODEL", "links": [ 21, 40 ] }, { "dir": 4, "name": "CLIP", "shape": 3, "type": "CLIP", "links": [ 17, 20 ] } ], "title": "2.3 · Detail LoRAs", "properties": { "Show Strengths": "Single Strength", "Match": "" }, "widgets_values": [ {}, { "type": "PowerLoraLoaderHeaderWidget" }, { "on": true, "lora": "Z-Detail-Slider.safetensors", "strength": 0.1, "strengthTwo": null }, { "on": true, "lora": "ZIT-skin texture Photorealistic style v4.5.safetensors", "strength": 0.1, "strengthTwo": null }, {}, "" ], "color": "#323", "bgcolor": "#535" }, { "id": 21, "type": "CLIPTextEncode", "pos": [ 1010, 290 ], "size": [ 330, 116 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 20 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 22, 41 ] } ], "title": "2.5 · Negative Conditioning", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.25.0" }, "widgets_values": [ "" ], "color": "#322", "bgcolor": "#533" }, { "id": 27, "type": "ModelPatchLoader", "pos": [ 1010, 790 ], "size": [ 330, 108 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL_PATCH", "type": "MODEL_PATCH", "links": [ 36 ] } ], "title": "3.2 · ControlNet Union 2.1", "properties": { "Node name for S&R": "ModelPatchLoader", "cnr_id": "comfy-core" }, "widgets_values": [ "Z-Image-Turbo-Fun-Controlnet-Union-2.1-2602-8steps.safetensors" ], "color": "#332", "bgcolor": "#553" }, { "id": 28, "type": "ModelPatchLoader", "pos": [ 1010, 950 ], "size": [ 330, 108 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL_PATCH", "type": "MODEL_PATCH", "links": [ 44 ] } ], "title": "3.3 · ControlNet Tile 2.1", "properties": { "Node name for S&R": "ModelPatchLoader", "cnr_id": "comfy-core" }, "widgets_values": [ "Z-Image-Turbo-Fun-Controlnet-Tile-2.1-2601-8steps.safetensors" ], "color": "#332", "bgcolor": "#553" }, { "id": 32, "type": "PreviewImage", "pos": [ 80, 1080 ], "size": [ 380, 280 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 47 } ], "outputs": [], "title": "Preview: Base Output", "properties": { "Node name for S&R": "PreviewImage" }, "widgets_values": [], "color": "#233", "bgcolor": "#344", "shape": 4 }, { "id": 17, "type": "UpscaleModelLoader", "pos": [ 1012.7035949274879, 630.8143797099472 ], "size": [ 330, 108 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "links": [ 26, 48 ] } ], "title": "2.7 · 4x-UltraSharp (ESRGAN)", "properties": { "Node name for S&R": "UpscaleModelLoader", "cnr_id": "comfy-core", "ver": "0.25.0" }, "widgets_values": [ "4x-UltraSharp.pth" ], "color": "#323", "bgcolor": "#535" }, { "id": 31, "type": "PreviewImage", "pos": [ 620, 940 ], "size": [ 380, 280 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 46 } ], "outputs": [], "title": "Preview: Canny Edges", "properties": { "Node name for S&R": "PreviewImage" }, "widgets_values": [], "color": "#332", "bgcolor": "#443" }, { "id": 26, "type": "CannyEdgePreprocessor", "pos": [ 620, 720 ], "size": [ 330, 150 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 34 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 35, 46 ] } ], "title": "3.1 · Canny Edge Detector", "properties": { "Node name for S&R": "CannyEdgePreprocessor" }, "widgets_values": [ 0, 223, 2048 ], "color": "#332", "bgcolor": "#553" }, { "id": 14, "type": "Image Comparer (rgthree)", "pos": [ 2350, 120 ], "size": [ 420, 460 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "dir": 3, "name": "image_a", "type": "IMAGE", "link": 38 }, { "dir": 3, "name": "image_b", "type": "IMAGE", "link": 30 } ], "outputs": [], "title": "6.1 · Before / After Comparison", "properties": { "comparer_mode": "Slide" }, "widgets_values": [ [ { "name": "A", "selected": true, "url": "/api/view?filename=rgthree.compare._temp_qeyoo_00003_.png&type=temp&subfolder=&rand=0.7305356395024681" }, { "name": "B", "selected": true, "url": "/api/view?filename=rgthree.compare._temp_qeyoo_00004_.png&type=temp&subfolder=&rand=0.5702587905540993" } ] ] }, { "id": 23, "type": "SaveImage", "pos": [ 2350, 650 ], "size": [ 420, 490 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 39 } ], "outputs": [], "title": "6.2 · Save Final Output", "properties": { "Node name for S&R": "SaveImage", "cnr_id": "comfy-core", "ver": "0.25.0" }, "widgets_values": [ "biosynthart/final_hidream" ] }, { "id": 15, "type": "CLIPTextEncode", "pos": [ 1010, 120 ], "size": [ 330, 116 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 17 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 25, 43 ] } ], "title": "2.4 · Positive Conditioning", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.25.0" }, "widgets_values": [ "masterpiece, best quality, ultra detailed skin, sharp focus, photorealistic, skin microdetails, skin macrodetails, ultra realsitic skin" ], "color": "#232", "bgcolor": "#353" }, { "id": 29, "type": "ZiTUpscaleRefine", "pos": [ 1850, 120 ], "size": [ 380, 988 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 40 }, { "name": "negative", "type": "CONDITIONING", "link": 41 }, { "name": "vae", "type": "VAE", "link": 42 }, { "name": "image", "type": "IMAGE", "link": 37 }, { "name": "clip", "shape": 7, "type": "CLIP", "link": null }, { "name": "positive", "shape": 7, "type": "CONDITIONING", "link": 43 }, { "name": "model_patch", "shape": 7, "type": "MODEL_PATCH", "link": 44 }, { "name": "control_image", "shape": 7, "type": "IMAGE", "link": 45 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null }, { "name": "upscale_model", "shape": 7, "type": "UPSCALE_MODEL", "link": 48 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 38, 39 ] }, { "name": "latent", "type": "LATENT", "links": null } ], "title": "5 · Pass 2: Tile Anchor (tonal)", "properties": { "Node name for S&R": "ZiTUpscaleRefine", "aux_id": "thevesperhouse-hub/comfyui-ZiT-Upscale", "ver": "587e800f49131a802c1aac07fed7738e923a906c" }, "widgets_values": [ "skin microdetails, skin macrodetails, ultra realsitic skin", 308850631989493, "randomize", 8, 1, "seeds_3", "normal", "2x", "enhance quality", 0, 0, false, true, 0.2, 0, 0, 0, "nearest-exact", 1, "nearest-exact", 512, 64 ], "color": "#223", "bgcolor": "#335" }, { "id": 22, "type": "ZiTUpscaleRefine", "pos": [ 1400, 120 ], "size": [ 380, 988 ], "flags": {}, "order": 15, "mode": 4, "inputs": [ { "name": "model", "type": "MODEL", "link": 21 }, { "name": "negative", "type": "CONDITIONING", "link": 22 }, { "name": "vae", "type": "VAE", "link": 23 }, { "name": "image", "type": "IMAGE", "link": 28 }, { "name": "clip", "shape": 7, "type": "CLIP", "link": null }, { "name": "positive", "shape": 7, "type": "CONDITIONING", "link": 25 }, { "name": "model_patch", "shape": 7, "type": "MODEL_PATCH", "link": 36 }, { "name": "control_image", "shape": 7, "type": "IMAGE", "link": 35 }, { "name": "mask", "shape": 7, "type": "MASK", "link": null }, { "name": "upscale_model", "shape": 7, "type": "UPSCALE_MODEL", "link": 26 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 37 ] }, { "name": "latent", "type": "LATENT", "links": null } ], "title": "4 · Pass 1: Canny Lock (structural)", "properties": { "Node name for S&R": "ZiTUpscaleRefine", "aux_id": "thevesperhouse-hub/comfyui-ZiT-Upscale", "ver": "587e800f49131a802c1aac07fed7738e923a906c" }, "widgets_values": [ "skin microdetails, skin macrodetails, ultra realsitic skin", 564665034736036, "randomize", 8, 1, "seeds_3", "normal", "2x", "enhance quality", 0, 0, false, true, 0.2, 0, 0, 0, "nearest-exact", 1, "nearest-exact", 512, 64 ], "color": "#223", "bgcolor": "#335" } ], "links": [ [ 11, 11, 1, 10, 1, "CLIP" ], [ 12, 11, 2, 10, 2, "VAE" ], [ 13, 12, 0, 10, 6, "STRING" ], [ 17, 20, 1, 15, 0, "CLIP" ], [ 18, 19, 0, 20, 0, "MODEL" ], [ 19, 18, 0, 20, 1, "CLIP" ], [ 20, 20, 1, 21, 0, "CLIP" ], [ 21, 20, 0, 22, 0, "MODEL" ], [ 22, 21, 0, 22, 1, "CONDITIONING" ], [ 23, 16, 0, 22, 2, "VAE" ], [ 25, 15, 0, 22, 5, "CONDITIONING" ], [ 26, 17, 0, 22, 9, "UPSCALE_MODEL" ], [ 28, 10, 0, 22, 3, "IMAGE" ], [ 30, 10, 0, 14, 1, "IMAGE" ], [ 33, 11, 0, 10, 0, "MODEL" ], [ 34, 10, 0, 26, 0, "IMAGE" ], [ 35, 26, 0, 22, 7, "IMAGE" ], [ 36, 27, 0, 22, 6, "MODEL_PATCH" ], [ 37, 22, 0, 29, 3, "IMAGE" ], [ 38, 29, 0, 14, 0, "IMAGE" ], [ 39, 29, 0, 23, 0, "IMAGE" ], [ 40, 20, 0, 29, 0, "MODEL" ], [ 41, 21, 0, 29, 1, "CONDITIONING" ], [ 42, 16, 0, 29, 2, "VAE" ], [ 43, 15, 0, 29, 5, "CONDITIONING" ], [ 44, 28, 0, 29, 6, "MODEL_PATCH" ], [ 45, 10, 0, 29, 7, "IMAGE" ], [ 46, 26, 0, 31, 0, "IMAGE" ], [ 47, 10, 0, 32, 0, "IMAGE" ], [ 48, 17, 0, 29, 9, "UPSCALE_MODEL" ] ], "groups": [ { "id": 1, "title": "1 · HiDream-O1 Generation", "bounding": [ 40, 50, 440, 1050 ], "color": "#3f789e", "flags": {} }, { "id": 2, "title": "2 · Z-Image Model Stack", "bounding": [ 580, 50, 780, 710 ], "color": "#7f44a1", "flags": {} }, { "id": 3, "title": "3 · ControlNet Anchoring", "bounding": [ 580, 790, 780, 420 ], "color": "#a1309b", "flags": {} }, { "id": 4, "title": "4-5 · Two-Pass Refinement (Ctrl+B to bypass either pass)", "bounding": [ 1370, 50, 880, 1110 ], "color": "#3b5ea1", "flags": {} }, { "id": 5, "title": "6 · Output", "bounding": [ 2320, 50, 480, 1110 ], "color": "#666", "flags": {} } ], "config": {}, "extra": { "ds": { "scale": 0.7397557894736968, "offset": [ -448.49500136990446, 71.31372786503785 ] }, "frontendVersion": "1.45.15" }, "version": 0.4 }