Img Open English
  1. image tool
Img Open English
  • AI image generation
    • sd text2image
      POST
    • sd Image to Image
      POST
    • sd controlnet
      POST
    • QueryModelList
      POST
    • QueryLoralList
      POST
    • QueryVaeList
      POST
    • queryEmbeddingList
      POST
  • task query
    • queryTaskInfoV1.0
      POST
    • queryTaskInfoV2.0
      POST
    • queryImageToolTaskInfo
      POST
  • train model
    • Submit training task
    • Training result query
  • image tool
    • Flux text2image
      POST
    • Single Face Swap V1.0
      POST
    • Single Face Swap V2.0
      POST
    • instantID
      POST
    • Face restoration
      POST
    • Super Resolution
      POST
    • image description
      POST
    • Multiple Face Swap
      POST
    • Face Detection
      POST
    • Prompt expansion
      POST
    • Hairstyle changer
      POST
    • Object Removal
      POST
    • Style recognition
      POST
    • Outpainting
      POST
    • CNT preview
      POST
    • background remove
      POST
    • image enlarge
      POST
    • image watermark
      POST
  1. image tool

Face Detection

POST
/AIGCImgOpenServ/saas/tool/face/detection
Multiple faces in the target image need to be detected first and displayed to the user on the front end, so that the correct face replacement correspondence can be set. This interface is to detect all faces in the picture

Request

Header Params

Body Params application/json

Example
{
    "businessTaskId": "10086996",
    "imageUrl": "https://dbt-aigc.oss-cn-hangzhou.aliyuncs.com/Output-Img2/dalle_face.png"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.zhiqite.com/AIGCImgOpenServ/saas/tool/face/detection' \
--header 'X-Request-req-accessKeyId: accessKeyId' \
--header 'X-Request-req-accessKeySecret: accessKeySecret' \
--header 'Content-Type: application/json' \
--data-raw '{
    "businessTaskId": "10086996",
    "imageUrl": "https://dbt-aigc.oss-cn-hangzhou.aliyuncs.com/Output-Img2/dalle_face.png"
}'

Responses

🟒200成功
application/json
Body

Example
{
    "code": "200",
    "data": {
        "businessTaskId": "10086996",
        "toolTask": "faceDetection",
        "faceUrls": [
            "https://aigcoss.zhiqiteai.cn/Output-Img2/tool/faceDetection/pre1717727539423845581626-0.png"
        ],
        "status": 2,
        "taskId": "pre1717727539423845581626"
    },
    "msg": "success"
}
Modified atΒ 2024-08-09 01:12:06
Previous
Multiple Face Swap
Next
Prompt expansion
Built with