国画Diffusion模型

国画Diffusion模型

国画Diffusion

This is the fine-tuned Stable Diffusion model trained on traditional Chinese paintings. 这是在国画上训练的微调Stable Diffusion模型。 Use guohua style in your prompts for the effect.
示例图片

如何使用

from modelscope.utils.constant import Tasks
from modelscope.pipelines import pipeline
import cv2

pipe = pipeline(task=Tasks.text_to_image_synthesis, 
                model='langboat/Guohua-Diffusion',
                model_revision='v1.0')

prompt = 'The Godfather poster in guohua style'
output = pipe({'text': prompt})
cv2.imwrite('result.png', output['output_imgs'][0])

Diffusers

该模型可以像任何其他Stable Diffusion模型一样使用。 This model can be used just like any other Stable Diffusion model.

模型下载:

git clone https://www.modelscope.cn/langboat/Guohua-Diffusion.git

Comments

No comments yet. Why don’t you start the discussion?

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注