Skip to main content
POST
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.

Request Headers

string
required
Enum: application/json
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

object
Optional extra parameters for the request.
string
required
The base64-encoded face image, with a maximum resolution of 2048 x 2048 and a maximum file size of 30 MB.
string
required
The base64-encoded original image, with a maximum resolution of 2048 x 2048 and a maximum file size of 30 MB.

Response

string
The Base64-encoded content of the returned image.
string
The returned image type.

Example

This feature helps blend the details of two faces. Try it in the playground. Request:
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:
Last modified on February 19, 2025