From 9c72770f9ec19a8807e274de25ceff488a4aebe2 Mon Sep 17 00:00:00 2001 From: Morpheus Date: Sat, 8 Aug 2026 22:09:06 +0000 Subject: [PATCH] Create first optimized workflow masters --- optimized/README.md | 8 + optimized/image-edit/README.md | 5 + .../flux2klein-9b-fp8-edit-master/README.md | 61 + .../workflow.json | 3853 +++++++++++++ .../zimage-turbo-3070-inpaint-start/README.md | 61 + .../workflow.json | 1386 +++++ optimized/image-to-video/README.md | 4 + .../ltx23-3070-simple-master/README.md | 56 + .../ltx23-3070-simple-master/workflow.json | 5125 +++++++++++++++++ optimized/notes/README.md | 9 + optimized/notes/ltx.md | 35 + optimized/notes/minimax.md | 35 + optimized/notes/process.md | 2 +- .../notes/reviews/2026-08-08-first-pass.md | 42 + optimized/text-to-image/README.md | 4 + .../zimage-turbo-3070-fast-start/README.md | 61 + .../zimage-turbo-3070-fast-start/workflow.png | Bin 0 -> 1227476 bytes optimized/text-to-video/README.md | 4 + .../minimax-h3-3070-turbo-master/README.md | 65 + .../workflow.json | 1926 +++++++ 20 files changed, 12741 insertions(+), 1 deletion(-) create mode 100644 optimized/image-edit/flux2klein-9b-fp8-edit-master/README.md create mode 100644 optimized/image-edit/flux2klein-9b-fp8-edit-master/workflow.json create mode 100644 optimized/image-edit/zimage-turbo-3070-inpaint-start/README.md create mode 100644 optimized/image-edit/zimage-turbo-3070-inpaint-start/workflow.json create mode 100644 optimized/image-to-video/ltx23-3070-simple-master/README.md create mode 100644 optimized/image-to-video/ltx23-3070-simple-master/workflow.json create mode 100644 optimized/notes/ltx.md create mode 100644 optimized/notes/minimax.md create mode 100644 optimized/notes/reviews/2026-08-08-first-pass.md create mode 100644 optimized/text-to-image/zimage-turbo-3070-fast-start/README.md create mode 100644 optimized/text-to-image/zimage-turbo-3070-fast-start/workflow.png create mode 100644 optimized/text-to-video/minimax-h3-3070-turbo-master/README.md create mode 100644 optimized/text-to-video/minimax-h3-3070-turbo-master/workflow.json diff --git a/optimized/README.md b/optimized/README.md index 6ea335a..3ebd700 100644 --- a/optimized/README.md +++ b/optimized/README.md @@ -26,6 +26,14 @@ These workflows are intended to become the practical default choices for each ca - `text-to-video/` - `upscale-restoration/` +## Current best-current masters + +- `text-to-image/zimage-turbo-3070-fast-start/` +- `image-edit/zimage-turbo-3070-inpaint-start/` +- `image-edit/flux2klein-9b-fp8-edit-master/` +- `image-to-video/ltx23-3070-simple-master/` +- `text-to-video/minimax-h3-3070-turbo-master/` + ## Workflow format Each optimized workflow should have its own folder and usually include: diff --git a/optimized/image-edit/README.md b/optimized/image-edit/README.md index 5b84311..1553311 100644 --- a/optimized/image-edit/README.md +++ b/optimized/image-edit/README.md @@ -1,3 +1,8 @@ # Image Edit Masters Home for maintained category masters focused on image editing, inpainting, outpainting, and reference-driven edits. + +## Current masters + +- `zimage-turbo-3070-inpaint-start` +- `flux2klein-9b-fp8-edit-master` diff --git a/optimized/image-edit/flux2klein-9b-fp8-edit-master/README.md b/optimized/image-edit/flux2klein-9b-fp8-edit-master/README.md new file mode 100644 index 0000000..8b85f93 --- /dev/null +++ b/optimized/image-edit/flux2klein-9b-fp8-edit-master/README.md @@ -0,0 +1,61 @@ +# FLUX.2-klein 9B FP8 Edit Master + +## Summary + +Best current `FLUX.2-klein` image-edit master for your setup. + +This is built from the official `9B distilled` template because it matches your `9B fp8` preference while still leaning toward practicality rather than the heavier `base` route. + +## Status + +- `best-current` +- `not-yet-tested-on-chris-box` + +## Workflow asset + +- `workflow.json` + +## Built from + +- `models/flux2klein/image-edit-9b-distilled/` + +## Why this is the current master + +- Matches your default family: `FLUX.2-klein 9B fp8` +- Official Comfy template is a safer foundation than community pages with weak provenance. +- Distilled is the most sensible first optimization bias for a `3070`. + +## What I intentionally kept + +- official Comfy node layout +- official `9B fp8` model path +- official text-encoder pairing +- speed-first distilled route + +## What I intentionally did not add yet + +- community `GGUF` ideas +- KV-cache experimentation +- extra custom-node edits with unclear payoff +- a fake outpainting claim before we prove it on your machine + +## Required models + +- `models/diffusion_models/flux-2-klein-9b-fp8.safetensors` +- `models/text_encoders/qwen_3_8b_fp8mixed.safetensors` +- `models/vae/flux2-vae.safetensors` + +## Required custom nodes + +- none beyond current official Comfy support for the template nodes + +## Monday test checklist + +- Confirm the model paths line up with your local layout. +- Test a plain edit, then an expand-canvas outpaint attempt. +- Compare `9B distilled` behavior against any `4B distilled` outpaint workflow you already trust. + +## Next optimization candidates + +- clone this into a dedicated outpaint master if the graph behaves well +- borrow only proven community prompt or graph hygiene improvements diff --git a/optimized/image-edit/flux2klein-9b-fp8-edit-master/workflow.json b/optimized/image-edit/flux2klein-9b-fp8-edit-master/workflow.json new file mode 100644 index 0000000..5d74c3e --- /dev/null +++ b/optimized/image-edit/flux2klein-9b-fp8-edit-master/workflow.json @@ -0,0 +1,3853 @@ +{ + "id": "92112d97-bb64-4b44-86f2-ea5691ef8f6e", + "revision": 0, + "last_node_id": 150, + "last_link_id": 220, + "nodes": [ + { + "id": 76, + "type": "LoadImage", + "pos": [ + -80, + 810 + ], + "size": [ + 319.984375, + 409.984375 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 155, + 169 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "bold_outfit_woman.jpeg", + "image" + ] + }, + { + "id": 9, + "type": "SaveImage", + "pos": [ + 870, + 810 + ], + "size": [ + 379.984375, + 409.984375 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 154 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "Node name for S&R": "SaveImage", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "Flux2-Klein" + ] + }, + { + "id": 97, + "type": "MarkdownNote", + "pos": [ + -600, + 810 + ], + "size": [ + 479.984375, + 909.984375 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "## Model Links\n\n**diffusion_models**\n\n- [flux-2-klein-9b-fp8.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-klein-9b-fp8/resolve/main/flux-2-klein-9b-fp8.safetensors)\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- [full_encoder_small_decoder.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-small-decoder/resolve/main/full_encoder_small_decoder.safetensors)\n\n\n## Model Storage Location\n\n```\nπŸ“‚ ComfyUI/\nβ”œβ”€β”€ πŸ“‚ models/\nβ”‚ β”œβ”€β”€ πŸ“‚ diffusion_models/\nβ”‚ β”‚ └── flux-2-klein-9b-fp8.safetensors\nβ”‚ β”œβ”€β”€ πŸ“‚ text_encoders/\nβ”‚ β”‚ └── qwen_3_8b_fp8mixed.safetensors\nβ”‚ └── πŸ“‚ vae/\nβ”‚ └── full_encoder_small_decoder.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": 75, + "type": "7b34ab90-36f9-45ba-a665-71d418f0df18", + "pos": [ + 340, + 810 + ], + "size": [ + 399.984375, + 409.984375 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "label": "prompt", + "name": "text", + "type": "STRING", + "widget": { + "name": "text" + }, + "link": null + }, + { + "name": "image", + "type": "IMAGE", + "link": 155 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 154 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": { + "text": true + }, + "version": "7.7", + "input_ue_unconnectable": {} + }, + "proxyWidgetErrorQuarantine": [ + { + "originalEntry": [ + "73", + "control_after_generate" + ], + "reason": "missingSubgraphInput", + "attemptedAtVersion": 1 + } + ], + "previewExposures": [] + }, + "widgets_values": [ + "flux-2-klein-9b-fp8.safetensors", + "qwen_3_8b_fp8mixed.safetensors", + "full_encoder_small_decoder.safetensors", + "Replace the background with a quiet coastal cliff at overcast sunset. Remove all buildings and streets. Add wind-shaped grass and a distant ocean horizon. Keep the subject’s pose and framing unchanged.", + 26416064315367 + ] + }, + { + "id": 122, + "type": "SaveImage", + "pos": [ + 900, + 1430 + ], + "size": [ + 359.984375, + 409.984375 + ], + "flags": {}, + "order": 6, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 191 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.17.0", + "Node name for S&R": "SaveImage", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 121, + "type": "LoadImage", + "pos": [ + -60, + 1440 + ], + "size": [ + 319.984375, + 409.984375 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 189 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "handbag_white.png", + "image" + ] + }, + { + "id": 92, + "type": "65c22b29-59aa-496b-89c6-55a603658670", + "pos": [ + 340, + 1430 + ], + "size": [ + 399.984375, + 409.984375 + ], + "flags": {}, + "order": 4, + "mode": 4, + "inputs": [ + { + "label": "prompt", + "name": "text", + "type": "STRING", + "widget": { + "name": "text" + }, + "link": null + }, + { + "label": "reference_image1", + "name": "image", + "type": "IMAGE", + "link": 169 + }, + { + "label": "reference_image2", + "name": "image_1", + "type": "IMAGE", + "link": 189 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 191 + ] + } + ], + "properties": { + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": { + "text": true + }, + "version": "7.7", + "input_ue_unconnectable": {} + }, + "proxyWidgetErrorQuarantine": [ + { + "originalEntry": [ + "106", + "control_after_generate" + ], + "reason": "missingSubgraphInput", + "attemptedAtVersion": 1 + } + ], + "previewExposures": [] + }, + "widgets_values": [ + "flux-2-klein-9b-fp8.safetensors", + "qwen_3_8b_fp8mixed.safetensors", + "full_encoder_small_decoder.safetensors", + "Let this character hold the bag with both hands", + 583453753589969 + ] + } + ], + "links": [ + [ + 154, + 75, + 0, + 9, + 0, + "IMAGE" + ], + [ + 155, + 76, + 0, + 75, + 1, + "IMAGE" + ], + [ + 169, + 76, + 0, + 92, + 1, + "IMAGE" + ], + [ + 189, + 121, + 0, + 92, + 2, + "IMAGE" + ], + [ + 191, + 92, + 0, + 122, + 0, + "IMAGE" + ] + ], + "groups": [ + { + "id": 3, + "title": "Multiple input example(Select all nodes then Ctrl-B to enable/disableοΌ‰", + "bounding": [ + 310, + 1340, + 991.6666666666667, + 600 + ], + "color": "#3f789e", + "flags": {} + } + ], + "definitions": { + "subgraphs": [ + { + "id": "7b34ab90-36f9-45ba-a665-71d418f0df18", + "version": 1, + "state": { + "lastGroupId": 7, + "lastNodeId": 150, + "lastLinkId": 220, + "lastRerouteId": 0 + }, + "revision": 0, + "config": {}, + "name": "Image Edit (Flux.2 Klein 9B Distilled)", + "inputNode": { + "id": -10, + "bounding": [ + -920, + 540, + 120, + 140 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + 1373.6666536013363, + 549.0277780034634, + 120, + 60 + ] + }, + "inputs": [ + { + "id": "ae713dbf-52cb-471a-807d-b12fa9acbb48", + "name": "unet_name", + "type": "COMBO", + "linkIds": [ + 159 + ], + "pos": [ + -820, + 560 + ] + }, + { + "id": "f29f705e-e43a-4502-b231-a1eea93a1d69", + "name": "clip_name", + "type": "COMBO", + "linkIds": [ + 160 + ], + "pos": [ + -820, + 580 + ] + }, + { + "id": "a954f490-386b-4367-9ea1-1b65913963a5", + "name": "vae_name", + "type": "COMBO", + "linkIds": [ + 161 + ], + "pos": [ + -820, + 600 + ] + }, + { + "id": "7061147a-fb75-450d-8e97-c8be594a8e16", + "name": "text", + "type": "STRING", + "linkIds": [ + 162 + ], + "label": "prompt", + "pos": [ + -820, + 620 + ] + }, + { + "id": "68629112-b7b0-41ce-8912-23adad00d3db", + "name": "image", + "type": "IMAGE", + "linkIds": [ + 175 + ], + "pos": [ + -820, + 640 + ] + }, + { + "id": "28a1ca82-e413-4da8-9a02-10a5b8768b1d", + "name": "noise_seed", + "type": "INT", + "linkIds": [ + 219 + ], + "pos": [ + 0, + 0 + ] + } + ], + "outputs": [ + { + "id": "c5e7966d-07ed-4c9a-ad89-9d378a41ea7b", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 153 + ], + "localized_name": "IMAGE", + "pos": [ + 1393.6666536013363, + 569.0277780034634 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 61, + "type": "KSamplerSelect", + "pos": [ + 540, + 560 + ], + "size": [ + 270, + 110 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "localized_name": "SAMPLER", + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 144 + ] + } + ], + "properties": { + "Node name for S&R": "KSamplerSelect", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "euler" + ] + }, + { + "id": 64, + "type": "SamplerCustomAdvanced", + "pos": [ + 880, + 200 + ], + "size": [ + 230, + 170 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "noise", + "name": "noise", + "type": "NOISE", + "link": 142 + }, + { + "localized_name": "guider", + "name": "guider", + "type": "GUIDER", + "link": 143 + }, + { + "localized_name": "sampler", + "name": "sampler", + "type": "SAMPLER", + "link": 144 + }, + { + "localized_name": "sigmas", + "name": "sigmas", + "type": "SIGMAS", + "link": 145 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 146 + } + ], + "outputs": [ + { + "localized_name": "output", + "name": "output", + "type": "LATENT", + "links": [ + 147 + ] + }, + { + "localized_name": "denoised_output", + "name": "denoised_output", + "type": "LATENT", + "links": [] + } + ], + "properties": { + "Node name for S&R": "SamplerCustomAdvanced", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 65, + "type": "VAEDecode", + "pos": [ + 1220, + 210 + ], + "size": [ + 230, + 100 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "localized_name": "samples", + "name": "samples", + "type": "LATENT", + "link": 147 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 148 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 153 + ] + } + ], + "properties": { + "Node name for S&R": "VAEDecode", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 73, + "type": "RandomNoise", + "pos": [ + 540, + 200 + ], + "size": [ + 270, + 110 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "noise_seed", + "name": "noise_seed", + "type": "INT", + "widget": { + "name": "noise_seed" + }, + "link": 219 + } + ], + "outputs": [ + { + "localized_name": "NOISE", + "name": "NOISE", + "type": "NOISE", + "links": [ + 142 + ] + } + ], + "properties": { + "Node name for S&R": "RandomNoise", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 26416064315367, + "randomize" + ] + }, + { + "id": 70, + "type": "UNETLoader", + "pos": [ + -390, + 200 + ], + "size": [ + 370, + 110 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "localized_name": "unet_name", + "name": "unet_name", + "type": "COMBO", + "widget": { + "name": "unet_name" + }, + "link": 159 + } + ], + "outputs": [ + { + "localized_name": "MODEL", + "name": "MODEL", + "type": "MODEL", + "links": [ + 139 + ] + } + ], + "properties": { + "Node name for S&R": "UNETLoader", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "models": [ + { + "name": "flux-2-klein-9b-fp8.safetensors", + "url": "https://huggingface.co/black-forest-labs/FLUX.2-klein-9b-fp8/resolve/main/flux-2-klein-9b-fp8.safetensors", + "directory": "diffusion_models" + } + ], + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "flux-2-klein-9b-fp8.safetensors", + "default" + ] + }, + { + "id": 71, + "type": "CLIPLoader", + "pos": [ + -390, + 440 + ], + "size": [ + 370, + 150 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "localized_name": "clip_name", + "name": "clip_name", + "type": "COMBO", + "widget": { + "name": "clip_name" + }, + "link": 160 + } + ], + "outputs": [ + { + "localized_name": "CLIP", + "name": "CLIP", + "type": "CLIP", + "links": [ + 151 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPLoader", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "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" + } + ], + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "qwen_3_8b_fp8mixed.safetensors", + "flux2", + "default" + ] + }, + { + "id": 66, + "type": "EmptyFlux2LatentImage", + "pos": [ + 830, + 980 + ], + "size": [ + 270, + 170 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "localized_name": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 172 + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 174 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 146 + ] + } + ], + "properties": { + "Node name for S&R": "EmptyFlux2LatentImage", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 63, + "type": "CFGGuider", + "pos": [ + 540, + 350 + ], + "size": [ + 270, + 160 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 139 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 194 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 195 + } + ], + "outputs": [ + { + "localized_name": "GUIDER", + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 143 + ] + } + ], + "properties": { + "Node name for S&R": "CFGGuider", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 1 + ] + }, + { + "id": 62, + "type": "Flux2Scheduler", + "pos": [ + 540, + 730 + ], + "size": [ + 270, + 170 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 171 + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 173 + } + ], + "outputs": [ + { + "localized_name": "SIGMAS", + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 145 + ] + } + ], + "properties": { + "Node name for S&R": "Flux2Scheduler", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 4, + 1024, + 1024 + ] + }, + { + "id": 99, + "type": "GetImageSize", + "pos": [ + 530, + 980 + ], + "size": [ + 230, + 120 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 170 + } + ], + "outputs": [ + { + "localized_name": "width", + "name": "width", + "type": "INT", + "links": [ + 171, + 172 + ] + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "links": [ + 173, + 174 + ] + }, + { + "localized_name": "batch_size", + "name": "batch_size", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "GetImageSize", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 123, + "type": "ReferenceLatent", + "pos": [ + 250, + 1150 + ], + "size": [ + 230, + 100 + ], + "flags": { + "collapsed": false + }, + "order": 14, + "mode": 0, + "inputs": [ + { + "localized_name": "conditioning", + "name": "conditioning", + "type": "CONDITIONING", + "link": 200 + }, + { + "localized_name": "latent", + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": 192 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 195 + ] + } + ], + "properties": { + "Node name for S&R": "ReferenceLatent", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 80, + "type": "ImageScaleToTotalPixels", + "pos": [ + -380, + 1000 + ], + "size": [ + 270, + 140 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 175 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 169, + 170, + 196 + ] + } + ], + "properties": { + "Node name for S&R": "ImageScaleToTotalPixels", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "nearest-exact", + 1, + 1 + ] + }, + { + "id": 72, + "type": "VAELoader", + "pos": [ + -390, + 710 + ], + "size": [ + 370, + 110 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "localized_name": "vae_name", + "name": "vae_name", + "type": "COMBO", + "widget": { + "name": "vae_name" + }, + "link": 161 + } + ], + "outputs": [ + { + "localized_name": "VAE", + "name": "VAE", + "type": "VAE", + "links": [ + 148, + 176, + 197 + ] + } + ], + "properties": { + "Node name for S&R": "VAELoader", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "models": [ + { + "name": "full_encoder_small_decoder.safetensors", + "url": "https://huggingface.co/black-forest-labs/FLUX.2-small-decoder/resolve/main/full_encoder_small_decoder.safetensors", + "directory": "vae" + } + ], + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "full_encoder_small_decoder.safetensors" + ] + }, + { + "id": 125, + "type": "ReferenceLatent", + "pos": [ + 250, + 1010 + ], + "size": [ + 230, + 100 + ], + "flags": { + "collapsed": false + }, + "order": 16, + "mode": 0, + "inputs": [ + { + "localized_name": "conditioning", + "name": "conditioning", + "type": "CONDITIONING", + "link": 199 + }, + { + "localized_name": "latent", + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": 193 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 194 + ] + } + ], + "properties": { + "Node name for S&R": "ReferenceLatent", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 74, + "type": "CLIPTextEncode", + "pos": [ + 30, + 200 + ], + "size": [ + 450, + 590 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 151 + }, + { + "localized_name": "text", + "name": "text", + "type": "STRING", + "widget": { + "name": "text" + }, + "link": 162 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 165, + 177, + 199 + ] + } + ], + "title": "CLIP Text Encode (Positive Prompt)", + "properties": { + "Node name for S&R": "CLIPTextEncode", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "Replace the background with a quiet coastal cliff at overcast sunset. Remove all buildings and streets. Add wind-shaped grass and a distant ocean horizon. Keep the subject’s pose and framing unchanged." + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 82, + "type": "ConditioningZeroOut", + "pos": [ + 250, + 870 + ], + "size": [ + 230, + 80 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [ + { + "localized_name": "conditioning", + "name": "conditioning", + "type": "CONDITIONING", + "link": 177 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 178, + 200 + ] + } + ], + "properties": { + "Node name for S&R": "ConditioningZeroOut", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.9.1", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 124, + "type": "VAEEncode", + "pos": [ + -30, + 1070 + ], + "size": [ + 230, + 100 + ], + "flags": { + "collapsed": false + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "localized_name": "pixels", + "name": "pixels", + "type": "IMAGE", + "link": 196 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 197 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 192, + 193 + ] + } + ], + "properties": { + "Node name for S&R": "VAEEncode", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + } + ], + "groups": [ + { + "id": 1, + "title": "Models", + "bounding": [ + -390, + 120, + 380, + 780 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 2, + "title": "Prompt", + "bounding": [ + 20, + 120, + 470, + 780 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 3, + "title": "Sampler", + "bounding": [ + 520, + 120, + 600, + 790 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 7, + "title": "Image Reference", + "bounding": [ + -390, + 930, + 880, + 330 + ], + "color": "#3f789e", + "flags": {} + } + ], + "links": [ + { + "id": 139, + "origin_id": 70, + "origin_slot": 0, + "target_id": 63, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 142, + "origin_id": 73, + "origin_slot": 0, + "target_id": 64, + "target_slot": 0, + "type": "NOISE" + }, + { + "id": 143, + "origin_id": 63, + "origin_slot": 0, + "target_id": 64, + "target_slot": 1, + "type": "GUIDER" + }, + { + "id": 144, + "origin_id": 61, + "origin_slot": 0, + "target_id": 64, + "target_slot": 2, + "type": "SAMPLER" + }, + { + "id": 145, + "origin_id": 62, + "origin_slot": 0, + "target_id": 64, + "target_slot": 3, + "type": "SIGMAS" + }, + { + "id": 146, + "origin_id": 66, + "origin_slot": 0, + "target_id": 64, + "target_slot": 4, + "type": "LATENT" + }, + { + "id": 147, + "origin_id": 64, + "origin_slot": 0, + "target_id": 65, + "target_slot": 0, + "type": "LATENT" + }, + { + "id": 148, + "origin_id": 72, + "origin_slot": 0, + "target_id": 65, + "target_slot": 1, + "type": "VAE" + }, + { + "id": 151, + "origin_id": 71, + "origin_slot": 0, + "target_id": 74, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 153, + "origin_id": 65, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 159, + "origin_id": -10, + "origin_slot": 0, + "target_id": 70, + "target_slot": 0, + "type": "COMBO" + }, + { + "id": 160, + "origin_id": -10, + "origin_slot": 1, + "target_id": 71, + "target_slot": 0, + "type": "COMBO" + }, + { + "id": 161, + "origin_id": -10, + "origin_slot": 2, + "target_id": 72, + "target_slot": 0, + "type": "COMBO" + }, + { + "id": 162, + "origin_id": -10, + "origin_slot": 3, + "target_id": 74, + "target_slot": 1, + "type": "STRING" + }, + { + "id": 165, + "origin_id": 74, + "origin_slot": 0, + "target_id": 79, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 169, + "origin_id": 80, + "origin_slot": 0, + "target_id": 79, + "target_slot": 2, + "type": "IMAGE" + }, + { + "id": 170, + "origin_id": 80, + "origin_slot": 0, + "target_id": 99, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 171, + "origin_id": 99, + "origin_slot": 0, + "target_id": 62, + "target_slot": 0, + "type": "INT" + }, + { + "id": 172, + "origin_id": 99, + "origin_slot": 0, + "target_id": 66, + "target_slot": 0, + "type": "INT" + }, + { + "id": 173, + "origin_id": 99, + "origin_slot": 1, + "target_id": 62, + "target_slot": 1, + "type": "INT" + }, + { + "id": 174, + "origin_id": 99, + "origin_slot": 1, + "target_id": 66, + "target_slot": 1, + "type": "INT" + }, + { + "id": 175, + "origin_id": -10, + "origin_slot": 4, + "target_id": 80, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 176, + "origin_id": 72, + "origin_slot": 0, + "target_id": 79, + "target_slot": 3, + "type": "VAE" + }, + { + "id": 177, + "origin_id": 74, + "origin_slot": 0, + "target_id": 82, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 178, + "origin_id": 82, + "origin_slot": 0, + "target_id": 79, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 192, + "origin_id": 124, + "origin_slot": 0, + "target_id": 123, + "target_slot": 1, + "type": "LATENT" + }, + { + "id": 193, + "origin_id": 124, + "origin_slot": 0, + "target_id": 125, + "target_slot": 1, + "type": "LATENT" + }, + { + "id": 194, + "origin_id": 125, + "origin_slot": 0, + "target_id": 63, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 195, + "origin_id": 123, + "origin_slot": 0, + "target_id": 63, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 196, + "origin_id": 80, + "origin_slot": 0, + "target_id": 124, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 197, + "origin_id": 72, + "origin_slot": 0, + "target_id": 124, + "target_slot": 1, + "type": "VAE" + }, + { + "id": 199, + "origin_id": 74, + "origin_slot": 0, + "target_id": 125, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 200, + "origin_id": 82, + "origin_slot": 0, + "target_id": 123, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 219, + "origin_id": -10, + "origin_slot": 5, + "target_id": 73, + "target_slot": 0, + "type": "INT" + } + ], + "extra": { + "workflowRendererVersion": "LG", + "ue_links": [] + } + }, + { + "id": "65c22b29-59aa-496b-89c6-55a603658670", + "version": 1, + "state": { + "lastGroupId": 7, + "lastNodeId": 150, + "lastLinkId": 220, + "lastRerouteId": 0 + }, + "revision": 0, + "config": {}, + "name": "Image Edit (Flux.2 Klein 9B Distilled)", + "inputNode": { + "id": -10, + "bounding": [ + -730, + 580, + 142.36328125, + 160 + ] + }, + "outputNode": { + "id": -20, + "bounding": [ + 1295.3333202680028, + 573.833333604156, + 120, + 60 + ] + }, + "inputs": [ + { + "id": "ae713dbf-52cb-471a-807d-b12fa9acbb48", + "name": "unet_name", + "type": "COMBO", + "linkIds": [ + 159 + ], + "pos": [ + -607.63671875, + 600 + ] + }, + { + "id": "f29f705e-e43a-4502-b231-a1eea93a1d69", + "name": "clip_name", + "type": "COMBO", + "linkIds": [ + 160 + ], + "pos": [ + -607.63671875, + 620 + ] + }, + { + "id": "a954f490-386b-4367-9ea1-1b65913963a5", + "name": "vae_name", + "type": "COMBO", + "linkIds": [ + 161 + ], + "pos": [ + -607.63671875, + 640 + ] + }, + { + "id": "7061147a-fb75-450d-8e97-c8be594a8e16", + "name": "text", + "type": "STRING", + "linkIds": [ + 162 + ], + "label": "prompt", + "pos": [ + -607.63671875, + 660 + ] + }, + { + "id": "68629112-b7b0-41ce-8912-23adad00d3db", + "name": "image", + "type": "IMAGE", + "linkIds": [ + 175 + ], + "label": "reference_image1", + "pos": [ + -607.63671875, + 680 + ] + }, + { + "id": "7e0c98fd-26e9-412a-a112-171e50fe2d0c", + "name": "image_1", + "type": "IMAGE", + "linkIds": [ + 186 + ], + "label": "reference_image2", + "pos": [ + -607.63671875, + 700 + ] + }, + { + "id": "76fc7d5b-0139-4a94-8602-8e86137bd411", + "name": "noise_seed", + "type": "INT", + "linkIds": [ + 220 + ], + "pos": [ + 0, + 0 + ] + } + ], + "outputs": [ + { + "id": "c5e7966d-07ed-4c9a-ad89-9d378a41ea7b", + "name": "IMAGE", + "type": "IMAGE", + "linkIds": [ + 153 + ], + "localized_name": "IMAGE", + "pos": [ + 1315.3333202680028, + 593.833333604156 + ] + } + ], + "widgets": [], + "nodes": [ + { + "id": 101, + "type": "KSamplerSelect", + "pos": [ + 490, + 590 + ], + "size": [ + 270, + 110 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "localized_name": "SAMPLER", + "name": "SAMPLER", + "type": "SAMPLER", + "links": [ + 144 + ] + } + ], + "properties": { + "Node name for S&R": "KSamplerSelect", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "euler" + ] + }, + { + "id": 102, + "type": "Flux2Scheduler", + "pos": [ + 490, + 750 + ], + "size": [ + 270, + 170 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "localized_name": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 171 + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 173 + } + ], + "outputs": [ + { + "localized_name": "SIGMAS", + "name": "SIGMAS", + "type": "SIGMAS", + "links": [ + 145 + ] + } + ], + "properties": { + "Node name for S&R": "Flux2Scheduler", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 4, + 1024, + 1024 + ] + }, + { + "id": 103, + "type": "CFGGuider", + "pos": [ + 490, + 380 + ], + "size": [ + 270, + 160 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "localized_name": "model", + "name": "model", + "type": "MODEL", + "link": 139 + }, + { + "localized_name": "positive", + "name": "positive", + "type": "CONDITIONING", + "link": 211 + }, + { + "localized_name": "negative", + "name": "negative", + "type": "CONDITIONING", + "link": 212 + } + ], + "outputs": [ + { + "localized_name": "GUIDER", + "name": "GUIDER", + "type": "GUIDER", + "links": [ + 143 + ] + } + ], + "properties": { + "Node name for S&R": "CFGGuider", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 1 + ] + }, + { + "id": 104, + "type": "SamplerCustomAdvanced", + "pos": [ + 830, + 220 + ], + "size": [ + 230, + 170 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "localized_name": "noise", + "name": "noise", + "type": "NOISE", + "link": 142 + }, + { + "localized_name": "guider", + "name": "guider", + "type": "GUIDER", + "link": 143 + }, + { + "localized_name": "sampler", + "name": "sampler", + "type": "SAMPLER", + "link": 144 + }, + { + "localized_name": "sigmas", + "name": "sigmas", + "type": "SIGMAS", + "link": 145 + }, + { + "localized_name": "latent_image", + "name": "latent_image", + "type": "LATENT", + "link": 146 + } + ], + "outputs": [ + { + "localized_name": "output", + "name": "output", + "type": "LATENT", + "links": [ + 147 + ] + }, + { + "localized_name": "denoised_output", + "name": "denoised_output", + "type": "LATENT", + "links": [] + } + ], + "properties": { + "Node name for S&R": "SamplerCustomAdvanced", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 105, + "type": "VAEDecode", + "pos": [ + 1260, + 200 + ], + "size": [ + 230, + 100 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "localized_name": "samples", + "name": "samples", + "type": "LATENT", + "link": 147 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 148 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 153 + ] + } + ], + "properties": { + "Node name for S&R": "VAEDecode", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 106, + "type": "RandomNoise", + "pos": [ + 490, + 220 + ], + "size": [ + 270, + 110 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "localized_name": "noise_seed", + "name": "noise_seed", + "type": "INT", + "widget": { + "name": "noise_seed" + }, + "link": 220 + } + ], + "outputs": [ + { + "localized_name": "NOISE", + "name": "NOISE", + "type": "NOISE", + "links": [ + 142 + ] + } + ], + "properties": { + "Node name for S&R": "RandomNoise", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 583453753589969, + "randomize" + ] + }, + { + "id": 107, + "type": "UNETLoader", + "pos": [ + -460, + 230 + ], + "size": [ + 370, + 110 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "localized_name": "unet_name", + "name": "unet_name", + "type": "COMBO", + "widget": { + "name": "unet_name" + }, + "link": 159 + } + ], + "outputs": [ + { + "localized_name": "MODEL", + "name": "MODEL", + "type": "MODEL", + "links": [ + 139 + ] + } + ], + "properties": { + "Node name for S&R": "UNETLoader", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "models": [ + { + "name": "flux-2-klein-9b-fp8.safetensors", + "url": "https://huggingface.co/black-forest-labs/FLUX.2-klein-9b-fp8/resolve/main/flux-2-klein-9b-fp8.safetensors", + "directory": "diffusion_models" + } + ], + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "flux-2-klein-9b-fp8.safetensors", + "default" + ] + }, + { + "id": 108, + "type": "CLIPLoader", + "pos": [ + -460, + 460 + ], + "size": [ + 370, + 150 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "localized_name": "clip_name", + "name": "clip_name", + "type": "COMBO", + "widget": { + "name": "clip_name" + }, + "link": 160 + } + ], + "outputs": [ + { + "localized_name": "CLIP", + "name": "CLIP", + "type": "CLIP", + "links": [ + 151 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPLoader", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "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" + } + ], + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "qwen_3_8b_fp8mixed.safetensors", + "flux2", + "default" + ] + }, + { + "id": 109, + "type": "CLIPTextEncode", + "pos": [ + -20, + 230 + ], + "size": [ + 450, + 340 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "localized_name": "clip", + "name": "clip", + "type": "CLIP", + "link": 151 + }, + { + "localized_name": "text", + "name": "text", + "type": "STRING", + "widget": { + "name": "text" + }, + "link": 162 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 165, + 187, + 207 + ] + } + ], + "title": "CLIP Text Encode (Positive Prompt)", + "properties": { + "Node name for S&R": "CLIPTextEncode", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "Let this character hold the bag with both hands" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 86, + "type": "ConditioningZeroOut", + "pos": [ + -30, + 640 + ], + "size": [ + 230, + 80 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "localized_name": "conditioning", + "name": "conditioning", + "type": "CONDITIONING", + "link": 187 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 188, + 208 + ] + } + ], + "properties": { + "Node name for S&R": "ConditioningZeroOut", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 113, + "type": "EmptyFlux2LatentImage", + "pos": [ + 850, + 990 + ], + "size": [ + 270, + 170 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "localized_name": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 172 + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 174 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 146 + ] + } + ], + "properties": { + "Node name for S&R": "EmptyFlux2LatentImage", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 114, + "type": "GetImageSize", + "pos": [ + 570, + 1020 + ], + "size": [ + 230, + 120 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 170 + } + ], + "outputs": [ + { + "localized_name": "width", + "name": "width", + "type": "INT", + "links": [ + 171, + 172 + ] + }, + { + "localized_name": "height", + "name": "height", + "type": "INT", + "links": [ + 173, + 174 + ] + }, + { + "localized_name": "batch_size", + "name": "batch_size", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "GetImageSize", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 127, + "type": "VAEEncode", + "pos": [ + -130, + 1020 + ], + "size": [ + 230, + 100 + ], + "flags": { + "collapsed": false + }, + "order": 16, + "mode": 0, + "inputs": [ + { + "localized_name": "pixels", + "name": "pixels", + "type": "IMAGE", + "link": 205 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 206 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 201, + 202 + ] + } + ], + "properties": { + "Node name for S&R": "VAEEncode", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 129, + "type": "ReferenceLatent", + "pos": [ + 190, + 1580 + ], + "size": [ + 230, + 100 + ], + "flags": { + "collapsed": false + }, + "order": 18, + "mode": 0, + "inputs": [ + { + "localized_name": "conditioning", + "name": "conditioning", + "type": "CONDITIONING", + "link": 216 + }, + { + "localized_name": "latent", + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": 209 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 212 + ] + } + ], + "properties": { + "Node name for S&R": "ReferenceLatent", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 131, + "type": "ReferenceLatent", + "pos": [ + 180, + 1420 + ], + "size": [ + 230, + 100 + ], + "flags": { + "collapsed": false + }, + "order": 20, + "mode": 0, + "inputs": [ + { + "localized_name": "conditioning", + "name": "conditioning", + "type": "CONDITIONING", + "link": 215 + }, + { + "localized_name": "latent", + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": 210 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 211 + ] + } + ], + "properties": { + "Node name for S&R": "ReferenceLatent", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 130, + "type": "VAEEncode", + "pos": [ + -130, + 1430 + ], + "size": [ + 230, + 100 + ], + "flags": { + "collapsed": false + }, + "order": 19, + "mode": 0, + "inputs": [ + { + "localized_name": "pixels", + "name": "pixels", + "type": "IMAGE", + "link": 213 + }, + { + "localized_name": "vae", + "name": "vae", + "type": "VAE", + "link": 214 + } + ], + "outputs": [ + { + "localized_name": "LATENT", + "name": "LATENT", + "type": "LATENT", + "links": [ + 209, + 210 + ] + } + ], + "properties": { + "Node name for S&R": "VAEEncode", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 110, + "type": "VAELoader", + "pos": [ + -450, + 730 + ], + "size": [ + 370, + 110 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "localized_name": "vae_name", + "name": "vae_name", + "type": "COMBO", + "widget": { + "name": "vae_name" + }, + "link": 161 + } + ], + "outputs": [ + { + "localized_name": "VAE", + "name": "VAE", + "type": "VAE", + "links": [ + 148, + 176, + 181, + 206, + 214 + ] + } + ], + "properties": { + "Node name for S&R": "VAELoader", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "models": [ + { + "name": "full_encoder_small_decoder.safetensors", + "url": "https://huggingface.co/black-forest-labs/FLUX.2-small-decoder/resolve/main/full_encoder_small_decoder.safetensors", + "directory": "vae" + } + ], + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "full_encoder_small_decoder.safetensors" + ] + }, + { + "id": 128, + "type": "ReferenceLatent", + "pos": [ + 190, + 1020 + ], + "size": [ + 230, + 100 + ], + "flags": { + "collapsed": false + }, + "order": 17, + "mode": 0, + "inputs": [ + { + "localized_name": "conditioning", + "name": "conditioning", + "type": "CONDITIONING", + "link": 207 + }, + { + "localized_name": "latent", + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": 202 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 203, + 215 + ] + } + ], + "properties": { + "Node name for S&R": "ReferenceLatent", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 126, + "type": "ReferenceLatent", + "pos": [ + 190, + 1160 + ], + "size": [ + 230, + 100 + ], + "flags": { + "collapsed": false + }, + "order": 15, + "mode": 0, + "inputs": [ + { + "localized_name": "conditioning", + "name": "conditioning", + "type": "CONDITIONING", + "link": 208 + }, + { + "localized_name": "latent", + "name": "latent", + "shape": 7, + "type": "LATENT", + "link": 201 + } + ], + "outputs": [ + { + "localized_name": "CONDITIONING", + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 204, + 216 + ] + } + ], + "properties": { + "Node name for S&R": "ReferenceLatent", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [] + }, + { + "id": 111, + "type": "ImageScaleToTotalPixels", + "pos": [ + -450, + 1020 + ], + "size": [ + 270, + 140 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 175 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 169, + 170, + 205 + ] + } + ], + "properties": { + "Node name for S&R": "ImageScaleToTotalPixels", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "lanczos", + 1, + 1 + ] + }, + { + "id": 85, + "type": "ImageScaleToTotalPixels", + "pos": [ + -440, + 1420 + ], + "size": [ + 270, + 140 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "localized_name": "image", + "name": "image", + "type": "IMAGE", + "link": 186 + } + ], + "outputs": [ + { + "localized_name": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 180, + 213 + ] + } + ], + "properties": { + "Node name for S&R": "ImageScaleToTotalPixels", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65, + "cnr_id": "comfy-core", + "ver": "0.8.2", + "ue_properties": { + "widget_ue_connectable": {}, + "version": "7.7", + "input_ue_unconnectable": {} + } + }, + "widgets_values": [ + "lanczos", + 1, + 1 + ] + } + ], + "groups": [ + { + "id": 1, + "title": "Models", + "bounding": [ + -470, + 140, + 400, + 760 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 2, + "title": "Prompt", + "bounding": [ + -40, + 140, + 470, + 760 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 3, + "title": "Sampler", + "bounding": [ + 460, + 140, + 610, + 800 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 5, + "title": "Reference Image 1", + "bounding": [ + -470, + 930, + 910, + 370 + ], + "color": "#3f789e", + "flags": {} + }, + { + "id": 6, + "title": "Reference Image 2", + "bounding": [ + -460, + 1330, + 900, + 380 + ], + "color": "#3f789e", + "flags": {} + } + ], + "links": [ + { + "id": 139, + "origin_id": 107, + "origin_slot": 0, + "target_id": 103, + "target_slot": 0, + "type": "MODEL" + }, + { + "id": 142, + "origin_id": 106, + "origin_slot": 0, + "target_id": 104, + "target_slot": 0, + "type": "NOISE" + }, + { + "id": 143, + "origin_id": 103, + "origin_slot": 0, + "target_id": 104, + "target_slot": 1, + "type": "GUIDER" + }, + { + "id": 144, + "origin_id": 101, + "origin_slot": 0, + "target_id": 104, + "target_slot": 2, + "type": "SAMPLER" + }, + { + "id": 145, + "origin_id": 102, + "origin_slot": 0, + "target_id": 104, + "target_slot": 3, + "type": "SIGMAS" + }, + { + "id": 146, + "origin_id": 113, + "origin_slot": 0, + "target_id": 104, + "target_slot": 4, + "type": "LATENT" + }, + { + "id": 147, + "origin_id": 104, + "origin_slot": 0, + "target_id": 105, + "target_slot": 0, + "type": "LATENT" + }, + { + "id": 148, + "origin_id": 110, + "origin_slot": 0, + "target_id": 105, + "target_slot": 1, + "type": "VAE" + }, + { + "id": 151, + "origin_id": 108, + "origin_slot": 0, + "target_id": 109, + "target_slot": 0, + "type": "CLIP" + }, + { + "id": 153, + "origin_id": 105, + "origin_slot": 0, + "target_id": -20, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 159, + "origin_id": -10, + "origin_slot": 0, + "target_id": 107, + "target_slot": 0, + "type": "COMBO" + }, + { + "id": 160, + "origin_id": -10, + "origin_slot": 1, + "target_id": 108, + "target_slot": 0, + "type": "COMBO" + }, + { + "id": 161, + "origin_id": -10, + "origin_slot": 2, + "target_id": 110, + "target_slot": 0, + "type": "COMBO" + }, + { + "id": 162, + "origin_id": -10, + "origin_slot": 3, + "target_id": 109, + "target_slot": 1, + "type": "STRING" + }, + { + "id": 165, + "origin_id": 109, + "origin_slot": 0, + "target_id": 112, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 169, + "origin_id": 111, + "origin_slot": 0, + "target_id": 112, + "target_slot": 2, + "type": "IMAGE" + }, + { + "id": 170, + "origin_id": 111, + "origin_slot": 0, + "target_id": 114, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 171, + "origin_id": 114, + "origin_slot": 0, + "target_id": 102, + "target_slot": 0, + "type": "INT" + }, + { + "id": 172, + "origin_id": 114, + "origin_slot": 0, + "target_id": 113, + "target_slot": 0, + "type": "INT" + }, + { + "id": 173, + "origin_id": 114, + "origin_slot": 1, + "target_id": 102, + "target_slot": 1, + "type": "INT" + }, + { + "id": 174, + "origin_id": 114, + "origin_slot": 1, + "target_id": 113, + "target_slot": 1, + "type": "INT" + }, + { + "id": 175, + "origin_id": -10, + "origin_slot": 4, + "target_id": 111, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 176, + "origin_id": 110, + "origin_slot": 0, + "target_id": 112, + "target_slot": 3, + "type": "VAE" + }, + { + "id": 180, + "origin_id": 85, + "origin_slot": 0, + "target_id": 84, + "target_slot": 2, + "type": "IMAGE" + }, + { + "id": 181, + "origin_id": 110, + "origin_slot": 0, + "target_id": 84, + "target_slot": 3, + "type": "VAE" + }, + { + "id": 186, + "origin_id": -10, + "origin_slot": 5, + "target_id": 85, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 187, + "origin_id": 109, + "origin_slot": 0, + "target_id": 86, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 188, + "origin_id": 86, + "origin_slot": 0, + "target_id": 112, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 201, + "origin_id": 127, + "origin_slot": 0, + "target_id": 126, + "target_slot": 1, + "type": "LATENT" + }, + { + "id": 202, + "origin_id": 127, + "origin_slot": 0, + "target_id": 128, + "target_slot": 1, + "type": "LATENT" + }, + { + "id": 203, + "origin_id": 128, + "origin_slot": 0, + "target_id": 84, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 204, + "origin_id": 126, + "origin_slot": 0, + "target_id": 84, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 205, + "origin_id": 111, + "origin_slot": 0, + "target_id": 127, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 206, + "origin_id": 110, + "origin_slot": 0, + "target_id": 127, + "target_slot": 1, + "type": "VAE" + }, + { + "id": 207, + "origin_id": 109, + "origin_slot": 0, + "target_id": 128, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 208, + "origin_id": 86, + "origin_slot": 0, + "target_id": 126, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 209, + "origin_id": 130, + "origin_slot": 0, + "target_id": 129, + "target_slot": 1, + "type": "LATENT" + }, + { + "id": 210, + "origin_id": 130, + "origin_slot": 0, + "target_id": 131, + "target_slot": 1, + "type": "LATENT" + }, + { + "id": 211, + "origin_id": 131, + "origin_slot": 0, + "target_id": 103, + "target_slot": 1, + "type": "CONDITIONING" + }, + { + "id": 212, + "origin_id": 129, + "origin_slot": 0, + "target_id": 103, + "target_slot": 2, + "type": "CONDITIONING" + }, + { + "id": 213, + "origin_id": 85, + "origin_slot": 0, + "target_id": 130, + "target_slot": 0, + "type": "IMAGE" + }, + { + "id": 214, + "origin_id": 110, + "origin_slot": 0, + "target_id": 130, + "target_slot": 1, + "type": "VAE" + }, + { + "id": 215, + "origin_id": 128, + "origin_slot": 0, + "target_id": 131, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 216, + "origin_id": 126, + "origin_slot": 0, + "target_id": 129, + "target_slot": 0, + "type": "CONDITIONING" + }, + { + "id": 220, + "origin_id": -10, + "origin_slot": 6, + "target_id": 106, + "target_slot": 0, + "type": "INT" + } + ], + "extra": { + "workflowRendererVersion": "LG", + "ue_links": [] + } + } + ] + }, + "config": {}, + "extra": { + "frontendVersion": "1.47.10", + "workflowRendererVersion": "LG", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true, + "ds": { + "scale": 0.6209213230591553, + "offset": [ + 786.1389809017754, + -91.76577764403532 + ] + }, + "ue_links": [] + }, + "version": 0.4 +} diff --git a/optimized/image-edit/zimage-turbo-3070-inpaint-start/README.md b/optimized/image-edit/zimage-turbo-3070-inpaint-start/README.md new file mode 100644 index 0000000..3ff248d --- /dev/null +++ b/optimized/image-edit/zimage-turbo-3070-inpaint-start/README.md @@ -0,0 +1,61 @@ +# Z-Image Turbo 3070 Inpaint Start + +## Summary + +Best current `Z-Image` edit starter for inpainting on tighter VRAM. + +This master is a curated hold of the community inpainting workflow because it gives us a real edit path while still staying more plausible on a `3070` than heavier image stacks. + +## Status + +- `best-current` +- `not-yet-tested-on-chris-box` + +## Workflow asset + +- `workflow.json` + +## Built from + +- `models/zimage/z-image-turbo-inpainting-community/` + +## Why this is the current master + +- It is the strongest actual `Z-Image Turbo` edit workflow we have right now. +- Editing matters more than toy text-to-image wins for practical day-to-day use. +- The graph is specific enough to be useful without being a giant kitchen-sink workflow. + +## What I intentionally kept + +- inpainting-focused graph shape +- existing `ZImageFunControlnet` route +- community sampler path that is already wired for edit work + +## What I intentionally did not add yet + +- control-union extras from the separate community workflow +- any manual sampler surgery before real testing +- any claim that this is better than `FLUX.2-klein` for edits + +## Required models + +- `models/text_encoders/qwen_3_4b.safetensors` +- `models/diffusion_models/z_image_turbo_bf16.safetensors` +- `models/vae/ae.safetensors` + +## Required custom nodes + +- `rgthree-comfy` +- the package that provides `LanPaint_KSampler` +- the package that provides `ZImageFunControlnet` + +## Monday test checklist + +- Confirm missing custom nodes first. +- Check whether masked edits are stable enough to keep. +- Compare it directly against the `flux2klein` edit master on the same input. + +## Next optimization candidates + +- reduce custom-node dependency count if the graph is good but fragile +- borrow only the useful control ideas from the community control-union workflow diff --git a/optimized/image-edit/zimage-turbo-3070-inpaint-start/workflow.json b/optimized/image-edit/zimage-turbo-3070-inpaint-start/workflow.json new file mode 100644 index 0000000..6dcba44 --- /dev/null +++ b/optimized/image-edit/zimage-turbo-3070-inpaint-start/workflow.json @@ -0,0 +1,1386 @@ +{ + "id": "9ae6082b-c7f4-433c-9971-7a8f65a3ea65", + "revision": 0, + "last_node_id": 93, + "last_link_id": 181, + "nodes": [ + { + "id": 43, + "type": "VAEDecode", + "pos": [ + 1638.6557841572442, + 287.70895019684696 + ], + "size": [ + 210, + 46 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 156 + }, + { + "name": "vae", + "type": "VAE", + "link": 39 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 45, + 73 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.64", + "Node name for S&R": "VAEDecode", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [] + }, + { + "id": 9, + "type": "SaveImage", + "pos": [ + 1631.1679091652195, + 384.18118690520635 + ], + "size": [ + 600.7397389185485, + 569.5766824633388 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 45 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.64", + "Node name for S&R": "SaveImage", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + "z-image" + ] + }, + { + "id": 47, + "type": "ModelSamplingAuraFlow", + "pos": [ + 553.9264505287267, + 164.93100897501228 + ], + "size": [ + 310, + 60 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 78 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 62 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.64", + "Node name for S&R": "ModelSamplingAuraFlow", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + 3 + ] + }, + { + "id": 46, + "type": "UNETLoader", + "pos": [ + 155.34356855654113, + 163.96300709643853 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 78 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.73", + "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" + } + ], + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + "z_image_turbo_bf16.safetensors", + "default" + ] + }, + { + "id": 39, + "type": "CLIPLoader", + "pos": [ + 155.34356855654113, + 292.88442138852224 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 44 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.73", + "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" + } + ], + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + "qwen_3_4b.safetensors", + "lumina2", + "default" + ] + }, + { + "id": 58, + "type": "ModelPatchLoader", + "pos": [ + 155.34356855654113, + 547.4244164948062 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL_PATCH", + "type": "MODEL_PATCH", + "links": [ + 64 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "ModelPatchLoader" + }, + "widgets_values": [ + "Z-Image-Turbo-Fun-Controlnet-Union-2.1.safetensors" + ] + }, + { + "id": 62, + "type": "Image Comparer (rgthree)", + "pos": [ + 2249.1515288475593, + 386.1673689802093 + ], + "size": [ + 664.0324307956365, + 569.202622950918 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "image_a", + "type": "IMAGE", + "link": 73 + }, + { + "dir": 3, + "name": "image_b", + "type": "IMAGE", + "link": 180 + } + ], + "outputs": [], + "properties": { + "cnr_id": "rgthree-comfy", + "ver": "1.0.2512092137", + "comparer_mode": "Slide" + }, + "widgets_values": [ + [ + { + "name": "A", + "selected": true, + "url": "/api/view?filename=rgthree.compare._temp_ftznp_00013_.png&type=temp&subfolder=&rand=0.569930398014754" + }, + { + "name": "B", + "selected": true, + "url": "/api/view?filename=rgthree.compare._temp_ftznp_00014_.png&type=temp&subfolder=&rand=0.23729090581088141" + } + ] + ] + }, + { + "id": 79, + "type": "ConditioningZeroOut", + "pos": [ + 908.9403668932829, + 493.766812236681 + ], + "size": [ + 204.134765625, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 118 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 143 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "ConditioningZeroOut" + }, + "widgets_values": [] + }, + { + "id": 40, + "type": "VAELoader", + "pos": [ + 155.34356855654113, + 441.8058973963627 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 39, + 72, + 116, + 159, + 179 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.73", + "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" + } + ], + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + "ae.safetensors" + ] + }, + { + "id": 93, + "type": "VAEEncode", + "pos": [ + 1228.5229911730742, + 841.7907505691454 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 177 + }, + { + "name": "vae", + "type": "VAE", + "link": 179 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 178 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAEEncode" + }, + "widgets_values": [] + }, + { + "id": 60, + "type": "VAEEncode", + "pos": [ + 533.5556510272484, + 1003.2887564105164 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 176 + }, + { + "name": "vae", + "type": "VAE", + "link": 116 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 158 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAEEncode" + }, + "widgets_values": [] + }, + { + "id": 87, + "type": "VAEDecode", + "pos": [ + 533.5556510272484, + 1095.3250161329831 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 158 + }, + { + "name": "vae", + "type": "VAE", + "link": 159 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 160 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 88, + "type": "GetImageSize", + "pos": [ + 533.5556510272484, + 1183.367925501515 + ], + "size": [ + 140, + 124 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 160 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 167, + 171 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 168, + 172 + ] + }, + { + "name": "batch_size", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "GetImageSize" + }, + "widgets_values": [ + "width: 832, height: 1248\n batch size: 1" + ] + }, + { + "id": 61, + "type": "ImageScaleToTotalPixels", + "pos": [ + 699.8450629317813, + 1000.7208100710018 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 67 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 163, + 176, + 180 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "ImageScaleToTotalPixels" + }, + "widgets_values": [ + "lanczos", + 1, + 1 + ] + }, + { + "id": 90, + "type": "ImageScale", + "pos": [ + 994.4228355500111, + 1000.658392512151 + ], + "size": [ + 272.6100778450698, + 130 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 163 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 171 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 172 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 164, + 177 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "ImageScale" + }, + "widgets_values": [ + "lanczos", + 512, + 512, + "center" + ] + }, + { + "id": 75, + "type": "GrowMaskWithBlur", + "pos": [ + 994.147635716615, + 1182.7798562537848 + ], + "size": [ + 274.9337451689638, + 246 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 166 + } + ], + "outputs": [ + { + "name": "mask", + "type": "MASK", + "links": [ + 115, + 134 + ] + }, + { + "name": "mask_inverted", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "1.2.0", + "Node name for S&R": "GrowMaskWithBlur" + }, + "widgets_values": [ + 0, + 0, + true, + false, + 14.9, + 1, + 1, + true + ] + }, + { + "id": 91, + "type": "ResizeMask", + "pos": [ + 702.0895367701734, + 1161.1134316252424 + ], + "size": [ + 270, + 194 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 165 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 167 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 168 + } + ], + "outputs": [ + { + "name": "mask", + "type": "MASK", + "links": [ + 166 + ] + }, + { + "name": "width", + "type": "INT", + "links": [] + }, + { + "name": "height", + "type": "INT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "1.2.0", + "Node name for S&R": "ResizeMask" + }, + "widgets_values": [ + 512, + 512, + false, + "lanczos", + "center" + ] + }, + { + "id": 59, + "type": "LoadImage", + "pos": [ + 154.20934587082598, + 811.8897984945345 + ], + "size": [ + 313.95208594633107, + 367.3248187355832 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 67 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 165 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "LoadImage", + "image": "clipspace/clipspace-painted-masked-1766131323421.png [input]" + }, + "widgets_values": [ + "clipspace/clipspace-painted-masked-1766131323421.png [input]", + "image" + ] + }, + { + "id": 45, + "type": "CLIPTextEncode", + "pos": [ + 449.1852656203733, + 292.3117851259836 + ], + "size": [ + 410, + 370 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 44 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 118, + 142 + ] + } + ], + "title": "CLIP Text Encode (Positive Prompt)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.73", + "Node name for S&R": "CLIPTextEncode", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + "Add a red hair" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 83, + "type": "LanPaint_KSampler", + "pos": [ + 1228.4177795415317, + 378.027245177471 + ], + "size": [ + 344.9357787945519, + 414.22105771688007 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 181 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 142 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 143 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 148 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 156 + ] + } + ], + "properties": { + "cnr_id": "lanpaint", + "ver": "1.4.7", + "Node name for S&R": "LanPaint_KSampler" + }, + "widgets_values": [ + 976934387198210, + "randomize", + 15, + 1, + "euler", + "simple", + 1, + 1, + "Image First", + "", + "πŸ–ΌοΈ Image Inpainting" + ] + }, + { + "id": 73, + "type": "SetLatentNoiseMask", + "pos": [ + 1390.9524527425078, + 839.5538203143134 + ], + "size": [ + 189.21584925157813, + 46 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 178 + }, + { + "name": "mask", + "type": "MASK", + "link": 115 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 148 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "SetLatentNoiseMask" + }, + "widgets_values": [] + }, + { + "id": 57, + "type": "ZImageFunControlnet", + "pos": [ + 891.037086528534, + 731.0343183968774 + ], + "size": [ + 270, + 158 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 62 + }, + { + "name": "model_patch", + "type": "MODEL_PATCH", + "link": 64 + }, + { + "name": "vae", + "type": "VAE", + "link": 72 + }, + { + "name": "image", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "inpaint_image", + "shape": 7, + "type": "IMAGE", + "link": 164 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 134 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 181 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "ZImageFunControlnet" + }, + "widgets_values": [ + 0.7 + ] + } + ], + "links": [ + [ + 39, + 40, + 0, + 43, + 1, + "VAE" + ], + [ + 44, + 39, + 0, + 45, + 0, + "CLIP" + ], + [ + 45, + 43, + 0, + 9, + 0, + "IMAGE" + ], + [ + 62, + 47, + 0, + 57, + 0, + "MODEL" + ], + [ + 64, + 58, + 0, + 57, + 1, + "MODEL_PATCH" + ], + [ + 67, + 59, + 0, + 61, + 0, + "IMAGE" + ], + [ + 72, + 40, + 0, + 57, + 2, + "VAE" + ], + [ + 73, + 43, + 0, + 62, + 0, + "IMAGE" + ], + [ + 78, + 46, + 0, + 47, + 0, + "MODEL" + ], + [ + 115, + 75, + 0, + 73, + 1, + "MASK" + ], + [ + 116, + 40, + 0, + 60, + 1, + "VAE" + ], + [ + 118, + 45, + 0, + 79, + 0, + "CONDITIONING" + ], + [ + 134, + 75, + 0, + 57, + 5, + "MASK" + ], + [ + 142, + 45, + 0, + 83, + 1, + "CONDITIONING" + ], + [ + 143, + 79, + 0, + 83, + 2, + "CONDITIONING" + ], + [ + 148, + 73, + 0, + 83, + 3, + "LATENT" + ], + [ + 156, + 83, + 0, + 43, + 0, + "LATENT" + ], + [ + 158, + 60, + 0, + 87, + 0, + "LATENT" + ], + [ + 159, + 40, + 0, + 87, + 1, + "VAE" + ], + [ + 160, + 87, + 0, + 88, + 0, + "IMAGE" + ], + [ + 163, + 61, + 0, + 90, + 0, + "IMAGE" + ], + [ + 164, + 90, + 0, + 57, + 4, + "IMAGE" + ], + [ + 165, + 59, + 1, + 91, + 0, + "MASK" + ], + [ + 166, + 91, + 0, + 75, + 0, + "MASK" + ], + [ + 167, + 88, + 0, + 91, + 1, + "INT" + ], + [ + 168, + 88, + 1, + 91, + 2, + "INT" + ], + [ + 171, + 88, + 0, + 90, + 1, + "INT" + ], + [ + 172, + 88, + 1, + 90, + 2, + "INT" + ], + [ + 176, + 61, + 0, + 60, + 0, + "IMAGE" + ], + [ + 177, + 90, + 0, + 93, + 0, + "IMAGE" + ], + [ + 178, + 93, + 0, + 73, + 0, + "LATENT" + ], + [ + 179, + 40, + 0, + 93, + 1, + "VAE" + ], + [ + 180, + 61, + 0, + 62, + 1, + "IMAGE" + ], + [ + 181, + 57, + 0, + 83, + 0, + "MODEL" + ] + ], + "groups": [ + { + "id": 1, + "title": "Scale Image & Mask", + "bounding": [ + 523.5556510272484, + 927.0583925121509, + 755.5257298583304, + 511.7214637416339 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.6209992132659914, + "offset": [ + -45.09195103443997, + -349.8746935992051 + ] + }, + "frontendVersion": "1.34.9", + "workflowRendererVersion": "LG", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "version": 0.4 +} \ No newline at end of file diff --git a/optimized/image-to-video/README.md b/optimized/image-to-video/README.md index f2f6bca..c2e8876 100644 --- a/optimized/image-to-video/README.md +++ b/optimized/image-to-video/README.md @@ -1,3 +1,7 @@ # Image-to-Video Masters Home for maintained category masters focused on image-to-video generation. + +## Current masters + +- `ltx23-3070-simple-master` diff --git a/optimized/image-to-video/ltx23-3070-simple-master/README.md b/optimized/image-to-video/ltx23-3070-simple-master/README.md new file mode 100644 index 0000000..03021d3 --- /dev/null +++ b/optimized/image-to-video/ltx23-3070-simple-master/README.md @@ -0,0 +1,56 @@ +# LTX 2.3 3070 Simple Master + +## Summary + +Best current `LTX 2.3` low-complexity starter for local video work. + +This master uses the simple single-pass workflow instead of the more ambitious first-last-frame or character-sheet variants because your `3070` needs a realistic first foothold, not the fanciest graph on paper. + +## Status + +- `best-current` +- `not-yet-tested-on-chris-box` + +## Workflow asset + +- `workflow.json` + +## Built from + +- `models/ltx/ltx23-i2v-t2v-simple-single-pass/` + +## Why this is the current master + +- Most plausible `LTX` starting point on tighter VRAM +- Simpler graph means less time chasing broken helper nodes +- Supports both `image-to-video` and `text-to-video` style experimentation from one baseline + +## What I intentionally kept + +- single-pass graph shape +- split-model assumption from the source pack +- lighter starting complexity than the bigger RuneXX graphs + +## What I intentionally did not add yet + +- first-last-frame complexity +- character-sheet consistency branches +- extra memory-efficiency gadgets unless needed + +## Required custom nodes + +- `ComfyUI-KJNodes` +- `rgthree-comfy` +- `easy use` / `easy showAnything` +- optional `ComfyUI-GGUF` support remains present in the source graph + +## Monday test checklist + +- Confirm whether it loads at all on the `3070`. +- Check whether preview/decode settings feel like the real bottleneck. +- If it works, then try the heavier first-last-frame workflow second. + +## Next optimization candidates + +- strip unused optional loader paths if they create confusion +- create a separate `first-last-frame` master only if the simple master proves viable diff --git a/optimized/image-to-video/ltx23-3070-simple-master/workflow.json b/optimized/image-to-video/ltx23-3070-simple-master/workflow.json new file mode 100644 index 0000000..69f3ffd --- /dev/null +++ b/optimized/image-to-video/ltx23-3070-simple-master/workflow.json @@ -0,0 +1,5125 @@ +{ + "id": "d15f72da-ab9c-490d-9386-b750d889c6f8", + "revision": 0, + "last_node_id": 362, + "last_link_id": 646, + "nodes": [ + { + "id": 218, + "type": "GetNode", + "pos": [ + -129.42226803816817, + 4196.461349362681 + ], + "size": [ + 270, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 445 + ] + } + ], + "title": "Get_vae", + "properties": {}, + "widgets_values": [ + "vae" + ], + "color": "#af3535", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 220, + "type": "GetNode", + "pos": [ + 915.2389825960021, + 3884.950284193325 + ], + "size": [ + 257.2388542190106, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 449 + ] + } + ], + "title": "Get_vae", + "properties": {}, + "widgets_values": [ + "vae" + ], + "color": "#af3535", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 238, + "type": "SetNode", + "pos": [ + -129.42226803816817, + 4381.5762979179335 + ], + "size": [ + 270, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 91, + "mode": 0, + "inputs": [ + { + "name": "LATENT", + "type": "LATENT", + "link": 465 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_latent", + "properties": { + "previousName": "latent" + }, + "widgets_values": [ + "latent" + ], + "color": "#422342", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 205, + "type": "GetNode", + "pos": [ + -129.42226803816817, + 3791.4450915646084 + ], + "size": [ + 270, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 424, + 425 + ] + } + ], + "title": "Get_frames", + "properties": {}, + "widgets_values": [ + "frames" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 211, + "type": "SetNode", + "pos": [ + -129.42226803816817, + 3664.535246780658 + ], + "size": [ + 270, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 77, + "mode": 0, + "inputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "link": 437 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_compress_image", + "properties": { + "previousName": "compress_image" + }, + "widgets_values": [ + "compress_image" + ], + "color": "#006691", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 282, + "type": "SetNode", + "pos": [ + -1264.5623087594242, + 4836.883066753237 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 69, + "mode": 0, + "inputs": [ + { + "name": "INT", + "type": "INT", + "link": 528 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_height", + "properties": { + "previousName": "" + }, + "widgets_values": [ + "height" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 283, + "type": "SetNode", + "pos": [ + -1497.6848116215458, + 4845.43525128396 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 68, + "mode": 0, + "inputs": [ + { + "name": "INT", + "type": "INT", + "link": 529 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_width", + "properties": { + "previousName": "" + }, + "widgets_values": [ + "width" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 284, + "type": "SetNode", + "pos": [ + -805.9064006334132, + 4832.406732533761 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 51, + "mode": 0, + "inputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "link": 530 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_fps", + "properties": { + "previousName": "" + }, + "widgets_values": [ + "fps" + ], + "color": "#346434", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 285, + "type": "PrimitiveFloat", + "pos": [ + -828.4853578355645, + 4820.213753539184 + ], + "size": [ + 210, + 61.42105412153796 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 530, + 533 + ] + } + ], + "title": "FPS", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.10.0", + "Node name for S&R": "PrimitiveFloat" + }, + "widgets_values": [ + 24 + ], + "color": "#006691", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 286, + "type": "SetNode", + "pos": [ + -1027.0002583727967, + 4846.272118953432 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 71, + "mode": 0, + "inputs": [ + { + "name": "INT", + "type": "INT", + "link": 531 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_frames", + "properties": { + "previousName": "" + }, + "widgets_values": [ + "frames" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 288, + "type": "SetNode", + "pos": [ + -435.5618508508995, + 4845.537109583825 + ], + "size": [ + 210, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 63, + "mode": 0, + "inputs": [ + { + "name": "BOOLEAN", + "type": "BOOLEAN", + "link": 534 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_t2v_mode", + "properties": { + "previousName": "" + }, + "widgets_values": [ + "t2v_mode" + ] + }, + { + "id": 221, + "type": "GetNode", + "pos": [ + 915.2389825960021, + 3983.089108499493 + ], + "size": [ + 257.2388542190106, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 448 + ] + } + ], + "title": "Get_vae_audio", + "properties": {}, + "widgets_values": [ + "vae_audio" + ], + "color": "#af3535", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 127, + "type": "VAEDecodeTiled", + "pos": [ + 915.2389825960021, + 3748.220700653191 + ], + "size": [ + 257.2388542190106, + 150 + ], + "flags": {}, + "order": 87, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 302 + }, + { + "name": "vae", + "type": "VAE", + "link": 449 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 313 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.7.0", + "Node name for S&R": "VAEDecodeTiled", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + 512, + 64, + 4096, + 8 + ] + }, + { + "id": 307, + "type": "GetNode", + "pos": [ + 1511.2452407931055, + 3592.0678473903613 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 561 + ] + } + ], + "title": "Get_fps", + "properties": {}, + "widgets_values": [ + "fps" + ] + }, + { + "id": 308, + "type": "GetNode", + "pos": [ + -129.42226803816817, + 4196.832409347547 + ], + "size": [ + 270, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "BOOLEAN", + "type": "BOOLEAN", + "links": [ + 563 + ] + } + ], + "title": "Get_t2v_mode", + "properties": {}, + "widgets_values": [ + "t2v_mode" + ] + }, + { + "id": 311, + "type": "SimpleCalculatorKJ", + "pos": [ + -129.42226803816817, + 4069.5171292630694 + ], + "size": [ + 270, + 128 + ], + "flags": { + "collapsed": true + }, + "order": 52, + "mode": 0, + "inputs": [ + { + "label": "a", + "name": "variables.a", + "shape": 7, + "type": "INT,FLOAT,BOOLEAN", + "link": 565 + }, + { + "label": "b", + "name": "variables.b", + "shape": 7, + "type": "INT,FLOAT,BOOLEAN", + "link": null + } + ], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": null + }, + { + "name": "INT", + "type": "INT", + "links": [ + 566 + ] + }, + { + "name": "BOOLEAN", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "debc47061f722e93fc9885c19facefcf59b6426a", + "Node name for S&R": "SimpleCalculatorKJ" + }, + "widgets_values": [ + "a" + ] + }, + { + "id": 310, + "type": "GetNode", + "pos": [ + -129.42226803816817, + 4056.9732641507644 + ], + "size": [ + 270, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 565 + ] + } + ], + "title": "Get_fps", + "properties": {}, + "widgets_values": [ + "fps" + ] + }, + { + "id": 217, + "type": "GetNode", + "pos": [ + -129.42226803816817, + 3998.3671211422625 + ], + "size": [ + 270, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 444 + ] + } + ], + "title": "Get_vae_audio", + "properties": {}, + "widgets_values": [ + "vae_audio" + ], + "color": "#af3535", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 240, + "type": "SetNode", + "pos": [ + -129.42226803816817, + 4040.939445629616 + ], + "size": [ + 270, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 79, + "mode": 0, + "inputs": [ + { + "name": "LATENT", + "type": "LATENT", + "link": 468 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_latent_audio", + "properties": { + "previousName": "latent_audio" + }, + "widgets_values": [ + "latent_audio" + ], + "color": "#422342", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 246, + "type": "ResizeImagesByLongerEdge", + "pos": [ + -1019.8779975664972, + 4367.062194105972 + ], + "size": [ + 243.6109375, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 73, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 479 + } + ], + "outputs": [ + { + "name": "images", + "type": "IMAGE", + "links": [ + 481 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "ResizeImagesByLongerEdge" + }, + "widgets_values": [ + 1536 + ] + }, + { + "id": 209, + "type": "SetNode", + "pos": [ + -988.9868935432019, + 4405.663635518321 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 81, + "mode": 0, + "inputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "link": 481 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_ref_image", + "properties": { + "previousName": "ref_image" + }, + "widgets_values": [ + "ref_image" + ], + "color": "#006691", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 244, + "type": "GetNode", + "pos": [ + -972.1177033180707, + 4319.307329996706 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 473 + ] + } + ], + "title": "Get_height", + "properties": {}, + "widgets_values": [ + "height" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 243, + "type": "GetNode", + "pos": [ + -978.287871495176, + 4269.931119158377 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 472 + ] + } + ], + "title": "Get_width", + "properties": {}, + "widgets_values": [ + "width" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 216, + "type": "SetNode", + "pos": [ + -1526.9793006711818, + 4450.867361500014 + ], + "size": [ + 364.0273046899474, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 54, + "mode": 0, + "inputs": [ + { + "name": "VAE", + "type": "VAE", + "link": 443 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_vae_audio", + "properties": { + "previousName": "vae_audio" + }, + "widgets_values": [ + "vae_audio" + ], + "color": "#af3535", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 215, + "type": "SetNode", + "pos": [ + -1526.9793006711818, + 4315.372884625767 + ], + "size": [ + 364.0273046899474, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 56, + "mode": 0, + "inputs": [ + { + "name": "VAE", + "type": "VAE", + "link": 442 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_vae", + "properties": { + "previousName": "vae" + }, + "widgets_values": [ + "vae" + ], + "color": "#af3535", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 213, + "type": "SetNode", + "pos": [ + -1526.9793006711818, + 4110.260657658327 + ], + "size": [ + 364.0273046899474, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 64, + "mode": 0, + "inputs": [ + { + "name": "CLIP", + "type": "CLIP", + "link": 550 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_clip", + "properties": { + "previousName": "clip" + }, + "widgets_values": [ + "clip" + ], + "color": "#c09430", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 225, + "type": "GetNode", + "pos": [ + 237.99144812298735, + 3813.700211629916 + ], + "size": [ + 271.305509971064, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [] + } + ], + "title": "Get_model", + "properties": {}, + "widgets_values": [ + "model" + ], + "color": "#1f1f48", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 231, + "type": "GetNode", + "pos": [ + 237.99144812298735, + 3808.091183626127 + ], + "size": [ + 271.305509971064, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 12, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 459 + ] + } + ], + "title": "Get_negative", + "properties": {}, + "widgets_values": [ + "negative" + ], + "color": "#38291f", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 230, + "type": "GetNode", + "pos": [ + 237.99144812298735, + 3808.3496174952584 + ], + "size": [ + 271.305509971064, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 460 + ] + } + ], + "title": "Get_positive", + "properties": {}, + "widgets_values": [ + "positive" + ], + "color": "#38291f", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 199, + "type": "LTXVEmptyLatentAudio", + "pos": [ + -129.42226803816817, + 3972.336880680874 + ], + "size": [ + 270, + 120 + ], + "flags": {}, + "order": 70, + "mode": 0, + "inputs": [ + { + "name": "audio_vae", + "type": "VAE", + "link": 444 + }, + { + "name": "frames_number", + "type": "INT", + "widget": { + "name": "frames_number" + }, + "link": 425 + }, + { + "name": "frame_rate", + "type": "INT", + "widget": { + "name": "frame_rate" + }, + "link": 566 + } + ], + "outputs": [ + { + "name": "Latent", + "type": "LATENT", + "links": [ + 412, + 468 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.68", + "Node name for S&R": "LTXVEmptyLatentAudio", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + 121, + 24, + 1 + ] + }, + { + "id": 201, + "type": "LTXVAudioVAEDecode", + "pos": [ + 915.2389825960021, + 3962.66159945768 + ], + "size": [ + 257.2388542190106, + 46 + ], + "flags": {}, + "order": 88, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 430 + }, + { + "label": "Audio VAE", + "name": "audio_vae", + "type": "VAE", + "link": 448 + } + ], + "outputs": [ + { + "name": "Audio", + "type": "AUDIO", + "links": [ + 416 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.7.0", + "Node name for S&R": "LTXVAudioVAEDecode", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [] + }, + { + "id": 287, + "type": "SimpleCalculatorKJ", + "pos": [ + -1067.9490631055062, + 4848.515349256717 + ], + "size": [ + 210, + 136 + ], + "flags": { + "collapsed": true + }, + "order": 53, + "mode": 0, + "inputs": [ + { + "label": "a", + "name": "variables.a", + "shape": 7, + "type": "INT,FLOAT,BOOLEAN", + "link": null + }, + { + "label": "b", + "name": "variables.b", + "shape": 7, + "type": "INT,FLOAT,BOOLEAN", + "link": null + }, + { + "name": "a", + "shape": 7, + "type": "*", + "link": 532 + }, + { + "name": "b", + "shape": 7, + "type": "*", + "link": 533 + } + ], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [] + }, + { + "name": "INT", + "type": "INT", + "links": [ + 531 + ] + }, + { + "name": "BOOLEAN", + "type": "BOOLEAN", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "17cddd4959f00182c66954be2a7a32a6481d81be", + "Node name for S&R": "SimpleCalculatorKJ" + }, + "widgets_values": [ + "1+ 8*(round(a*b)/8)" + ], + "color": "#006691", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 291, + "type": "INTConstant", + "pos": [ + -1076.6131465721123, + 4821.5606676345205 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "value", + "type": "INT", + "links": [ + 532 + ] + } + ], + "title": "LENGTH (in seconds)", + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "c6ce76d00bb8177d1b0286cad891df08eff5226e", + "Node name for S&R": "INTConstant" + }, + "widgets_values": [ + 10 + ], + "color": "#006691", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 306, + "type": "GetNode", + "pos": [ + 237.99144812298735, + 3857.405377510338 + ], + "size": [ + 271.305509971064, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [] + } + ], + "title": "Get_model_with_lora", + "properties": {}, + "widgets_values": [ + "model_with_lora" + ] + }, + { + "id": 196, + "type": "VAELoaderKJ", + "pos": [ + -1526.9793006711818, + 4400.414846566154 + ], + "size": [ + 364.0273046899474, + 110.28381432699462 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 443 + ] + } + ], + "title": "VAELoader KJ (audio VAE)", + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "487c7d86a0230aae3d8c0a37d517159b73834f85", + "Node name for S&R": "VAELoaderKJ" + }, + "widgets_values": [ + "LTX23_audio_vae_bf16_KJ.safetensors", + "main_device", + "bf16" + ], + "color": "#1f1f48", + "bgcolor": "rgba(24,24,27,.9)", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 331, + "type": "SetNode", + "pos": [ + -1526.9793006711818, + 4613.193006910724 + ], + "size": [ + 364.0273046899474, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 55, + "mode": 0, + "inputs": [ + { + "name": "VAE", + "type": "VAE", + "link": 611 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_vae_tiny", + "properties": { + "previousName": "vae_tiny" + }, + "widgets_values": [ + "vae_tiny" + ] + }, + { + "id": 289, + "type": "MarkdownNote", + "pos": [ + -1948.4909647025866, + 4794.389327529134 + ], + "size": [ + 291.99631835798823, + 102.45137621179947 + ], + "flags": { + "collapsed": false + }, + "order": 17, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Video settings", + "properties": {}, + "widgets_values": [ + "If low on Ram/Vram, try width height to 832 x 480 or 960 x 544. If you can, run at 1280 x 720 or higher.\n\n\nLength in seconds : try 5, 10 or 20. \nfps : 24 or 25 (or 48 or 50 if your pc can run it)" + ], + "color": "#222", + "bgcolor": "#000" + }, + { + "id": 330, + "type": "VAELoader", + "pos": [ + -1526.9793006711818, + 4565.2982492091905 + ], + "size": [ + 364.0273046899474, + 58 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 611 + ] + } + ], + "title": "Tiny VAE (for sampler previews)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.16.3", + "Node name for S&R": "VAELoader" + }, + "widgets_values": [ + "vae_approx\\taeltx2_3.safetensors" + ], + "color": "#1f1f48", + "bgcolor": "rgba(24,24,27,.9)", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 184, + "type": "VAELoader", + "pos": [ + -1526.9793006711818, + 4287.833587437025 + ], + "size": [ + 364.0273046899474, + 61.42705146159551 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 442 + ] + } + ], + "title": "Load VAE (video VAE)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.8.2", + "Node name for S&R": "VAELoader" + }, + "widgets_values": [ + "LTX23_video_vae_bf16_KJ.safetensors" + ], + "color": "#1f1f48", + "bgcolor": "rgba(24,24,27,.9)", + "ndSuperSelectorEnabled": false, + "ndPowerEnabled": false + }, + { + "id": 109, + "type": "LTXVConcatAVLatent", + "pos": [ + -129.42226803816817, + 4334.352245641956 + ], + "size": [ + 270, + 46 + ], + "flags": {}, + "order": 86, + "mode": 0, + "inputs": [ + { + "name": "video_latent", + "type": "LATENT", + "link": 363 + }, + { + "name": "audio_latent", + "type": "LATENT", + "link": 412 + } + ], + "outputs": [ + { + "name": "latent", + "type": "LATENT", + "links": [ + 465 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.7.0", + "Node name for S&R": "LTXVConcatAVLatent", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [] + }, + { + "id": 125, + "type": "LTXVSeparateAVLatent", + "pos": [ + 915.2389825960021, + 3634.839483651904 + ], + "size": [ + 257.2388542190106, + 46 + ], + "flags": {}, + "order": 80, + "mode": 0, + "inputs": [ + { + "name": "av_latent", + "type": "LATENT", + "link": 644 + } + ], + "outputs": [ + { + "name": "video_latent", + "type": "LATENT", + "links": [ + 302 + ] + }, + { + "name": "audio_latent", + "type": "LATENT", + "links": [ + 430 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.5.1", + "Node name for S&R": "LTXVSeparateAVLatent", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [] + }, + { + "id": 344, + "type": "GetNode", + "pos": [ + 237.99144812298735, + 3814.06500689016 + ], + "size": [ + 271.305509971064, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 20, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 627 + ] + } + ], + "title": "Get_model", + "properties": {}, + "widgets_values": [ + "model" + ] + }, + { + "id": 115, + "type": "RandomNoise", + "pos": [ + 237.99144812298735, + 3635.2926194922593 + ], + "size": [ + 271.305509971064, + 82 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "NOISE", + "type": "NOISE", + "links": [ + 259 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.56", + "Node name for S&R": "RandomNoise", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + 43, + "fixed" + ], + "color": "#006691", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 343, + "type": "GetNode", + "pos": [ + 273.75003497061414, + 4532.958178219769 + ], + "size": [ + 271.305509971064, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 22, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 623, + 624 + ] + } + ], + "title": "Get_negative", + "properties": {}, + "widgets_values": [ + "negative" + ] + }, + { + "id": 342, + "type": "LTX2_NAG", + "pos": [ + 244.132794287635, + 4480.644574669967 + ], + "size": [ + 271.305509971064, + 170 + ], + "flags": {}, + "order": 75, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 625 + }, + { + "name": "nag_cond_video", + "shape": 7, + "type": "CONDITIONING", + "link": 623 + }, + { + "name": "nag_cond_audio", + "shape": 7, + "type": "CONDITIONING", + "link": 624 + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 626 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "ff79c7332d7ea4aa85097a88fb09359f28cb487e", + "Node name for S&R": "LTX2_NAG" + }, + "widgets_values": [ + 11, + 0.25, + 2.5, + true + ] + }, + { + "id": 322, + "type": "GetNode", + "pos": [ + -24.85188038740955, + 4471.396478929093 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 23, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "FLOAT", + "type": "FLOAT", + "links": [ + 600 + ] + } + ], + "title": "Get_fps", + "properties": {}, + "widgets_values": [ + "fps" + ] + }, + { + "id": 226, + "type": "SetNode", + "pos": [ + -86.21565705316577, + 4489.73876465332 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 93, + "mode": 0, + "inputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "link": 455 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_positive", + "properties": { + "previousName": "positive" + }, + "widgets_values": [ + "positive" + ], + "color": "#38291f", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 227, + "type": "SetNode", + "pos": [ + -29.742659196724304, + 4498.2660995229035 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 94, + "mode": 0, + "inputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "link": 456 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_negative", + "properties": { + "previousName": "negative" + }, + "widgets_values": [ + "negative" + ], + "color": "#38291f", + "bgcolor": "rgba(24,24,27,.9)" + }, + { + "id": 107, + "type": "LTXVConditioning", + "pos": [ + -128.45264555902682, + 4442.679834689612 + ], + "size": [ + 270, + 86.66666666666667 + ], + "flags": { + "collapsed": false + }, + "order": 89, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 286 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 287 + }, + { + "name": "frame_rate", + "type": "FLOAT", + "widget": { + "name": "frame_rate" + }, + "link": 600 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 455 + ] + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 456 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.56", + "Node name for S&R": "LTXVConditioning", + "enableTabs": false, + "tabWidth": 65, + "tabXOffset": 10, + "hasSecondTab": false, + "secondTabText": "Send Back", + "secondTabOffset": 80, + "secondTabWidth": 65 + }, + "widgets_values": [ + 24 + ] + }, + { + "id": 303, + "type": "SetNode", + "pos": [ + -550.0867256817794, + 3637.178773994079 + ], + "size": [ + 386.66127530410665, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 90, + "mode": 0, + "inputs": [ + { + "name": "MODEL", + "type": "MODEL", + "link": 590 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_model_with_lora", + "properties": { + "previousName": "model_with_lora" + }, + "widgets_values": [ + "model_with_lora" + ] + }, + { + "id": 347, + "type": "StringConcatenate", + "pos": [ + -616.5295595599073, + 3962.4072266805238 + ], + "size": [ + 429.64913571999637, + 200 + ], + "flags": { + "collapsed": true + }, + "order": 58, + "mode": 0, + "inputs": [ + { + "name": "string_a", + "type": "STRING", + "widget": { + "name": "string_a" + }, + "link": 628 + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.14.1", + "Node name for S&R": "StringConcatenate" + }, + "widgets_values": [ + "", + "", + "" + ] + }, + { + "id": 348, + "type": "GetNode", + "pos": [ + -616.5295595599073, + 4054.852292030277 + ], + "size": [ + 429.64913571999637, + 34 + ], + "flags": { + "collapsed": true + }, + "order": 24, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [] + } + ], + "title": "Get_clip", + "properties": {}, + "widgets_values": [ + "clip" + ] + }, + { + "id": 350, + "type": "PrimitiveStringMultiline", + "pos": [ + -616.5295595599073, + 3994.832575181112 + ], + "size": [ + 429.64913571999637, + 523.859790172266 + ], + "flags": { + "collapsed": true + }, + "order": 25, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 628 + ] + } + ], + "title": "LTX-2 PROMPT INSTRUCT", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.14.1", + "Node name for S&R": "PrimitiveStringMultiline" + }, + "widgets_values": [ + "You are a Creative Assistant writing concise, action-focused image-to-video prompts. Given an image (first frame) and user Raw Input Prompt, generate a prompt to guide video generation from that image.\n\n#### Guidelines:\n- Analyze the Image: Identify Subject, Setting, Elements, Style and Mood.\n- Follow user Raw Input Prompt: Include all requested motion, actions, camera movements, audio, and details. If in conflict with the image, prioritize user request while maintaining visual consistency (describe transition from image to user's scene).\n- Describe only changes from the image: Don't reiterate established visual details. Inaccurate descriptions may cause scene cuts.\n- Active language: Use present-progressive verbs (\"is walking,\" \"speaking\"). If no action specified, describe natural movements.\n- Chronological flow: Use temporal connectors (\"as,\" \"then,\" \"while\").\n- Audio layer: Describe complete soundscape throughout the prompt alongside actionsβ€”NOT at the end. Align audio intensity with action tempo. Include natural background audio, ambient sounds, effects, speech or music (when requested). Be specific (e.g., \"soft footsteps on tile\") not vague (e.g., \"ambient sound\").\n- Speech (only when requested): Provide exact words in quotes with character's visual/voice characteristics (e.g., \"The tall man speaks in a low, gravelly voice\"), language if not English and accent if relevant. If general conversation mentioned without text, generate contextual quoted dialogue. (i.e., \"The man is talking\" input -> the output should include exact spoken words, like: \"The man is talking in an excited voice saying: 'You won't believe what I just saw!' His hands gesture expressively as he speaks, eyebrows raised with enthusiasm. The ambient sound of a quiet room underscores his animated speech.\")\n- Style: Include visual style at beginning: \"Style: