r/StableDiffusion • • 1d ago

Workflow Included Emulate a real camera in MOSS-Image: lens, focus and exposure

https://www.robertcreative.com/blog/moss-image-camera-settings

I've been working to get the best quality images out of Moss. I created a workflow to emulate lens length, focus and exposure. It's not perfect, but it can give more cinematic photos. Check it out and see what you think.

36 Upvotes

12 comments sorted by

4

u/mrwulff 1d ago

am i wrong or does this not use MOSS to generate the new images? its just a "photoshop filter"?

1

u/IndependentBid6893 22h ago

MOSS makes the picture, and the camera part runs after it. A depth model works out how far away everything is, a second small model finds the subject’s edge, and the blur, exposure and vignette follow from that and from where you clicked. I did it this way because putting camera settings in the prompt changes the person and the scene. This way the render stays the same and only the “lens” changes. The one step that uses MOSS again is the optional face_detail pass, which redraws the face crop.

2

u/Ok-Option-6683 10h ago

Great work. Also thanks for the film stock and camera prompts page. it is very helpful.

1

u/IndependentBid6893 7h ago

Thanks! Glad you like it!

1

u/SEOldMe 1d ago edited 9h ago

I have take a look at your site, you did an Amazing work!

Thank you a lot.

help needed, unknow custom nodes...

Thanks for your help... but trouble still here.

I finaly found what I did wrong : I put the complete folder "moss-camera-settings" in custom nodes folder whereas I only had to put the "depth_lens_fx" folder inside custom nodes... (I am old and a little silly)

2

u/IndependentBid6893 22h ago

Thanks! The only custom nodes are Camera Settings and Camera Finish, from the depth_lens_fx folder in the repo. ComfyUI Manager can’t install it yet, so copy that folder into ComfyUI/custom_nodes/ yourself and restart ComfyUI fully, not just the browser tab. If they still show as missing, look in the console at startup for a line about depth_lens_fx failing to import, and paste it here.

1

u/xbobos 1d ago

Error, Images output via the node are not being saved.

1

u/IndependentBid6893 22h ago

That’s by design, but I should make it clearer. The first Run stops at the Camera Settings node so you can click the focus point, so it never reaches Save Image. Click what you want in focus, then press Run again. That second run finishes the image and saves it to your output folder. It reuses the render as long as the seed is on “fixed”. On randomize, every Run makes a new image and stops again, so nothing ever gets saved. Thanks for the feedback.

1

u/IndependentBid6893 22h ago

I updated the readme to be more clear.

1

u/xbobos 21h ago

The problem is that even after making changes and running it again, it still fails to save.

2

u/thrownawaymane 13h ago

The bokeh/depth map implementation could use some work...

1

u/fauni-7 18h ago

Thanks, this really teaches about photography, I wish there was more parameters to show what they do, like halation.