Communitygithub.com

演示视频生成器

从单个提示生成精美的演示视频。适用于用户要求创建演示视频、产品演示、功能展示或动画演示时。触发词包括“制作演示视频”、“创建产品视频”、“演示导览”或“功能展示视频”。

演示视频生成器 是什么?

演示视频生成器是一款AI Agent技能,能够从单个提示生成1920x1080分辨率的演示视频,包含配音、转场和CSS动画。它通过编排Playwright(用于HTML到帧的渲染)、FFmpeg(用于合成和转场)以及Edge TTS(用于神经语音合成)MCP服务器来实现。该技能支持Claude Code、Cursor和Codex等平台,提供基于MCP编排的精细控制和原子化CLI流水线回退方案。主要工作流包括故事设计、场景创作和渲染,并支持自动时长检测、逐场景预览和质量验证。对于开发者而言,该技能可大幅简化视频制作流程,适用于产品演示、功能展示和动画演示等场景。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jeremylongshore/tons-of-skills-marketplace/tree/HEAD/plugins/community/framecraft/skills/demo-video

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

演示视频生成器 是做什么的?

概述

从单个提示生成1920x1080演示视频,包含配音、转场和CSS动画。通过编排Playwright(HTML到帧渲染)、FFmpeg(合成和转场)和Edge TTS(神经语音合成)MCP服务器实现。

前置条件

  • Python 3.11+ 和 uv 包管理器
  • 已安装FFmpeg(ffmpeg -version)
  • Playwright chromium浏览器(uv run playwright install chromium)
  • 用于Edge TTS语音合成的互联网连接

使用说明

从市场安装framecraft插件:

claude plugin marketplace add jeremylongshore/claude-code-plugins-plus-skills
claude plugin install framecraft@claude-code-plugins-plus

快速开始

uv run python framecraft.py init my-demo        # 搭建项目
uv run python framecraft.py render scenes.json --auto-duration
uv run python framecraft.py validate output.mp4  # 质量检查

MCP编排

当Playwright、FFmpeg和Edge TTS MCP服务器可用时,framecraft直接编排它们,以最大程度控制每个帧和音频段。

流水线回退

当MCP服务器不可用时,framecraft运行原子化的CLI流水线,在一次调用中处理所有内容。

工作流

  1. 故事设计 -- 选择叙事弧(问题-解决方案、英雄之旅、前后对比)
  2. 场景创作 -- 编写带有CSS动画的HTML场景,或使用内置模板
  3. 渲染 -- Playwright捕获帧,Edge TTS生成配音,FFmpeg合成

输出

  • 1920x1080 MP4视频,包含配音和转场
  • 用于迭代的逐场景预览
  • 质量保证验证报告

错误处理

错误原因修复方法
ffmpeg: command not found未安装FFmpeg通过 brew install ffmpeg 或系统包管理器安装
playwright._impl._errors.Error未安装Chromium运行 uv run playwright install chromium
edge_tts.exceptions.NoAudioReceivedTTS服务不可用检查互联网连接;几秒后重试
FileNotFoundError: scenes.json缺少场景配置首先运行 uv run python framecraft.py init my-demo
空白或黑色帧HTML场景渲染失败检查HTML语法并确保资源可访问

示例

{
  "scenes": [
    {
      "title": "认识YourApp",
      "subtitle": "更智能的任务管理方式",
      "narration": "24个任务。一个仪表盘。零压力。",
      "voice": "en-US-AndrewNeural",
      "bullets": ["智能优先级", "团队同步", "一键报告"],
      "duration": 0
    }
  ],
  "output": "demo.mp4",
  "width": 1920, "height": 1080,
  "voice": "en-US-AndrewNeural",
  "transition": "crossfade"
}

duration: 0 = 从TTS时长自动检测并增加1.5秒缓冲。

资源

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

jeremylongshore/tons-of-skills-marketplace

Use when asked to structure a landing page for positioning, plan a conversion-optimized page layout, or design a launch page. Examples: "landing page for product launch", "conversion-optimized layout for SaaS

jeremylongshore/tons-of-skills-marketplace

Use when asked to design growth-optimized landing pages, activation funnel layouts, or experiment-friendly page structures. Examples: "growth-optimized landing", "activation funnel layout", "A/B testable page

jeremylongshore/tons-of-skills-marketplace

Use when asked to structure a landing page, design page layout for conversion, or plan landing page information architecture. Examples: "landing page structure for SaaS", "conversion-optimized layout

jeremylongshore/tons-of-skills-marketplace

Track cryptocurrency portfolio with real-time valuations, allocation analysis, and P&L tracking. Use when checking portfolio value, viewing holdings breakdown, analyzing allocations, or exporting portfolio data. Trigger with phrases like "show my portfolio", "check crypto holdings", "portfolio allocation", "track my crypto", or "export portfolio".

jeremylongshore/tons-of-skills-marketplace

Runs the full release workflow for the current project. Commits any uncommitted changes, pushes to remote, creates and merges a PR if on a feature branch, determines the next semver version from conventional commits, creates an annotated git tag and GitHub release with generated notes, cleans up merged branches, and returns to a clean main. Use when the user says promote, ship, release, commit and push, tag and release, or get back to main.

jeremylongshore/tons-of-skills-marketplace

Agent skill at plugins/productivity/content-multiplier/skills/channel-formats/SKILL.md

jeremylongshore/tons-of-skills-marketplace

Operate an evidence-backed editorial queue, balance topic and format coverage, schedule approved drafts, and reconcile backlog state with the publishing system. Use when choosing or scheduling the next blog work. Trigger with "show the editorial calendar" or "pick the next topic".

jeremylongshore/tons-of-skills-marketplace

Configure CI/CD pipeline for AppFolio property management integrations. Trigger: "appfolio CI".

jeremylongshore/tons-of-skills-marketplace

Diagnose and fix common AppFolio API integration errors. Trigger: "appfolio error".

jeremylongshore/tons-of-skills-marketplace

Build property management dashboard with AppFolio API data. Trigger: "appfolio property dashboard".

jeremylongshore/tons-of-skills-marketplace

Automate tenant management and lease operations with AppFolio. Trigger: "appfolio tenant management".

jeremylongshore/tons-of-skills-marketplace

Collect AppFolio API debug evidence for support tickets. Trigger: "appfolio debug".

jeremylongshore/tons-of-skills-marketplace

Deploy AppFolio integration service to cloud infrastructure. Trigger: "deploy appfolio".

jeremylongshore/tons-of-skills-marketplace

Query AppFolio properties, units, and tenants via REST API. Trigger: "appfolio hello world".

jeremylongshore/tons-of-skills-marketplace

Configure AppFolio Stack API authentication with OAuth 2.0. Use when setting up property management API access, registering as an AppFolio Stack partner, or configuring client credentials for API calls. Trigger: "install appfolio", "setup appfolio", "appfolio auth", "appfolio API key".

jeremylongshore/tons-of-skills-marketplace

Set up local development for AppFolio property management API integration. Trigger: "appfolio local dev".

jeremylongshore/tons-of-skills-marketplace

Production readiness checklist for AppFolio integrations. Trigger: "appfolio production checklist".

jeremylongshore/tons-of-skills-marketplace

Handle AppFolio API rate limits with throttling and backoff. Trigger: "appfolio rate limit".

jeremylongshore/tons-of-skills-marketplace

Reference architecture for AppFolio property management integration. Trigger: "appfolio architecture".

jeremylongshore/tons-of-skills-marketplace

Apply production-ready patterns for AppFolio REST API integration. Trigger: "appfolio patterns".

相关技能