openjourney / README.md
prompthero's picture
Update README.md
24c67dc
|
raw
history blame
2.41 kB
metadata
inference: true
language:
  - en
tags:
  - stable-diffusion
  - text-to-image
license: creativeml-openrail-m

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

Include 'mdjrny-v4 style' in prompt

PromptHero:

Openjourney prompts and inspiration Crash course in AI art generation Learn to fine-tune Stable Diffusion for photorealism

Gradio

We support a Gradio Web UI to run Openjourney: 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")