Guan-Yu-Diffusion / README.md
DGSpitzer's picture
Update README.md
4ffd8e4
metadata
language:
  - en
thumbnail: ''
tags:
  - Asian
  - China
  - Character
  - stable-diffusion
  - aiart
license: creativeml-openrail-m

visitors

Guan Yu Diffusion

An AI model that generates traditional oriental hero Guan Yu, from Three Kindoms Era in China during 220 to 280 AD!

Based of Stable Diffusion V1.5, training in Fast Dreambooth

by DGSpitzer

🧨 Diffusers

This repo contains both .ckpt and Diffuser model files. It's compatible to be used as any Stable Diffusion model, using standard Stable Diffusion Pipelines.

You can convert this model to ONNX, MPS and/or FLAX/JAX.

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

model_id = "DGSpitzer/Guan-Yu-Diffusion"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")

prompt = "Portrait of guanyu walking in ancient battlefield, close up shot"
image = pipe(prompt).images[0]

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

Online Demo

You can try the Online Web UI demo build with Gradio, or use Colab Notebook at here:

My Online Space Demo Open In Spaces

Colab Notebook Open In ColabGitHub

Buy me a coffee if you like this project ;P ♥ Buy me a coffee

👇Model👇

AI Model Weights available at huggingface: https://huggingface.co/DGSpitzer/Guan-Yu-Diffusion/