malcolmrey commited on
Commit
c319455
·
1 Parent(s): e1d360d

klein 9 update

Browse files
klein9/README.md CHANGED
@@ -1,10 +1,12 @@
1
  # FLUX.2 & Klein 9B RefMods (Reference Latent Adapters)
2
 
3
- Open research and implementation repository for **FLUX.2 & Klein 9B RefMods**.
4
 
5
- - **Weights Hub:** [huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9) (1,400+ pre-extracted `.safetensors` models)
6
- - **Custom Node:** [github.com/malcolmamal/ComfyUI-Flux2Klein9Mod](https://github.com/malcolmamal/ComfyUI-Flux2Klein9Mod)
7
- - **Generator & Batch Extractor:** [`generate_flux2_klein9_refmod.py`](generate_flux2_klein9_refmod.py)
 
 
8
  - **Target Models:** FLUX.2, Klein 4B, Klein 8B, Klein 9B
9
 
10
  ---
@@ -14,6 +16,9 @@ Open research and implementation repository for **FLUX.2 & Klein 9B RefMods**.
14
  ```text
15
  klein9/
16
  ├── generate_flux2_klein9_refmod.py <── CLI Generator & Mass Batch Extractor Tool
 
 
 
17
  ├── docs/
18
  │ ├── README.md <── Documentation Index
19
  │ ├── FLUX2_KLEIN9_REFMODS_GUIDE.md <── Complete Architecture, Extraction & Usage Guide
@@ -34,13 +39,18 @@ cd ComfyUI/custom_nodes
34
  git clone https://github.com/malcolmamal/ComfyUI-Flux2Klein9Mod.git
35
  ```
36
 
37
- ### 2. Download RefMods
38
- Download any character or concept `.safetensors` from [huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9) and place into:
39
  ```text
40
  ComfyUI/models/refmods-klein9/
41
  ```
42
 
43
- ### 3. Extract Custom RefMods from Datasets
 
 
 
 
 
44
  Use the included generator script [`generate_flux2_klein9_refmod.py`](generate_flux2_klein9_refmod.py):
45
  ```bash
46
  # Extract single dataset by name or path
@@ -57,6 +67,7 @@ python generate_flux2_klein9_refmod.py --all --datasets-root C:/Development/ai-t
57
 
58
  ## 📖 Complete Documentation & Visual Studies
59
 
 
60
  - **[FLUX.2 & Klein 9B RefMods Architecture Guide](docs/FLUX2_KLEIN9_REFMODS_GUIDE.md)**: Node specifications, graph wiring diagrams, token budget configurations, and extraction mechanics.
61
  - **[Visual Benchmarks & 5-Column Comparison Studies](docs/VISUAL_BENCHMARKS_AND_COMPARISONS.md)**: Side-by-side empirical visual comparisons (Pure LoRA vs 8-Raw Reference vs Pure RefMod vs Hybrid stack) with direct links to high-res single runs and model weights on Hugging Face.
62
  - **[CLI Generator Script](generate_flux2_klein9_refmod.py)**: Source code for dataset pre-encoding and batch processing.
 
1
  # FLUX.2 & Klein 9B RefMods (Reference Latent Adapters)
2
 
3
+ Open research, architecture documentation, and implementation repository for **FLUX.2 & Klein 9B RefMods**.
4
 
5
+ - **Interactive Model Browser:** [https://huggingface.co/spaces/malcolmrey/browser](https://huggingface.co/spaces/malcolmrey/browser) (Search & visually explore 1,400+ characters, celebrities, and concepts)
6
+ - **Model Weights Hub:** [https://huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9) (1,400+ pre-extracted `.safetensors` models)
7
+ - **ComfyUI Custom Node:** [github.com/malcolmamal/ComfyUI-Flux2Klein9Mod](https://github.com/malcolmamal/ComfyUI-Flux2Klein9Mod)
8
+ - **CLI Generator & Batch Extractor:** [`generate_flux2_klein9_refmod.py`](generate_flux2_klein9_refmod.py)
9
+ - **Official Workflows:** [`../workflows/Klein9/`](../workflows/Klein9/) (`workflow_klein9_refmod.json` & `workflow_klein9_refmod_lora.json`)
10
  - **Target Models:** FLUX.2, Klein 4B, Klein 8B, Klein 9B
11
 
12
  ---
 
16
  ```text
17
  klein9/
18
  ├── generate_flux2_klein9_refmod.py <── CLI Generator & Mass Batch Extractor Tool
19
+ ├── workflows/ <── Mirrored Production Workflows
20
+ │ ├── workflow_klein9_refmod.json <── Pure RefMod Text-to-Image Workflow
21
+ │ └── workflow_klein9_refmod_lora.json <── Hybrid RefMod + LoRA Power Stack Workflow
22
  ├── docs/
23
  │ ├── README.md <── Documentation Index
24
  │ ├── FLUX2_KLEIN9_REFMODS_GUIDE.md <── Complete Architecture, Extraction & Usage Guide
 
39
  git clone https://github.com/malcolmamal/ComfyUI-Flux2Klein9Mod.git
40
  ```
41
 
42
+ ### 2. Discover & Download RefMods
43
+ Search and find any character, celebrity, or concept `.safetensors` in the [Malcolmrey Browser Space](https://huggingface.co/spaces/malcolmrey/browser) or directly on the [Hugging Face Hub](https://huggingface.co/malcolmrey/klein9), then place the file into:
44
  ```text
45
  ComfyUI/models/refmods-klein9/
46
  ```
47
 
48
+ ### 3. Load Ready-to-Use Workflows
49
+ Load either of the official JSON workflows located in [`../workflows/Klein9/`](../workflows/Klein9/) (or `workflows/`):
50
+ - **`workflow_klein9_refmod.json`:** Pure RefMod Text-to-Image generation for FLUX.2 / Klein 9B.
51
+ - **`workflow_klein9_refmod_lora.json`:** Hybrid RefMod + LoRA Power Stack.
52
+
53
+ ### 4. Extract Custom RefMods from Datasets
54
  Use the included generator script [`generate_flux2_klein9_refmod.py`](generate_flux2_klein9_refmod.py):
55
  ```bash
56
  # Extract single dataset by name or path
 
67
 
68
  ## 📖 Complete Documentation & Visual Studies
69
 
70
+ - **[Interactive Model Browser](https://huggingface.co/spaces/malcolmrey/browser)**: Live visual model finder with search and filter capabilities.
71
  - **[FLUX.2 & Klein 9B RefMods Architecture Guide](docs/FLUX2_KLEIN9_REFMODS_GUIDE.md)**: Node specifications, graph wiring diagrams, token budget configurations, and extraction mechanics.
72
  - **[Visual Benchmarks & 5-Column Comparison Studies](docs/VISUAL_BENCHMARKS_AND_COMPARISONS.md)**: Side-by-side empirical visual comparisons (Pure LoRA vs 8-Raw Reference vs Pure RefMod vs Hybrid stack) with direct links to high-res single runs and model weights on Hugging Face.
73
  - **[CLI Generator Script](generate_flux2_klein9_refmod.py)**: Source code for dataset pre-encoding and batch processing.
klein9/docs/FLUX2_KLEIN9_REFMODS_GUIDE.md CHANGED
@@ -52,7 +52,9 @@ A **RefMod pre-encodes reference imagery once** from a dataset and stores the sp
52
 
53
  Over **1,400+ pre-extracted RefMods** for celebrities, characters, and concepts are hosted and maintained on the Hugging Face Hub:
54
 
55
- - **Hugging Face Repository:** [https://huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9)
 
 
56
  - **Model Storage Directory in ComfyUI:** `ComfyUI/models/refmods-klein9/`
57
 
58
  ### File Naming Convention
@@ -61,7 +63,12 @@ Over **1,400+ pre-extracted RefMods** for celebrities, characters, and concepts
61
 
62
  ### Download Methods
63
 
64
- #### Method A: Hugging Face CLI (`hf`)
 
 
 
 
 
65
  ```bash
66
  # Download a specific RefMod directly into your ComfyUI models folder
67
  hf hub download malcolmrey/klein9 fk9_alisonbrie_v1_refmod.safetensors --local-dir C:/Development/ComfyUI/models/refmods-klein9
@@ -70,7 +77,7 @@ hf hub download malcolmrey/klein9 fk9_alisonbrie_v1_refmod.safetensors --local-d
70
  hf hub download malcolmrey/klein9 --include "fk9_*_refmod.safetensors" --local-dir C:/Development/ComfyUI/models/refmods-klein9
71
  ```
72
 
73
- #### Method B: Git LFS Clone
74
  ```bash
75
  cd C:/Development/projects/huggingface
76
  git clone git@hf.co:malcolmrey/klein9
@@ -175,35 +182,80 @@ Batch loads an entire disk directory of reference stills for in-graph extraction
175
 
176
  ---
177
 
178
- ## 7. Workflow Diagrams
 
 
 
 
 
 
 
 
 
 
 
179
 
180
- ### Standard RefMod Text-to-Image Workflow
 
181
 
182
  ```text
183
- [ CLIPTextEncode (Positive) ] ────────┐
184
- ▼
185
- [ Apply Klein9 RefMods (FLUX.2) ] ◄── [ Load Klein9 RefMods (FLUX.2) ]
186
- │ (Selects from models/refmods-klein9/)
187
- ▼
188
- [ CFGGuider / KSampler ] ◄── [ FLUX.2 / Klein UNET Loader ]
189
- │
190
- ▼
191
- [ VAEDecode ]
192
- │
193
- ▼
194
- [ SaveImage ]
 
 
 
 
 
195
  ```
196
 
197
- ### Hybrid RefMod + LoRA Power Stack Workflow
 
 
 
 
 
 
 
 
 
 
 
198
 
199
  ```text
200
- [ Model Loader ] ──► [ LoRA Loader (e.g. fk9_persona_v1_prodigy @ 0.70) ] ──► [ KSampler ]
201
- ▲
202
- [ CLIPTextEncode ] ──► [ Apply Klein9 RefMods (FLUX.2) @ 0.85x ] ──────────────────┘
203
- ▲
204
- └── [ Load Klein9 RefMods (FLUX.2) ]
 
 
 
 
 
 
 
 
 
 
 
 
205
  ```
206
 
 
 
 
 
 
207
  ---
208
 
209
  ## 8. How to Create / Extract RefMods
@@ -326,8 +378,10 @@ Column 5: RefMod + LoRA Hybrid Stack (RefMod @ 0.85x + LoRA @ 0.70x)
326
 
327
  ## 11. Links & Resources
328
 
329
- - **Visual Studies & Single Runs:** [`VISUAL_BENCHMARKS_AND_COMPARISONS.md`](VISUAL_BENCHMARKS_AND_COMPARISONS.md)
330
  - **Hugging Face Model Hub (1,400+ models):** [huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9)
 
 
331
  - **ComfyUI Custom Node:** [github.com/malcolmamal/ComfyUI-Flux2Klein9Mod](https://github.com/malcolmamal/ComfyUI-Flux2Klein9Mod)
332
  - **Extractor Script:** [`../generate_flux2_klein9_refmod.py`](../generate_flux2_klein9_refmod.py)
333
  - **Visual Comparison Grids:** [`examples/`](examples/)
 
52
 
53
  Over **1,400+ pre-extracted RefMods** for celebrities, characters, and concepts are hosted and maintained on the Hugging Face Hub:
54
 
55
+ - **Interactive Visual Model Browser:** [https://huggingface.co/spaces/malcolmrey/browser](https://huggingface.co/spaces/malcolmrey/browser)
56
+ *Easily search, preview, filter, and find any celebrity, persona, character, or concept RefMod with live visual previews.*
57
+ - **Hugging Face Model Repository:** [https://huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9)
58
  - **Model Storage Directory in ComfyUI:** `ComfyUI/models/refmods-klein9/`
59
 
60
  ### File Naming Convention
 
63
 
64
  ### Download Methods
65
 
66
+ #### Method A: Interactive Visual Search & Download
67
+ 1. Open the [Malcolmrey Browser Space](https://huggingface.co/spaces/malcolmrey/browser).
68
+ 2. Search for the desired character/subject (e.g. "Alison Brie", "Whoopi Goldberg", "Brett Cooper").
69
+ 3. Download the `.safetensors` RefMod and place it into `ComfyUI/models/refmods-klein9/`.
70
+
71
+ #### Method B: Hugging Face CLI (`hf`)
72
  ```bash
73
  # Download a specific RefMod directly into your ComfyUI models folder
74
  hf hub download malcolmrey/klein9 fk9_alisonbrie_v1_refmod.safetensors --local-dir C:/Development/ComfyUI/models/refmods-klein9
 
77
  hf hub download malcolmrey/klein9 --include "fk9_*_refmod.safetensors" --local-dir C:/Development/ComfyUI/models/refmods-klein9
78
  ```
79
 
80
+ #### Method C: Git LFS Clone
81
  ```bash
82
  cd C:/Development/projects/huggingface
83
  git clone git@hf.co:malcolmrey/klein9
 
182
 
183
  ---
184
 
185
+ ## 7. Ready-to-Use ComfyUI Workflows & Graph Diagrams
186
+
187
+ Two production-ready, drag-and-drop ComfyUI JSON workflows are provided in the repository under [`workflows/Klein9/`](../../workflows/Klein9/):
188
+
189
+ 1. **`workflow_klein9_refmod.json`**: Pure RefMod Text-to-Image workflow for FLUX.2 / Klein 9B.
190
+ 2. **`workflow_klein9_refmod_lora.json`**: Hybrid RefMod + LoRA Power Stack workflow for FLUX.2 / Klein 9B.
191
+
192
+ Both workflows can be dragged directly onto the ComfyUI canvas or loaded via `Load Workflow` -> `JSON`.
193
+
194
+ ---
195
+
196
+ ### Workflow A: Pure RefMod Generation (`workflow_klein9_refmod.json`)
197
 
198
+ *File location:* `C:\Development\projects\huggingface\workflows\Klein9\workflow_klein9_refmod.json`
199
+ *Best for:* Zero-training instant character and concept likeness with zero VAE latency and compact 1,024-token footprint.
200
 
201
  ```text
202
+ ┌──────────────────────────┐
203
+ │ UNETLoader │ ──► MODEL ───────────────────────────────────┐
204
+ │ (flux-2-klein-9b-fp8) │ │
205
+ └──────────────────────────┘ │
206
+ ┌──────────────────────────┐ │
207
+ │ CLIPLoader │ ──► CLIP ──► [ CLIPTextEncode (Prompt) ] │
208
+ │ (flux2 clip/t5xxl) │ │ │
209
+ └──────────────────────────┘ ▼ (conditioning) ▼
210
+ ┌──────────────────────────┐ [ Apply Klein9 RefMods ] ──► [ KSampler ]
211
+ │ Klein9RefModsLoader │ ────────► (retention: 1.0 / 0.7) (er_sde / simple)
212
+ │ (mod_1..mod_8 @ 0.0-3.0) │ (manifold_blur) │
213
+ └──────────────────────────┘ ▼
214
+ ┌─────��────────────────────┐ [ VAEDecode ]
215
+ │ VAELoader │ ─────────────────────────────────────► (flux2_vae)
216
+ │ (flux2_vae.safetensors) │ │
217
+ └──────────────────────────┘ ▼
218
+ [ SaveImage ]
219
  ```
220
 
221
+ **Key Node Configurations in `workflow_klein9_refmod.json`:**
222
+ - **`UNETLoader` (Node 1):** Loads `FLUX2\flux-2-klein-9b-fp8.safetensors`.
223
+ - **`Klein9RefModsLoader` (Node 48):** Selects any RefMod from `models/refmods-klein9/` with independent strength (`1.0`) and copies (`1`).
224
+ - **`Klein9RefModApply` (Node 49 & Node 50):** Injects latents into positive and negative conditioning streams with `manifold_blur` mode.
225
+ - **`KSampler` (Node 3):** Standard 8-step `er_sde` / `simple` sampler at CFG `1.0`.
226
+
227
+ ---
228
+
229
+ ### Workflow B: Hybrid RefMod + LoRA Stack (`workflow_klein9_refmod_lora.json`)
230
+
231
+ *File location:* `C:\Development\projects\huggingface\workflows\Klein9\workflow_klein9_refmod_lora.json`
232
+ *Best for:* Maximum possible likeness fidelity and texture rendering by stacking a macro-geometry RefMod with a trained micro-texture LoRA.
233
 
234
  ```text
235
+ ┌──────────────────────────┐
236
+ │ UNETLoader │ ──► MODEL ──► [ LoraLoaderModelOnly ] ───────┐
237
+ │ (flux-2-klein-9b-fp8) │ (fk9_persona_v1_prodigy @ 0.6) │
238
+ └──────────────────────────┘ │
239
+ ┌──────────────────────────┐ │
240
+ │ CLIPLoader │ ──► CLIP ──► [ CLIPTextEncode (Prompt) ] │
241
+ │ (flux2 clip/t5xxl) │ │ │
242
+ └──────────────────────────┘ ▼ (conditioning) ▼
243
+ ┌──────────────────────────┐ [ Apply Klein9 RefMods ] ──► [ KSampler ]
244
+ │ Klein9RefModsLoader │ ────────► (RefMod strength @ 0.85x) (er_sde / simple)
245
+ │ (mod_1..mod_8 @ 0.85) │ (retention: 0.70) │
246
+ └──────────────────────────┘ ▼
247
+ ┌──────────────────────────┐ [ VAEDecode ]
248
+ │ VAELoader │ ─────────────────────────────────────► (flux2_vae)
249
+ │ (flux2_vae.safetensors) │ │
250
+ └──────────────────────────┘ ▼
251
+ [ SaveImage ]
252
  ```
253
 
254
+ **Recommended Dial Presets:**
255
+ - **RefMod Strength (`Klein9RefModsLoader`):** `0.80` – `0.90` (locks facial geometry, eye alignment, and bone structure).
256
+ - **Master Retention (`Klein9RefModApply`):** `partially_preserved (0.7)` (ensures high flexibility for outfit and background changes).
257
+ - **LoRA Strength (`LoraLoaderModelOnly`):** `0.50` – `0.70` (injects realistic skin pores, lighting gradients, and fine details).
258
+
259
  ---
260
 
261
  ## 8. How to Create / Extract RefMods
 
378
 
379
  ## 11. Links & Resources
380
 
381
+ - **Interactive Model Browser Space:** [https://huggingface.co/spaces/malcolmrey/browser](https://huggingface.co/spaces/malcolmrey/browser)
382
  - **Hugging Face Model Hub (1,400+ models):** [huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9)
383
+ - **Ready-to-Use Workflows:** [`workflows/Klein9/`](../../workflows/Klein9/) (`workflow_klein9_refmod.json` & `workflow_klein9_refmod_lora.json`)
384
+ - **Visual Studies & Single Runs:** [`VISUAL_BENCHMARKS_AND_COMPARISONS.md`](VISUAL_BENCHMARKS_AND_COMPARISONS.md)
385
  - **ComfyUI Custom Node:** [github.com/malcolmamal/ComfyUI-Flux2Klein9Mod](https://github.com/malcolmamal/ComfyUI-Flux2Klein9Mod)
386
  - **Extractor Script:** [`../generate_flux2_klein9_refmod.py`](../generate_flux2_klein9_refmod.py)
387
  - **Visual Comparison Grids:** [`examples/`](examples/)
klein9/docs/README.md CHANGED
@@ -2,6 +2,11 @@
2
 
3
  Welcome to the official documentation and reference guides for **FLUX.2 & Klein 9B RefMods (Reference Latent Adapters)**.
4
 
 
 
 
 
 
5
  ---
6
 
7
  ## 📚 Guides & Technical Documentation
@@ -9,24 +14,33 @@ Welcome to the official documentation and reference guides for **FLUX.2 & Klein
9
  1. **[FLUX.2 & Klein 9B RefMods: Architecture, Extraction, and Usage Guide](FLUX2_KLEIN9_REFMODS_GUIDE.md)**
10
  The primary comprehensive architectural handbook covering:
11
  - Theoretical underpinnings of 2D RoPE reference latent injection vs legacy pixel encoding
12
- - Where to download 1,400+ pre-extracted RefMods on Hugging Face ([malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9))
13
  - Installing and configuring the `ComfyUI-Flux2Klein9Mod` custom node
14
- - Graph wiring diagrams (Text-to-Image, Multi-Character, and LoRA Hybrid stacks)
15
- - Step-by-step RefMod creation with dataset curation best practices
16
 
17
  2. **[Visual Benchmarks & 5-Column Comparison Studies](VISUAL_BENCHMARKS_AND_COMPARISONS.md)**
18
  Detailed empirical evaluations across 7 celebrity & persona datasets:
19
- - Embedded 5-column comparison grids for all benchmark subjects
20
  - Direct download links to individual model weights (`.safetensors`) on Hugging Face
21
  - High-resolution single run artifact links ([`examples/`](examples/)) for Pure LoRA, 8-Raw Reference, Pure RefMod, and Hybrid stacks
22
  - Computational throughput, token load, and VRAM scaling breakdowns
23
 
24
  ---
25
 
 
 
 
 
 
 
 
 
 
26
  ## 🛠️ Tools & Scripts
27
 
28
  - **Generator & Batch Extractor Script:** [`../generate_flux2_klein9_refmod.py`](../generate_flux2_klein9_refmod.py)
29
- CLI generator tool supporting single-dataset extraction, custom token budgets, and high-speed mass batch extraction.
30
  - **ComfyUI Custom Node:** [`../comfyui/custom_nodes/ComfyUI-Flux2Klein9Mod/`](../comfyui/custom_nodes/ComfyUI-Flux2Klein9Mod/)
31
  GitHub Repository: [github.com/malcolmamal/ComfyUI-Flux2Klein9Mod](https://github.com/malcolmamal/ComfyUI-Flux2Klein9Mod)
32
  - **Hugging Face Model Hub:** [huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9)
 
2
 
3
  Welcome to the official documentation and reference guides for **FLUX.2 & Klein 9B RefMods (Reference Latent Adapters)**.
4
 
5
+ - **Interactive Model Browser:** [https://huggingface.co/spaces/malcolmrey/browser](https://huggingface.co/spaces/malcolmrey/browser) (Visual search & previews across 1,400+ models)
6
+ - **Model Weights Hub:** [https://huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9)
7
+ - **ComfyUI Custom Node:** [https://github.com/malcolmamal/ComfyUI-Flux2Klein9Mod](https://github.com/malcolmamal/ComfyUI-Flux2Klein9Mod)
8
+ - **Ready-to-Use Workflows:** [`../../workflows/Klein9/`](../../workflows/Klein9/)
9
+
10
  ---
11
 
12
  ## 📚 Guides & Technical Documentation
 
14
  1. **[FLUX.2 & Klein 9B RefMods: Architecture, Extraction, and Usage Guide](FLUX2_KLEIN9_REFMODS_GUIDE.md)**
15
  The primary comprehensive architectural handbook covering:
16
  - Theoretical underpinnings of 2D RoPE reference latent injection vs legacy pixel encoding
17
+ - Where to find and download 1,400+ pre-extracted RefMods on Hugging Face ([malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9) & [malcolmrey/browser](https://huggingface.co/spaces/malcolmrey/browser))
18
  - Installing and configuring the `ComfyUI-Flux2Klein9Mod` custom node
19
+ - Detailed breakdown of both official ComfyUI JSON workflows (`workflow_klein9_refmod.json` & `workflow_klein9_refmod_lora.json`)
20
+ - Step-by-step RefMod creation with dataset curation best practices and CLI extraction
21
 
22
  2. **[Visual Benchmarks & 5-Column Comparison Studies](VISUAL_BENCHMARKS_AND_COMPARISONS.md)**
23
  Detailed empirical evaluations across 7 celebrity & persona datasets:
24
+ - Embedded 5-column comparison grids for all benchmark subjects (Alison Brie, Brett Cooper, Olivia Wilde, Jodie Foster, Rebecca Ferguson, Sydney Sweeney, Gosia)
25
  - Direct download links to individual model weights (`.safetensors`) on Hugging Face
26
  - High-resolution single run artifact links ([`examples/`](examples/)) for Pure LoRA, 8-Raw Reference, Pure RefMod, and Hybrid stacks
27
  - Computational throughput, token load, and VRAM scaling breakdowns
28
 
29
  ---
30
 
31
+ ## 🎛️ Official ComfyUI Workflows (`workflows/Klein9/`)
32
+
33
+ Drag-and-drop workflow files ready for immediate use in ComfyUI:
34
+
35
+ - **[`workflow_klein9_refmod.json`](../../workflows/Klein9/workflow_klein9_refmod.json):** Pure RefMod Text-to-Image generation for FLUX.2 / Klein 9B.
36
+ - **[`workflow_klein9_refmod_lora.json`](../../workflows/Klein9/workflow_klein9_refmod_lora.json):** Hybrid RefMod + LoRA Power Stack for maximum facial likeness and micro-texture fidelity.
37
+
38
+ ---
39
+
40
  ## 🛠️ Tools & Scripts
41
 
42
  - **Generator & Batch Extractor Script:** [`../generate_flux2_klein9_refmod.py`](../generate_flux2_klein9_refmod.py)
43
+ CLI generator tool supporting single-dataset extraction, custom token budgets, dry-run inspection, and high-speed mass batch extraction.
44
  - **ComfyUI Custom Node:** [`../comfyui/custom_nodes/ComfyUI-Flux2Klein9Mod/`](../comfyui/custom_nodes/ComfyUI-Flux2Klein9Mod/)
45
  GitHub Repository: [github.com/malcolmamal/ComfyUI-Flux2Klein9Mod](https://github.com/malcolmamal/ComfyUI-Flux2Klein9Mod)
46
  - **Hugging Face Model Hub:** [huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9)
klein9/docs/VISUAL_BENCHMARKS_AND_COMPARISONS.md CHANGED
@@ -3,7 +3,9 @@
3
  _Version: 1.0.0_
4
  _Last Updated: September 2026_
5
  _Target Architecture: FLUX.2 / Klein 4B / Klein 8B / Klein 9B + `ComfyUI-Flux2Klein9Mod`_
 
6
  _Open Weights Repository: [huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9)_
 
7
  _Custom Node Repository: [github.com/malcolmamal/ComfyUI-Flux2Klein9Mod](https://github.com/malcolmamal/ComfyUI-Flux2Klein9Mod)_
8
  _Generation & Extraction Script: [`../generate_flux2_klein9_refmod.py`](../generate_flux2_klein9_refmod.py)_
9
 
@@ -191,6 +193,10 @@ shallow depth of field
191
 
192
  ## 5. Related Documentation & Links
193
 
 
 
 
 
194
  - **Main Architecture & Usage Guide:** [`FLUX2_KLEIN9_REFMODS_GUIDE.md`](FLUX2_KLEIN9_REFMODS_GUIDE.md)
195
  - **Generator & Batch Extractor Tool:** [`../generate_flux2_klein9_refmod.py`](../generate_flux2_klein9_refmod.py)
196
  - **Hugging Face Model Weights (1,400+ models):** [huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9)
 
3
  _Version: 1.0.0_
4
  _Last Updated: September 2026_
5
  _Target Architecture: FLUX.2 / Klein 4B / Klein 8B / Klein 9B + `ComfyUI-Flux2Klein9Mod`_
6
+ _Interactive Model Browser: [huggingface.co/spaces/malcolmrey/browser](https://huggingface.co/spaces/malcolmrey/browser)_
7
  _Open Weights Repository: [huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9)_
8
+ _Official ComfyUI Workflows: [`workflows/Klein9/`](../../workflows/Klein9/) (`workflow_klein9_refmod.json` & `workflow_klein9_refmod_lora.json`)_
9
  _Custom Node Repository: [github.com/malcolmamal/ComfyUI-Flux2Klein9Mod](https://github.com/malcolmamal/ComfyUI-Flux2Klein9Mod)_
10
  _Generation & Extraction Script: [`../generate_flux2_klein9_refmod.py`](../generate_flux2_klein9_refmod.py)_
11
 
 
193
 
194
  ## 5. Related Documentation & Links
195
 
196
+ - **Interactive Visual Model Browser (1,400+ models):** [https://huggingface.co/spaces/malcolmrey/browser](https://huggingface.co/spaces/malcolmrey/browser)
197
+ - **Official Ready-to-Use Workflows:** [`workflows/Klein9/`](../../workflows/Klein9/)
198
+ - `workflow_klein9_refmod.json` (Pure RefMod Text-to-Image)
199
+ - `workflow_klein9_refmod_lora.json` (Hybrid RefMod + LoRA Power Stack)
200
  - **Main Architecture & Usage Guide:** [`FLUX2_KLEIN9_REFMODS_GUIDE.md`](FLUX2_KLEIN9_REFMODS_GUIDE.md)
201
  - **Generator & Batch Extractor Tool:** [`../generate_flux2_klein9_refmod.py`](../generate_flux2_klein9_refmod.py)
202
  - **Hugging Face Model Weights (1,400+ models):** [huggingface.co/malcolmrey/klein9](https://huggingface.co/malcolmrey/klein9)
klein9/workflows/workflow_klein9_refmod.json ADDED
@@ -0,0 +1,757 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "00000000-0000-0000-0000-000000000000",
3
+ "revision": 0,
4
+ "last_node_id": 52,
5
+ "last_link_id": 26,
6
+ "nodes": [
7
+ {
8
+ "id": 1,
9
+ "type": "UNETLoader",
10
+ "pos": [
11
+ 100,
12
+ 130
13
+ ],
14
+ "size": [
15
+ 270,
16
+ 82
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [],
22
+ "outputs": [
23
+ {
24
+ "name": "MODEL",
25
+ "type": "MODEL",
26
+ "links": [
27
+ 19
28
+ ]
29
+ }
30
+ ],
31
+ "properties": {
32
+ "cnr_id": "comfy-core",
33
+ "ver": "0.33.3",
34
+ "ue_properties": {
35
+ "widget_ue_connectable": {},
36
+ "input_ue_unconnectable": {}
37
+ },
38
+ "Node name for S&R": "UNETLoader"
39
+ },
40
+ "widgets_values": [
41
+ "FLUX2\\flux-2-klein-9b-fp8.safetensors",
42
+ "default"
43
+ ],
44
+ "widgets_values_named": {
45
+ "unet_name": "FLUX2\\flux-2-klein-9b-fp8.safetensors",
46
+ "weight_dtype": "default"
47
+ }
48
+ },
49
+ {
50
+ "id": 2,
51
+ "type": "CLIPLoader",
52
+ "pos": [
53
+ 100,
54
+ 342
55
+ ],
56
+ "size": [
57
+ 270,
58
+ 106
59
+ ],
60
+ "flags": {},
61
+ "order": 1,
62
+ "mode": 0,
63
+ "inputs": [],
64
+ "outputs": [
65
+ {
66
+ "name": "CLIP",
67
+ "type": "CLIP",
68
+ "links": [
69
+ 16
70
+ ]
71
+ }
72
+ ],
73
+ "properties": {
74
+ "cnr_id": "comfy-core",
75
+ "ver": "0.33.3",
76
+ "ue_properties": {
77
+ "widget_ue_connectable": {},
78
+ "input_ue_unconnectable": {}
79
+ },
80
+ "Node name for S&R": "CLIPLoader"
81
+ },
82
+ "widgets_values": [
83
+ "qwen_3_8b_fp8mixed.safetensors",
84
+ "flux2",
85
+ "default"
86
+ ],
87
+ "widgets_values_named": {
88
+ "clip_name": "qwen_3_8b_fp8mixed.safetensors",
89
+ "type": "flux2",
90
+ "device": "default"
91
+ }
92
+ },
93
+ {
94
+ "id": 3,
95
+ "type": "VAELoader",
96
+ "pos": [
97
+ 100,
98
+ 578
99
+ ],
100
+ "size": [
101
+ 270,
102
+ 58
103
+ ],
104
+ "flags": {},
105
+ "order": 2,
106
+ "mode": 0,
107
+ "inputs": [],
108
+ "outputs": [
109
+ {
110
+ "name": "VAE",
111
+ "type": "VAE",
112
+ "links": [
113
+ 15
114
+ ]
115
+ }
116
+ ],
117
+ "properties": {
118
+ "cnr_id": "comfy-core",
119
+ "ver": "0.33.3",
120
+ "ue_properties": {
121
+ "widget_ue_connectable": {},
122
+ "input_ue_unconnectable": {}
123
+ },
124
+ "Node name for S&R": "VAELoader"
125
+ },
126
+ "widgets_values": [
127
+ "flux2_vae.safetensors"
128
+ ],
129
+ "widgets_values_named": {
130
+ "vae_name": "flux2_vae.safetensors"
131
+ }
132
+ },
133
+ {
134
+ "id": 8,
135
+ "type": "VAEDecode",
136
+ "pos": [
137
+ 2192.440234375,
138
+ 130
139
+ ],
140
+ "size": [
141
+ 140,
142
+ 46
143
+ ],
144
+ "flags": {},
145
+ "order": 10,
146
+ "mode": 0,
147
+ "inputs": [
148
+ {
149
+ "name": "samples",
150
+ "type": "LATENT",
151
+ "link": 14
152
+ },
153
+ {
154
+ "name": "vae",
155
+ "type": "VAE",
156
+ "link": 15
157
+ }
158
+ ],
159
+ "outputs": [
160
+ {
161
+ "name": "IMAGE",
162
+ "type": "IMAGE",
163
+ "links": [
164
+ 18
165
+ ]
166
+ }
167
+ ],
168
+ "properties": {
169
+ "cnr_id": "comfy-core",
170
+ "ver": "0.33.3",
171
+ "ue_properties": {
172
+ "widget_ue_connectable": {},
173
+ "input_ue_unconnectable": {}
174
+ },
175
+ "Node name for S&R": "VAEDecode"
176
+ }
177
+ },
178
+ {
179
+ "id": 11,
180
+ "type": "EmptyFlux2LatentImage",
181
+ "pos": [
182
+ 100,
183
+ 766
184
+ ],
185
+ "size": [
186
+ 270,
187
+ 106
188
+ ],
189
+ "flags": {},
190
+ "order": 3,
191
+ "mode": 0,
192
+ "inputs": [],
193
+ "outputs": [
194
+ {
195
+ "name": "LATENT",
196
+ "type": "LATENT",
197
+ "links": [
198
+ 22
199
+ ]
200
+ }
201
+ ],
202
+ "properties": {
203
+ "cnr_id": "comfy-core",
204
+ "ver": "0.33.3",
205
+ "ue_properties": {
206
+ "widget_ue_connectable": {},
207
+ "input_ue_unconnectable": {}
208
+ },
209
+ "Node name for S&R": "EmptyFlux2LatentImage"
210
+ },
211
+ "widgets_values": [
212
+ 1024,
213
+ 1024,
214
+ 1
215
+ ],
216
+ "widgets_values_named": {
217
+ "width": 1024,
218
+ "height": 1024,
219
+ "batch_size": 1
220
+ }
221
+ },
222
+ {
223
+ "id": 14,
224
+ "type": "CLIPTextEncode",
225
+ "pos": [
226
+ 503.980078125,
227
+ 130
228
+ ],
229
+ "size": [
230
+ 400,
231
+ 200
232
+ ],
233
+ "flags": {},
234
+ "order": 5,
235
+ "mode": 0,
236
+ "inputs": [
237
+ {
238
+ "name": "clip",
239
+ "type": "CLIP",
240
+ "link": 16
241
+ }
242
+ ],
243
+ "outputs": [
244
+ {
245
+ "name": "CONDITIONING",
246
+ "type": "CONDITIONING",
247
+ "links": [
248
+ 17,
249
+ 23
250
+ ]
251
+ }
252
+ ],
253
+ "properties": {
254
+ "cnr_id": "comfy-core",
255
+ "ver": "0.33.3",
256
+ "ue_properties": {
257
+ "widget_ue_connectable": {},
258
+ "input_ue_unconnectable": {}
259
+ },
260
+ "Node name for S&R": "CLIPTextEncode"
261
+ },
262
+ "widgets_values": [
263
+ "reference images represent one person, make that person sit at the table, face and hair should be unchanged and exact as in the reference images, high quality photograph, studio lighting, natural looking skin, cinematic lighting, skin with pores, amateur photograph\n\n35mm photograph, shot on Kodak Portra 400, natural skin blemishes and subtle pores, soft directional daylight, shallow depth of field"
264
+ ],
265
+ "widgets_values_named": {
266
+ "text": "reference images represent one person, make that person sit at the table, face and hair should be unchanged and exact as in the reference images, high quality photograph, studio lighting, natural looking skin, cinematic lighting, skin with pores, amateur photograph\n\n35mm photograph, shot on Kodak Portra 400, natural skin blemishes and subtle pores, soft directional daylight, shallow depth of field"
267
+ }
268
+ },
269
+ {
270
+ "id": 15,
271
+ "type": "ConditioningZeroOut",
272
+ "pos": [
273
+ 1003.980078125,
274
+ 130
275
+ ],
276
+ "size": [
277
+ 204.134765625,
278
+ 26
279
+ ],
280
+ "flags": {},
281
+ "order": 6,
282
+ "mode": 0,
283
+ "inputs": [
284
+ {
285
+ "name": "conditioning",
286
+ "type": "CONDITIONING",
287
+ "link": 17
288
+ }
289
+ ],
290
+ "outputs": [
291
+ {
292
+ "name": "CONDITIONING",
293
+ "type": "CONDITIONING",
294
+ "links": [
295
+ 25
296
+ ]
297
+ }
298
+ ],
299
+ "properties": {
300
+ "cnr_id": "comfy-core",
301
+ "ver": "0.33.3",
302
+ "ue_properties": {
303
+ "widget_ue_connectable": {},
304
+ "input_ue_unconnectable": {}
305
+ },
306
+ "Node name for S&R": "ConditioningZeroOut"
307
+ }
308
+ },
309
+ {
310
+ "id": 16,
311
+ "type": "SaveImage",
312
+ "pos": [
313
+ 2432.440234375,
314
+ 130
315
+ ],
316
+ "size": [
317
+ 270,
318
+ 58
319
+ ],
320
+ "flags": {},
321
+ "order": 11,
322
+ "mode": 0,
323
+ "inputs": [
324
+ {
325
+ "name": "images",
326
+ "type": "IMAGE",
327
+ "link": 18
328
+ }
329
+ ],
330
+ "outputs": [
331
+ {
332
+ "name": "images",
333
+ "type": "IMAGE",
334
+ "links": null
335
+ }
336
+ ],
337
+ "properties": {
338
+ "cnr_id": "comfy-core",
339
+ "ver": "0.33.3",
340
+ "ue_properties": {
341
+ "widget_ue_connectable": {},
342
+ "input_ue_unconnectable": {}
343
+ },
344
+ "Node name for S&R": "SaveImage"
345
+ },
346
+ "widgets_values": [
347
+ "Flux2-Klein9-PureRefMod-AlisonBrie-Run1"
348
+ ],
349
+ "widgets_values_named": {
350
+ "filename_prefix": "Flux2-Klein9-PureRefMod-AlisonBrie-Run1"
351
+ }
352
+ },
353
+ {
354
+ "id": 19,
355
+ "type": "KSampler",
356
+ "pos": [
357
+ 1822.4402343749998,
358
+ 130
359
+ ],
360
+ "size": [
361
+ 270,
362
+ 262
363
+ ],
364
+ "flags": {},
365
+ "order": 9,
366
+ "mode": 0,
367
+ "inputs": [
368
+ {
369
+ "name": "model",
370
+ "type": "MODEL",
371
+ "link": 19
372
+ },
373
+ {
374
+ "name": "positive",
375
+ "type": "CONDITIONING",
376
+ "link": 20
377
+ },
378
+ {
379
+ "name": "negative",
380
+ "type": "CONDITIONING",
381
+ "link": 21
382
+ },
383
+ {
384
+ "name": "latent_image",
385
+ "type": "LATENT",
386
+ "link": 22
387
+ }
388
+ ],
389
+ "outputs": [
390
+ {
391
+ "name": "LATENT",
392
+ "type": "LATENT",
393
+ "links": [
394
+ 14
395
+ ]
396
+ }
397
+ ],
398
+ "properties": {
399
+ "cnr_id": "comfy-core",
400
+ "ver": "0.33.3",
401
+ "ue_properties": {
402
+ "widget_ue_connectable": {},
403
+ "input_ue_unconnectable": {}
404
+ },
405
+ "Node name for S&R": "KSampler"
406
+ },
407
+ "widgets_values": [
408
+ 861893278785447,
409
+ "randomize",
410
+ 8,
411
+ 1,
412
+ "res_multistep",
413
+ "simple",
414
+ 1
415
+ ],
416
+ "widgets_values_named": {
417
+ "seed": 861893278785447,
418
+ "control_after_generate": "randomize",
419
+ "steps": 8,
420
+ "cfg": 1,
421
+ "sampler_name": "res_multistep",
422
+ "scheduler": "simple",
423
+ "denoise": 1
424
+ }
425
+ },
426
+ {
427
+ "id": 50,
428
+ "type": "Klein9RefModsLoader",
429
+ "pos": [
430
+ 100,
431
+ 1002
432
+ ],
433
+ "size": [
434
+ 303.980078125,
435
+ 630
436
+ ],
437
+ "flags": {},
438
+ "order": 4,
439
+ "mode": 0,
440
+ "inputs": [],
441
+ "outputs": [
442
+ {
443
+ "name": "klein9_refmods",
444
+ "type": "KLEIN9_REFMODS",
445
+ "links": [
446
+ 24,
447
+ 26
448
+ ]
449
+ },
450
+ {
451
+ "name": "prompt_hint",
452
+ "type": "STRING",
453
+ "links": null
454
+ }
455
+ ],
456
+ "properties": {
457
+ "cnr_id": "ui",
458
+ "ver": "9f1138f7d2c757e1236a395365d842aec5cd2a87",
459
+ "ue_properties": {
460
+ "widget_ue_connectable": {},
461
+ "input_ue_unconnectable": {}
462
+ },
463
+ "Node name for S&R": "Klein9RefModsLoader"
464
+ },
465
+ "widgets_values": [
466
+ "fk9_alisonbrie_v1_refmod",
467
+ 1,
468
+ 1,
469
+ "none",
470
+ 1,
471
+ 1,
472
+ "none",
473
+ 1,
474
+ 1,
475
+ "none",
476
+ 1,
477
+ 1,
478
+ "none",
479
+ 1,
480
+ 1,
481
+ "none",
482
+ 1,
483
+ 1,
484
+ "none",
485
+ 1,
486
+ 1,
487
+ "none",
488
+ 1,
489
+ 1
490
+ ],
491
+ "widgets_values_named": {
492
+ "mod_1": "fk9_alisonbrie_v1_refmod",
493
+ "strength_1": 1,
494
+ "copies_1": 1,
495
+ "mod_2": "none",
496
+ "strength_2": 1,
497
+ "copies_2": 1,
498
+ "mod_3": "none",
499
+ "strength_3": 1,
500
+ "copies_3": 1,
501
+ "mod_4": "none",
502
+ "strength_4": 1,
503
+ "copies_4": 1,
504
+ "mod_5": "none",
505
+ "strength_5": 1,
506
+ "copies_5": 1,
507
+ "mod_6": "none",
508
+ "strength_6": 1,
509
+ "copies_6": 1,
510
+ "mod_7": "none",
511
+ "strength_7": 1,
512
+ "copies_7": 1,
513
+ "mod_8": "none",
514
+ "strength_8": 1,
515
+ "copies_8": 1
516
+ }
517
+ },
518
+ {
519
+ "id": 51,
520
+ "type": "Klein9RefModApply",
521
+ "pos": [
522
+ 1003.980078125,
523
+ 286
524
+ ],
525
+ "size": [
526
+ 309.230078125,
527
+ 150
528
+ ],
529
+ "flags": {},
530
+ "order": 7,
531
+ "mode": 0,
532
+ "inputs": [
533
+ {
534
+ "name": "conditioning",
535
+ "type": "CONDITIONING",
536
+ "link": 23
537
+ },
538
+ {
539
+ "name": "klein9_refmods",
540
+ "type": "KLEIN9_REFMODS",
541
+ "link": 24
542
+ }
543
+ ],
544
+ "outputs": [
545
+ {
546
+ "name": "conditioning",
547
+ "type": "CONDITIONING",
548
+ "links": [
549
+ 20
550
+ ]
551
+ }
552
+ ],
553
+ "properties": {
554
+ "cnr_id": "ui",
555
+ "ver": "9f1138f7d2c757e1236a395365d842aec5cd2a87",
556
+ "ue_properties": {
557
+ "widget_ue_connectable": {},
558
+ "input_ue_unconnectable": {}
559
+ },
560
+ "Node name for S&R": "Klein9RefModApply"
561
+ },
562
+ "widgets_values": [
563
+ "fully_preserved (1.0)",
564
+ 1,
565
+ "default",
566
+ "manifold_blur"
567
+ ],
568
+ "widgets_values_named": {
569
+ "retention": "fully_preserved (1.0)",
570
+ "custom_retention": 1,
571
+ "ref_method": "default",
572
+ "blend_mode": "manifold_blur"
573
+ }
574
+ },
575
+ {
576
+ "id": 52,
577
+ "type": "Klein9RefModApply",
578
+ "pos": [
579
+ 1413.21015625,
580
+ 130
581
+ ],
582
+ "size": [
583
+ 309.230078125,
584
+ 150
585
+ ],
586
+ "flags": {},
587
+ "order": 8,
588
+ "mode": 0,
589
+ "inputs": [
590
+ {
591
+ "name": "conditioning",
592
+ "type": "CONDITIONING",
593
+ "link": 25
594
+ },
595
+ {
596
+ "name": "klein9_refmods",
597
+ "type": "KLEIN9_REFMODS",
598
+ "link": 26
599
+ }
600
+ ],
601
+ "outputs": [
602
+ {
603
+ "name": "conditioning",
604
+ "type": "CONDITIONING",
605
+ "links": [
606
+ 21
607
+ ]
608
+ }
609
+ ],
610
+ "properties": {
611
+ "cnr_id": "ui",
612
+ "ver": "9f1138f7d2c757e1236a395365d842aec5cd2a87",
613
+ "ue_properties": {
614
+ "widget_ue_connectable": {},
615
+ "input_ue_unconnectable": {}
616
+ },
617
+ "Node name for S&R": "Klein9RefModApply"
618
+ },
619
+ "widgets_values": [
620
+ "fully_preserved (1.0)",
621
+ 1,
622
+ "default",
623
+ "manifold_blur"
624
+ ],
625
+ "widgets_values_named": {
626
+ "retention": "fully_preserved (1.0)",
627
+ "custom_retention": 1,
628
+ "ref_method": "default",
629
+ "blend_mode": "manifold_blur"
630
+ }
631
+ }
632
+ ],
633
+ "links": [
634
+ [
635
+ 14,
636
+ 19,
637
+ 0,
638
+ 8,
639
+ 0,
640
+ "LATENT"
641
+ ],
642
+ [
643
+ 15,
644
+ 3,
645
+ 0,
646
+ 8,
647
+ 1,
648
+ "VAE"
649
+ ],
650
+ [
651
+ 16,
652
+ 2,
653
+ 0,
654
+ 14,
655
+ 0,
656
+ "CLIP"
657
+ ],
658
+ [
659
+ 17,
660
+ 14,
661
+ 0,
662
+ 15,
663
+ 0,
664
+ "CONDITIONING"
665
+ ],
666
+ [
667
+ 18,
668
+ 8,
669
+ 0,
670
+ 16,
671
+ 0,
672
+ "IMAGE"
673
+ ],
674
+ [
675
+ 19,
676
+ 1,
677
+ 0,
678
+ 19,
679
+ 0,
680
+ "MODEL"
681
+ ],
682
+ [
683
+ 20,
684
+ 51,
685
+ 0,
686
+ 19,
687
+ 1,
688
+ "CONDITIONING"
689
+ ],
690
+ [
691
+ 21,
692
+ 52,
693
+ 0,
694
+ 19,
695
+ 2,
696
+ "CONDITIONING"
697
+ ],
698
+ [
699
+ 22,
700
+ 11,
701
+ 0,
702
+ 19,
703
+ 3,
704
+ "LATENT"
705
+ ],
706
+ [
707
+ 23,
708
+ 14,
709
+ 0,
710
+ 51,
711
+ 0,
712
+ "CONDITIONING"
713
+ ],
714
+ [
715
+ 24,
716
+ 50,
717
+ 0,
718
+ 51,
719
+ 1,
720
+ "KLEIN9_REFMODS"
721
+ ],
722
+ [
723
+ 25,
724
+ 15,
725
+ 0,
726
+ 52,
727
+ 0,
728
+ "CONDITIONING"
729
+ ],
730
+ [
731
+ 26,
732
+ 50,
733
+ 0,
734
+ 52,
735
+ 1,
736
+ "KLEIN9_REFMODS"
737
+ ]
738
+ ],
739
+ "groups": [],
740
+ "config": {},
741
+ "extra": {
742
+ "ue_links": [],
743
+ "ds": {
744
+ "scale": 0.8623535062430073,
745
+ "offset": [
746
+ 177.1657904270104,
747
+ 154.34823068626207
748
+ ]
749
+ },
750
+ "frontendVersion": "1.49.6",
751
+ "VHS_latentpreview": false,
752
+ "VHS_latentpreviewrate": 0,
753
+ "VHS_MetadataImage": true,
754
+ "VHS_KeepIntermediate": true
755
+ },
756
+ "version": 0.4
757
+ }
klein9/workflows/workflow_klein9_refmod_lora.json ADDED
@@ -0,0 +1,835 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "00000000-0000-0000-0000-000000000000",
3
+ "revision": 0,
4
+ "last_node_id": 52,
5
+ "last_link_id": 30,
6
+ "nodes": [
7
+ {
8
+ "id": 1,
9
+ "type": "UNETLoader",
10
+ "pos": [
11
+ 100,
12
+ 130
13
+ ],
14
+ "size": [
15
+ 270,
16
+ 82
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [],
22
+ "outputs": [
23
+ {
24
+ "name": "MODEL",
25
+ "type": "MODEL",
26
+ "links": [
27
+ 16
28
+ ]
29
+ }
30
+ ],
31
+ "properties": {
32
+ "cnr_id": "comfy-core",
33
+ "ver": "0.33.3",
34
+ "ue_properties": {
35
+ "widget_ue_connectable": {},
36
+ "input_ue_unconnectable": {}
37
+ },
38
+ "Node name for S&R": "UNETLoader"
39
+ },
40
+ "widgets_values": [
41
+ "FLUX2\\flux-2-klein-9b-fp8.safetensors",
42
+ "default"
43
+ ],
44
+ "widgets_values_named": {
45
+ "unet_name": "FLUX2\\flux-2-klein-9b-fp8.safetensors",
46
+ "weight_dtype": "default"
47
+ }
48
+ },
49
+ {
50
+ "id": 2,
51
+ "type": "CLIPLoader",
52
+ "pos": [
53
+ 100,
54
+ 342
55
+ ],
56
+ "size": [
57
+ 270,
58
+ 106
59
+ ],
60
+ "flags": {},
61
+ "order": 1,
62
+ "mode": 0,
63
+ "inputs": [],
64
+ "outputs": [
65
+ {
66
+ "name": "CLIP",
67
+ "type": "CLIP",
68
+ "links": [
69
+ 17
70
+ ]
71
+ }
72
+ ],
73
+ "properties": {
74
+ "cnr_id": "comfy-core",
75
+ "ver": "0.33.3",
76
+ "ue_properties": {
77
+ "widget_ue_connectable": {},
78
+ "input_ue_unconnectable": {}
79
+ },
80
+ "Node name for S&R": "CLIPLoader"
81
+ },
82
+ "widgets_values": [
83
+ "qwen_3_8b_fp8mixed.safetensors",
84
+ "flux2",
85
+ "default"
86
+ ],
87
+ "widgets_values_named": {
88
+ "clip_name": "qwen_3_8b_fp8mixed.safetensors",
89
+ "type": "flux2",
90
+ "device": "default"
91
+ }
92
+ },
93
+ {
94
+ "id": 3,
95
+ "type": "VAELoader",
96
+ "pos": [
97
+ 100,
98
+ 578
99
+ ],
100
+ "size": [
101
+ 270,
102
+ 58
103
+ ],
104
+ "flags": {},
105
+ "order": 2,
106
+ "mode": 0,
107
+ "inputs": [],
108
+ "outputs": [
109
+ {
110
+ "name": "VAE",
111
+ "type": "VAE",
112
+ "links": [
113
+ 19
114
+ ]
115
+ }
116
+ ],
117
+ "properties": {
118
+ "cnr_id": "comfy-core",
119
+ "ver": "0.33.3",
120
+ "ue_properties": {
121
+ "widget_ue_connectable": {},
122
+ "input_ue_unconnectable": {}
123
+ },
124
+ "Node name for S&R": "VAELoader"
125
+ },
126
+ "widgets_values": [
127
+ "flux2_vae.safetensors"
128
+ ],
129
+ "widgets_values_named": {
130
+ "vae_name": "flux2_vae.safetensors"
131
+ }
132
+ },
133
+ {
134
+ "id": 4,
135
+ "type": "LoraLoader",
136
+ "pos": [
137
+ 503.980078125,
138
+ 130
139
+ ],
140
+ "size": [
141
+ 290.4380859375,
142
+ 126
143
+ ],
144
+ "flags": {},
145
+ "order": 5,
146
+ "mode": 0,
147
+ "inputs": [
148
+ {
149
+ "name": "model",
150
+ "type": "MODEL",
151
+ "link": 16
152
+ },
153
+ {
154
+ "name": "clip",
155
+ "type": "CLIP",
156
+ "link": 17
157
+ }
158
+ ],
159
+ "outputs": [
160
+ {
161
+ "name": "MODEL",
162
+ "type": "MODEL",
163
+ "links": [
164
+ 23
165
+ ]
166
+ },
167
+ {
168
+ "name": "CLIP",
169
+ "type": "CLIP",
170
+ "links": [
171
+ 20
172
+ ]
173
+ }
174
+ ],
175
+ "properties": {
176
+ "cnr_id": "comfy-core",
177
+ "ver": "0.33.3",
178
+ "ue_properties": {
179
+ "widget_ue_connectable": {},
180
+ "input_ue_unconnectable": {}
181
+ },
182
+ "Node name for S&R": "LoraLoader"
183
+ },
184
+ "widgets_values": [
185
+ "FLUX2\\celebs2\\fk9_alisonbrie_v1.safetensors",
186
+ 0.6,
187
+ 0.6
188
+ ],
189
+ "widgets_values_named": {
190
+ "lora_name": "FLUX2\\celebs2\\fk9_alisonbrie_v1.safetensors",
191
+ "strength_model": 0.6,
192
+ "strength_clip": 0.6
193
+ }
194
+ },
195
+ {
196
+ "id": 8,
197
+ "type": "VAEDecode",
198
+ "pos": [
199
+ 2582.8783203125,
200
+ 130
201
+ ],
202
+ "size": [
203
+ 140,
204
+ 46
205
+ ],
206
+ "flags": {},
207
+ "order": 11,
208
+ "mode": 0,
209
+ "inputs": [
210
+ {
211
+ "name": "samples",
212
+ "type": "LATENT",
213
+ "link": 18
214
+ },
215
+ {
216
+ "name": "vae",
217
+ "type": "VAE",
218
+ "link": 19
219
+ }
220
+ ],
221
+ "outputs": [
222
+ {
223
+ "name": "IMAGE",
224
+ "type": "IMAGE",
225
+ "links": [
226
+ 22
227
+ ]
228
+ }
229
+ ],
230
+ "properties": {
231
+ "cnr_id": "comfy-core",
232
+ "ver": "0.33.3",
233
+ "ue_properties": {
234
+ "widget_ue_connectable": {},
235
+ "input_ue_unconnectable": {}
236
+ },
237
+ "Node name for S&R": "VAEDecode"
238
+ }
239
+ },
240
+ {
241
+ "id": 11,
242
+ "type": "EmptyFlux2LatentImage",
243
+ "pos": [
244
+ 100,
245
+ 766
246
+ ],
247
+ "size": [
248
+ 270,
249
+ 106
250
+ ],
251
+ "flags": {},
252
+ "order": 3,
253
+ "mode": 0,
254
+ "inputs": [],
255
+ "outputs": [
256
+ {
257
+ "name": "LATENT",
258
+ "type": "LATENT",
259
+ "links": [
260
+ 26
261
+ ]
262
+ }
263
+ ],
264
+ "properties": {
265
+ "cnr_id": "comfy-core",
266
+ "ver": "0.33.3",
267
+ "ue_properties": {
268
+ "widget_ue_connectable": {},
269
+ "input_ue_unconnectable": {}
270
+ },
271
+ "Node name for S&R": "EmptyFlux2LatentImage"
272
+ },
273
+ "widgets_values": [
274
+ 1024,
275
+ 1024,
276
+ 1
277
+ ],
278
+ "widgets_values_named": {
279
+ "width": 1024,
280
+ "height": 1024,
281
+ "batch_size": 1
282
+ }
283
+ },
284
+ {
285
+ "id": 14,
286
+ "type": "CLIPTextEncode",
287
+ "pos": [
288
+ 894.4181640625,
289
+ 130
290
+ ],
291
+ "size": [
292
+ 400,
293
+ 200
294
+ ],
295
+ "flags": {},
296
+ "order": 6,
297
+ "mode": 0,
298
+ "inputs": [
299
+ {
300
+ "name": "clip",
301
+ "type": "CLIP",
302
+ "link": 20
303
+ }
304
+ ],
305
+ "outputs": [
306
+ {
307
+ "name": "CONDITIONING",
308
+ "type": "CONDITIONING",
309
+ "links": [
310
+ 21,
311
+ 27
312
+ ]
313
+ }
314
+ ],
315
+ "properties": {
316
+ "cnr_id": "comfy-core",
317
+ "ver": "0.33.3",
318
+ "ue_properties": {
319
+ "widget_ue_connectable": {},
320
+ "input_ue_unconnectable": {}
321
+ },
322
+ "Node name for S&R": "CLIPTextEncode"
323
+ },
324
+ "widgets_values": [
325
+ "reference images represent one person, make that person sit at the table, face and hair should be unchanged and exact as in the reference images, high quality photograph, studio lighting, natural looking skin, cinematic lighting, skin with pores, amateur photograph\n\n35mm photograph, shot on Kodak Portra 400, natural skin blemishes and subtle pores, soft directional daylight, shallow depth of field"
326
+ ],
327
+ "widgets_values_named": {
328
+ "text": "reference images represent one person, make that person sit at the table, face and hair should be unchanged and exact as in the reference images, high quality photograph, studio lighting, natural looking skin, cinematic lighting, skin with pores, amateur photograph\n\n35mm photograph, shot on Kodak Portra 400, natural skin blemishes and subtle pores, soft directional daylight, shallow depth of field"
329
+ }
330
+ },
331
+ {
332
+ "id": 15,
333
+ "type": "ConditioningZeroOut",
334
+ "pos": [
335
+ 1394.4181640625,
336
+ 130
337
+ ],
338
+ "size": [
339
+ 204.134765625,
340
+ 26
341
+ ],
342
+ "flags": {},
343
+ "order": 7,
344
+ "mode": 0,
345
+ "inputs": [
346
+ {
347
+ "name": "conditioning",
348
+ "type": "CONDITIONING",
349
+ "link": 21
350
+ }
351
+ ],
352
+ "outputs": [
353
+ {
354
+ "name": "CONDITIONING",
355
+ "type": "CONDITIONING",
356
+ "links": [
357
+ 29
358
+ ]
359
+ }
360
+ ],
361
+ "properties": {
362
+ "cnr_id": "comfy-core",
363
+ "ver": "0.33.3",
364
+ "ue_properties": {
365
+ "widget_ue_connectable": {},
366
+ "input_ue_unconnectable": {}
367
+ },
368
+ "Node name for S&R": "ConditioningZeroOut"
369
+ }
370
+ },
371
+ {
372
+ "id": 16,
373
+ "type": "SaveImage",
374
+ "pos": [
375
+ 2822.8783203125,
376
+ 130
377
+ ],
378
+ "size": [
379
+ 270,
380
+ 58
381
+ ],
382
+ "flags": {},
383
+ "order": 12,
384
+ "mode": 0,
385
+ "inputs": [
386
+ {
387
+ "name": "images",
388
+ "type": "IMAGE",
389
+ "link": 22
390
+ }
391
+ ],
392
+ "outputs": [
393
+ {
394
+ "name": "images",
395
+ "type": "IMAGE",
396
+ "links": null
397
+ }
398
+ ],
399
+ "properties": {
400
+ "cnr_id": "comfy-core",
401
+ "ver": "0.33.3",
402
+ "ue_properties": {
403
+ "widget_ue_connectable": {},
404
+ "input_ue_unconnectable": {}
405
+ },
406
+ "Node name for S&R": "SaveImage"
407
+ },
408
+ "widgets_values": [
409
+ "Flux2-Klein9-RefModLoRA-AlisonBrie-Run1"
410
+ ],
411
+ "widgets_values_named": {
412
+ "filename_prefix": "Flux2-Klein9-RefModLoRA-AlisonBrie-Run1"
413
+ }
414
+ },
415
+ {
416
+ "id": 19,
417
+ "type": "KSampler",
418
+ "pos": [
419
+ 2212.8783203125,
420
+ 130
421
+ ],
422
+ "size": [
423
+ 270,
424
+ 262
425
+ ],
426
+ "flags": {},
427
+ "order": 10,
428
+ "mode": 0,
429
+ "inputs": [
430
+ {
431
+ "name": "model",
432
+ "type": "MODEL",
433
+ "link": 23
434
+ },
435
+ {
436
+ "name": "positive",
437
+ "type": "CONDITIONING",
438
+ "link": 24
439
+ },
440
+ {
441
+ "name": "negative",
442
+ "type": "CONDITIONING",
443
+ "link": 25
444
+ },
445
+ {
446
+ "name": "latent_image",
447
+ "type": "LATENT",
448
+ "link": 26
449
+ }
450
+ ],
451
+ "outputs": [
452
+ {
453
+ "name": "LATENT",
454
+ "type": "LATENT",
455
+ "links": [
456
+ 18
457
+ ]
458
+ }
459
+ ],
460
+ "properties": {
461
+ "cnr_id": "comfy-core",
462
+ "ver": "0.33.3",
463
+ "ue_properties": {
464
+ "widget_ue_connectable": {},
465
+ "input_ue_unconnectable": {}
466
+ },
467
+ "Node name for S&R": "KSampler"
468
+ },
469
+ "widgets_values": [
470
+ 861893278785447,
471
+ "randomize",
472
+ 8,
473
+ 1,
474
+ "res_multistep",
475
+ "simple",
476
+ 1
477
+ ],
478
+ "widgets_values_named": {
479
+ "seed": 861893278785447,
480
+ "control_after_generate": "randomize",
481
+ "steps": 8,
482
+ "cfg": 1,
483
+ "sampler_name": "res_multistep",
484
+ "scheduler": "simple",
485
+ "denoise": 1
486
+ }
487
+ },
488
+ {
489
+ "id": 50,
490
+ "type": "Klein9RefModsLoader",
491
+ "pos": [
492
+ 100,
493
+ 1002
494
+ ],
495
+ "size": [
496
+ 303.980078125,
497
+ 630
498
+ ],
499
+ "flags": {},
500
+ "order": 4,
501
+ "mode": 0,
502
+ "inputs": [],
503
+ "outputs": [
504
+ {
505
+ "name": "klein9_refmods",
506
+ "type": "KLEIN9_REFMODS",
507
+ "links": [
508
+ 28,
509
+ 30
510
+ ]
511
+ },
512
+ {
513
+ "name": "prompt_hint",
514
+ "type": "STRING",
515
+ "links": null
516
+ }
517
+ ],
518
+ "properties": {
519
+ "cnr_id": "ui",
520
+ "ver": "9f1138f7d2c757e1236a395365d842aec5cd2a87",
521
+ "ue_properties": {
522
+ "widget_ue_connectable": {},
523
+ "input_ue_unconnectable": {}
524
+ },
525
+ "Node name for S&R": "Klein9RefModsLoader"
526
+ },
527
+ "widgets_values": [
528
+ "fk9_alisonbrie_v1_refmod",
529
+ 1,
530
+ 1,
531
+ "none",
532
+ 1,
533
+ 1,
534
+ "none",
535
+ 1,
536
+ 1,
537
+ "none",
538
+ 1,
539
+ 1,
540
+ "none",
541
+ 1,
542
+ 1,
543
+ "none",
544
+ 1,
545
+ 1,
546
+ "none",
547
+ 1,
548
+ 1,
549
+ "none",
550
+ 1,
551
+ 1
552
+ ],
553
+ "widgets_values_named": {
554
+ "mod_1": "fk9_alisonbrie_v1_refmod",
555
+ "strength_1": 1,
556
+ "copies_1": 1,
557
+ "mod_2": "none",
558
+ "strength_2": 1,
559
+ "copies_2": 1,
560
+ "mod_3": "none",
561
+ "strength_3": 1,
562
+ "copies_3": 1,
563
+ "mod_4": "none",
564
+ "strength_4": 1,
565
+ "copies_4": 1,
566
+ "mod_5": "none",
567
+ "strength_5": 1,
568
+ "copies_5": 1,
569
+ "mod_6": "none",
570
+ "strength_6": 1,
571
+ "copies_6": 1,
572
+ "mod_7": "none",
573
+ "strength_7": 1,
574
+ "copies_7": 1,
575
+ "mod_8": "none",
576
+ "strength_8": 1,
577
+ "copies_8": 1
578
+ }
579
+ },
580
+ {
581
+ "id": 51,
582
+ "type": "Klein9RefModApply",
583
+ "pos": [
584
+ 1394.4181640625,
585
+ 286
586
+ ],
587
+ "size": [
588
+ 309.230078125,
589
+ 150
590
+ ],
591
+ "flags": {},
592
+ "order": 8,
593
+ "mode": 0,
594
+ "inputs": [
595
+ {
596
+ "name": "conditioning",
597
+ "type": "CONDITIONING",
598
+ "link": 27
599
+ },
600
+ {
601
+ "name": "klein9_refmods",
602
+ "type": "KLEIN9_REFMODS",
603
+ "link": 28
604
+ }
605
+ ],
606
+ "outputs": [
607
+ {
608
+ "name": "conditioning",
609
+ "type": "CONDITIONING",
610
+ "links": [
611
+ 24
612
+ ]
613
+ }
614
+ ],
615
+ "properties": {
616
+ "cnr_id": "ui",
617
+ "ver": "9f1138f7d2c757e1236a395365d842aec5cd2a87",
618
+ "ue_properties": {
619
+ "widget_ue_connectable": {},
620
+ "input_ue_unconnectable": {}
621
+ },
622
+ "Node name for S&R": "Klein9RefModApply"
623
+ },
624
+ "widgets_values": [
625
+ "fully_preserved (1.0)",
626
+ 1,
627
+ "default",
628
+ "manifold_blur"
629
+ ],
630
+ "widgets_values_named": {
631
+ "retention": "fully_preserved (1.0)",
632
+ "custom_retention": 1,
633
+ "ref_method": "default",
634
+ "blend_mode": "manifold_blur"
635
+ }
636
+ },
637
+ {
638
+ "id": 52,
639
+ "type": "Klein9RefModApply",
640
+ "pos": [
641
+ 1803.6482421874998,
642
+ 130
643
+ ],
644
+ "size": [
645
+ 309.230078125,
646
+ 150
647
+ ],
648
+ "flags": {},
649
+ "order": 9,
650
+ "mode": 0,
651
+ "inputs": [
652
+ {
653
+ "name": "conditioning",
654
+ "type": "CONDITIONING",
655
+ "link": 29
656
+ },
657
+ {
658
+ "name": "klein9_refmods",
659
+ "type": "KLEIN9_REFMODS",
660
+ "link": 30
661
+ }
662
+ ],
663
+ "outputs": [
664
+ {
665
+ "name": "conditioning",
666
+ "type": "CONDITIONING",
667
+ "links": [
668
+ 25
669
+ ]
670
+ }
671
+ ],
672
+ "properties": {
673
+ "cnr_id": "ui",
674
+ "ver": "9f1138f7d2c757e1236a395365d842aec5cd2a87",
675
+ "ue_properties": {
676
+ "widget_ue_connectable": {},
677
+ "input_ue_unconnectable": {}
678
+ },
679
+ "Node name for S&R": "Klein9RefModApply"
680
+ },
681
+ "widgets_values": [
682
+ "fully_preserved (1.0)",
683
+ 1,
684
+ "default",
685
+ "manifold_blur"
686
+ ],
687
+ "widgets_values_named": {
688
+ "retention": "fully_preserved (1.0)",
689
+ "custom_retention": 1,
690
+ "ref_method": "default",
691
+ "blend_mode": "manifold_blur"
692
+ }
693
+ }
694
+ ],
695
+ "links": [
696
+ [
697
+ 16,
698
+ 1,
699
+ 0,
700
+ 4,
701
+ 0,
702
+ "MODEL"
703
+ ],
704
+ [
705
+ 17,
706
+ 2,
707
+ 0,
708
+ 4,
709
+ 1,
710
+ "CLIP"
711
+ ],
712
+ [
713
+ 18,
714
+ 19,
715
+ 0,
716
+ 8,
717
+ 0,
718
+ "LATENT"
719
+ ],
720
+ [
721
+ 19,
722
+ 3,
723
+ 0,
724
+ 8,
725
+ 1,
726
+ "VAE"
727
+ ],
728
+ [
729
+ 20,
730
+ 4,
731
+ 1,
732
+ 14,
733
+ 0,
734
+ "CLIP"
735
+ ],
736
+ [
737
+ 21,
738
+ 14,
739
+ 0,
740
+ 15,
741
+ 0,
742
+ "CONDITIONING"
743
+ ],
744
+ [
745
+ 22,
746
+ 8,
747
+ 0,
748
+ 16,
749
+ 0,
750
+ "IMAGE"
751
+ ],
752
+ [
753
+ 23,
754
+ 4,
755
+ 0,
756
+ 19,
757
+ 0,
758
+ "MODEL"
759
+ ],
760
+ [
761
+ 24,
762
+ 51,
763
+ 0,
764
+ 19,
765
+ 1,
766
+ "CONDITIONING"
767
+ ],
768
+ [
769
+ 25,
770
+ 52,
771
+ 0,
772
+ 19,
773
+ 2,
774
+ "CONDITIONING"
775
+ ],
776
+ [
777
+ 26,
778
+ 11,
779
+ 0,
780
+ 19,
781
+ 3,
782
+ "LATENT"
783
+ ],
784
+ [
785
+ 27,
786
+ 14,
787
+ 0,
788
+ 51,
789
+ 0,
790
+ "CONDITIONING"
791
+ ],
792
+ [
793
+ 28,
794
+ 50,
795
+ 0,
796
+ 51,
797
+ 1,
798
+ "KLEIN9_REFMODS"
799
+ ],
800
+ [
801
+ 29,
802
+ 15,
803
+ 0,
804
+ 52,
805
+ 0,
806
+ "CONDITIONING"
807
+ ],
808
+ [
809
+ 30,
810
+ 50,
811
+ 0,
812
+ 52,
813
+ 1,
814
+ "KLEIN9_REFMODS"
815
+ ]
816
+ ],
817
+ "groups": [],
818
+ "config": {},
819
+ "extra": {
820
+ "ue_links": [],
821
+ "ds": {
822
+ "scale": 0.8623535062430073,
823
+ "offset": [
824
+ 179.48502492367686,
825
+ 58.09999907460679
826
+ ]
827
+ },
828
+ "frontendVersion": "1.49.6",
829
+ "VHS_latentpreview": false,
830
+ "VHS_latentpreviewrate": 0,
831
+ "VHS_MetadataImage": true,
832
+ "VHS_KeepIntermediate": true
833
+ },
834
+ "version": 0.4
835
+ }