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

- Xet hash:
- e45c9931c933be424ca0ed1979e3f0a8035b098e55e6b84dfafcea218e685ae4
- Size of remote file:
- 1.05 MB
- SHA256:
- c070dec7d2efdb89adc6e84dd521e5df0be10221760912b54eb4430eeabc4d09
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.