该插件共包含4个节点:
- MiniCPM-V:加载并使用MiniCPM V4或V4.5模型,进行图像或视频分析
- MiniCPM-V(Advanced):多参数版本的MiniCPM-V节点
- MiniCPM-V GGUF:加载并使用MiniCPM V4的GGUF格式模型(V4.5暂时不支持GGUF格式),进行图像或视频分析
- MiniCPM-V GGUF(Advanced):多参数版本的MiniCPM-V GGUF节点
安装方法
1 manager安装
通过manager搜索ComfyUI-MiniCPM安装
2 git clone安装
进入 ComfyUI 的 custom_nodes 目录,并打开cmd
使用以下命令克隆仓库:
git clone https://github.com/1038lab/comfyui-minicpm.git
安装依赖:
cd ComfyUI/custom_nodes/comfyui-minicpm
ComfyUI\python_embeded\python pip install -r requirements.txt注意如果要使用GGUF相关节点需要安装:llama-cpp-python
ComfyUI\python_embeded\python llama_cpp_install.py具体安装手册可以参考:https://github.com/1038lab/ComfyUI-MiniCPM/blob/main/llama_cpp_install/llama_cpp_install.md
插件安装后需重启comfyui
3 模型下载
该插件节点均支持自动下载
手动下载地址:
- https://huggingface.co/openbmb/MiniCPM-V-4_5
- https://huggingface.co/openbmb/MiniCPM-V-4_5-int4
- https://huggingface.co/openbmb/MiniCPM-V-4
- https://huggingface.co/openbmb/MiniCPM-V-4-int4
放置到 `models/LLM/模型名`或 `models/LLM/GGUF/模型名`(GGUF)目录。

