https://github.com/ZHO-ZHO-ZHO/ComfyUI-APISR
Unofficial implementation of APISR for ComfyUI
https://github.com/ZHO-ZHO-ZHO/ComfyUI-APISR
comfyui stable-diffusion
Last synced: 4 months ago
JSON representation
Unofficial implementation of APISR for ComfyUI
- Host: GitHub
- URL: https://github.com/ZHO-ZHO-ZHO/ComfyUI-APISR
- Owner: ZHO-ZHO-ZHO
- License: gpl-3.0
- Created: 2024-03-19T04:49:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-22T14:14:46.000Z (11 months ago)
- Last Synced: 2024-12-16T06:03:40.622Z (4 months ago)
- Topics: comfyui, stable-diffusion
- Language: Python
- Homepage:
- Size: 102 KB
- Stars: 350
- Watchers: 5
- Forks: 22
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-comfyui - **APISR IN COMFYUI**
README

# APISR IN COMFYUI
Unofficial implementation of [APISR](https://github.com/Kiteretsu77/APISR) for ComfyUI
https://github.com/ZHO-ZHO-ZHO/ComfyUI-APISR/assets/140084057/e6deb435-d276-4726-9d6d-457cc99d433e
## 项目介绍 | Info
- 对 [APISR](https://github.com/Kiteretsu77/APISR) 的非官方实现
- APISR:专门用于动漫的超分模型,包含 2x 和 4x 双模型,速度飞快,效果很好
- 版本:V1.1 新增支持 cpu 生成,同时支持图像和视频放大(视频分为Batch和Lterative两种方式,分别适用于高/低显存)
## 节点说明 | Features
- APISR 模型加载 | 🔎APISR ModelLoader
- 支持 2 种官方模型:[2x_APISR_RRDB_GAN_generator](https://huggingface.co/camenduru/APISR/resolve/main/2x_APISR_RRDB_GAN_generator.pth?download=true) 和 [4x_APISR_GRL_GAN_generator](https://huggingface.co/camenduru/APISR/resolve/main/4x_APISR_GRL_GAN_generator.pth?download=true),需手动下载放入 `/ComfyUI/models/apisr` 中
- 放大(批) | 🔎APISR
- 同时支持 图像 和 视频
- 批处理,帧数多的视频需要高显存
- 放大(逐张)| 🔎APISR Lterative
- 同时支持 图像 和 视频
- 逐张处理,低显存推荐使用
- 若输出配合 Video Helper Suite 插件使用,则需要使用 ComfyUI 自带的 Split Image with Alpha 节点去除 Alpha 通道
## 安装 | Install
- 推荐使用管理器 ComfyUI Manager 安装
- 手动安装:
1. `cd custom_nodes`
2. `git clone https://github.com/ZHO-ZHO-ZHO/ComfyUI-APISR`
3. `cd custom_nodes/ComfyUI-APISR`
4. `pip install -r requirements.txt`
5. 重启 ComfyUI## 工作流 | Workflows
V1.0
- [V1.0 APISR img or video Batch](https://github.com/ZHO-ZHO-ZHO/ComfyUI-APISR/blob/main/APISR%20WORKFLOWS/APISR%20img%20or%20video%20Batch%E3%80%90Zho%E3%80%91.json)

- [V1.0 APISR img or video Lterative](https://github.com/ZHO-ZHO-ZHO/ComfyUI-APISR/blob/main/APISR%20WORKFLOWS/APISR%20img%20or%20video%20Lterative%E3%80%90Zho%E3%80%91.json)
## 更新日志
- 20240319
V1.1 新增支持 cpu 生成(from:Fihade)
- 20240319
V1.0 同时支持图像与视频的放大,还提供分别适合于高显存和低显存的 Batch 和 Lterative 两种模式
创建项目
## Stars
[](https://star-history.com/#ZHO-ZHO-ZHO/ComfyUI-APISR&Date)
## 关于我 | About me
📬 **联系我**:
- 邮箱:[email protected]
- QQ 群:839821928🔗 **社交媒体**:
- 个人页:[-Zho-](https://jike.city/zho)
- Bilibili:[我的B站主页](https://space.bilibili.com/484366804)
- X(Twitter):[我的Twitter](https://twitter.com/ZHOZHO672070)
- 小红书:[我的小红书主页](https://www.xiaohongshu.com/user/profile/63f11530000000001001e0c8?xhsshare=CopyLink&appuid=63f11530000000001001e0c8&apptime=1690528872)💡 **支持我**:
- B站:[B站充电](https://space.bilibili.com/484366804)
- 爱发电:[为我充电](https://afdian.net/a/ZHOZHO)## Credits
[APISR](https://github.com/Kiteretsu77/APISR)