File size: 3,058 Bytes
0041c5a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
---
license: other
license_name: bespoke-lora-trained-license
license_link: https://multimodal.art/civitai-licenses?allowNoCredit=True&allowCommercialUse=Image&allowDerivatives=True&allowDifferentLicense=True
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- template:sd-lora
- migrated
- character
- hanfu
- long hair
- asian male
base_model: stabilityai/stable-diffusion-xl-base-1.0
instance_prompt: ylxn
widget:
- text: 'ylxn, solo, hanfu, hat, 1boy, front view, face focus, arms crossed, portrait, long hair, brown hair, large pectorals, '
parameters:
negative_prompt: deformed, distorted, disfigured, low quality, blurry
output:
url: >-
51219951.jpeg
- text: 'ylxn, solo, hanfu, hat, 1boy, sitting, long hair, brown hair, inside a living room, large pectorals, '
parameters:
negative_prompt: deformed, distorted, disfigured, low quality, blurry
output:
url: >-
51218769.jpeg
- text: 'ylxn, solo, hanfu, hat, 1boy, full body, long hair, brown hair, standing in a living room, large pectorals, '
parameters:
negative_prompt: deformed, distorted, disfigured, low quality, blurry
output:
url: >-
51218768.jpeg
- text: 'ylxn, solo, hanfu, hat, 1boy, sitting, long hair, brown hair, inside a living room, large pectorals, '
parameters:
negative_prompt: deformed, distorted, disfigured, low quality, blurry
output:
url: >-
51218771.jpeg
- text: 'ylxn, solo, hanfu, hat, 1boy, full body, long hair, brown hair, standing in a living room, large pectorals, '
parameters:
negative_prompt: deformed, distorted, disfigured, low quality, blurry
output:
url: >-
51218770.jpeg
---
# Yu Lexuan (Blue hanfu version) SDXL
<Gallery />
## Model description
<p>This is the SDXL version of my previous SD 1.5 model, with an improved dataset and better tagging. The old version has been removed.</p>
## Trigger words
You should use `ylxn`, `hanfu`, `hat` to trigger the image generation.
## Download model
Weights for this model are available in Safetensors format.
[Download](/YuLexuan30/yu-lexuan-blue-hanfu-version-sdxl/tree/main) them in the Files & versions tab.
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
```py
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](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|