Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

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

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

Instructions to use jiteshdhamaniya/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 jiteshdhamaniya/alimama-creative-FLUX.1-dev-Controlnet-Inpainting-Alpha with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("jiteshdhamaniya/alimama-creative-FLUX.1-dev-Controlnet-Inpainting-Alpha", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
alimama-creative-FLUX.1-dev-Controlnet-Inpainting-Alpha
35.9 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
Jitesh Dhamaniya
update model index
2e9ecc8 over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    8.46 kB
    Init over 1 year ago
  • config.json
    526 Bytes
    Init over 1 year ago
  • handler.py
    2.25 kB
    update model id over 1 year ago
  • main.py
    2.25 kB
    update model id over 1 year ago
  • model_index.json
    310 Bytes
    update model index over 1 year ago
  • transformer_flux.py
    20.5 kB
    Init over 1 year ago