readme: ---
  
  language:
  - en
  license: creativeml-openrail-m
  thumbnail: "https://huggingface.co/ai-characters/4elements-diffusion/resolve/main/gandr-collage.jpg"
  tags:
  - stable-diffusion
  - text-to-image
  - image-to-image
  
  ---
  # 4elements-diffusion
  
  ##### A StableDiffusion All-In-One Legend of Korra style + Korra character Dreambooth model created by AI-Characters
  
  #### For what tokens to use in your prompts to employ the desired effects scroll down to the following section of this page: "Tokens to use to prompt the artstyle as well as Korra's different outfits"
  
  ![Thumbnail](https://huggingface.co/ai-characters/4elements-diffusion/resolve/main/gandr-collage.jpg)
  
  **Feel free to donate to my [KoFi](https://ko-fi.com/aicharacters)** to help me fund renting GPU's for further model creation and experimentation!
  
  Follow me on [Twitter](https://twitter.com/ai_characters) and [Instagram](https://www.instagram.com/ai_characters/) for AI art posts and model updates! 
  
  ## Quick Feature Overview
  
  - Create anyone and anything in the LoK artstyle! 
  
  - Create Korra in any artstyle! 
  
  - Mix and match all of Korra's outfits however you want to!
  
  - Give anyone Korra's outfits! 
  
  - Give Korra any outfits!
  
  *This model is much trickier to use than other models, but in return it is very flexible and has high likeness!* **I thus highly recommend checking out the "How to correctly use this model" section of this page!**
  
  --- This model is not yet final! I will keep working on it and trying to improve it! I also welcome anyone to use my uploaded dataset (see at the bottom of this page) to create a better version! ---
  
  ## IMPORTANT INFORMATION BEFORE YOU USE THIS MODEL
   
  I highly recommend using img2img when using this model, either by converting photos into the Legend of Korra artstyle or by resizing your initial 512x512 txt2img Legend of Korra style generations up to 1024x1024 or higher resolutions. **Your initial 512x512 txt2img generations using the Legend of Korra artstyle WILL ALWAYS look like crap** if you generate shots of characters that are more zoomed out than just a closeup (e.g. half-body or full-shot). **Resizing the initial 512x512 generations to 1024x1024 or bigger** (full-shots will likely need 1536x1536 to look good) using img2img **will drastically improve your experience using this model!**
  
  The model is also infected, e.g. photos output with this model WILL look different from those output in the vanilla SD model! So I recommend generating people in the vanilla SD model using txt2img first and then sending them to img2img and switching the model to this one and then applying the style! This way your result is more true to vanilla SD but just with the style applied!
  
  **For more useful information on how to correctly use this model, see the "How to correctly use this model" section of this page!**
  
  ## Introduction
  
  Welcome to my first ever published StableDiffusion model and the first public model **trained on the Legend of Korra artstyle**! But not just the artstyle: **I have trained this model on Korra, including *all* of her outfits, as well!** In total this model was trained using a manually captioned dataset of 1142 images: screencaps from the show, fanart, and cosplay photos.
  
  I spent every day the last 4 weeks working on this project and spent hundreds of euros renting many many many GPU hours on VastAI to experiment with various parameters. I have created more than 50 ckpt's since then and learned a ton since then and got a ton of insight.
  
  ## Recommended samplers, steps, CFG values and denoising strength settings (for img2img)
  
  - Euler a at 20 steps for quick results
  
  - LMS at 100-150 steps for higher quality results that also follow your prompt more closely
  
  - DPM++ 2M Karras at 20 steps for an alternative to EulerA
  
  - CFG value from 7 to 4 (4 can look better in terms of image quality because it will have less of the overtraining effect, but it can also look less detailed)
  
  - denoising strength of 0.4-0.6 for general img2img, and up to around 0.8 for more harcore cases where the style needs more denoising to be correctly applied (thoughthat will change the image of course, consider also to just do multiple runs through 0.5-0.6)
  
  ## How to correctly use this model (it's not as simple as the other models floating around the web currently!)
  
  This model is not as easy to use as some of the other models you might be used to. For good results prompt engineering and img2img resizing is required. I highly recommend tinkering with the prompt weights, word order in the prompt, samplers, cfg and step values, etc! The results can be well worth it!
  
  **My recommendation is to generate a photo in the vanilla SD model, send it to img2img, then switching the model to this one, and using the img2img function to transfer the style to the Legend of Korra style!** Also consider inpainting (though this model isn't trained on the new base inpainting model yet)! **I also recommend to keep prompts simple and the "zoom" closer to the char