跳转到主要内容
POST
/
mj
/
submit
/
imagine
cURL
curl --request POST \
  --url https://proxy.innk.cc/mj/submit/imagine \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "botType": "MID_JOURNEY",
  "base64Array": [
    "<string>"
  ],
  "notifyHook": "<string>",
  "noStorage": false,
  "accountFilter": {
    "modes": [
      "<string>"
    ]
  }
}
'
{
  "code": 123,
  "description": "<string>",
  "result": "<string>",
  "properties": {}
}

Authorizations

Authorization
string
header
required

身份验证标头格式为 Bearer <API_KEY>,其中 <API_KEY> 是您的API令牌。

Body

application/json
prompt
string
required

提示词

botType
enum<string>

bot类型

可用选项:
MID_JOURNEY,
NIJI_JOURNEY
base64Array
string[] | null

垫图base64数组

notifyHook
string | null

回调地址

noStorage
boolean
default:false

是否返回官方链接

accountFilter
账号筛选 · object

Response

200 - application/json

Midjourney imagine response

code
integer<int32>
required

状态码: 1(提交成功), 21(窗口等待), 22(排队中), 23(队列满), other(错误)

description
string
required

描述

result
string
required

任务ID

properties
object

扩展字段