Describe (image -> text)
POST
https://api.cometapi.com/mj/submit/describeDetect the initial prompt from the image you uploaded.
Request
[message.headerParameter]
Authorization
string
可选
示例值:
Bearer sk-xxx
[message.bodyParameter]application/json
base64
string
必需
notifyHook
string
可选
state
string
可选
[api.label.example]
{
"base64Array": [],
"notifyHook": "",
"prompt": "Cat",
"state": ""
}
Request samples
[api.label.responses]
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
[response.label.jsonSchema]
code
integer
必需
description
string
必需
properties
object
必需
result
integer
必需
[api.label.example]
{
"code": 1,
"description": "提交成功",
"properties": {},
"result": 1320098173412546
}
[updatedIn] 6 个月前