4Z API

Submit Blend Task

Endpoint: POST https://4zapi.com/mj/submit/blend

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.

Parameters

  • Authorization (header, string): Bearer API Key

Request body (application/json)

  • base64Array (array<string>, required): Images to blend as a base64 array with data URL prefix. Official Midjourney /blend limit is 2–5 images.
  • botType (string): bot type: mj (default) or niji ["MID_JOURNEY", "NIJI_JOURNEY"]
  • dimensions (string): Aspect ratio (passed through). SQUARE (default) / PORTRAIT / LANDSCAPE. ["SQUARE", "PORTRAIT", "LANDSCAPE"]
  • notifyHook (string): Callback URL; falls back to the global notifyHook when empty
  • state (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`.

Request example

{
  "base64Array": [
    "data:image/png;base64,AAA...",
    "data:image/png;base64,BBB..."
  ],
  "botType": "MID_JOURNEY",
  "dimensions": "SQUARE",
  "notifyHook": "cillum adipisicing laborum nostrud",
  "state": "青海省"
}