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>"
}
'
{
  "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

Examples:

"https://file.rixapi.com/mask.png"

"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQND..."

prompt
string
required

prompt word

notifyHook
string

callback URL

Example:

"https://example.com/notify"

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)

Example:

1

description
string
required

describe

Example:

"Submission successful"

result
string
required

Task ID

Example:

1320098173412546

properties
object

extension fields