Diffusers How to use manycore-research/FLUX.1-Layout-ControlNet with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline
controlnet = ControlNetModel.from_pretrained("manycore-research/FLUX.1-Layout-ControlNet")
pipe = StableDiffusionControlNetPipeline.from_pretrained(
"black-forest-labs/FLUX.1-dev", controlnet=controlnet
)