Image Dehaze
Image Dehaze
Image Dehaze API
Image Dehaze API removes haze and fog from photos to restore clarity, contrast, and cleaner image details.
POST
Image Dehaze
Request
- URL:
https://www.ailabapi.com/api/image/enhance/image-defogging - Method:
POST - Content-Type:
multipart/form-data
Image requirements
- Image format:
PNGJPGJPEGBMP - Image size: No more than 8 MB.
- Image resolution: Larger than 10x10px, smaller than 5000x5000px.
- Image aspect ratio: Aspect ratio within 4:1.
Headers
| Field | Required | Type | Description |
|---|---|---|---|
ailabapi-api-key | YES | string | Application API KEY. Get API KEY |
Body
| Field | Required | Type |
|---|---|---|
image | YES | file |
Response
Public Response Fields
Viewing Public Response Fields and Error CodesBusiness Response Fields
| Field | Type | Description |
|---|---|---|
image | string | base64 encoded image. |

