apyhub
FILE MANIPULATION

Deblur Image API

What it does

Image Deblurring sharpens blurry photos by applying adaptive unsharp mask processing to a single image file. Send a JPEG, PNG, or WebP image in the request body, and get back a binary image response with the blur reduced and edges restored.

Use the optional strength field to control how aggressively the image is sharpened. The default is 1.5 for moderate correction, and you can raise it up to 5 for stronger sharpening when the source image is especially soft or out of focus.

This is useful when you need to improve user-uploaded images before storage, display clearer product photos in an app, or clean up screenshots and scanned visuals that lost detail during capture or compression. Because the output is the processed image itself, it fits directly into image pipelines without extra parsing.

Image Deblurring is a straightforward file transformation tool: provide the source image, tune the sharpening level if needed, and receive a deblurred image back.

POST
Sharpen a blurry image using adaptive unsharp mask
http://localhost:8080/dosvak/deblur-image
QUICKSTARTGUIDE

Quickstart

Upload an image to deblur it; include the file and let the API use the default sharpening strength.

curl -X POST "http://localhost:8080/dosvak/deblur-image" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/image.jpg" \
  -F "strength=1.5"

What you'll get back

Returns a binary file (string with format: binary) containing the deblurred image.

[binary image data]
TRY ITLIVE · 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
Image file (JPEG/PNG/WebP, max 20 MB)
Sharpening strength (1.5 = moderate, 3.0 = strong)

About this endpoint

What it does

Sharpens a blurry image by applying an adaptive unsharp mask to the uploaded file. The endpoint takes an image file and an optional sharpening strength, and returns the processed image as binary data.

Request Body

ParameterTypeMandatoryDescription
fileStringYesImage file (JPEG/PNG/WebP, max 20 MB).
strengthNumberNoSharpening strength. Default: 1.5. Minimum: 0.1. Maximum: 5.

Response

Returns a binary file containing the sharpened image. The output schema is a top-level binary string, so the success response is the processed image itself rather than a JSON object.

Body

Name
Type
Description
bodyREQUIRED
object

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.