Midjourney inpainting via API: mask_url on GPT Image 2.5

Midjourney's edit model now changes only selected pixels. Sume lists no Midjourney model; its masked inpainting runs on GPT Image 2.5 through mask_url.

4 min readSume
All posts

Sume has no Midjourney model, so it cannot run Midjourney inpainting. What it does have is a masked edit: send a source image and a public HTTPS mask_url to ChatGPT Image 2.5. Its docs describe no outpainting mode.

Midjourney facts are from its September 24, 2026 post; Sume facts from the Image API docs and request code. Read 2026-09-30.

What did Midjourney change?

The post says inpainting and outpainting with the edit model are improved: targeted edits change only the pixels you selected, which allows repeated edits without degrading the image. The post does not announce an API.

How does Sume do inpainting?

Through mask_url, an optional public HTTPS mask for edits on openai/gpt-image-2.5 and openai/gpt-image-2.5-sunburst. Any other model refuses it: the request code throws an unsupported-parameter error for mask_url on models without that capability. Send the source in input_references and, on edits, prefer aspect_ratio: "auto"; the docs note that omitting the field is not the same as auto. A full request is in GPT Image 2.5 mask edits.

Inpaint and outpaint wording against Sume's docs, read 2026-09-30.
TermMidjourney postSume docs
InpaintingEdit model; changes only selected pixelsmask_url on the two 2.5 ids
OutpaintingEdit model; improvedNo outpainting parameter documented
ReferencesNot stated in the postUp to 16 images on the 2.5 ids

Can I outpaint on Sume?

The docs describe no mode for extending a canvas, so do not plan on one. Reference URLs must be public HTTPS, and a request with a parameter the model does not list returns 400 unsupported_parameter.

Will repeated edits keep the rest of the image intact?

That claim belongs to Midjourney's edit model. Sume's docs make no equivalent promise for GPT Image 2.5, so compare the result with the source after each pass.

Sources

Related posts

More in Use cases

All Use cases posts

Written by Sume