sd-dreambooth-library/cnstory
518
中国奇谭第一季画风模型
import torch
from diffusers import StableDiffusionPipeline
pipe = StableDiffusionPipeline.frompretrained("sd-dreambooth-library/cnstory", torchdtype=torch.float16, useauthtoken=True)
pipe = pipe.to("cuda")
prompt = "a photograph of an astronaut riding a horse, cnstory artstyle"
image = pipe(prompt).images[0]
image.save(f"astronautrideshorse.png")

