openjourney / README.md
akhaliq's picture
akhaliq HF staff
fix name
78d28cb
|
raw
history blame
2.38 kB
metadata
inference: true
language:
  - en
tags:
  - stable-diffusion
  - text-to-image
license: creativeml-openrail-m

Stable Diffusion fine tuned on Midjourney v4 images, by PromptHero

Use prompt: 'mdjrny-v4 style'

Open In Colab

Gradio

We support a Gradio Web UI to run midjourney-v4-diffusion: Open In Spaces

🧨 Diffusers

Stable Diffusion v1.5 vs Midjourney v4 Diffusion

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

Click here for more Midjourney v4 prompts and inspiration.

🧨 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/midjourney-v4-diffusion "
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")