DeerAPI 提交Describe任务接口文档:通过 POST /mj/submit/describe 调用 Midjourney API,从上传图像中检测并生成初始提示词,适用于图片转提示词场景。
curl --request POST \
--url https://api.deerapi.com/mj/submit/describe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base64": "data:image/png;base64,xxx"
}
'{
"code": 123,
"description": "<string>",
"properties": {},
"result": 123
}Bearer token authentication. Use your DeerAPI key.
curl --request POST \
--url https://api.deerapi.com/mj/submit/describe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base64": "data:image/png;base64,xxx"
}
'{
"code": 123,
"description": "<string>",
"properties": {},
"result": 123
}