Skip to main content
POST
/
mj
/
submit
/
blend
Blend (image -> image)
curl --request POST \
  --url https://api.cometapi.com/mj/submit/blend \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "base64Array": [
    "data:image/png;base64,xxx1",
    "data:image/png;base64,xxx2"
  ]
}
'
{
  "code": 123,
  "description": "<string>",
  "properties": {},
  "result": 123
}
Use this endpoint to blend 2 to 5 source images into a new Midjourney composition. It is a direct entry point and does not require a prior imagine task.

Before you call it

  • Prepare 2 to 5 source images
  • Keep the first test small and skip extra account-routing options unless you need them
  • Save the returned task id, because blending is still asynchronous

Task flow

1

Submit the blend task

Send the source images through the blend endpoint and store the returned task id.
2

Poll the task

Use Fetch Single Task until the task reaches a terminal state.
3

Continue from the result

When action buttons appear, use Action for upscale, variation, or other follow-up steps.

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your CometAPI key.

Body

application/json
base64Array
string[]
required

Two or more base64-encoded images to blend. Each item should be a data URI such as data:image/png;base64,xxx.

dimensions
enum<string>

Output aspect ratio.

Available options:
PORTRAIT,
SQUARE,
LANDSCAPE
notifyHook
string

Webhook URL to receive task status updates. Falls back to your account-level webhook if omitted.

state
string

Custom state string. Returned as-is in the task result and webhook callback for your own tracking.

botType
enum<string>

Bot type to use. MID_JOURNEY for Midjourney (default), NIJI_JOURNEY for Niji.

Available options:
MID_JOURNEY,
NIJI_JOURNEY

Response

200 - application/json

Success

code
integer
required

Status code

description
string
required

Human-readable description message corresponding to the status code

properties
object
required

Additional properties or metadata

result
integer
required

Returned task ID