Skip to content

ComfyUI custom node that simply integrates the OOTDiffusion.

License

Notifications You must be signed in to change notification settings

Zalmighty/ComfyUI-OOTDiffusion

 
 

Repository files navigation

ComfyUI OOTDiffusion

A ComfyUI custom node that simply integrates the OOTDiffusion functionality.

一个简单接入 OOTDiffusion 的 ComfyUI 节点。

Instruction 指南

根据 https://git-lfs.com 安装 git lfs:

Linux:

sudo apt install git-lfs

git lfs 初始化:

git lfs install

拉取 Huggingface 库至 ComfyUI 根目录下的 models/OOTDiffusion 目录:

git clone https://huggingface.co/levihsu/OOTDiffusion models/OOTDiffusion

拉取 Huggingface 时大约会下载 8 个模型,假如断开连接,可以使用下面命令恢复下载:

cd models/OOTDiffusion
git lfs fetch
git checkout main

创建环境并下载依赖:

conda create -n ootd
conda activate ootd
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
conda install cudatoolkit-dev -c conda-forge

pip install -r custom_nodes/ComfyUI-OOTDiffusion/requirements.txt

安装 custom_nodes/ComfyUI-OOTDiffusion 目录下的 requirements.txt。

启动 ComfyUI 即可。

节点

LoadOOTDPipeline: 加载 OOTD Pipeline

OOTDGenerate: 生成图像

示例图片

衣服 1

模特 1

About

ComfyUI custom node that simply integrates the OOTDiffusion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.3%
  • Cuda 5.2%
  • C++ 2.9%
  • Shell 0.5%
  • Dockerfile 0.1%
  • C 0.0%