What If Animation 标志

What If Animation

社区
kelano86
what-if-animation

根据一个主题句(“如果您能把时间倒回 10 秒,会怎样?”),制作一集动画版“What If”,采用 2026 年 10 月在 YouTube 上走红的 What If 频道那种暮色光影下的简笔人物风格。按照 What If 的七拍公式撰写脚本,用 ElevenLabs 配音,按这一类型的节奏编排镜头列表,生成静帧分镜并自检,然后再制作动画;使用代码(Remotion 和 SVG)逐帧制作动画,同一套骨骼绑定原创角色,并绘制有透视效果的房间和来自灯具与窗户的光线;生成并同步声音,最后混音制作成一集时长为 15-25 s、响度为 -14 LUFS 的成片。适用于用户要求制作 What If 单集、动画或卡通,提出“制作一段关于 X 的 What If 视频”,要求制作这种风格的简笔画解说视频,或运行免费的 What If 技能。

概览

发布者kelano86
代码仓库what-if-animation
技能名称what-if-animation
星标数
183
复刻数
48
附带文件
98
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 98 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 kelano86 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 What If Animation AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/kelano86/what-if-animation/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kelano86/what-if-animation.git \
  .claude/skills/what-if-animation
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 What If Animation,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 What If Animation。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 What If Animation 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

What If animation

One topic line in, a finished 15-25 second episode out. Every frame is SVG that Claude writes (rendered by Remotion); the voice and the sound come from ElevenLabs. Two examples ship in studio/src/episodes/, both ready to render: rewind ("What if you could rewind 10 seconds?", the proof clip: shots played backwards as the power) and copy-paste ("What if you could copy and paste anything?", the skill's first full run: a new kitchen set, a schematic for the science beat, a cliffhanger blackout). Read the one closest to your topic before you start.

FileWhat's in it
references/formula.mdThe seven-beat What If formula, the 15-25 s shape, script rules, choosing a topic
references/look.mdThe measured look, pace, shot vocabulary, and the storyboard and motion checklists
references/kit.mdThe building blocks: engine, cast, sets, room kit, light, UI, looks, and how to add each
references/sound.mdWriting sound events, prompts, levels, costs
references/traps.mdEverything that cost time on the two example episodes
studio/The Remotion project: copy it once, then every episode lives in it
scripts/voice, plan, stills, board, sfx, mixcheck, motiongrid, master (Python 3.9+ and Node)

Rules

  • Original characters only. Pip (the hero, look B) and Mo (his friend) are ours, and so are the sister, mum and the suit on the rig. Never a channel's own hero, and nothing that resembles a famous cartoon character: check every new look on the cast sheet (Mo's first hat was dropped for drifting toward one).
  • Original stories. The formula is shared; the episode isn't anyone else's. Don't remake a channel's title.
  • Never claim the viral channels are made with Claude or any other tool. Nobody has said how they're made.
  • Keys by name only. ELEVENLABS_API_KEY, from the environment or a .env above the studio. Never print, paste or hardcode a key.
  • Report the ElevenLabs credits of every run: the scripts log them to out/<slug>/costs.json and master.py totals them in report.json. The voice's cost is read from the account's history (exact); sound clips don't show there, so their cost comes from the account counter, which can lag: re-read it before you report. Say the number when you hand the episode over. The copy-paste run cost 152 credits (78 for the voice, 74 for 12 new clips).
  • Storyboard before animation. No video render until the stills pass the self-check (step 5) and, when the person is in the loop, they've seen the board.
  • Every fact is real. A number in the script is worked out and sourced in the episode's science field first.

Setup (once per machine)

Needs Node 18+, ffmpeg and ffprobe on the PATH, Python 3.9+ with numpy and Pillow, and an ElevenLabs key.

bash
cp -r <skill>/studio ./what-if-studio && cd what-if-studio && npm install

Everything below runs from that studio folder; <skill> is this skill's folder. To work offline or in your own brand face, put a display font in public/fonts/ and set titleFont in src/studio.config.ts (the default title face, Bricolage Grotesque, and the UI faces load from Google Fonts at render time). To update an existing studio to a newer engine, copy <skill>/studio/src/engine over its src/engine.

The pipeline

Work through the steps in order. Each ends on something you look at before the next.

1. Script

Read references/formula.md. Search YouTube for the premise first: if a What If channel already has that exact episode, change the power or the rule. From the topic line, decide the power's word, its rule, three escalating demos and the turn (one real fact with a number). Write src/episodes/<slug>/episode.json with id (PascalCase, the composition name), slug, topic, title (two lines), script (one entry per beat) and science (each fact: the claim, the working, the source). 45 to 65 words. Read it aloud at pace: every line must be a picture.

2. Voice

bash
python <skill>/scripts/voice.py <slug>

One ElevenLabs take with character timestamps (the 356-character copy-paste take cost 78 credits), then the pauses cut to the genre's pace: public/<slug>/voice.wav and src/episodes/<slug>/words.json. Check the length (15-25 s) and the word times it prints. Retune pauses with gaps in episode.json and re-run: the take is cached, so that's free. Change a word and it calls the API again.

3. Shot list

