Image-to-Image
Diffusers
Safetensors
English
Image-to-Image
ControlNet
Diffusers
QwenImageControlNetPipeline
Qwen-Image
Instructions to use InstantX/Qwen-Image-ControlNet-Union with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use InstantX/Qwen-Image-ControlNet-Union with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("InstantX/Qwen-Image-ControlNet-Union", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -26,20 +26,20 @@ This repository provides a unified ControlNet that supports 4 control types (can
|
|
| 26 |
# Showcases
|
| 27 |
<table style="width:100%; table-layout:fixed;">
|
| 28 |
<tr>
|
| 29 |
-
<td><img src="./conds/
|
| 30 |
-
<td><img src="./outputs/
|
| 31 |
</tr>
|
| 32 |
<tr>
|
| 33 |
-
<td><img src="./conds/soft_edge.png" alt="
|
| 34 |
-
<td><img src="./outputs/soft_edge.png" alt="
|
| 35 |
</tr>
|
| 36 |
<tr>
|
| 37 |
-
<td><img src="./conds/depth.png" alt="
|
| 38 |
<td><img src="./outputs/depth.png" alt="depth"></td>
|
| 39 |
</tr>
|
| 40 |
<tr>
|
| 41 |
<td><img src="./conds/pose.png" alt="pose"></td>
|
| 42 |
-
<td><img src="./outputs/pose.png" alt="
|
| 43 |
</tr>
|
| 44 |
</table>
|
| 45 |
|
|
|
|
| 26 |
# Showcases
|
| 27 |
<table style="width:100%; table-layout:fixed;">
|
| 28 |
<tr>
|
| 29 |
+
<td><img src="./conds/canny1.png" alt="canny"></td>
|
| 30 |
+
<td><img src="./outputs/canny1.png" alt="canny"></td>
|
| 31 |
</tr>
|
| 32 |
<tr>
|
| 33 |
+
<td><img src="./conds/soft_edge.png" alt="soft_edge"></td>
|
| 34 |
+
<td><img src="./outputs/soft_edge.png" alt="soft_edge"></td>
|
| 35 |
</tr>
|
| 36 |
<tr>
|
| 37 |
+
<td><img src="./conds/depth.png" alt="depth"></td>
|
| 38 |
<td><img src="./outputs/depth.png" alt="depth"></td>
|
| 39 |
</tr>
|
| 40 |
<tr>
|
| 41 |
<td><img src="./conds/pose.png" alt="pose"></td>
|
| 42 |
+
<td><img src="./outputs/pose.png" alt="pose"></td>
|
| 43 |
</tr>
|
| 44 |
</table>
|
| 45 |
|