edit

Media · Image · Magic inpaint — AI object removal / replacement

Remove or replace objects in an image, guided by prompt, with no mask needed (the model locates the target). Use for "remove the person" / "replace the car with a bike". With an explicit mask region use generativeFill; to extend beyond the borders use imageOutpainting. Async — returns a task_id (auto-polled).

post/api/v1/tools/magic-inpaint

Request

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

Request body

image_urlstring required

URL of the source image.

promptstring required

Text description of the desired result.

scalenumber double

Guidance scale for generation strength.

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.