santa hat
deerdeer nosedeer glow
Sign In

How to use textual inversions and hypernetworks?

So I'm brand new to this, so please explain it like I'm five. If I'm using the colab for automatic1111, how do I actually apply textual inversions and hypernetworks to the currently loaded model?

1 Answer

Hey! So, it's pretty straightforward to do both, details below;

  • Applying Textual Inversion Embeddings - once you've downloaded a .pt embedding file and placed it in the stable-diffusion-webui/embeddings folder, all you have to do to reference it is to call the exact name of the file (exclusing the extension) in your prompt! One of my popular embeddings is called Style-Hamunaptra - so you'd just write a prompt out - something like "award winning photo of a strikingly beautiful egyptian woman, Style-Hamunaptra..." and the TI will be called, and used.

  • Applying Hypernetworks - Once you've downloaded a hypernetwork and placed it in the stable-diffusion-webui/models/hypernetworks folder, go into the WebUI settings, search for "Hypernetwork" and you'll find a drop-down selector. There's also a Hypernetwork strength slider, allowing you to adjust how much the effect comes through to your prompt.

    One tip here - so you don't have to keep going back and forth to the Settings page, which is a huge pain, you can add the Hypernetwork selector, and the Hypernetwork Strength slider, (or any setting!) to the top of the UI so it's always available. To do so, go to the Settings tab, and find Quicksettings list. Add the values below, save your changes, re-start WebUI, and you'll have selectors for Hypernetwork and Hypernetwork Strength at the top of the page!

    • sd_hypernetwork

    • sd_hypernetwork_strength

Hope this helps!

Your answer