POST /mj/submit/blend
Method: POSTEndpoint: /mj/submit/blend
Base64 array of images
Request Parameters
Header Parameters
text
Authorization
string
Optional
Default Value:
Bearer {{YOUR_API_KEY}}Body Parameters application/json
text
base64Array
array
[string]
Required
Base64 array of images
Example:
["data:image/png;base64,xxx1","data:image/png;base64,xxx2"]
dimensions
enum<string>
Optional
// provider-specific example normalized for English documentation
Enum Values:
PORTRAIT
SQUARE
LANDSCAPE
Example:
SQUARE
notifyHook
string
Optional
Callback URL. If empty, the global notifyHook is used.
Example
{
"base64Array"
:
[
"data:image/png;base64,xxx1"
,
"data:image/png;base64,xxx2"
]
,
"dimensions"
:
"PORTRAIT"
,
"notifyHook"
:
"string"
}Example Request
Shell
bash
curl --location --request POST '/mj/submit/blend' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"base64Array": [
"data:image/png;base64,xxx1",
"data:image/png;base64,xxx2"
],
"dimensions": "PORTRAIT",
"notifyHook": "string"
}'Response
🟢 200 OK
Content Type: application/json
Response Schema
text
code
integer
<int32>
Required
Status Code: 1 (submission succeeded), 21 (already exists), 22 (queued), other (error)
Example:
1
description
string
Description
Required
Example:
submission succeeded
properties
object
Extended Fields
Optional
result
string
Task ID
Optional
Example:
1320098173412546Example
json
{
"code": 1,
"description": "Submission succeeded",
"properties": {},
"result": 1320098173412546
}