- AI image generation
- task query
- train model
- image tool
- Flux text2imagePOST
- Single Face Swap V1.0POST
- Single Face Swap V2.0POST
- instantIDPOST
- Face restorationPOST
- Super ResolutionPOST
- image descriptionPOST
- Multiple Face SwapPOST
- Face DetectionPOST
- Prompt expansionPOST
- Hairstyle changerPOST
- Object RemovalPOST
- Style recognitionPOST
- OutpaintingPOST
- CNT previewPOST
- background removePOST
- image enlargePOST
- image watermarkPOST
image description
POST
/AIGCImgOpenServ/saas/tool/interrogate
Request
Header Params
X-Request-req-accessKeyId
string
optional
X-Request-req-accessKeySecret
string
optional
Body Params application/json
businessTaskId
string
required
image
string
image url
model
string
optional
callbackUrl
string
required
Example
{
"businessTaskId": "1008641511",
"image": "https://dbt-aigc.oss-cn-hangzhou.aliyuncs.com/Output-Img2/111.png",
"model": "clip"
}
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/interrogate' \
--header 'X-Request-req-accessKeyId;' \
--header 'X-Request-req-accessKeySecret;' \
--header 'Content-Type: application/json' \
--data-raw '{
"businessTaskId": "1008641511",
"image": "https://dbt-aigc.oss-cn-hangzhou.aliyuncs.com/Output-Img2/111.png",
"model": "clip"
}'
Responses
🟢200OK
application/json
Body
code
string
required
data
object
required
businessTaskId
string
required
caption
string
Description text
status
integer
required
taskId
string
required
msg
string
required
Example
{
"code": "200",
"data": {
"businessTaskId": "1008464122",
"caption": "a close up of a doll with long hair and blue eyes and a bow in her hair and a necklace, Alice Prin, realistic eyes, a photorealistic painting, gothic art",
"status": 1,
"taskId": "test1705047542608738174022"
},
"msg": "success"
}
Modified at 2024-08-09 01:02:53