Nodes/ComfyUI LC123 Nodes/LC Lens Profile
ComfyUI Node

LC Lens Profile

Give your render a Helios 44-2 — or try to take it away

By lonecatone23·Created 2 months ago·Updated 3 days ago· 18
LC Lens Profile
  • image
  • image
lensCanon EF 50mm f/1.8
modeAdd Aberrations
strength1.0

Real lenses have personalities. A Helios 44-2 swirly bokeh, a 50mm f/1.8 with soft corners, a Canon zoom with a bit of barrel distortion and red-green fringe at the edges. Diffusion models almost never generate that character - AI bokeh is too clean, too uniform. LC Lens Profile is the node that stamps a named lens's optical fingerprint onto your image: pick a lens from the dropdown, and it applies that profile's distortion, chromatic aberration, and vignette. There's even a "Correct Aberrations" mode that tries to pull it back off.

How it works

Each profile in the dropdown (Canon EF 50mm f/1.8, Canon EF 24-70mm f/2.8, Nikon 35mm f/1.8 and 85mm f/1.4, Sony 55mm f/1.8 and 24-70mm f/2.8, Sigma 35mm f/1.4 Art, and the vintage Helios 44-2) carries four numbers: two radial distortion coefficients, per-channel chromatic aberration offsets for red and blue, and a vignette strength and midpoint. The node warps the image radially - k1 and k2 push or pull pixels from center - re-samples each color channel with its own shift, and applies a cosine-fourth falloff for the vignette, all scaled relative to 1024px so it behaves the same at any resolution.

mode decides the direction: Add Aberrations (default) applies the profile as character, and Correct Aberrations flips the distortion and CA signs while inverting the vignette math - the "shoot and fix" mode that's genuinely useful if a render came out with an unwanted lens look. The optional strength (0–2, default 1) scales the whole effect, so 0.5 gives you half the character and 0 kills it.

What to actually set

  • lens - the personality you want. Helios 44-2 is the crowd-pleaser for "swirly, imperfect, alive"; the 50mm f/1.8 is the subtle default.
  • mode - Add for character, Correct for cleanup. Most people only ever touch Add.
  • strength - your dial for "how much of this lens am I feeling today." Subtle wins; this is seasoning.

Output is image, with the usual hover-to-wipe preview to compare against the source.

Install

Part of ComfyUI LC123 Nodes (MIT, 89 nodes). ComfyUI Manager → search "ComfyUI LC123 Nodes", or:

cd ComfyUI/custom_nodes
git clone https://github.com/lonecatone23/ComfyUI_LC123_nodes

Restart. No extra dependencies, no model files - the profiles are baked into the code. On cloud hosts like RunningHub, request the pack and they install it for you.

The honest take

This won't fool a photographer at 100% zoom - real lens distortion is a full optical model and this is a tidy approximation with a vignette. But at the strength where the eye registers "imperfect, shot on glass" instead of "generated," it does exactly the job. Pair it with LC Lens FX for grain and you've got a believable snapshot look in two nodes.

CategoryLC123/image

Inputs (4)

NameTypeDefaultDescription
imageIMAGE
lensCOMBOCanon EF 50mm f/1.88 options: Canon EF 50mm f/1.8, Canon EF 24-70mm f/2.8, Nikon AF-S 35mm f/1.8, Nikon AF-S 85mm f/1.4, Sony FE 55mm f/1.8, Sony FE 24-70mm f/2.8, +2
modeCOMBOAdd AberrationsAdd character or try to correct it.
strengthoptFLOAT1.00–2

Outputs (1)

NameTypeDescription
imageIMAGE