Use the Midjourney Outpaint feature to expand a generated image outward, extending the image boundaries while preserving the original content. This endpoint uses async processing; the client needs to query the final result using the task_id.
Bearer authentication format: Bearer {{API Key}}.
Request Body
Image number, used to specify which image to outpaint.Range: 0~3
The unique identifier of the original image generation task.
Outpaint region prompt, used to describe the content for the expanded region.Length limit: 1-8192 characters.
Outpaint target scale, i.e., the ratio of the new image area to the original image area in the view.Range: 1.1~2.0For example: a 1:1 image after outpainting with 20% expansion (scale=1.2).
Response