Downloads · 30 days
154
33% of all-time downloads
YuLexuan30/yu-lexuan-blue-hanfu-version-sdxl
yu-lexuan-blue-hanfu-version-sdxl is a text-to-image model from YuLexuan30. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
Downloads · 30 days
154
33% of all-time downloads
All-time downloads
472
Public
Repo size
228 MB
Likes
0
Public
Click a slice to open those files.
.safetensors228 MB · 100%
From the Hugging Face model README
You should use ylxn, hanfu, hat to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
from diffusers import AutoPipelineForText2Image
import torch
device = "cuda" if torch.cuda.is_available() else "cpu"
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to(device)
pipeline.load_lora_weights('YuLexuan30/yu-lexuan-blue-hanfu-version-sdxl', weight_name='YulexuansdxlV6civit.safetensors')
image = pipeline('ylxn, solo, hanfu, hat, 1boy, full body, long hair, brown hair, standing in a living room, large pectorals, ').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers