konlu/story-studio

从选题到剪映草稿的一站式 AI 短视频内容创作 Agent Skill

Story Studio (故事工坊) is a skill pack for AI agents (like Claude Code, Codex, Cursor) that automates the entire production pipeline for short vertical videos about history or real people. You give it a natural-language request, and it can handle everything from topic selection and scriptwriting to voiceover, image generation, and exporting an editable draft for JianYing Pro (CapCut's Chinese desktop editor).

What it does in one line: Turns a simple prompt into a complete short-video project — or lets you use just one piece (e.g., only write a script, only generate images, only assemble a draft from your own files).

Core capabilities (from the README):

  • Writing: Two built-in writing styles — historical narrative and character story (for real people, especially legendary women). Each comes with a large library of top-performing scripts (57 historical, 300+ character stories) and specific techniques for hooks, pacing, and fact-checking.
  • Image generation: Three art styles — thick-paint historical comic, black-and-white documentary, and historical realism. The system uses reference images to keep style consistent across shots, and it checks historical details (clothing, architecture, age of the person) per shot.
  • Voiceover & subtitles: Two paths — either use the Doubao (Volcano Engine) TTS API to synthesize narration, or drop your own MP3 into the project folder. A local tool called Coli (based on sherpa-onnx) creates accurate word-level timestamps offline, so subtitles match the audio precisely.
  • JianYing Pro draft export: Generates a real editable draft file (via pyJianYingDraft) with 9:16 vertical images, the full voiceover on the timeline, and automatic slow push/pull zoom keyframes plus punch-zoom at cuts. You can open it in JianYing Pro, tweak, and export.
  • Flexible workflow: You can turn on/off writing, illustration, and draft generation independently. For example, you can ask it to only write a script, or only generate storyboard prompts, or only assemble a draft from files you already have.
  • Zero-setup environment: On first use, you can ask the agent to auto-configure Python, Node.js, FFmpeg, Coli, and other dependencies in a user data folder — no manual installation.

How to install (three ways):

  1. Ask the agent to clone the repo into its skills directory (easiest).
  2. Run a one-line git clone command (for Windows/macOS/Linux).
  3. Download a ZIP and double-click install.bat (Windows) or run ./install.sh (macOS/Linux).

How to use: After installation, tell the agent to configure the environment, then give it a natural-language request. The README provides example prompts for full pipeline, script-only, using your own MP3, storyboard-only, and single-shot rework.

Deliverables: All outputs are saved in your working directory — script drafts, fact-check tables, narration MP3, SRT subtitles, storyboard files (Markdown/JSON), generated images with covers, and the JianYing Pro draft folder. Optionally, it can render a final MP4 locally.

Dependencies & privacy:

  • The tool auto-installs Python 3.11, Node.js 20+, FFmpeg, Coli, and pyJianYingDraft in a user data directory (outside the skill folder).
  • Your Doubao API key is stored securely (Windows DPAPI or 0600-permission file) or via environment variable — never in logs or the repo.
  • The skill itself is free and open-source (MIT). TTS and image-generation APIs may incur costs, but the agent asks for confirmation before making paid calls.
  • The built-in script libraries are for learning writing techniques, not as verified historical facts. The reference images are not historical photos.

Project structure: The repo contains a SKILL.md (main control), install scripts, scripts/ (environment setup, Doubao TTS, handoff checks), references/ (guidelines), and modules/ with four sub-modules: history-writing, characterstory-writing, history-image, and render-history-video.

Acknowledgements: It builds on open-source projects like pyJianYingDraft, Coli, sherpa-onnx, uv, FFmpeg, and the Doubao voice model.

License: MIT for the code and skill spec; third-party libraries have their own licenses.

Related

  • Project
  • Project
  • Project
  • Project