Include ‘mdjrny-v4 style’ in prompt. Here you’ll find hundreds of Openjourney prompts
(Same parameters, just added “mdjrny-v4 style” at the beginning):
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 modelscope.models import Model
from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks
import cv2
if __name__ == '__main__':
pipe = pipeline(task=Tasks.text_to_image_synthesis,
model='dienstag/openjourney',
model_revision='v1.0.0')
prompt = 'retro serie of different cars with different colors and shapes, mdjrny-v4 style'
output = pipe({'text': prompt})
cv2.imwrite('result.png', output['output_imgs'][0])