Guohua-Diffusion / README.md
wangyulong's picture
Update README.md
9851729
|
raw
history blame
No virus
1.87 kB
metadata
license: creativeml-openrail-m
tags:
  - stable-diffusion
  - text-to-image

Guohua Diffusion

This is the fine-tuned Stable Diffusion model trained on traditional Chinese paintings.

Use guohua style in your prompts for the effect.

Sample Image

Movie Poster

example1 example2 example3 example4

Others

example5 example6 example7 example8

How to use

WebUI

Download the guohua.ckpt in model files.

Diffusers

This model can be used just like any other Stable Diffusion model. For more information, please have a look at the Stable Diffusion.

#!pip install diffusers transformers scipy torch
from diffusers import StableDiffusionPipeline
import torch

model_id = "Langboat/Guohua-Diffusion"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")

prompt = "The Godfather poster in guohua style"
image = pipe(prompt).images[0]

image.save("./the_god_father.png")