v1

latestOpenAPI 3.1.02026-07-2611077199.5 KB

Create face swap service, this endpoint interaction is the same as TTAPI Midjourney API interaction mode (Async)

post/insightFace/v1/swap

Request body

targetImagestring required

Template image: URL of the face swap template image

swapImagestring required

Face image: URL of the image to be face swapped

hookUrlstring

Callback URL address. When the task completes or fails, notifications will be sent to this address. The <a href="fetch" target="_self">notification data structure</a> is consistent with the fetch structure. If not set, you need to call the <a href="fetch" target="_self">fetch</a> endpoint to query the result.

Response

Request successful

statusstring required
messagestring required
dataobject required

Example response

{
  "status": "SUCCESS",
  "message": "success",
  "data": {
    "jobId": "jobId"
  }
}