Model Compatibility 标志

Model Compatibility

社区
artokun
model-compatibility

模型系列兼容性矩阵,涵盖 SD 1.5、SDXL、Flux、SD3 和视频模型的加载器、分辨率、采样器、CFG、VAE、ControlNet 和 LoRA 兼容性。

Add to TypingMind

概览

发布者artokun
代码仓库comfyui-mcp
技能名称model-compatibility
星标数
811
复刻数
137
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 artokun 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Model Compatibility AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/model-compatibility
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/artokun/comfyui-mcp.git /tmp/comfyui-mcp
mkdir -p .claude/skills
cp -r /tmp/comfyui-mcp/plugin/skills/model-compatibility .claude/skills/model-compatibility
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Model Compatibility,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Model Compatibility。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Model Compatibility 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

ComfyUI Model Compatibility Matrix

Stable Diffusion 1.5 (SD 1.5)

Overview

The original widely-adopted Stable Diffusion model. Huge ecosystem of fine-tunes, LoRAs, ControlNets, and embeddings. Still the most compatible and lightweight model family.

Configuration

ParameterValue
LoaderCheckpointLoaderSimple
Native Resolution512x512
Supported Resolutions512x512, 512x768, 768x512, 768x768 (some fine-tunes)
VAEBuilt-in or external (vae-ft-mse-840000-ema-pruned.safetensors)
CLIPSingle CLIP-L (output index 1 from checkpoint)
Text Encoder NodeCLIPTextEncode
CFG Range7-12 (typical: 7.5)
Negative PromptYes — very important for quality
Steps20-30 (standard samplers)
SamplerAll standard samplers: euler, euler_ancestral, dpmpp_2m, dpmpp_sde, ddim
Schedulernormal, karras
Denoise1.0 (txt2img), 0.5-0.8 (img2img)
VRAM (FP16)~2-3GB

Workflow Pattern

CheckpointLoaderSimple → MODEL(0), CLIP(1), VAE(2)
  CLIP(1) → CLIPTextEncode (positive) → CONDITIONING
  CLIP(1) → CLIPTextEncode (negative) → CONDITIONING
EmptyLatentImage (width=512, height=512) → LATENT
KSampler (cfg=7.5, steps=20, sampler="euler", scheduler="normal") → LATENT
VAEDecode → IMAGE
SaveImage

VAE Notes

  • Most SD 1.5 checkpoints have a built-in VAE, but it's often mediocre
  • Recommended: Use external vae-ft-mse-840000-ema-pruned.safetensors for better color accuracy
  • Load via VAELoader node and connect to VAEDecode
  • FP16 VAE can produce NaN on some images. FP32 VAE is more stable

ControlNet Compatibility

SD 1.5 has the largest ControlNet ecosystem:

ControlNetModel File PatternNotes
Cannycontrol_v11p_sd15_cannyEdge detection
Depthcontrol_v11f1p_sd15_depthDepth map
OpenPosecontrol_v11p_sd15_openposeSkeleton/pose
Scribblecontrol_v11p_sd15_scribbleHand-drawn lines
Lineartcontrol_v11p_sd15_lineartClean lines
Softedgecontrol_v11p_sd15_softedgeSoft edges (HED)
Normalcontrol_v11p_sd15_normalbaeNormal maps
Segcontrol_v11p_sd15_segSemantic segmentation
Tilecontrol_v11f1e_sd15_tileTile/upscale guidance
Inpaintcontrol_v11p_sd15_inpaintInpainting guidance
IP-Adapterip-adapter_sd15Image prompt

LoRA Compatibility

  • SD 1.5 LoRAs ONLY work with SD 1.5 base models
  • Format: .safetensors in models/loras/
  • Loader: LoraLoader node, which connects between checkpoint and CLIPTextEncode
  • Strength range: 0.5-1.0 (higher can cause artifacts)

SDXL (Stable Diffusion XL)

Overview

Major upgrade from SD 1.5 with dual CLIP encoders, higher native resolution, and better prompt understanding. Includes Turbo and Lightning variants for fast generation.

Configuration — SDXL 1.0 (Base)

ParameterValue
LoaderCheckpointLoaderSimple
Native Resolution1024x1024
Supported Resolutions1024x1024, 832x1216, 1216x832, 896x1152, 1152x896, 768x1344, 1344x768
VAEBuilt-in (SDXL has good integrated VAE)
CLIPDual CLIP: CLIP-L + CLIP-G
Text Encoder NodeCLIPTextEncode (unified) or CLIPTextEncodeSDXL (separate G/L)
CFG Range5-10 (typical: 7.0)
Negative PromptYes — moderately important
Steps20-40
Samplereuler, euler_ancestral, dpmpp_2m, dpmpp_sde
Schedulernormal, karras
Denoise1.0 (txt2img), 0.5-0.8 (img2img)
VRAM (FP16)~6-7GB

