jiaxiangc / ComfyUI-ResAdapter

ComfyUI extension for ResAdapter.
Apache License 2.0
273 stars 8 forks source link

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

https://github.com/jiaxiangc/ComfyUI-ResAdapter/assets/162297627/82453931-23de-4f72-8a9c-1053c4c8d81a

ControlNet

https://github.com/jiaxiangc/ComfyUI-ResAdapter/assets/162297627/aab14d91-f68f-4415-b947-fd99662ca2ca

IPAdapter

https://github.com/jiaxiangc/ComfyUI-ResAdapter/assets/162297627/92bcfc11-b1d5-4909-9e6d-7e1978c948c2

Accelerate LoRA

https://github.com/jiaxiangc/ComfyUI-ResAdapter/assets/162297627/46ce4224-ab4d-4890-abc8-00b716dcb29a