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
"""Starter models with no architecture of their own — CLIP encoders, upscalers, and the
like — shared by everything that needs them."""
from invokeai.backend.model_manager.starter_models.types import StarterModel
from invokeai.backend.model_manager.taxonomy import (
BaseModelType,
ModelFormat,
ModelType,
Qwen3VLVariantType,
)
TINY_AUTOENCODER_NOTE = (
"Tiny AutoEncoder by madebyollin (MIT). Used only for live denoise previews when "
"`tiny_autoencoder_previews: true` is set in invokeai.yaml."
)
"""Closes the description of every Tiny AutoEncoder starter, one per family module."""
# This is CLIP-ViT-H-14-laion2B-s32B-b79K
ip_adapter_sd_image_encoder = StarterModel(
source_urls=["https://huggingface.co/InvokeAI/ip_adapter_sd_image_encoder"],
name="IP Adapter SD1.5 Image Encoder",
base=BaseModelType.Any,
source="InvokeAI/ip_adapter_sd_image_encoder",
description="IP Adapter SD Image Encoder",
type=ModelType.CLIPVision,
)
# This is CLIP-ViT-bigG-14-laion2B-39B-b160k
ip_adapter_sdxl_image_encoder = StarterModel(
source_urls=["https://huggingface.co/InvokeAI/ip_adapter_sdxl_image_encoder"],
name="IP Adapter SDXL Image Encoder",
base=BaseModelType.Any,
source="InvokeAI/ip_adapter_sdxl_image_encoder",
description="IP Adapter SDXL Image Encoder",
type=ModelType.CLIPVision,
)
# Note: This model is installed from the same source as the CLIPEmbed model below. The model contains both the image
# encoder and the text encoder, but we need separate model entries so that they get loaded correctly.
# Dependency-only (like the IP-Adapter encoders above): not listed in STARTER_MODELS,
# because its name collides with the same-named FLUX CLIPEmbed text encoder in the
# picker and it is no longer the imagemap index default. The FLUX IP-Adapter was
# trained against these exact OpenAI weights, so its dependency must stay this
# model, not the DFN2B one below.
clip_vit_l_image_encoder = StarterModel(
source_urls=["https://huggingface.co/InvokeAI/clip-vit-large-patch14"],
name="clip-vit-large-patch14",
base=BaseModelType.Any,
source="InvokeAI/clip-vit-large-patch14",
description="CLIP VIT-L Image Encoder ~1.7GB",
type=ModelType.CLIPVision,
)
# Apple's DFN2B CLIP: same ViT-L-14 architecture as the model above, much
# stronger zero-shot weights (Data Filtering Networks, 39B samples seen). The
# imagemap index default: raw-cosine cluster labeling needs an encoder whose
# text/image geometry separates well, and the OpenAI weights let generic "hub"
# phrases (color words) outscore content phrases. The repo also carries an
# open_clip copy of the weights, which the HF file filter cannot distinguish
# from the transformers copy — hence the doubled download size in the blurb.
dfn2b_clip_vit_l_image_encoder = StarterModel(
source_urls=["https://huggingface.co/apple/DFN2B-CLIP-ViT-L-14-39B"],
name="DFN2B-CLIP-ViT-L-14-39B",
base=BaseModelType.Any,
source="apple/DFN2B-CLIP-ViT-L-14-39B",
description="DFN2B CLIP ViT-L Image Encoder (used by the imagemap index) ~3.4GB download",
type=ModelType.CLIPVision,
)
# region TextEncoders
t5_base_encoder = StarterModel(
source_urls=["https://huggingface.co/InvokeAI/t5-v1_1-xxl"],
name="t5_base_encoder",
base=BaseModelType.Any,
source="InvokeAI/t5-v1_1-xxl::bfloat16",
description="T5-XXL text encoder (used in FLUX pipelines). ~9.5GB",
type=ModelType.T5Encoder,
)
t5_8b_quantized_encoder = StarterModel(
source_urls=["https://huggingface.co/InvokeAI/t5-v1_1-xxl"],
name="t5_bnb_int8_quantized_encoder",
base=BaseModelType.Any,
source="InvokeAI/t5-v1_1-xxl::bnb_llm_int8",
description="T5-XXL text encoder with bitsandbytes LLM.int8() quantization (used in FLUX pipelines). ~5GB",
type=ModelType.T5Encoder,
format=ModelFormat.BnbQuantizedLlmInt8b,
)
t5_gguf_q3_k_s_encoder = StarterModel(
source_urls=["https://huggingface.co/city96/t5-v1_1-xxl-encoder-gguf"],
name="t5_gguf_q3_k_s_encoder",
base=BaseModelType.Any,
source="https://huggingface.co/city96/t5-v1_1-xxl-encoder-gguf/resolve/main/t5-v1_1-xxl-encoder-Q3_K_S.gguf",
description="T5-XXL text encoder, GGUF Q3_K_S quantized (used in FLUX pipelines). Smallest size for low VRAM, lower quality. ~2.1GB",
type=ModelType.T5Encoder,
format=ModelFormat.GGUFQuantized,
)
t5_gguf_q6_k_encoder = StarterModel(
source_urls=["https://huggingface.co/city96/t5-v1_1-xxl-encoder-gguf"],
name="t5_gguf_q6_k_encoder",
base=BaseModelType.Any,
source="https://huggingface.co/city96/t5-v1_1-xxl-encoder-gguf/resolve/main/t5-v1_1-xxl-encoder-Q6_K.gguf",
description="T5-XXL text encoder, GGUF Q6_K quantized (used in FLUX pipelines). Near-lossless quality. ~3.9GB",
type=ModelType.T5Encoder,
format=ModelFormat.GGUFQuantized,
)
clip_l_encoder = StarterModel(
source_urls=["https://huggingface.co/InvokeAI/clip-vit-large-patch14-text-encoder"],
name="clip-vit-large-patch14",
base=BaseModelType.Any,
source="InvokeAI/clip-vit-large-patch14-text-encoder::bfloat16",
description="CLIP-L text encoder (used in FLUX pipelines). ~250MB",
type=ModelType.CLIPEmbed,
)
# region PiD (Pixel Diffusion Decoder)
# PiD's pretrained decoders condition on Gemma-2-2b-it caption embeddings (2304-dim). NVIDIA references the ungated
# mirror Efficient-Large-Model/gemma-2-2b-it. It is shared across all PiD backbones, so it is a dependency of each
# decoder below (and offered standalone here so it can be installed once).
gemma2_2b_encoder = StarterModel(
source_urls=["https://huggingface.co/Efficient-Large-Model/gemma-2-2b-it"],
name="Gemma 2 2B (PiD caption encoder)",
base=BaseModelType.Any,
source="Efficient-Large-Model/gemma-2-2b-it",
description="Gemma-2-2b-it text encoder that PiD uses to condition its diffusion decode on a caption. ~5GB",
type=ModelType.Gemma2Encoder,
format=ModelFormat.Gemma2Encoder,
)
# endregion
# region SpandrelImageToImage
animesharp_v4_rcan = StarterModel(
source_urls=["https://github.com/Kim2091/Kim2091-Models"],
name="2x-AnimeSharpV4_RCAN",
base=BaseModelType.Any,
source="https://github.com/Kim2091/Kim2091-Models/releases/download/2x-AnimeSharpV4/2x-AnimeSharpV4_RCAN.safetensors",
description="A 2x upscaling model (optimized for anime images).",
type=ModelType.SpandrelImageToImage,
)
realesrgan_x4 = StarterModel(
source_urls=["https://github.com/xinntao/Real-ESRGAN"],
name="RealESRGAN_x4plus",
base=BaseModelType.Any,
source="https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth",
description="A Real-ESRGAN 4x upscaling model (general-purpose).",
type=ModelType.SpandrelImageToImage,
)
esrgan_srx4 = StarterModel(
source_urls=["https://github.com/xinntao/Real-ESRGAN"],
name="ESRGAN_SRx4_DF2KOST_official",
base=BaseModelType.Any,
source="https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.1/ESRGAN_SRx4_DF2KOST_official-ff704c30.pth",
description="The official ESRGAN 4x upscaling model.",
type=ModelType.SpandrelImageToImage,
)
realesrgan_x2 = StarterModel(
source_urls=["https://github.com/xinntao/Real-ESRGAN"],
name="RealESRGAN_x2plus",
base=BaseModelType.Any,
source="https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth",
description="A Real-ESRGAN 2x upscaling model (general-purpose).",
type=ModelType.SpandrelImageToImage,
)
swinir = StarterModel(
source_urls=["https://github.com/JingyunLiang/SwinIR"],
name="SwinIR - realSR_BSRGAN_DFOWMFC_s64w8_SwinIR-L_x4_GAN",
base=BaseModelType.Any,
source="https://github.com/JingyunLiang/SwinIR/releases/download/v0.0/003_realSR_BSRGAN_DFOWMFC_s64w8_SwinIR-L_x4_GAN-with-dict-keys-params-and-params_ema.pth",
description="A SwinIR 4x upscaling model.",
type=ModelType.SpandrelImageToImage,
)
qwen_vl_encoder_fp8 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI"],
name="Qwen2.5-VL Encoder (fp8 scaled)",
base=BaseModelType.Any,
source="https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
description="ComfyUI's single-file FP8-scaled Qwen2.5-VL 7B encoder. Bundles the language model and "
"visual tower; its tokenizer and config ship with InvokeAI. (~9.4GB)",
type=ModelType.QwenVLEncoder,
format=ModelFormat.Checkpoint,
)
qwen_vl_encoder_nvfp4 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI"],
name="Qwen2.5-VL Encoder (NVFP4)",
base=BaseModelType.Any,
source="https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_nvfp4.safetensors",
description="ComfyUI's single-file nvfp4/fp8-mixed Qwen2.5-VL 7B encoder. Bundles the language model and visual "
"tower; its tokenizer and config ship with InvokeAI. Its nvfp4 layers stay packed, about 6.1GB "
"once loaded. ~5.7GB download",
type=ModelType.QwenVLEncoder,
format=ModelFormat.Checkpoint,
)
qwen_vl_encoder_gguf_q4_k_m = StarterModel(
source_urls=["https://huggingface.co/unsloth/Qwen2.5-VL-7B-Instruct-GGUF"],
name="Qwen2.5-VL Encoder (GGUF Q4_K_M)",
base=BaseModelType.Any,
source="https://huggingface.co/unsloth/Qwen2.5-VL-7B-Instruct-GGUF/resolve/main/Qwen2.5-VL-7B-Instruct-Q4_K_M.gguf",
description="unsloth's Q4_K_M GGUF of the Qwen2.5-VL 7B language model. Text only: it cannot read reference "
"images, so Qwen-Image Edit with reference images needs a safetensors or Diffusers encoder. Its tokenizer and "
"config ship with InvokeAI. ~4.7GB",
type=ModelType.QwenVLEncoder,
format=ModelFormat.GGUFQuantized,
)
qwen_vl_encoder_diffusers = StarterModel(
source_urls=["https://huggingface.co/Qwen/Qwen-Image-Edit-2511"],
name="Qwen2.5-VL Encoder (Diffusers)",
base=BaseModelType.Any,
source="Qwen/Qwen-Image-Edit-2511::text_encoder+tokenizer+processor",
description="Full-precision Qwen2.5-VL 7B encoder in Diffusers folder layout (text_encoder + tokenizer + processor). "
"Larger than the fp8 variant but no on-the-fly dequantization. (~16GB)",
type=ModelType.QwenVLEncoder,
format=ModelFormat.QwenVLEncoder,
)
# region SigLIP
siglip = StarterModel(
source_urls=["https://huggingface.co/google/siglip-so400m-patch14-384"],
name="SigLIP - google/siglip-so400m-patch14-384",
base=BaseModelType.Any,
source="google/siglip-so400m-patch14-384",
description="A SigLIP model (used by FLUX Redux).",
type=ModelType.SigLIP,
)
# Dependency-only (like the IP-Adapter encoders above): not listed in STARTER_MODELS. Nothing but the
# Anima IP-Adapter uses it, which declares it as a dependency, and `anima_ip_adapter` installs it on
# first use when the adapter came from elsewhere.
siglip2_base_512 = StarterModel(
source_urls=["https://huggingface.co/google/siglip2-base-patch16-512"],
name="SigLIP2 - google/siglip2-base-patch16-512",
base=BaseModelType.Any,
source="google/siglip2-base-patch16-512",
description="A SigLIP2 image encoder (used by the Anima IP-Adapter). ~1.5GB",
type=ModelType.SigLIP,
)
# region LlavaOnevisionModel (vision-language models for Image-to-Prompt)
llava_onevision = StarterModel(
source_urls=["https://huggingface.co/llava-hf/llava-onevision-qwen2-0.5b-ov-hf"],
name="LLaVA Onevision Qwen2 0.5B",
base=BaseModelType.Any,
source="llava-hf/llava-onevision-qwen2-0.5b-ov-hf",
description="LLaVA Onevision vision-language model (~1 GB). Lightweight default for the Image-to-Prompt feature.",
type=ModelType.LlavaOnevision,
)
llava_onevision_7b = StarterModel(
source_urls=["https://huggingface.co/llava-hf/llava-onevision-qwen2-7b-ov-hf"],
name="LLaVA Onevision Qwen2 7B",
base=BaseModelType.Any,
source="llava-hf/llava-onevision-qwen2-7b-ov-hf",
description="LLaVA Onevision 7B vision-language model. Larger, higher-quality alternative for Image-to-Prompt. (~16 GB)",
type=ModelType.LlavaOnevision,
)
# region TextLLM (causal language models for Prompt Expansion)
qwen2_5_1_5b_instruct = StarterModel(
source_urls=["https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct"],
name="Qwen2.5-1.5B-Instruct",
base=BaseModelType.Any,
source="Qwen/Qwen2.5-1.5B-Instruct",
description="Qwen2.5 1.5B instruction-tuned LLM. Recommended default for the Prompt Expansion feature — small and fast. (~3 GB)",
type=ModelType.TextLLM,
)
qwen2_5_3b_instruct = StarterModel(
source_urls=["https://huggingface.co/Qwen/Qwen2.5-3B-Instruct"],
name="Qwen2.5-3B-Instruct",
base=BaseModelType.Any,
source="Qwen/Qwen2.5-3B-Instruct",
description="Qwen2.5 3B instruction-tuned LLM. Better prompt expansion quality at the cost of more VRAM. (~6 GB)",
type=ModelType.TextLLM,
)
smollm2_1_7b_instruct = StarterModel(
source_urls=["https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct"],
name="SmolLM2-1.7B-Instruct",
base=BaseModelType.Any,
source="HuggingFaceTB/SmolLM2-1.7B-Instruct",
description="SmolLM2 1.7B instruction-tuned LLM (Apache-2.0). Alternative to Qwen for prompt expansion. (~3 GB)",
type=ModelType.TextLLM,
)
flux2_klein_qwen3_4b_encoder = StarterModel(
source_urls=["https://huggingface.co/black-forest-labs/FLUX.2-klein-4B"],
name="FLUX.2 Klein Qwen3 4B Encoder",
base=BaseModelType.Any,
source="black-forest-labs/FLUX.2-klein-4B::text_encoder+tokenizer",
description="Qwen3 4B text encoder for FLUX.2 Klein 4B (also compatible with Z-Image). ~8GB",
type=ModelType.Qwen3Encoder,
)
flux2_klein_qwen3_8b_encoder = StarterModel(
source_urls=["https://huggingface.co/black-forest-labs/FLUX.2-klein-9B"],
name="FLUX.2 Klein Qwen3 8B Encoder",
base=BaseModelType.Any,
source="black-forest-labs/FLUX.2-klein-9B::text_encoder+tokenizer",
description="Qwen3 8B text encoder for FLUX.2 Klein 9B models. ~16GB",
type=ModelType.Qwen3Encoder,
)
flux2_klein_qwen3_4b_encoder_fp4 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/vae-text-encorder-for-flux-klein-4b"],
name="FLUX.2 Klein Qwen3 4B Encoder (FP4 mixed)",
base=BaseModelType.Any,
source="https://huggingface.co/Comfy-Org/vae-text-encorder-for-flux-klein-4b/resolve/main/split_files/text_encoders/qwen_3_4b_fp4_flux2.safetensors",
description="Comfy-Org's nvfp4/fp8-mixed Qwen3 4B text encoder for FLUX.2 Klein 4B. Its nvfp4 layers stay packed, about 5.2GB once loaded. ~3.6GB download",
type=ModelType.Qwen3Encoder,
)
flux2_klein_qwen3_8b_encoder_fp4 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/vae-text-encorder-for-flux-klein-9b"],
name="FLUX.2 Klein Qwen3 8B Encoder (FP4 mixed)",
base=BaseModelType.Any,
source="https://huggingface.co/Comfy-Org/vae-text-encorder-for-flux-klein-9b/resolve/main/split_files/text_encoders/qwen_3_8b_fp4mixed.safetensors",
description="Comfy-Org's nvfp4/fp8-mixed Qwen3 8B text encoder for FLUX.2 Klein 9B. Its nvfp4 layers stay packed, about 9.4GB once loaded. ~6.3GB download",
type=ModelType.Qwen3Encoder,
)
# A community repack -- Comfy-Org publishes no int8 build of this encoder. Pinned to a commit rather
# than `main` for the same reason the FLUX.1 and Klein 9B int8 entries are: the decode follows the
# file's own `comfy_quant` marker, which says `convrot: true` at group size 256. A reupload at the
# same path that changed or dropped that flag would be derotated wrongly, and the result loads
# cleanly, logs "Kept 252 of 252" and encodes noise.
flux2_klein_qwen3_8b_encoder_int8 = StarterModel(
source_urls=["https://huggingface.co/supermind/int8_convrot_models"],
name="FLUX.2 Klein Qwen3 8B Encoder (int8)",
base=BaseModelType.Any,
source="https://huggingface.co/supermind/int8_convrot_models/resolve/eb6682675836a42aa91fd4effcd77d68fe60ff42/text_encoders/qwen_3_8b_int8_convrot.safetensors",
description="Community int8_convrot Qwen3 8B text encoder for FLUX.2 Klein 9B. Its 252 projections stay int8 and dequantize per forward, so it occupies roughly what it downloads rather than the ~16GB of the BF16 release. ~9.4GB download",
type=ModelType.Qwen3Encoder,
)
# Comfy-Org safetensors (single-file, 30-layer cow, with embedded Tekken tokenizer).
# Higher precision than the cow GGUFs and avoids the Tekken-via-HF-Hub fetch.
flux2_dev_comfy_mistral_fp8 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/flux2-dev"],
name="FLUX.2 [dev] Mistral Encoder (Comfy FP8)",
base=BaseModelType.Any,
source="https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_fp8.safetensors",
description="Comfy-Org FP8 of the 30-layer cow build of Mistral Small 3.2. Best quality/size for prompt adherence; embeds Tekken tokenizer (no HF fetch needed). ~18GB",
type=ModelType.MistralEncoder,
)
flux2_dev_comfy_mistral_bf16 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/flux2-dev"],
name="FLUX.2 [dev] Mistral Encoder (Comfy BF16)",
base=BaseModelType.Any,
source="https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_bf16.safetensors",
description="Comfy-Org BF16 of the 30-layer cow build of Mistral Small 3.2. Reference precision; embeds Tekken tokenizer. ~35.6GB",
type=ModelType.MistralEncoder,
)
flux2_dev_comfy_mistral_fp4 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/flux2-dev"],
name="FLUX.2 [dev] Mistral Encoder (Comfy FP4 mixed)",
base=BaseModelType.Any,
source="https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_fp4_mixed.safetensors",
description="Comfy-Org FP4-mixed of the 30-layer cow build of Mistral Small 3.2; embeds Tekken tokenizer. Its nvfp4 layers stay packed, up to about 14.7GB once loaded. ~12.3GB download",
type=ModelType.MistralEncoder,
)
# gguf-org cow GGUFs: the 30-layer cow build in a GGUF container, with transformers tensor names and
# order under architecture `cow` rather than llama.cpp's conversion; they embed Tekken too.
# Lower memory footprint than the Comfy safetensors but slightly lower fidelity.
flux2_dev_cow_mistral_q4 = StarterModel(
source_urls=["https://huggingface.co/gguf-org/flux2-dev-gguf"],
name="FLUX.2 [dev] cow Mistral Encoder (GGUF Q4)",
base=BaseModelType.Any,
source="https://huggingface.co/gguf-org/flux2-dev-gguf/resolve/main/cow-mistral3-small-q4_0.gguf",
description="cow-mistral3-small Q4_0 — the first 30 layers of Mistral Small 3, all FLUX.2 [dev] reads. ~11.6GB",
type=ModelType.MistralEncoder,
format=ModelFormat.GGUFQuantized,
)
flux2_dev_cow_mistral_q8 = StarterModel(
source_urls=["https://huggingface.co/gguf-org/flux2-dev-gguf"],
name="FLUX.2 [dev] cow Mistral Encoder (GGUF Q8)",
base=BaseModelType.Any,
source="https://huggingface.co/gguf-org/flux2-dev-gguf/resolve/main/cow-mistral3-small-q8_0.gguf",
description="cow-mistral3-small Q8_0 — best prompt adherence among cow GGUF quants. ~20GB",
type=ModelType.MistralEncoder,
format=ModelFormat.GGUFQuantized,
)
flux2_dev_cow_mistral_iq4_xs = StarterModel(
source_urls=["https://huggingface.co/gguf-org/flux2-dev-gguf"],
name="FLUX.2 [dev] cow Mistral Encoder (GGUF IQ4_XS)",
base=BaseModelType.Any,
source="https://huggingface.co/gguf-org/flux2-dev-gguf/resolve/main/cow-mistral3-small-iq4_xs.gguf",
description="cow-mistral3-small IQ4_XS — smallest usable quant with reasonable adherence. ~11.1GB",
type=ModelType.MistralEncoder,
format=ModelFormat.GGUFQuantized,
)
# region Z-Image
z_image_qwen3_encoder = StarterModel(
source_urls=["https://huggingface.co/Tongyi-MAI/Z-Image-Turbo"],
name="Z-Image Qwen3 Text Encoder",
base=BaseModelType.Any,
source="Tongyi-MAI/Z-Image-Turbo::text_encoder+tokenizer",
description="Qwen3 4B text encoder with tokenizer for Z-Image (full precision). ~8GB",
type=ModelType.Qwen3Encoder,
)
z_image_qwen3_encoder_quantized = StarterModel(
source_urls=["https://huggingface.co/worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF"],
name="Z-Image Qwen3 Text Encoder (quantized)",
base=BaseModelType.Any,
source="https://huggingface.co/worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF/resolve/main/Qwen_3_4b-Q6_K.gguf",
description="Qwen3 4B text encoder for Z-Image quantized to GGUF Q6_K format. ~3.3GB",
type=ModelType.Qwen3Encoder,
format=ModelFormat.GGUFQuantized,
)
z_image_qwen3_encoder_fp4 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/z_image"],
name="Z-Image Qwen3 Text Encoder (FP4 mixed)",
base=BaseModelType.Any,
source="https://huggingface.co/Comfy-Org/z_image/resolve/main/split_files/text_encoders/qwen_3_4b_fp4_mixed.safetensors",
description="Comfy-Org's nvfp4/fp8-mixed Qwen3 4B text encoder for Z-Image. Its nvfp4 layers stay packed, about 4.3GB once loaded. ~3.5GB download",
type=ModelType.Qwen3Encoder,
)
# The same community repack and commit as the FLUX.2 Klein Qwen3 8B int8 encoder, pinned for the same reason.
z_image_qwen3_encoder_int8 = StarterModel(
source_urls=["https://huggingface.co/supermind/int8_convrot_models"],
name="Z-Image Qwen3 Text Encoder (int8)",
base=BaseModelType.Any,
source="https://huggingface.co/supermind/int8_convrot_models/resolve/eb6682675836a42aa91fd4effcd77d68fe60ff42/text_encoders/qwen_3_4b_int8_convrot.safetensors",
description="Community int8_convrot Qwen3 4B text encoder for Z-Image, from supermind's repack. Its int8 "
"projections stay int8, about 4.4GB once loaded rather than the ~8GB of the full-precision encoder; int8 Compute "
"can run them on NVIDIA int8 tensor cores. ~4.4GB download",
type=ModelType.Qwen3Encoder,
)
# region Krea-2
# Standalone Qwen3-VL text encoder used by Krea-2 (distinct from the Qwen2.5-VL encoder above). Pair
# with single-file / GGUF Krea-2 transformers, which ship only the transformer. The Qwen-Image VAE
# dependency reuses the `qwen_image_vae` starter defined in the Qwen Image region.
qwen3_vl_encoder_4b = StarterModel(
source_urls=["https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct"],
name="Qwen3-VL 4B Encoder (Diffusers)",
base=BaseModelType.Any,
source="Qwen/Qwen3-VL-4B-Instruct",
description="Qwen3-VL 4B text encoder (Qwen3VLModel) used by Krea-2 and FLUX.3, in HuggingFace folder "
"layout (includes tokenizer). Use with single-file / GGUF Krea-2 and FLUX.3 transformers. (~8GB)",
type=ModelType.Qwen3VLEncoder,
format=ModelFormat.Qwen3VLEncoder,
)
qwen3_vl_encoder_8b = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/Ideogram-4"],
name="Qwen3-VL 8B Encoder",
previous_names=["Qwen3-VL 8B Encoder (Ideogram 4)"],
base=BaseModelType.Any,
source="https://huggingface.co/Comfy-Org/Ideogram-4/resolve/main/text_encoders/qwen3vl_8b_fp8_scaled.safetensors",
description="Qwen3-VL 8B text encoder in ComfyUI scaled fp8, the encoder Ideogram 4 and Qwen-Image-2.1 condition "
"on. Distinct from the 4B encoder Krea-2 uses; the two are not interchangeable. ~9.9GB",
type=ModelType.Qwen3VLEncoder,
format=ModelFormat.Checkpoint,
)
# More Qwen3-VL encoder builds, pinned to commits. The 4B is what Krea-2 and FLUX.3 condition on, the 8B what Ideogram 4
# and Qwen-Image-2.1 condition on; the two are not interchangeable. The GGUF files hold the language tower only (the
# vision tower lives in a separate mmproj file), so they encode text but read edit reference images only through
# that file: Krea-2 through the 4B's mmproj (`qwen3_vl_vision_tower_4b`), Qwen-Image-2.1 through the 8B's
# (`qwen3_vl_vision_tower_8b`).
_QWEN3_VL_KREA2 = (
"https://huggingface.co/Comfy-Org/Krea-2/resolve/588feaf955b08b9ac4723eeb751752ab045dba71/text_encoders"
)
_QWEN3_VL_4B_GGUF = (
"https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct-GGUF/resolve/1cd86afb9a95c410a6038ab3b40d8b578c892266"
)
_QWEN3_VL_8B_GGUF = (
"https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct-GGUF/resolve/f982a07559d4a2f6c8744d840bf6fccab30eea96"
)
_QWEN3_VL_4B_USE = (
"the encoder Krea-2 and FLUX.3 condition on. Ideogram 4 and Qwen-Image-2.1 use the 8B encoder; the two are not "
"interchangeable."
)
_QWEN3_VL_8B_USE = (
"the encoder Ideogram 4 and Qwen-Image-2.1 condition on. Krea-2 and FLUX.3 use the 4B encoder; the two are not "
"interchangeable."
)
_QWEN3_VL_GGUF_NOTE = (
"The GGUF holds the language tower only, so it encodes text; edit reference images need the matching Vision Tower "
"model beside it (4B: Krea-2, 8B: Qwen-Image-2.1)."
)
qwen3_vl_encoder_4b_bf16 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/Krea-2"],
name="Qwen3-VL 4B Encoder (bf16)",
base=BaseModelType.Any,
source=f"{_QWEN3_VL_KREA2}/qwen3vl_4b_bf16.safetensors",
description=f"Qwen3-VL 4B text encoder in Comfy-Org's bf16 single file, {_QWEN3_VL_4B_USE} ~8.9GB",
type=ModelType.Qwen3VLEncoder,
format=ModelFormat.Checkpoint,
variant=Qwen3VLVariantType.Qwen3VL_4B,
)
qwen3_vl_encoder_4b_fp8 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/Krea-2"],
name="Qwen3-VL 4B Encoder (fp8)",
base=BaseModelType.Any,
source=f"{_QWEN3_VL_KREA2}/qwen3vl_4b_fp8_scaled.safetensors",
description=f"Qwen3-VL 4B text encoder in Comfy-Org's scaled fp8 single file, {_QWEN3_VL_4B_USE} ~5.2GB",
type=ModelType.Qwen3VLEncoder,
format=ModelFormat.Checkpoint,
variant=Qwen3VLVariantType.Qwen3VL_4B,
)
qwen3_vl_encoder_4b_int8 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/Krea-2"],
name="Qwen3-VL 4B Encoder (int8)",
base=BaseModelType.Any,
source=f"{_QWEN3_VL_KREA2}/qwen3vl_4b_int8_convrot.safetensors",
description=f"Qwen3-VL 4B text encoder in Comfy-Org's int8_convrot single file, {_QWEN3_VL_4B_USE} ~4.9GB",
type=ModelType.Qwen3VLEncoder,
format=ModelFormat.Checkpoint,
variant=Qwen3VLVariantType.Qwen3VL_4B,
)
qwen3_vl_encoder_4b_gguf_q4_k_m = StarterModel(
source_urls=["https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct-GGUF"],
name="Qwen3-VL 4B Encoder (Q4_K_M GGUF)",
base=BaseModelType.Any,
source=f"{_QWEN3_VL_4B_GGUF}/Qwen3VL-4B-Instruct-Q4_K_M.gguf",
description=f"Qwen3-VL 4B text encoder quantized to GGUF Q4_K_M, {_QWEN3_VL_4B_USE} {_QWEN3_VL_GGUF_NOTE} ~2.5GB",
type=ModelType.Qwen3VLEncoder,
format=ModelFormat.GGUFQuantized,
variant=Qwen3VLVariantType.Qwen3VL_4B,
)
qwen3_vl_encoder_4b_gguf_q8_0 = StarterModel(
source_urls=["https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct-GGUF"],
name="Qwen3-VL 4B Encoder (Q8_0 GGUF)",
base=BaseModelType.Any,
source=f"{_QWEN3_VL_4B_GGUF}/Qwen3VL-4B-Instruct-Q8_0.gguf",
description=f"Qwen3-VL 4B text encoder quantized to GGUF Q8_0, {_QWEN3_VL_4B_USE} {_QWEN3_VL_GGUF_NOTE} ~4.3GB",
type=ModelType.Qwen3VLEncoder,
format=ModelFormat.GGUFQuantized,
variant=Qwen3VLVariantType.Qwen3VL_4B,
)
qwen3_vl_encoder_8b_nvfp4 = StarterModel(
source_urls=["https://huggingface.co/Comfy-Org/Ideogram-4"],
name="Qwen3-VL 8B Encoder (NVFP4)",
base=BaseModelType.Any,
source="https://huggingface.co/Comfy-Org/Ideogram-4/resolve/2aa6c75ce6d5fabded0ca4d0f76abbfaf8edc87d/text_encoders/qwen3vl_8b_nvfp4.safetensors",
description=f"Qwen3-VL 8B text encoder in Comfy-Org's nvfp4 single file, {_QWEN3_VL_8B_USE} ~6.3GB",
type=ModelType.Qwen3VLEncoder,
format=ModelFormat.Checkpoint,
variant=Qwen3VLVariantType.Qwen3VL_8B,
)
qwen3_vl_encoder_8b_gguf_q4_k_m = StarterModel(
source_urls=["https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct-GGUF"],
name="Qwen3-VL 8B Encoder (Q4_K_M GGUF)",
base=BaseModelType.Any,
source=f"{_QWEN3_VL_8B_GGUF}/Qwen3VL-8B-Instruct-Q4_K_M.gguf",
description=f"Qwen3-VL 8B text encoder quantized to GGUF Q4_K_M, {_QWEN3_VL_8B_USE} {_QWEN3_VL_GGUF_NOTE} ~5.0GB",
type=ModelType.Qwen3VLEncoder,
format=ModelFormat.GGUFQuantized,
variant=Qwen3VLVariantType.Qwen3VL_8B,
)
qwen3_vl_encoder_8b_gguf_q8_0 = StarterModel(
source_urls=["https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct-GGUF"],
name="Qwen3-VL 8B Encoder (Q8_0 GGUF)",
base=BaseModelType.Any,
source=f"{_QWEN3_VL_8B_GGUF}/Qwen3VL-8B-Instruct-Q8_0.gguf",
description=f"Qwen3-VL 8B text encoder quantized to GGUF Q8_0, {_QWEN3_VL_8B_USE} {_QWEN3_VL_GGUF_NOTE} ~8.7GB",
type=ModelType.Qwen3VLEncoder,
format=ModelFormat.GGUFQuantized,
variant=Qwen3VLVariantType.Qwen3VL_8B,
)
# llama.cpp keeps a GGUF Qwen3-VL encoder's vision tower in this companion file, which Qwen-Image-2.1 edits read
# reference images through. Standalone: no starter depends on it.
qwen3_vl_vision_tower_8b = StarterModel(
source_urls=["https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct-GGUF"],
name="Qwen3-VL 8B Vision Tower",
base=BaseModelType.Any,
source=f"{_QWEN3_VL_8B_GGUF}/mmproj-Qwen3VL-8B-Instruct-F16.gguf",
description="The vision tower (llama.cpp mmproj, F16) of Qwen3-VL 8B. Select it as the Vision Tower beside a GGUF "
"Qwen3-VL 8B encoder so Qwen-Image-2.1 can read reference images. Not needed with other encoders. ~1.1GB",
type=ModelType.Qwen3VLVisionTower,
format=ModelFormat.GGUFQuantized,
)
qwen3_vl_vision_tower_4b = StarterModel(
source_urls=["https://huggingface.co/Qwen/Qwen3-VL-4B-Instruct-GGUF"],
name="Qwen3-VL 4B Vision Tower",
base=BaseModelType.Any,
source=f"{_QWEN3_VL_4B_GGUF}/mmproj-Qwen3VL-4B-Instruct-F16.gguf",
description="The vision tower (llama.cpp mmproj, F16) of Qwen3-VL 4B. Select it as the Vision Tower beside a GGUF "
"Qwen3-VL 4B encoder so Krea-2 can read edit reference images. Not needed with other encoders. ~0.8GB",
type=ModelType.Qwen3VLVisionTower,
format=ModelFormat.GGUFQuantized,
)
# region Wan 2.2 (local)
# Shared components — all Wan 2.2 variants use the UMT5-XXL text encoder. A14B
# (both T2V and I2V) uses a 16-channel VAE; TI2V-5B uses a 48-channel VAE. The
# two VAEs are not interchangeable.
wan_22_t5_encoder = StarterModel(
source_urls=["https://huggingface.co/Wan-AI/Wan2.2-T2V-A14B-Diffusers"],
name="Wan T5 Encoder (UMT5-XXL)",
base=BaseModelType.Any,
source="Wan-AI/Wan2.2-T2V-A14B-Diffusers::text_encoder+tokenizer",
description="UMT5-XXL text encoder used by all Wan 2.2 variants (T2V/I2V A14B and TI2V-5B). "
"Required when running a GGUF Wan main without a Diffusers Component Source. (~11GB)",
type=ModelType.WanT5Encoder,
format=ModelFormat.WanT5Encoder,
)
wan_22_t5_encoder_gguf_q8_0 = StarterModel(
source_urls=["https://huggingface.co/city96/umt5-xxl-encoder-gguf"],
name="Wan T5 Encoder (UMT5-XXL, GGUF Q8_0)",
base=BaseModelType.Any,
source="https://huggingface.co/city96/umt5-xxl-encoder-gguf/resolve/main/umt5-xxl-encoder-Q8_0.gguf",
description="UMT5-XXL text encoder for all Wan 2.2 variants, GGUF Q8_0 quantized: about half the size of "
"the Diffusers encoder, with its tokenizer built in. (~6GB)",
type=ModelType.WanT5Encoder,
format=ModelFormat.GGUFQuantized,
)
# DALL-E 2 removed — deprecated by OpenAI, shutdown May 12, 2026.
# region Anima
anima_qwen3_encoder = StarterModel(
source_urls=["https://huggingface.co/circlestone-labs/Anima"],
name="Anima Qwen3 0.6B Text Encoder",
base=BaseModelType.Any,
source="https://huggingface.co/circlestone-labs/Anima/resolve/main/split_files/text_encoders/qwen_3_06b_base.safetensors",
description="Qwen3 0.6B text encoder for Anima. ~1.2GB",
type=ModelType.Qwen3Encoder,
format=ModelFormat.Checkpoint,
)