Skip to content

Commit

Permalink
Complete ComfyUI-ResAdapter
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaxiangc committed Mar 13, 2024
1 parent 215609d commit 65f07e3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
37 changes: 21 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ Lean Fu

AutoML, ByteDance Inc.

If our work is helpful for your research and application, please give us a star ✨. Our target is `1k+` :).
We will continue to maintain the repository for the betterment of our users.

<a href='https://res-adapter.github.io/'><img src='https://img.shields.io/badge/Project-Page-green'></a>
<a href='https://arxiv.org/abs/2403.02084'><img src='https://img.shields.io/badge/ Paper-Arxiv-red'></a>
<a href='https://huggingface.co/jiaxiangc/res-adapter'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-blue'></a>
![GitHub Org's stars](https://img.shields.io/github/stars/bytedance%2Fres-adapter)

[![Replicate](https://img.shields.io/badge/Demo-Replicate.com-purple)](https://replicate.com/bytedance/res-adapter)
[![Hugging Face](https://img.shields.io/badge/Demo-%F0%9F%A4%97%20Hugging%20Face-66cdaa)](https://huggingface.co/spaces/ameerazam08/Res-Adapter-GPU-Demo)



[![ComfyUI](https://img.shields.io/badge/ComfyUI-ResAdapter-red)](https://github.com/jiaxiangc/ComfyUI-ResAdapter)


<strong> We propose ResAdapter, a plug-and-play resolution adapter for enabling diffusion models of arbitrary style domains to generate resolution-free images: no additional training, no additional inference and no style transfer.</strong>
Expand All @@ -37,9 +38,10 @@ The above images are generated by ResAdapter with [dreamlike-diffusion-1.0](http


## 🚀 Release
- `[2024/03/14]` We have completed [ComfyUI-ResAdapter](https://github.com/jiaxiangc/ComfyUI-ResAdapter), which will be open source in several days.
- `[2024/03/12]` We support [gradio demo with SDXL-Lightning](https://replicate.com/bytedance/res-adapter) in `huggingface.com` (by [@Ameer Azam](https://github.com/AMEERAZAM08))
- `[2024/03/12]` We support [gradio demo with SDXL-Lightning](https://replicate.com/bytedance/res-adapter) in `replicate.com` (by [@chenxiwh](https://github.com/chenxwh))
- `[2024/03/12]` We release the [resadapter-sdv15](https://huggingface.co/jiaxiangc/res-adapter/tree/main/sd1.5) that supports `128~1024` resolution.
- `[2024/03/11]` We release the [resadapter-sdv15](https://huggingface.co/jiaxiangc/res-adapter/tree/main/sd1.5) that supports `128~1024` resolution.
- `[2024/03/05]` We release the paper about [resadapter](https://arxiv.org/abs/2403.02084) to arxiv.
- `[2024/03/04]` We release the inference codes and [resadapter-sdv15-i](https://huggingface.co/jiaxiangc/res-adapter/tree/main/sd1.5-i) that supports `128~512`, and [resadapter-xl-i](https://huggingface.co/jiaxiangc/res-adapter/tree/main/sdxl-i) that supports `256~1024`.

Expand Down Expand Up @@ -111,7 +113,17 @@ images = pipe(
save_image(images, f"resadapter_{width}.png", normalize=True, padding=0)
```

## 🎉 Support ResAdapter in Gradio

## 🎉 Support ResAdapter in ComfyUI

🔥 [Update at 2024/03/14] We are pleased to announce that [ComfyUI-ResAdapter](https://github.com/jiaxiangc/ComfyUI-ResAdapter) is complete and users can install it to load the weights of ResAdapter.

🧊 However, due to the internal arrangement of our company, we will postpone open-sourcing the code of ComfyUI-ResAdapter for some time. We will open source it as soon as possible, please pay attention to us for the first time to obtain codes.

<img src="assets/misc/resadapter-1024x1024.png" width="100%">


## 🎉 Support ResAdapter Demos

🔥 [Update at 2024/03/12] We are happy to provide two demos in `replicate.com` and `huggingface.com`.

Expand All @@ -122,16 +134,9 @@ Huggingface demo: [ameerazam08/Res-Adapter-GPU-Demo](https://huggingface.co/spac
<div align=center>
<img src="assets/misc/replicate_demo.jpeg" width="56.4%"><img src="assets/misc/huggingface_demo.jpeg" width="43.6%">

Left: ResAdapter with SDXL-Lightning in `Replicate.com`, Right: ResAdapter with SDXL-Lightning in `Huggingface.com`

</div>


<!-- 2. Huggingface demo: [jiaxiangc/ReAdapter-SDXL-Lightning]() in huggingface, which is developed by -->

## 🎉 Support ResAdapter in ComfyUI

We will support ComfyUI within a week.


## ⏬ Installation
Expand Down Expand Up @@ -315,14 +320,14 @@ Prompt: portrait, action pose, slow motion, (old male human wizard) old male hum
- [x] Provide weights of resadapter-sdv15-i that supports `128~1024`.
- [x] Provide weights of resadapter-xl-i that supports `256~1024`.
- [ ] Provide weights of resadapter-xl-i that supports `256~1536`.
- [ ] Supporting resadapter in **ComfyUI** during mid to late March.
- [x] Supporting resadapter in demos in huggingface.com.
- [x] Supporting resadapter in demos in replicate.com.
- [x] Supporting resadapter in **ComfyUI**.
- [ ] Supporting resadapter in **WebUI**.
<!-- - [ ] Supporting resadapter in **Huggingface** during mid to late March. -->
<!-- - [ ] Supporting resadapter in **Playground** during mid to late March, which is supported by. -->

## 🌟 Star History

Our target about the number of star: `1k+`. We will keep maintain our repository.

[![Star History Chart](https://api.star-history.com/svg?repos=bytedance/res-adapter&type=Date)](https://star-history.com/#bytedance/res-adapter&Date)


Expand Down
Binary file added assets/misc/resadapter-1024x1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 65f07e3

Please sign in to comment.