Individual skill
srt-whiteboard-animation
将 SRT 字幕做成暖米黄纸张底的白板手绘动画:读字幕→输出配图策略→确认后生成统一风格线稿→按叙事语义标注分区→预览台调整→渲染 MP4。编排沿用分区遮罩揭示(annotation.json / sequence / startMs / protectedRegions),但每个区域内的落墨换成 stream 的连续笔迹(骨架/网格 ink→color)。当用户提供 SRT 字幕并要求"字幕做成白板手绘/流式笔迹视频""SRT 生成白板动画""按字幕分镜画手绘"时触发。
SKILL.md
Source commit 696a7243c0e6ffb6827676e539c2ca5ebae2bf6b
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Local scripts
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 5,535
- Repository last updated
- Jul 27, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-skill Repository topic
- hand-drawn Repository topic
- opencv Repository topic
- python Repository topic
- srt Repository topic
- subtitle Repository topic
- whiteboard-animation Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
.gitignoreasset · 211 bytesLICENSEasset · 1,075 bytesREADME.mddoc · 6,376 bytesSKILL.mdcore · 14,094 bytesSKILL.mdcore · 14,094 bytesSKILL.mdcore · 14,094 bytesSKILL.mdcore · 14,094 bytesagents/openai.yamlasset · 245 bytesassets/drawing-hand.pngasset · 802,812 bytesassets/preview.htmlasset · 28,411 bytesexamples/scene-01-monkey-mountain-banana-whiteboard.gifasset · 1,735,269 bytesexamples/scene-01-monkey-mountain-banana-whiteboard.mp4asset · 1,198,220 bytesexamples/scene-01-monkey-mountain-banana.annotation.jsonasset · 1,819 bytesexamples/scene-01-monkey-mountain-banana.pngasset · 2,411,634 bytesexamples/scene-01-monkey-mountain-stream.gifasset · 5,334,090 bytesexamples/scene-01-monkey-mountain.pngasset · 1,229,993 bytesscripts/merge_scenes.pyruns · 3,856 bytesscripts/parse_srt.pyruns · 5,009 bytesscripts/prepare_env.pyruns · 3,011 bytesscripts/render_annotation_preview.pyruns · 1,931 bytesscripts/render_stream_whiteboard.pyruns · 25,429 bytesscripts/stream_render.pyruns · 77,230 bytes
Read excerpt
# SRT 白板动画(mask 编排 + stream 画法)
把 SRT 字幕转成白板手绘动画:**编排**沿用分区遮罩揭示(按叙事顺序逐区域揭示、未开始区域完全隐藏、重叠用 `protectedRegions` 保护);**画法**换成流式笔迹——每个区域在自己的允许掩码内,笔尖沿骨架/网格连续滑行落墨(起笔 ink → 添彩 color),所有区域共享一张持久画布,已画完的区域保留在画布上。所有面向用户的说明、分镜、配置和界面文字必须使用中文。
与逐格跳变或矩形擦除不同:本 skill 的笔迹是**连贯流动**的;与整图 stream 不同:本 skill 按**字幕叙事分区**依次作画,可控制每个元素的出场顺序与时序。
## 默认实现参数
| 项目 | 默认要求 |
|---|---|
| 纸张背景 | 生成图使用暖米黄旧纸色(建议 `#F5EBD7`);渲染时从原图距四角内缩取样染底,禁止纯白。 |
| 画法 | 每区域 stream 连续笔迹:起笔 `ink`(铺线稿)→ 添彩 `color`(还原原色);权重 `ink:color = 2:1`。 |
| 笔迹路径 | `--ink-path grid`(网格,默认,稳)或 `skeleton`(骨架追踪,线稿清晰的插画更贴合)。 |
| 上色风格 | `--color-fill contour-wipe`(轮廓扫描,默认)或 `brush`(沿轨迹刷)。 |