image:magic-inpaint

Remove or replace objects within an image using AI inpainting.

Type: Async

Usage

simplified image:magic-inpaint --url <image-url> --prompt <text> [--wait]

Options

FlagTypeRequiredDescription
--urlstringPublic URL of the source image
--promptstringDescription of the area to remove/replace
--waitbooleanBlock until complete (timeout: 120s)

Example

simplified image:magic-inpaint \
  --url "https://example.com/photo.jpg" \
  --prompt "remove the car in the background" \
  --wait

Response (with --wait)

{ "url": "https://cdn.simplified.com/inpainted.png" }