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
Upload canny1.png
Browse files- .gitattributes +1 -0
- outputs/canny1.png +3 -0
.gitattributes
CHANGED
|
@@ -42,3 +42,4 @@ outputs/depth.png filter=lfs diff=lfs merge=lfs -text
|
|
| 42 |
outputs/pose.png filter=lfs diff=lfs merge=lfs -text
|
| 43 |
outputs/soft_edge.png filter=lfs diff=lfs merge=lfs -text
|
| 44 |
conds/canny1.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 42 |
outputs/pose.png filter=lfs diff=lfs merge=lfs -text
|
| 43 |
outputs/soft_edge.png filter=lfs diff=lfs merge=lfs -text
|
| 44 |
conds/canny1.png filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
outputs/canny1.png filter=lfs diff=lfs merge=lfs -text
|
outputs/canny1.png
ADDED
|
Git LFS Details
|