Communitygithub.com

akachandan1/video-studio

生成绘画风格的动画视频——涵盖Kurzgesagt风格的扁平科学解说、艺术史风格(梵高、莫奈、利希滕斯坦、草间弥生、马蒂斯、立体主义、水墨画、8位像素、罗马马赛克、洞穴壁画、波斯细密画等)。基于huashu-art-motion画布引擎,支持自定义场景,渲染MP4,并在HyperFrames中组装与配乐。同时提供claude-animation插件,用于手绘2D动画。

video-studio 是什么?

video-studio是一个面向AI代理(如Claude Code)的动画视频制作技能,专注于生成绘画风格的说明性动画和艺术风格视觉作品。它结合了huashu-art-motion引擎的自定义场景渲染与HyperFrames的后期组装能力,支持从Kurzgesagt式扁平科学解说(如“内部是什么”、尺度、机制)到多种艺术史风格(如梵高的方向性笔触、利希滕斯坦的半调波点、草间弥生的圆点、水墨画效果)的广泛视觉风格。该技能还集成了claude-animation插件,用于实现手绘2D质感(如纹理编辑和水彩效果)。用户需在视频项目的engine目录下编写自定义场景脚本,通过render.py指定帧率渲染为MP4片段,再在HyperFrames中组装标题、字幕、音频并进行最终输出。该方案适用于教育视频、艺术展示以及需要高度定制化视觉风格的短片制作,特别强调在渲染完整片段前先测试单帧效果以避免调色失真。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/akachandan1/video-studio/tree/HEAD/.claude/skills/art-styles

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

艺术风格动画 → HyperFrames

引擎

  • huashu-art-motion(~/.claude/skills/huashu-art-motion,由setup.sh安装):确定性画布引擎(window.renderFrame(t)),包含绘画库PAINT(笔画、半调、像素化、点画、马赛克、面片、水墨、笔刷、裁剪 → Path2D)、TOON(扁平着色)、CAM(推进式镜头)。请阅读其SKILL.md获取API。
  • claude-animation插件(手绘2D,纹理编辑/水彩风格)——替代画风。
  • HyperFrames负责组装、标题、音效、字幕和最终渲染。

有效的工作流程

  1. 自定义场景,而非预设。 huashu的render.py --spec片段绘制一个中心节点及卫星,可作为思维导图读取。要制作展示级内容,请编写场景: 将scripts/engine复制到videos/<name>/engine,创建demos/<film>/eras.js和<film>.js,注册SCENES['id'] = (g, t, W, H) => {...}。
  2. Kurzgesagt风格: 一个连续的世界,扁平形状配合TOON着色、边缘光,缓慢的CAM.pushTo推进每一层(“内部有什么”),Poppins/圆角字体,比例尺和标签在节拍上弹出。
  3. 绘画风格: 构图一次,然后通过每种风格的笔刷渲染(梵高 = 沿流场的方向性笔画;利希滕斯坦 = 半调 + 黑色轮廓;草间弥生 = 圆点;立体主义 = 面片 ~nx26/ny16 加微小偏移——面片过多会变成碎片;水墨 = 水墨效果;8位 = 像素化 + 调色板)。
  4. 渲染(30帧/秒,引擎默认为60帧/秒): uv run --with playwright python render.py --film demos/<film> --solo <id> --no-counter --fps 30 --from 0 --to <s> --out clip.mp4 (如需竖屏,添加--width 1080 --height 1920)。
  5. 在HyperFrames中组装: 片段作为<video class="clip">,标题/标签作为HTML覆盖在上方,使用score技能为每次风格变化添加配乐命中点,渲染,响度标准化至−14 LUFS。

在渲染完整片段前,先查看每种风格的一个单帧——有些在代码中看起来正常的透明/水洗设置在最终输出中会变得模糊不清。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

akachandan1/video-studio

Add styled, word-synced captions (and an optional scroll-stopping hook) to a talking video. The user gives a video; you transcribe it, show every caption style rendered on their own footage, they pick a style and hook, and you render the captioned MP4. Use when the user uploads/gives a video and says "caption this", "add captions/subtitles", "make captions", "caption styles", "add a hook", or invokes /caption-video.

akachandan1/video-studio

Fast CapCut-style chop-cut reel with a story — showreels, hype edits, launch teasers, "make it punchy". One canvas engine on a beat grid (punch-ins on cuts, flash frames, impact shakes, whip pans, speed ramps, freeze frames) rendered in HyperFrames, in 16:9 and 9:16 from one edit, with an original synthesized score locked to the cuts.

akachandan1/video-studio

Guided studio for narrated, fact-checked explainer videos in a Vox-style editorial look (bold collage, flat colour fields, marker annotations, big numbers) or a paper-diorama documentary look. One idea in → sourced script in 10-second blocks → style key + per-scene prompts (or free code-built collage scenes) → offline voiceover fitted to each block → HyperFrames cut with captions, animated number callouts and an original score, in 16:9 and/or 9:16. Use for "Vox-style video", "explainer", "animated explainer", "data-driven video", "make a video about X", "why does X happen".

akachandan1/video-studio

Apple / OpenAI-style product launch film or premium spec ad (30–60 s) — minimal supers, big product moments, signature transition, piano/pulse score, end-card lockup. Shots come from code (HyperFrames scenes), Higgsfield AI image→video, or real product footage, all assembled and rendered in HyperFrames. Includes the fold-cut builder (shots hinge shut/open on the centre line).

相关技能