Downloads · 30 days
0
zeeshanggg/storycut-backend
storycut-backend is a machine learning model from zeeshanggg. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A complete, production-style automatic video editing web application. You provide the story (script) and the timing (voice-over); the app finds/selects visuals, trims and synchronizes them, builds subtitles and text a…
Downloads · 30 days
0
Access
Public
Updated Sep 24, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py181 KB · 43%
From the Hugging Face model README
A complete, production-style automatic video editing web application. You provide the story (script) and the timing (voice-over); the app finds/selects visuals, trims and synchronizes them, builds subtitles and text animations, and hands you a full professional timeline for final review — then exports a real video file.
cd ~/workspace/broll-editor
./start.sh
# open http://127.0.0.1:8099
start.sh creates/uses the local Python venv, installs Flask, and starts the
server. All data (projects, uploads, settings, cache) lives in storage/.
ffprobe duration + ffmpeg silencedetect
speech-energy intervals. Sentences are distributed across detected speech
intervals proportionally to word count, preserving real pauses. This is an
energy-based alignment, not word-level ASR — the UI says so, and word
timestamps are interpolated. (Install Whisper for true word alignment;
the pipeline will prefer it if a whisper binary/API is configured —
not bundled.)Settings → B-Roll Sources. Pexels and Pixabay need free API keys (links in
the app). Keys are stored server-side in storage/settings/ and only ever
shown masked. Provider priority, enable/disable, Test Connection, and
license/attribution notes per provider. Every B-roll clip keeps provider,
asset ID, source URL, creator, license, retrieval date and the query that
found it; a credits list can be assembled from the timeline.
Mixkit / Coverr / Videvo / Dareful are listed with honest status notes — no verified public API is fabricated. Manual downloads from them work through "Auto Edit My Footage".
backend/ Flask API (analysis, providers, export, storage)
providers/ modular adapters: base, pexels, pixabay, registry
frontend/ vanilla JS SPA (no build step)
js/ api, store, wizard, pipeline, timeline, preview,
panels, exporter, app
storage/ uploads, projects, cache, exports, settings, metrics
./start.sh, then: script+voice only, script+voice+videos, images,
16:9 and 9:16, provider failure (no keys), missing visual (gap slug),
replace/regenerate, locked segments, export. Backend pieces are covered by
the smoke tests in this build's development log.