Actions11
Video → Video Highlights
AI-generatedSummary
Extracts and concatenates 2–10 user-defined segments from a source video into a single output file.
Inputs
- videoUrl (required) — Source video URL (length 1–2083).
- trimSegments (required) — Fixed collection containing 2–10 segments, each with a Start (ms, ≥ 0) and End (ms, ≥ 1, > start) time.
- exportFormat — Output video format (MP4, MOV, WEBM, GIF). Defaults to MP4. Only visible in Advanced mode.
- exportFrameRate — Output video frame rate (1–60 fps). Defaults to 30. Only visible in Advanced mode.
- exportBitrate — Output bitrate in kb/s (1–10000). Leave empty for automatic. Only visible in Advanced mode.
- mode — Simple (default) or Advanced. Advanced mode reveals export format, frame rate, and bitrate options.
Output shape
A single item containing a binary file of the concatenated video and JSON metadata.
The operation polls the API until processing succeeds or times out after 600 attempts. Returns a binary data field and JSON with the result URL, original URL, transaction ID, and the applied trim segments.
Examples
Example 1: Create a 30-second highlights reel from a 5-minute video.
Set videoUrl to the source. Add 2 segments (e.g., 0–15000ms and 30000–45000ms) in trimSegments. Use default MP4 settings.
Example 2: Compile a 10-second clip with specific export settings.
Define trimSegments with 1 segment (start: 1000, end: 11000). Enable Advanced mode, set exportFormat to MOV and exportFrameRate to 60.