文生图,图生文
POST /mj/submit/imagine{
"error": {
"message": "Invalid signature",
"type": "401"
}
}| 参数 | 类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
botType | string | 否 | MID_JOURNEY | Bottype 参数 |
prompt | string | 是 | Cat | Prompt 参数 |
base64Array | array | 否 | [] | Base64Array 参数 |
accountFilter | object | 否 | {"channelId": "", "instanceId": "", "modes": [], "remark": "", "remix": true, "remixAutoConsidered": true} | Accountfilter 参数 |
notifyHook | string | 否 | - | Notifyhook 参数 |
state | string | 否 | - | State 参数 |
| 错误码 | 错误名称 | 描述 |
|---|---|---|
| 401 | Invalid signature | API 密钥缺失或无效 |
| 403 | Insufficient balance | 您的账户余额不足 |
| 500 | Internal server error | 服务器内部错误 |
| 503 | Content policy violation | 内容因安全问题被拦截 |