Instructions to use InstantX/FLUX.1-dev-Controlnet-Union with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use InstantX/FLUX.1-dev-Controlnet-Union with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("InstantX/FLUX.1-dev-Controlnet-Union", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files10 unmodified lines11121314151624 unmodified lines4142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858610 unmodified lines---# FLUX.1-dev Controlnet## Diffusers versionuntil the next Diffusers pypi release, please install Diffusers from source and use [this PR](xxxxxx) to be able to use.24 unmodified lines|6|lq|🟢high|| Canny | Tile ||:------------:|:------------:||<img src="./images/image_demo_canny.jpg" width = "300" />|<img src="./images/image_demo_tile.jpg" width = "300" />|| Depth | Blur ||:------------:|:------------:||<img src="./images/image_demo_depth.jpg" width = "300" />|<img src="./images/image_demo_blur.jpg" width = "300" />|| Pose | Gray ||:------------:|:------------:||<img src="./images/image_demo_pose.jpg" width = "300" />|<img src="./images/image_demo_gray.jpg" width = "300" />|| Low Quality | To Be Supplemented ||:------------:|:------------:||<img src="./images/image_demo_lq.jpg" width = "300" />||<!--### canny<img src="./images/image_demo_canny.jpg" width = "300" />### tile<img src="./images/image_demo_tile.jpg" width = "300" />### depth<img src="./images/image_demo_depth.jpg" width = "300" />### blur<img src="./images/image_demo_blur.jpg" width = "300" />### pose<img src="./images/image_demo_pose.jpg" width = "300" />### gray<img src="./images/image_demo_gray.jpg" width = "300" />### low quality<img src="./images/image_demo_lq.jpg" width = "300" />--># Demo10 unmodified lines11121314151617181924 unmodified lines44454647484910 unmodified lines---# FLUX.1-dev Controlnet<img src="./images/image_union.jpg" width = "800" />## Diffusers versionuntil the next Diffusers pypi release, please install Diffusers from source and use [this PR](xxxxxx) to be able to use.24 unmodified lines|6|lq|🟢high|# Demo
README.md+3-40