{ "id": "0ae2b50b-b07a-4465-bb7c-d8fe58e8e0ac", "revision": 0, "last_node_id": 45, "last_link_id": 53, "nodes": [ { "id": 2, "type": "CLIPLoader", "pos": [ -100, 20 ], "size": [ 440, 120 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "slot_index": 0, "links": [ 43 ] } ], "properties": { "Node name for S&R": "CLIPLoader", "models": [ { "name": "qwen3vl_4b_int8_convrot.safetensors", "url": "https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/main/text_encoders/qwen3vl_4b_int8_convrot.safetensors", "directory": "text_encoders" } ] }, "widgets_values": [ "qwen3vl_4b_int8_convrot.safetensors", "flux3", "default" ], "widgets_values_named": { "clip_name": "qwen3vl_4b_int8_convrot.safetensors", "type": "flux3", "device": "default" } }, { "id": 3, "type": "VAELoader", "pos": [ -100, 210 ], "size": [ 450, 70 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "slot_index": 0, "links": [ 5, 25 ] } ], "properties": { "Node name for S&R": "VAELoader", "models": [ { "name": "flux2-vae.safetensors", "url": "https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/main/vae/flux2-vae.safetensors", "directory": "vae" } ] }, "widgets_values": [ "flux2-vae.safetensors" ], "widgets_values_named": { "vae_name": "flux2-vae.safetensors" } }, { "id": 4, "type": "CLIPTextEncode", "pos": [ 410, -170 ], "size": [ 440, 410 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 43 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 20, 44 ] } ], "title": "Positive Prompt", "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "Change the person yellow color sweater to black sweater" ], "widgets_values_named": { "text": "Change the person yellow color sweater to black sweater" }, "color": "#232", "bgcolor": "#353" }, { "id": 7, "type": "KSampler", "pos": [ 960, -170 ], "size": [ 340, 520 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 53 }, { "name": "positive", "type": "CONDITIONING", "link": 22 }, { "name": "negative", "type": "CONDITIONING", "link": 23 }, { "name": "latent_image", "type": "LATENT", "link": 24 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 4 ] } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 264888498296736, "randomize", 16, 1, "euler", "simple", 1 ], "widgets_values_named": { "seed": 264888498296736, "control_after_generate": "randomize", "steps": 16, "cfg": 1, "sampler_name": "euler", "scheduler": "simple", "denoise": 1 } }, { "id": 8, "type": "VAEDecode", "pos": [ 1430, -160 ], "size": [ 210, 50 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 4 }, { "name": "vae", "type": "VAE", "link": 5 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 6 ] } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 9, "type": "SaveImage", "pos": [ 1720, -160 ], "size": [ 530, 620 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 6 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": [ 30 ] } ], "properties": { "Node name for S&R": "SaveImage" }, "widgets_values": [ "image_flux3_klein_distilled_image_edit" ], "widgets_values_named": { "filename_prefix": "image_flux3_klein_distilled_image_edit" } }, { "id": 10, "type": "MarkdownNote", "pos": [ -520, -210 ], "size": [ 360, 270 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [], "title": "Notes", "properties": { "Node name for S&R": "MarkdownNote" }, "widgets_values": [ "## FLUX.3 image-small: editing\n\nSame files and sampler settings as text-to-image (50 steps, cfg 3.5, euler / simple).\n\n**References**: plug more input image to the `Set Reference Multi Latent` node, the first one is `` in the prompt, the next ``, and so on. Add every reference to **both** the positive and the negative, as the reference pipeline does.\n\n**Size**: the reference is scaled to ~1 MP here and the output latent takes its size. BFL's pipeline keeps references at native size (up to ~16 MP): raise the megapixels for more reference detail at a higher cost.\n\n**Prompting**: write a full caption of the result, with the edit folded in." ], "widgets_values_named": { "text": "## FLUX.3 image-small: editing\n\nSame files and sampler settings as text-to-image (50 steps, cfg 3.5, euler / simple).\n\n**References**: plug more input image to the `Set Reference Multi Latent` node, the first one is `` in the prompt, the next ``, and so on. Add every reference to **both** the positive and the negative, as the reference pipeline does.\n\n**Size**: the reference is scaled to ~1 MP here and the output latent takes its size. BFL's pipeline keeps references at native size (up to ~16 MP): raise the megapixels for more reference detail at a higher cost.\n\n**Prompting**: write a full caption of the result, with the edit folded in." }, "color": "#222", "bgcolor": "#000" }, { "id": 11, "type": "LoadImage", "pos": [ -110, 470 ], "size": [ 440, 500 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 27, 29 ] }, { "name": "MASK", "type": "MASK", "slot_index": 1, "links": [] } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "image_flux3_klein_distilled_t2i_00005_.png", "image" ], "widgets_values_named": { "image": "image_flux3_klein_distilled_t2i_00005_.png", "upload": "image" } }, { "id": 17, "type": "ReferenceMultiLatent", "pos": [ 990, 490 ], "size": [ 280, 170 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 20 }, { "name": "negative", "shape": 7, "type": "CONDITIONING", "link": 45 }, { "name": "vae", "shape": 7, "type": "VAE", "link": 25 }, { "name": "images.image0", "shape": 7, "type": "IMAGE", "link": 27 }, { "name": "images.image1", "shape": 7, "type": "IMAGE", "link": null } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 22 ] }, { "name": "negative", "type": "CONDITIONING", "links": [ 23 ] }, { "name": "empty_latent", "type": "LATENT", "links": [ 24 ] } ], "properties": { "Node name for S&R": "ReferenceMultiLatent" }, "widgets_values": [ "resize", 1 ], "widgets_values_named": { "resolution": "resize", "resolution.megapixels": 1 }, "color": "#322", "bgcolor": "#533" }, { "id": 18, "type": "ImageCompare", "pos": [ 2290, -160 ], "size": [ 510, 620 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "image_a", "shape": 7, "type": "IMAGE", "link": 29 }, { "name": "image_b", "shape": 7, "type": "IMAGE", "link": 30 } ], "outputs": [], "properties": { "Node name for S&R": "ImageCompare" }, "widgets_values": [], "widgets_values_named": {} }, { "id": 19, "type": "MarkdownNote", "pos": [ 1430, -30 ], "size": [ 210, 90 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [], "title": "Note: Steps", "properties": {}, "widgets_values": [ "you can try 4-16 steps" ], "widgets_values_named": { "text": "you can try 4-16 steps" }, "color": "#222", "bgcolor": "#000" }, { "id": 26, "type": "MarkdownNote", "pos": [ -1000, -210 ], "size": [ 450, 650 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "## Input Asset\n\n- [woman_gold_earring_teal_top_portrait.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/woman_gold_earring_teal_top_portrait.png)\n\n## Model Links\n\n- [Hugging Face:black-forest-labs/flux-3-image-klein-comfy](https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy)\n\n**diffusion_models**\n\n- [flux3_image_klein_sd_int8_convrot.safetensors](https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/main/diffusion_models/flux3_image_klein_sd_int8_convrot.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_4b_int8_convrot.safetensors](https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/main/text_encoders/qwen3vl_4b_int8_convrot.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/main/vae/flux2-vae.safetensors)\n\n\n## Model Storage Location\n\n```\nšŸ“‚ ComfyUI/\nā”œā”€ā”€ šŸ“‚ models/\n│ ā”œā”€ā”€ šŸ“‚ diffusion_models/\n│ │ └── flux3_image_klein_sd_int8_convrot.safetensors\n│ ā”œā”€ā”€ šŸ“‚ text_encoders/\n│ │ └── qwen3vl_4b_int8_convrot.safetensors\n│ └── šŸ“‚ vae/\n│ └── flux2-vae.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\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" ], "widgets_values_named": { "text": "## Input Asset\n\n- [woman_gold_earring_teal_top_portrait.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/woman_gold_earring_teal_top_portrait.png)\n\n## Model Links\n\n- [Hugging Face:black-forest-labs/flux-3-image-klein-comfy](https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy)\n\n**diffusion_models**\n\n- [flux3_image_klein_sd_int8_convrot.safetensors](https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/main/diffusion_models/flux3_image_klein_sd_int8_convrot.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_4b_int8_convrot.safetensors](https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/main/text_encoders/qwen3vl_4b_int8_convrot.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/main/vae/flux2-vae.safetensors)\n\n\n## Model Storage Location\n\n```\nšŸ“‚ ComfyUI/\nā”œā”€ā”€ šŸ“‚ models/\n│ ā”œā”€ā”€ šŸ“‚ diffusion_models/\n│ │ └── flux3_image_klein_sd_int8_convrot.safetensors\n│ ā”œā”€ā”€ šŸ“‚ text_encoders/\n│ │ └── qwen3vl_4b_int8_convrot.safetensors\n│ └── šŸ“‚ vae/\n│ └── flux2-vae.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\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": 32, "type": "ConditioningZeroOut", "pos": [ 570, 310 ], "size": [ 210, 30 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 44 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 45 ] } ], "properties": { "Node name for S&R": "ConditioningZeroOut" } }, { "id": 33, "type": "CreateBoundingBoxes", "pos": [ 910, 980 ], "size": [ 410, 580 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "background", "shape": 7, "type": "IMAGE", "link": null }, { "name": "bboxes", "shape": 7, "type": "BOUNDING_BOX,ARRAY,STRING", "link": null } ], "outputs": [ { "name": "preview", "type": "IMAGE", "links": null }, { "name": "bboxes", "type": "BOUNDING_BOX", "links": null }, { "name": "elements", "type": "ARRAY", "links": [ 46 ] } ], "properties": { "Node name for S&R": "CreateBoundingBoxes" }, "widgets_values": [ 1024, 1024, [], [] ], "widgets_values_named": { "width": 1024, "height": 1024, "editor_state": [], "last_incoming": [] } }, { "id": 34, "type": "PreviewAny", "pos": [ 1370, 1020 ], "size": [ 210, 130 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "source", "type": "*", "link": 46 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": null } ], "properties": { "Node name for S&R": "PreviewAny" }, "widgets_values": [], "widgets_values_named": {} }, { "id": 35, "type": "MarkdownNote", "pos": [ 1230, 820 ], "size": [ 250, 100 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "Use `Empty Flux 2 Latent` node to customize image size\n\n`Create Bounding Boxes` node for node for creating prompts for precise editing" ], "widgets_values_named": { "text": "Use `Empty Flux 2 Latent` node to customize image size\n\n`Create Bounding Boxes` node for node for creating prompts for precise editing" }, "color": "#222", "bgcolor": "#000" }, { "id": 44, "type": "EmptyFlux2LatentImage", "pos": [ 910, 810 ], "size": [ 270, 110 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": null } ], "properties": { "Node name for S&R": "EmptyFlux2LatentImage" }, "widgets_values": [ 1024, 1024, 1 ], "widgets_values_named": { "width": 1024, "height": 1024, "batch_size": 1 } }, { "id": 45, "type": "UnetLoaderGGUF", "pos": [ -91.59152984788862, -134.68123389827886 ], "size": [ 356.2533157025364, 65.1877763085447 ], "flags": {}, "order": 9, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 53 ] } ], "properties": { "Node name for S&R": "UnetLoaderGGUF" }, "widgets_values": [ "flux3_image_klein_sd_Q4_K_M.gguf" ], "widgets_values_named": { "unet_name": "flux3_image_klein_sd_Q4_K_M.gguf" } } ], "links": [ [ 4, 7, 0, 8, 0, "LATENT" ], [ 5, 3, 0, 8, 1, "VAE" ], [ 6, 8, 0, 9, 0, "IMAGE" ], [ 22, 17, 0, 7, 1, "CONDITIONING" ], [ 23, 17, 1, 7, 2, "CONDITIONING" ], [ 24, 17, 2, 7, 3, "LATENT" ], [ 29, 11, 0, 18, 0, "IMAGE" ], [ 30, 9, 0, 18, 1, "IMAGE" ], [ 43, 2, 0, 4, 0, "CLIP" ], [ 44, 4, 0, 32, 0, "CONDITIONING" ], [ 46, 33, 2, 34, 0, "ARRAY" ], [ 53, 45, 0, 7, 0, "MODEL" ], [ 20, 4, 0, 17, 0, "CONDITIONING" ], [ 45, 32, 0, 17, 1, "CONDITIONING" ], [ 25, 3, 0, 17, 2, "VAE" ], [ 27, 11, 0, 17, 3, "IMAGE" ] ], "groups": [ { "id": 1, "title": "Models", "bounding": [ -120, -240, 490, 610 ], "color": "#3f789e", "flags": {} }, { "id": 2, "title": "Prompt", "bounding": [ 400, -240, 470, 610 ], "color": "#3f789e", "flags": {} }, { "id": 3, "title": "Sampling", "bounding": [ 900, -240, 460, 610 ], "color": "#3f789e", "flags": {} }, { "id": 4, "title": "Plug more reference images here", "bounding": [ 900, 400, 450, 320 ], "color": "#3f789e", "flags": {} }, { "id": 5, "title": "Reference Image", "bounding": [ -120, 400, 990, 810 ], "color": "#3f789e", "flags": {} } ], "config": {}, "extra": { "ds": { "scale": 0.6323867563951591, "offset": [ 591.0295162899055, 501.51451805338945 ] }, "frontendVersion": "1.55.17" }, "version": 0.4 }