Local Gen Installation

==Raging Red's Desktop Waifu Generator Guide==
====System Requirements====
*16gb Ram
*2gb+ VRam GPU (Geoforce 700 Series or Newer)
*20-40gb Disk Space
*Operating System (All common OS except Mac)
====Required Installations====
*Git
*Python
===Models===
A Model is the sample resource from which the images are generated. If you want to generate an image in certain styles, a model is the minimum requirement you need to install in order to do so. Some models, especially anime ones will generate images that are desaturated. So in addition you may want to download a reccommend VAE in order to correct this. Lets walk through some models on the same prompts with our "lovely" Princess Knight serving as our model.
====== Nemu Generator Models: ======
*Anything 4.5 | Model Information | VAE [Desaturation Fix]
 
CFG: 10 | Seed: -1 | Sampling: DPM++ 2M Karras | Steps: 20 | Prompts: best quality, highly detailed, masterpiece, ultra-detailed, solo, 1girl, blue eyes, braided hair, Blonde Hair, steel armor, castle background, medium breasts, exposed stomach, tiara, pout, (bianca_whitaker), standing
*AbyssOrangeMix3 (AOM3) | Model Information | VAE [Desaturation Fix]
CFG: 10 | Seed: -1 | Sampling: DPM++ 2M Karras | Steps: 20 | Prompts: best quality, highly detailed, masterpiece, ultra-detailed, solo, 1girl, blue eyes, braided hair, Blonde Hair, steel armor, castle background, medium breasts, exposed stomach, tiara, pout, (bianca_whitaker), standing
*Counterfeit-v2.5 | Model Information | No VAE
CFG: 10 | Seed: -1 | Sampling: DPM++ 2M Karras | Steps: 20 | Prompts: best quality, highly detailed, masterpiece, ultra-detailed, solo, 1girl, blue eyes, braided hair, Blonde Hair, steel armor, castle background, medium breasts, exposed stomach, tiara, pout, (bianca_whitaker), standing
====== RRAnon's Other Reccommended Alternative Models: ======
* Pastel Mix | Model Information | Same VAE as Anything
CFG: 10 | Seed: -1 | Sampling: DPM++ 2M Karras | Steps: 20 | Prompts: best quality, highly detailed, masterpiece, ultra-detailed, solo, 1girl, blue eyes, braided hair, Blonde Hair, steel armor, castle background, medium breasts, exposed stomach, tiara, pout, (bianca_whitaker), standing
* Nyan Mix | Model Information | Same VAE as AOM3
CFG: 10 | Seed: -1 | Sampling: DPM++ 2M Karras | Steps: 20 | Prompts: best quality, highly detailed, masterpiece, ultra-detailed, solo, 1girl, blue eyes, braided hair, Blonde Hair, steel armor, castle background, medium breasts, exposed stomach, tiara, pout, (bianca_whitaker), standing
===Step By Step Installation Instructions===
#After installing all neccessary programmes and model(s) of choice. Open your operating system file explorer. Choose where you want your Stable Diffusion installation to happen (I reccommend documents) and right click, then click "Git Bash Here".
#A black command window should pop up. Enter "git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui"
#Once the install has finished. Open the "stable-diffusion-webui" folder and then "models" and then "Stable-diffusion".
#Open your downloads in a seperate file explorer window. Copy and paste/click and drag your model file from your downloads (it should have the extension .ckpt or .safetenors) into the stable diffusion folder. (TIP: Renaming your model file to "model.ckpt or model.safetenors willl make it the default loaded model when you open the generator. If there isn't a file named "model" the generator will load models either alphabetically or by last used)
#If your model has a VAE to go along with it. Open the "stable-diffusion-webui" folder and then "models" and then "VAE" and copy and paste the VAE (file extension .pt) from your downloads folder into there.
#Almost there! Go to the "stable-diffusion-webui" folder and double click webui-user.bat to open the generator! (Note the first time of opening will take anywhere from 5 to 15 minutes as the generator sets up)
#Once the Generator has finished loading it'll give you an address line in the command window "Running on Local URL: HTTPAddress" copy and paste that address into your browser to access the generator. To close the generator, close the command box.
#Once this screen is open, you should start to see some familiar stuff. Your Model should be in the top left under "Stable Diffusion Checkpoint". If you have a VAE you need to turn it on. Go to Settings, then Stable Diffusion and click SDVAE to select it. Then press Apply Settings to save. (Remember to switch the respective VAEs if you switch models)
#You're all set to go! Play around with the options and start generating! I will eventually have a section below this to help improve your experience tenfold but for now you should be able to come up with some good basic stuff! If in doubt, open your nemu generations with notepad and copy and paste the prompts and settings from there!
#OPTIONAL BUT RECCOMMENDED. If you're aren't one to care about time spent. Right Click webui-user.bat and click edit, on the text line "set COMMANDLINE_ARGS=" add "--medvram" and save. This reduces the strain on your VRAM, allowing you to generate in batches and at higher sizes but makes the generator slightly slower.
== RRAnon's Guide to LORA and Embeddings ==
=== LORAs ===
LORAs are advanced additional networks that can be used as overlays on your generations to add a desired effect. Most commonly, a specific art style, pose or character design. To simplify, LORAs are the seasoning on top of Checkpoints/Models ingredients and just like seasoning, the right LORAs used in the right way can upgrade your generation from mediocrity to exceptional.
==== Where to find LORAs ====
LORAs can be found on many websites, however I'd always reccommend Civitai
==== How to install LORAs ====
Installing LORAs is very easy.
# Download desired LORA
# Move from Downloads folder to stable-diffusion-webui\models\Lora
# In Webui, click the playing card icon, underneath the generate button and between the clipboard and trash can
# A LORA tab should pop-up, click it and the refresh button to see your newly installed LORA
That's all. See? Very easy.
==== How to use LORAs ====
Using LORAs themselves can sometimes be a piece of cake and othertimes a piss take. How drastic the changes a LORA makes often directly relates to how much work is required on your end to get the right result. However, we are in luck! Most LORA authors on Civitai will provide a guide on their submission post about how to best use the LORA which means if we're ever stuck, we can go back to where we downloaded it from and follow along. Some LORAs also require a prompt trigger. With all that being said, here is my general guide to using LORAs
# Enter our desired prompts for our generation as normal.
# To add our LORA, we are going to go into the LORA tab we were in previously from clicking the playing card icon
# Clicking our desired LORA will automatically add it to the positive prompts box as something like <lora:name:1>
# The "1" is the default LORA weight and is a decimal similar to the weighting we did in our good gens guide above. Commonly ranging from 0.1 to 1
# Most LORA authors will tell you the preferable weight in their submission post, so be sure to refer back to their post if stuck.
# Once we're satisfied, like normal we click generate and the LORA will now be included in the generation process of our image.
# As always, these things require practice, experimentation and patience and will unlikely be perfect first time around.
Example: LORA that overlays a new artstyle on this image of Raging Red
=== Embeddings ===
Embeds (often called Textual Inversion) are small files that often influence our generations in small ways. Whilst they do not play as significant a role as LORAs do, they are extremely helpful for certain things. For example, abridging our negative prompts. Normally, you'd post several dozen negative prompts just to improve the quality of your image, however, with embeds, I have abridged these down to three negative prompts for every image generation. These are the following embeds that I use to handle all my negative prompts.
* Easynegative
* Bad Hands
* Bad Artist
==== Where to find Embeddings ====
Once again I reccommend Civitai. Where they are under Textual Inversion.
==== How to install Embeddings ====
# Download desired embeddings
# Move from Downloads folder to stable-diffusion-webui\embeddings
# In Webui, click the playing card icon, underneath the generate button and between the clipboard and trash can
# An Embeds tab should be available, click it and the refresh button to see your newly installed Embed
==== How to use Embeddings ====
Extremely easy, unlike LORAs, there is no weighting, just a prompt trigger so all we need to do is add the Embed to our desired prompt matrix and we're ready to go.
# Enter our desired prompts for our generation as normal.
# To add our Embed, we are going to go into the Embed tab by clicking the playing card icon
# You're Embed will either be for your positive or negative prompt matrix, if unsure, consult the submission page
# Click our suitable prompt matrix and then click the Embed
# Generate your image!
==Elanon's Extras Desktop Waifu Generator Guide==
=== Automatic Updates in your local installation:===
Step 1: Right click webui-user and click on edit. 
Step 2: Write the following at the end of the script:
* git pull 
* call webui.bat
===Guide to the Installation of Extensions:===
Extensions are complements to the Automatic11111 local generator that will improve the quality of your images greatly in specific ways. In this guide I will show how to use of the most common extensions: ADetailer.
#Open "Extensions" tab.
#Open "Install from URL" tab in the tab.
#Find the github page in which the extension is being worked on, in the case of ADetailer is the following:https://github.com/Bing-su/adetailer.git Enter the previous URL to "URL for extension's git repository".
#Press "Install" button.
#Wait 5 seconds, and you will see the message "Installed into stable-diffusion-webui\extensions\adetailer. Use Installed tab to restart".
#Go to "Installed" tab, click "Check for updates", and then click "Apply and restart UI". (The next time you can also use this method to update extensions.)
#Completely restart A1111 webui including your terminal. (If you do not know what is a "terminal", you can reboot your computer: turn your computer off and turn it on again.)
All extension can be installed like this. 
=== Some useful extensions: ===
Find below a couple of the most popular ones used by the WWA Players:
Extension 	URL 	What's is used for:
a1111-sd-webui-lycoris 	https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris 	Enables Lycoris Use.
adetailer 	https://github.com/Bing-su/adetailer.git 	Detects hands and faces and improves on them.
sd-webui-agent-scheduler 	https://github.com/ArtVentureX/sd-webui-agent-scheduler 	Enables you to program batches of generations.
sd-webui-controlnet 	https://github.com/Mikubill/sd-webui-controlnet 	Enables you to inject poses into renders
sd-webui-cutoff 	https://github.com/hnmr293/sd-webui-cutoff 	Prevents colour bleeding
stable-diffusion-aesthetic-gradients	https://github.com/vicgalle/stable-diffusion-aesthetic-gradients	Enables you to inject filter and gradients in between clip skips.