Tasks Description
Along with the file for processing, a payload is received - a description of what needs to be done.
Mode
This documentation only covers the "professional" mode. This parameter is required.
Tasks
For mode=professional, you must specify a set of tasks - which plugins should be applied and their settings.
- plugin - possible values:
- "Heal",
- "Dodge Burn",
- "Portrait Volumes",
- "Clean Backdrop",
- "White Teeth",
- "Fabric",
- "Eye Vessels",
- "Eye Brilliance",
- "Skin Tone",
- alpha1 - central slider parameter
- alpha2 - left slider parameter
- scale - scale of the person in the photo:
- 0 - auto detection
- 1 - close-up of the face
- 2 - half-body portrait
- 3 - full-body portrait
💡
{
"mode": "professional",
"tasks": [
{
"Plugin":"Heal",
"Scale":0,
"Layer":1,
"Alpha1":1
},
{
"Plugin":"Dodge Burn",
"Scale":0,
"Layer":1,
"Alpha1":1,
"Alpha2":0
},
{
"Plugin":"Portrait Volumes",
"Scale":0,
"Layer":1,
"Alpha1":0.5
}
]
}