Midjourney
Zoom
Zoom Out (outpaint) on a single upscaled image: the original is kept and more background is filled outward (Outpaint / CustomZoom)
POST
zoom_ratio < 2 uses Outpaint (1.5×); ≥ 2 or omitted uses CustomZoom (2×); both produce an image directly.
| Item | Value |
|---|---|
| action | ZOOM |
| Billing | midjourney@zoom[-speed] |
| Required | task_id, or task_id + custom_id |
| Optional | zoom_ratio, index, speed, metadata |
Parameters
| Field | Description |
|---|---|
task_id | Task ID returned by this platform (must be an Upscale single-image task) |
custom_id | Optional; button ID for the corresponding Zoom action |
index | Optional; which image of the parent task (1–4, default 1); usually unnecessary for a single image |
zoom_ratio | Optional; controls which Zoom Out tier is auto-matched (see table below) |
speed | relax / fast / turbo |
metadata | Optional custom metadata |
Auto matching
zoom_ratio | Button |
|---|---|
Less than 2 | Zoom Out 1.5x |
Omitted or >= 2 | Zoom Out 2x |
Request example
Notes
- The parent task must be an upscaled single image and SUCCESS; passing a grid returns
This action requires an upscaled task..., so callupscalefirst. - Both Outpaint and CustomZoom produce an image directly, need no mask, and do not enter MODAL (only Inpaint uses MODAL).
- Version metadata from the source task is inherited automatically. To price by speed, configure
midjourney@zoom-fast/midjourney@zoom-turbo.
Response
On success you receive a new localtask_id. Poll GET /v1/tasks/{task_id} for the result.