开源推荐
morning
GitHub 热门项目:cog-face-to-many
2026-05-27
1 阅读
GitHub Trending
GitHub 项目:cog-face-to-many
仓库地址:https://github.com/fofr/cog-face-to-many
星级:1366 | 作者:fofr
项目描述:将任何面孔变成视频游戏角色、像素艺术、粘土动画、3D 或玩具
===================================================
自述文件内容:
# 面对面
将任何面孔变成 3D、像素艺术、视频游戏、粘土动画或玩具。
在复制上运行此模型:
https://replicate.com/fofr/face-to-many
或者在 ComfyUI 中运行它:
https://github.com/fofr/cog-face-to-many/blob/main/face-to-many-ui.json
您将需要这些自定义节点:
- [ComfyUI Controlnet Aux](https://github.com/Fannovel16/comfyui_controlnet_aux/tree/6d6f63c)
- [ComfyUI InstantID](https://github.com/cubiq/ComfyUI_InstantID/tree/0fcf494)
- [ComfyUI IPAdapter Plus](https://github.com/cubiq/ComfyUI_IPAdapter_plus/tree/4e898fe)
- [ComfyUI Essentials](https://github.com/cubiq/ComfyUI_essentials/tree/c9236fe)
- [效率节点ComfyUI](https://github.com/jags111/efficiency-nodes-comfyui/tree/1ac5f18)

## 洛拉斯
3D、视频游戏、像素艺术、粘土动画和玩具洛拉都是由 ArtificialGuybr 制作的。如果您喜欢他们,您可以向他们的 Patreon 或 Ko-fi 捐款:
- https://www.patreon.com/user?u=81570187
- https://ko-fi.com/artificialguybr
或者在 Twitter 上关注他:
https://twitter.com/artificialguybr
## 本地开发
克隆此存储库:
````嘘
git clone --recurse-submodules https://github.com/fofr/cog-face-to-many.git && cd cog-face-to-many/ComfyUI
````
创建 python venv 并激活
````嘘
python3 -m venv 。 && 源 bin/激活
````
安装所需的依赖项
````嘘
pip install -r 要求.txt
````
下载 albedobaseXL_v13.safetensors 到模型/检查点
````嘘
wget https://huggingface.co/frankjoshua/albedobaseXL_v13/resolve/main/albedobaseXL_v13.safetensors?download=true -O models/checkpoints/albedobaseXL_v13.safetensors
````
下载羚羊2
````嘘
git 克隆 https://huggingface.co/DIAMONIK7777/antelopev2 models/insightface/models/antelopev2
````
下载 instantid-ip-adapter.bin
````嘘
wget https://huggingface.co/Aitrepreneur/InstantID-Controlnet/resolve/main/checkpoints/ip-adapter.bin?download=true -O models/instantid/instantid-ip-adapter.bin
````
下载 instantid-controlnet.safetensors
````嘘
wget https://huggingface.co/Aitrepreneur/InstantID-Controlnet/resolve/main/checkpoints/ControlNetModel/diffusion_pytorch_model.safetensors?download=true -O models/controlnet/instantid-controlnet.safetensors
````
运行[以下脚本](https://github.com/fofr/cog-face-to-many/blob/main/scripts/clone_plugins.sh)来安装所有自定义节点:
````嘘
./scripts/clone_plugins.sh
````
最后,安装它,运行它并享受它!
````嘘
python3 main.py
````
### 从 Cog 容器运行 Web UI
1. **GPU Machine**:启动Cog容器并公开端口8188:
````嘘
sudo cog run -p 8188 bash
````
运行此命令将启动 Cog 容器并让您访问它
2. **Cog 容器内部**:现在我们可以访问 Cog 容器,我们启动服务器,绑定到所有网络接口:
````嘘
cd ComfyUI/
python main.py --listen 0.0.0.0
````
3. **本地机**:访问服务器