Trim & Cleanup · Versely AI

    Trim a Video to a Specific Length

    Keep the part you want. Drop the rest.

    cut_video's simplest job is a straight trim: give it one time range to keep, in seconds from the start of the source, and it returns just that portion as a new video.

    If you need to remove a section from the MIDDLE while keeping both the start and end, or stitch together several separate ranges, cut-a-section-out-of-a-video covers those variants of the same tool.

    Powered by

    cut_video

    Cut a single video down to one or more time ranges and concatenate the kept ranges into a single output video. Covers three intents in one tool: (1) TRIM — pass one segment to keep just [start, end). (2) CUT OUT a middle section — pass two segments [0, badStart] and [badEnd, end] to skip the unwanted middle. (3) SPLIT-AND-KEEP arbitrary ranges — pass N segments and they're stitched in the given order. Segments are kept ranges (NOT delete ranges), all in seconds from the start of the source video. The output is uploaded to cloud storage and the URL is returned. If you want to merge across MULTIPLE source videos (with optional per-clip trims), use compose_video_with_overlay instead — its base_media[] accepts start_sec/end_sec per video item.

    What to tell the agent

    Versely's agent maps this plain-English request directly onto cut_video. You don't need to know the parameter names — just describe what you want.

    Trim this video to just the 0:10 to 0:45 range.

    How it works

    1. 1. Pick your start and end

      Give the agent the start and end timestamps, in seconds from the beginning of the source video.

    2. 2. Pass one segment

      cut_video's segments parameter takes a single [start, end) range for a straight trim.

    3. 3. Run the cut

      The tool renders just the kept range.

    4. 4. Get the URL

      The trimmed output is uploaded to cloud storage and the URL is returned, ready for the next step in your edit.

    What it costs

    Billed as a standard editor operation. Ask the agent for estimate_cost if you want the exact number before running it on a long source video.

    The formula behind that number: What does editing a video cost if I keep changing it? charges per finished export, so iteration is free and the count is the whole bill.

    Limits & things to know

    • This trims one video — for combining trimmed sections from MULTIPLE source videos, use compose_video_with_overlay instead (its base_media items each accept their own start_sec/end_sec).
    • Timestamps are in seconds from the start of the source; frame-level precision depends on the source's frame rate.

    Who uses this

    • Cutting a long recording down to the usable portion
    • Removing dead air from the start or end of a clip
    • Isolating a single moment from a longer take

    Frequently asked questions

    Can I trim just the beginning or just the end?+

    Yes — pass a single segment covering the range you want to keep; anything before the start or after the end is dropped.

    What if I need to combine trims from several different videos?+

    cut_video works on one source video at a time. To merge trimmed ranges across multiple source clips, use compose_video_with_overlay instead — its base_media items each support their own start_sec/end_sec.

    Related Versely tools

    Related editing jobs

    Trim a Video inside Versely

    The all-in-one AI studio for creators. 60+ models for video, image, voice, music and lipsync in a single app.