Outpaint Image
Changed onExtend one image past its own borders onto a larger canvas (metered provider call).
The two argument surfaces and every refusal they carry are resolved inside the runner, against the source Moda measured — so the 422s here are the same ones the agent and the connector get, worded once. That includes the model's output ceiling, which the per-side cap does not imply.
The response carries applied: the effective mode, the requested aspect ratio, the resolved four-side expansion, the source's dimensions, the canvas those expansions add up to, and the dimensions actually delivered.
Request
- Base URLhttps://api.moda.app/v1
- URLhttps://api.moda.app/v1/media/outpaint
- AuthHTTP bearer
Headers
Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.
Request body
Response
Successful Response
Changes
- info
endpoint added
- info