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

- Xet hash:
- 67f667712e1d2c13656e2cad724071c564e6f7c31b243ed8edb538caa938da2d
- Size of remote file:
- 140 kB
- SHA256:
- 9afedc4ed17fb195046bb0c72149d04bf0841af24994e745a635431a6e82674b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.