Run in Apifox 
Supports users to upload two original pictures and one target picture. The target picture is similar to a photo of two people. Based on this interface, the face of the original picture can be replaced into the target picture. 
Request Body Params   application/json 
{ 
    "businessTaskId" :  "10086996" , 
    "sourceUrl" :  [ "https://aigcoss.zhiqiteai.cn/Output-Img2/zjy/pic3-1.png" ,  "https://aigcoss.zhiqiteai.cn/Input-Img/superJ/8696fa0a-6dfc-4907-97fc-a4db0c24a04a.jpeg" ] , 
    "targetUrl" :  "https://aigcoss.zhiqiteai.cn/Input-Img/superJ/151b18c7-7e2b-4313-8d21-65de676ef264.jpeg" 
} Request Code Samples 
curl  --location  --request  POST 'https://api.zhiqite.com/AIGCImgOpenServ/saas/tool/face/fusion'  \
--header  'X-Request-req-accessKeyId: accessKeyId'  \
--header  'X-Request-req-accessKeySecret: accessKeySecret'  \
--header  'Content-Type: application/json'  \
--data-raw  '{
    "businessTaskId": "10086996",
    "sourceUrl": ["https://aigcoss.zhiqiteai.cn/Output-Img2/zjy/pic3-1.png", "https://aigcoss.zhiqiteai.cn/Input-Img/superJ/8696fa0a-6dfc-4907-97fc-a4db0c24a04a.jpeg"],
    "targetUrl": "https://aigcoss.zhiqiteai.cn/Input-Img/superJ/151b18c7-7e2b-4313-8d21-65de676ef264.jpeg"
}' Responses application/json Generate Code 
{ 
    "code" :  "200" , 
    "msg" :  "success" , 
    "data" :  { 
        "taskId" :  "pre1715827520336429778183" , 
        "businessTaskId" :  "10086996" , 
        "toolTask" :  "faceFusion" , 
        "status" :  1 , 
        "outputImageUrl" :  "https://aigcoss.zhiqiteai.cn/Output-Img2/roop/pro1703734845555845969817.png" 
    } 
} Modified at  2024-08-09 01:09:39