← Back to Leaderboard
Fmodelscope

modelscope/FunClip

Local FunASR video editing in Gradio: cut by transcript or speaker and export subtitles

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A+ · 92/100
Maintenance Activity
● Updated yesterday
Latest Release
v2.2.1
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption20/25
Release Cadence17/20
License Clarity20/20
Self-HostedLocal AICLI
Total Stars
★ 6,668
24h Growth
+2
7d Growth
+27
Forks
794

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

modelscope/FunClip Star History (2023-05-16 - 2026-12-03) ALL-TIME STAR HISTORY (2023-05 – 2026-12) +6.7k in 1297d · avg +5/day 7k 3.5k 0 2023-05-16: ★ 12023-08-05: ★ 472023-10-28: ★ 752024-01-20: ★ 1182024-04-13: ★ 2242024-07-06: ★ 2,6132024-09-28: ★ 3,2522024-12-21: ★ 3,7732025-03-15: ★ 4,1732025-06-07: ★ 4,5252025-08-30: ★ 4,8122025-11-22: ★ 5,0502026-02-14: ★ 5,2482026-05-09: ★ 5,5192026-08-01: ★ 6,0442026-12-03: ★ 6,668 ★ 6.7k 2023-05 2025-02 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

FunClip is a Python application that uses speech recognition as the index for video editing. funclip/launch.py starts the Gradio 4 browser UI; funclip/videoclipper.py exposes separate recognition and clipping stages. FunASR sits on a PyTorch/torchaudio stack, with MoviePy 1.0.3 and Pillow on the output side. The recognition result supplies timestamps, and where supported, speaker labels. FunClip uses those to map text or speaker selections back to source footage and generate subtitles.

There are two distinct backend boundaries. For ASR, the opt-in MOSS path delegates transcription and diarization to a separately served vLLM endpoint with an OpenAI-compatible transcription API. For highlight selection, OrcaRouter and Cheaper Inference take transcripts and prompts over OpenAI-compatible chat APIs; TwelveLabs Pegasus instead analyzes the video. Pegasus returns timed segments in the format already accepted by the AI Clip action, so selection can change without changing how the resulting cuts are rendered.

Key Capabilities & Differentiators

Chinese Paraformer is the default for precise text-led clipping; -l en selects English Paraformer. SeACo-Paraformer hotwords help with names and domain terms, and CAM++ speaker IDs let editors select one speaker's turns. FunClip can cut multiple selections and produce SRT subtitles for both the full video and the selected clips. In v2.2.1, the built-in Pillow RGBA renderer uses a bundled font to preserve the selected subtitle color through encoding without requiring ImageMagick for the standard path.

Fun-ASR-Nano is a transcription option, while SenseVoice offers multilingual ASR with emotion and audio-event tags. MOSS adds end-to-end segmentation and diarization at segment-level timing: it supports SRT export, speaker-based clipping, and LLM timestamp clipping, but does not replace Paraformer for exact phrase boundaries. MOSS labels such as spkS01 are anonymous within a recording. They do not verify identity or carry across recordings, and external VAD or speaker chunking should not be added to that path because it can break label consistency.

Trade-offs & Limitations

FunClip fits speech-led editing better than a timeline-first workflow when the editor starts with a quote, topic, or speaker rather than a timecode. The main constraint is timestamp granularity, not just transcript quality: Nano is useful for transcription, while Paraformer is the better fit for exact text cuts. Transcript-only AI selection can miss scene changes and on-screen action; Pegasus covers those inputs at the cost of sending video to an external service. Silence removal and inverse interval selection are listed as unfinished, so don't plan a workflow around them.

For offline CPU or edge transcription without video clipping, the FunASR llama.cpp/GGUF runtime avoids the Gradio and video-rendering stack. Local FunClip ASR and clipping can keep media on the host once model weights are available, but a remote MOSS service receives audio and external LLM gateways receive transcripts and prompts. MIT covers the application code; model and provider terms still need separate review.

Hardware & Deployment Guide

