story-video-generator

从图片或文字描述自动生成完整视频故事。支持灵活输入(1-N张图片/纯文字/混合),可选时长和风格。当用户要求生成视频故事、视频短片、图片转视频、文字转视频时使用。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "story-video-generator" with this command: npx skills add zeng-austin/story-video-generator

故事视频生成助手

从用户提供的图片或文字描述自动生成完整的视频故事。完整流程:脚本生成 → 主体参考图 → 首帧图片 → 视频片段 → 背景音乐 → 最终合成。

快速开始

输入要求

  • 图片模式:1-N 张图片(不强制分类,AI 自动识别)
  • 文字模式:纯文字描述故事
  • 混合模式:图片 + 文字补充

可选参数

  • 时长:24秒(4段)/ 48秒(默认,8段)/ 72秒(12段)
  • 风格(纯文字时):吉卜力 / 赛博朋克 / 写实 / 水彩 / 像素 / 动漫 / 油画 / 极简 / AI推荐

输出格式

生成视频后用以下格式输出:

<deliver_assets>
<item>
<path>视频路径</path>
</item>
</deliver_assets>

执行流程

Step 0: 环境检查

  1. 检查 FFmpeg 是否可用,不可用则安装
  2. 接收用户输入(图片/文字)
  3. 确定时长(未指定默认 48 秒)
  4. 纯文字时确定风格(未指定则 AI 推荐)

Step 1: 生成故事脚本

  • 有图片 → 用 images_understand 分析图片,生成脚本
  • 纯文字 → 用 LLM 生成脚本
  • 输出:output/story_script.json

Step 1.5: 主体参考图生成

  • 基于 analysis.subject 生成主体参考图
  • 作为整个视频视觉一致性的锚点
  • 输出:output/subject_reference.png

Step 2: 首帧图片生成(串联)

  • 必须逐帧生成,每帧用主体参考图 + 上一帧作为双重参考
  • 禁止并行生成
  • 输出:output/frames/frame_01.png - frame_N.png

Step 3: 视频片段生成

  • 从首帧图片生成视频片段
  • 参数:duration=6秒,resolution=768P
  • 输出:output/videos/segment_01.mp4 - segment_N.mp4

Step 4: 背景音乐生成(可与 Step 3 并行)

  • 生成无歌词 BGM,时长等于视频总时长
  • 输出:output/bgm.mp3

Step 5: 视频拼接与音乐合成

  • 使用 FFmpeg 拼接视频片段并叠加 BGM
  • 输出:output/final_video.mp4

关键约束

参数
每段时长6秒(固定)
视频分辨率768P
背景音乐无歌词纯音乐

常用工具

工具用途
images_understand分析图片生成脚本
gen_images生成首帧图片
gen_videos生成视频片段
gen_music生成背景音乐
exec + FFmpeg拼接视频与合成音频

常见错误

  1. 首帧并行生成 → 角色一致性无法保证
  2. 每段未重复主体特征 → 角色长相漂移
  3. BGM 带歌词 → 必须强调 instrumental, no vocals
  4. 跳过主体参考图 → 视觉一致性无法保证

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated