Submit Blend Task
Official docs: https://docs.midjourney.com/hc/en-us/articles/32635189884557-Blend-Images-on-Discord Blend 2–5 images into a new image; provide Base64 data for each.
POST
/mj/submit/blendBody Parametersapplication/json
base64Array array
Array of image Base64 strings; requires 2-5 images
items string string
botType* string
Bot type, mj (default) or niji
dimensions string
Aspect ratio: PORTRAIT (2:3); SQUARE (1:1); LANDSCAPE (3:2)
notifyHook string
Callback URL; falls back to the global notifyHook when empty
quality string
The quality of the image that will be generated. `hd` creates images with finer detail and greater consistency. This parameter only supports `dall-e-3`.
state string
Custom passthrough parameter
Responses
200 application/json
response-200 object
properties created* integer
Creation time (Unix timestamp)
data* array
Data payload (often Base64 or a structured object)
400 Bad request or validation failed application/json
response-400 object
properties error* object
401 Missing or invalid API Key application/json
response-401 object
1{
2"base64Array": [
3"data:image/png;base64,xxx1",
4"data:image/png;base64,xxx2"
5],
6"botType": "MID_JOURNEY",
7"dimensions": "SQUARE",
8"notifyHook": "",
9"state": ""
10}
1curl -X POST "https://api.digislash.com/mj/submit/blend" \
2-H "Authorization: Bearer <API Key>" \
3-H "Content-Type: application/json" \
4-d '{
5"base64Array": [
6"data:image/png;base64,xxx1",
7"data:image/png;base64,xxx2"
8],
9"botType": "MID_JOURNEY",
10"dimensions": "SQUARE",
11"notifyHook": "",
12"state": ""
13}'
1▼{
2"created": 1589478378,
3▼"data": [
4▶{ 1 keys },
5▶{ 1 keys }
6]
7}
