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

  • Log In
  • Sign Up

InstantX
/
FLUX.1-dev-Controlnet-Union

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

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

  • Libraries
  • Diffusers

    How to use InstantX/FLUX.1-dev-Controlnet-Union 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-Union", 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
FLUX.1-dev-Controlnet-Union
6.61 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 32 commits
wanghaofan's picture
wanghaofan
Update README.md
4f32d6f verified over 1 year ago
  • images
    Upload 9 files over 1 year ago
  • .gitattributes
    1.65 kB
    Upload images_flux_controlnet_union.png over 1 year ago
  • README.md
    4.91 kB
    Update README.md over 1 year ago
  • config.json
    422 Bytes
    Upload 2 files over 1 year ago
  • diffusion_pytorch_model.safetensors
    6.6 GB
    xet
    Upload 2 files over 1 year ago