Adapt any picture of a face into another image
Run this model on Replicate:
https://replicate.com/fofr/become-image
Or run it in ComfyUI:
https://github.com/fofr/cog-become-image/blob/main/become-image-ui.json
You’ll need these custom nodes:
- ComfyUI Controlnet Aux
- ComfyUI InstantID
- ComfyUI IPAdapter Plus
- ComfyUI Essentials
- Efficiency Nodes ComfyUI
Clone this repository:
git clone --recurse-submodules https://github.com/fofr/cog-become-image.git
Run the following script to install all the custom nodes:
./scripts/clone_plugins.sh
- GPU Machine: Start the Cog container and expose port 8188:
sudo cog run -p 8188 bash
Running this command starts up the Cog container and let's you access it
- Inside Cog Container: Now that we have access to the Cog container, we start the server, binding to all network interfaces:
cd ComfyUI/
python main.py --listen 0.0.0.0
- Local Machine: Access the server using the GPU machine's IP and the exposed port (8188):
http://<gpu-machines-ip>:8188
When you goto http://<gpu-machines-ip>:8188
you'll see the classic ComfyUI web form!