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

  • Log In
  • Sign Up

ckpt
/
FLUX.1-dev-Controlnet-Inpainting-Alpha

Diffusers
Safetensors
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use ckpt/FLUX.1-dev-Controlnet-Inpainting-Alpha with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ckpt/FLUX.1-dev-Controlnet-Inpainting-Alpha", 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-Inpainting-Alpha
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
camenduru's picture
camenduru
thanks to alimama-creative ❤
6af1296 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • config.json
    526 Bytes
    thanks to alimama-creative ❤ over 1 year ago
  • diffusion_pytorch_model.safetensors
    4.28 GB
    xet
    thanks to alimama-creative ❤ over 1 year ago