---
title: Portrait Photo Retouch API
slug: retouch-portrait-photo
url: https://apyhub.com/dosvak/service/retouch-portrait-photo
provider: Dosvak LLC
tags: [portrait-retouch, image-enhancement, photo-editing, face-smoothing, sharpening]
auth: api_key
---

# Portrait Photo Retouch API

Smooth and sharpen a portrait image from a binary file upload. Returns the edited image for profile photos, avatars, and staff pictures.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/dosvak/retouch-portrait-photo` | What it does Smooths and sharpens a portrait photo. Send a portrait image file in the request body… | 100 |

## Examples

### Smooth and sharpen portrait photos

#### Quickstart

Upload a portrait photo to retouch it with the default sharpen and strength settings.

```bash
curl -X POST "https://api.eu.apyhub.com/dosvak/retouch-portrait-photo" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/portrait.jpg"
```

#### What you'll get back

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

```bash
<binary image data>
```

## About

## What it does
Portrait Photo Retouch smooths and sharpens a portrait image and returns the edited file as binary output. Send a single portrait photo file, and control the result with two query parameters: `sharpen` and `strength`.

Use it when you need to clean up face photos for profiles, staff directories, identity-related visuals, or other portrait assets that should look polished without rebuilding the image in your own pipeline. The service is designed for one-step image enhancement, with defaults that work for a typical portrait retouch.

The input schema is simple: upload one `file` up to 20 MB. The response is the processed image itself, so you can pass it straight into storage, download it, or continue downstream image handling without parsing a complex object.

If your workflow includes customer avatars, onboarding photos, or marketplace seller images, this endpoint gives you a consistent way to improve portrait clarity while keeping the integration surface small.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/dosvak/service/retouch-portrait-photo
