国画Diffusion模型

我要开发同款
匿名用户2024年07月31日
14阅读
开发技术pytorch
所属分类ai、text-to-image、stable-diffusion
开源地址https://modelscope.cn/models/langboat/Guohua-Diffusion
授权协议creativeml-openrail-m

作品详情

国画Diffusion

This is the fine-tuned Stable Diffusion model trained on traditional Chinese paintings. 这是在国画上训练的微调Stable Diffusion模型。 Use guohua style in your prompts for the effect.

示例图片

example1 example2

如何使用

from modelscope.utils.constant import Tasks
from modelscope.pipelines import pipeline
import cv2

pipe = pipeline(task=Tasks.text_to_image_synthesis, 
                model='langboat/Guohua-Diffusion',
                model_revision='v1.0')

prompt = 'The Godfather poster in guohua style'
output = pipe({'text': prompt})
cv2.imwrite('result.png', output['output_imgs'][0])

Diffusers

该模型可以像任何其他Stable Diffusion模型一样使用。 This model can be used just like any other Stable Diffusion model.

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

评论