Loading...
Loading...
Edits an existing image using a text prompt. Use when you need to modify, enhance, or transform an image based on text instructions.
npx skill4agent add agntswrm/agent-media image-editagent-media image edit --in <path> --prompt <text> [options]| Option | Required | Description |
|---|---|---|
| Yes | Input file path or URL |
| Yes | Text description of the desired edit |
| No | Output path, filename or directory (default: ./) |
| No | Provider to use (default: auto-detect) |
| No | Model override (e.g., |
{
"ok": true,
"media_type": "image",
"action": "edit",
"provider": "fal",
"output_path": "edited_123_abc.png",
"mime": "image/png",
"bytes": 567890
}agent-media image edit --in photo.jpg --prompt "make the sky more vibrant"agent-media image edit --in portrait.png --prompt "add sunglasses"agent-media image edit --in scene.jpg --prompt "change to night time" --provider replicateFAL_API_KEYREPLICATE_API_TOKENRUNPOD_API_KEYAI_GATEWAY_API_KEY