Blend (multi-image blend)
Blend 2–4 images into a new image (the classic MJ blend); image-only, no prompt supported
Toda a documentaçãoPOST
/v1/midjourney/generations/blend{
"error": {
"code": 500,
"message": "Internal server error. Please try again later",
"type": "server_error"
}
}{
"error": {
"code": 502,
"message": "Bad gateway. The server is temporarily unavailable",
"type": "bad_gateway"
}
}Blend 2–4 images into a new image (the classic MJ blend feature). It works purely from images and does not accept a prompt.
| Item | Value |
|---|---|
| action | BLEND |
| Billing | midjourney@blend[-speed] |
| Required | image_urls (2–4 images) |
Exemplos de pedidos
curl --request POST \
--url https://api.apisea.ai/v1/midjourney/generations/blend \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"image_urls": [
"https://example.com/a.png",
"https://example.com/b.png"
],
"dimensions": "SQUARE",
"speed": "fast"
}'Parameters
| Field | Type | Required | Notes |
|---|---|---|---|
image_urls | string[] | Yes | Source images, 2–4; auto-converted to base64; each ≤ 12 MiB |
nsfw_check | boolean | No | Defaults to false. Run content moderation before submitting a Midjourney task. • true: use omni-moderation-latest to review prompts and input images • false: skip moderation without adding moderation cost or latency |
dimensions | string | No | Default: SQUARE; Three aspect presets: SQUARE (1:1) / PORTRAIT (2:3) / LANDSCAPE (3:2); overridden when size is set |
size | string | No | Free aspect ratio, any w:h (e.g. "16:9", "9:16", "21:9"); takes priority over dimensions, applied as the aspect ratio |
speed | string | No | Default: relax; relax / fast / turbo |
metadata | object | No | Custom metadata |
Request examples
Preset aspect (dimensions):
{
"image_urls": [
"https://example.com/a.png",
"https://example.com/b.png"
],
"dimensions": "SQUARE",
"speed": "fast"
}Free aspect (size):
{
"image_urls": [
"https://example.com/a.png",
"https://example.com/b.png"
],
"size": "16:9",
"speed": "fast"
}The final prompt ends with
--ar 16:9.
Notes
- Aspect priority:
size(free) >dimensions(presets) > defaultSQUARE. - Fewer than 2 or more than 4
image_urlsreturns400. blendhas no independent version parameter. To price by speed, configuremidjourney@blend-fast/midjourney@blend-turbo.
Respostas
{
"code": 200,
"data": [
{
"status": "submitted",
"task_id": "task_01KV52C0TEJSYZMCG0NCS4YWKK"
}
]
}Encontrou um problema nesta documentação? Envie um e-mail para support@apisea.ai.