Img Open English
  1. task query
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
      POST
    • Training result query
      POST
  • 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. task query

queryImageToolTaskInfo

POST
/AIGCImgOpenServ/saas/tool/{toolCode}/queryTask
Query Image tool task information based on business ID

Request

Path Params
toolCode
string 
required
Corresponds to the back part of the drawing tool interface path tool/, for example: 1. The hairstyle change interface path is /AIGCImgOpenServ/saas/tool/hair/change, then the toolCode is hair/change
2. The path of the face-changing interface is /AIGCImgOpenServ/saas/tool/roop, then the toolCode is roop
Example:
identifyStyle
Header Params
X-Request-req-accessKeyId
string 
required
Example:
accessKeyId
X-Request-req-accessKeySecret
string 
required
Example:
accessKeySecret
Body Params application/json
businessTaskId
string 
required
Example
{
  "businessTaskId": "100869960120240603"
}

Request 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/identifyStyle/queryTask' \
--header 'X-Request-req-accessKeyId: accessKeyId' \
--header 'X-Request-req-accessKeySecret: accessKeySecret' \
--header 'Content-Type: application/json' \
--data-raw '{
  "businessTaskId": "100869960120240603"
}'

Responses

🟢200OK
application/json
Body
code
string 
required
msg
string 
required
data
object 
required
Corresponds to the response parameters of the drawing tool. The response parameters are not unique.
taskId
string 
optional
status
string 
optional
1=Success, 2=Failure
outputImageUrl
string 
optional
businessTaskId
string 
optional
Business party task ID
Example
{
    "code": "200",
    "msg": "success",
    "data": {
        "businessTaskId": "100869960120240603",
        "status": 1,
        "taskId": "pre1717487519653502055297",
        "outputImageUrl": "https://aigcoss.zhiqiteai.cn/Output-Img2/roop/pro1703734845555845969817.png"
    }
}
Modified at 2024-08-08 12:00:20
Previous
queryTaskInfoV2.0
Next
Submit training task
Built with