Skip to content

Midjourney Blend ​

Submit a Blend job.

http
POST /mj/submit/blend

Request headers ​

NameTypeRequiredDescription
stringYesBearer token, e.g.
stringYes

Request body ​

NameTypeRequiredDescription
stringNo /
arrayYesImage Base64 array
stringNo / /
stringNo or
stringNoCallback URL
stringNoOpaque state

Request example ​

bash
curl -X POST https://octopusx.ai/mj/submit/blend \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "RELAX",
    "base64Array": [
      "data:image/png;base64,xxx1",
      "data:image/png;base64,xxx2"
    ],
    "dimensions": "SQUARE",
    "botType": "mj"
  }'

Response example ​

json
{
  "code": 1,
  "description": "Submit success",
  "result": "1712158011464906"
}

Response fields ​

NameTypeDescription
integer ok, queued, queue full, sensitive prompt, otherwise error
stringStatus text
stringTask ID