PAI中文Diffusion模型-动漫

我要开发同款
匿名用户2024年07月31日
22阅读
所属分类aipytorch、text-to-image、stable-diffusion
开源地址https://modelscope.cn/models/PAI/pai-diffusion-anime-large-zh
授权协议Apache License 2.0

作品详情

Chinese Diffusion Model (Anime, 512 Resolution)

简介 Brief Introduction

我们开源了一个中文 Diffusion 模型,您可以直接输入中文提示词,我们为您呈现精美的动漫风格图片。本模型的默认分辨率是 768*512(竖图)。

We release a Chinese diffusion model, which is able to generate high-quality anime images according to the prompts you input. The default resolution of this model is 768*512.

使用 Usage

本模型支持 modelscope 的 pipeline,请参考以下范例代码:

This model supports the pipeline in modelscope. Please refer to the following code:

from modelscope.pipelines import pipeline
import cv2

p = pipeline('text-to-image-synthesis', 'PAI/pai-diffusion-anime-large-zh', model_revision='v1.0.0')
result = p({'text': '1个女孩,玫瑰,猫,蕾丝,音符,轻粒子', 'height': 768, 'width': 512})
image = result["output_imgs"][0]
cv2.imwrite("image.png", image)

作品展示 Gallery

prompt: 1个女孩,单人,高分辨率,腮红,看着观众,微笑,张开嘴,刘海 prompt: 1个女孩,高分辨率,金发,坐着,紫色的眼睛,蝴蝶结
prompt: 1个女孩,蓝眼睛,白色裙子,大腿,银色头发,百褶裙,天空 prompt: 1个女孩,玫瑰,猫,蕾丝,音符,轻粒子

使用须知 Notice for Use

使用上述模型需遵守AIGC模型开源特别条款

If you want to use this model, please read this document carefully and abide by the terms.

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

评论