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
Add Diffusers weights
#20
by Ar4ikov - opened
Add Diffusers weights converted from checkpoint openjourney-v2.ckpt in revision fa6195f8621ebc0ff4220e4ccd705dab34b68323
Cannot merge
This branch has merge conflicts in the following files:
- model_index.json
- safety_checker/config.json
- scheduler/scheduler_config.json
- text_encoder/config.json
- text_encoder/pytorch_model.bin
- tokenizer/tokenizer_config.json
- unet/config.json
- unet/diffusion_pytorch_model.bin
- vae/config.json