{ "last_node_id": 13, "last_link_id": 14, "nodes": [ { "id": 1, "type": "Note", "pos": [ 40, 60 ], "size": [ 320, 226 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [], "properties": { "Node name for S&R": "Note" }, "widgets_values": [ "The style's prompt and its own inspiration images, together.\nApply drives the sampler; Reference Images pulls the images out as a batch \u2014 preview them, or wire them into IPAdapter or ControlNet.\nNeeds a gallery style that has inspiration images.\nFirst queue downloads FLUX.1 dev fp8 (~16 GB) to checkpoints/." ], "title": "FLUX + references" }, { "id": 2, "type": "StyleRefLoad", "pos": [ 40, 342 ], "size": [ 320, 348 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "style", "type": "STYLEREF_STYLE", "links": [ 1, 3 ], "slot_index": 0 }, { "name": "search_results", "type": "STRING", "links": [], "slot_index": 1 } ], "properties": { "Node name for S&R": "StyleRefLoad" }, "widgets_values": [ "azch4ptx-2ca7d3a07f37", "", "any", true, false ], "title": "Load \u2014 a gallery slug" }, { "id": 3, "type": "CheckpointLoaderSimple", "pos": [ 40, 746 ], "size": [ 320, 128 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 8 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 5 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 13 ], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple", "models": [ { "name": "flux1-dev-fp8.safetensors", "url": "https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/flux1-dev-fp8.safetensors", "directory": "checkpoints" } ] }, "widgets_values": [ "flux1-dev-fp8.safetensors" ] }, { "id": 4, "type": "StyleRefReferenceImages", "pos": [ 420, 60 ], "size": [ 320, 128 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "style", "type": "STYLEREF_STYLE", "link": 1 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": [ 2 ], "slot_index": 0 }, { "name": "count", "type": "INT", "links": [], "slot_index": 1 } ], "properties": { "Node name for S&R": "StyleRefReferenceImages" }, "widgets_values": [ 12 ], "title": "Reference images" }, { "id": 5, "type": "PreviewImage", "pos": [ 420, 244 ], "size": [ 320, 48 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 2 } ], "outputs": [], "properties": { "Node name for S&R": "PreviewImage" }, "widgets_values": [], "title": "Inspiration images" }, { "id": 6, "type": "StyleRefApply", "pos": [ 420, 348 ], "size": [ 320, 380 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "style", "type": "STYLEREF_STYLE", "link": 3 } ], "outputs": [ { "name": "positive", "type": "STRING", "links": [ 4 ], "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 picnic blanket spread out across grass, covered with a half-eaten watermelon slice, a tipped bowl of cherries spilling across the stripes, a transistor radio, sunglasses, and a paperback splayed face-down. Seeds and rind scattered between them, juice soaked dark into the fabric.", "flux", "", false, "", true ] }, { "id": 7, "type": "CLIPTextEncode", "pos": [ 800, 60 ], "size": [ 320, 116 ], "flags": { "collapsed": true }, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 5 }, { "name": "text", "type": "STRING", "link": 4 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 6, 7 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "" ], "title": "Positive (from StyleRef)" }, { "id": 8, "type": "FluxGuidance", "pos": [ 800, 156 ], "size": [ 320, 80 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 6 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 9 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "FluxGuidance" }, "widgets_values": [ 3.5 ], "title": "Flux guidance" }, { "id": 9, "type": "ConditioningZeroOut", "pos": [ 800, 292 ], "size": [ 320, 48 ], "flags": { "collapsed": true }, "order": 8, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 7 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 10 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "ConditioningZeroOut" }, "widgets_values": [], "title": "FLUX has no negative" }, { "id": 10, "type": "EmptySD3LatentImage", "pos": [ 800, 388 ], "size": [ 320, 144 ], "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 11 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 11, "type": "KSampler", "pos": [ 1180, 60 ], "size": [ 320, 312 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 8 }, { "name": "positive", "type": "CONDITIONING", "link": 9 }, { "name": "negative", "type": "CONDITIONING", "link": 10 }, { "name": "latent_image", "type": "LATENT", "link": 11 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 12 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 0, "randomize", 20, 1.0, "euler", "simple", 1.0 ] }, { "id": 12, "type": "VAEDecode", "pos": [ 1560, 60 ], "size": [ 320, 72 ], "flags": { "collapsed": true }, "order": 11, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 12 }, { "name": "vae", "type": "VAE", "link": 13 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 14 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 13, "type": "SaveImage", "pos": [ 1560, 156 ], "size": [ 320, 84 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 14 } ], "outputs": [], "properties": { "Node name for S&R": "SaveImage" }, "widgets_values": [ "StyleRef" ] } ], "links": [ [ 1, 2, 0, 4, 0, "STYLEREF_STYLE" ], [ 2, 4, 0, 5, 0, "IMAGE" ], [ 3, 2, 0, 6, 0, "STYLEREF_STYLE" ], [ 4, 6, 0, 7, 1, "STRING" ], [ 5, 3, 1, 7, 0, "CLIP" ], [ 6, 7, 0, 8, 0, "CONDITIONING" ], [ 7, 7, 0, 9, 0, "CONDITIONING" ], [ 8, 3, 0, 11, 0, "MODEL" ], [ 9, 8, 0, 11, 1, "CONDITIONING" ], [ 10, 9, 0, 11, 2, "CONDITIONING" ], [ 11, 10, 0, 11, 3, "LATENT" ], [ 12, 11, 0, 12, 0, "LATENT" ], [ 13, 3, 2, 12, 1, "VAE" ], [ 14, 12, 0, 13, 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": "flux1-dev-fp8.safetensors", "url": "https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/flux1-dev-fp8.safetensors", "directory": "checkpoints" } ] }