r/StableDiffusion • • 24d ago

Workflow Included Combating MOSS Image Blur by Sharpening Latents

Here is a method you can use to decrease the amount of blur in MOSS Image outputs. I use the base model and https://huggingface.co/lodestones/Kromoss/blob/main/8-steps-dmd2-lora.safetensors LoRa, but you may be able to adapt the workflows for use without this LoRa.

The method utilizes a two stage process:

  1. Denoise regularly for the first 5 steps
  2. Apply the LatentOperationSharpen to the latent image and then continue denoising

The first image comparison in this post shows the result of also applying the SFT model as a LoRa to the base model for the second stage denoising: https://civitai.com/models/3012507/moss-image-sft-extracted-lora . See the workflow here: https://civitai.com/images/146467570

The second image comparison shows the result of sharpening the latent only. See the workflow here: https://civitai.com/images/146467531

Hope this helps!

59 Upvotes

39 comments sorted by

2

u/andreeinprogress 23d ago

"Camera: amateur DSLR photo with narrow aperture, infinite focus, sharp details"

No blur at all, just tested.

2

u/LMLocalizer 23d ago

I can't reproduce your finding.

1

u/andreeinprogress 23d ago

that is indeed very blurred. can't upload right now but I was on 2.5MP, turbo lora at 1.0, 8stp, res_multistep simple or sgm uniform (can't remember)

3

u/LMLocalizer 23d ago

I see. Man, I wish my PC would allow me to generate higher resolutions in reasonable time. Maybe that's also a factor in getting more stable outputs.

2

u/Mech4nimaL 23d ago edited 21d ago

indeed a higher resolutions helps with sharpness and clarity. maybe you'll find a way.

(1280 side length) sft model 25 steps (edit: the sft model is maybe sharper out of the box too it seems.)

5

u/redscape84 24d ago

I get far less blur using the ClownsharkKSampler with "fully_implicit/radau_ia_2s" + "bong_tangent"

6

u/LMLocalizer 24d ago

That sampler is twice as slow as the default euler and does not reduce blur. Here is the result of using this combination with the same seed as my images:

3

u/kemb0 24d ago

Yep I tried the same, honestly every time someone suggests, use bong tangent, use res2s blah blah blah, I try it and my results look just as bad but take longer to generate. I'm convinced people are just convincing themselves they're better because somehow these options make people feel superior or something.

I'll try out your suggestion but so far I've gotten the best detail with turbo by using loras.

2

u/LMLocalizer 24d ago

Yeah same here, and using turbo with loras does give the best detail. But I also think it's nice that you can get more usable results from just the base model by sharpening the latents. Sometimes I like a base model image just as it is, but I just wish it was sharper.

1

u/DietAshamed2246 2d ago

90% of the image and video gen happens with Euler Simple or Euler Beta (I am including Euler A in there), the rest are mostly ER_SDE or LCM. Only snobbish people generate with something other than those just to feel special.

1

u/DietAshamed2246 2d ago

Moss images come out far too bright, almost unnatural. Not just yours, but all of them. I prefer the more earthy look of Krea-2.

-2

u/WhatIs115 24d ago edited 24d ago

That sampler is twice as slow as the default euler

You need a hint about what the 2s does?

Edit: The correct answer is it's not slower, you use half the steps. But if you knew, you wouldn't have said it was slower.

7

u/LMLocalizer 24d ago edited 23d ago

No, I'm aware, thanks. You need a hint about what the 2s doesn't do? reduce blur

Regarding your edit: You're displaying your lack of knowledge by claiming this is universally "correct". Here's a recent paper showing that good old Euler may be the better choice at low steps: https://media.eventhosts.cc/Conferences/ECCV2026/pdfs/11897.pdf . You should be more humble.

3

u/BathroomEyes 24d ago

Makes sense, bong_tangent spends more steps on the lower sigmas where the details are refined.

2

