image:replace

Replace a specific object or area in an image using a text prompt.

Type: Async

Usage

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

Options

FlagTypeRequiredDescription
--urlstringPublic URL of the source image
--promptstringDescribe what to replace and with what
--waitbooleanBlock until complete (timeout: 120s)

Example

simplified image:replace \
  --url "https://example.com/photo.jpg" \
  --prompt "replace the red car with a blue bicycle" \
  --wait

Response (with --wait)

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