Describe
POST
/mj/submit/describePrice: 0.025 PTC / call
请求参数
Header 参数
mj-api-secret
string
必需
API Key for 302.AI backend
示例值:
{{YOUR_API_KEY}}
Body 参数application/json
base64
string
必需
Image base64
示例值:
data:image/png;base64,xxx
botType
enum<string>
可选
Bot type; mj(default) or niji
枚举值:
MID_JOURNEYNIJI_JOURNEY
示例值:
MID_JOURNEY
notifyHook
string
可选
Callback URL; use global notifyHook if empty
state
string
可选
Custom parameters
示例
{
"base64": "data:image/png;base64,xxx",
"botType": "MID_JOURNEY",
"notifyHook": "string",
"state": "string"
}
示例代码
返回响应
OK(200)
Created(201)
Unauthorized(401)
Forbidden(403)
Not Found(404)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
No schema defined
示例
未设置
最后修改时间: 1 个月前