Paresh1879
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,66 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
+
|
5 |
+
# Img2Img-Controlnet-ComfyUI
|
6 |
+
|
7 |
+
![Workflow](https://huggingface.co/Paresh1879/Img2Img-Controlnet-ComfyUI/blob/main/Images/ex4.png)
|
8 |
+
|
9 |
+
This repository contains the Img2Img project using Controlnet on ComfyUI.
|
10 |
+
|
11 |
+
![Example1](https://huggingface.co/Paresh1879/Img2Img-Controlnet-ComfyUI/blob/main/Images/ex3.png) ![Example](https://huggingface.co/Paresh1879/Img2Img-Controlnet-ComfyUI/blob/main/Images/ex1.png)
|
12 |
+
|
13 |
+
## Workflow
|
14 |
+
|
15 |
+
1. **Input Image**: The process starts by passing the input image to the LineArt and OpenPose preprocessors.
|
16 |
+
2. **ControlNet**: The preprocessed images are fed into ControlNet.
|
17 |
+
3. **Efficient Loader**: ControlNet outputs are then passed to the Efficient Loader, which loads the weights.
|
18 |
+
4. **KSampler**: Finally, the loaded data is processed through KSampler to generate the output image.
|
19 |
+
|
20 |
+
## Load the model in ComfyUI - [Workflow-Model](https://huggingface.co/Paresh1879/Img2Img-Controlnet-ComfyUI/blob/main/comfyui_workflow.json)
|
21 |
+
|
22 |
+
## Installation
|
23 |
+
|
24 |
+
1. **Clone the Repository**:
|
25 |
+
```bash
|
26 |
+
git clone https://github.com/comfyanonymous/ComfyUI
|
27 |
+
cd ComfyUI
|
28 |
+
```
|
29 |
+
|
30 |
+
2. **Install Dependencies**:
|
31 |
+
|
32 |
+
3. **Install Nodes and Models**:
|
33 |
+
Copy the custom nodes and models listed to the respective directories in your ComfyUI installation.
|
34 |
+
|
35 |
+
## Custom Nodes
|
36 |
+
|
37 |
+
### Comfyroll Studio
|
38 |
+
- CR Aspect Ratio
|
39 |
+
- CR Multi-ControlNet Stack
|
40 |
+
|
41 |
+
### ComfyUI
|
42 |
+
- PreviewImage
|
43 |
+
- SaveImage
|
44 |
+
- LoadImage
|
45 |
+
|
46 |
+
### ComfyUI Nodes for Inference.Core
|
47 |
+
- CannyEdgePreprocessor
|
48 |
+
- OpenposePreprocessor
|
49 |
+
- LineArtPreprocessor
|
50 |
+
|
51 |
+
### Efficiency Nodes for ComfyUI Version 2.0+
|
52 |
+
- Efficient Loader
|
53 |
+
- XY Input: CFG Scale
|
54 |
+
- XY Plot
|
55 |
+
- KSampler (Efficient)
|
56 |
+
|
57 |
+
## Models - Checkpoint and VAE
|
58 |
+
|
59 |
+
- Checkpoint: [Realistic Vision V6.0](https://huggingface.co/SG161222/Realistic_Vision_V6.0_B1_noVAE/blob/main/Realistic_Vision_V6.0_NV_B1_fp16.safetensors)
|
60 |
+
- VAE: [SD VAE](https://huggingface.co/stabilityai/sd-vae-ft-mse-original/blob/main/vae-ft-mse-840000-ema-pruned.ckpt)
|
61 |
+
|
62 |
+
## Docker
|
63 |
+
|
64 |
+
A Docker file is included for easy setup and deployment.
|
65 |
+
|
66 |
+
---
|