Use an isolated Python environment; the setup example uses Python 3.12. Install a platform-matched PyTorch/torchaudio pair, then requirements.txt, and run python -m pip check. Keep funasr>=1.4.9, Transformers 4.x, and Gradio 4 with pydantic>=2,<2.11 and starlette<1.0; the latter constraints guard against Gradio schema and template incompatibilities. python funclip/launch.py starts the UI at localhost:7860. Size ASR inference and video rendering separately using representative media and expected concurrency; there is no fixed VRAM figure. Source archives omit model weights, which are fetched separately on startup.

v2.1.1 tightened fresh-install compatibility, v2.2.0 added the optional MOSS vLLM path, and v2.2.1 changed subtitle rendering and published source snapshots with SHA-256 checksums. For MOSS, start the service separately; the default endpoint is http://127.0.0.1:8898/v1, and optional bearer credentials come from MOSS_API_KEY. If scripting stage-2 video output, use commit 7c63759 or later rather than the v2.2.1 archive: with explicit --output_file, success means both MP4 and SRT were written, existing outputs are not overwritten, and an unmatched selection exits nonzero without writing either file.

Clip precision: Paraformer token timestamps support phrase-level selection; MOSS timestamps are segment-level.
ASR selection: The launcher supports Chinese and English Paraformer, Fun-ASR-Nano for transcription, and multilingual SenseVoice with emotion and audio-event tags.
Speaker selection: CAM++ supplies speaker IDs for clipping; the opt-in MOSS backend performs segmentation and diarization end to end through vLLM.
Subtitle export: FunClip produces SRTs for the full video and selected clips; v2.2.1 uses Pillow RGBA rendering and a bundled font for burn-in.
AI-assisted selection: OpenAI-compatible gateways process transcripts and prompts, while TwelveLabs Pegasus considers the video itself.
CLI automation: videoclipper.py separates recognition from clipping; the documented stage-2 file and exit guarantees require commit 7c63759 or later.
Best For

Editors and small teams turning interviews, talks, or courses into subtitled clips, with Chinese or English phrase selection and an optional AI pass for highlight suggestions.

Skip If

You only need edge transcription, rely on silence removal or inverse interval selection, or need frame-level visual editing as your primary workflow.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedLocal AICLI
git clone https://github.com/modelscope/FunClip.git
cd FunClip
python3.12 -m venv .venv
. .venv/bin/activate
python -m pip install -r requirements.txt
python -m pip check
python funclip/launch.py --help

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
FunClip ★6.7k+27PythonMITLocal FunASR video editing in Gradio: cut by transcript or speaker and export su
voice-pro13.5k+34PythonGPL-3.0Self-hosted Gradio studio for transcription, translation, and dubbing
stable-diffusion-webui165.4k+65PythonAGPL-3.0Gradio WebUI for local Stable Diffusion generation, editing, and parameter sweep
ComfyUI149.9k+945PythonGPL-3.0A node-graph engine for building and running multimodal AI workflows locally

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/modelscope/FunClip.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

modelscope/FunClip Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about FunClip

Should I integrate Paraformer or MOSS for speaker-led editing?

Choose Paraformer when editors need to select an exact phrase from the transcript. Its token timestamps let FunClip cut within a longer sentence. Choose MOSS when speaker turns matter more than word-level boundaries and you can run a separate vLLM transcription service. MOSS speaker labels are anonymous and scoped to one recording.

Do I need a GPU, and how should I size a shared installation?

There is no single VRAM requirement. Start with the Linux CPU setup to validate the workflow, then benchmark representative recordings at your intended concurrency. Measure ASR separately from MoviePy rendering and subtitle encoding so you know which stage benefits from more resources. If you use MOSS, size the vLLM host separately from the FunClip UI and rendering host.

Can I use FunClip commercially and keep client media on premises?

FunClip's application code is MIT-licensed. Review the terms of the model checkpoints and external services you actually use separately. For sensitive media, distinguish local ASR and rendering from an optional remote MOSS endpoint that receives audio, LLM gateways that receive transcripts and prompts, and TwelveLabs processing that receives video.

When is FunClip a better fit than the FunASR GGUF runtime?

Choose FunClip if you need a browser workflow that turns transcripts into clips and subtitles. For CPU or edge transcription without video editing, the FunASR llama.cpp/GGUF runtime is the more direct fit. Within FunClip, use Paraformer rather than Nano when the deliverable depends on exact text-selected cuts rather than transcription alone.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining modelscope/FunClip? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature modelscope/FunClip on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare