用途:把自然语言描述转成 Manim 图解/动画视频,输出 MP4 和 GIF。
用法:以 /animate 命令加提示词调用,例如 /animate "explain how binary search works"、/animate "show the Pythagorean theorem proof"、/animate "visualize bubble sort step by step"。
流程:先推断参数(scenes、quality、format、style、duration_per_scene),写入 .animate/params.json 与 .animate/manim.cfg;再预检依赖(Python 3.8+、ManimCE、ffmpeg,LaTeX+dvisvgm 可选,缺少时回退为纯文本模式);然后拆解故事写入 story.json,逐场景生成独立 Scene 类 Python 文件;用 manim render 渲染,失败时反馈错误给修复流程,每个场景最多重试 3 次;最后拼接并转 GIF。
约定:仅用 ManimCE(from manim import *,不用 manimlib),Cairo 渲染器用于无头环境;每文件一个 Scene 类;共享样式保证颜色字号一致;生成、渲染、修复分别有 120s、180s、90s 超时。
限制:需已安装依赖并配置支持的 agent CLI;LaTeX 不可用时不得使用 MathTex/Tex;文中未提供具体收费、价格、平台与效果信息。