跳转到主要内容
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>"
}
'
{
  "code": 123,
  "description": "<string>",
  "result": "<string>",
  "properties": {}
}

授权

Authorization
string
header
必填

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

请求体

application/json
prompt
string
必填

提示词

示例:

"Cat"

botType
enum<string>

bot类型

可用选项:
MID_JOURNEY,
NIJI_JOURNEY
示例:

"MID_JOURNEY"

base64Array
string[] | null

垫图base64数组

notifyHook
string | null

回调地址

noStorage
boolean
默认值:false

是否返回官方链接

accountFilter
账号筛选 · object

响应

200 - application/json

Midjourney imagine response

code
integer<int32>
必填

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

示例:

1

description
string
必填

描述

示例:

"提交成功"

result
string
必填

任务ID

示例:

1320098173412546

properties
object

扩展字段