Configuration — SDXL Turbo

ParameterValue
LoaderCheckpointLoaderSimple
Resolution512x512 (optimized for lower res)
CFG1.0-2.0
Steps1-4
Samplereuler_ancestral
Schedulernormal
Negative PromptMinimal or empty
Denoise1.0

Configuration — SDXL Lightning

ParameterValue
LoaderCheckpointLoaderSimple + LoraLoader (Lightning LoRA)
Resolution1024x1024
CFG1.0-2.0
Steps4-8 (match the Lightning variant: 2-step, 4-step, 8-step)
Samplereuler
Schedulersgm_uniform
Negative PromptEmpty or minimal
SpecialRequires matching Lightning LoRA for the step count

SDXL Refiner

The optional SDXL refiner model does a second pass to improve fine details:

CheckpointLoaderSimple (base) → KSampler (steps=25, start=0, end=20)
CheckpointLoaderSimple (refiner) → KSampler (steps=25, start=20, end=25)
  • The refiner uses KSamplerAdvanced with start_at_step and end_at_step
  • Typically run the base for 80% of steps, refiner for the last 20%
  • Refiner checkpoint: sd_xl_refiner_1.0.safetensors

Workflow Pattern

CheckpointLoaderSimple → MODEL(0), CLIP(1), VAE(2)
  CLIP(1) → CLIPTextEncode (positive) → CONDITIONING
  CLIP(1) → CLIPTextEncode (negative) → CONDITIONING
EmptyLatentImage (width=1024, height=1024) → LATENT
KSampler (cfg=7.0, steps=25, sampler="dpmpp_2m", scheduler="karras") → LATENT
VAEDecode → IMAGE
SaveImage

ControlNet Compatibility

SDXL ControlNets are separate from SD 1.5 ControlNets:

ControlNetModel File PatternNotes
Cannycontrol-lora-canny-rank256 or diffusers_xl_cannyOften LoRA-based
Depthcontrol-lora-depth-rank256 or diffusers_xl_depth
T2I-Adaptert2i-adapter-*-sdxlLighter alternative to ControlNet
IP-Adapterip-adapter_sdxlImage prompt adapter
InstantIDinstantid-*Face-specific

LoRA Compatibility

  • SDXL LoRAs ONLY work with SDXL base models, NOT with SD 1.5
  • Same LoraLoader node as SD 1.5
  • Lightning LoRAs are SDXL LoRAs that enable few-step generation

Flux (Flux.1)

Overview

Black Forest Labs' model with a T5-XXL text encoder. Produces high-quality images without negative prompts. Available in schnell (fast) and dev (quality) variants.

Configuration — Flux Schnell

ParameterValue
LoaderCheckpointLoaderSimple (single-file) or DualCLIPLoader + UNETLoader + VAELoader (split)
Native Resolution1024x1024 (flexible aspect ratios)
Supported ResolutionsFlexible: 512x512 to 2048x2048, any aspect ratio
VAESeparate Flux VAE (ae.safetensors) — NOT shared with SD models
CLIPT5-XXL + CLIP-L via DualCLIPLoader
Text Encoder NodeCLIPTextEncode (single combined)
CFG1.0 (MUST be 1.0 — higher values cause severe artifacts)
Negative PromptNONE — do not connect negative conditioning
Steps4
Samplereuler
Schedulersimple or sgm_uniform
Denoise1.0
VRAM (FP16)~24GB (FP8: ~12GB)

Configuration — Flux Dev

ParameterValue
Same as Schnell except:
Steps20-50 (typical: 30)
Schedulersgm_uniform
VRAM (FP16)~24GB (FP8: ~12GB)

Loading Methods

Method 1: Single Checkpoint (simplest)

CheckpointLoaderSimple (ckpt_name="flux1-schnell.safetensors")
  → MODEL(0), CLIP(1), VAE(2)

Method 2: Split Components (recommended for FP8)

UNETLoader (unet_name="flux1-schnell-fp8.safetensors") → MODEL
DualCLIPLoader (clip_name1="t5xxl_fp16.safetensors", clip_name2="clip_l.safetensors", type="flux") → CLIP
VAELoader (vae_name="ae.safetensors") → VAE

