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 text_encoder/pytorch_model.bin from prompthero/openjourney-v4: direct link, hf CLI and curl.
- Browser
- Download file 492 MB
-
https://huggingface.co/prompthero/openjourney-v4/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://prompthero/openjourney-v4/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/prompthero/openjourney-v4/resolve/main/text_encoder/pytorch_model.bin
492 MB
- Xet hash:
- 79e781d26780403311a0a7d4f5e290ef8d7380ef011455a37d3990cc3a983492
- Size of remote file:
- 492 MB
- SHA256:
- 10a7e470bf9dcee2628823009d05535c1e4187ec84bea9f3b85505a952306358
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.