Downloads · 30 days
17
1% of all-time downloads
alibaba-pai/pai-diffusion-general-xlarge-zh
pai-diffusion-general-xlarge-zh is a text-to-image model from alibaba-pai. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
我们开源了一个中文 Lattent Diffusion 模型(开放领域通用版本,768 分辨率)
Downloads · 30 days
17
1% of all-time downloads
All-time downloads
1.2K
Public
Repo size
9.6 GB
Likes
0
Public
Click a slice to open those files.
.bin5.4 GB · 56%
From the Hugging Face model README
我们开源了一个中文 Lattent Diffusion 模型(开放领域通用版本,768 分辨率)
from diffusers import StableDiffusionPipeline
model_id = "alibaba-pai/pai-diffusion-general-xlarge-zh"
pipe = StableDiffusionPipeline.from_pretrained(model_id)
pipe = pipe.to("cuda")
prompt = "雾蒙蒙的日出在湖面上"
image = pipe(prompt).images[0]
image.save("result.png")