Helpful Resources

I’ll add more here as I remember them. Feel free to add more in the comments.

Models

Models are basically the brains of Stable Diffusion. They are the data SD uses to learn what your prompts mean.
The built-in models that come with Stable Diffusion are really bad for porn. Don’t use them. In fact don’t use them at all unless you’re training your own models, there are better SFW models.

Here are some of my personal favourites:

Anime

  • MeinaHentai is a great model to start with. Compared to other models it’s really easy to prompt
  • AOM3 also does really well, though it might be a little more difficult to guide

For all of those, I recommend installing https://github.com/DominikDoom/a1111-sd-webui-tagcomplete, as they heavily rely on danbooru tags.

  • Berry Mix (Pre-mixed version here) can also work pretty well, depending on what you want to do. AFAIK it uses rule34 tags instead of danbooru, so it probably won’t work all too well with prompts used for the above ones

Realistic

  • Uber Realistic Porn Merge is the only realistic model I know of that does hardcore stuff. It’s unfortunate problem is that it’s REALLY DAMN HARD TO USE

VAEs

VAEs are mostly used for finetuning colors, sharpness, what have you. Some models come with a VAE builtin, but for ones that don’t, it’s recommended to have one on hand.

  • “Anything VAE”, “Orangemix VAE”, and “NAI Leak VAE” are the same exact thing under different names. If you already have one on hand, don’t bother with the others. Most VAEs are renamed versions or modifications of this one.
  • Waifu Diffusion’s kl-f8-anime2 is also a pretty good one. It doesn’t require Waifu Diffusion.
  • The one that comes with Stable Diffusion is the only one that seems to work for realistic stuff.

LoRAs

LoRAs teach models about concepts (characters, clothing, environments, style, …) they might not know about. There are a LOT of them, so feel free to browse Civitai to find ones you might want.

LoRAs tend to be specific for families of models, or at the very least styles (using anime LoRAs on realistic models tend to be a bad idea), but there are a fair few that will work across the board.

Locon and LyCORIS are newer formats of LoRAs. Not sure on the technical differences between them, but they will not work out of the box and need an extension such as https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris to get working

Textual Inversions / Embeddings and Hypernetworks

These are mostly obsoleted by LoRAs. There are a few embeddings such as Deep Negative and EasyNegative that are still quite useful, but in most cases you’ll want to use LoRAs instead.

  • blackmayne110@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    I’ve been meaning to figure this out. So the commonly used ones are labeled WebUI, but just how much of the content goes to the web itself?

    If I wanted to train on images that I don’t want going online, will they? Or will the products that I create end up online, or does all this stay local?

    • Triple Underscore@lemmynsfw.comOPM
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 year ago

      By Web UI it means that the graphical part of it – where you write your prompt and hit generate – is running inside your browser and not as a separate window or command line. Everything is kept on your own computer unless you explicitly tell it to open up remote access.

      • blackmayne110@lemmynsfw.com
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 year ago

        It was probably a dumb question, but I wanted to clarify just the same, thanks. When ya get these kinds of pics under strict confidence, you don’t wanna risk breaking that in any way.

        • NSFW_Enthusiast@lemmynsfw.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 year ago

          It was probably a dumb question

          No such thing as a dumb question. but yes the WebUI only exists so you dont have to type into a command prompt. It looks nice and pretty for humans, and then translates all those settings into a command that is then sent to stable diffusion. All of it stays 100% local, unless you go into the WebUI settings and tinker with remote access. But it is off by default

  • RestfulD34m0N@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 year ago

    Are these softwares all free to download/use? Also, how does one start doing this? do i just need the WebUi or do i need extra files to feed into it and stuff?

    • Triple Underscore@lemmynsfw.comOPM
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 year ago

      It’s all free, yes.

      For the how: Aside from the webui (or whatever else you’re running the stable diffusion code on), you’ll need models that instruct it what to create. The builtin models are terrible for porn.

    • echoct@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I just figured it out tonight playing around with the links and readmes available above. If you get stuck I can try to answer more specific questions.

      • RestfulD34m0N@lemmynsfw.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Hmm ill probably have mroe questions but for now im curious:

        • how much space was the download(s)?
        • how confusing is the software to use?
        • what kind of limitations does the software have? can i do multiple people? monsters? futa? etc.

        Thanks for your help! :)

        • echoct@lemmynsfw.com
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          Sure,

          1: The initial download was pretty small ~10GB. But with the models, lora(s), extensions, ect. I’m up to ~60GB.

          2: The guide at the top was pretty easy to follow. Install the dependencies, then install the UI. Launch and run. There is a bit of a learning curve with all of the options but so far it hasn’t been too confusing.

          3: That’s where the extra models/lora(s) come in. Various models are trained in different styles, poses, actions, ect. The lora files are smaller things, like poses. IE: Cowgirl is it’s own lora file that tells the model how to use the prompts you give.

        • Triple Underscore@lemmynsfw.comOPM
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          1 year ago

          how much space was the download(s)?

          On my end, it’s sitting at ~64GB (with btrfs compression shenanigans), though 60 of those are from all the models I have installed. The download would probably be ~2GB, even less if you disable downloading the “default” models with --no-download-sd-model and instead pick models off of Civit or wherever manually.

          Edit: Should have mentioned. Most full models are between 2-4 GBs each. Some can be 5+ but they tend to be “full” versions intended for merging & such. LoRAs are generally smaller. Depending on how much they’re pruned they’ll be anywhere between 10-100 MBs each.

          how confusing is the software to use?

          There’s definitely a learning curve, yes. But there’s plenty of resources (and more importantly, examples) out there.

          what kind of limitations does the software have? can i do multiple people? monsters? futa? etc.

          As long as you have the correct models set up it can generate basically anything. At least with anime models, monsters and futa are a given. Your main issue will probably be multiple people, although there are solutions to that. (See the multidiffusion upscaler GitHub repo on the main post)

    • NSFW_Enthusiast@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I recommend following a setup tutorial on YouTube. They usually link to models and stuff youll need. Look for a recent one, this stuff evolves a lot.

  • nottheengineer@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I tried running the web UI on a steam deck with both meinahentai and URPM but I keep getting segfaults after “applying optimization: Doggettx”

    Any idea what causes those? The deck should act like it has 10GB RAM and 4GB VRAM, so I’m not sure where those errors come from.

    • Triple Underscore@lemmynsfw.comOPM
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      1 year ago

      ROCm is flaky in regular consumer GPUs at the best of times. I’m surprised you could even get that far on a steam deck.

      Try the command line arg --opt-sdp-attention. You might also want to try out --medvram or --lowvram (4GBs is considered low when it comes to AI). although I have a feeling it’s just because of the custom nature of the deck’s APU.

      Your best bet would be to search for builds of ROCm, PyTorch and Torchvision that are specifically made for the deck, if such things even exist.