Instructions to use StonyBrook-CVLab/PixCell-256-Cell-ControlNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use StonyBrook-CVLab/PixCell-256-Cell-ControlNet with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("StonyBrook-CVLab/PixCell-256-Cell-ControlNet", 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 test_mask.png from StonyBrook-CVLab/PixCell-256-Cell-ControlNet: direct link, hf CLI and curl.
- Browser
- Download file 2.48 kB
-
https://huggingface.co/StonyBrook-CVLab/PixCell-256-Cell-ControlNet/resolve/main/test_mask.png
- Command line
-
hf download hf://StonyBrook-CVLab/PixCell-256-Cell-ControlNet/test_mask.png
-
curl -L -o test_mask.png https://huggingface.co/StonyBrook-CVLab/PixCell-256-Cell-ControlNet/resolve/main/test_mask.png
2.48 kB
