Turn long videos into viral vertical shorts and publish them to TikTok, Instagram and YouTube.
io.github.mutonby/openshorts (MCP Server)
The MCP server io.github.mutonby/openshorts converts long videos into viral vertical shorts and publishes the results to TikTok, Instagram, and YouTube. Its scope centers on short-form video generation, clipping, and distribution across multiple UGC platforms.
๐ ๏ธ Key Features
Clip generation for vertical short-form content
Publishing to TikTok, Instagram, and YouTube
๐ Use Cases
Turning existing long-form videos into vertical shorts
Distributing short-form video outputs across major social platforms
โก Developer Benefits
Clearly scoped workflow for shorts: generate clips and publish to supported platforms
Topic signals for integration focus (e.g., clip-generator, video-editing, video-generation)
โ ๏ธ Limitations
Only described for TikTok, Instagram, and YouTube publishing; no other platforms are listed
Self-hosting is genuinely free and always will be. It costs you a machine, your own API keys and the time to keep it running. The hosted plans exist to cover that hardware and those keys, not to unlock features.
Click the image above to watch the full walkthrough.
3 Tools in 1 Platform
1. Clip Generator
Turn your long-form videos โ podcasts, webinars, livestreams, vlogs, interviews โ into viral-ready 9:16 shorts for TikTok, Instagram Reels, and YouTube Shorts.
2. AI Shorts (UGC Video Creator)
Generate marketing videos with AI actors for any product or business. No camera, no studio, no influencer budget. Just describe your product or paste a URL.
Two cost modes: Low Cost ($0.65/video) and Premium ($2/video)
Works for any business: SaaS, restaurants, e-commerce, coaching, local businesses
AI-generated actors with lip-sync, voiceover, b-roll, and TikTok-style subtitles
Choose from a shared avatar gallery or upload your own photo
Publish directly to TikTok, Instagram, and YouTube
3. YouTube Studio
Complete free AI YouTube toolkit: thumbnails, titles, descriptions, and direct publishing.
AI thumbnail generator with face overlay
10 viral title suggestions with refinement chat
Auto-generated descriptions with chapter timestamps
One-click publish to YouTube
UGC Video Gallery
All generated videos and avatars are saved to a public gallery with SEO pages for each video.
UGC Gallery
Public gallery page with hover-to-play (/gallery)
Individual SEO video pages with og:video meta tags (/video/{id})
JSON-LD structured data for search engines
Avatar gallery with prompt history
Key Features
Clip Generator
Viral Moment Detection: Google Gemini 3.0 Flash analyzes transcripts and scene boundaries to detect 3-15 high-potential moments
Smart 9:16 Cropping: Dual-mode AI reframing โ TRACK mode (MediaPipe + YOLOv8 face tracking) and GENERAL mode (blurred background)
Auto Subtitles: faster-whisper with word-level timestamps, styled and burned into clips
AI Voice Dubbing: ElevenLabs integration for 30+ languages with voice cloning
Hook Text Overlays: AI-generated attention-grabbing text overlays
AI Video Effects: Gemini-generated FFmpeg filters for professional effects
AI Shorts Pipeline
Analyze: Scrape website URL + web research, or generate from manual description
Script: AI writes viral scripts (hook - problem - solution - CTA format)
Actor: Generate AI actors with Flux 2 Pro or select from shared gallery
Self-hosting OpenShorts is free. You provide the machine and you only pay for the AI APIs you use, and most have generous free tiers:
Service
Free Tier
Paid Cost
Used For
Google Gemini
Free trial with generous limits
< $0.01 per 10-min video
Viral moment detection, script generation, web research
fal.ai
Pay-per-use
~$0.50-1.50 per AI Short
Actor generation, talking head video, lip-sync
ElevenLabs
Free tier available
Pay-per-use
Voiceover, voice dubbing
Upload-Post
10 free uploads/month to all networks (no credit card)
Pay-per-use
Auto-publishing to TikTok, Instagram, YouTube
AWS S3
Optional
~$0.023/GB
Cloud backup for clips and gallery
Bottom line: You can clip videos for practically free with Gemini, and publish 10 videos/month to all social networks at zero cost with Upload-Post.
Don't want to run any of that?openshorts.app is the same software on our hardware: our NVIDIA GPU clips an 8-minute video in about 50 seconds instead of the 5 to 8 minutes it takes on a typical CPU, the Gemini key is included, and auto-publishing is already wired up. Free plan is 20 minutes a month with a watermark and no credit card; paid plans start at $12/mo for 100 minutes without watermark.
Reframe โ AI vertical cropping with subject tracking
Effects โ Subtitles, hooks, AI video effects
Publish โ S3 backup + Upload-Post social distribution
AI Shorts
Analyze โ Website scraping + Gemini web research (or manual description)
Script โ Gemini generates viral scripts with segments
Actor โ Flux 2 Pro portrait generation (or gallery/upload)
Voice โ ElevenLabs TTS voiceover
Video โ Hailuo 2.3 Fast img2video + VEED Lipsync (Low Cost) or Kling Avatar v2 (Premium)
B-roll โ Flux 2 Pro image generation + Ken Burns effect
Composite โ FFmpeg assembly with ASS subtitles and hook overlays
Gallery โ Upload to public S3 with metadata for SEO pages
Publish โ Upload-Post to TikTok, Instagram, YouTube
Automate It: MCP Server, REST API and Webhooks
You don't need the dashboard. The whole pipeline is callable by AI agents and scripts.
MCP server (/mcp)
OpenShorts ships a built-in MCP server, so Claude, ChatGPT, Cursor or any MCP client can clip and publish videos for you:
bash
# Hosted (create an API key in your account page at openshorts.app):
claude mcp add --transport http openshorts https://mcp.openshorts.app/mcp \
--header "Authorization: Bearer osk_..."# Self-hosted (no key needed, BYOK rules apply):
claude mcp add --transport http openshorts http://localhost:8000/mcp
Tools: process_video, get_job_status, list_clips, get_quota, add_subtitles, publish_clip. A prompt like "clip this podcast and schedule the best 3 to TikTok" is now a one-liner in your agent of choice.
REST API + API keys
Hosted accounts can mint osk_... API keys (account page). A key authenticates as you everywhere โ same plan, same minutes, same job ownership:
Interactive docs at /docs (OpenAPI) on any instance.
Completion webhooks
Pass webhook_url (and optionally webhook_secret) to POST /api/process and you get exactly one POST when the job reaches a terminal state โ no polling loops in your n8n / Zapier / cron pipelines:
Contributions are welcome! Whether it's adding new AI models, improving the lip-sync pipeline, or building new features โ feel free to open a PR.
License
MIT License for the core application โ OpenShorts is yours to use, modify, and scale.
Exception: the cloud/ directory (billing, managed keys, and the hosted-service infrastructure behind the optional BILLING_ENABLED flag) is source-available under the OpenShorts Commercial License. You can read it, modify it, and self-host it for personal or internal use, but you can't offer it to third parties as a paid/hosted service. Self-hosting the core app never requires this directory.
Install
Remote endpoint
Streamable HTTP
Hosted server - connect over the network, no local install.