How to use from the
Use from the
Diffusers library
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]

Openjourney is an open source Stable Diffusion fine tuned model on Midjourney images, by PromptHero

Include 'mdjrny-v4 style' in prompt. Here you'll find hundreds of Openjourney prompts

Openjourney Links

Want to learn AI art generation?:

Use it for free:

Open In Spaces

Stable Diffusion v1.5 vs Openjourney

(Same parameters, just added "mdjrny-v4 style" at the beginning):

🧨 Diffusers

This model can be used just like any other Stable Diffusion model. For more information, please have a look at the Stable Diffusion.

You can also export the model to ONNX, MPS and/or FLAX/JAX.

from diffusers import StableDiffusionPipeline
import torch
model_id = "prompthero/openjourney"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "retro serie of different cars with different colors and shapes, mdjrny-v4 style"
image = pipe(prompt).images[0]
image.save("./retro_cars.png")
Downloads last month
8,538
Safetensors
Model size
0.1B params
Tensor type
F32
Β·
I64
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ 3 Ask for provider support

Model tree for prompthero/openjourney

Finetunes
1 model

Spaces using prompthero/openjourney 100