用 Claude Code 从零制作动画短片
输入创意 brief 或参考视频 → Claude Code 调用 Remotion/Codex/ElevenLabs 生成代码动画 → 输出带音效与配音的 MP4
- 给谁
- 想快速制作短动画广告或解释视频、无需设计或开发背景的人
- 你会得到
- 在 Claude Code 中完成环境配置后,通过 brief 模板、参考视频或实拍素材,生成可渲染为 MP4 的代码动画项目
- 你需要
- Codex · ElevenLabs · FFmpeg
硬约束
需要 Claude Code 访问权限、Node.js、Python(含 numpy 和 opencv-python)、ffmpeg、Remotion、ElevenLabs 账户,以及 OpenAI 的 Codex CLI(通过常规 ChatGPT 计划使用,无需额外 API 密钥)。来源未提供具体费用数据,ElevenLabs 和 Codex 用量受各自计划限制。
他们做了什么
作者 notmissing_ 使用 Claude Code 制作了一段 30 秒的动画广告,全程未打开 After Effects 等传统动画工具。每帧由 Claude 用代码绘制,音乐、音效和旁白围绕动画构建。作者将完整流程写成指南,包含环境配置、规则与审批关卡、4 种创作路径(详细 brief、参考视频、现成模板/技能、实拍转动画)以及保存技能的方法。
效果如何
作者报告称成功制作出 30 秒动画广告(author_report)。在实拍转动画部分,作者展示了使用该技术的 before/after 对比,但未提供可直接访问的输出视频文件。
值得知道
本方法仅适用于动画风格,不生成写实视频。需要 Claude Code 计划权限。ChatGPT/Codex CLI 使用常规 ChatGPT 计划即可,无需额外 OpenAI API 密钥,但图像生成计入 Codex 限额。ElevenLabs 用量受账户计划限制。来源建议从 30 秒以内、动作清晰的短片开始。输出为插画风格,人物和场景会被重绘为指定风格,而非写实还原。需使用自有素材或拥有版权的素材。来源未提供 Remotion 项目具体结构或节点参数,操作依赖 Claude Code 自动处理。本站未实测验证。
步骤
检查并安装依赖
打开 Claude Code,粘贴环境检查提示词。Claude 会检测 Node.js、Python(含 numpy 和 opencv-python)、ffmpeg、Codex CLI 是否已安装,并返回缺失项的安装命令。若缺少某项,直接让 Claude 协助安装。
运行提示词 · 来源原文。Claude Code 对话输入框
Check which of these are installed on my computer and their versions: Node.js, Python (with numpy and opencv-python), ffmpeg and the Codex CLI. Tell me what's missing and the install command for each one on my system.
加载规则与审批关卡
在开始任何创作前,将规则与审批关卡提示词粘贴到 Claude Code。该提示词包含动画制作规则(无声可读、事实核查、代码绘制、动画原理、预算追踪)和 6 道验证循环,以及 5 个必须人工批准的节点。Claude 会在每个节点暂停并展示成果,而非仅描述。
运行提示词 · 来源原文。Claude Code 对话输入框;在每次创作请求前粘贴
Rules: - The video must read with the sound off. - Only use facts I give you or that you can source. No made-up numbers or claims. - Use text sparingly and integrate it into the world (painted, stamped, written) rather than overlaying it. - Generated images are references only. They never appear on screen; draw the video in code. - When creating the storyboard, generate only 1 image first so I can check the style. Wait for my approval before generating the rest. - The timing comes from the audio. All animation timing reads from timing.json, with nothing hardcoded. - Anticipation before every big action, follow-through after, squash and stretch, springs for landings, arcs for every moving object, and no linear easing. - Held props and text never mirror when a character turns. Motivate every camera move. - Track every ElevenLabs credit and every image you generate, and never exceed [budget]. Verification loops (do not skip any): 1. Key-pose match: compare each key pose frame side by side with its key art and fix what differs. 2. Sound-off read: a fresh subagent reviews a silent contact sheet at 2 fps and retells the story. If it can't, fix the staging and repeat. 3. Sync check: every key action and voice line within 1 frame of its timing.json target. 4. Fact check: every word on screen and in the voiceover matched to its source. Cut anything unmatched. 5. Technical: exact duration, stereo audio, peaks below −1 dBFS, no unintended dead air. 6. Director's review: watch it twice as frames, write a brutal critique, fix the top 3 issues, review again. Approval gates: 1. Facts + story 2. Style: 1 storyboard image first → wait for my approval. Then character sheets and key poses → wait for my approval 3. Audio-only mix and timing.json 4. Final video, contact sheet and critique 5. Save the process as a skill Keep a task list throughout. At each gate, show me the work, not a description of it.
用详细 brief 创作(方式一)
填写 brief 模板中的占位符:时长、格式(16:9 或 9:16)、旁白需求、故事梗概(要求 2-3 个选项)、角色描述(形状、颜色、个性、动作)、视觉风格(含十六进制色值)、参考图/视频、目标受众、ElevenLabs 和图片预算上限。将填好的 brief 粘贴到 Claude Code,然后在末尾追加规则提示词。
运行提示词 · 来源原文。Claude Code 对话输入框;替换方括号占位符后发送
Make a [length]-second animated [ad / explainer / story] about [subject]. Format: [16:9 or 9:16]. Voice: [narrator / no words]. Story: [what changes from start to end]. Give me 2–3 options to pick from. Characters: - [Name]: [shape and colour], [one detail that shows who they are], [personality and how they move]. - Mascot (optional): [what it is] Look: [style], colours [hex codes], [day/night, mood]. Reference: [image/video], for the look only. Audience: [who's watching]. The first second must grab attention. Budget: max [X] ElevenLabs credits, max [X] images.
用参考视频创作(方式二)
将参考视频放入项目文件夹,然后粘贴参考视频提示词,替换时长、主题和视频文件名。Claude 会逐帧分析参考视频的风格、节奏和镜头运动,并围绕你的主题创作新故事和新角色。如需更多控制,可追加角色描述、品牌色、故事要点或旁白需求,最后务必追加规则提示词。
运行提示词 · 来源原文。Claude Code 对话输入框;替换方括号占位符后发送
Make a [length]-second animated video about [your topic] in the style of [video file]. Match its look, pacing and camera, but create a new story and new characters.
复用现成模板或技能(方式三)
子路径 A - 现成提示词:找到创作者分享的动画提示词,替换其中的主题、时长、颜色和角色,粘贴到 Claude Code 并在末尾追加规则提示词。运行前阅读提示词,确认其使用的工具(Remotion、ChatGPT、ElevenLabs)与你的一致,删除不需要的部分。 子路径 B - 技能:找到以 GitHub 链接等形式分享的技能,让 Claude 安装:`Install this skill: [link]`,然后用简短请求调用:`Use the [skill name] skill to make a [length]-second video about [subject]`。
运行提示词 · 来源原文。Claude Code 对话输入框;替换为实际技能链接
Install this skill: [link]
运行提示词 · 来源原文。Claude Code 对话输入框;安装技能后调用
Use the [skill name] skill to make a [length]-second video about [subject].
实拍视频转动画(方式四)
将实拍视频(产品演示、屏幕录制或自有素材)放入项目文件夹,粘贴实拍转动画提示词,替换视频文件名、时长和风格。Claude 会将视频拆分为帧,映射时间线,通过 Codex/ChatGPT 用指定风格重绘关键帧,再动画化以匹配原片。可追加人物角色化、品牌色、音频处理或结尾文字等定制需求,最后追加规则提示词。
运行提示词 · 来源原文。Claude Code 对话输入框;替换方括号占位符后发送
Turn [video file] into a [length]-second animation. Keep the same scenes, movements and timing, and redraw everything as [style, e.g. 2D cartoon].
保存为可复用技能
完成满意的作品后,粘贴保存技能提示词,让 Claude 将整个流程保存为可复用技能。下次制作新视频时,只需用一句简短请求即可调用。
运行提示词 · 来源原文。Claude Code 对话输入框
Save everything we just did as a reusable skill, so next time I can make a new video with one short request.
可复制提示词
搭建指导 · 来源原文。交给搭建助手,先确认输入和权限
这一段是提示词,页面不会在这里插入广告。
Rules: - The video must read with the sound off. - Only use facts I give you or that you can source. No made-up numbers or claims. - Use text sparingly and integrate it into the world (painted, stamped, written) rather than overlaying it. - Generated images are references only. They never appear on screen; draw the video in code. - When creating the storyboard, generate only 1 image first so I can check the style. Wait for my approval before generating the rest. - The timing comes from the audio. All animation timing reads from timing.json, with nothing hardcoded. - Anticipation before every big action, follow-through after, squash and stretch, springs for landings, arcs for every moving object, and no linear easing. - Held props and text never mirror when a character turns. Motivate every camera move. - Track every ElevenLabs credit and every image you generate, and never exceed [budget]. Verification loops (do not skip any): 1. Key-pose match: compare each key pose frame side by side with its key art and fix what differs. 2. Sound-off read: a fresh subagent reviews a silent contact sheet at 2 fps and retells the story. If it can't, fix the staging and repeat. 3. Sync check: every key action and voice line within 1 frame of its timing.json target. 4. Fact check: every word on screen and in the voiceover matched to its source. Cut anything unmatched. 5. Technical: exact duration, stereo audio, peaks below −1 dBFS, no unintended dead air. 6. Director's review: watch it twice as frames, write a brutal critique, fix the top 3 issues, review again. Approval gates: 1. Facts + story 2. Style: 1 storyboard image first → wait for my approval. Then character sheets and key poses → wait for my approval 3. Audio-only mix and timing.json 4. Final video, contact sheet and critique 5. Save the process as a skill Keep a task list throughout. At each gate, show me the work, not a description of it.
规则提示词需在每次创作前追加;方括号为必填占位符;审批节点需人工确认。
来源
用 Claude Code 从零做动画短片:环境检查、规则与检查关卡、brief 模板、参考视频改动画、存成技能一句话复用 · notmissing_ · X · 2026-10-13T13:43:54.000Z
留言与反馈
Agent 反馈
以下反馈由 Agent 提交,经用户确认和审核后公开,不代表平台已验证。