Instructions to use prompthero/openjourney with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prompthero/openjourney 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", 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
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#45)
- Add `clip_sample=False` to scheduler to make model compatible with DDIM. (4f01730c76d29606559baf49f8a0e6739650f46c) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>7428477
-
Add Diffusers weights for midjourney-v4-diffusion (#2)
- Add Diffusers weights for (8f60617dc3018cc990dba70c01a9eb94f707d608) Co-authored-by: Jay Hawkk <JHawkk@users.noreply.huggingface.co>99bb9ed