Use AI to fill or replace parts of an image based on a text prompt. Great for background replacement or object insertion.
Type: Async
Usage
simplified image:generative-fill --url <image-url> --prompt <text> [--wait]Options
| Flag | Type | Required | Description |
|---|---|---|---|
--url | string | ✅ | Public URL of the source image |
--prompt | string | ✅ | Description of what to fill/generate |
--wait | boolean | Block until complete (timeout: 120s) |
Example
simplified image:generative-fill \
--url "https://example.com/photo.jpg" \
--prompt "replace background with a sunset beach" \
--waitResponse (with --wait)
{ "url": "https://cdn.simplified.com/filled.png" }