Skip to content
中文

Cut shorts from a long video

A short is worth its place when each one can be posted and understood on its own: the first line hooks, the middle makes one point clearly, the end closes it. This recipe picks 2–3 passages from long content and delivers as many vertical shorts.

This is a scene recipe: it says how this kind of video is cut well; parameters for every call are in the Cut script reference.

When to use this recipe

Use it when the request says “clips”, “pick the best parts”, “cut it into shorts” or “vertical for TikTok / Channels”, and the material is a longer lesson, interview, talk or live replay.

In the Console

Without code: open Console → Cut (/cuts), click 「新建项目」 (New project), upload the long video with 「导入」 (Import) in the project’s assets panel, and hand the project link to an agent to cut it by this recipe.

What a good result looks like

AspectStandard
PassageEach passage makes one complete point: a claim or conclusion plus its reason or example; it starts on a sentence that stands alone (not “and then”, “so”) and ends on the conclusion
Length30–60 s each; shorter is better than two points in one short
OpeningThe first 3 seconds carry the passage’s strongest line (a conclusion, a number, a surprise); it may be lifted to the front as a hook before the passage itself
PictureVertical 1080×1920. Landscape slides or screen recordings: keep them whole in the middle (fit: "contain") with room for a title and captions; a landscape shot of a person: fit: "cover" and set transform.x so the person is centred
CaptionsChinese subtitle conventions, larger than in landscape; a one-line title at the top is welcome
SoundFillers and long pauses removed (as in talking-head cleanup), about -14 LUFS

Steps

Run the code below in codemode. Editing scripts go through praxis.cut.projects.execute({ body: { script } }); times inside scripts are seconds.

1. Read the transcript, pick passages

Read every sentence with its time through GetTranscript, read it through once, and pick 2–3 passages by the standard above, noting each one’s source start and end. Read each passage’s first sentence on its own: does it make sense alone?

2. One project per short

Create a vertical project per short (settings: { width: 1080, height: 1920, fps: 30 }) and give the user each console_url. The script holds only that passage:

const voice = AddTrack("audio", { name: "Talk", role: "voice" });
const part = Insert(voice, { type: "audio", media: { libraryId, assetId: talkId }, start: 0, sourceIn: from, length: to - from });

For video material use AddTrack("video") and type: "video", trimmed to the same passage.

3. Clean, picture, captions

Clean the passage as in talking-head cleanup (RemoveFillers with dryRun first, then delete; long pauses go to DeleteWords in source time). Put the picture on a track under the sound: landscape slides with fit: "contain", a person with fit: "cover" and transform.x. Then captions:

const subs = AddTrack("caption", { name: "Captions" });
AddCaptionsFromTranscript(subs, part, { style: { preset: "subtitle-outline" } });

4. Title and hook

Add a one-line title at the top (what this short is about, at most 10 characters) from second 0 to the end. For a hook, copy that line to the very front and follow it with the whole passage.

5. Look, export

Look at 3–4 frames per project (include second 0) to make sure slides and captions are whole and readable in portrait; export each, and read each export’s checks.

Tiers

TierIncludesDone when
DraftPassages, portrait picture, captionsEvery draft plays end to end
Standard (recommended)Draft plus fillers and pauses removed, a top title, one look at framesEach export’s checks are clear and its first line stands alone
FineStandard plus an opening hook, pacing and picture tuned per shortThe user approves each short

Common mistakes

  • Two points in one short: split it, or keep one.
  • Starting on “and then” or “so”: alone it has no head; take one more sentence.
  • Landscape slides covering the portrait frame: cover crops the slide’s sides; use contain for slides.
  • All shorts in one project: one project per short, each exported on its own.

Next steps