
BrandShorts - Local Video Clipping Toolkit
BrandShorts — Long Video to Branded 9:16
Upload a talking long-form video and your brand kit (colors, logo, optional font). BrandShorts transcribes the talk, finds stand-alone moments, reframes them to 9:16, and burns in your colors, logo, word-by-word captions, and hook titles. You get 1080×1920 files, plus a contact sheet and captions to review before you post.
By HookCut Studio.
What you provide
- A speech-led long video: podcast, interview, webinar, lecture, tutorial, or vlog (MP4, MOV, MKV, or WEBM).
- A brand kit: hex colors, a logo (PNG with transparency preferred), and an optional font file.
- A short onboarding, asked once: platform, how many shorts (default 5), target length, title style, caption style, optional B-roll folder, optional music, end-card text.
What you get back
- Finished
clip_NN.mp4files, 1080×1920, 30 fps, H.264 + AAC, loudness-normalized to −14 LUFS (true peak ≤ −1 dBTP). - Each short uses your colors, logo, caption style, and hook title.
- A ready-to-paste title, description, and hashtags per clip (
.txt/.meta.json), plus an.srtof the captions in the spoken language. - A contact sheet and a
summary.mdso you can review before you post.
How to use
- Install BrandShorts in your Agent Client and run
bash scripts/setup_local.sh(it installs the dependencies the full pipeline needs). - Drop your video and brand kit, or answer the short onboarding in chat.
- Run one command:
python scripts/brandshorts.py run --input video.mp4 --brand brand.json. - Review the contact sheets and captions, then post. Ask for a recut on one short if you want a different in-point or caption style.
Features
- Automatic moment detection from a timestamped transcript (speech activity, hook signals, scoring, then a tight cut list)
- Captions in the spoken language (auto-detected). The Skill never translates unless you ask
- Word-by-word captions and a 3–6 word hook title in your brand style, kept out of platform safe zones
- Face-tracked 9:16 reframing with light punch-ins
- Optional B-roll from your folder, logo bug, progress bar, SFX, and music ducking
- Two-pass loudness normalization to −14 LUFS
- Automatic QC (format, loudness, contact sheet). Weak clips are flagged, not silently shipped
- Full-power install: if a dependency cannot be installed, the Skill stops and tells you the exact command or permission it needs. It never switches to a reduced “lite” mode unless you decline
How detection works (short)
Audio is extracted at 16 kHz. A voice-activity detector finds speech. Whisper transcribes with word timestamps and detects the language. Moments are scored (hook, stand-alone punchline, energy, keywords, pace). Each keep is silence-cut, word-aligned, face-tracked into 9:16, captioned, branded, mixed, and loudness-normalized. You can optionally rate candidates or pass exact timestamps. Details are in references/detection-pipeline.md.
What you need (local tools)
This Skill is built to run in your Agent Client, on your machine — not in the Capafy cloud sandbox.
- Python 3.10–3.12
- ffmpeg ≥ 4.4 with libx264 + libass (auto-fetched if missing)
- Disk and RAM for the full profile (Whisper + wav2vec2 alignment + PySceneDetect + YuNet). A GPU is optional (
--gpu) - First run installs pinned packages and models. If an install is blocked (no admin rights, no network, too little RAM), the Skill stops and asks you to grant access or run a command. It does not silently degrade
Measured on an 8-vCPU machine with no GPU: a 5 min 49 s French talk → 4 shorts in about 5 minutes from scratch. A smaller machine still uses the full profile, just more slowly.
Good fit / not a fit
Good fit. Speech-led sources with a clear speaker. Creators, coaches, educators, and small teams who already have a logo and colors and want posts that look like their brand, not a default template.
Not a fit. Music videos, silent footage, or fast-cut gameplay; asking it to pick “the funniest joke” with no timestamps; footage you do not have the rights to post; expecting a Hollywood grade or After Effects-level motion graphics.
Honest limits
- Moment picking is assisted, not a guarantee of virality. You can always pass timestamps.
- Transcription of clear speech is solid; accents, crosstalk, and music under the voice cause errors. Check captions before you post.
- Reframing follows one face. A 16:9 1080p source is upscaled to 1080×1920 (4K sources look better).
- B-roll and music are only files you provide. Nothing is generated or downloaded for you.
- We do not invent view counts or promise that a short will go viral.
FAQ
Do I need an API key? No API key is required. The Skill runs locally in your Agent Client. An optional Hugging Face token can help if model downloads are rate-limited.
Do I need to install anything? Yes — Python, and the Skill installs the rest. If an install needs a permission or a network exception, it stops and tells you the exact command.
What language are the captions? The language spoken in the video. BrandShorts only asks if detection is uncertain. It never translates unless you explicitly ask.
Can I reuse my brand kit? Yes. Onboarding is saved in brand.json and reused for later videos.
Will this run in Capafy’s cloud sandbox? The full pipeline (Whisper, alignment, ffmpeg, several GB of models) is designed for a local Agent Client. The Capafy Run Online sandbox (about 2 CPU / 4 GB, no GPU, ffmpeg not guaranteed) is not the intended home for v1.
Rights? You must own or have a license for the footage, music, logo, and font. You are responsible for platform rules and third-party rights.
API externes
huggingface.co · pypi.org · download.pytorch.org


