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