Skip to content
 
 

Repository files navigation

ComfyUI-Gemma4

ComfyUI 自定义节点,集成 Gemma 4 多模态大模型,支持文本生成、图像理解与视频理解。

工作流

节点列表

节点 说明
Gemma 4 Multimodal 统一节点,支持纯文本、图像和视频输入
Gemma 4 Text Generation 纯文本生成
Gemma 4 Image Understanding 单图或多图(序列帧)理解
Gemma 4 Video Understanding 视频帧理解,支持帧采样

模型安装

ModelScope 下载模型,放置到以下目录:

ComfyUI/models/LLM/gemma-4-12b-it/

目录结构

models
  |- LLM
    |- gemma-4-12b-it
      |- chat_template.jinja
      |- config.json
      |- configuration.json
      |- generation_config.json
      |- model.safetensors
      |- processor_config.json
      |- README.md
      |- tokenizer.json
      |- tokenizer_config.json

安装使用

  1. 将本仓库克隆到 ComfyUI/custom_nodes/ 目录
  2. 安装依赖:pip install -r requirements.txt
  3. 重启 ComfyUI

许可证

Apache-2.0

About

ComfyUI custom nodes integrating [Gemma 4](https://modelscope.cn/models/google/gemma-4-12B-it) multimodal AI — supporting text generation, image understanding, and video understanding.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages