跪拜 Guibai
← All articles
Claude · AI Programming · Open Source

Claude Code Skill Renders 61-Second Chinese Animation Locally, Skipping AI Video Generator Fees

By 孟健AI编程 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Generative video is billed per second and gives different results on each run, which makes iteration expensive and unreliable. Rendering locally with code means a one-time setup, no per-second cloud fees, and surgical control over individual scenes, so the only recurring cost is the Claude Code credits.

Summary

An open-source Claude Code skill called claude-animated-shorts renders complete vertical animated shorts on your own machine. Under the hood it uses three.js inside Remotion to draw every frame, so output is deterministic: re-render the same script and you get the same video. The skill ships with a style bible built from measurements of 20 reference clips, plus 7 measurement reports and 38 reference frames, and it targets a 55-70 second runtime at 2K with mixed audio.

The skill defaults to English, but the author swapped in a Microsoft Chinese male voice via edge-tts and changed the pacing rules to fit ~240-300 characters for one minute. He pointed Claude Code at the GitHub repo (mromidev/claude-animated-shorts, 4.7k stars, MIT license), got the skill installed in 23 seconds, then spent 14 minutes fighting an empty-sky-blue render. The cause was not missing assets but a version mismatch between post-processing packages and newly installed dependencies; downgrading fixed it.

After consolidating all files into a single folder, a one-sentence prompt produced a 61.47-second vertical 1440x2560 video about the red paperclip trade. Claude Code researched facts, wrote the script, generated voiceover, storyboarded, rendered, and quality-checked, even catching a too-narrow vertical composition and a dark road scene on its own. The final file was about 45 MB, and the whole run took about 20 minutes. The author then identified a single imperfect scene at 10.24 seconds and patched only that part rather than regenerating the entire video.

Takeaways
— The skill lives at mromidev/claude-animated-shorts, has 4.7k stars and 980 forks, and is released under the MIT license.
— All rendering happens on your own PC via three.js inside Remotion; no AI video generator is used, so frame output is deterministic.
— The skill includes a STYLE_BIBLE with visual formulas measured from 20 reference shorts, plus 7 measurement reports and 38 reference frames.
— The author modified the skill to produce Chinese voiceover using edge-tts with a Microsoft Chinese male voice; the TTS runs over the network and sends text out.
— Initial test renders showed pure sky-blue frames; the root cause was post-processing package incompatibility with newly installed dependencies, not missing Kenney 3D assets.
— Setting up the full environment, including Kenney model packs and dependency fixes, took about 14 minutes 38 seconds in the author's run.
— A single prompt triggered research, scripting, voiceover, storyboard, rendering, and quality checks; the 61.47-second 1440x2560 video took about 20 minutes and resulted in a ~45 MB mp4.
— The author found one imperfect scene at roughly 10.24 seconds and was able to patch just that scene without re-rendering the entire short.
Conclusions

Dependency compatibility, not missing assets, caused the empty sky-blue frames; the 14-minute debugging round shows local rendering pipelines inherit the usual version-management headaches even when the creative pipeline is AI-driven.

The ability to target and fix one scene at 10.24 seconds without regenerating the whole clip is a concrete advantage of code-rendered animation over per-second AI video generators, where you'd have to re-run and hope for a usable take.

The author's one-sentence prompt did automate research, script, voiceover, and rendering, but it still required manual intervention for layout and lighting issues, so 'one-shot' here means one prompt with ongoing oversight, not zero supervision.

Concepts & terms
Remotion
A React-based framework for creating videos programmatically; you write components and render them to an actual video file, which is what claude-animated-shorts uses to draw each frame.
STYLE_BIBLE
A set of measured visual formulas and style rules derived from 20 reference shorts, used by the skill to keep a consistent look.
edge-tts
Microsoft's command-line text-to-speech tool that generates speech audio from text using online neural voices; the author used it for Chinese voiceover.
From the discussion
Featured comments
用户017672029719

How does it convert the content in Claude's conversation into Chinese?

See top comments, translated →
Source: juejin.cn ↗ Google Translate ↗ Backup ↗