ComfyUI-ResAdapter

ComfyUI-ResAdapter
★ 284

模型适配权重加载工作流示例ControlNet/LoRA
在ComfyUI中加载并管理ResAdapter权重的节点,简化与a/ResAdapter的集成与常用工作流使用。
💡 快速在ComfyUI中加载ResAdapter权重并应用于T2I/ControlNet等。
🍴 10 Forks💻 Python🔄 2024-05-23
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/b6135d9bd930
📄 README

ComfyUI ResAdapter

ComfyUI-ResAdapter is an extension designed to enhance the usability of ResAdapter. It offers a simple node to load resadapter weights. Furthermore, this repo provide specific workflows for text-to-image, accelerate-lora, controlnet and ip-adapter.

⭐ If ResAdapter is helpful to your images or projects, please help star this repo and bytedance/res-adapter. Thanks! 🤗

Installation

# Step1: Clone ComfyUI-ResAdapter
git clone git@github.com:jiaxiangc/ComfyUI-ResAdapter.git

# Step2: Move it to ComfyUI/custom_node
mv ComfyUI-ResAdapter ComfyUI/custom_nodes/

# Step3: Select Load ResAdapter Node in ComfyUI. We can use it like LoRA Loader.

Download Model

We provide script for automatically downloading resadapter model from huggingface in __init__.py. If you can not connect with huggingface.com, you can directly download model in huggingface.

Example Gallery

We provide workflow examples here.

There are demo videos for helping users to know how to use ComfyUI-ResAdapter, which is supported by @fengyuzz.

Text-to-Image

  • workflow: resadapter_text_to_image_workflow.
  • models: dreamlike-diffusion-1.0
  • https://github.com/jiaxiangc/ComfyUI-ResAdapter/assets/162297627/82453931-23de-4f72-8a9c-1053c4c8d81a

    ControlNet

  • workflow: resadapter_controlnet_workflow.
  • models: stable-diffusion-v1-5, sd-controlnet-canny
  • https://github.com/jiaxiangc/ComfyUI-ResAdapter/assets/162297627/aab14d91-f68f-4415-b947-fd99662ca2ca

    IPAdapter

  • workflow: resadapter_ipadapter_workflow.
  • models: stable-diffusion-v1-5, IP-Adapter
  • https://github.com/jiaxiangc/ComfyUI-ResAdapter/assets/162297627/92bcfc11-b1d5-4909-9e6d-7e1978c948c2

    Accelerate LoRA

  • workflow: resadapter_accelerate_lora_workflow.
  • models: stable-diffusion-v1-5, lcm-lora-sdv1-5
  • https://github.com/jiaxiangc/ComfyUI-ResAdapter/assets/162297627/46ce4224-ab4d-4890-abc8-00b716dcb29a