Design one shot per picture in the script (usually 9 to 14), varying the size and angle every cut (wide, insert, medium, close-up, over the shoulder, high, low; see references/look.md). Add to episode.json:

  • shots: { "id": "S1", "size": "medium", "set": "kitchen", "key": 14, "note": "what we see" } (key is the frame of the shot's own clock the storyboard shows)
  • edit: { "shot": "S1", "at": "cookie" } per cut, cued on the word it lands on (plan.py lists the cue forms; reverse, from, to and look for powers that bend a shot's clock)
  • fx: one-frame flashes and shakes, { "at": "S3+2", "kind": "flash" }
bash
python <skill>/scripts/plan.py <slug>

It writes timeline.json and out/<slug>/shotlist.md and prints the pace. Aim for 27+ cuts a minute in the opening and no static shot over about 3 s; fix what it flags before drawing anything.

4. Storyboard

Read references/kit.md for the building blocks. Write src/episodes/<slug>/shots.tsx, one component per shot, each a pure function of its clock t (copy the patterns in the two examples' shots.tsx), and index.tsx (the episode and its power look), then add the episode to src/episodes/index.ts. At this step each shot only needs to be right at its key frame. When a topic needs a place the library lacks, build it with the room kit and add it to src/engine/sets/ (and to the skill's copy) so the next episode has it, as the copy-paste run did with the kitchen and the schematic. A new character or costume: add the look, then check it on the cast sheet (npx remotion still src/index.ts Cast out/cast.png).

bash
npx tsc --noEmit
node <skill>/scripts/stills.mjs <slug>
python <skill>/scripts/board.py <slug>

out/<slug>/storyboard.jpg: one captioned still per shot.

5. Self-check the stills

Look at the storyboard, then open every still in out/<slug>/board/ at full size, and run the storyboard checklist in references/look.md honestly, shot by shot. Write down what fails, fix it, re-render just those shots (stills.mjs <slug> S3 S7), rebuild the sheet and look again. Repeat until it passes. Check references/traps.md for the failure you're seeing before inventing a fix. If the person is in the loop, show them the board now and take their notes before animating.

6. Animate

Bring each shot to life from its key pose: poseAt keys with anticipation, holds and overshoot, faceAt for expressions, camera moves with kf, the power's look, the fx. Then render a draft and check the motion:

bash
python <skill>/scripts/master.py <slug>
python <skill>/scripts/motiongrid.py <slug> S2 S5
node <skill>/scripts/stills.mjs <slug> --frames 120 240

Read the grids like a flipbook against the motion checklist in references/look.md; fix and re-render until it reads.

7. Sound

Read references/sound.md. Add sound to episode.json: the clips (prompt and length), one event per visible action cued to its shot, ambiences per location, the music bed and the levels. Check what the library already has, then generate:

bash
python <skill>/scripts/sfx.py <slug> --dry
python <skill>/scripts/sfx.py <slug>

It prints the credits it used and sets the stem volumes in timeline.json. Then check that every word stays clear:

bash
python <skill>/scripts/mixcheck.py <slug>

It lists the moments, while a word is being spoken, where effects or music come within 3 dB of the voice. A hit that illustrates a word lands in the pause just after it, never on it; a bed (a hum, a drone) under a key line comes down; if most of the stem crowds the voice, lower sfx_lu. Re-run sfx.py and the check until only deliberate overlaps remain (a title boom, a turn).

8. Master and hand over

bash
python <skill>/scripts/master.py <slug>

Renders, brings the mix to -14 LUFS with peaks under -1 dBTP, and writes out/<slug>/report.json (length, loudness, pace, credits). Watch the final file once through with sound. Hand over out/<slug>/<slug>-final.mp4 and out/<slug>/storyboard.jpg, with the length, the ElevenLabs credits used, and anything you'd still improve.

Where an episode lives

PathWhat
src/episodes/<slug>/episode.jsonEverything you write: script, science, shots, edit, fx, sound
src/episodes/<slug>/shots.tsx, index.tsxThe drawing: one component per shot, the power's look
src/episodes/<slug>/words.json, timeline.jsonWritten by voice.py and plan.py (sfx.py adds the volumes)
public/<slug>/voice.wav, sfx.wav, music.wav
out/<slug>/board stills, storyboard.jpg, shotlist.md, motion grids, renders, costs.json, report.json
library/sfx/Every generated sound clip, shared by all episodes

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 38 个文件。

常见问题

What If Animation AI 技能有什么作用?

根据一个主题句(“如果您能把时间倒回 10 秒,会怎样?”),制作一集动画版“What If”,采用 2026 年 10 月在 YouTube 上走红的 What If 频道那种暮色光影下的简笔人物风格。按照 What If 的七拍公式撰写脚本,用 ElevenLabs 配音,按这一类型的节奏编排镜头列表,生成静帧分镜并自检,然后再制作动画;使用代码(Remotion 和 SVG)逐帧制作动画,同一套骨骼绑定原创角色,并绘制有透视效果的房间和来自灯具与窗户的光线;生成并同步声音,最后混音制作成一集时长为 15-25 s、响度为 -14 LUFS 的成片。适用于用户要求制作 What If 单集、动画或卡通,提出“制作一段关于 X 的 What If 视频”,要求制作这种风格的简笔画解说视频,或运行免费的 What If 技能。

为什么在 TypingMind 中使用 What If Animation?

因为您只需安装一次,就能搭配任何模型使用。What If Animation 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 What If Animation?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/kelano86/what-if-animation/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 What If Animation?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

What If Animation 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 What If Animation 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

What If Animation AI 技能免费吗?

是的。kelano86 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