Instructions to use YuLexuan30/Meng_Zhang_Lora_MenWithSwords with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use YuLexuan30/Meng_Zhang_Lora_MenWithSwords with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Liberata/illustrious-xl-v1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("YuLexuan30/Meng_Zhang_Lora_MenWithSwords") prompt = "mgz, solo, from behind, toned, black hair, hanfu, headpiece, long hair, realistic, wide sleeves, long sleeves, layered sleeves, gradient dress, outdoors, " image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Meng Zhang

- Prompt
- mgz, solo, from behind, toned, black hair, hanfu, headpiece, long hair, realistic, wide sleeves, long sleeves, layered sleeves, gradient dress, outdoors,
- Negative Prompt
- deformed, distorted, disfigured, drawing, illustration, cloth backdrop,

- Prompt
- mgz, solo, pov, sitting, toned, black hair, hanfu, headpiece, long hair, realistic, pendant, necklace, wide sleeves, long sleeves, layered sleeves, gradient dress, outdoors,
- Negative Prompt
- deformed, distorted, disfigured, drawing, illustration, cloth backdrop,

- Prompt
- mgz, solo, pov, selfie, standing, indoors, sitting, warm lighting, toned, black hair, hanfu, headpiece, long hair, realistic, pendant, necklace, wide sleeves, long sleeves, layered sleeves, gradient dress,
- Negative Prompt
- deformed, distorted, disfigured, drawing, illustration, cloth backdrop,

- Prompt
- mgz, solo, from side, toned, black hair, hanfu, headpiece, long hair, realistic, wide sleeves, long sleeves, layered sleeves, necklace, gradient dress, outdoors,
- Negative Prompt
- deformed, distorted, disfigured, drawing, illustration, cloth backdrop,

- Prompt
- mgz, solo, straight-on, toned, black hair, hanfu, headpiece, long hair, realistic, wide sleeves, long sleeves, layered sleeves, necklace, gradient dress, outdoors,
- Negative Prompt
- deformed, distorted, disfigured, drawing, illustration, cloth backdrop,
Model description
Lora for the character Meng Zhang, from the series Men with Swords. Lora strength should be above 0.8 for better likeness.
Trigger words
You should use mgz to trigger the image generation.
You should use solo to trigger the image generation.
You should use hanfu to trigger the image generation.
You should use headpiece to trigger the image generation.
You should use wide sleeves to trigger the image generation.
You should use long sleeves to trigger the image generation.
You should use layered sleeves to trigger the image generation.
You should use gradient dress to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
- Downloads last month
- 4
Model tree for YuLexuan30/Meng_Zhang_Lora_MenWithSwords
Base model
KBlueLeaf/kohaku-xl-beta5