Restore Face
Restore Face
POST https://api.novita.ai/v3/restore-face
This feature allows you to restore faces in just seconds.
Example
This feature allows you to restore faces in just seconds.
Try it in the playground.
Request:
curl --location --request POST 'https://api.novita.ai/v3/restore-face' \
--header 'Authorization: Bearer {{API Key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"fidelity": 0.7,
"image_file": "{{Base64 encoded image}}"
}'
HTTP status codes in the 2xx range indicate that the request has been successfully accepted. A status code of 400 means there was an error with the request parameters, while status codes in the 5xx range indicate internal server errors.
You can get the image URL in the image_file
field of the response in base64 format.
Response:
{
"image_file": "{{Base64 encoded image}}",
"image_type": "jpeg"
}