Artiprocher's picture
Update README.md
c738e9b
|
raw
history blame
2.37 kB
metadata
license: apache-2.0
tags:
  - pytorch
  - diffusers
  - text-to-image

Chinese Diffusion Model (Artist, 768 Resolution)

简介 Brief Introduction

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

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

使用 Usage

本模型支持 diffuserswebui ,如果您使用 diffusers,可以参考以下范例代码:

This model supports both diffusers and webui. If you are using diffusers, please refer to the following code:

from diffusers import StableDiffusionPipeline

model_id = "alibaba-pai/pai-diffusion-artist-xlarge-zh"
pipe = StableDiffusionPipeline.from_pretrained(model_id)
pipe = pipe.to("cuda")

prompt = "雾蒙蒙的日出在湖面上"
image = pipe(prompt).images[0]  
image.save("result.png")

如果您使用 webui,请下载“Files and versions”页面下的 model.ckpt.

If you are using webui, please download the file named model.ckpt.

作品展示 Gallery

prompt: 火车,雪地,隧道,昏暗灯光,恐怖片 prompt: 海底世界,各种鱼类,海草
negative_prompt: 多个铁轨 negative_prompt:
prompt: 粉红色羽毛的猫头鹰 prompt: 带墨镜的猫,黑客,特工,西装
negative_prompt: negative_prompt:

使用须知 Notice for Use

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

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