ShortSmash

io.github.hydope由 GitHub 帳號 hydope 發布v0.3.0更新於 Nov 4, 2026

Generate finished short videos from a prompt, fetch trends, and check project status via MCP.

已驗證STDIO僅桌面溝通與協作媒體與設計

概覽

AI 產生的概覽

ShortSmash 能把一句提示或熱門話題變成附字幕的成品直式短影音並發佈到社群平台,其 MCP 伺服器讓助理直接驅動這條流程。

可以做什麼
  • 依提示詞生成短影音,包含腳本、配音、經驗證的素材或 AI 畫面、字幕與渲染
  • 依領域抓取熱門話題,並把趨勢批次做成影片
  • 列出專案並查詢影片生成進度
  • 透過各平台官方 API 發佈或排程發佈成品影片(依 README;MCP 工具清單本身未公開)
適用情境
適合希望助理從一句話或當下熱點端到端產出直式短影音,並在對話中追蹤或發佈這些專案的情境。
執行需求
以 Python 套件形式在使用者電腦本機執行(uvx shortsmash),需要 Python 3.11–3.13 與 ffmpeg。生成影片需要 API 金鑰,例如免費的 Pixabay 金鑰與某個 LLM 金鑰(Gemini、NVIDIA NIM 或相容 OpenAI 的端點);發佈需要各平台的 API 憑證。MCP 伺服器本身未宣告驗證。
安裝前請注意
流程會呼叫第三方 LLM、語音合成、素材庫與 AI 影片服務,提示詞與生成內容會離開本機。發佈會向已連結的社群帳號貼文,排程工作會實際排入發佈,啟用前請確認。平台 API 憑證存放在本機設定中。README 的一行安裝指令會下載並執行遠端腳本。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ShortSmash,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ShortSmash ⚒️

[ShortSmash — Prompt in. Finished short out.]

[MIT License] [Python 3.11+] [Tests] [CI]

Prompt in. Finished short out.

ShortSmash is an AI video studio that takes one sentence — or today's trends — and ships a finished, captioned 9:16 short, then publishes it to YouTube, TikTok, Instagram, X, Threads, Bluesky, LinkedIn, Pinterest, and Facebook (profiles + Pages) through their official APIs. Script, voiceover, verified stock footage, karaoke captions, music ducking, trend harvesting, batch production, scheduling and comment-reply drafts, all in one CLI. And an MCP server, so AI agents can drive the whole factory.

bash
shortsmash trends food                    # what's hot right now (free, no keys)shortsmash batch food --count 5           # turn the top 5 trends into 5 videosshortsmash serve                          # 🆕 web studio: http://localhost:8000shortsmash agent "make a 30s reel about coffee and post it Friday at 6pm"shortsmash post myvideo.mp4 --caption     # post YOUR video: AI title + hashtagsshortsmash post myvideo.mp4 --at "Friday 6pm" --platforms youtube,tiktok
bash
git clone https://github.com/hydope/shortsmash && cd shortsmash./install.sh                          # Windows: .\install.ps1shortsmash "why you can't tickle yourself"   # prompt in, finished short out

🏆 Featured in

ShortSmash is listed in curated awesome lists (merged PRs):

🏗️ Architecture

mermaid
flowchart LR    P["Prompt / trend"] --> LLM["LLM: script + shot plan<br/>(NVIDIA · Gemini · Grok)"]    LLM --> TTS["Neural TTS<br/>(50 languages)"]    LLM --> VIS["Visuals<br/>(Pixabay · Agnes · Veo 3.1 · Kling)"]    VIS --> GATE["Vision gate<br/>(CLIP + Gemini)"]    GATE -->|reject| VIS    TTS --> REN["FFmpeg render<br/>1080×1920 · karaoke captions<br/>cinematic grade · music"]    GATE --> REN    REN --> DUB["Dub engine<br/>(50 languages)"]    REN --> PUB["10 publishers<br/>(official APIs)"]    DUB --> PUB    PUB --> SCHED["Scheduler<br/>(SQLite · 'Friday 6pm')"]

🖥️ ShortSmash Studio (web UI)

shortsmash serve launches a dark, fast studio in your browser — no build step:

  • 🎬 Studio tab — type a topic, hit Smash, watch it build; video previews inline
  • 📈 Trends tab — browse what's hot per niche, click any trend to use it as your topic
  • 📚 Library tab — every project, video preview, one-click publish
  • 📤 Manual posts — upload your own video, get a pre-flight check (resolution, duration, per-platform limits), AI-written title + hashtags, then post now or schedule it ("Friday 6pm") to 10 platforms
  • 📊 Stats tab — your output at a glance

🎬 Demo

Made end-to-end by ShortSmash — no hand-picked clips, no human editing. LLM script, neural voice, CLIP-verified stock footage, karaoke captions, ducked music bed.

"How Goats Made You Addicted to Coffee" — 49s, 1080×1920, made from one prompt. Click to play:

