Instructions to use InstantX/FLUX.1-dev-Controlnet-Canny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use InstantX/FLUX.1-dev-Controlnet-Canny with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("InstantX/FLUX.1-dev-Controlnet-Canny", 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
Download diffusion_pytorch_model.safetensors from InstantX/FLUX.1-dev-Controlnet-Canny: direct link, hf CLI and curl.
- Browser
- Download file 3.58 GB
-
https://huggingface.co/InstantX/FLUX.1-dev-Controlnet-Canny/resolve/main/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://InstantX/FLUX.1-dev-Controlnet-Canny/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/InstantX/FLUX.1-dev-Controlnet-Canny/resolve/main/diffusion_pytorch_model.safetensors
3.58 GB
- Xet hash:
- f0e01934e4a25f1b3f933993f68dc48075e8003725054a76df416b9176aac4ba
- Size of remote file:
- 3.58 GB
- SHA256:
- 55b8b2c5f8aeca6d833e70af24585b44e26a6cd25d3076471272b61dbbef6e83
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.