Instructions to use XLabs-AI/flux-controlnet-collections with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use XLabs-AI/flux-controlnet-collections with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("XLabs-AI/flux-controlnet-collections", 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
- Local Apps
- Draw Things
- DiffusionBee
Workflow calls for file "controlnet_5000.bin", can't locate it
#17
by blakeh77 - opened
The workflow_canny_workflow.json has, for the "control net_path" value, something called "controlnet_5000.bin". I can't find this file anywhere, and I can't find it on the internet. Where does it come from, how do I get it, and where is it supposed to be? Thanks for any help.
Just download the controlnet v3's from this location and put them all in here:
..\ComfyUI\models\xlabs\controlnets
This folder gets created when you install this stuff: https://github.com/XLabs-AI/x-flux-comfyui
Then just pick the flux-canny-controlnet-v3.safetensors if you're using the canny workflow and you should be good.