Skip to main content
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

The authentication header format is Bearer <API_KEY>, where <API_KEY> is your API token.

Body

application/json
prompt
string
required

prompt word

botType
enum<string>

bot type

Available options:
MID_JOURNEY,
NIJI_JOURNEY
base64Array
string[] | null

Mat map base64 array

notifyHook
string | null

callback address

noStorage
boolean
default:false

Whether to return to the official link

accountFilter
Account filter · object

Response

200 - application/json

Midjourney imagine response

code
integer<int32>
required

Status code: 1 (submission successful), 21 (window waiting), 22 (queuing), 23 (queue full), other (error)

description
string
required

describe

result
string
required

Task ID

properties
object

extension fields