CRITICAL Rules

  • CFG MUST be 1.0. Flux uses guidance embedded in the model, not classifier-free guidance
  • No negative prompt. Empty string or don't connect the negative input at all
  • Separate VAE required. Flux uses its own VAE (ae.safetensors), not SD VAEs
  • FP8 strongly recommended for 24GB cards. FP16 Flux barely fits in 24GB VRAM
  • T5-XXL encoder can be loaded in FP8 to save additional VRAM
  • Kitchen quant column (this GPU): kitchen action:"status" reports gpu.fp8 (SM ≥ 8.9, Ada), gpu.nvfp4 and gpu.mxfp8 (SM ≥ 10.0, Blackwell). A UNETLoader on weight_dtype: default with an unquantized file and kitchen present is panel_kitchen action:"assess" rec fp8_unet_fast (set fp8_e4m3fn_fast). An NVFP4 sibling on disk is rec nvfp4_swap. MXFP8 is reported in status but not recommended until a loader path exposes it.

Workflow Pattern

UNETLoader (flux fp8) → MODEL
DualCLIPLoader (t5xxl + clip_l, type="flux") → CLIP
VAELoader (ae.safetensors) → VAE

CLIPTextEncode (positive prompt) → CONDITIONING
  (no negative CLIPTextEncode needed)

EmptyLatentImage (width=1024, height=1024) → LATENT

KSampler (cfg=1.0, steps=4, sampler="euler", scheduler="simple") → LATENT
VAEDecode (vae from VAELoader) → IMAGE
SaveImage

ControlNet Compatibility

Flux ControlNets are model-specific:

ControlNetNotes
Flux ControlNet (Canny)Specific Flux-compatible ControlNet
Flux ControlNet (Depth)Specific Flux-compatible ControlNet
InstantX ControlNetsCommunity Flux ControlNets
Flux IP-AdapterImage prompt for Flux

SD 1.5 and SDXL ControlNets do NOT work with Flux.

LoRA Compatibility

  • Flux LoRAs ONLY work with Flux models
  • Typically loaded via LoraLoader same as SD models
  • Flux LoRA ecosystem is smaller than SD 1.5/SDXL but growing
  • Some Flux LoRAs require specific trigger words

Stable Diffusion 3 / 3.5 (SD3)

Overview

Stability AI's next-generation model with triple CLIP architecture. Better prompt adherence and longer prompt support via T5-XXL.

Configuration

ParameterValue
LoaderCheckpointLoaderSimple or triple-clip loader
Native Resolution1024x1024
VAEBuilt-in (integrated)
CLIPTriple: CLIP-L + CLIP-G + T5-XXL
Text Encoder NodeCLIPTextEncode or CLIPTextEncodeSD3
CFG Range4-7 (typical: 5.0)
Negative PromptMinimal — SD3 needs very little negative guidance
Steps20-30
Samplereuler, dpmpp_2m
Schedulersgm_uniform, normal
Denoise1.0 (txt2img)
ShiftSome samplers support a shift parameter for SD3
VRAM (FP16)~12GB (without T5-XXL: ~6GB)

Triple CLIP Loading

CheckpointLoaderSimple → MODEL(0), CLIP(1), VAE(2)

Or for separate CLIP control:

DualCLIPLoader (clip_l + clip_g) → CLIP
CLIPLoader (t5xxl) → CLIP

Key Differences from SD 1.5/SDXL

  • Much better text rendering capabilities
  • Handles spatial relationships better ("cat on the left, dog on the right")
  • T5-XXL enables long, detailed prompts (no 77-token limit concern)
  • Lower CFG values (4-7 vs 7-12)
  • Minimal negative prompting needed
  • shift parameter in sampling affects noise schedule

ControlNet Compatibility

  • SD3-specific ControlNets are limited
  • Check for SD3-compatible community ControlNets
  • SD 1.5 and SDXL ControlNets do NOT work with SD3

LTXV (Video Models)

Overview

Latent video diffusion models for text-to-video and image-to-video generation. VRAM-intensive.

Configuration

ParameterValue
LoaderSpecial video checkpoint loader (varies by node pack)
Resolution512x512 or 768x768 per frame (depends on model)
Frames16-64 (depends on VRAM)
FPS8-24
VRAM20GB+ FP16, ~6-10GB FP8
Key WarningCan OOM on 24GB VRAM — always use FP8 quantized models

