yuxino-labs/koma
Self-hosted AI video analysis: summaries, chapters, keyframes, transcripts and SRT / JSON export. AI 视频总结、字幕提取与结构化分析。
Koma — AI Video Analysis Tool
What it is: Koma is a self-hosted AI tool that analyzes videos. You upload a video file or paste a direct MP4 link, and it helps you quickly find the important parts, then turns the results into notes or tables.
Main features:
- Video breakdown: Generates summaries, chapters, tags, subtitles, and descriptions of key frames. Clicking a result jumps to that exact moment in the video.
- Search & export: Search within subtitles, export Markdown analysis or SRT subtitles. You can also define custom fields and export as JSON, CSV, Markdown, SRT, or TXT.
- Personal workspace: Log in with GitHub to keep your tasks in a personal workspace. You can view, search, retry, or delete tasks from any browser. There's also a separate admin panel to configure AI models and API keys.
How to run it:
- Requires Node.js 22.13+ (FFmpeg and ffprobe are already included).
- Clone the repo, run
npm install, thennpm run dev. - Open
http://localhost:5173. - For web analysis, you need to configure GitHub login (see docs).
- Real subtitles need a speech recognition service; summaries, frame analysis, and custom output need a vision model. If these aren't configured, the tool uses demo data.
- Default limits: 500 MB file size, 15 minutes duration. Remote input only works with direct HTTP(S) MP4 links (can include signed parameters) — not platform pages, share links, or videos requiring login or membership.
Privacy & security:
- Audio is sent to the configured speech service; key frames and subtitle context go to the vision model.
- New tasks are only accessible to the owner and admin. Videos and results stay until you delete them. OSS signed download URLs remain usable until they expire.
- Custom analysis drafts are stored in your current browser, separated by account.
- GitHub login does not grant admin rights. If you deploy publicly, you should set up outbound network policies or a trusted URL whitelist — URL import is not a complete SSRF defense.
Command-line interface (CLI):
- Works locally without a GitHub account.
- Build first (
npm run build), then run:node dist-server/cli.js demo.mp4 --lang zh --json result.json - Use
--helpfor options.
Documentation:
- Configuration, admin panel, HTTP API, and deployment guides are linked in the README.
Related
- Project
- Project
- Project
- Project
- Project