跳转到主要内容
POST
/
mj
/
submit
/
action
cURL
curl --request POST \
  --url https://proxy.innk.cc/mj/submit/action \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customId": "<string>",
  "taskId": "<string>",
  "enableRemix": false,
  "notifyHook": "<string>",
  "state": "<string>",
  "noStorage": true
}
'
{
  "code": 123,
  "description": "<string>",
  "result": "<string>",
  "properties": {}
}
查询任务后,其中的 buttons 参数中,包含了该任务可执行的子任务按钮,通过本接口继续调用。

Authorizations

Authorization
string
header
required

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

Body

application/json
customId
string
required

动作标识

taskId
string
required

任务ID

enableRemix
boolean
default:false

是否使用remix模式,部分场景可重新修改提示词

notifyHook
string

回调地址

state
string

自定义参数

noStorage
boolean

返回原始图片链接

Response

200 - application/json

Midjourney action response

code
integer<int32>
required

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

description
string
required

描述

result
string
required

任务ID

properties
object

扩展字段