How to Use Different Assets with Stable Diffusion for Amazing Images: Fine-Tuned Models, Textual Inversions, Aesthetic Gradients, Hypernetwork, and LoRA.

AI News2yrs ago (2023)update Aitool
0 0

How you use the various types of assets available on the site depends on the tool that you’re using to generate your images using Stable Diffusion.

AUTOMATIC1111

Fine-tuned Model Checkpoints (Dreambooth Models)

  1. Download the custom model
  2. Place the model inside the directory of your AUTOMATIC1111 Web UI instancemodels/Stable-diffusion
  3. Refresh your model list or restart the Stable Diffusion Web UI
  4. Select the custom model from the input fieldStable Diffusion checkpoint
  5. Use the trained keyword in a prompt (listed on the custom model’s page)
  6. Make awesome images!

Textual Inversions

  1. Download the textual inversion
  2. Place the textual inversion inside the directory of your AUTOMATIC1111 Web UI instanceembeddings
  3. Use the trained keyword in a prompt (listed on the textual inversion’s page)
  4. Make awesome images!

Aesthetic Gradients

  1. Install the Aesthetic Gradients extension
  2. Download the aesthetic gradient
  3. Place the aesthetic graident inside the directory of your AUTOMATIC1111 Web UI instanceaesthetic_embeddings
  4. Restart the Stable Diffusion Web UI
  5. Adjust the aesthetic gradient setting
  6. Make awesome images!

Hypernetwork

  1. Download the hypernetwork
  2. Place the hypernetwork inside the directory of your AUTOMATIC1111 Web UI instancemodels/hypernetworks
  3. Restart the Stable Diffusion Web UI
  4. Select the hypernetwork from the input field in settingsHypernetwork
  5. Adjust the hypernetwork strength using the range slider in settingsHypernetwork strength
  6. Make awesome images!

LoRA

Video Guide by Lykon

  1. Download the LoRA
  2. Place the file inside the foldermodels/lora
  3. Click on the button under the button (purple icon)show extra networksGenerate
  4. Go to the tab and refresh if neededLora
  5. Click on the one you want to apply, it will be added in the prompt
  6. Make sure to adjust the weight, by default it’s which is usually to high:1

Old UI (Versions Prior to Jan 20th)

  1. Ensure that you’ve installed the Additional Networks extension, you can do this from the extensions tab. After installing you will need to restart AUTOMATIC1111.
  2. Download the LoRA
  3. Place the file inside the folderextensions/sd-webui-additional-networks/models/lora
  4. On the or tab, dropdown the area at the bottom of the pagetxt2imgimg2imgAdditional Networks
  5. Check enable
  6. Set to the LoRA model you downloadedModel 1
  7. Set to a a good starting value and adjust as neededWeight 10.85
  8. Make awesome images!

Note: You can use a LoRA with any model, but usually they are trained on a specific model and will perform best on that model or a derivative of that model.

LoCon

  1. Ensure that you’ve installed the LoCon Extension
  2. Download the LoCon
  3. Place the file inside the foldermodels/lora
  4. Click on the button under the button (purple icon)show extra networksGenerate
  5. Go to the tab and refresh if neededLora
  6. Click on the one you want to apply, it will be added in the prompt
  7. Make sure to adjust the weight, by default it’s which is usually to high:1

Wildcards

  1. Ensure that you’ve installed the Wildcard Extension
  2. Download the Wildcards archive
  3. Extract the archive into extensions/stable-diffusion-webui-wildcards/wildcards
  4. Use one or many of the wildcard words in your prompt to trigger the word replacement on generation (ex. __hair-style__)

Cmdr2’s Stable Diffusion UI v2

🙏 Thanks JeLuF for providing these directions

Fine-tuned Model Checkpoints (Dreambooth Models)

  1. Download the custom model in Checkpoint format (.ckpt)
  2. Place the model file inside the models\stable-diffusion directory of your installation directory (e.g. C:\stable-diffusion-ui\models\stable-diffusion)
  3. Reload the web page to update the model list
  4. Select the custom model from the Model list in the Image Settings section
  5. Use the trained keyword in a prompt (listed on the custom model’s page)

aiNodes

🙏 Thanks osi1880vr for providing these directions

  1. Open the model download widget, search for the models in the list from Civitai.
  2. Select the model you want as well as the config yaml which has to be used by that model.
  3. Wait until the progressbar shows 100%.
  4. Go back to the sampler widget where you choose the model from the list of installed models and press the dream button to render your prompt with the downloaded model.

You can follow these directions to download checkpoints (ckpt, safetensors), hypernetworks, textual inversion or aesthetic gradients. (And soon VAEs). We also support V2 models, both V2 formats are welcome here.

For all those steps you never leave the UI, just click buttons and you stay in your flow of creating art, not getting distracted with having to deal with your OS to move files or anything like that. It is as convenient as possible for now.

© Copyright notes

Related posts

No comments

No comments...