{ "last_node_id": 26, "last_link_id": 33, "nodes": [ { "id": 1, "type": "Note", "pos": [ 40, 60 ], "size": [ 320, 186 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [], "properties": { "Node name for S&R": "Note" }, "widgets_values": [ "One style, three subjects, three Z-Image samplers. No account needed.\nQueue once and compare the set. Edit any subject, or swap the style on Load, and queue again.\nFirst queue downloads 3 files: UNET, Qwen text encoder, VAE." ], "title": "Z-Image consistency" }, { "id": 2, "type": "StyleRefLoad", "pos": [ 40, 302 ], "size": [ 320, 348 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "style", "type": "STYLEREF_STYLE", "links": [ 1, 12, 23 ], "slot_index": 0 }, { "name": "search_results", "type": "STRING", "links": [], "slot_index": 1 } ], "properties": { "Node name for S&R": "StyleRefLoad" }, "widgets_values": [ "sbdlwwly-66ae1a89efdc", "", "any", true, false ] }, { "id": 3, "type": "UNETLoader", "pos": [ 40, 706 ], "size": [ 320, 108 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 4, 15, 26 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "UNETLoader", "models": [ { "name": "z_image_turbo_bf16.safetensors", "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors", "directory": "diffusion_models" } ] }, "widgets_values": [ "z_image_turbo_bf16.safetensors", "default" ], "title": "Z-Image UNET" }, { "id": 4, "type": "CLIPLoader", "pos": [ 40, 870 ], "size": [ 320, 140 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 3, 14, 25 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPLoader", "models": [ { "name": "qwen_3_4b.safetensors", "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "qwen_3_4b.safetensors", "lumina2", "default" ], "title": "Qwen text encoder" }, { "id": 5, "type": "VAELoader", "pos": [ 40, 1066 ], "size": [ 320, 80 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 10, 21, 32 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader", "models": [ { "name": "ae.safetensors", "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors", "directory": "vae" } ] }, "widgets_values": [ "ae.safetensors" ], "title": "Z-Image VAE" }, { "id": 6, "type": "StyleRefApply", "pos": [ 420, 60 ], "size": [ 320, 380 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "style", "type": "STYLEREF_STYLE", "link": 1 } ], "outputs": [ { "name": "positive", "type": "STRING", "links": [ 2 ], "slot_index": 0 }, { "name": "negative", "type": "STRING", "links": [], "slot_index": 1 }, { "name": "attribution", "type": "STRING", "links": [], "slot_index": 2 } ], "properties": { "Node name for S&R": "StyleRefApply" }, "widgets_values": [ "A fully dressed teenager sitting on a rooftop ledge at dusk, dress in #8A9FB5 color with ropes, knees up, headphones on, looking out over a low-rise city as lights begin to switch on; laundry lines and a water tank frame the foreground.", "diffusion", "", false, "", true ], "title": "Subject 1" }, { "id": 7, "type": "CLIPTextEncode", "pos": [ 800, 60 ], "size": [ 320, 116 ], "flags": { "collapsed": true }, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 3 }, { "name": "text", "type": "STRING", "link": 2 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 5, 6 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "" ], "title": "Positive (from StyleRef)" }, { "id": 8, "type": "ConditioningZeroOut", "pos": [ 800, 156 ], "size": [ 320, 48 ], "flags": { "collapsed": true }, "order": 7, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 6 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 7 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "ConditioningZeroOut" }, "widgets_values": [], "title": "Z-Image has no negative" }, { "id": 9, "type": "EmptySD3LatentImage", "pos": [ 800, 252 ], "size": [ 320, 144 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 8 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 10, "type": "KSampler", "pos": [ 1180, 60 ], "size": [ 320, 312 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 4 }, { "name": "positive", "type": "CONDITIONING", "link": 5 }, { "name": "negative", "type": "CONDITIONING", "link": 7 }, { "name": "latent_image", "type": "LATENT", "link": 8 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 9 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 0, "randomize", 8, 1.0, "euler", "simple", 1.0 ] }, { "id": 11, "type": "VAEDecode", "pos": [ 1560, 60 ], "size": [ 320, 72 ], "flags": { "collapsed": true }, "order": 10, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 9 }, { "name": "vae", "type": "VAE", "link": 10 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 11 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 12, "type": "SaveImage", "pos": [ 1560, 156 ], "size": [ 320, 84 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 11 } ], "outputs": [], "properties": { "Node name for S&R": "SaveImage" }, "widgets_values": [ "StyleRef" ] }, { "id": 13, "type": "StyleRefApply", "pos": [ 420, 496 ], "size": [ 320, 380 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "style", "type": "STYLEREF_STYLE", "link": 12 } ], "outputs": [ { "name": "positive", "type": "STRING", "links": [ 13 ], "slot_index": 0 }, { "name": "negative", "type": "STRING", "links": [], "slot_index": 1 }, { "name": "attribution", "type": "STRING", "links": [], "slot_index": 2 } ], "properties": { "Node name for S&R": "StyleRefApply" }, "widgets_values": [ "two friends flipping through crates of vinyl in a record shop, dressed", "diffusion", "", false, "", true ], "title": "Subject 2" }, { "id": 14, "type": "CLIPTextEncode", "pos": [ 800, 452 ], "size": [ 320, 116 ], "flags": { "collapsed": true }, "order": 13, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 14 }, { "name": "text", "type": "STRING", "link": 13 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 16, 17 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "" ], "title": "Positive (from StyleRef)" }, { "id": 15, "type": "ConditioningZeroOut", "pos": [ 800, 548 ], "size": [ 320, 48 ], "flags": { "collapsed": true }, "order": 14, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 17 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 18 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "ConditioningZeroOut" }, "widgets_values": [], "title": "Z-Image has no negative" }, { "id": 16, "type": "EmptySD3LatentImage", "pos": [ 800, 644 ], "size": [ 320, 144 ], "flags": {}, "order": 15, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 19 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 17, "type": "KSampler", "pos": [ 1180, 428 ], "size": [ 320, 312 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 15 }, { "name": "positive", "type": "CONDITIONING", "link": 16 }, { "name": "negative", "type": "CONDITIONING", "link": 18 }, { "name": "latent_image", "type": "LATENT", "link": 19 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 20 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 0, "randomize", 8, 1.0, "euler", "simple", 1.0 ] }, { "id": 18, "type": "VAEDecode", "pos": [ 1560, 296 ], "size": [ 320, 72 ], "flags": { "collapsed": true }, "order": 17, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 20 }, { "name": "vae", "type": "VAE", "link": 21 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 22 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 19, "type": "SaveImage", "pos": [ 1560, 392 ], "size": [ 320, 84 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 22 } ], "outputs": [], "properties": { "Node name for S&R": "SaveImage" }, "widgets_values": [ "StyleRef" ] }, { "id": 20, "type": "StyleRefApply", "pos": [ 420, 932 ], "size": [ 320, 380 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "style", "type": "STYLEREF_STYLE", "link": 23 } ], "outputs": [ { "name": "positive", "type": "STRING", "links": [ 24 ], "slot_index": 0 }, { "name": "negative", "type": "STRING", "links": [], "slot_index": 1 }, { "name": "attribution", "type": "STRING", "links": [], "slot_index": 2 } ], "properties": { "Node name for S&R": "StyleRefApply" }, "widgets_values": [ "A Unicorn Toy", "diffusion", "", false, "", true ], "title": "Subject 3" }, { "id": 21, "type": "CLIPTextEncode", "pos": [ 800, 844 ], "size": [ 320, 116 ], "flags": { "collapsed": true }, "order": 20, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 25 }, { "name": "text", "type": "STRING", "link": 24 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 27, 28 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "" ], "title": "Positive (from StyleRef)" }, { "id": 22, "type": "ConditioningZeroOut", "pos": [ 800, 940 ], "size": [ 320, 48 ], "flags": { "collapsed": true }, "order": 21, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 28 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 29 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "ConditioningZeroOut" }, "widgets_values": [], "title": "Z-Image has no negative" }, { "id": 23, "type": "EmptySD3LatentImage", "pos": [ 800, 1036 ], "size": [ 320, 144 ], "flags": {}, "order": 22, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 30 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 24, "type": "KSampler", "pos": [ 1180, 796 ], "size": [ 320, 312 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 26 }, { "name": "positive", "type": "CONDITIONING", "link": 27 }, { "name": "negative", "type": "CONDITIONING", "link": 29 }, { "name": "latent_image", "type": "LATENT", "link": 30 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 31 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 0, "randomize", 8, 1.0, "euler", "simple", 1.0 ] }, { "id": 25, "type": "VAEDecode", "pos": [ 1560, 532 ], "size": [ 320, 72 ], "flags": { "collapsed": true }, "order": 24, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 31 }, { "name": "vae", "type": "VAE", "link": 32 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 33 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 26, "type": "SaveImage", "pos": [ 1560, 628 ], "size": [ 320, 84 ], "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 33 } ], "outputs": [], "properties": { "Node name for S&R": "SaveImage" }, "widgets_values": [ "StyleRef" ] } ], "links": [ [ 1, 2, 0, 6, 0, "STYLEREF_STYLE" ], [ 2, 6, 0, 7, 1, "STRING" ], [ 3, 4, 0, 7, 0, "CLIP" ], [ 4, 3, 0, 10, 0, "MODEL" ], [ 5, 7, 0, 10, 1, "CONDITIONING" ], [ 6, 7, 0, 8, 0, "CONDITIONING" ], [ 7, 8, 0, 10, 2, "CONDITIONING" ], [ 8, 9, 0, 10, 3, "LATENT" ], [ 9, 10, 0, 11, 0, "LATENT" ], [ 10, 5, 0, 11, 1, "VAE" ], [ 11, 11, 0, 12, 0, "IMAGE" ], [ 12, 2, 0, 13, 0, "STYLEREF_STYLE" ], [ 13, 13, 0, 14, 1, "STRING" ], [ 14, 4, 0, 14, 0, "CLIP" ], [ 15, 3, 0, 17, 0, "MODEL" ], [ 16, 14, 0, 17, 1, "CONDITIONING" ], [ 17, 14, 0, 15, 0, "CONDITIONING" ], [ 18, 15, 0, 17, 2, "CONDITIONING" ], [ 19, 16, 0, 17, 3, "LATENT" ], [ 20, 17, 0, 18, 0, "LATENT" ], [ 21, 5, 0, 18, 1, "VAE" ], [ 22, 18, 0, 19, 0, "IMAGE" ], [ 23, 2, 0, 20, 0, "STYLEREF_STYLE" ], [ 24, 20, 0, 21, 1, "STRING" ], [ 25, 4, 0, 21, 0, "CLIP" ], [ 26, 3, 0, 24, 0, "MODEL" ], [ 27, 21, 0, 24, 1, "CONDITIONING" ], [ 28, 21, 0, 22, 0, "CONDITIONING" ], [ 29, 22, 0, 24, 2, "CONDITIONING" ], [ 30, 23, 0, 24, 3, "LATENT" ], [ 31, 24, 0, 25, 0, "LATENT" ], [ 32, 5, 0, 25, 1, "VAE" ], [ 33, 25, 0, 26, 0, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "styleref": { "notes": "Generated by scripts/build_workflows.py \u2014 edit the script, not this file." } }, "version": 0.4, "models": [ { "name": "z_image_turbo_bf16.safetensors", "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors", "directory": "diffusion_models" }, { "name": "qwen_3_4b.safetensors", "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors", "directory": "text_encoders" }, { "name": "ae.safetensors", "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors", "directory": "vae" } ] }