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", torch_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
Inpainting version
#33
by NickKolok - opened
I've just merged an inpainting model for this:
https://huggingface.co/NickKolok/openjourney-v2-inpainting/tree/main
It has been done via Kaggle, so I used pruned models for the merge. If someone tests it, let us know!
Also, the maintainer may want to add the file to the repo. Sorry for being unable to perform a proper pull request right now.
OSError: NickKolok/openjourney-v2-inpainting does not appear to have a file named model_index.json.
@NickKolok , could you create a safetensors version of your checkpoint if you get a chance? Thanks!