image-remove-background
Installation
SKILL.md
Image Remove Background
Removes the background from an image, leaving only the foreground subject with transparency.
Command
npx agent-media@latest image remove-background --in <path> [options]
Inputs
| Option | Required | Description |
|---|---|---|
--in |
Yes | Input file path or URL |
--out |
No | Output path, filename or directory (default: ./) |
--provider |
No | Provider to use (local, fal, replicate) |
--resolution |
No | Output resolution (e.g., "2048x2048"). Supported by fal Dynamic model. |