- CV任务状态码信息附录
- 绘图信息
- 绘图任务
- 模型训练
- 绘图工具
- 图片检测
- 视频工具
- 音频工具
- 翻译
图转文
POST
/AIGCImgOpenServ/saas/tool/interrogate
请求参数
Header 参数
X-Request-req-accessKeyId
string
可选
X-Request-req-accessKeySecret
string
可选
Body 参数application/json
businessTaskId
string
任务ID
image
string
图片地址
model
string
模型 默认 clip
callbackUrl
string
回调地址
示例
{
"businessTaskId": "1008641511",
"image": "https://dbt-aigc.oss-cn-hangzhou.aliyuncs.com/Output-Img2/111.png",
"model": "clip"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
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"
}'
返回响应
🟢200成功
application/json
Body
code
string
必需
data
object
必需
businessTaskId
string
业务方任务ID
caption
string
说明文字
status
integer
状态码
taskId
string
任务ID
msg
string
必需
示例
{
"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"
}
修改于 2024-02-21 07:48:45