cusiman commited on
Commit
bea8a28
·
0 Parent(s):

Duplicate from cusiman/Krea2_FP8

Browse files
.gitattributes ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ assets/samples/3d.png filter=lfs diff=lfs merge=lfs -text
37
+ assets/samples/anime.png filter=lfs diff=lfs merge=lfs -text
38
+ assets/samples/beach.png filter=lfs diff=lfs merge=lfs -text
39
+ assets/samples/blocks.png filter=lfs diff=lfs merge=lfs -text
40
+ assets/samples/cel.png filter=lfs diff=lfs merge=lfs -text
41
+ assets/samples/dog.png filter=lfs diff=lfs merge=lfs -text
42
+ assets/samples/face.png filter=lfs diff=lfs merge=lfs -text
43
+ assets/samples/flowers.png filter=lfs diff=lfs merge=lfs -text
44
+ assets/samples/fox.png filter=lfs diff=lfs merge=lfs -text
45
+ assets/samples/future.png filter=lfs diff=lfs merge=lfs -text
46
+ assets/samples/goldface.png filter=lfs diff=lfs merge=lfs -text
47
+ assets/samples/jester.png filter=lfs diff=lfs merge=lfs -text
48
+ assets/samples/mouse.png filter=lfs diff=lfs merge=lfs -text
49
+ assets/samples/red.png filter=lfs diff=lfs merge=lfs -text
50
+ assets/samples/ride.png filter=lfs diff=lfs merge=lfs -text
51
+ assets/samples/sailor.png filter=lfs diff=lfs merge=lfs -text
52
+ assets/samples/statue.png filter=lfs diff=lfs merge=lfs -text
53
+ assets/samples/takeoff.png filter=lfs diff=lfs merge=lfs -text
54
+ assets/samples/tree.png filter=lfs diff=lfs merge=lfs -text
55
+ assets/samples/wind.png filter=lfs diff=lfs merge=lfs -text
56
+ assets/k2.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: krea-2-license
4
+ license_link: https://www.krea.ai/krea-2-licensing
5
+ pipeline_tag: text-to-image
6
+ library_name: diffusers
7
+ tags:
8
+ - text-to-image
9
+ - image-generation
10
+ - dit
11
+ - fp8
12
+ - comfyui
13
+ - diffusers
14
+ - krea
15
+ - krea2
16
+ ---
17
+
18
+ # Krea 2 OSS - Optimized FP8 Weights (Turbo)
19
+
20
+ This repository provides an optimized **FP8 (float8_e4m3fn) weight-only quantized version** of the newly released **Krea 2 OSS (Turbo)** transformer.
21
+
22
+ This optimization reduces the model size from the original **24.76 GiB (BF16)** down to **12.01 GiB**, making it highly accessible and runnable on standard consumer hardware (such as 16GB and 24GB GPUs) without sacrificing output quality.
23
+
24
+ ## ⚠️ Licensing & Disclaimer
25
+ - **Original Model Creators**: All credit goes to [KREA.ai](https://www.krea.ai) for the original research, architecture, and weights.
26
+ - **License**: This model is subject to the **KREA 2 License Agreement**. Please read and comply with the official license terms before using these weights: [KREA 2 Licensing Terms](https://www.krea.ai/krea-2-licensing).
27
+ - **Purpose**: This repository is a community-contributed utility. It does not claim ownership of the original model or architecture. Its sole purpose is to provide optimized, consumer-hardware-friendly weights for the open-source community.
28
+
29
+ ---
30
+
31
+ ## 🛠️ Quantization Details (Quality-First FP8)
32
+
33
+ Unlike generic global quantization scripts that aggressively convert every parameter (which often degrades generation details or introduces NaN/promotion calculation errors in neural networks), this model was quantized using a **selective weight-only strategy**:
34
+
35
+ 1. **Targeted Quantization**: Only 2D floating-point weight matrices (`.weight` keys with `ndim >= 2` and element count `> 1024`) were quantized to `torch.float8_e4m3fn`.
36
+ 2. **Preserved Precision**:
37
+ - All 1D vectors, biases, and normalization scales are kept in their native high-precision (`float32` / `bfloat16`).
38
+ - Highly sensitive projection/modulation layers (such as `LastLayer.modulation.lin` vectors) are **completely preserved** in high-precision. This prevents typical mathematical promotion bugs (such as `BFloat16` and `Float8` promotion issues in PyTorch) and retains original output fidelity.
39
+ 3. **Weight Comparison**:
40
+ - **Tensors Quantized to FP8**: 266 tensors.
41
+ - **Tensors Kept in Native Precision**: 166 tensors.
42
+ - **Size Reduction**: **24.76 GiB ➔ 12.01 GiB** (~51.5% VRAM / disk savings!).
43
+
44
+ ---
45
+
46
+ ## 🖼️ Sample Generations
47
+
48
+ Below are official sample outputs from the original Krea 2 OSS Turbo model (generated with the same BF16 weights this FP8 conversion is based on):
49
+
50
+ | | | |
51
+ |:-------------------------:|:-------------------------:|:-------------------------:|
52
+ | ![3d](assets/samples/3d.png) | ![anime](assets/samples/anime.png) | ![beach](assets/samples/beach.png) |
53
+ | **3D** | **Anime** | **Beach** |
54
+ | ![blocks](assets/samples/blocks.png) | ![cel](assets/samples/cel.png) | ![dog](assets/samples/dog.png) |
55
+ | **Blocks** | **Cel** | **Dog** |
56
+ | ![face](assets/samples/face.png) | ![flowers](assets/samples/flowers.png) | ![fox](assets/samples/fox.png) |
57
+ | **Face** | **Flowers** | **Fox** |
58
+ | ![future](assets/samples/future.png) | ![goldface](assets/samples/goldface.png) | ![jester](assets/samples/jester.png) |
59
+ | **Future** | **Goldface** | **Jester** |
60
+ | ![mouse](assets/samples/mouse.png) | ![red](assets/samples/red.png) | ![ride](assets/samples/ride.png) |
61
+ | **Mouse** | **Red** | **Ride** |
62
+ | ![sailor](assets/samples/sailor.png) | ![statue](assets/samples/statue.png) | ![takeoff](assets/samples/takeoff.png) |
63
+ | **Sailor** | **Statue** | **Takeoff** |
64
+ | ![tree](assets/samples/tree.png) | ![wind](assets/samples/wind.png) | |
65
+ | **Tree** | **Wind** | |
66
+
67
+ ---
68
+
69
+
70
+ ## 🚀 How to Use in ComfyUI (Native — 0.25.0+)
71
+
72
+ ComfyUI 0.25.0+ has **built-in Krea2 support**. No custom nodes needed.
73
+ Drop the workflow JSON into ComfyUI and drag it to the canvas.
74
+
75
+ ### 1. Download Required Files
76
+
77
+ Place these in your `ComfyUI/models/` folder:
78
+
79
+ | File | Folder | Source |
80
+ |------|--------|--------|
81
+ | `krea2_turbo_fp8.safetensors` | `unet/` | [AlperKTS/Krea2_FP8](https://huggingface.co/AlperKTS/Krea2_FP8) ← You are here |
82
+ | `qwen3vl_4b_fp8_scaled.safetensors` | `text_encoders/` | [Comfy-Org/Qwen3-VL](https://huggingface.co/Comfy-Org/Qwen3-VL/tree/main/text_encoders) |
83
+ | `qwen_image_vae.safetensors` | `vae/` | [Comfy-Org/Qwen-Image_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/tree/main/split_files/vae) |
84
+
85
+ ### 2. Load the Workflow
86
+
87
+ Drag [`workflows/Krea 2 simple workflow.json`](workflows/Krea%202%20simple%20workflow.json) onto your ComfyUI canvas.
88
+
89
+ ### 3. Queue & Generate!
90
+
91
+ Turbo defaults: **8 steps, CFG 1.0, `er_sde` sampler, `simple` scheduler, 1280×720.**
92
+
93
+ ---
94
+
95
+ ## 🤝 Acknowledgements
96
+ Special thanks to the **KREA.ai** team for releasing Krea 2 to the open-source community. For any commercial licensing inquiries or details about the model, please visit [krea.ai](https://www.krea.ai).
assets/k2.png ADDED

Git LFS Details

  • SHA256: ada0f8dc325b1df3a9f93b77b74fa1d9fbebc2c273fbee7ab3cc88e10cbc5d4f
  • Pointer size: 132 Bytes
  • Size of remote file: 4.63 MB
assets/samples/3d.png ADDED

Git LFS Details

  • SHA256: fe970938cf25528d3a33eb9f4b2a38f75b3624c993870106da3bef1b30c32e51
  • Pointer size: 132 Bytes
  • Size of remote file: 3.23 MB
assets/samples/anime.png ADDED

Git LFS Details

  • SHA256: 0f5d1e9d91157451804c4da11f96975cdf18141ee085866c0a97cd6789d4d280
  • Pointer size: 132 Bytes
  • Size of remote file: 3.54 MB
assets/samples/beach.png ADDED

Git LFS Details

  • SHA256: a8971bb70423ccf1ea8acb6ce7734a2b807e18acc4e35d33342c6a8c38310c0e
  • Pointer size: 132 Bytes
  • Size of remote file: 5.22 MB
assets/samples/blocks.png ADDED

Git LFS Details

  • SHA256: 5c8e7bf93c04894703bd7d5aa531531482aef954a10beb2f3d27bc85598ae7be
  • Pointer size: 132 Bytes
  • Size of remote file: 6.47 MB
assets/samples/cel.png ADDED

Git LFS Details

  • SHA256: 07152c7a4ca2eaab534e84ebab487937f493574d92270723e9126c6c022620af
  • Pointer size: 132 Bytes
  • Size of remote file: 4.61 MB
assets/samples/dog.png ADDED

Git LFS Details

  • SHA256: 901cce29b98f8cd938975f2a1975c76edff9bcbc6fe3f3f3e94829fa2cce1698
  • Pointer size: 132 Bytes
  • Size of remote file: 6.34 MB
assets/samples/face.png ADDED

Git LFS Details

  • SHA256: c2e729962ef4ba192bf5985bc0f635b127caa7dff9914e06207d4d15846ee0b4
  • Pointer size: 132 Bytes
  • Size of remote file: 5.1 MB
assets/samples/flowers.png ADDED

Git LFS Details

  • SHA256: 9e28c460a07b612ec4444da63c9a7c39656c2746a404b34ffe5a5f777f9c111f
  • Pointer size: 132 Bytes
  • Size of remote file: 4.42 MB
assets/samples/fox.png ADDED

Git LFS Details

  • SHA256: 380a2351673e06fb497ea40a25b8a985d688d36f34c374bf910cc1b3d93de942
  • Pointer size: 132 Bytes
  • Size of remote file: 5.31 MB
assets/samples/future.png ADDED

Git LFS Details

  • SHA256: c6260fdd4da9792d969bdeaccf4c410d78b0118f49989f825526694dc2de194b
  • Pointer size: 132 Bytes
  • Size of remote file: 4.55 MB
assets/samples/goldface.png ADDED

Git LFS Details

  • SHA256: eb36d87ead5561dc2aca73e20edd7579d4b93d12636c4bc8c647baf4a4044db3
  • Pointer size: 132 Bytes
  • Size of remote file: 4.65 MB
assets/samples/jester.png ADDED

Git LFS Details

  • SHA256: d5cd1eccc519aa48c7b872f964296e71d7977d855a71bb8629b9920edb45d665
  • Pointer size: 132 Bytes
  • Size of remote file: 3.89 MB
assets/samples/mouse.png ADDED

Git LFS Details

  • SHA256: 887fb3977546b9fad448317daac5a047ee5bfdb0d4295dca229cf95fc786b767
  • Pointer size: 132 Bytes
  • Size of remote file: 4.51 MB
assets/samples/red.png ADDED

Git LFS Details

  • SHA256: a0f91c32920007462b0774e209f68b183a75a33da2fd8fdef138520268016566
  • Pointer size: 132 Bytes
  • Size of remote file: 4 MB
assets/samples/ride.png ADDED

Git LFS Details

  • SHA256: c86fe0cccf304aa485810d973e6eb69f9296736757e52ef54a2455d73f8a1546
  • Pointer size: 132 Bytes
  • Size of remote file: 4.06 MB
assets/samples/sailor.png ADDED

Git LFS Details

  • SHA256: bef45c38babcbaf66da37ac42ca10e869b09819d4247eb93b44b057ede9a25d8
  • Pointer size: 132 Bytes
  • Size of remote file: 3.44 MB
assets/samples/statue.png ADDED

Git LFS Details

  • SHA256: f70502de7fcab8d61bba96bcecc4f2b4f3f9b63b1084b040361f1f5d141e2d8d
  • Pointer size: 132 Bytes
  • Size of remote file: 5.5 MB
assets/samples/takeoff.png ADDED

Git LFS Details

  • SHA256: 0c20a5b3adce2668ae1c8c3ece4495f3b1e37629ac859900f1d3f1d7c0e8a2da
  • Pointer size: 132 Bytes
  • Size of remote file: 4.65 MB
assets/samples/tree.png ADDED

Git LFS Details

  • SHA256: b38a4c5eb1451a2472c2fc3065798f120365bb018d926e6baffa45c3e9e76529
  • Pointer size: 132 Bytes
  • Size of remote file: 7.32 MB
assets/samples/wind.png ADDED

Git LFS Details

  • SHA256: 301591fd2074283e8058e926c9b66c89141b3c04f4a05f09d9b6f9e110a57c91
  • Pointer size: 132 Bytes
  • Size of remote file: 3.61 MB
config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "krea2",
3
+ "format": "safetensors",
4
+ "quantization": "fp8",
5
+ "torch_dtype": "float8_e4m3fn",
6
+ "library": "comfyui",
7
+ "base_model": "Krea 2 OSS Turbo",
8
+ "description": "Metadata file added so Hugging Face can track downloads for this ComfyUI FP8 safetensors model repository."
9
+ }
krea2TurboUncensored_v1.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5082a0f1c8bde11e5544f47994970210611f2b9de6847c3677c60039a981a84a
3
+ size 13141800104
krea2_turbo_fp8.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d3523507c59df965e5d4ec9a1b9b4591297a50c058915c36fb29d124d30f64e
3
+ size 12900096996
workflows/Krea 2 simple workflow.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"id":"163ec137-2b5c-4530-a8fb-acc942d50362","revision":0,"last_node_id":14,"last_link_id":14,"nodes":[{"id":13,"type":"CLIPLoader","pos":[-239.70036637591437,452.2730542698175],"size":[270,106],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[14]}],"properties":{"Node name for S&R":"CLIPLoader"},"widgets_values":["qwen3vl_4b_fp8_scaled.safetensors","krea2","default"]},{"id":1,"type":"UNETLoader","pos":[-230.25980788744175,282.7590897338294],"size":[270,107.328125],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"unet_name","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"localized_name":"weight_dtype","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","links":[1]}],"properties":{"Node name for S&R":"UNETLoader"},"widgets_values":["krea2_turbo_fp8.safetensors","default"]},{"id":8,"type":"ConditioningZeroOut","pos":[73.15070651478543,384.90824938723097],"size":[225,47.328125],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"conditioning","name":"conditioning","type":"CONDITIONING","link":12}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[8]}],"properties":{"Node name for S&R":"ConditioningZeroOut"},"widgets_values":[]},{"id":10,"type":"EmptyLatentImage","pos":[-244.20352766583179,611.1969434544516],"size":[270,143.328125],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"batch_size","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[11]}],"properties":{"Node name for S&R":"EmptyLatentImage"},"widgets_values":[1280,720,1]},{"id":3,"type":"VAEDecode","pos":[508.94429962924545,298.17126658136203],"size":[225,71.328125],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":2},{"localized_name":"vae","name":"vae","type":"VAE","link":3}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","links":[4]}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":2,"type":"KSampler","pos":[483.43480981917327,281.34722825055803],"size":[270,339.3125],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":1},{"localized_name":"positive","name":"positive","type":"CONDITIONING","link":5},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":8},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":11},{"localized_name":"seed","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","links":[2]}],"properties":{"Node name for S&R":"KSampler"},"widgets_values":[0,"fixed",8,1,"er_sde","simple",1]},{"id":5,"type":"PreviewImage","pos":[773.7542601439403,284.1981937160219],"size":[488.75,369.1875],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":4}],"outputs":[{"localized_name":"images","name":"images","type":"IMAGE","links":null}],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":6,"type":"CLIPTextEncode","pos":[62.19365137970213,281.4151802617166],"size":[400,200],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":14},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[5,12]}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":[""]},{"id":4,"type":"VAELoader","pos":[69.59101552862388,536.3067955105726],"size":[270,79.328125],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","links":[3]}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["qwen_image_vae.safetensors"]},{"id":14,"type":"Note","pos":[-545.9098225343677,283.1357979777654],"size":[301.34627731381056,237.4808168503194],"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Text encoder is the 4b from here: https://huggingface.co/Comfy-Org/Qwen3-VL/tree/main/text_encoders\n\nhttps://huggingface.co/Comfy-Org/Qwen3-VL/blob/main/text_encoders/qwen3vl_4b_fp8_scaled.safetensors\n\n\nhttps://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/blob/main/split_files/vae/qwen_image_vae.safetensors"],"color":"#432","bgcolor":"#653"}],"links":[[1,1,0,2,0,"MODEL"],[2,2,0,3,0,"LATENT"],[3,4,0,3,1,"VAE"],[4,3,0,5,0,"IMAGE"],[5,6,0,2,1,"CONDITIONING"],[8,8,0,2,2,"CONDITIONING"],[11,10,0,2,3,"LATENT"],[12,6,0,8,0,"CONDITIONING"],[14,13,0,6,0,"CLIP"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.1515692171107577,"offset":[600.8963051520747,-159.3262854424936]},"frontendVersion":"1.45.19"},"version":0.4}
workflows/krea2_native_workflow.json ADDED
@@ -0,0 +1,473 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 14,
3
+ "last_link_id": 14,
4
+ "nodes": [
5
+ {
6
+ "id": 13,
7
+ "type": "CLIPLoader",
8
+ "pos": [
9
+ -240,
10
+ 452
11
+ ],
12
+ "size": [
13
+ 270,
14
+ 106
15
+ ],
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "inputs": [],
20
+ "outputs": [
21
+ {
22
+ "name": "CLIP",
23
+ "type": "CLIP",
24
+ "links": [
25
+ 14
26
+ ],
27
+ "slot_index": 0
28
+ }
29
+ ],
30
+ "properties": {
31
+ "Node name for S&R": "CLIPLoader"
32
+ },
33
+ "widgets_values": [
34
+ "qwen3vl_4b_fp8_scaled.safetensors",
35
+ "krea2",
36
+ "default"
37
+ ],
38
+ "title": "CLIP Loader - Krea2"
39
+ },
40
+ {
41
+ "id": 1,
42
+ "type": "UNETLoader",
43
+ "pos": [
44
+ -230,
45
+ 283
46
+ ],
47
+ "size": [
48
+ 270,
49
+ 107
50
+ ],
51
+ "flags": {},
52
+ "order": 1,
53
+ "mode": 0,
54
+ "inputs": [],
55
+ "outputs": [
56
+ {
57
+ "name": "MODEL",
58
+ "type": "MODEL",
59
+ "links": [
60
+ 1
61
+ ],
62
+ "slot_index": 0
63
+ }
64
+ ],
65
+ "properties": {
66
+ "Node name for S&R": "UNETLoader"
67
+ },
68
+ "widgets_values": [
69
+ "krea2_turbo_fp8.safetensors",
70
+ "default"
71
+ ],
72
+ "title": "UNET Loader - Krea2 Turbo FP8"
73
+ },
74
+ {
75
+ "id": 4,
76
+ "type": "VAELoader",
77
+ "pos": [
78
+ 70,
79
+ 536
80
+ ],
81
+ "size": [
82
+ 270,
83
+ 79
84
+ ],
85
+ "flags": {},
86
+ "order": 3,
87
+ "mode": 0,
88
+ "inputs": [],
89
+ "outputs": [
90
+ {
91
+ "name": "VAE",
92
+ "type": "VAE",
93
+ "links": [
94
+ 3
95
+ ],
96
+ "slot_index": 0
97
+ }
98
+ ],
99
+ "properties": {
100
+ "Node name for S&R": "VAELoader"
101
+ },
102
+ "widgets_values": [
103
+ "qwen_image_vae.safetensors"
104
+ ],
105
+ "title": "VAE Loader"
106
+ },
107
+ {
108
+ "id": 10,
109
+ "type": "EmptyLatentImage",
110
+ "pos": [
111
+ -244,
112
+ 611
113
+ ],
114
+ "size": [
115
+ 270,
116
+ 143
117
+ ],
118
+ "flags": {},
119
+ "order": 2,
120
+ "mode": 0,
121
+ "inputs": [],
122
+ "outputs": [
123
+ {
124
+ "name": "LATENT",
125
+ "type": "LATENT",
126
+ "links": [
127
+ 11
128
+ ],
129
+ "slot_index": 0
130
+ }
131
+ ],
132
+ "properties": {
133
+ "Node name for S&R": "EmptyLatentImage"
134
+ },
135
+ "widgets_values": [
136
+ 1280,
137
+ 720,
138
+ 1
139
+ ],
140
+ "title": "Empty Latent Image"
141
+ },
142
+ {
143
+ "id": 6,
144
+ "type": "CLIPTextEncode",
145
+ "pos": [
146
+ 62,
147
+ 281
148
+ ],
149
+ "size": [
150
+ 400,
151
+ 200
152
+ ],
153
+ "flags": {},
154
+ "order": 5,
155
+ "mode": 0,
156
+ "inputs": [
157
+ {
158
+ "name": "clip",
159
+ "type": "CLIP",
160
+ "link": 14
161
+ }
162
+ ],
163
+ "outputs": [
164
+ {
165
+ "name": "CONDITIONING",
166
+ "type": "CONDITIONING",
167
+ "links": [
168
+ 5,
169
+ 12
170
+ ],
171
+ "slot_index": 0
172
+ }
173
+ ],
174
+ "properties": {
175
+ "Node name for S&R": "CLIPTextEncode"
176
+ },
177
+ "widgets_values": [
178
+ "A cinematic photo of a cat wearing steampunk goggles, dramatic lighting, 8K"
179
+ ],
180
+ "title": "Positive Prompt"
181
+ },
182
+ {
183
+ "id": 8,
184
+ "type": "ConditioningZeroOut",
185
+ "pos": [
186
+ 73,
187
+ 385
188
+ ],
189
+ "size": [
190
+ 225,
191
+ 47
192
+ ],
193
+ "flags": {},
194
+ "order": 6,
195
+ "mode": 0,
196
+ "inputs": [
197
+ {
198
+ "name": "conditioning",
199
+ "type": "CONDITIONING",
200
+ "link": 12
201
+ }
202
+ ],
203
+ "outputs": [
204
+ {
205
+ "name": "CONDITIONING",
206
+ "type": "CONDITIONING",
207
+ "links": [
208
+ 8
209
+ ],
210
+ "slot_index": 0
211
+ }
212
+ ],
213
+ "properties": {
214
+ "Node name for S&R": "ConditioningZeroOut"
215
+ },
216
+ "widgets_values": [],
217
+ "title": "Negative (Zero Out)"
218
+ },
219
+ {
220
+ "id": 2,
221
+ "type": "KSampler",
222
+ "pos": [
223
+ 483,
224
+ 281
225
+ ],
226
+ "size": [
227
+ 270,
228
+ 339
229
+ ],
230
+ "flags": {},
231
+ "order": 7,
232
+ "mode": 0,
233
+ "inputs": [
234
+ {
235
+ "name": "model",
236
+ "type": "MODEL",
237
+ "link": 1
238
+ },
239
+ {
240
+ "name": "positive",
241
+ "type": "CONDITIONING",
242
+ "link": 5
243
+ },
244
+ {
245
+ "name": "negative",
246
+ "type": "CONDITIONING",
247
+ "link": 8
248
+ },
249
+ {
250
+ "name": "latent_image",
251
+ "type": "LATENT",
252
+ "link": 11
253
+ }
254
+ ],
255
+ "outputs": [
256
+ {
257
+ "name": "LATENT",
258
+ "type": "LATENT",
259
+ "links": [
260
+ 2
261
+ ],
262
+ "slot_index": 0
263
+ }
264
+ ],
265
+ "properties": {
266
+ "Node name for S&R": "KSampler"
267
+ },
268
+ "widgets_values": [
269
+ 0,
270
+ "fixed",
271
+ 8,
272
+ 1,
273
+ "er_sde",
274
+ "simple",
275
+ 1
276
+ ],
277
+ "title": "KSampler"
278
+ },
279
+ {
280
+ "id": 3,
281
+ "type": "VAEDecode",
282
+ "pos": [
283
+ 509,
284
+ 298
285
+ ],
286
+ "size": [
287
+ 225,
288
+ 71
289
+ ],
290
+ "flags": {},
291
+ "order": 8,
292
+ "mode": 0,
293
+ "inputs": [
294
+ {
295
+ "name": "samples",
296
+ "type": "LATENT",
297
+ "link": 2
298
+ },
299
+ {
300
+ "name": "vae",
301
+ "type": "VAE",
302
+ "link": 3
303
+ }
304
+ ],
305
+ "outputs": [
306
+ {
307
+ "name": "IMAGE",
308
+ "type": "IMAGE",
309
+ "links": [
310
+ 4
311
+ ],
312
+ "slot_index": 0
313
+ }
314
+ ],
315
+ "properties": {
316
+ "Node name for S&R": "VAEDecode"
317
+ },
318
+ "widgets_values": [],
319
+ "title": "VAE Decode"
320
+ },
321
+ {
322
+ "id": 5,
323
+ "type": "PreviewImage",
324
+ "pos": [
325
+ 774,
326
+ 284
327
+ ],
328
+ "size": [
329
+ 489,
330
+ 369
331
+ ],
332
+ "flags": {},
333
+ "order": 9,
334
+ "mode": 0,
335
+ "inputs": [
336
+ {
337
+ "name": "images",
338
+ "type": "IMAGE",
339
+ "link": 4
340
+ }
341
+ ],
342
+ "outputs": [],
343
+ "properties": {
344
+ "Node name for S&R": "PreviewImage"
345
+ },
346
+ "widgets_values": [],
347
+ "title": "Preview Image"
348
+ },
349
+ {
350
+ "id": 14,
351
+ "type": "Note",
352
+ "pos": [
353
+ -546,
354
+ 283
355
+ ],
356
+ "size": [
357
+ 301,
358
+ 237
359
+ ],
360
+ "flags": {},
361
+ "order": 4,
362
+ "mode": 0,
363
+ "inputs": [],
364
+ "outputs": [],
365
+ "properties": {},
366
+ "widgets_values": [
367
+ "Required downloads:\n1. Text Encoder:\n Comfy-Org/Qwen3-VL → text_encoders/\n qwen3vl_4b_fp8_scaled.safetensors\n2. VAE:\n Comfy-Org/Qwen-Image_ComfyUI\n → vae/qwen_image_vae.safetensors\n3. UNET:\n AlperKTS/Krea2_FP8\n → unet/krea2_turbo_fp8.safetensors"
368
+ ],
369
+ "title": "Downloads",
370
+ "color": "#432",
371
+ "bgcolor": "#653"
372
+ }
373
+ ],
374
+ "links": [
375
+ [
376
+ 1,
377
+ 1,
378
+ 0,
379
+ 2,
380
+ 0,
381
+ "MODEL"
382
+ ],
383
+ [
384
+ 2,
385
+ 2,
386
+ 0,
387
+ 3,
388
+ 0,
389
+ "LATENT"
390
+ ],
391
+ [
392
+ 3,
393
+ 4,
394
+ 0,
395
+ 3,
396
+ 1,
397
+ "VAE"
398
+ ],
399
+ [
400
+ 4,
401
+ 3,
402
+ 0,
403
+ 5,
404
+ 0,
405
+ "IMAGE"
406
+ ],
407
+ [
408
+ 5,
409
+ 6,
410
+ 0,
411
+ 2,
412
+ 1,
413
+ "CONDITIONING"
414
+ ],
415
+ [
416
+ 8,
417
+ 8,
418
+ 0,
419
+ 2,
420
+ 2,
421
+ "CONDITIONING"
422
+ ],
423
+ [
424
+ 11,
425
+ 10,
426
+ 0,
427
+ 2,
428
+ 3,
429
+ "LATENT"
430
+ ],
431
+ [
432
+ 12,
433
+ 6,
434
+ 0,
435
+ 8,
436
+ 0,
437
+ "CONDITIONING"
438
+ ],
439
+ [
440
+ 14,
441
+ 13,
442
+ 0,
443
+ 6,
444
+ 0,
445
+ "CLIP"
446
+ ]
447
+ ],
448
+ "groups": [
449
+ {
450
+ "title": "Krea 2 OSS - Native ComfyUI (0.25.0+)",
451
+ "bounding": [
452
+ -600,
453
+ 60,
454
+ 1880,
455
+ 760
456
+ ],
457
+ "color": "#3f789e",
458
+ "font_size": 24
459
+ }
460
+ ],
461
+ "config": {},
462
+ "extra": {
463
+ "ds": {
464
+ "scale": 1.0,
465
+ "offset": [
466
+ 600,
467
+ -160
468
+ ]
469
+ },
470
+ "workflow_notes": "Native ComfyUI 0.25.0+ Krea2 workflow. Uses official CLIPLoader/UNETLoader nodes. Requires 3 model files (see Note node)."
471
+ },
472
+ "version": 0.4
473
+ }