Video Api Hub icon

Video Api Hub

Process, create, and transform videos with Video Api Hub

Edit Video → Clip Multiple Sections

AI-generated

Summary

Clip multiple sections from a video by either defining specific start times and durations for each segment or creating evenly spaced clips at regular intervals. Specify the input video source, output format, and how to receive the finished result.

Inputs

  • Video Source (required) — URL or file path of the source video to clip segments from.
  • Output Format — Choose the output video format, such as MP4, MOV, WebM, or MKV.
  • How to Get the Result — Method to receive the output: direct file download, permanent public URL, temporary signed download link, or storage only.
  • Link Expires After (Seconds) — Duration that the temporary download link remains active if chosen.
  • Advanced Settings — Optionally specify a custom save path for the output video in storage.
  • Clip Mode (required) — Select between custom segments by specifying exact start times and durations, or evenly spaced clips starting at a given time with defined length, gap, and number of clips.
  • Segments — When using 'Pick Specific Segments' mode, define multiple segments each with start time and duration in seconds.
  • Start At (Seconds) — When using 'Evenly Spaced Clips' mode, set the start time of the first clip.
  • Each Clip Length (Seconds) — Duration of each clip when creating evenly spaced clips.
  • Gap Between Clips (Seconds) — Time gap to skip between clips in evenly spaced mode.
  • Number of Clips — How many clips to create in evenly spaced mode.

Output shape

a single JSON object containing the clipping job status and result data or a downloadable video file, depending on the selected output method.

If 'File' outputType is chosen, the video file binary is directly returned. If 'Public URL' or 'Download Link' is selected, URLs are returned. For 'Save to Storage Only', metadata is returned and the clip is saved to the user's VideoApiHub storage. The operation supports pagination implicitly via processing single video clipping tasks per node execution.

Examples

Example 1: Clip multiple specific segments from a video

Provide the video URL, choose 'Pick Specific Segments' mode, add one or more segments with exact start and duration times, select output format and output type, then run the node to receive the clipped segments concatenated or as a single output according to API behavior.

Example 2: Create evenly spaced clips

Provide the video URL, select 'Evenly Spaced Clips' mode, define start time, clip length, gap between clips, and number of clips, choose desired output format and delivery method, then execute to generate multiple clips at specified intervals from the video.

Links

Discussion