[圖片]

Same video, re-voiced — native neural voices, same verified footage:

[圖片] [圖片] [圖片] [圖片]

Español · اردو · Roman Urdu · 中文 — the Mandarin version uses a native voice (not translationese) with Hanzi karaoke captions. One project, every audience.

More demos — each made from a single prompt, click to play:

Why you can't tickle yourself — 11s, 1080×1920

[圖片]

The deepest place on Earth — 14s, 1080×1920

[圖片]

Why time flies faster as you get older — 11s, 1080×1920

[圖片]

📤 Or skip the AI — post your own video

Upload any video, get a pre-flight check (resolution, duration, per-platform limits), an AI-written title + hashtags, then post now or schedule it ("Friday 6pm") to 10 platforms. In the Studio's Publish tab, or one command: shortsmash post myvideo.mp4 --caption

[Studio: upload → validate → post or schedule]

[Post your own video — upload, validate, AI caption, post or schedule]

🖥️ ShortSmash Studio

shortsmash serve — generate, browse trends, publish, and track stats from the browser:

Studio (templates)Settings (API keys)
[Studio tab][Settings tab]
PublishLibrary
[Publish tab][Library tab]
TrendsStats
[Trends tab][Stats tab]
Lyrics modeAuto pilot
[Lyrics tab][Auto tab]

Why ShortSmash

Most text-to-video tools assemble clips blindly — whatever the stock API returns first goes in. That's why automated shorts have the infamous "stock-footage look": a burger in a cooking tutorial, a parrot in a recipe video.

ShortSmash is the first open-source pipeline with eyes:

  • Two-stage vision gate. Every candidate clip's middle frame is checked by a local CLIP model (offline, no quota, no cost) against 15 confuser categories — burgers, birds, houseplants, empty pans, citrus fruit — then by Gemini vision when quota allows. Wrong footage never ships.
  • Audible gate. Renders with dead or missing audio fail instead of shipping.
  • Never ships silent. A CC-licensed music library auto-downloads on first run; music is ducked under narration with a real FFmpeg sidechain.

The pipeline

prompt ──▶ script ──▶ voice ──▶ visuals ──▶ captions ──▶ render ──▶ publish           NVIDIA     Edge-TTS   Pixabay      faster-     FFmpeg      official           Gemini     Piper      Veo 3.1      whisper     1080x1920   APIs only           Grok       (offline   Kling        karaoke     +faststart           OpenAI-    neural)    Agnes           compat     50 langs   CLIP-verified
  • Script — NVIDIA NIM (free) → Gemini (free) → Grok → any OpenAI-compatible endpoint (OpenRouter, DeepSeek, local Ollama) → offline template. Writes a scroll-stopping script and a strict JSON edit plan, validated by pydantic. Second-person, punchy, 3–4s scenes.
  • Voice — Edge-TTS → Piper offline neural → gTTS fallback chain. 50 dub languages with native voices, Urdu/Hindi/Arabic included.
  • Visuals — free Pixabay footage or AI generation: Google Veo 3.1 (best quality, native audio), Kling AI (top-tier motion), Agnes AI (free tier) — every clip verified by the vision gate regardless of source. Prefer your own? Set visual_provider: custom with any command (ComfyUI, Replicate, MiniMax…).
  • Captions — faster-whisper word timestamps → burned-in karaoke captions.
  • Render — FFmpeg: 9:16 smart reframe, transitions, hook + CTA overlays, ducked music, H.264/AAC faststart.
  • Publish — YouTube, TikTok, Instagram, Threads, Bluesky, LinkedIn, Pinterest, X. Official APIs only — no Selenium, no scraping, nothing that gets accounts banned.
  • Dub — shortsmash dub <slug> --lang ur re-voices any video in 50 languages — Urdu, Hindi, Arabic, Spanish, French, German, Chinese, Portuguese and 42 more — plus ur-roman / hi-roman for Roman-script captions ("Tum kaise ho?") with the native neural voice. Urdu captions render in proper Nastaliq calligraphy, right-to-left, with the karaoke highlight tracking the spoken word. Same verified clips, new native narration.
  • Analytics — shortsmash analytics pulls real views/likes/comments from YouTube's API. Numbers from the platform, not vanity metrics.
  • Trends — shortsmash trends <niche> harvests Google News + Hacker News (free, no keys). shortsmash batch turns the top trends into videos unattended.
  • Schedule — natural language ("Friday 6pm"), durable SQLite queue, retrying worker.
  • Engage — pulls recent comments, drafts warm replies, you approve each one with a tap. Nothing posts itself.
  • MCP server — python -m shortsmash.mcp_server exposes generate_video, get_trends, list_projects, project_status to Claude Code, Cursor, and any MCP client.
  • Resume — shortsmash resume <slug> picks up failed projects from the first incomplete stage instead of redoing everything.

How ShortSmash compares