VRAM Management

  • Always use FP8 quantized models on 24GB cards
  • Reduce frame count if OOM persists
  • Lower resolution helps a lot
  • Close other GPU-using applications
  • Consider --lowvram flag for ComfyUI

Cross-Family Compatibility Rules

LoRA Compatibility

LoRAs are model-family specific and are NOT interchangeable:

LoRA Trained ForWorks WithDoes NOT Work With
SD 1.5SD 1.5 and its fine-tunesSDXL, Flux, SD3
SDXLSDXL and its fine-tunesSD 1.5, Flux, SD3
FluxFlux models onlySD 1.5, SDXL, SD3
SD3SD3/3.5 models onlySD 1.5, SDXL, Flux

Using a LoRA with the wrong base model will produce garbage images or errors.

ControlNet Compatibility

ControlNets are also model-family specific:

ControlNet Trained ForWorks WithDoes NOT Work With
SD 1.5 (v1.1 series)SD 1.5 base + fine-tunesSDXL, Flux, SD3
SDXLSDXL base + fine-tunesSD 1.5, Flux, SD3
FluxFlux models onlySD 1.5, SDXL, SD3

VAE Compatibility

VAECompatible ModelsNotes
vae-ft-mse-840000-ema-prunedSD 1.5 familyBest external VAE for SD 1.5
SDXL built-in VAESDXL familyGood quality, no external needed
sdxl_vae.safetensorsSDXL familyExternal SDXL VAE option
ae.safetensors (Flux VAE)Flux onlyRequired for Flux, incompatible with SD
SD3 built-in VAESD3 familyIntegrated, no external needed

Rule: Never mix VAEs across model families. An SD 1.5 VAE decoding Flux latents will produce garbage.

Embedding/Textual Inversion Compatibility

Embedding TypeCompatible Models
SD 1.5 embeddingsSD 1.5 family only
SDXL embeddingsSDXL family only
Flux/SD3Generally don't use traditional embeddings

Sampler/Scheduler Compatibility

Most samplers work across all models, but some combinations are optimal:

ModelBest SamplerBest SchedulerNotes
SD 1.5euler_ancestral, dpmpp_2mkarras, normalAll standard samplers work
SDXLdpmpp_2m, eulerkarras, normalSame as SD 1.5
SDXL Turboeuler_ancestralnormalMust use 1-4 steps
SDXL Lightningeulersgm_uniformMust match step count to LoRA
Flux Schnelleulersimple4 steps only
Flux Deveulersgm_uniform20-50 steps
SD3euler, dpmpp_2msgm_uniform, normalLower CFG needed

Quick Decision Guide

Choosing a Model

Use CaseRecommended ModelWhy
Maximum ecosystem/community supportSD 1.5Most LoRAs, ControlNets, embeddings
High quality, good prompt followingSDXLBest balance of quality and ecosystem
Fastest generationSDXL Turbo/Lightning1-4 steps
Best prompt understandingFlux DevT5-XXL encoder, natural language
Fast + good qualityFlux Schnell4 steps, no negative needed
Text in imagesSD3.5Best text rendering
Low VRAM (<6GB)SD 1.5Smallest memory footprint
Video generationLTXV / AnimateDiffOnly options for video

Choosing Resolution

ModelMinimumRecommendedMaximum (before OOM on 24GB)
SD 1.5256x256512x512768x768
SDXL512x5121024x10241536x1536
Flux (FP8)512x5121024x10242048x2048
Flux (FP16)512x5121024x10241024x1024 (tight)
SD3512x5121024x10241536x1536

Going below the recommended resolution produces blurry/low-quality results. Going above the maximum risks OOM errors or quality degradation (tiling artifacts).

Sources

  • Official: none found as a vendor pairing matrix. Kitchen hardware gates: ComfyUI comfy/model_management.py (supports_fp8_compute, supports_nvfp4_compute, supports_mxfp8_compute); UNETLoader weight_dtype in nodes.py.
  • Empirical: base-model / VAE / CLIP pairing rules from observed load failures.

常见问题

Model Compatibility AI 技能有什么作用?

模型系列兼容性矩阵,涵盖 SD 1.5、SDXL、Flux、SD3 和视频模型的加载器、分辨率、采样器、CFG、VAE、ControlNet 和 LoRA 兼容性。

为什么在 TypingMind 中使用 Model Compatibility?

因为您只需安装一次,就能搭配任何模型使用。Model Compatibility 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Model Compatibility?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/model-compatibility。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Model Compatibility?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Model Compatibility 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Model Compatibility 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Model Compatibility AI 技能免费吗?

是的。artokun 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