Context To Video logo

Context To Video

Community
aktsmm
context-to-video

Turn any context (blog URL, pasted article, PR diff, meeting notes, release notes, raw prompt) into a narrated explainer mp4 with slides, subtitles, and optionally a talking-head avatar. Uses a free local stack (Pillow + edge-tts + ffmpeg) with optional SadTalker for the avatar. Use when the user says "動画化", "explainer video", "解説動画作って", "ブログを動画に", "記事を動画化", "PRを動画で説明", "議事録を動画化", "context to video", or wants an mp4 from arbitrary text/source. Output is mp4 + srt under the user's chosen project workspace.

Overview

Publisheraktsmm
RepositoryAgent-Skills
Skill namecontext-to-video
Stars
27
Forks
5
Bundled files
14
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.

  • 14 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

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

Installation

Install the Context To Video 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/aktsmm/Agent-Skills/tree/master/context-to-video
  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/aktsmm/Agent-Skills.git /tmp/Agent-Skills
mkdir -p .claude/skills
cp -r /tmp/Agent-Skills/context-to-video .claude/skills/context-to-video
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Context To Video 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 Context To Video 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 Context To Video 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.

Context → Video

任意の入力コンテキストを、ナレーション+スライド+字幕+(任意で)アバター付きの mp4 に変換する。

When to Use

  • 動画化, 解説動画作って, ブログを動画に, 記事を動画化, explainer video, context to video
  • リリースブログ / PR 説明 / 議事録 / 設計メモ / リリースノート / 学習コンテンツを短尺動画化したい
  • YouTube / 社内勉強会 / Teams / X 向けの素材を時短で量産したい
  • 顧客向けに出すなら TTS は Azure Speech 正規版に差し替える (既定は edge-tts 無料エンドポイント)

Input Sources (any of these works)

入力取り方
ブログ/記事 URLweb_fetch で本文取得
貼り付けテキストそのまま要約
PR / commit diffgh pr view + gh pr diff
議事録・設計メモファイル読み込み
リリースノートURL or Markdown
自由プロンプトLLM に直接構成依頼

→ ソース取得後の処理は共通(LLM が notes/script.json を書く)。

Stack (all free, local)

役割ツール
台本生成LLM (このスキル呼び出し元)
スライドPillow (BIZ UDGothic 等)
ナレーションedge-tts (Edge の Neural 音声・無料・非公式)
動画合成ffmpeg (imageio-ffmpeg 同梱バイナリ可)
字幕.srt 自動生成
アバター (任意)SadTalker (GPU推奨) + ffmpeg 楕円マスク

Quick Workflow (no avatar)

powershell
pip install edge-tts imageio-ffmpeg pillow
# 1. 入力からscript.json生成 (LLM)
# 2. 動画生成
python scripts\build_video.py --project <project-dir>
# → output\final.mp4 + final.srt

詳細: references/script-schema.md / references/setup.md

Avatar Mode (talking-head in corner)

GPU(VRAM 8GB+)があるなら、SadTalkerで右下にアバターを足せる。 初回セットアップは別 venv (Python 3.10) で 30〜40分、以降は 1動画あたり +20〜30分。

powershell
# 既存動画 + 8音声 → アバター合成
python scripts\add_avatar.py --project <project-dir> --face <face.jpg>
# 楕円マスク版を作る
python scripts\ellipse_overlay.py --project <project-dir>
# → output\final_with_avatar.mp4 と final_with_avatar_ellipse.mp4

セットアップ・落とし穴・キャラ選び: references/avatar.md

Output Layout

<project>/
├── notes/script.json                  台本 (LLM が書く)
├── slides/slide_XX.png                1920x1080
├── audio/audio_XX.mp3                 スライドごとのナレ
├── avatar/                            (任意)
│   ├── input/face.jpg                 アバター元写真
│   ├── SadTalker/                     repo + checkpoints
│   ├── venv/                          Python 3.10 + torch cu121
│   └── clips/audio_XX.mp4             各ナレぶんアバター動画
└── output/
    ├── final.mp4                      無印 (スライド+ナレ)
    ├── final.srt                      字幕
    ├── final_with_avatar.mp4          (任意) アバター矩形
    └── final_with_avatar_ellipse.mp4  (任意) アバター円形ワイプ

Defaults

  • 解像度: 1920x1080 30fps (16:9)
  • 音声: ja-JP-NanamiNeural (女性・落ち着き)。男性なら ja-JP-KeitaNeural
  • スライド数: 表紙 + 本編 5〜7 枚 (合計 6〜8 枚)
  • 配色: slate-900 / sky-400 / BIZ UDGothic
  • 1スライドあたり 15〜25 秒、合計 2〜4 分

声・配色・フォント・アスペクト比変更: references/customization.md

Production Use

無料 edge-tts は 非公式・SLA なし・商用グレー。顧客配布や常時運用には:

  • ナレーション → Azure Speech (Neural TTS) に差し替え
  • アバター付き商用 → Azure TTS Avatar (Lisa等・公式・$0.30/分〜)

詳細: references/production-upgrade.md

Common Variants

  • 9:16 ショート版 (X/Reels): W,H = 1080, 1920、ナレを 60 秒に圧縮
  • 字幕焼き込み: ffmpeg subtitles=final.srt フィルタで動画に焼く (ffmpeg-advanced-filters.md)
  • BGM 追加: 別 mp3 を低音量でミックス (ffmpeg-advanced-filters.md)
  • 章/コース化 (学習教材): script.json を章単位に分割、共通イントロ/アウトロ
  • 多言語版: voice 切替 + script を翻訳
  • チャンネル固定キャラ生成: SDXL でマスコット作って seed 保存 (avatar-generation-sdxl.md)
  • VOICEVOX + 公式キャラ立ち絵: ずんだもん等の「ゆるふわ解説」チャンネル向け、PSDレイヤー差分で本格リップシンク (voiced-mascot.md)
  • 円形アバターワイプ: ffmpeg geq filter で円形マスク + アクセントリング (ffmpeg-advanced-filters.md)
  • YouTube 自動配信: API で公開予約 + サムネ (youtube-upload.md)
  • PoC → 定期配信チャンネル昇格: ディレクトリ再設計 (scale-up-production.md)

Done Criteria

  • <out>/output/final.mp4 (またはアバター版) が再生でき、音声と映像がズレない
  • スライド本文 28pt 以上 / タイトル 56pt 以上で可読
  • ナレが入力の主要メッセージを正しく反映
  • final.srt がナレーションと同期
  • 入力ソースの著作権を侵害していない (本文丸読みでなく要約 + 引用範囲)
  • (アバター時) GPU メモリ溢れ無く完走、口パクが極端にズレていない

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Context To Video AI skill do?

Turn any context (blog URL, pasted article, PR diff, meeting notes, release notes, raw prompt) into a narrated explainer mp4 with slides, subtitles, and optionally a talking-head avatar. Uses a free local stack (Pillow + edge-tts + ffmpeg) with optional SadTalker for the avatar. Use when the user says "動画化", "explainer video", "解説動画作って", "ブログを動画に", "記事を動画化", "PRを動画で説明", "議事録を動画化", "context to video", or wants an mp4 from arbitrary text/source. Output is mp4 + srt under the user's chosen project workspace.

Why use Context To Video on TypingMind?

Because you install it once and use it with any model. Context To Video 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 Context To Video in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aktsmm/Agent-Skills/tree/master/context-to-video. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Context To Video?

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 Context To Video?

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

Is the Context To Video AI skill free?

It is published on GitHub by aktsmm. 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 👇