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
Commit History
-
Upload diffusers weights (#48)
- Upload with huggingface_hub (1b0c2ac60c6dc295ab119eea267c9500bab40098) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>47b62b2
-
Delete text_encoder
adb6544
-
Add Diffusers weights (#17)
- Add Diffusers weights (320502e06124b502198045452cb74fc624235d2f) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>7505bad