匿名用户2024年07月31日
38阅读
所属分类aipytorch、text-to-image、stable-diffusion
开源地址https://modelscope.cn/models/dienstag/openjourney
授权协议creativeml-openrail-m

作品详情

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:

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 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])
声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论