Super-resolution processing of images; anti-parameter is asynchronous interface response~
Request
Body Params  application/json
{
  "businessTaskId": "100846412",
  "resizeMode": 1,
  "showExtrasResults": true,
  "gfpganVisibility": 0,
  "codeformerVisibility": 0,
  "codeformerWeight": 0,
  "upscalingResize": 2,
  "upscalingResizeW": 2048,
  "upscalingResizeH": 2048,
  "upscalingCrop": false,
  "upscaler1": "ESRGAN_4x",
  "upscaler2": "None",
  "extrasUpscaler2Visibility": 1.0,
  "upscaleFirst": true,
  "image": "https://dbt-aigc.oss-cn-hangzhou.aliyuncs.com/Output-Img2/bbbb/selfapi/120/text2image/2024-01-11/147f64d5-25a9-40c3-b7bb-d7fc2aadb3b6-0.png"
}
Request Code Samples
curl --location --request POST 'https://api.zhiqite.com/AIGCImgOpenServ/saas/tool/enhance' \
--header 'X-Request-req-accessKeyId;' \
--header 'X-Request-req-accessKeySecret;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "businessTaskId": "100846412",
  "resizeMode": 1,
  "showExtrasResults": true,
  "gfpganVisibility": 0,
  "codeformerVisibility": 0,
  "codeformerWeight": 0,
  "upscalingResize": 2,
  "upscalingResizeW": 2048,
  "upscalingResizeH": 2048,
  "upscalingCrop": false,
  "upscaler1": "ESRGAN_4x",
  "upscaler2": "None",
  "extrasUpscaler2Visibility": 1.0,
  "upscaleFirst": true,
  "image": "https://dbt-aigc.oss-cn-hangzhou.aliyuncs.com/Output-Img2/bbbb/selfapi/120/text2image/2024-01-11/147f64d5-25a9-40c3-b7bb-d7fc2aadb3b6-0.png"
}'
Responses
application/json {
    "code": "200",
    "data": {
        "businessTaskId": "1008464122",
        "outputImageUrl": "https://aigcoss.zhiqiteai.cn/Output-Img2/tool/enhance/extras-images/2024-01-12/8e792c3c-b220-4264-8703-b7174a81b25a-0.png",
        "status": 1,
        "taskId": "test1705047542608738174022"
    },
    "msg": "success"
}
Modified at 2024-08-09 00:58:24