edit

Media · Image · Outpaint / extend image beyond borders

Extend an image BEYOND its original borders (uncrop), generating new surrounding content from prompt. Requires mask_url marking the new area. Different from generativeFill (fills a region inside the image) and magicInpaint (edits existing content). Async — returns a task_id (auto-polled).

post/api/v1/tools/image-outpainting

Request

  • Base URL
    https://api.simplified.com
  • Auth
    API key in header Authorization

Request body

image_urlstring required

URL of the source image.

mask_urlstring required

URL of the mask defining the region to extend into.

promptstring required

Text description of what to generate in the extended area.

negative_promptstring

What to avoid in the generated content.

guidance_scalenumber double

How closely to follow the prompt (higher = more literal).

countinteger

Number of variations to generate.

Response

Async task queued.

task_idstring

Poll GET /api/v1/tasks/{task_id} until SUCCESS or FAILURE.

Changes

No recorded changes to this operation across all 1 revision of this API.