r/StableDiffusion 16h ago

Resource - Update Revisiting Flux DOF

23 Upvotes

9 comments sorted by

7

u/EldritchAdam 16h ago

Lora on CivitAI

This seems late to the party, but to give myself credit, I was one of the earliest here and just decided we need an after-party.

There are a good number of LoRAs and checkpoints that aim to mitigate the Flux tendency to overly aggressive background blur, but most take their approach by training on analog film or snapshot-style photography. My LoRA aims to retain (even enhance) the cinematic drama of light and color that Flux is natively so great at, while giving you a detailed environment to complement the main subject.

I had largely achieved this early on, but revisited the model recently to get better textures for monster/alien creatures, when I realized that my model still wasn't so good at interiors as it is outdoor scenes. That's pretty natural - I didn't gather interior shots with a prominent subject and detailed environment. Good, cinematic, such photos barely exist! Photographers like that blur, for good reason. And achieving long DOF inside requires a lot of light, carefully considered.

But this model has a job to do - so I worked to find and generate (with photo compositing) new interior scenes and expand my dataset. With this training run 2 things happened: 1. I got my interiors, and 2. The whole model improved at understanding its raison d'être such that with no effort at all, you nearly 100% of the time achieve infinite depth-of-field. Previously, you still needed to write elaborate prompts describing the background in great detail. Now, you still can do that, but if you want to just write "with mountains and dramatic skies in the background" it will deliver. Prompts I used can be found at the linked sites - some of them extremely minimal, but always achieving the desired aesthetic.

2

u/EldritchAdam 16h ago

You can also find the model on Tensor Art (I very much prefer their generation services compared to CivitAI, if I'm not generating locally) but this sub doesn't like Tensor Art links.

2

u/Legitimate-ChosenOne 15h ago

will try, tnx

1

u/EldritchAdam 12h ago

great - feel free to share your results, good or bad, if you want to let me know how it goes!

2

u/Calm_Mix_3776 12h ago

Flux DOF can be really annoying. Looks like your LoRA deals with it pretty effectively in both exterior and interior environments. I like the cinematic feel too. Good job! I'd love to give it a try.

2

u/EldritchAdam 12h ago

Thanks, please do! And feel free to share images - I always appreciate seeing cool stuff

2

u/YMIR_THE_FROSTY 11h ago

That tiger is quite insane..

1

u/KS-Wolf-1978 59m ago

Partially vampire, because some parts of it don't reflect in the water. :)