ShortSmashMoneyPrinterTurboOpenPostPostizShortGPT
Prompt → finished short✅✅❌ (manual editor)❌✅
Post your own video (validate + schedule)✅❌✅✅❌
Footage verification✅ CLIP + Gemini❌n/an/a❌
Offline neural voice fallback✅ Piper❌n/an/a❌
Audio safety gate✅❌n/an/a❌
Trend harvesting (free, no keys)✅✅❌❌❌
Batch production✅✅❌❌❌
Karaoke word-level captions✅✅✅❌✅
Official publishing APIs✅ 10 platforms⚠️ Selenium for YT✅✅⚠️
Multi-language dubbing✅ 50 languages (incl. Roman Urdu/Hindi, Chinese)❌❌❌✅
Real analytics pull✅❌❌✅❌
Web UI✅ Studio✅✅✅✅
MCP server✅❌✅✅❌
Comment-reply drafts (human-approved)✅❌❌❌❌
Resume failed projects✅❌n/an/a❌
LicenseMITMITAGPL/CommercialMITMIT
$0 to run✅✅self-host✅✅

MoneyPrinterTurbo (129K★) is the most mature; OpenPost is the best manual workspace. ShortSmash is the most engineered AI-native pipeline — the only one that checks its own work.

What ShortSmash will never do

No fake likes, comments, follows, shares, or stars. No botting, no "human-like" evasion of platform detection, no scraping or unofficial endpoints. That violates every platform's rules and gets accounts banned — and it doesn't work for real growth anyway. This boundary is architectural, not a policy note: the capability simply isn't in the codebase.

Quickstart — one command

Windows (PowerShell) — paste this one line, done. It installs Python, FFmpeg, Git if missing, sets everything up, and puts ShortSmash Studio on your Desktop + Start Menu:

powershell
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/hydope/shortsmash/master/install.ps1")))

Windows (CMD) — same thing, one line in Command Prompt:

cmd
curl -L -o "%TEMP%\rf-install.cmd" "https://raw.githubusercontent.com/hydope/shortsmash/master/install.cmd" && "%TEMP%\rf-install.cmd"

Linux / macOS / Git Bash (Windows) — one line, works everywhere including Git Bash on Windows:

bash
curl -fsSL "https://raw.githubusercontent.com/hydope/shortsmash/master/install.sh" | bash

After install, launch ShortSmash Studio from the Start Menu / Desktop (Windows) or run shortsmash serve → open http://127.0.0.1:8000.

Prefer it manual? Download the repo and double-click install.bat (Windows) or run ./install.sh (Linux/macOS).

Cloning just for the code? The full repo is ~213 MB of demo videos — skip them with a sparse checkout:

bash
git clone --depth 1 --filter=blob:none --sparse https://github.com/hydope/shortsmash.gitgit -C shortsmash sparse-checkout set shortsmash scripts fonts

If an earlier install failed halfway, delete the ShortSmash folder and re-run the one-liner.

Needs Python 3.11–3.13 and ffmpeg. The Windows one-line installers fetch both for you if missing — and if your machine already has Python 3.14, they install 3.13 (PowerShell) or 3.12 (CMD) side by side and use that instead, since 3.14 cannot build a working virtual environment yet. Installs fetch code only (~2 MB, no demo videos).

Make a video in the 🎬 Studio tab, then hit the 🚀 Publish tab to post it to 10 platforms (YouTube, TikTok, Instagram, X, Threads, Bluesky, LinkedIn, Pinterest, Facebook, Facebook Page) in one click — with per-platform setup status and dry-run safety.

Manual install, if you prefer it piecemeal:

bash
pip install 'shortsmash[ai,voice,captions,trends,vision,mcp,youtube,x,schedule]'shortsmash init          # guided setup: keys, voice, defaultsshortsmash doctor        # verify every dependency
# Your first video (needs a free Pixabay key + any LLM key)shortsmash new "coffee" --duration 30
# Ride the trendsshortsmash trends ai --limit 5shortsmash batch ai --count 3
# Hands-freeshortsmash agent "make a 30s reel about the top AI trend and post it Friday at 6pm"

Free keys: Pixabay (footage) · Google AI Studio (Gemini LLM) · NVIDIA NIM (LLM). Or point openai_base_url at local Ollama and pay nothing at all.

Docs

Per-platform publishing setup (official APIs):

  • docs/setup-youtube.md, setup-tiktok.md, setup-instagram.md, setup-x.md
  • docs/setup-threads.md, setup-bluesky.md, setup-linkedin.md, setup-pinterest.md, setup-facebook.md, setup-facebook_page.md
  • docs/trends.md — trend sources and scoring
  • docs/mcp.md — MCP server setup for Claude Code / Cursor
  • docs/visual-providers.md — plugging in AI visual generation

License

MIT — build whatever you want.

來源:README.md,提交 3d0f704

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:伺服器未能啟動。

版本歷史

1
  1. v0.3.0最新Oct 21, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分