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

  • Log In
  • Sign Up

InstantX
/
FLUX.1-dev-Controlnet-Canny

Diffusers
Safetensors
Text-to-Image
ControlNet
Diffusers
Stable Diffusion
Model card Files Files and versions
xet
Community
10

Instructions to use InstantX/FLUX.1-dev-Controlnet-Canny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use InstantX/FLUX.1-dev-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("InstantX/FLUX.1-dev-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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Scrip for custom training

#10 opened 11 months ago by
anandguptacv

no sampler node to support this canny

#8 opened over 1 year ago by
savour

Is this installation available for webui_forge yet?

#7 opened over 1 year ago by
hohai099

canny thresholds used to train the model

1
#5 opened over 1 year ago by
ink10

ComfyUI Compatibility

➕ 3
5
#4 opened over 1 year ago by
orabazes

is support black-forest-labs/FLUX.1-schnell?

3
#3 opened over 1 year ago by
michaelj

DEMO CODE FOR fp8

👍 4
#2 opened over 1 year ago by
froilo
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs