cottom/portrait-retouch

Retouches a portrait's skin without moving its tone: frequency separation over the person's own skin, never the lightness band, judged by CIEDE2000, hue, chroma and a face-grid check.

Public
11 runs

Run cottom/portrait-retouch with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
image
string
The portrait to retouch.
smoothing
integer
30

Max: 100

Softens blemishes and fine texture.
texture
integer
40

Max: 100

Brings fine skin texture back.
clarity
integer
20

Max: 100

Adds contrast to the skin's detail.
even_tone
integer
0

Max: 100

Evens blotches and redness toward the person's own colour.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}