Merge Face
Merge Face
POST https://api.novita.ai/v3/merge-face
This API endpoint seamlessly merges the characteristics of two faces, enabling the creation of a composite image that integrates features from both inputs.
Example
This feature helps blend the details of two faces.
Try it in the playground.
Request:
curl --location --request POST 'https://api.novita.ai/v3/merge-face' \
--header 'Authorization: Bearer {{API Key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"face_image_file": "{{Base64 encoded image}}",
"image_file": "{{Base64 encoded image}}"
}'
HTTP status codes in the 2xx range indicate that the request has been successfully accepted. Code 400 means there is an error with the request parameters, while status codes in the 5xx range indicate internal server errors.
You can obtain the image URL in the image_file
field of the response in base64 format.
Response:
{
"image_file": "{{Base64 encoded image}}",
"image_type": "png"
}