video-element-remove

Removes pedestrians, subtitles, watermarks, and logos from video. Subtitle and watermark removal can run in parallel. The clear-all mode (one-click removal of everything) includes both subtitles and watermarks; it is mutually exclusive with other modes and requires a secondary confirmation.

meitu video-element-remove

Usage Examples

# Remove subtitles (required parameters only)
meitu video-element-remove \
  --video_url ./sample.mp4 \
  --prompt "Remove subtitles from the video" \
  --json

# Remove watermark
meitu video-element-remove \
  --video_url ./sample.mp4 \
  --prompt "Remove the watermark in the bottom-right corner" \
  --json

# Clear-all with result download
meitu video-element-remove \
  --video_url ./sample.mp4 \
  --prompt "Remove all subtitles and watermarks" \
  --json \
  --download-dir ./output

Parameters

ParameterRequiredDescription
--video_urlYesType: string; the video from which to remove elements
--promptYesType: string; description of the removal target (subtitles, watermarks, logos, pedestrians, or clear-all)
--download-dirNoType: string; downloads result files to the specified local directory
--outputNoType: string[]; specifies output file paths, mapped in order to data.result.urls
--jsonNoOutputs results in JSON format for script or agent parsing