Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

XLabs-AI
/
flux-controlnet-canny

Text-to-Image
Diffusers
English
Text-to-Image
ControlNet
Stable Diffusion
Model card Files Files and versions
xet
Community
19

Instructions to use XLabs-AI/flux-controlnet-canny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use XLabs-AI/flux-controlnet-canny 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-canny", 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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

add AIBOM

#19 opened 9 months ago by
sabato-nocera

Where do I put the controlnet.safetensor file?

2
#18 opened over 1 year ago by
annabammalamma

I'm keep getting Error: 'DoubleStreamBlock' has no attribute 'proccesor'

#17 opened over 1 year ago by
faceonacake

How to use it in Forge?

👍 1
2
#16 opened over 1 year ago by
Yaroprod

why flux1-dev produce noisy image with canny controlnet

4
#15 opened over 1 year ago by
tanghengjian

bad result from lora and controlnet

1
#14 opened over 1 year ago by
liupeng291

Couldn't get either model to work for Flux??

#13 opened over 1 year ago by
Scott0

Very impressive, thanks for your work

❤️ 1
2
#12 opened over 1 year ago by
Chl0eeee

AttributeError: 'NoneType' object has no attribute 'keys' (updated, solved)

31
#11 opened almost 2 years ago by
erle

Training details

➕👀 6
#10 opened almost 2 years ago by
melmass

How to use it in ComfyUI?

9
#7 opened almost 2 years ago by
AILEV

Wrong license

2
#6 opened almost 2 years ago by
Midpash

Add a model card, with code examples and more details about the model

#5 opened almost 2 years ago by
multimodalart

is it possible to run this canny model in comfyui?

5
#3 opened almost 2 years ago by
nikgtn

This real?

2
#1 opened almost 2 years ago by
omarei
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs