Theme Video Gen logo

Theme Video Gen

Community
JianhuiWei7
theme-video-gen

主题短视频生成工具,根据用户输入的主题或短文本生成60秒竖版9:16短视频。要求剧情连贯,多次出现的人物、场景、物体等高度一致。当用户提到"生成主题视频"、"根据文本生成短视频"、"制作60秒竖版视频"、"知识科普视频"、"风景混剪"、"故事叙事短片"时使用此技能。

Overview

PublisherJianhuiWei7
RepositoryVideoWeaver
Skill nametheme-video-gen
Stars
48
Forks
1
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by JianhuiWei7 on GitHub. Read the source before you install it.

Installation

Install the Theme Video Gen AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/JianhuiWei7/VideoWeaver/tree/main/FINAL_EXPERT_SKILLS/theme-video-gen
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JianhuiWei7/VideoWeaver.git /tmp/VideoWeaver
mkdir -p .claude/skills
cp -r /tmp/VideoWeaver/FINAL_EXPERT_SKILLS/theme-video-gen .claude/skills/theme-video-gen
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Theme Video Gen in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Theme Video Gen on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Theme Video Gen is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Theme Video Gen

Overview

本技能根据用户输入的主题或短文本,自动生成时长60秒、竖版9:16比例的短视频。生成过程中保证剧情连贯,所有重复出现的人物、场景、物体等元素保持高度一致性,同时匹配对应的背景音乐和视觉风格。

核心工作流

步骤1:需求解析与plan初始化

plan.json 标准Schema(必须生成)

json
{
  "demand": {
    "original_text": "用户原始需求全文",
    "demand_list": ["逐字分析得到的需求要点列表"],
    "original_assets": ["用户提供的原始参考资产路径"],
    "generated_assets": ["生成的参考资产路径:风格图/人物/场景参考等"]
  },
  "shots": [
    {
      "shot_id": "镜头编号(必须)",
      "description": "镜头大致描述(必须)",
      "duration": "时长(秒,范围为4-15)(必须)",
      "lines": "台词/旁白内容(可留空,非必须)",
      "subtitle": "字幕内容(可留空,非必须)",
      "shot_type": "连续镜头/切分镜头(必须)",
      "require_assets": ["需要关联的资产ID(可留空,非必须)"],
      "is_completed": "bool(必须)"
    }
  ]
}

连续镜头指与上一个shot间画面连续,生成时需要用到上一个shot的资产(如尾帧或shot本身) 切分镜头指允许切换镜头 镜头总数建议4-6个之间 plan.json不存储最终视频生成提示词,提示词在生成阶段动态生成。 所有环节围绕plan.json展开,禁止脱离plan执行操作。

  1. 逐字分析用户需求,提取结构化demand_list
  2. 拆分镜头,初始化shots数组,重点在于规划shot的内容、时长、类型,暂不涉及具体提示词,需检查是否需要台词/旁白/字幕等
  3. 生成初始plan.json,完成后校验schema完整性

步骤2:参考资产生成

  1. 根据需求使用image-gen技能生成风格参考图、人物参考三视图等一致资产
  2. 所有生成的资产路径实时更新到plan.json的demand.generated_assets中
  3. 使用资产前需要对资产使用vision-understanding技能进行理解

步骤3:分段动态生成

每个镜头生成前必须执行:

  1. 读取最新plan.json全量内容并复述
  2. 动态生成视频提示词:
    • 如果是连续镜头:自动引入上一段尾帧作为参考
    • 如果是切分镜头:根据情况保持一致性,例如引用全局风格参考/对应人物/场景参考
    • 音频连续性:提取上一段视频中的10s左右的音乐片段作为参考保证音频一致
    • 如果包含台词/旁白:必须在视频提示词明确标注说话人属性、音色、台词内容
    • 如果要求文案:必须在视频提示词明确标注文案内容与展现形式
  3. 生成完成后更新shot状态到plan.json

步骤4:拼接导出

  1. 读取plan.json检查所有shot生成完成情况
  2. 逐条检查plan.json的demand.demand_list是否完成
  3. 按要求拼接并导出最终视频

基础依赖技能

本技能可能依赖的基础技能:

  • get-output-dir:获取输出目录
  • vision-understanding:视觉内容理解(任何视觉资产都应该先理解再使用)
  • video-gen:视频生成
  • image-gen:图片生成(用于一致资产准备)
  • merge-video:视频拼接
  • change-fps:帧率调整
  • automatic-speech-recognition:音频识别、为有人声视频添加台词字幕
  • audio-gen:语音合成

Frequently asked questions

What does the Theme Video Gen AI skill do?

主题短视频生成工具,根据用户输入的主题或短文本生成60秒竖版9:16短视频。要求剧情连贯,多次出现的人物、场景、物体等高度一致。当用户提到"生成主题视频"、"根据文本生成短视频"、"制作60秒竖版视频"、"知识科普视频"、"风景混剪"、"故事叙事短片"时使用此技能。

Why use Theme Video Gen on TypingMind?

Because you install it once and use it with any model. Theme Video Gen is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Theme Video Gen in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/JianhuiWei7/VideoWeaver/tree/main/FINAL_EXPERT_SKILLS/theme-video-gen. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Theme Video Gen?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Theme Video Gen?

As many as you like. As long as a model supports skills, you can use Theme Video Gen with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Theme Video Gen AI skill free?

It is published on GitHub by JianhuiWei7. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