I believe everyone knows how powerful the SDXL 1.0 model is, it can produce images in different styles through keywords just like Midjourney. However, we don't know which keywords can be used to achieve the desired style. Today, I'm sharing an SDXL style plugin with everyone.
I believe everyone has been playing SD for so long, and you all know how to install plugins, so I'll just briefly explain it.
Installation method 1:
"Extensions - Downloadable - Load Extension List - Search for style selector", find the plugin named Style Selector for SDXL 1.0, click on the right to install, and after successful installation, restart the webUI
Installation method two:
Copy: https://github.com/ahgsql/StyleSelectorXL.git to 'URL installation - Extension's git repository URL', then click the install button below, restart webUI after successful installation.
Installation Method Three:
Enter: https://github.com/ahgsql/StyleSelectorXL.git Click 'Code - Download ZIP' to download, unzip the downloaded file and place it in 'G:\sd-webui\extensions' in the sd web ui, then restart webUI.
Installation method four:
① Pull via git (requires git installation, so students with poor hands-on ability should still use the previous method to install), right-click to open the terminal in 'G:\sd-webui\extensions', and then enter
Plain Text git clone https://github.com/ahgsql/StyleSelectorXL.git
② Then press Enter, wait for the installation to complete, and restart the webUI after successful installation.
I personally recommend the first two installation methods, as subsequent updates can be directly performed on the web UI.
① After we install it, we will find an SDXL Styles section below the random number seed.
②First, we see four options at the top:
- Start Style Selector: This goes without saying, this is a must-select for starting the SDXL Style plugin; 2. Randomize Style: Will override the style you have selected (meaning the style you select below will not take effect, and will randomly select a style for you); 3. Randomize For Each Iteration: This option will randomly add style styles to each prompt word you enter. 4. Generate All Style In Order: This will generate all the styles below in order, it is best to set the batch to the same number as the number of styles. For example, if there are 77 styles, the batch needs to be set to 77.
③Below is the style selection. The author provides 77 styles to choose from. If you can't understand all the English, don't worry. I have translated them and added 107 more styles. You can also add your own commonly used and favorite styles.
1. How to use Chinese style:
①File address: https://pan.baidu.com/s/1YQ6ZXdmmqz44DCIH_hQhuw?pwd=aiai Extraction code: aiai
② After downloading, drag it to the 'G:\sd-webui\extensions\StyleSelectorXL' folder to overwrite the original sdxl_styles file and restart the web UI.
2. How to add your own style:
①We open the sdxl_styles file mentioned earlier with Notepad (or any encoder you like), and we can see that its principle is to intersperse the keywords we input into the prepared template. We can copy its content, and then edit the name, positive cue words, and negative cue words according to its format.
② Below we take "sai-3D model" as an example
JSON { "name": "sai-3D 模型", "prompt": "professional 3d model {prompt} . octane render, highly detailed, volumetric, dramatic lighting", "negative_prompt": "ugly, deformed, noisy, low poly, blurry, painting" },'
③This paragraph template starts with '{' and ends with '},'
④ The 'sai-3D model' in the second line is the name displayed on the SDXL Styles plugin;
⑤The third line is our positive prompt, where "{prompt}" is the position where we input the prompt in the web UI;
⑥The fourth line is our reverse prompt word, this paragraph has no insertion position, because the reverse prompt word does not need to be inserted, the reverse prompt word entered on the web UI and the one in the file will be integrated together.
This file can also be used for the sdxl_prompt_styler plugin of comfy UI, and later I will also share with you the use of comfy UI. (Some friends may not know comfy UI, it's okay, listen to me slowly)
Let's take the word 'cat' as an example to see the effects of a few different styles.