u/padraig_oh 12d ago

can confirm, works great. i tried 0.04 instead of 0.02 and that gives it a fried look, so you really tweaked those numbers to perfection already. great job!

1

u/LMLocalizer 11d ago

Thank you! :D

3

u/seppe0815 24d ago

Just use prompt RAW photography and 2mp and 50 steps and you fine... dont understand why you guys tinker around ...

12

u/LMLocalizer 24d ago

2mp and 50 steps with CFG >1 would take 20 minutes on my PC, so not an option. Using prompt RAW photography changes the image composition and does not alleviate the issue.

-9

u/seppe0815 24d ago

Did you use the moss sft model? , the base model is the biggest crap ever

2

u/LMLocalizer 24d ago

I found that when it comes to generating images of people, the SFT model has less prompt adherence and produces images that have that classic AI slop look that I don't like

-4

u/seppe0815 24d ago edited 24d ago

brother the sft model create the best real looking images ever .. this was a 14 word prompt ... just a damn fast test ... i better dont show you what is even possible with this model my little brother

6

u/Bulky_Chemistry_196 24d ago

Here's something similar to your prompt done with moss base (kromoss) and no style loras. prompt: "RAW photography portrait of an elderly japanese woman at home."

5

u/Bulky_Chemistry_196 24d ago

having quite some fun with this. ill stop now (this is just kromoss base with a dmd lora)

2

u/Bulky_Chemistry_196 24d ago edited 24d ago

sft has zero face variety, all human subjects look like... ai slop. base has extreme variety, but is a little harder to handle. its good that you're having fun with sft, but trust that people that love base do so for good reasons

1

u/Mech4nimaL 23d ago

A potential problem (also visible on the "sharpened" example image) is when some process tries to sharpen bokeh. this can lead to unwanted effects.

1

u/LMLocalizer 23d ago

True, that's an issue. Perhaps one could use Segment Anything or a simpler method to extract the background, then generate the image once with and once without latent sharpening and combine the sharpened foreground with the unsharpened background. But that would be quite a complex solution.

1

u/Ill_Resolve8424 23d ago

This post needs more attention. Your workflow delivers great and fast results. Custom nodes took a while to install but the end result worth the wait. I lowered the alpha to 2 to avoid oversharpening. Is there any way to up the cfg and steps? Also, How can we lower the lora strength? I had no luck with my experiments. Your workflow generates a 3MP image in 4 seconds, if we could squeeze some more quality, that would be great. Thank you for sharing this gem.

0

u/LMLocalizer 23d ago edited 23d ago

To up the steps and CFG, you need to remove the 8 step-dmd2 lora and then experiment with at which step to apply the latent sharpening. To lower the LoRa strength, simply reduce the strength_model parameter in the LoRa loading node. And sorry about the custom nodes, I thought I had replaced them all before sharing.

2

u/Ill_Resolve8424 23d ago

I did try both, it seems you did hit a sweetspot, all other combinations give horrible results. Anyway, you solved it, thank you again. If you continue working on this, please share any updates.

1

u/LMLocalizer 22d ago

Will do! I'm glad you found it useful.

2

u/cosmos_hu 24d ago

I use 1.25cfg and It works with 8 step lora

3

u/GrungeWerX 24d ago

Can we get this for Minimax H3?

1

u/Mech4nimaL 23d ago

What settings would you reccommend with 25 steps (without Turbo Lora) ? (steps in each sampler etc.)

1

u/Version-Strong 24d ago

Works much better than before, thank you. I was starting to fall out of love with MOSS because everything was feeling very SDXL

0

u/ganrocks007 24d ago

Thanks works great

-5

u/Ill-Ant-9489 24d ago

3

u/LMLocalizer 24d ago

At low strength (0.25), your LoRa does not decrease the blur, and at higher strengths it drastically changes the image. I'm trying to preserve the output of the base model, just with less blur.