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:
- 3d5cabccfd6d5cacf12048fdb71fd6513618a250475b4eca09b32f0778f84242
- Size of remote file:
- 1.22 MB
- SHA256:
- 07a1d58afe065b63f35a3cad8c3b63586a14c64835de84abac3d8601092014ec
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.