Clips

Split a clip in two

Changed on

Split a clip in two at a time on its playback timeline, like the editor's split at the playhead. The clip keeps everything before atMs, and a new clip inserted right after it continues from there. Each cut, layout, zoom, blur, highlight and overlay goes to the part it sits on. One that spans atMs is split too: each part keeps its side, and a video, audio or sound effect overlay keeps playing in the second clip from where the first stopped. Both parts must play for at least 200 ms. Returns both clips in playback order; the first keeps the original clip's id.

post/v1/videos/{id}/clips/{clipId}/split

Request

Path parameters

idstring required

Video identifier

Example:vid_abc123def456
clipIdstring required

Clip identifier

Example:cl_xyz789ghi012

Request body

atMsinteger required

Where to split, in ms on the clip's playback timeline (cuts applied, the same timeline as the transcript). At least 200 ms from either end of the clip.

Example request

{
  "atMs": 12000
}

Response

OK

Example response

{
  "clips": [
    {
      "animatedCursor": true,
      "background": {
        "color": "#000000ff",
        "gradientAngle": 45,
        "gradientColor1": "#ff0080ff",
        "gradientColor2": "#7928caff",
        "shaderGradientPreset": "Halo",
        "sourceId": "su_abc123",
        "type": "solid",
        "videoDurationSeconds": 12.4
      },
      "borderStyle": "subtle-shadow",
      "cameraFocusPoint": {
        "xPct": 50,
        "yPct": 35
      },
      "corners": "regular",
      "createdAt": "2026-01-15T10:30:00.000Z",
      "cuts": [
        {
          "durationMs": 750,
          "startTimeMs": 1500
        }
      ],
      "durationSeconds": 12.5,
      "id": "cl_xyz789ghi012",
      "layoutSceneType": "combi",
      "maxDurationSeconds": 14.2,
      "microphoneVolume": 0.4,
      "name": "Intro",
      "transition": "default",
      "updatedAt": "2026-01-15T14:45:00.000Z",
      "videoId": "vid_abc123def456"
    }
  ]
}

Changes