Ability to provide preprocessor preview images for controlnet
Request
Body Params application/json
{
"businessTaskId": "B-0001",
"preprocessor": "canny",
"sourceImage": "https://aigcoss.zhiqiteai.cn/Output-Img2/bbbb/test_image.PNG",
"callbackUrl": "https://ic-pre.un.com/AIGCImgComServ/drawing/task/callback/tool/v1"
}
Request Code Samples
curl --location --request POST 'https://api.zhiqite.com/AIGCImgOpenServ/saas/tool/cnt/preview' \
--header 'X-Request-req-accessKeyId;' \
--header 'X-Request-req-accessKeySecret;' \
--header 'Content-Type: application/json' \
--data-raw '{
"businessTaskId": "B-0001",
"preprocessor": "canny",
"sourceImage": "https://aigcoss.zhiqiteai.cn/Output-Img2/bbbb/test_image.PNG",
"callbackUrl": "https://ic-pre.un.com/AIGCImgComServ/drawing/task/callback/tool/v1"
}'
Responses
application/json {
"code": "96",
"msg": "laborum",
"data": {
"task_id": "75"
}
}
Modified atΒ 2024-08-09 01:26:10