Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
"""Krea 2 starter models."""
from invokeai.backend.model_manager.starter_models.common import qwen3_vl_encoder_4b
from invokeai.backend.model_manager.starter_models.qwen_image import qwen_image_vae
from invokeai.backend.model_manager.starter_models.types import StarterModel
from invokeai.backend.model_manager.taxonomy import (
BaseModelType,
Krea2VariantType,
ModelFormat,
ModelType,
)
krea2_turbo = StarterModel(
source_urls=["https://huggingface.co/krea/Krea-2-Turbo"],
name="Krea-2 Turbo",
base=BaseModelType.Krea2,
source="krea/Krea-2-Turbo",
description="Krea-2 Turbo - distilled 12B parameter text-to-image model (8 steps, CFG disabled). "
"Full diffusers pipeline including the Qwen-Image VAE and Qwen3-VL text encoder. ~26GB",
type=ModelType.Main,
variant=Krea2VariantType.Turbo,
)
krea2_raw = StarterModel(
source_urls=["https://huggingface.co/krea/Krea-2-Raw"],
name="Krea-2 Raw",
base=BaseModelType.Krea2,
source="krea/Krea-2-Raw",
description="Krea-2 Raw - undistilled 12B base model (28 steps, CFG enabled). Full diffusers pipeline "
"including the Qwen-Image VAE and Qwen3-VL text encoder. Primarily a base for finetuning / LoRA "
"training; Turbo is recommended for standard inference. ~26GB",
type=ModelType.Main,
variant=Krea2VariantType.Base,
)
krea2_turbo_gguf_q4_k_m = StarterModel(
source_urls=["https://huggingface.co/vantagewithai/Krea-2-Turbo-GGUF"],
name="Krea-2 Turbo (Q4_K_M GGUF)",
base=BaseModelType.Krea2,
source="https://huggingface.co/vantagewithai/Krea-2-Turbo-GGUF/resolve/main/krea2_turbo-Q4_K_M.gguf",
description="Krea-2 Turbo transformer quantized to GGUF Q4_K_M for lower VRAM (~7GB transformer). "
"GGUF ships only the transformer, so the Qwen-Image VAE and Qwen3-VL encoder are installed as "
"dependencies.",
type=ModelType.Main,
format=ModelFormat.GGUFQuantized,
variant=Krea2VariantType.Turbo,
dependencies=[qwen_image_vae, qwen3_vl_encoder_4b],
)
krea2_turbo_nvfp4 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/Krea-2"],
name="Krea-2 Turbo (NVFP4)",
base=BaseModelType.Krea2,
source="https://huggingface.co/Comfy-Org/Krea-2/resolve/main/diffusion_models/krea2_turbo_nvfp4.safetensors",
description="Krea-2 Turbo transformer in Comfy-Org's nvfp4 build: under a third of the full-precision "
"transformer's memory (~7.7GB), about the size of the Q4_K_M GGUF. It saves memory, not time - the weights are "
"decoded every step. Ships only the transformer, so the Qwen-Image VAE and Qwen3-VL encoder are installed as "
"dependencies.",
type=ModelType.Main,
variant=Krea2VariantType.Turbo,
dependencies=[qwen_image_vae, qwen3_vl_encoder_4b],
)
krea2_turbo_fp8 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/Krea-2"],
name="Krea-2 Turbo (fp8)",
base=BaseModelType.Krea2,
source="https://huggingface.co/Comfy-Org/Krea-2/resolve/1171f4dc7e325bf3734586942e737872506c73e1/diffusion_models/krea2_turbo_fp8_scaled.safetensors",
description="Krea-2 Turbo transformer in Comfy-Org's scaled fp8 build. FP8 Storage is switched on when it is "
"installed, so its fp8 layers stay fp8, about 13.1GB once loaded. Ships only the transformer, so the Qwen-Image "
"VAE and Qwen3-VL encoder are installed as dependencies. ~13.1GB",
type=ModelType.Main,
variant=Krea2VariantType.Turbo,
dependencies=[qwen_image_vae, qwen3_vl_encoder_4b],
)
krea2_turbo_int8 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/Krea-2"],
name="Krea-2 Turbo (int8)",
base=BaseModelType.Krea2,
source="https://huggingface.co/Comfy-Org/Krea-2/resolve/1171f4dc7e325bf3734586942e737872506c73e1/diffusion_models/krea2_turbo_int8_convrot.safetensors",
description="Krea-2 Turbo transformer in Comfy-Org's int8_convrot build. Its int8 layers stay int8 on every "
"supported GPU, about 13.5GB once loaded; int8 Compute can run them on NVIDIA int8 tensor cores. Ships only the "
"transformer, so the Qwen-Image VAE and Qwen3-VL encoder are installed as dependencies. ~13.5GB",
type=ModelType.Main,
variant=Krea2VariantType.Turbo,
dependencies=[qwen_image_vae, qwen3_vl_encoder_4b],
)
krea2_turbo_gguf_q8_0 = StarterModel(
source_urls=["https://huggingface.co/vantagewithai/Krea-2-Turbo-GGUF"],
name="Krea-2 Turbo (Q8_0 GGUF)",
base=BaseModelType.Krea2,
source="https://huggingface.co/vantagewithai/Krea-2-Turbo-GGUF/resolve/main/krea2_turbo-Q8_0.gguf",
description="Krea-2 Turbo transformer quantized to GGUF Q8_0 (near-full quality, ~13GB transformer). "
"GGUF ships only the transformer, so the Qwen-Image VAE and Qwen3-VL encoder are installed as "
"dependencies.",
type=ModelType.Main,
format=ModelFormat.GGUFQuantized,
variant=Krea2VariantType.Turbo,
dependencies=[qwen_image_vae, qwen3_vl_encoder_4b],
)
# Raw is the undistilled model, so these builds run at 28 steps with CFG, unlike the distilled Turbo entries above.
_KREA2_COMFY_RAW = (
"https://huggingface.co/Comfy-Org/Krea-2/resolve/588feaf955b08b9ac4723eeb751752ab045dba71/diffusion_models"
)
_KREA2_RAW_GGUF = (
"https://huggingface.co/vantagewithai/Krea-2-Raw-GGUF/resolve/c20e61051625c7ff0a16425f3a87e702486ea3a8"
)
_KREA2_RAW_NOTE = (
"Raw is undistilled (28 steps, CFG enabled); Turbo is recommended for standard inference. Ships only the "
"transformer, so the Qwen-Image VAE and Qwen3-VL encoder are installed as dependencies."
)
krea2_raw_fp8 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/Krea-2"],
name="Krea-2 Raw (fp8)",
base=BaseModelType.Krea2,
source=f"{_KREA2_COMFY_RAW}/krea2_raw_fp8_scaled.safetensors",
description=f"Krea-2 Raw transformer in Comfy-Org's scaled fp8 build. FP8 Storage is switched on when it is installed. "
f"{_KREA2_RAW_NOTE} ~13.1GB",
type=ModelType.Main,
variant=Krea2VariantType.Base,
dependencies=[qwen_image_vae, qwen3_vl_encoder_4b],
)
krea2_raw_int8 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/Krea-2"],
name="Krea-2 Raw (int8)",
base=BaseModelType.Krea2,
source=f"{_KREA2_COMFY_RAW}/krea2_raw_int8_convrot.safetensors",
description=f"Krea-2 Raw transformer in Comfy-Org's int8_convrot build. {_KREA2_RAW_NOTE} ~13.5GB",
type=ModelType.Main,
variant=Krea2VariantType.Base,
dependencies=[qwen_image_vae, qwen3_vl_encoder_4b],
)
krea2_raw_gguf_q4_k_m = StarterModel(
source_urls=["https://huggingface.co/vantagewithai/Krea-2-Raw-GGUF"],
name="Krea-2 Raw (Q4_K_M GGUF)",
base=BaseModelType.Krea2,
source=f"{_KREA2_RAW_GGUF}/krea2_raw-Q4_K_M.gguf",
description="Krea-2 Raw transformer quantized to GGUF Q4_K_M for lower VRAM, a community build by "
f"vantagewithai. {_KREA2_RAW_NOTE} ~7.5GB",
type=ModelType.Main,
format=ModelFormat.GGUFQuantized,
variant=Krea2VariantType.Base,
dependencies=[qwen_image_vae, qwen3_vl_encoder_4b],
)
krea2_raw_gguf_q8_0 = StarterModel(
source_urls=["https://huggingface.co/vantagewithai/Krea-2-Raw-GGUF"],
name="Krea-2 Raw (Q8_0 GGUF)",
base=BaseModelType.Krea2,
source=f"{_KREA2_RAW_GGUF}/krea2_raw-Q8_0.gguf",
description="Krea-2 Raw transformer quantized to GGUF Q8_0 with near-full quality, a community build by "
f"vantagewithai. {_KREA2_RAW_NOTE} ~13.7GB",
type=ModelType.Main,
format=ModelFormat.GGUFQuantized,
variant=Krea2VariantType.Base,
dependencies=[qwen_image_vae, qwen3_vl_encoder_4b],
)
krea2_raw_nvfp4 = StarterModel(
source_urls=["https://huggingface.co/rockerBOO/krea2-raw-nvfp4"],
name="Krea-2 Raw (NVFP4)",
base=BaseModelType.Krea2,
source="https://huggingface.co/rockerBOO/krea2-raw-nvfp4/resolve/fd87108933d85b0870cfc44ad3bca474eabdd0da/"
"krea2_raw_nvfp4.safetensors",
description=f"Krea-2 Raw transformer in an nvfp4 build by rockerBOO. {_KREA2_RAW_NOTE} ~8.8GB",
type=ModelType.Main,
variant=Krea2VariantType.Base,
dependencies=[qwen_image_vae, qwen3_vl_encoder_4b],
)