Remove or replace objects within an image using AI inpainting.
Type: Async
Usage
simplified image:magic-inpaint --url <image-url> --prompt <text> [--wait]Options
| Flag | Type | Required | Description |
|---|---|---|---|
--url | string | ✅ | Public URL of the source image |
--prompt | string | ✅ | Description of the area to remove/replace |
--wait | boolean | Block until complete (timeout: 120s) |
Example
simplified image:magic-inpaint \
--url "https://example.com/photo.jpg" \
--prompt "remove the car in the background" \
--waitResponse (with --wait)
{ "url": "https://cdn.simplified.com/inpainted.png" }