ai-coding-video
/ai-coding-video
用代码逐帧做视频(Coding Video)的风格库与方法:上百种纯代码可实现的视觉风格(C 类,标题材和技术:Canvas 2D、WebGL、SVG、Three.js、p5.js、Manim、Remotion 等),以及用真实素材(T 类:录像、录屏、照片、数据)和 AI 生成素材(G 类:生图、生视频、语音合成)由代码剪辑合成的做法,按内容类型分(科普、口播、带货、宣传片、短剧、MV、新闻、纪录片、教程、旅行、体育、儿童绘本);每种一句可复制的风格提示词;选风格的索引;提示词写法、素材的来源和处理、配乐与旁白指南;以及两条线:风格演示(选样式 → 出样片 → 沉淀成风格包)和完整出片(定内容 → 分段、分镜与样式 → 逐字稿 → 用户确认 → 典型样片 → 整片)。给视频定风格、写风格提示词、让 AI 写渲染代码出片、用素材做视频、问“有哪些风格 / 哪种适合 X”、配声音时使用。内容策划用 ai-content-planner。
- Author
- Chans-gh ↗
- Repository
- AI-Coding-Video ↗
- Licence
- MIT
- Last repository change
- 12.11.2026
Assessment and security
- Files in this package
- 188
- Scripts
- 22
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 22 scripts in this package. Review them before installing, as Claude may execute them.
- Paczka skrócona: część plików jest zbyt duża or wykonywalna. Pełny folder jest w repozytorium.
Scripts: packs/dark-keynote/demo/clip.js, packs/dark-keynote/demo/clip_sound.py, packs/dark-keynote/demo/scene.js, packs/dark-keynote/demo/sound.py, packs/dark-keynote/pack.js, packs/dark-keynote/sound_kit.py, packs/news-brief/demo/scene.js, packs/news-brief/demo/sound.py
What it does and when to use it
用代码逐帧做视频(Coding Video)的风格库与方法:上百种纯代码可实现的视觉风格(C 类,标题材和技术:Canvas 2D、WebGL、SVG、Three.js、p5.js、Manim、Remotion 等),以及用真实素材(T 类:录像、录屏、照片、数据)和 AI 生成素材(G 类:生图、生视频、语音合成)由代码剪辑合成的做法,按内容类型分(科普、口播、带货、宣传片、短剧、MV、新闻、纪录片、教程、旅行、体育、儿童绘本);每种一句可复制的风格提示词;选风格的索引;提示词写法、素材的来源和处理、配乐与旁白指南;以及两条线:风格演示(选样式 → 出样片 → 沉淀成风格包)和完整出片(定内容 → 分段、分镜与样式 → 逐字稿 → 用户确认 → 典型样片 → 整片)。给视频定风格、写风格提示词、让 AI 写渲染代码出片、用素材做视频、问“有哪些风格 / 哪种适合 X”、配声音时使用。内容策划用 ai-content-planner。
Triggers from the description
Original author description
用代码逐帧做视频(Coding Video)的风格库与方法:上百种纯代码可实现的视觉风格(C 类,标题材和技术:Canvas 2D、WebGL、SVG、Three.js、p5.js、Manim、Remotion 等),以及用真实素材(T 类:录像、录屏、照片、数据)和 AI 生成素材(G 类:生图、生视频、语音合成)由代码剪辑合成的做法,按内容类型分(科普、口播、带货、宣传片、短剧、MV、新闻、纪录片、教程、旅行、体育、儿童绘本);每种一句可复制的风格提示词;选风格的索引;提示词写法、素材的来源和处理、配乐与旁白指南;以及两条线:风格演示(选样式 → 出样片 → 沉淀成风格包)和完整出片(定内容 → 分段、分镜与样式 → 逐字稿 → 用户确认 → 典型样片 → 整片)。给视频定风格、写风格提示词、让 AI 写渲染代码出片、用素材做视频、问“有哪些风格 / 哪种适合 X”、配声音时使用。内容策划用 ai-content-planner。
How it works
- 什么时候用
- 两条线
- 怎么查(按顺序,不要一上来读全部)
- 取用规则
- 改内容
SKILL.md preview
--- name: ai-coding-video description: 用代码逐帧做视频(Coding Video)的风格库与方法:上百种纯代码可实现的视觉风格(C 类,标题材和技术:Canvas 2D、WebGL、SVG、Three.js、p5.js、Manim、Remotion 等),以及用真实素材(T 类:录像、录屏、照片、数据)和 AI 生成素材(G 类:生图、生视频、语音合成)由代码剪辑合成的做法,按内容类型分(科普、口播、带货、宣传片、短剧、MV、新闻、纪录片、教程、旅行、体育、儿童绘本);每种一句可复制的风格提示词;选风格的索引;提示词写法、素材的来源和处理、配乐与旁白指南;以及两条线:风格演示(选样式 → 出样片 → 沉淀成风格包)和完整出片(定内容 → 分段、分镜与样式 → 逐字稿 → 用户确认 → 典型样片 → 整片)。给视频定风格、写风格提示词、让 AI 写渲染代码出片、用素材做视频、问“有哪些风格 / 哪种适合 X”、配声音时使用。内容策划用 ai-content-planner。 version: 0.18.0 display_name: AI Coding Video 风格库 display_name_en: AI Coding Video description_en: "A style library for videos made frame by frame in code: a hundred-plus styles that pure code can render (class C, tagged by topic and tech: Canvas 2D, WebGL, SVG, Three.js, p5.js, Manim, Remotion and more), plus ways to cut real material (class T: footage, screen recordings, photos, data) and AI-generated material (class G: images, video clips, speech) into a film with code, sorted by content type (explainers, talking heads, product ads, brand films, short dramas, music videos, news, documentaries, tutorials, travel, sports, picture books); a copy-ready style prompt for each; lookup indexes; guides to prompts, sourcing and preparing material, music and narration; and two tracks: a style demo (pick a look, make a sample clip, turn it into a reusable style pack) and a full film (content, storyboard and looks, script, user sign-off, a typical segment with narration, the whole film)." --- # AI Coding Video:用代码做视频的风格库 内容和维护方法见 [README.md](README.md)。这份文件只讲 AI 助手怎么查、怎么用。 ## 什么时候用 先分清用户要哪条线,拿不准就问: - **风格演示**:用户要「看看效果、挑风格、定一套风格」——给视频定风格、问“有哪些风格 / 哪种风格适合 X”、要一句风格描述去写提示词或渲染代码、想先看某种风格在自己项目里的效果(出样片)、想把选中的风格固定下来(做风格包)。走下面「两条线」的风格演示。 - **完整出片**:用户说要「做一支 X 分钟的片子」。走完整出片,读 [film.md](film.md)。 - 项目里有 `plans/<短名>/plan.md`,格式行 `格式:ai-content-planner/3`(也认旧的 `/2`)、状态「已交接」,形式的「输出形式和规格」是视频 → 第 1 步照 [storyboard.md](storyboard.md) 接策划(格式 1 的先请用户用策划转成格式 3)。 - 内容还没定(只有想法,资料没整理,主线和段落没定)→ 装了 [ai-content-planner](https://github.com/Chans-gh/AI-content-planner) 的可以先用它做策划,再回来;没装的不用装,照 `film.md` 第 1 步和用户一起把内容定下来。本 Skill 不要求有 `plan.md`。 - 项目里已有风格包的,直接拿它当全片统一,不用重新选。 两条线都会用到: - 用户手上有录像、录屏、照片、数据,或者要用 AI 生图、生视频、语音合成做素材,想由代码剪成片子。 - 要给视频挑配乐、音效或中文旁白音色。 ## 两条线 ``` 风格演示:0 级 选样式 → 1 级 出样片(3–5 秒) → 2 级 风格包 完整出片:定内容 → 分段、分镜与样式 → 逐字稿 → 用户确认 → 典型样片(含配音) → 渲染整片 ``` 每一步都要用户点头才往下;停在哪一步都行。两条线查风格的方法相同(见「怎么查」)。 词的意思:库里的条目叫**风格**(编号 `C-013` 这样);**样式**是一段或一支片子实际用的东西——一个或几个风格编号(或一个风格包),加技术路线和素材类型;**风格包**是通过的风格做成的可复用代码和风格说明;**样片**是风格演示里 3–5 秒的片段;**典型样片**是完整出片开工前先做的 1–2 段,带配音;**全片统一**是一支片子所有段共用的一层:色板、字体、字幕、转场、配乐、旁白音色。 完整出片里片子分两级,名字不混用: | 词 | 指什么 | 在哪 | |---|---|---| | **段** | 按内容分的一块,一般 10–60 秒,讲框架里的一段;一段一个场景文件 | 分镜脚本 `segments` 的一项,段号 `P1` | | **分镜**(也叫**镜头**) | 段里的一个画面,从这一刀到下一刀;一段可以有好几个 | 每段 `shots` 的一项,分镜号「段序号-分镜序号」(`2-4` 是第 2 段第 4 个) | | **分镜脚本** | `storyboard.json` 整份:需求、全片统一、每段和段里的分镜 | `videos/<短名>/storyboard.json` | | **段落表**、**分镜表** | 检查脚本打印给用户确认的两张表:一段一行;一个分镜一行 | `check_storyboard.py --table` | 不说「一段分镜」「分镜 10 段」:说「10 段」「48 个分镜」。风格包的完整演示片没有段,一行就是一个分镜([making.md「2 级:风格包」](making.md))。 ### 风格演示 | 级别 | 做什么 | 产出 | 什么时候 | |---|---|---|---| | 0 级:选样式 | 在本库里选 2–3 个候选,给出提示词和理由 | 候选样式:风格编号 + 技术路线 + 素材类型(C、T、G 和 `data/tags.json` 的 `materials`),附每个的风格提示词 | 用户还没定风格 | | 1 级:出样片 | 把候选套上用户的品牌色、字体和真实内容,在用户项目自己的技术栈里跑 3–5 秒 | 横屏 16:9 和竖屏 9:16 各一段样片 + 抽帧拼图,给用户看 | 项目要换风格、加风格时,一次对话做完 | | 2 级:风格包 | 用户通过的风格,覆盖这个项目常用的呈现方式(片头、讲解、数据、转场、字幕等) | 可复用的代码模块 + 写进项目规范的风格说明(调色板、字体、运动、声音、禁止项) | 1 级通过以后 | 1 级样片之前先确认这条技术路径在用户项目里跑得通(有没有浏览器、GPU、Python 环境等)。做法见 `making.md`。 ### 完整出片 六步和 `storyboard.json`(分镜脚本,含全片统一 `unify`、每段的样式 `uses` 和可选的分镜 `shots`)、`script.json`(逐字稿)的格式、事实的规矩、检查脚本都在 [film.md](film.md);有策划时第 1 步另读 [storyboard.md](storyboard.md)。 ## 怎么查(按顺序,不要一上来读全部) 1. **不知道用哪种** → 先分清三类:画面全部由代码算出(C 类)、用真实素材(T 类)、用 AI 生成素材(G 类)。用户说了要做哪种视频(口播、带货、MV、新闻……)就先查 `index.md` 的「按内容类型」表,T、G 两列对照着给;要纯代码的,在其余索引表(题材、业务用途、受众、情绪、平台与格式、素材与条件)里各找对应的一行,几张表里重复出现的是首选。给用户 2–3 个候选并说明理由。 2. **已知风格名或编号** → 在 `index.md` 的「风格目录」里找到编号(如 `C-013`、`T-007`),打开对应的 `styles/*.md`(C 类按技术分文件,T 类在 `styles/footage.md`,G 类在 `styles/generated.md`),按锚点 `#C-013` 定位条目。 3. **要写完整提示词或渲染代码** → 读 `prompting.md`:8 个控制要点、通用模板、制作路径、示例、常见翻车与对策。 4. **要按技术筛选**(例如“只用 SVG”“要 Three.js 的”)→ 读 `tags.md` 和 `data/styles.json`,每条有 `id / name / theme / content_type / materials / fit / prompt / layer / suggested / verified / render_code / pack / refs`(C 类有 theme,T、G 类有 content_type 和 materials)。 5. **要配声音** → 读 `sound.md`:先按题材定配乐和音效,再按用途挑旁白音色。 6. **要用素材(T 类、G 类)** → 读 `materials.md`:素材从哪来、许可怎么查、怎么生成、怎么统一处理再交给代码、声音怎么配。 7. **要出样片(1 级)或做风格包(2 级)** → 读 `making.md`:动手前的检查、样片写法和自检、风格包的五条做法和 STYLE.md 写什么。 8. **要写渲染代码** → 先看本 Skill 自带的代码:`samples/API.md`(样片骨架和函数速查)、`samples/<编号>/`(每个已验证风格的 `scene.js`、`sound.py`)、`packs/<名字>/`(风格包)。条目「样片代码」「风格包」链接文字里的路径就是它在本 Skill 目录里的位置,不用联网去 GitHub 取。 ## 取用规则 - 条目里 `text` 代码块就是那句风格提示词,原样使用,再按 `prompting.md` 的模板补上主题、规格、声音和流程。 - 「技术(已验证)」表示本库仓库里有能跑出样片的代码;「技术(建议)」只是推荐写法,没验证过,向用户说明时要分清。 - 只写风格名会退化成通用扁平风:必须带 3–5 个标志元素、禁止项和参考作品。 - 参考作品只学构图、节奏、配色逻辑,不照搬角色、Logo、音乐。名字带作品或作者的「致敬风格」(如 C-187 吉卜力式)也一样:只学画法,角色、场景、标志、台词全部原创。 - 提示词只定方向,同一句话每次出来的画面不会一模一样。要复现同一个效果,用「技术(已验证)」条目的样片代码改,不要只靠提示词,也不要从零重新设计:先把 `samples/<编号>/` 拷到用户项目里跑通,再换内容(做法见 `making.md`「1 级:样片」)。有「风格包」的直接用包。 - 样片代码给的是**管线和画法**,不是内容:出片管线(`lib.js`、`synth.py`、`batch.py`)照用;镂空、光影、纹理这类画法可以借;样片里的角色、构图、配色、文字不能原样搬进用户的片子,换成用户自己的题材和品牌。 - 案例里的工具链、费用、用时是原作者自述,未经核实,不要当成保证向用户承诺。 - C 类画面全部由代码算出,不用任何素材。写实人脸、真人口播这类效果纯代码做不到,改走 T 类(用户自己的素材)或 G 类(AI 生成素材),并告诉用户要准备什么。 - T 类只用用户确认有权用的素材,或公共领域、开放许可的素材,出处和许可逐份记下;G 类可以用任何一家生图、生视频、语音合成服务,按 [materials.md「配置生成服务」](materials.md#配置生成服务) 配好;哪一类没配置,先告诉用户要配什么,不需要生成的部分照常做;不生成真实人物。克隆声音本 Skill 不做,见 [sound.md「完整出片的配音流程」](sound.md#完整出片的配音流程)。 ## 改内容 新增或修改风格的步骤见 [README.md](README.md) 的「维护」。改完必须运行并通过: ```bash python3 scripts/build_index.py # 由 styles/*.md 生成 data/styles.json 和 index.md 的风格目录 python3 scripts/build_index.py --check # 编号、标签、图片、链接、目录一致性 ``` 编号只增不改;`data/styles.json` 和风格目录是生成物,不要手改。
Files in this package (188)
- CHANGELOG.md 32 KB
- README.md 9 KB
- SKILL.md 11 KB
- film.md 18 KB
- index.md 59 KB
- legacy-ids.md 8 KB
- making.md 21 KB
- materials.md 10 KB
- prompting.md 13 KB
- sound.md 26 KB
- sources.md 9 KB
- storyboard.md 13 KB
- tags.md 11 KB
- data/styles.json 236 KB
- data/tags.json 12 KB
- images/.gitkeep 1 KB
- images/C-001.jpg 32 KB
- images/C-002.jpg 35 KB
- images/C-003.jpg 43 KB
- images/C-004.jpg 85 KB
- images/C-008.jpg 25 KB
- images/C-009.jpg 13 KB
- images/C-010.jpg 25 KB
- images/C-011.jpg 25 KB
- images/C-012.jpg 35 KB
- images/C-013.jpg 16 KB
- images/C-014.jpg 42 KB
- images/C-015.jpg 35 KB
- images/C-016.jpg 20 KB
- images/C-017.jpg 67 KB
- images/C-019.jpg 87 KB
- images/C-021.jpg 33 KB
- images/C-022.jpg 42 KB
- images/C-023.jpg 21 KB
- images/C-024.jpg 44 KB
- images/C-027.jpg 41 KB
- images/C-028.jpg 13 KB
- images/C-029.jpg 26 KB
- images/C-031.jpg 35 KB
- images/C-032.jpg 51 KB
- images/C-034.jpg 41 KB
- images/C-036.jpg 31 KB
- images/C-038.jpg 21 KB
- images/C-039.jpg 23 KB
- images/C-040.jpg 34 KB
- images/C-041.jpg 16 KB
- images/C-044.jpg 18 KB
- images/C-045.jpg 30 KB
- images/C-046.jpg 4 KB
- images/C-048.jpg 52 KB
- images/C-049.jpg 47 KB
- images/C-051.jpg 12 KB
- images/C-052.jpg 74 KB
- images/C-053.jpg 24 KB
- images/C-055.jpg 29 KB
- images/C-058.jpg 28 KB
- images/C-060.jpg 38 KB
- images/C-061.jpg 22 KB
- images/C-062.jpg 37 KB
- images/C-063.jpg 32 KB
- images/C-064.jpg 30 KB
- images/C-065.jpg 30 KB
- images/C-067.jpg 37 KB
- images/C-069.jpg 45 KB
- images/C-076.jpg 22 KB
- images/C-077.jpg 26 KB
- images/C-085.jpg 16 KB
- images/C-112.jpg 22 KB
- images/C-124.jpg 15 KB
- images/C-133.jpg 37 KB
- images/C-168.jpg 77 KB
- images/C-169.jpg 26 KB
- images/C-170.jpg 33 KB
- images/C-171.jpg 37 KB
- images/C-172.jpg 31 KB
- images/C-173.jpg 15 KB
- images/C-174.jpg 47 KB
- images/C-175.jpg 15 KB
- images/C-176.jpg 58 KB
- images/C-177.jpg 27 KB
- images/C-178.jpg 6 KB
- images/C-179.jpg 15 KB
- images/C-180.jpg 17 KB
- images/C-181.jpg 46 KB
- images/C-182.jpg 20 KB
- images/C-183.jpg 39 KB
- images/C-184.jpg 31 KB
- images/C-185.jpg 45 KB
- images/C-186.jpg 54 KB
- images/C-187.jpg 49 KB
- images/C-188.jpg 34 KB
- images/C-189.jpg 21 KB
- images/C-190.jpg 86 KB
- images/C-191.jpg 96 KB
- images/C-192.jpg 32 KB
- images/C-193.jpg 21 KB
- images/C-194.jpg 49 KB
- images/C-195.jpg 52 KB
- images/G-001.jpg 76 KB
- images/G-002.jpg 47 KB
- images/G-003.jpg 18 KB
- images/G-004.jpg 13 KB
- images/G-005.jpg 47 KB
- images/G-006.jpg 73 KB
- images/G-007.jpg 58 KB
- images/G-008.jpg 34 KB
- images/G-009.jpg 36 KB
- images/G-010.jpg 33 KB
- images/G-011.jpg 28 KB
- images/G-012.jpg 31 KB
- images/G-013.jpg 38 KB
- images/G-014.jpg 47 KB
- images/G-015.jpg 31 KB
- images/G-016.jpg 38 KB
- images/G-017.jpg 44 KB
- images/G-018.jpg 21 KB
- images/G-019.jpg 34 KB
- images/G-020.jpg 24 KB
- images/T-001.jpg 43 KB
- images/T-002.jpg 28 KB
- images/T-003.jpg 35 KB
- images/T-004.jpg 26 KB
- images/T-005.jpg 49 KB
- images/T-006.jpg 40 KB
- images/T-007.jpg 27 KB
- images/T-008.jpg 28 KB
- images/T-009.jpg 24 KB
- images/T-010.jpg 17 KB
- images/T-011.jpg 26 KB
- images/T-012.jpg 20 KB
- images/T-013.jpg 19 KB
- images/T-014.jpg 48 KB
- images/T-015.jpg 25 KB
- images/T-016.jpg 25 KB
- images/T-017.jpg 29 KB
- images/T-018.jpg 43 KB
- images/T-019.jpg 37 KB
- images/T-020.jpg 24 KB
- packs/.gitignore 1 KB
- packs/dark-keynote/README.md 10 KB
- packs/dark-keynote/STYLE.md 5 KB
- packs/dark-keynote/meta.json 3 KB
- packs/dark-keynote/pack.js 116 KB
- packs/dark-keynote/sound_kit.py 8 KB
- packs/dark-keynote/demo/clip.js 3 KB
- packs/dark-keynote/demo/clip_sound.py 1 KB
- packs/dark-keynote/demo/scene.js 4 KB
- packs/dark-keynote/demo/segments.json 12 KB
- packs/dark-keynote/demo/sound.py 7 KB
- packs/news-brief/README.md 5 KB
- packs/news-brief/STYLE.md 4 KB
- packs/news-brief/meta.json 1 KB
- packs/news-brief/pack.js 21 KB
- packs/news-brief/demo/assets.json 6 KB
- packs/news-brief/demo/scene.js 4 KB
- packs/news-brief/demo/sound.py 1 KB
- packs/news-brief/demo/assets/mead.csv 16 KB
- packs/news-brief/demo/assets/shore_depth.png 35 KB
- packs/news-brief/demo/assets/tower_depth.png 27 KB
- packs/style-swap/README.md 5 KB
- packs/style-swap/STYLE.md 4 KB
- packs/style-swap/meta.json 1 KB
- packs/style-swap/pack.js 10 KB
- packs/style-swap/demo/assets.json 8 KB
- packs/style-swap/demo/compose.py 2 KB
- packs/style-swap/demo/prompts.json 2 KB
- packs/style-swap/demo/scene.js 3 KB
- packs/style-swap/demo/sound.py 1 KB
- samples/.gitignore 1 KB
- samples/API.md 14 KB
- samples/batch.py 14 KB
- samples/new.py 6 KB
- samples/package.json 1 KB
- samples/player.html 6 KB
- samples/render.py 15 KB
- samples/C-001/meta.json 1 KB
- samples/C-001/scene.js 5 KB
- samples/C-001/sound.py 1 KB
- samples/C-002/meta.json 1 KB
- samples/C-002/sound.py 1 KB
- samples/C-003/meta.json 1 KB
- samples/C-003/sound.py 1 KB
- samples/C-004/meta.json 1 KB
- samples/C-004/sound.py 1 KB
- samples/C-008/meta.json 1 KB
- samples/C-008/sound.py 1 KB
- samples/C-009/meta.json 1 KB
- samples/C-021/meta.json 1 KB
Omitted from the package: 456 (too large or executable); available in the repository.
Versions
The database has no other skills named ai-coding-video.
Database snapshot: 13.11.2026 · package version b6924c261e97 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100sn-code-video
Create and revise code-driven videos with Canvas, SVG, HTML/CSS, Three.js, Remotion, Manim, or p5.js, including sound, deterministic frame capture, visual review, and MP4 verification. Use for rendered explainers, procedural animations, motion graphics, promos, and… - 90media-production
Create and process finished videos with Remotion, Motion Canvas, Manim, FFmpeg or an available AI video provider. Use when producing a video, UI demo, explainer, subtitles, narration timeline or format conversion; select the renderer from the content rather than defaulting every video to one engine. - 95Remotion
Programmatic video creation with React. USE WHEN video, animation, motion graphics, video rendering, React video, intro video, YouTube video, TikTok video, video production, render video. - 100agentsope-ai-video-director
Direct and implement programmatic videos from a natural-language sentence: brief, shots, style, timeline, assets, engine-specific coding prompts, draft, review and repair. Use when asked to make a video, product launch, explainer, Reel/Short, kinetic typography or docs-to-video… - 100cmo-remotion
Brand-grounded Remotion video pipeline. Take a brief, ground it in `brand/` (voice, audience, positioning, creative-kit), write a beat sheet, scaffold a fresh Remotion project, generate any required assets, compose with frame-driven animations, and bake a final MP4. Use this… - 95Remotion
Programmatic video creation with React via Remotion — compositions, animations, motion graphics, rendered to MP4. USE WHEN video, animation, motion graphics, video rendering, React video, intro video, YouTube video, TikTok video, video production, render video, content to…