Mastering LoRA: Your Ultimate Guide to Stable Diffusion!

LoRA is a technology that expands upon the Stable Diffusion model. It offers an accurate representation of various details, including clothing, people, and backgrounds. The purpose of this article is to address some fundamental inquiries about LoRA:

  • What exactly is LoRA?
  • What are the potential applications of LoRA?
  • If you’re interested in integrating LoRA, where should you begin?

Furthermore, for information on the process of creating LoRA and its learning methodologies, please refer to the following article:

How to create LoRA. Complete guide to creating datasets and learning LoRA (Colab & Local)【StableDiffusion】 – (

What is LoRA?

LoRA, which stands for Low-Rank Adaptation, refers to a technique for training AI using customized images. By doing so, AI can incorporate distinct features, intricate details, and specific concepts in image generation. LoRA goes beyond merely adding explanations in text, as it enables images to reflect more precise and elaborate elements. It finds application in reproducing animated characters as well as generating images with intricate clothing designs.

Examples of LoRA Application

Before delving into the process of finding and implementing LoRA, let’s explore some practical examples of LoRA utilization. By doing so, we will gain a better understanding of the significance of LoRA.


LoRA offers various models that can be employed for clothing alterations. Here are some real-life examples showcasing effective clothing modifications using LoRA.

One such use case is the creation of a maid outfit. While it is possible to achieve this through manual manipulation, controlling the intricate design details can be challenging. By utilizing LoRA, the design specifics can be stabilized, resulting in the generation of high-quality images based on individual preferences.

Better Maid Cosplay (Realistic + Anime) | Goofy Ai - v1.0 | Stable Diffusion LoRA | Civitai
If you like my work then Consider supporting me on Patreon and Buymeacoffee Custom Lora commission is open on Buymeacoff...

Another example involves swimwear. LoRA plays a crucial role in accurately reproducing the texture and other intricate details that might be difficult to achieve without it. Therefore, LoRA proves to be valuable when aiming for highly realistic images with a focus on texture and details.

Hydrasuit and competition swimsuit - V2.0 | Stable Diffusion LoRA | Civitai
A collection of various models of girls in hydrasuit, competition swimsuits and one piece swimsuit, highcut, highleg, hi...

We can also explore the generation of images featuring bloomer pants. Attempting to create bloomers solely using prompts might not yield satisfactory results. However, with the assistance of LoRA, it becomes possible to successfully reproduce this distinct style of Japanese clothing.

Buruma, Bloomers(Old Japanese Gym Uniform) - v1.0 | Stable Diffusion LoRA | Civitai
This is buruma cosplay LoRA.Please give this wonderful LoRA a try, as it has undergone continuous improvements. We expla...


Using LoRA, I have managed to replicate crowded backgrounds captured through cameras. While it is possible to specify the desired background using prompts, obtaining consistent output with a paparazzi setting can be challenging. LoRA resolves this issue by consistently generating paparazzi backgrounds, saving the effort of creating multiple images.

In public / photographers - v3.0-locon | Stable Diffusion LyCORIS | Civitai
LoRA trained to generate a person in public surrounded by people, such as photographers. Works with other LoRAs and vari...

Furthermore, I have successfully replicated a library setting with LoRA. Library backgrounds tend to differ according to location, but with LoRA, it becomes possible to fix the scenery to a library environment adorned with bookshelves, regardless of the actual location.

Library bookshelf - v1.6 | Stable Diffusion LoRA | Civitai
触发词:lib_bg 权重推荐:1

Pose and Scenario Specification

LoRA is also highly effective in specifying poses and scenarios. It is challenging to convey poses explicitly through text alone, such as grabbing onto a pool ladder, but LoRA simplifies the process.

concept Pool ladder - v1.0 | Stable Diffusion LyCORIS | Civitai
最近玩sd越来越少了……只能说随缘做一点东西吧 Playing sd has become less and less recently... I can only say that I can do something according...

Additionally, LoRA can accurately depict poses like forming a heart shape with the hands.

Heart Hands / Pose - v1.0 | Stable Diffusion LoRA | Civitai
Heart hand pose. Generally use at 0.8 - 1.0. Can increase weight on prompt if you are having issues getting their hands ...

These are just a few examples of what LoRA can achieve. By employing LoRA, users can generate images tailored to specific clothing, backgrounds, poses, and scenarios, enabling limitless creative possibilities.

Distribution of LoRA Models (Civitai, Hugging Face)

There are two websites where LoRA models can be found:

  1. Civitai:

Civitai is a platform designed for the sharing and exploration of resources related to AI art. It functions as a hub for sharing Stable Diffusion models, enabling users to upload, share, and download custom models that have been trained using their own data. By utilizing Civitai, users have the ability to generate unique artwork. This platform is free to use, allowing users to train models, upload them, and share them with others after registering.

For individuals seeking the latest Stable Diffusion models or LoRA, Civitai is highly recommended due to its collection of publicly available AI models for generating images.

  1. Hugging Face:

Hugging Face is a website that develops tools for building machine learning applications. It is particularly renowned for its transformers library, which is utilized for natural language processing tasks, and for offering a user-friendly platform to easily access AI resources. Hugging Face provides datasets that can be used with ML models and offers efficient tools for data manipulation. The website is actively maintained on GitHub and provides numerous projects and repositories.

While Hugging Face also offers multiple publicly available AI models for image generation, it does not provide detailed information about the nature of the generated images. Therefore, it may not be the ideal platform for finding specific LoRA models. However, it should be noted that Hugging Face can be valuable when searching for models that are compatible with Hugging-related tools during collaborative projects.

How to Integrate LoRA into Stable Diffusion Web UI

Integrating LoRA into Stable Diffusion Web UI is a simple process for users. Follow the steps below:

  1. Download LoRA from Civitai by searching for it and selecting the desired model.
  2. Place the downloaded LoRA file into the “/stable-diffusion-webui/models/Lora” folder of Stable Diffusion Web UI.
  3. Enter the specified LoRA tag and Trigger Tag in the prompt to generate the image related to LoRA.

Here’s a breakdown of the integration process:

1/3 Finding LoRA in Civitai

  • Search for LoRA on Civitai using keywords.
  • Filter the search results by selecting LoRA as the model type.
  • Click on the desired LoRA result to open the model’s page.

2/3 Downloading LoRA

  • If a “Download” button is available, click on it to download the file.
  • If the download button is hidden, click on the download icon to download the Model SafeTensor (older files may contain only “pt”).

3/3 Placing the downloaded file into the LoRA folder

  • Save the downloaded file in the “stable-diffusion-webui/models/Lora” directory.
  • Organize the files into separate folders based on categories for easier management.
  • Consider adding LoRA to Quick Access for convenient access.

Running LoRA in Stable Diffusion Web UI

To run LoRA in Stable Diffusion Web UI, follow these steps:

Open the LoRA tab:

  • For older versions, click on the 🎴 symbol below the Generate button to access the auxiliary features settings page.
  • For newer versions, open the LoRA tab below the Negative Prompts.

Click on LoRA and add LoRA tags to the prompts:

  1. Switch to the LoRA tab/
  2. Click refresh button if you have added a new LoRA.
  3. Filter LoRA options by keywords if needed.
  4. Click on the desired LoRA card to add the LoRA tags to the prompts.

Enter the trigger word:

Adding LoRA tags alone does not apply LoRA to the prompts.

  1. Find the trigger word on the Civitai page for the selected LoRA.
  2. Enter the trigger word in the prompts to apply LoRA and generate the corresponding image.
  3. Enter other prompts as usual.

Example of prompt with LoRA tags applied:

LIB_BG,<lora:libbg_v16:1>, enter the other prompts as usual.


Forgot your LoRa trigger word? How can you check and save it?

Are you tired of having to input the trigger word every time or searching for it on Civitai when you forget?

You can easily solve this issue by using the LoRa metadata browsing feature. By viewing the metadata, you can check the tag data used for training and set the trigger word (Activation words) to be used together. By setting the Activation words, you can apply LoRa with just a click from the LoRa menu, not only for LoRa tags but also for automatically inputting the trigger word into the prompt.

To automatically apply the trigger word, follow these steps:
1/5 Open the LoRa menu. For the old version, click “🎴” to open the LoRa tab. For the new version, open the LoRa tab under the prompt.

2/5 Open the LoRa metadata editing screen.Hover over LoRa and click the settings mark to open the editing screen.

3/5 Check the metadata editing screen. The metadata editing screen shows the tags used for training, etc. In some cases, this data may have been deleted by LoRa.

4/5 Enter the Activation text. Click the desired tag to add it to the Activation text. Here, select the additional keyword you want to add when applying LoRa. You can also enter it directly as text. Once entered, don’t forget to save the settings with Save.

5/5 Activation Word is added with just a click on the LoRa card. From now on, when you click on the LoRa card, the Activation Word will be applied along with the LoRa tag. This eliminates the need to memorize trigger words or manually search on Civitai.

LoRA has disappeared. Can’t find the menu.

In the new version v1.6.0 of the Stable Diffusion Web UI, the display of LoRa has changed. Previously, we opened the LoRa menu by clicking “🎴”, but now the LoRa tab is displayed below the negative prompt. You can set up LoRa from there.