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
This update broke ControlNet InstantX
#3
by badraymen - opened
no wonder i tried so many times and still couldn't control it
You need to change the file qwenmodel.py manually
This is the fix :
https://github.com/nunchaku-tech/ComfyUI-nunchaku/pull/537/commits/2dd0d1c2cb9409ac8562942b12064ee73a53f8df
badraymen changed discussion status to closed
