我们开源了一个中文 Diffusion 模型,您可以直接输入中文提示词,我们为您呈现精美的艺术风格图片。本模型的默认分辨率是 512*512。
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 512*512.
本模型支持 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-artist-large-zh', model_revision='v1.0.0')
result = p({'text': '雾蒙蒙的日出在湖面上'})
image = result["output_imgs"][0]
cv2.imwrite("image.png", image)
text: 浮岛,天空,白云,城堡,幻想世界 | text: 红白玫瑰花,很多花瓣,绽放 |
---|---|
negative_prompt: 油画,模糊,雾蒙蒙 | negative_prompt: |
text: 亭台楼阁,曲径通幽,水墨绘画,中国风 | text: 阳光,彩虹,小白马 |
---|---|
negative_prompt: 油画,彩色 | negative_prompt: |
使用上述模型需遵守AIGC模型开源特别条款。
If you want to use this model, please read this document carefully and abide by the terms.