Lens Blur 2

Defocus and lens blur correction

Model Overview

Sharpen Lens Blur 2 is a second-generation model designed to correct optical defocus and lens-related blur with stronger and more consistent results than prior versions.

Key Capabilities

  • Targets defocus and lens imperfections rather than motion blur

  • Delivers consistent sharpening across heavily blurred regions

  • Effective for high-intensity defocus correction

Model Pricing

Output MP

1
4
8
16
24
32
40
50
64
100

Credits

1
1
1
1
1
2
2
3
3
5

Getting Started

Endpoint

chevron-rightEndpoint-Specific Parametershashtag
  • denoise_strength — decimal between 0 and 1, default 0.5

    • Removes noise from the image.

  • face_enhancement — boolean

    • Leverages our face recovery model to enhance faces.

  • face_enhancement_strength — decimal between 0 and 1

    • Sets the strength of the face recovery.

  • face_enhancement_creativity — decimal between 0 and 1

    • Choose realistic or creative face recovery.

  • subject_detection"All", "Foreground", or "Background"

    • Choose where enhancements are applied.

These parameters should be appended as key-value fields in the form-data request bodies (i.e. alongside the model, output_height, and face_enhancement etc. fields). Any parameters not explicitly provided are automatically configured by our auto-parameter model. Extra parameters provided that are not supported are ignored.

Model-Specific Parameters

  • strength — decimal between 0.01 and 1

  • minor_denoise — decimal between 0.01 and 1

Resolution Limits

  • input — 512 MP

  • output — 512 MP

Examples

Last updated