Text-to-Image
Diffusers
Safetensors
English
Text-to-Image
ControlNet
Diffusers
Flux.1-dev
image-generation
Stable Diffusion
Instructions to use Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro-2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro-2.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro-2.0", 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
gray condition
#6
by Hotpot-Killer - opened
how to use it?
I noticed that you mentioned in the wiki that you want to use the gray condition through cv2.cvtcolor, but the model can only receive images from three channels. Can you explain it in detail
I found that I was able to color your image very well during the experiment, but I couldn't achieve it using my image
could you post your image here?
I also been trying to figure out this but cant find any info anywhere. I did manage to color a portrait, but for more complex setups with several people the results were dreadful. From what understood one has to covert the image to greyscale, not use RGB.