Skip to main content
POST
/
mj
/
submit
/
edits
cURL
curl --request POST \
  --url https://proxy.innk.cc/mj/submit/edits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "image": "<string>",
  "prompt": "<string>",
  "notifyHook": "<string>",
  "state": "<string>",
  "noStorage": false
}
'
{
  "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
image
string
required

On the picture that needs to be edited, change the editing area to transparent

prompt
string
required

prompt word

notifyHook
string

callback URL

state
string

extra parameters

noStorage
boolean
default:false

Return to original link

Response

200 - application/json

Midjourney edits 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