video-stitch
Stitches multiple video clips together in sequence. Two modes are supported: plain stitching (retaining original audio) and stitching with automatic background music. Specifying a particular music URL (requires upper-level orchestration) and custom transitions are not supported.
meitu video-stitch
Usage Examples
# Plain stitch retaining original audio (required parameters only)
meitu video-stitch \
--video_list ./clip1.mp4 \
--video_list ./clip2.mp4 \
--prompt "Stitch in sequence" \
--json
# Stitch with automatic background music
meitu video-stitch \
--video_list ./clip1.mp4 \
--video_list ./clip2.mp4 \
--video_list ./clip3.mp4 \
--prompt "Stitch and add upbeat background music" \
--json
# Adjust volume with result download
meitu video-stitch \
--video_list ./clip1.mp4 \
--video_list ./clip2.mp4 \
--prompt "Stitch videos" \
--video_volume 0.8 \
--canvas_flag 1 \
--json \
--download-dir ./outputParameters
| Parameter | Required | Description |
|---|---|---|
--video_list | Yes | Type: string[]; list of at least 2 video URLs |
--prompt | Yes | Type: string; stitch requirement description (e.g., whether to add background music) |
--music_url | No | Type: string; audio input (passed in by upper-level orchestration) |
--video_volume | No | Type: number; default: 1; original video audio volume, range 0-1 |
--canvas_flag | No | Type: number; default: 0; options: 0 / 1 |
--download-dir | No | Type: string; downloads result files to the specified local directory |
--output | No | Type: string[]; specifies output file paths, mapped in order to data.result.urls |
--json | No | Outputs results in JSON format for script or agent parsing |