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

  • Log In
  • Sign Up

alimama-creative
/
FLUX.1-dev-Controlnet-Inpainting-Alpha

Diffusers
Safetensors
English
Text-to-Image
ControlNet
Inpainting
FLUX
Stable Diffusion
Model card Files Files and versions
xet
Community
9

Instructions to use alimama-creative/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 alimama-creative/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("alimama-creative/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
4.32 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 36 commits
ljp's picture
ljp
Update README.md
9b55731 verified over 1 year ago
  • images
    Upload alimama-creative-flux-inapint-cn-beta.json over 1 year ago
  • .gitattributes
    2.53 kB
    Upload 18 files over 1 year ago
  • README.md
    8.46 kB
    Update README.md over 1 year ago
  • config.json
    526 Bytes
    add ckpt over 1 year ago
  • diffusion_pytorch_model.safetensors
    4.28 GB
    xet
    add ckpt over 1 year ago