Instructions to use alibaba-pai/pai-diffusion-general-large-zh-controlnet-depth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use alibaba-pai/pai-diffusion-general-large-zh-controlnet-depth with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("alibaba-pai/pai-diffusion-general-large-zh-controlnet-depth", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download diffusion_pytorch_model.bin from alibaba-pai/pai-diffusion-general-large-zh-controlnet-depth: direct link, hf CLI and curl.
- Browser
- Download file 1.45 GB
-
https://huggingface.co/alibaba-pai/pai-diffusion-general-large-zh-controlnet-depth/resolve/main/diffusion_pytorch_model.bin
- Command line
-
hf download hf://alibaba-pai/pai-diffusion-general-large-zh-controlnet-depth/diffusion_pytorch_model.bin
-
curl -L -o diffusion_pytorch_model.bin https://huggingface.co/alibaba-pai/pai-diffusion-general-large-zh-controlnet-depth/resolve/main/diffusion_pytorch_model.bin
1.45 GB
- Xet hash:
- a4a2b8fcee003c7d1a9f501da5b6036016bd77ceaccfb851613ea146542eae55
- Size of remote file:
- 1.45 GB
- SHA256:
- f57d12cc0360c622621188153caa0880346cf5a83ca02558f28f6c2922a057c2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.