Downloads · 30 days
59
4% of all-time downloads
alibaba-pai/pai-diffusion-general-large-zh
pai-diffusion-general-large-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 模型(开放领域通用版本)
Downloads · 30 days
59
4% of all-time downloads
All-time downloads
1.5K
Public
Repo size
30.3 GB
Likes
2
Public
Click a slice to open those files.
.bin5.4 GB · 56%
From the Hugging Face model README
我们开源了一个中文 Lattent Diffusion 模型(开放领域通用版本)
from diffusers import StableDiffusionPipeline
model_id = "alibaba-pai/pai-diffusion-general-large-zh"
pipe = StableDiffusionPipeline.from_pretrained(model_id)
pipe = pipe.to("cuda")
prompt = "雾蒙蒙的日出在湖面上"
image = pipe(prompt).images[0]
image.save("result.png")