codeformer repairs the face in the incoming picture; the anti-parameter is the asynchronous interface response~
Request
Body Params  application/json
{
    "task_id": "string",
    "image_url": "string",
    "fidelity_weight": 0
}
Request Code Samples
curl --location --request POST 'https://api.zhiqite.com/AIGCImgOpenServ/saas/tool/codeformer' \
--header 'X-Request-req-accessKeyId;' \
--header 'X-Request-req-accessKeySecret;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "task_id": "string",
    "image_url": "string",
    "fidelity_weight": 0
}'
Responses
application/json {
    "code": "200",
    "msg": "success",
    "data": {
        "taskId": "11895411",
        "toolTask": "codeformer",
        "status": 1,
        "outputImageUrl": "https://aigcoss.zhiqiteai.cn/Output-Img2/codeformer/pro1704677500319557818419.png"
    }
}
Modified at 2024-08-09 00:54:19