{ "id": "87348548-ee47-4ae8-a2de-ea8c72f7d008", "revision": 0, "last_node_id": 46, "last_link_id": 102, "nodes": [ { "id": 1, "type": "KSamplerSelect", "pos": [ 638.8567485043334, 643.847593995366 ], "size": [ 270, 58 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "SAMPLER", "type": "SAMPLER", "links": [ 3 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "KSamplerSelect", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "euler" ] }, { "id": 2, "type": "SamplerCustomAdvanced", "pos": [ 938.8569201489497, 423.84760003492215 ], "size": [ 212.3638671875, 326 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "noise", "type": "NOISE", "link": 1 }, { "name": "guider", "type": "GUIDER", "link": 2 }, { "name": "sampler", "type": "SAMPLER", "link": 3 }, { "name": "sigmas", "type": "SIGMAS", "link": 4 }, { "name": "latent_image", "type": "LATENT", "link": 5 } ], "outputs": [ { "name": "output", "type": "LATENT", "links": [ 6 ] }, { "name": "denoised_output", "type": "LATENT", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "SamplerCustomAdvanced", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 4, "type": "RandomNoise", "pos": [ 638.8567485043334, 383.84769440432854 ], "size": [ 270, 82 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "NOISE", "type": "NOISE", "links": [ 1 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "RandomNoise", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 583732051283781, "randomize" ] }, { "id": 12, "type": "CLIPLoader", "pos": [ -287.1430565954972, 553.6809971231787 ], "size": [ 364.42708333333337, 106 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 19, 20 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "CLIPLoader", "models": [ { "name": "qwen_3_8b_fp8mixed.safetensors", "url": "https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors", "directory": "text_encoders" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "qwen_3_8b_fp8mixed.safetensors", "flux2", "default" ] }, { "id": 15, "type": "CLIPTextEncode", "pos": [ 133.83944685678492, 733.0845008682301 ], "size": [ 420, 88 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 20 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 33 ] } ], "title": "CLIP Text Encode ( Negative Prompt)", "properties": { "cnr_id": "comfy-core", "ver": "0.9.1", "Node name for S&R": "CLIPTextEncode", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "" ], "color": "#323", "bgcolor": "#535" }, { "id": 17, "type": "Flux2Scheduler", "pos": [ 638.8567485043334, 743.8475046410438 ], "size": [ 270, 106 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 72 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 73 } ], "outputs": [ { "name": "SIGMAS", "type": "SIGMAS", "links": [ 4 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "Flux2Scheduler", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 4, 1024, 1024 ] }, { "id": 16, "type": "CFGGuider", "pos": [ 638.8567485043334, 503.84763114990034 ], "size": [ 270, 98 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 98 }, { "name": "positive", "type": "CONDITIONING", "link": 95 }, { "name": "negative", "type": "CONDITIONING", "link": 96 } ], "outputs": [ { "name": "GUIDER", "type": "GUIDER", "links": [ 2 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "CFGGuider", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 1 ] }, { "id": 28, "type": "PreviewImage", "pos": [ 1203.774151881187, 488.21053189474804 ], "size": [ 214.3416331624744, 330.7334743572292 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 55 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.9.2", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 31, "type": "easy imageSize", "pos": [ -568.1008563173393, 896.17057031001 ], "size": [ 210, 108 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "label": "图像", "name": "image", "type": "IMAGE", "link": 76 } ], "outputs": [ { "name": "宽度", "type": "INT", "links": [ 72, 74 ] }, { "name": "高度", "type": "INT", "links": [ 73, 75 ] } ], "properties": { "cnr_id": "comfyui-easy-use", "ver": "1.3.5", "Node name for S&R": "easy imageSize" }, "widgets_values": [ "Width: 880 , Height: 1184" ] }, { "id": 22, "type": "VAEEncode", "pos": [ -270, 947.5383123816825 ], "size": [ 190, 46 ], "flags": { "collapsed": false }, "order": 11, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 63 }, { "name": "vae", "type": "VAE", "link": 31 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 28, 29 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "VAEEncode", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 18, "type": "MarkdownNote", "pos": [ -1542.5165137017684, 408.7035091738259 ], "size": [ 610, 650 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model links (for local users)\n\n**diffusion_models**\n\n- [flux-2-klein-base-9b-fp8.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9b-fp8)\n\n> Please visit BFL's repo, accept the agreement in the repo, and then download the fp8 model.\n\n**text_encoders**\n\n- [qwen_3_8b_fp8mixed.safetensors](https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── qwen_3_8b_fp8mixed.safetensors\n│ └── 📂 vae/\n│ └── flux2-vae.safetensors\n```\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/zh-CN/installation/update_comfyui)) and prepare required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n" ], "color": "#222", "bgcolor": "#000" }, { "id": 8, "type": "EmptyFlux2LatentImage", "pos": [ 200.2442699240379, 930.3632293195597 ], "size": [ 270, 106 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 74 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 75 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 5 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "EmptyFlux2LatentImage", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 6, "type": "VAELoader", "pos": [ -287.14305285648703, 723.6809026520256 ], "size": [ 364.42708333333337, 58 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 7, 31 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "VAELoader", "models": [ { "name": "flux2-vae.safetensors", "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors", "directory": "vae" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "flux2-vae.safetensors" ] }, { "id": 23, "type": "ReferenceLatent", "pos": [ -60, 940 ], "size": [ 210, 46 ], "flags": { "collapsed": false }, "order": 14, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 32 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 29 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 95 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "ReferenceLatent", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 21, "type": "ReferenceLatent", "pos": [ -56.41762503380495, 1046.7911874830975 ], "size": [ 204.134765625, 46 ], "flags": { "collapsed": false }, "order": 13, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 33 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 28 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 96 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "ReferenceLatent", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 5, "type": "UNETLoader", "pos": [ -287.1430565954972, 403.6810509528961 ], "size": [ 364.42708333333337, 82 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 97 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "UNETLoader", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "flux-2-klein-9b-fp8.safetensors", "default" ] }, { "id": 14, "type": "CLIPTextEncode", "pos": [ 138.569969070938, 388.9971856517615 ], "size": [ 424.8219232141098, 297.9227974023413 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 19 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 32 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "CLIPTextEncode", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "Transform this picture into an American comic style + Pop Art + cyber neon illustration" ], "color": "#232", "bgcolor": "#353" }, { "id": 3, "type": "VAEDecode", "pos": [ 1198.5214843642405, 372.96554095940763 ], "size": [ 220, 46 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 6 }, { "name": "vae", "type": "VAE", "link": 7 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 55 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "VAEDecode", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 29, "type": "FluxKontextImageScale", "pos": [ -556.4962085611216, 783.2354158671177 ], "size": [ 194.9458984375, 26 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "label": "image", "name": "image", "type": "IMAGE", "link": 92 } ], "outputs": [ { "label": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 63, 76 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.8.2", "Node name for S&R": "FluxKontextImageScale", "widget_ue_connectable": {} }, "widgets_values": [] }, { "id": 19, "type": "LoadImage", "pos": [ -606.1838895529005, 384.93964889708894 ], "size": [ 270, 314.0000000000001 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 92 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.9.2", "Node name for S&R": "LoadImage" }, "widgets_values": [ "test (9).png", "image" ] }, { "id": 44, "type": "LoraLoaderModelOnly", "pos": [ -244.0930063615095, 217.10418704356542 ], "size": [ 270, 82 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 97 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 98 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.9.2", "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "train-flux2/flux2_klein_lowres.safetensors", 1 ] } ], "links": [ [ 1, 4, 0, 2, 0, "NOISE" ], [ 2, 16, 0, 2, 1, "GUIDER" ], [ 3, 1, 0, 2, 2, "SAMPLER" ], [ 4, 17, 0, 2, 3, "SIGMAS" ], [ 5, 8, 0, 2, 4, "LATENT" ], [ 6, 2, 0, 3, 0, "LATENT" ], [ 7, 6, 0, 3, 1, "VAE" ], [ 19, 12, 0, 14, 0, "CLIP" ], [ 20, 12, 0, 15, 0, "CLIP" ], [ 28, 22, 0, 21, 1, "LATENT" ], [ 29, 22, 0, 23, 1, "LATENT" ], [ 31, 6, 0, 22, 1, "VAE" ], [ 32, 14, 0, 23, 0, "CONDITIONING" ], [ 33, 15, 0, 21, 0, "CONDITIONING" ], [ 55, 3, 0, 28, 0, "IMAGE" ], [ 63, 29, 0, 22, 0, "IMAGE" ], [ 72, 31, 0, 17, 0, "INT" ], [ 73, 31, 1, 17, 1, "INT" ], [ 74, 31, 0, 8, 0, "INT" ], [ 75, 31, 1, 8, 1, "INT" ], [ 76, 29, 0, 31, 0, "IMAGE" ], [ 92, 19, 0, 29, 0, "IMAGE" ], [ 95, 23, 0, 16, 1, "CONDITIONING" ], [ 96, 21, 0, 16, 2, "CONDITIONING" ], [ 97, 5, 0, 44, 0, "MODEL" ], [ 98, 44, 0, 16, 0, "MODEL" ] ], "groups": [ { "id": 1, "title": "Models", "bounding": [ -292.47633665706303, 315.0143393359183, 380, 550 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "Prompt", "bounding": [ 127.52366334293697, 315.0143393359183, 470, 550 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 3, "title": "Sampler", "bounding": [ 637.523663342937, 315.0143393359183, 532.3638671875, 550 ], "color": "#3f789e", "font_size": 24, "flags": {} } ], "config": {}, "extra": { "workflowRendererVersion": "LG", "ue_links": [], "ds": { "scale": 0.8769226950000013, "offset": [ 712.3414393140303, 64.92057495682039 ] }, "frontendVersion": "1.36.14", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }