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