image-edit
Image Edit
Edits one or more images using a text prompt (image-to-image transformation). Supports multiple input images for combining styles, subjects, or scenes.
Command
npx agent-media@latest image edit --in <paths...> --prompt <text> [options]
Inputs
| Option | Required | Description |
|---|---|---|
--in |
Yes | One or more input file paths or URLs |
--prompt |
Yes | Text description of the desired edit |
--aspect-ratio |
No | Aspect ratio for output (e.g., 1:1, 16:9, auto) |
--resolution |
No | Output resolution (e.g., 1K, 2K, 4K) |
--out |
No | Output path, filename or directory (default: ./) |
More from agntswrm/agent-media
audio-transcribe
Transcribes audio to text with timestamps and optional speaker identification. Use when you need to convert speech to text, create subtitles, transcribe meetings, or process voice recordings.
135image-remove-background
Removes the background from an image, leaving the foreground subject with transparency. Use when you need to isolate subjects, create cutouts, or prepare images for compositing.
134image-crop
Crops an image to specified dimensions around a focal point. Use when you need to extract a portion of an image, create thumbnails with custom positioning, or prepare images for specific aspect ratios.
87image-generate
Generates an image from a text prompt using AI models. Use when you need to create images from descriptions, generate artwork, or produce visual content from text.
81video-generate
Generates video from text prompts or animates static images. Use when you need to create videos from descriptions, animate images, or produce video content using AI.
70image-resize
Resizes an image to specified dimensions. Use when you need to change image size, create thumbnails, or prepare images for specific display requirements.
51