Instructions to use cusiman/Krea2_FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use cusiman/Krea2_FP8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("cusiman/Krea2_FP8", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| { | |
| "last_node_id": 14, | |
| "last_link_id": 14, | |
| "nodes": [ | |
| { | |
| "id": 13, | |
| "type": "CLIPLoader", | |
| "pos": [ | |
| -240, | |
| 452 | |
| ], | |
| "size": [ | |
| 270, | |
| 106 | |
| ], | |
| "flags": {}, | |
| "order": 0, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "CLIP", | |
| "type": "CLIP", | |
| "links": [ | |
| 14 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "CLIPLoader" | |
| }, | |
| "widgets_values": [ | |
| "qwen3vl_4b_fp8_scaled.safetensors", | |
| "krea2", | |
| "default" | |
| ], | |
| "title": "CLIP Loader - Krea2" | |
| }, | |
| { | |
| "id": 1, | |
| "type": "UNETLoader", | |
| "pos": [ | |
| -230, | |
| 283 | |
| ], | |
| "size": [ | |
| 270, | |
| 107 | |
| ], | |
| "flags": {}, | |
| "order": 1, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 1 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "UNETLoader" | |
| }, | |
| "widgets_values": [ | |
| "krea2_turbo_fp8.safetensors", | |
| "default" | |
| ], | |
| "title": "UNET Loader - Krea2 Turbo FP8" | |
| }, | |
| { | |
| "id": 4, | |
| "type": "VAELoader", | |
| "pos": [ | |
| 70, | |
| 536 | |
| ], | |
| "size": [ | |
| 270, | |
| 79 | |
| ], | |
| "flags": {}, | |
| "order": 3, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "VAE", | |
| "type": "VAE", | |
| "links": [ | |
| 3 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "VAELoader" | |
| }, | |
| "widgets_values": [ | |
| "qwen_image_vae.safetensors" | |
| ], | |
| "title": "VAE Loader" | |
| }, | |
| { | |
| "id": 10, | |
| "type": "EmptyLatentImage", | |
| "pos": [ | |
| -244, | |
| 611 | |
| ], | |
| "size": [ | |
| 270, | |
| 143 | |
| ], | |
| "flags": {}, | |
| "order": 2, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "links": [ | |
| 11 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "EmptyLatentImage" | |
| }, | |
| "widgets_values": [ | |
| 1280, | |
| 720, | |
| 1 | |
| ], | |
| "title": "Empty Latent Image" | |
| }, | |
| { | |
| "id": 6, | |
| "type": "CLIPTextEncode", | |
| "pos": [ | |
| 62, | |
| 281 | |
| ], | |
| "size": [ | |
| 400, | |
| 200 | |
| ], | |
| "flags": {}, | |
| "order": 5, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 14 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "CONDITIONING", | |
| "type": "CONDITIONING", | |
| "links": [ | |
| 5, | |
| 12 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "CLIPTextEncode" | |
| }, | |
| "widgets_values": [ | |
| "A cinematic photo of a cat wearing steampunk goggles, dramatic lighting, 8K" | |
| ], | |
| "title": "Positive Prompt" | |
| }, | |
| { | |
| "id": 8, | |
| "type": "ConditioningZeroOut", | |
| "pos": [ | |
| 73, | |
| 385 | |
| ], | |
| "size": [ | |
| 225, | |
| 47 | |
| ], | |
| "flags": {}, | |
| "order": 6, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "conditioning", | |
| "type": "CONDITIONING", | |
| "link": 12 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "CONDITIONING", | |
| "type": "CONDITIONING", | |
| "links": [ | |
| 8 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "ConditioningZeroOut" | |
| }, | |
| "widgets_values": [], | |
| "title": "Negative (Zero Out)" | |
| }, | |
| { | |
| "id": 2, | |
| "type": "KSampler", | |
| "pos": [ | |
| 483, | |
| 281 | |
| ], | |
| "size": [ | |
| 270, | |
| 339 | |
| ], | |
| "flags": {}, | |
| "order": 7, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 1 | |
| }, | |
| { | |
| "name": "positive", | |
| "type": "CONDITIONING", | |
| "link": 5 | |
| }, | |
| { | |
| "name": "negative", | |
| "type": "CONDITIONING", | |
| "link": 8 | |
| }, | |
| { | |
| "name": "latent_image", | |
| "type": "LATENT", | |
| "link": 11 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "links": [ | |
| 2 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "KSampler" | |
| }, | |
| "widgets_values": [ | |
| 0, | |
| "fixed", | |
| 8, | |
| 1, | |
| "er_sde", | |
| "simple", | |
| 1 | |
| ], | |
| "title": "KSampler" | |
| }, | |
| { | |
| "id": 3, | |
| "type": "VAEDecode", | |
| "pos": [ | |
| 509, | |
| 298 | |
| ], | |
| "size": [ | |
| 225, | |
| 71 | |
| ], | |
| "flags": {}, | |
| "order": 8, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "samples", | |
| "type": "LATENT", | |
| "link": 2 | |
| }, | |
| { | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 3 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 4 | |
| ], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "VAEDecode" | |
| }, | |
| "widgets_values": [], | |
| "title": "VAE Decode" | |
| }, | |
| { | |
| "id": 5, | |
| "type": "PreviewImage", | |
| "pos": [ | |
| 774, | |
| 284 | |
| ], | |
| "size": [ | |
| 489, | |
| 369 | |
| ], | |
| "flags": {}, | |
| "order": 9, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "link": 4 | |
| } | |
| ], | |
| "outputs": [], | |
| "properties": { | |
| "Node name for S&R": "PreviewImage" | |
| }, | |
| "widgets_values": [], | |
| "title": "Preview Image" | |
| }, | |
| { | |
| "id": 14, | |
| "type": "Note", | |
| "pos": [ | |
| -546, | |
| 283 | |
| ], | |
| "size": [ | |
| 301, | |
| 237 | |
| ], | |
| "flags": {}, | |
| "order": 4, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [], | |
| "properties": {}, | |
| "widgets_values": [ | |
| "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" | |
| ], | |
| "title": "Downloads", | |
| "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": [ | |
| { | |
| "title": "Krea 2 OSS - Native ComfyUI (0.25.0+)", | |
| "bounding": [ | |
| -600, | |
| 60, | |
| 1880, | |
| 760 | |
| ], | |
| "color": "#3f789e", | |
| "font_size": 24 | |
| } | |
| ], | |
| "config": {}, | |
| "extra": { | |
| "ds": { | |
| "scale": 1.0, | |
| "offset": [ | |
| 600, | |
| -160 | |
| ] | |
| }, | |
| "workflow_notes": "Native ComfyUI 0.25.0+ Krea2 workflow. Uses official CLIPLoader/UNETLoader nodes. Requires 3 model files (see Note node)." | |
| }, | |
| "version": 0.4 | |
| } |