Nodes/ComfyUI_Mira/Adjust Sharpness
ComfyUI Node

Adjust Sharpness

Sharpen or soften inline

By mirabarukaso·Created 2 years ago·Updated 5 days ago· 206
Adjust Sharpness
  • src_image
  • image
level1.0

Adjust Sharpness does the obvious thing: it makes edges crisper (or, turned the other way, softer). It's the small finishing move you reach for when a generation or an upscale comes out slightly mushy and you want a bit more bite in the detail without re-rolling the whole thing.

It lives in ComfyUI_Mira, mirabarukaso's personal pack of quality-of-life nodes, as one of the image-adjustment family (Contrast, Brightness, Saturation, HUE, Gamma, Tone Curve, RGB Channel, Grayscale). These are all meant to daisy-chain - output image into the next node's src_image - so you can build a compact "finish" stack: upscale, small sharpen, tiny contrast, done.

How it works

level is a strength factor. 1 is neutral - the image passes through untouched. Below 1 softens/blurs; above 1 sharpens, with the effect getting stronger the higher you go. The range runs all the way to 100, which is absurdly aggressive - realistically you're living in the low single digits. A little goes a long way, and past a point sharpening stops adding detail and just amplifies noise and halos around edges.

The inputs and outputs that matter

  • src_image - the image to sharpen or soften.
  • level - strength, 0 to 100. 1 = no change, below 1 softens, above 1 sharpens. Default is 1, so this node behaves sanely out of the box (unlike its saturation sibling).
  • image (output) - the result, into your next node.

For most work you'll set level somewhere around 1.5 to 3. If you're deliberately softening - say, to knock down JPEG-ish crunch before a further pass - drop it below 1.

Installing it

Via ComfyUI Manager: search ComfyUI_Mira, install, restart. Or manually:

cd ComfyUI/custom_nodes && git clone https://github.com/mirabarukaso/ComfyUI_Mira.git

then restart. If loading errors, run pip install -r requirements.txt in the ComfyUI_Mira folder. Node appears under Mira/Util/Image.

Common issues

  • Sharpening is not upscaling. It can't add detail that isn't there - it enhances the edges you already have. If the source is genuinely low-res, sharpen after a real upscale model, not instead of one.
  • Over-sharpening is ugly and obvious. Halos, crunchy grain, and gritty skin are the tell. If it looks sharpened, you went too far. Back off and A/B against the original.
  • Order in the chain matters. Sharpen last, after color and tone moves, so you're not amplifying artifacts that a later step would have introduced anyway.
  • Personal-pack caveat. Mira is one dev's toolkit and node placement can drift between updates; if the node loads red in an old workflow, reinstall via Manager. The math here is standard and stable.
CategoryMira/Util/Image

Inputs (2)

NameTypeDefaultDescription
src_imageIMAGE
levelFLOAT1.00–100

Outputs (1)

NameTypeDescription
imageIMAGE