模型:
prompthero/openjourney
在提示中包含 'mdjrny-v4样式'。在这里,您将找到数百个 Openjourney prompts
(相同参数,只在开头加了"mdjrny-v4样式"): 
  
  
  
 
这个模型可以像其他稳定扩散模型一样使用。有关更多信息,请查看这里。
您还可以将模型导出到 MPS 、 FLAX/JAX 和/或 MPS 。
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")